@omegagrid/bundle 0.10.52 → 0.10.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/omegagrid.js +70 -66
- package/package.json +18 -18
package/omegagrid.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! For license information please see omegagrid.js.LICENSE.txt */
|
|
2
|
-
(()=>{var t={5697:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-center",icon:[448,512,[],"f037","M112 48c-8.8 0-16 7.2-16 16s7.2 16 16 16l224 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L112 48zM16 176c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 176zM96 320c0 8.8 7.2 16 16 16l224 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-224 0c-8.8 0-16 7.2-16 16zM16 432c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 432z"]},e.mw},7069:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-left",icon:[448,512,[],"f036","M16 48C7.2 48 0 55.2 0 64S7.2 80 16 80l256 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 48zm0 128c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 176zM0 320c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 304c-8.8 0-16 7.2-16 16zM16 432c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 432z"]},e.mw},4716:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-right",icon:[448,512,[],"f038","M432 48c8.8 0 16 7.2 16 16s-7.2 16-16 16L176 80c-8.8 0-16-7.2-16-16s7.2-16 16-16l256 0zm0 128c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 208c-8.8 0-16-7.2-16-16s7.2-16 16-16l416 0zm16 144c0 8.8-7.2 16-16 16l-256 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l256 0c8.8 0 16 7.2 16 16zM432 432c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 464c-8.8 0-16-7.2-16-16s7.2-16 16-16l416 0z"]},e.mw},5890:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"angle-down",icon:[384,512,[8964],"f107","M180.7 363.3c6.2 6.2 16.4 6.2 22.6 0l160-160c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 329.4 43.3 180.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l160 160z"]},e.mw},3874:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"angle-right",icon:[256,512,[8250],"f105","M235.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-160 160c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L201.4 256 52.7 107.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l160 160z"]},e.mw},2907:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"angle-up",icon:[384,512,[8963],"f106","M180.7 148.7c6.2-6.2 16.4-6.2 22.6 0l160 160c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L192 182.6 43.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l160-160z"]},e.mw},3976:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-down",icon:[384,512,[8595],"f063","M180.7 507.3c6.2 6.2 16.4 6.2 22.6 0l176-176c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L208 457.4 208 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 441.4-148.7-148.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l176 176z"]},e.mw},9801:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-left",icon:[512,512,[8592],"f060","M4.7 244.7c-6.2 6.2-6.2 16.4 0 22.6l176 176c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L54.6 272 496 272c8.8 0 16-7.2 16-16s-7.2-16-16-16L54.6 240 203.3 91.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-176 176z"]},e.mw},2464:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-right",icon:[512,512,[8594],"f061","M507.3 267.3c6.2-6.2 6.2-16.4 0-22.6l-176-176c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L457.4 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l441.4 0-148.7 148.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l176-176z"]},e.mw},5815:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-turn-down",icon:[384,512,["level-down"],"f149","M16 32C7.2 32 0 24.8 0 16S7.2 0 16 0l96 0c53 0 96 43 96 96l0 361.4 116.7-116.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-144 144c-3 3-7.1 4.7-11.3 4.7s-8.3-1.7-11.3-4.7l-144-144c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L176 457.4 176 96c0-35.3-28.7-64-64-64L16 32z"]},e.mw},7917:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-up",icon:[384,512,[8593],"f062","M203.3 12.7c-6.2-6.2-16.4-6.2-22.6 0l-176 176c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L176 62.6 176 504c0 8.8 7.2 16 16 16s16-7.2 16-16l0-441.4 148.7 148.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-176-176z"]},e.mw},3512:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="arrows-rotate",o=[128472,"refresh","sync"],r="f021",s="M32.5 241.1C36 188.8 57.7 137.6 97.6 97.6 141.3 53.9 198.6 32 256 32 318 32 377.2 57.5 419.8 102.6L458.9 144 352 144c-8.8 0-16 7.2-16 16s7.2 16 16 16l144 0c8.8 0 16-7.2 16-16l0-144c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 103.8-37-39.1C394.4 29.2 326.8 0 256 0 190.5 0 125 25 75 75 29.3 120.6 4.5 179.2 .6 238.9 0 247.8 6.7 255.4 15.5 256s16.4-6.1 17-14.9zm447 29.9c-3.5 52.3-25.2 103.5-65.1 143.4-43.7 43.7-101 65.6-158.4 65.6-62 0-121.2-25.5-163.8-70.6L53.1 368 160 368c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 336c-8.8 0-16 7.2-16 16L0 496c0 8.8 7.2 16 16 16s16-7.2 16-16l0-103.8 37 39.1c48.6 51.5 116.3 80.6 187 80.6 65.5 0 131-25 181-75 45.6-45.6 70.4-104.3 74.4-164 .6-8.8-6.1-16.4-14.9-17s-16.4 6.1-17 14.9z";e.definition={prefix:"fal",iconName:i,icon:[512,512,o,r,s]},e.faArrowsRotate=e.definition,e.prefix="fal",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=s,e.aliases=o},5511:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrows-to-dot",icon:[512,512,[],"e4be","M272 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 121.4-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L272 137.4 272 16zm16 240a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm59.3 171.3c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0l-80 80c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L240 374.6 240 496c0 8.8 7.2 16 16 16s16-7.2 16-16l0-121.4 52.7 52.7c6.2 6.2 16.4 6.2 22.6 0zM84.7 164.7c-6.2 6.2-6.2 16.4 0 22.6L137.4 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l121.4 0-52.7 52.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0zm342.6 0c-6.2-6.2-16.4-6.2-22.6 0l-80 80c-6.2 6.2-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L374.6 272 496 272c8.8 0 16-7.2 16-16s-7.2-16-16-16l-121.4 0 52.7-52.7c6.2-6.2 6.2-16.4 0-22.6z"]},e.mw},7455:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 80c0-8.8 7.2-16 16-16l416 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 96C7.2 96 0 88.8 0 80zM0 256c0-8.8 7.2-16 16-16l416 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 272c-8.8 0-16-7.2-16-16zM448 432c0 8.8-7.2 16-16 16L16 448c-8.8 0-16-7.2-16-16s7.2-16 16-16l416 0c8.8 0 16 7.2 16 16z"]},e.mw},2366:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"bold",icon:[384,512,[],"f032","M16 32C7.2 32 0 39.2 0 48S7.2 64 16 64l48 0 0 384-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l240 0c70.7 0 128-57.3 128-128 0-52.8-32-98.2-77.7-117.7 27.7-20.4 45.7-53.2 45.7-90.3 0-61.9-50.1-112-112-112L16 32zM96 448l0-192 160 0c53 0 96 43 96 96s-43 96-96 96L96 448zM96 64l144 0c44.2 0 80 35.8 80 80s-35.8 80-80 80L96 224 96 64z"]},e.mw},7284:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"book",icon:[448,512,[128212],"f02d","M0 64C0 28.7 28.7 0 64 0L400 0c26.5 0 48 21.5 48 48l0 320c0 20.9-13.4 38.7-32 45.3l0 66.7 16 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L64 512c-35.3 0-64-28.7-64-64l0 0 0-384zM64 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l320 0 0-64-320 0zM32 392.6c9.4-5.4 20.3-8.6 32-8.6l336 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 32C46.3 32 32 46.3 32 64l0 328.6zM144 128l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 96l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},2409:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"building",icon:[384,512,[127970,61687],"f1ad","M64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l64 0 0-80c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 80 64 0c17.7 0 32-14.3 32-32l0-384c0-17.7-14.3-32-32-32L64 32zm96 448l64 0 0-80c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16l0 80zm-32 32l-64 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L320 0c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64l-192 0zm96-384c0-8.8 7.2-16 16-16l16 0c8.8 0 16 7.2 16 16l0 16c0 8.8-7.2 16-16 16l-16 0c-8.8 0-16-7.2-16-16l0-16zm16 96l16 0c8.8 0 16 7.2 16 16l0 16c0 8.8-7.2 16-16 16l-16 0c-8.8 0-16-7.2-16-16l0-16c0-8.8 7.2-16 16-16zM112 128c0-8.8 7.2-16 16-16l16 0c8.8 0 16 7.2 16 16l0 16c0 8.8-7.2 16-16 16l-16 0c-8.8 0-16-7.2-16-16l0-16zm16 96l16 0c8.8 0 16 7.2 16 16l0 16c0 8.8-7.2 16-16 16l-16 0c-8.8 0-16-7.2-16-16l0-16c0-8.8 7.2-16 16-16z"]},e.mw},1686:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-down",icon:[384,512,[],"f0d7","M192 352L32 192 352 192 192 352zM381.6 179.8c-5-12-16.6-19.8-29.6-19.8L32 160c-12.9 0-24.6 7.8-29.6 19.8S.2 205.5 9.4 214.6l160 160c12.5 12.5 32.8 12.5 45.3 0l160-160c9.2-9.2 11.9-22.9 6.9-34.9z"]},e.mw},703:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-left",icon:[256,512,[],"f0d9","M32 256L192 96 192 416 32 256zM204.2 445.6c12-5 19.8-16.6 19.8-29.6l0-320c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c9.2 9.2 22.9 11.9 34.9 6.9z"]},e.mw},6606:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-right",icon:[256,512,[],"f0da","M224.5 256l-160 160 0-320 160 160zM52.3 66.4c-12 5-19.8 16.6-19.8 29.6l0 320c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160C78 64.2 64.2 61.5 52.3 66.4z"]},e.mw},1175:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-up",icon:[384,512,[],"f0d8","M192 160l160 160-320 0 160-160zM2.4 332.2c5 12 16.6 19.8 29.6 19.8l320 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-160-160c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-9.2 9.2-11.9 22.9-6.9 34.9z"]},e.mw},4788:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 48c0-8.8-7.2-16-16-16S0 39.2 0 48L0 400c0 44.2 35.8 80 80 80l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 448c-26.5 0-48-21.5-48-48L32 48zM144 96l224 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L144 64c-8.8 0-16 7.2-16 16s7.2 16 16 16zm0 96c-8.8 0-16 7.2-16 16s7.2 16 16 16l160 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-160 0zm0 128c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0z"]},e.mw},5547:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-column",icon:[512,512,[],"e0e3","M16 32c8.8 0 16 7.2 16 16l0 352c0 26.5 21.5 48 48 48l416 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L80 480c-44.2 0-80-35.8-80-80L0 48c0-8.8 7.2-16 16-16zM144 256c8.8 0 16 7.2 16 16l0 96c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-96c0-8.8 7.2-16 16-16zM256 144l0 224c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-224c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 48c8.8 0 16 7.2 16 16l0 160c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-160c0-8.8 7.2-16 16-16zM448 80l0 288c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-288c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},e.mw},9467:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M32 48c0-8.8-7.2-16-16-16S0 39.2 0 48L0 400c0 44.2 35.8 80 80 80l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 448c-26.5 0-48-21.5-48-48L32 48zM475.3 155.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L320 265.4 235.3 180.7c-6.2-6.2-16.4-6.2-22.6 0l-112 112c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L224 214.6 308.7 299.3c6.2 6.2 16.4 6.2 22.6 0l144-144z"]},e.mw},9187:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M510 208C496.2 118.8 425.6 48.2 336.4 34.4l0 173.6 173.6 0zM224.4 69.6c-91.7 21.7-160 104.1-160 202.4 0 114.9 93.1 208 208 208 34.4 0 66.7-8.3 95.2-23L237.3 299.7c-8.3-10-12.9-22.7-12.9-35.7l0-194.4zM538.9 320l-139.3 0 82.9 100.1c27.4-27 47.3-61.5 56.4-100.1zm3.5-111.9c2.3 17.5-12.2 31.9-29.9 31.9l-176 0c-17.7 0-32-14.3-32-32l0-176c0-17.7 14.4-32.2 31.9-29.9 107 14.2 191.8 99 206 206zM256.4 66.7l0 197.3c0 5.6 2 11 5.5 15.3L394 438.7c11.7 14.1 9.2 35.4-6.9 44.1-34.1 18.6-73.2 29.2-114.7 29.2-132.5 0-240-107.5-240-240 0-115.5 81.5-211.9 190.2-234.8 18.1-3.8 33.8 11 33.8 29.5zM571.2 321.8c-10.2 48.4-35 91.4-69.6 124.2-12.3 11.7-31.6 9.2-42.4-3.9L374.9 340.4c-17.3-20.9-2.4-52.4 24.6-52.4l142.2 0c18.5 0 33.3 15.7 29.5 33.8z"]},e.mw},8811:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-simple",icon:[512,512,[],"e473","M272 64c8.8 0 16 7.2 16 16l0 352c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-352c0-8.8 7.2-16 16-16l32 0zM240 32c-26.5 0-48 21.5-48 48l0 352c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48l-32 0zM80 256c8.8 0 16 7.2 16 16l0 160c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-160c0-8.8 7.2-16 16-16l32 0zM48 224c-26.5 0-48 21.5-48 48L0 432c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-160c0-26.5-21.5-48-48-48l-32 0zm384-96l32 0c8.8 0 16 7.2 16 16l0 288c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-288c0-8.8 7.2-16 16-16zm-48 16l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0c-26.5 0-48 21.5-48 48z"]},e.mw},229:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441.4 67.1c7.1 5.2 8.7 15.2 3.5 22.4l-280 384c-2.8 3.8-7 6.2-11.7 6.5s-9.2-1.3-12.6-4.6l-136-136c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l122.8 122.8 269-368.9c5.2-7.1 15.2-8.7 22.4-3.5z"]},e.mw},9318:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-down",icon:[448,512,[],"f078","M235.3 411.3c-6.2 6.2-16.4 6.2-22.6 0l-208-208c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L224 377.4 420.7 180.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-208 208z"]},e.mw},4479:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-left",icon:[320,512,[9001],"f053","M4.7 267.3c-6.2-6.2-6.2-16.4 0-22.6l208-208c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L38.6 256 235.3 452.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-208-208z"]},e.mw},7294:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-right",icon:[320,512,[9002],"f054","M315.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-208 208c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L281.4 256 84.7 59.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l208 208z"]},e.mw},9111:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-up",icon:[448,512,[],"f077","M212.7 100.7c6.2-6.2 16.4-6.2 22.6 0l208 208c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L224 134.6 27.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l208-208z"]},e.mw},3514:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M480 256a224 224 0 1 0 -448 0 224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},9281:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-0",icon:[512,512,[],"e0ed","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-352c-44.2 0-80 35.8-80 80l0 32c0 44.2 35.8 80 80 80s80-35.8 80-80l0-32c0-44.2-35.8-80-80-80zm-48 80c0-26.5 21.5-48 48-48s48 21.5 48 48l0 32c0 26.5-21.5 48-48 48s-48-21.5-48-48l0-32z"]},e.mw},1394:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-1",icon:[512,512,[],"e0ee","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l16 0 0 128-32 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-144c0-8.8-7.2-16-16-16l-32 0z"]},e.mw},7295:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-2",icon:[512,512,[],"e0ef","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM208 161.3c-8.8 0-16 7.2-16 16s7.2 16 16 16l57.8 0c12.2 0 22.2 9.9 22.2 22.2 0 8.7-5.1 16.5-12.9 20.2l-36.4 16.7c-28.4 13-46.7 41.4-46.7 72.7l0 10.9c0 8.8 7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-79.7 0c1.8-16.7 12.2-31.5 27.7-38.6l36.4-16.7c19.3-8.8 31.6-28.1 31.6-49.2 0-29.9-24.3-54.2-54.2-54.2l-57.8 0z"]},e.mw},2936:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-3",icon:[512,512,[],"e0f0","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm16-272l-56 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l56 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-72 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l72 0c30.9 0 56-25.1 56-56 0-15.7-6.4-29.8-16.8-40 10.4-10.2 16.8-24.3 16.8-40 0-30.9-25.1-56-56-56l-72 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l72 0c13.3 0 24 10.7 24 24s-10.7 24-24 24z"]},e.mw},3789:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-4",icon:[512,512,[],"e0f1","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM192 160c-8.8 0-16 7.2-16 16l0 72c0 22.1 17.9 40 40 40l72 0 0 48c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48c8.8 0 16-7.2 16-16s-7.2-16-16-16l0-80c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 80-72 0c-4.4 0-8-3.6-8-8l0-72c0-8.8-7.2-16-16-16z"]},e.mw},3614:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-5",icon:[512,512,[],"e0f2","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm48-352l-96 0c-8.8 0-16 7.2-16 16l0 72c0 8.8 7.2 16 16 16l68 0c15.5 0 28 12.5 28 28s-12.5 28-28 28l-68 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l68 0c33.1 0 60-26.9 60-60s-26.9-60-60-60l-52 0 0-40 80 0c8.8 0 16-7.2 16-16s-7.2-16-16-16z"]},e.mw},4827:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-6",icon:[512,512,[],"e0f3","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm40-336c0-8.8-7.2-16-16-16l-32 0c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l16 0c35.3 0 64-28.7 64-64s-28.7-64-64-64l-16 0c-11.7 0-22.6 3.1-32 8.6l0-8.6c0-17.7 14.3-32 32-32l32 0c8.8 0 16-7.2 16-16zM248 320c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0z"]},e.mw},9204:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-7",icon:[512,512,[],"e0f4","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM208 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l82.5 0-87.9 135.3c-4.8 7.4-2.7 17.3 4.7 22.1s17.3 2.7 22.1-4.7l104-160c3.2-4.9 3.4-11.2 .6-16.4S325.9 160 320 160l-112 0z"]},e.mw},9113:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-8",icon:[512,512,[],"e0f5","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM192 216c0 13.8 5 26.4 13.2 36.1-12.9 10.3-21.2 26.1-21.2 43.9 0 30.9 25.1 56 56 56l32 0c30.9 0 56-25.1 56-56 0-17.8-8.3-33.6-21.2-43.9 8.2-9.8 13.2-22.4 13.2-36.1 0-30.9-25.1-56-56-56l-16 0c-30.9 0-56 25.1-56 56zm96 0c0 13.3-10.7 24-24 24l-16 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l16 0c13.3 0 24 10.7 24 24zm-48 56l32 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-32 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},4058:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-9",icon:[512,512,[],"e0f6","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM216 336c0 8.8 7.2 16 16 16l32 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64l-16 0c-35.3 0-64 28.7-64 64s28.7 64 64 64l16 0c11.7 0 22.6-3.1 32-8.6l0 8.6c0 17.7-14.3 32-32 32l-32 0c-8.8 0-16 7.2-16 16zm48-144c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0z"]},e.mw},1133:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-480a224 224 0 1 0 0 448 224 224 0 1 0 0-448zm83.1 134.6c5.2-7.1 15.2-8.7 22.3-3.5s8.7 15.2 3.5 22.3l-128 176c-2.8 3.8-7 6.2-11.7 6.5s-9.3-1.3-12.6-4.6l-64-64c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l50.7 50.7 117-160.8z"]},e.mw},6800:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-480a224 224 0 1 0 0 448 224 224 0 1 0 0-448zm0 352a24 24 0 1 1 0-48 24 24 0 1 1 0 48zm0-256c13.5 0 24.3 11.4 23.5 24.9l-7.6 136c-.5 8.5-7.5 15.1-16 15.1s-15.5-6.6-16-15.1l-7.6-136c-.8-13.5 10-24.9 23.5-24.9z"]},e.mw},1599:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M272 479.4l0-446.9C388.2 40.8 480 137.7 480 256S388.2 471.2 272 479.4zm-32 0C123.8 471.2 32 374.3 32 256S123.8 40.8 240 32.6l0 446.9zM256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512z"]},e.mw},6845:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-112c0-8.8-7.2-16-16-16l-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0 0 96-32 0zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},51:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm72.7-256L208 329.7 208 182.3 328.7 256zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9l0 176c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"]},e.mw},6521:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-quarter-stroke",icon:[512,512,[],"e5d3","M480 256C480 132.3 379.7 32 256 32l0 176c0 26.5-21.5 48-48 48L32 256c0 123.7 100.3 224 224 224S480 379.7 480 256zM224 34.3C125.9 48.3 48.3 125.9 34.3 224L208 224c8.8 0 16-7.2 16-16l0-173.7zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},8013:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M480 256a224 224 0 1 0 -448 0 224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zm256-96c-26.5 0-48 21.5-48 48 0 8.8-7.2 16-16 16s-16-7.2-16-16c0-44.2 35.8-80 80-80s80 35.8 80 80c0 39.6-25.7 60.3-46.2 70.1-11.5 5.5-17.8 14.5-17.8 22.2l0 5.7c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-5.7c0-24.6 18.3-42.6 36-51 14.5-6.9 28-18.8 28-41.2 0-26.5-21.5-48-48-48zM232 376a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},e.mw},362:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-radiation",icon:[512,512,[9762,"radiation-alt"],"f7ba","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM99.2 224c7.4-36.3 27.1-68.2 54.6-91.1l32.8 56.8c-9.3 9.7-16.5 21.3-21.1 34.3l-66.3 0zM200.5 406.1l32.8-56.8c7.3 1.8 14.9 2.7 22.7 2.7s15.4-.9 22.7-2.7l32.8 56.8c-17.3 6.4-36 9.9-55.5 9.9s-38.3-3.5-55.5-9.9zM412.8 224l-66.3 0c-4.6-13-11.8-24.6-21.1-34.3l32.8-56.8c27.5 22.9 47.2 54.8 54.6 91.1zM64.7 240c-.7 8.8 6.5 16 15.3 16l96 0c8.8 0 15.8-7.3 18-15.8 3.3-12.8 10.4-24.1 20.1-32.5 7-6.1 10.4-16.4 5.8-24.4l-47.6-82.5c-4.3-7.5-13.9-10.3-21.2-5.5-48.2 31.5-81.3 84.2-86.3 144.8zm146.4 83.7l-47.6 82.5c-4.3 7.5-1.9 17.2 5.8 21.1 26.1 13.2 55.5 20.7 86.8 20.7s60.7-7.4 86.8-20.7c7.7-3.9 10.1-13.6 5.8-21.1l-47.6-82.5c-4.7-8.1-15.3-10.3-24.1-7.2-6.5 2.2-13.5 3.5-20.8 3.5s-14.3-1.2-20.8-3.5c-8.8-3-19.4-.9-24.1 7.2zM336 256l96 0c8.8 0 16.1-7.2 15.3-16-5-60.6-38.1-113.2-86.3-144.8-7.3-4.8-16.8-2-21.2 5.5l-47.6 82.5c-4.7 8.1-1.3 18.3 5.8 24.4 9.7 8.4 16.8 19.7 20.1 32.5 2.2 8.6 9.1 15.8 18 15.8zm-80 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},e.mw},232:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-three-quarters-stroke",icon:[512,512,[],"e5d4","M477.7 288L272 288c-26.5 0-48-21.5-48-48l0-205.7C115.4 49.8 32 143.2 32 256 32 379.7 132.3 480 256 480 368.8 480 462.2 396.6 477.7 288zm2.3-32C480 132.3 379.7 32 256 32l0 208c0 8.8 7.2 16 16 16l208 0zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},3140:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM164.7 164.7c-6.2 6.2-6.2 16.4 0 22.6l68.7 68.7-68.7 68.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l68.7-68.7 68.7 68.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-68.7-68.7 68.7-68.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-68.7 68.7-68.7-68.7c-6.2-6.2-16.4-6.2-22.6 0z"]},e.mw},2884:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"code",icon:[576,512,[],"f121","M383.2 21.1c2.8-8.4-1.7-17.4-10.1-20.2s-17.4 1.7-20.2 10.1l-160 480c-2.8 8.4 1.7 17.4 10.1 20.2s17.4-1.7 20.2-10.1l160-480zM139.3 132.7c-6.2-6.2-16.4-6.2-22.6 0l-112 112c-6.2 6.2-6.2 16.4 0 22.6l112 112c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L38.6 256 139.3 155.3c6.2-6.2 6.2-16.4 0-22.6zm297.4 0c-6.2 6.2-6.2 16.4 0 22.6L537.4 256 436.7 356.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l112-112c6.2-6.2 6.2-16.4 0-22.6l-112-112c-6.2-6.2-16.4-6.2-22.6 0z"]},e.mw},2644:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"comment",icon:[512,512,[128489,61669],"f075","M76.8 364.8c8.1 10.1 9.4 24.1 3.2 35.4l-40.2 73.6 101-43.3c7.9-3.4 16.8-3.5 24.8-.2 27.6 11.3 58.2 17.6 90.4 17.6 125.7 0 224-95 224-208S381.7 32 256 32 32 127 32 240c0 46.7 16.5 89.8 44.8 124.8zM51.9 384.9C19.3 344.6 0 294.4 0 240 0 107.5 114.6 0 256 0S512 107.5 512 240 397.4 480 256 480c-36.5 0-71.2-7.2-102.6-20L37 509.9c-3.7 1.6-7.5 2.1-11.5 2.1-14.1 0-25.5-11.4-25.5-25.5 0-4.3 1.1-8.5 3.1-12.2l48.8-89.4z"]},e.mw},1988:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"copy",icon:[448,512,[],"f0c5","M160 64c0-17.7 14.3-32 32-32l132.1 0c8.5 0 16.6 3.4 22.6 9.4l59.9 59.9c6 6 9.4 14.1 9.4 22.6L416 320c0 17.7-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32l0-256zM192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-196.1c0-17-6.7-33.3-18.7-45.3L369.4 18.7C357.4 6.7 341.1 0 324.1 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-32 0 0 16c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l16 0 0-32-16 0z"]},e.mw},3245:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"dash",icon:[512,512,["minus-large"],"e404","M0 256c0-8.8 7.2-16 16-16l480 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 272c-8.8 0-16-7.2-16-16z"]},e.mw},4557:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"down",icon:[384,512,["arrow-alt-down"],"f354","M169.4 470.6c6.3 6.3 14.5 9.4 22.6 9.4s16.4-3.1 22.6-9.4l160-160c9.2-9.2 11.9-22.9 6.9-34.9S364.9 256 352 256l-96 0 0-176c0-26.5-21.5-48-48-48l-32 0c-26.5 0-48 21.5-48 48l0 176-96 0c-12.9 0-24.6 7.8-29.6 19.8S.2 301.5 9.4 310.6l0 0 160 160zM352 288L192 448 32 288 144 288c8.8 0 16-7.2 16-16l0-192c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 192c0 8.8 7.2 16 16 16l112 0z"]},e.mw},7535:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"down-right",icon:[448,512,[],"e16b","M384.2 416l0-265.4-84.7 84.7c-6.2 6.2-16.4 6.2-22.6 0L123.6 81.9c-6.2-6.2-16.4-6.2-22.6 0L50.2 132.7c-6.2 6.2-6.2 16.4 0 22.6L203.6 308.7c6.2 6.2 6.2 16.4 0 22.6l-84.7 84.7 265.4 0zm32 8c0 13.3-10.7 24-24 24l-273.4 0c-28.5 0-42.8-34.5-22.6-54.6L169.6 320 27.6 177.9c-18.7-18.7-18.7-49.1 0-67.9L78.3 59.3c18.7-18.7 49.1-18.7 67.9 0L288.2 201.4 361.6 128c20.2-20.2 54.6-5.9 54.6 22.6l0 273.4z"]},e.mw},5789:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"download",icon:[448,512,[],"f019","M240 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 281.4-84.7-84.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l112 112c6.2 6.2 16.4 6.2 22.6 0l112-112c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L240 297.4 240 16zM85.5 288L64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64l-21.5 0-32 32 53.5 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32L64 448c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l53.5 0-32-32zM368 384a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"]},e.mw},4118:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M448 256a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zm-192 0a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM32 288a32 32 0 1 1 0-64 32 32 0 1 1 0 64z"]},e.mw},9200:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"ellipsis-vertical",icon:[64,512,["ellipsis-v"],"f142","M32 416c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm0-192c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM0 64A32 32 0 1 1 64 64 32 32 0 1 1 0 64z"]},e.mw},9800:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"exclamation",icon:[64,512,[10069,10071,61738],"21","M32 464c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM32 0C45.4 0 56.1 11 55.8 24.4L48 368.4c-.2 8.7-7.3 15.6-16 15.6s-15.8-6.9-16-15.6L8.2 24.4C7.9 11 18.6 0 32 0z"]},e.mw},6880:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"eye",icon:[576,512,[128065],"f06e","M288 64c-140.8 0-229.3 128-256 192 26.7 64 115.2 192 256 192 140.8 0 229.3-128 256-192-26.7-64-115.2-192-256-192zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1 3.3 7.9 3.3 16.7 0 24.6-14.9 35.7-46.2 87.7-93 131.1-47.1 43.7-111.8 80.6-192.6 80.6S142.5 443.2 95.4 399.4c-46.8-43.5-78.1-95.4-93-131.1-3.3-7.9-3.3-16.7 0-24.6 14.9-35.7 46.2-87.7 93-131.1zM288 352c53 0 96-43 96-96 0-43.3-28.7-79.9-68.1-91.9 2.7 8.8 4.1 18.2 4.1 27.9 0 53-43 96-96 96-9.7 0-19.1-1.4-27.9-4.1 11.9 39.4 48.6 68.1 91.9 68.1zM160.2 263.8c-.2-2.6-.2-5.2-.2-7.8 0-12.2 1.7-23.9 4.9-35 .3-.9 .5-1.8 .8-2.7 12.4-40.4 44.3-72.2 84.7-84.7 11.9-3.7 24.6-5.6 37.7-5.6 2.5 0 5 .1 7.4 .2l.4 0c67.1 4 120.2 59.7 120.2 127.8 0 70.7-57.3 128-128 128-68.1 0-123.8-53.2-127.8-120.2zm32.1-16.1c9.3 5.3 20.1 8.4 31.6 8.4 35.3 0 64-28.7 64-64 0-11.5-3-22.3-8.4-31.6-46.4 4-83.3 40.9-87.3 87.3z"]},e.mw},1840:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"eye-slash",icon:[576,512,[],"f070","M27.3-27.2c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l544 544c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L466.4 411.9c4.9-4.1 9.6-8.2 14.1-12.5 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-60 0-111.1 20.3-152.8 48.7L27.3-27.2zm131 131c36.4-23.7 79.7-39.8 129.7-39.8 140.8 0 229.3 128 256 192-13.3 32-42.1 80-85.2 120-4.9 4.5-9.9 8.9-15.1 13.2l-54.6-54.6c16.9-21.7 26.9-48.9 26.9-78.5 0-70.7-57.3-128-128-128-29.6 0-56.9 10-78.5 26.9l-51.2-51.2zM366.2 311.7L232.3 177.8c15.7-11.2 34.9-17.8 55.7-17.8 53 0 96 43 96 96 0 20.8-6.6 40-17.8 55.7zM74.8 133.3c-35.5 38.5-59.7 80.2-72.3 110.4-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 40.6 0 77.1-9.3 109.4-24.1L373 431.5c-25.8 10.3-54.1 16.5-85 16.5-140.8 0-229.3-128-256-192 11.2-26.8 33.2-64.9 65.4-100.1L74.8 133.3z"]},e.mw},6228:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"fill",icon:[512,512,[],"f575","M296 32c15.4 0 30.1 6.1 41 17L463 175c10.9 10.9 17 25.6 17 41s-6.1 30.1-17 41l-31 31-399.4 0c1.7-12.4 7.5-24 16.4-33l107.7-107.7 72 72c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-72-72 75.7-75.7c10.9-10.9 25.6-17 41-17zM134.1 124.7L26.3 232.4C9.5 249.3 0 272.1 0 296s9.5 46.7 26.3 63.6L152.4 485.7C169.3 502.5 192.1 512 216 512s46.7-9.5 63.6-26.3L485.7 279.6C502.5 262.7 512 239.9 512 216s-9.5-46.7-26.3-63.6L359.6 26.3C342.7 9.5 319.9 0 296 0s-46.7 9.5-63.6 26.3l-75.7 75.7-65.4-65.4c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l65.4 65.4zM49 337c-5-5-8.9-10.7-11.8-17L400 320 257 463c-10.9 10.9-25.6 17-41 17s-30.1-6.1-41-17L49 337z"]},e.mw},3091:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"filter",icon:[512,512,[],"f0b0","M2.4 83.8C7.4 71.8 19.1 64 32 64l448 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9L320 301.3 320 480c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-64-64c-6-6-9.4-14.1-9.4-22.6L192 301.3 9.4 118.6C.2 109.5-2.5 95.7 2.4 83.8zM480 96L32 96 219.3 283.3c3 3 4.7 7.1 4.7 11.3l0 121.4 64 64 0-185.4c0-4.2 1.7-8.3 4.7-11.3L480 96z"]},e.mw},3771:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"flag-pennant",icon:[448,512,[128681,"pennant"],"f456","M32 16C32 7.2 24.8 0 16 0S0 7.2 0 16L0 496c0 8.8 7.2 16 16 16s16-7.2 16-16l0-145.1 400.9-137.7c9.1-3.1 15.1-11.6 15.1-21.2s-6.1-18.1-15.1-21.2L32 33.1 32 16zm0 50.9L396.1 192 32 317.1 32 66.9z"]},e.mw},1493:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="floppy-disk",o=[128190,128426,"save"],r="f0c7",s="M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-242.7c0-8.5-3.4-16.6-9.4-22.6L329.4 73.4c-2.7-2.7-5.9-4.9-9.4-6.5L320 176c0 17.7-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32l0-112-32 0zm64 0l0 112 160 0 0-112-160 0zM0 96C0 60.7 28.7 32 64 32l242.7 0c17 0 33.3 6.7 45.3 18.7L429.3 128c12 12 18.7 28.3 18.7 45.3L448 416c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM256 320a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm-96 0a64 64 0 1 1 128 0 64 64 0 1 1 -128 0z";e.definition={prefix:"fal",iconName:i,icon:[448,512,o,r,s]},e.faFloppyDisk=e.definition,e.prefix="fal",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=s,e.aliases=o},3093:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M64 416l384 0c17.7 0 32-14.3 32-32l0-240c0-17.7-14.3-32-32-32l-149.3 0c-13.8 0-27.3-4.5-38.4-12.8L221.9 70.4c-5.5-4.2-12.3-6.4-19.2-6.4L64 64C46.3 64 32 78.3 32 96l0 288c0 17.7 14.3 32 32 32zm384 32L64 448c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l138.7 0c13.8 0 27.3 4.5 38.4 12.8l38.4 28.8c5.5 4.2 12.3 6.4 19.2 6.4L448 80c35.3 0 64 28.7 64 64l0 240c0 35.3-28.7 64-64 64z"]},e.mw},5029:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M97.5 416c-10.8 0-18.5-10.5-15.3-20.8l50-160c2.1-6.7 8.3-11.2 15.3-11.2L527 224c10.8 0 18.5 10.5 15.3 20.8l-50 160C490.1 411.5 484 416 477 416L97.5 416zm126.7 32L477 448c21 0 39.6-13.6 45.8-33.7l50-160c9.7-30.9-13.4-62.3-45.8-62.3l-379.4 0c-21 0-39.6 13.6-45.8 33.7L64.2 345.6 64.2 96c0-17.7 14.3-32 32-32l138.7 0c6.9 0 13.7 2.2 19.2 6.4l38.4 28.8c11.1 8.3 24.6 12.8 38.4 12.8l117.3 0c17.7 0 32 14.3 32 32l32 0c0-35.3-28.7-64-64-64L330.9 80c-6.9 0-13.7-2.2-19.2-6.4L273.3 44.8C262.2 36.5 248.8 32 234.9 32L96.2 32c-35.3 0-64 28.7-64 64l0 288c0 35.3 28.7 64 64 64l128 0z"]},e.mw},2872:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"font",icon:[512,512,[],"f031","M256 32c6.4 0 12.2 3.8 14.7 9.8L442.6 448 480 448c8.8 0 16 7.2 16 16s-7.2 16-16 16l-112 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l39.9 0-40.6-96-222.5 0-40.6 96 39.9 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L32 480c-8.8 0-16-7.2-16-16s7.2-16 16-16l37.4 0 171.9-406.2c2.5-5.9 8.3-9.8 14.7-9.8zM158.3 320L353.7 320 256 89.1 158.3 320z"]},e.mw},62:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M185.9 112.3c-6.5 3.2-12.8 6.8-18.8 10.9-8.2 5.5-18.5 6.9-28 3.8L67.4 103.2 29.5 168.8 86 219.1c7.4 6.6 11.3 16.2 10.7 26.1-.5 7.2-.5 14.6 0 21.8 .7 9.9-3.3 19.5-10.7 26.1l-56.5 50.2 37.9 65.7 71.7-23.8c9.4-3.1 19.7-1.7 28 3.8 6 4 12.3 7.7 18.8 10.9 8.9 4.4 15.2 12.6 17.2 22.3l15.2 74 75.8 0 15.2-74c2-9.7 8.4-17.9 17.2-22.3 6.5-3.2 12.8-6.8 18.8-10.9 8.2-5.5 18.5-6.9 28-3.8l71.7 23.8 37.9-65.7-56.5-50.2c-7.4-6.6-11.3-16.2-10.7-26.1 .2-3.6 .4-7.2 .4-10.9s-.1-7.3-.4-10.9c-.7-9.9 3.3-19.5 10.7-26.1l56.5-50.2-37.9-65.7-71.7 23.8c-9.4 3.1-19.7 1.7-28-3.8-6-4-12.3-7.7-18.8-10.9-8.9-4.4-15.2-12.6-17.2-22.3l-15.2-74-75.8 0-15.2 74c-2 9.7-8.4 17.9-17.2 22.3zM294.2-16c15.2 0 28.3 10.7 31.3 25.5l15.2 74c7.8 3.8 15.4 8.2 22.6 13.1l71.7-23.8c14.4-4.8 30.2 1.2 37.8 14.4l37.9 65.7c7.6 13.2 4.9 29.8-6.5 39.9L447.9 243c.6 8.6 .6 17.5 0 26l56.5 50.2c11.4 10.1 14 26.8 6.5 39.9l-37.9 65.7c-7.6 13.2-23.4 19.2-37.8 14.4l-71.7-23.8c-7.2 4.8-14.7 9.2-22.6 13.1l-15.2 74c-3.1 14.9-16.2 25.5-31.3 25.5l-75.8 0c-15.2 0-28.3-10.7-31.3-25.5l-15.2-74c-7.8-3.8-15.4-8.2-22.6-13.1L77.5 439.2C63.1 444 47.3 438 39.7 424.8L1.8 359.2c-7.6-13.1-4.9-29.8 6.5-39.9L64.7 269c-.6-8.6-.6-17.5 0-26L8.2 192.8c-11.4-10.1-14-26.8-6.5-39.9L39.7 87.2C47.3 74 63.1 68 77.5 72.8l71.7 23.8c7.2-4.8 14.7-9.2 22.6-13.1l15.2-74C190.1-5.3 203.2-16 218.4-16l75.8 0zM200.3 256a55.7 55.7 0 1 0 111.4 0 55.7 55.7 0 1 0 -111.4 0zm55.4 88a88 88 0 1 1 .6-176 88 88 0 1 1 -.6 176z"]},e.mw},4494:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-lines",icon:[448,512,[],"f7a4","M448 176c0-8.8-7.2-16-16-16L16 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16zm0 160c0-8.8-7.2-16-16-16L16 320c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16z"]},e.mw},312:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-lines-vertical",icon:[192,512,[],"f7a5","M16 32C7.2 32 0 39.2 0 48L0 464c0 8.8 7.2 16 16 16s16-7.2 16-16L32 48c0-8.8-7.2-16-16-16zm160 0c-8.8 0-16 7.2-16 16l0 416c0 8.8 7.2 16 16 16s16-7.2 16-16l0-416c0-8.8-7.2-16-16-16z"]},e.mw},6979:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-vertical",icon:[320,512,["grid-vertical"],"f58e","M40 32c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8L40 32zM0 40C0 17.9 17.9 0 40 0L88 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0C17.9 128 0 110.1 0 88L0 40zM40 224c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8l-48 0zM0 232c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48zM88 416l-48 0c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8zM40 384l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM232 32c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8l-48 0zm-40 8c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48zm88 184l-48 0c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8zm-48-32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm0 224c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8l-48 0zm-40 8c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48z"]},e.mw},3339:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"heading",icon:[448,512,["header"],"f1dc","M0 48c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-48 0 0 160 256 0 0-160-48 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-48 0 0 384 48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l48 0 0-192-256 0 0 192 48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 480c-8.8 0-16-7.2-16-16s7.2-16 16-16l48 0 0-384-48 0C7.2 64 0 56.8 0 48z"]},e.mw},3911:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"horizontal-rule",icon:[640,512,[8213],"f86c","M0 256c0-8.8 7.2-16 16-16l608 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 272c-8.8 0-16-7.2-16-16z"]},e.mw},4933:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"house",icon:[512,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M245.6 4.3c6.1-5.7 15.7-5.7 21.8 0l240 224c6.5 6 6.8 16.2 .8 22.6s-16.2 6.8-22.6 .8l-21.1-19.7 0 216c0 35.3-28.7 64-64 64l-288 0c-35.3 0-64-28.7-64-64l0-216-21.1 19.7c-6.5 6-16.6 5.7-22.6-.8s-5.7-16.6 .8-22.6l240-224zm10.9 33.6l-176 164.3 0 245.8c0 17.7 14.3 32 32 32l64 0 0-112c0-35.3 28.7-64 64-64l32 0c35.3 0 64 28.7 64 64l0 112 64 0c17.7 0 32-14.3 32-32l0-245.8-176-164.3zM208.5 480l96 0 0-112c0-17.7-14.3-32-32-32l-32 0c-17.7 0-32 14.3-32 32l0 112z"]},e.mw},6564:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"image",icon:[448,512,[],"f03e","M384 64c17.7 0 32 14.3 32 32l0 320c0 17.7-14.3 32-32 32L64 448c-17.7 0-32-14.3-32-32L32 96c0-17.7 14.3-32 32-32l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm64 144a16 16 0 1 1 0-32 16 16 0 1 1 0 32zM80 160a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm169.3 59.7c1.5-2.3 4-3.7 6.7-3.7s5.2 1.4 6.7 3.7l88 136c1.6 2.5 1.7 5.6 .3 8.2s-4.1 4.2-7 4.2l-240 0c-3 0-5.7-1.7-7.1-4.3s-1.2-5.8 .5-8.3l56-80c1.5-2.1 3.9-3.4 6.6-3.4s5.1 1.3 6.6 3.4l10.6 15.2c3.1 4.4 8.1 6.9 13.4 6.8s10.2-2.8 13.1-7.3l45.6-70.4zM256 184c-13.6 0-26.2 6.9-33.6 18.3l-32.9 50.8c-7.5-8.3-18.2-13.1-29.6-13.1-13.1 0-25.3 6.4-32.8 17.1l-56 80c-8.6 12.2-9.6 28.2-2.7 41.4S89.1 400 104 400l240 0c14.7 0 28.1-8 35.1-20.9s6.4-28.5-1.6-40.8l-88-136c-7.4-11.4-20-18.3-33.6-18.3z"]},e.mw},7406:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"input-text",icon:[576,512,[],"e1bf","M512 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l448 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zM96 224l0 112c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48 64 0 0 48c0 8.8 7.2 16 16 16s16-7.2 16-16l0-112c0-35.3-28.7-64-64-64s-64 28.7-64 64zm96 32l-64 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32zm80-80l0 160c0 8.8 7.2 16 16 16l64 0c30.9 0 56-25.1 56-56 0-17.8-8.3-33.6-21.2-43.9 8.2-9.8 13.2-22.4 13.2-36.1 0-30.9-25.1-56-56-56l-56 0c-8.8 0-16 7.2-16 16zm96 40c0 13.3-10.7 24-24 24l-40 0 0-48 40 0c13.3 0 24 10.7 24 24zM304 320l0-48 48 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-48 0z"]},e.mw},7457:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"italic",icon:[384,512,[],"f033","M128 48c0-8.8 7.2-16 16-16l224 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-92.6 0-132.9 384 97.5 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 480c-8.8 0-16-7.2-16-16s7.2-16 16-16l92.6 0 132.9-384-97.5 0c-8.8 0-16-7.2-16-16z"]},e.mw},4009:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"layer-group",icon:[512,512,[],"f5fd","M266.1 34.2L468.9 128 266.1 221.7c-6.4 3-13.8 3-20.1 0L43.1 128 245.9 34.2c6.4-3 13.7-3 20.1 0zm13.4-29c-14.9-6.9-32.1-6.9-47 0L13.9 106.2C5.4 110.1 0 118.6 0 128s5.4 17.9 13.9 21.8l218.6 101c14.9 6.9 32.1 6.9 47 0l218.6-101c8.5-3.9 13.9-12.4 13.9-21.8s-5.4-17.9-13.9-21.8L279.5 5.2zM48.1 218.4L13.9 234.2C5.4 238.1 0 246.6 0 256s5.4 17.9 13.9 21.8l218.6 101c14.9 6.9 32.1 6.9 47 0l218.6-101c8.5-3.9 13.9-12.4 13.9-21.8s-5.4-17.9-13.9-21.8l-34.1-15.8-38.1 17.6 43.1 19.9-202.9 93.8c-6.4 3-13.8 3-20.1 0L43.1 256 86.2 236 48.1 218.4zM13.9 362.2C5.4 366.1 0 374.6 0 384s5.4 17.9 13.9 21.8l218.6 101c14.9 6.9 32.1 6.9 47 0l218.6-101c8.5-3.9 13.9-12.4 13.9-21.8s-5.4-17.9-13.9-21.8l-34.1-15.8-38.1 17.6 43.1 19.9-202.9 93.8c-6.4 3-13.8 3-20.1 0L43.1 384 86.2 364 48.1 346.4 13.9 362.2z"]},e.mw},1868:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"left",icon:[448,512,["arrow-alt-left"],"f355","M9.4 278.6C3.1 272.4 0 264.1 0 256s3.1-16.4 9.4-22.6l160-160c9.2-9.2 22.9-11.9 34.9-6.9S224 83.1 224 96l0 96 176 0c26.5 0 48 21.5 48 48l0 32c0 26.5-21.5 48-48 48l-176 0 0 96c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l0 0-160-160zM192 96L32 256 192 416 192 304c0-8.8 7.2-16 16-16l192 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-192 0c-8.8 0-16-7.2-16-16l0-112z"]},e.mw},9277:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M341.1 92.5c8.2 6.9 15.7 14.5 22.6 22.7 19.8-17.4 45.3-27.1 71.8-27.1 59.9 0 108.5 48.6 108.5 108.5 0 28.8-11.4 56.3-31.8 76.7l-79.1 79.1c-20.3 20.3-47.9 31.8-76.7 31.8-59.9 0-108.5-48.6-108.5-108.5 0-15.6 3.4-30.9 9.7-44.9 3.7-8 .1-17.5-7.9-21.2s-17.5-.1-21.2 7.9c-8.2 18.1-12.6 37.9-12.6 58.2 0 77.6 62.9 140.5 140.5 140.5 37.2 0 73-14.8 99.3-41.1l79.1-79.1c26.3-26.3 41.1-62.1 41.1-99.3 0-77.6-62.9-140.5-140.5-140.5-35 0-68.6 13.1-94.4 36.5zM219.5 128c59.9 0 108.5 48.6 108.5 108.5 0 15.6-3.4 30.9-9.7 44.9-3.7 8-.1 17.5 7.9 21.2s17.5 .1 21.2-7.9c8.2-18.1 12.6-37.9 12.6-58.2 0-77.6-62.9-140.5-140.5-140.5-37.2 0-73 14.8-99.3 41.1L41.1 216.2c-26.3 26.3-41.1 62.1-41.1 99.3 0 77.6 62.9 140.5 140.5 140.5 35 0 68.6-13.1 94.4-36.5-8.2-6.9-15.7-14.5-22.6-22.7-19.8 17.4-45.3 27.1-71.8 27.1-59.9 0-108.5-48.6-108.5-108.5 0-28.8 11.4-56.3 31.8-76.7l79.1-79.1c20.3-20.3 47.9-31.8 76.7-31.8z"]},e.mw},1817:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list",icon:[512,512,["list-squares"],"f03a","M48 112l0-32 32 0 0 32-32 0zM16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48C26.7 48 16 58.7 16 72zm160 8c-8.8 0-16 7.2-16 16s7.2 16 16 16l320 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L176 80zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l320 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-320 0zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l320 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-320 0zM48 240l32 0 0 32-32 0 0-32zm-8-32c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0zm8 224l0-32 32 0 0 32-32 0zM16 392l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24z"]},e.mw},2585:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-check",icon:[512,512,["tasks"],"f0ae","M141.3 56.9c4.9-7.4 2.9-17.3-4.4-22.2s-17.3-2.9-22.2 4.4L61.5 118.9 27.3 84.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l48 48c3.4 3.4 8.1 5.1 12.9 4.6s9.1-3.1 11.7-7l64-96zM208 80c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L208 80zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM176 400c-8.8 0-16 7.2-16 16s7.2 16 16 16l320 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-320 0zM56 392a24 24 0 1 0 0 48 24 24 0 1 0 0-48zm80.9-197.3c-7.4-4.9-17.3-2.9-22.2 4.4l-53.2 79.8-34.2-34.2c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l48 48c3.4 3.4 8.1 5.1 12.9 4.6s9.1-3.1 11.7-7l64-96c4.9-7.4 2.9-17.3-4.4-22.2z"]},e.mw},478:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-ol",icon:[512,512,["list-1-2","list-numeric"],"f0cb","M0 64c0 8.8 7.2 16 16 16l40 0 0 112-40 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l112 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-40 0 0-128c0-8.8-7.2-16-16-16L16 48C7.2 48 0 55.2 0 64zM192 96c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L208 80c-8.8 0-16 7.2-16 16zm0 160c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zm0 160c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM77 288c-11.6 0-23 3.4-32.7 9.9L7.1 322.7c-7.4 4.9-9.3 14.8-4.4 22.2s14.8 9.3 22.2 4.4L62 324.5c4.4-3 9.6-4.5 15-4.5l1.9 0c13.8 0 25.1 11.2 25.1 25.1 0 8.7-4.5 16.8-11.9 21.3l-79.6 49C4.7 420.1 0 428.6 0 437.7 0 452.2 11.8 464 26.3 464L128 464c8.8 0 16-7.2 16-16s-7.2-16-16-16l-81.5 0 62.3-38.3c16.9-10.4 27.2-28.8 27.2-48.6 0-31.5-25.5-57.1-57.1-57.1L77 288z"]},e.mw},925:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-tree",icon:[512,512,[],"e1d2","M48 112a16 16 0 1 0 0-32 16 16 0 1 0 0 32zM0 96C0 69.5 21.5 48 48 48S96 69.5 96 96c0 20.9-13.4 38.7-32 45.3l0 98.7 66.7 0c6.6-18.6 24.4-32 45.3-32 26.5 0 48 21.5 48 48s-21.5 48-48 48c-20.9 0-38.7-13.4-45.3-32L64 272 64 384c0 8.8 7.2 16 16 16l50.7 0c6.6-18.6 24.4-32 45.3-32 26.5 0 48 21.5 48 48s-21.5 48-48 48c-20.9 0-38.7-13.4-45.3-32L80 432c-26.5 0-48-21.5-48-48l0-242.7C13.4 134.7 0 116.9 0 96zm160 0c0-8.8 7.2-16 16-16l320 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-320 0c-8.8 0-16-7.2-16-16zM288 256c0-8.8 7.2-16 16-16l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16zm0 160c0-8.8 7.2-16 16-16l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16zM160 256a16 16 0 1 0 32 0 16 16 0 1 0 -32 0zm16 176a16 16 0 1 0 0-32 16 16 0 1 0 0 32z"]},e.mw},9594:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M384 208a176 176 0 1 0 -352 0 176 176 0 1 0 352 0zM343.3 366C307 397.2 259.7 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208c0 51.7-18.8 99-50 135.3L507.3 484.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L343.3 366z"]},e.mw},7897:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M0 256c0-8.8 7.2-16 16-16l416 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 272c-8.8 0-16-7.2-16-16z"]},e.mw},5127:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"object-group",icon:[576,512,[],"f247","M32 64a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm48 62c22.5-5.8 40.2-23.5 46-46l324 0c5.8 22.5 23.5 40.2 46 46l0 260c-22.5 5.8-40.2 23.5-46 46l-324 0c-5.8-22.5-23.5-40.2-46-46l0-260zM512 0c-29.8 0-54.9 20.4-62 48L126 48C118.9 20.4 93.8 0 64 0 28.7 0 0 28.7 0 64 0 93.8 20.4 118.9 48 126l0 260c-27.6 7.1-48 32.2-48 62 0 35.3 28.7 64 64 64 29.8 0 54.9-20.4 62-48l324 0c7.1 27.6 32.2 48 62 48 35.3 0 64-28.7 64-64 0-29.8-20.4-54.9-48-62l0-260c27.6-7.1 48-32.2 48-62 0-35.3-28.7-64-64-64zM480 64a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM64 416a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm416 32a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM288 160l0 80-128 0 0-80 128 0zM160 128c-17.7 0-32 14.3-32 32l0 80c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-80c0-17.7-14.3-32-32-32l-128 0zM272 320l0 32c0 17.7 14.3 32 32 32l112 0c17.7 0 32-14.3 32-32l0-80c0-17.7-14.3-32-32-32l-48 0c0 11.4-2.4 22.2-6.7 32l54.7 0 0 80-112 0 0-33.6c-5.2 1-10.5 1.6-16 1.6l-16 0z"]},e.mw},1247:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"object-union",icon:[512,512,[],"e49f","M160 320c17.7 0 32 14.3 32 32l0 96c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32l0-224c0-17.7-14.3-32-32-32l-96 0c-17.7 0-32-14.3-32-32l0-96c0-17.7-14.3-32-32-32L64 32C46.3 32 32 46.3 32 64l0 224c0 17.7 14.3 32 32 32l96 0zm-32 32l-64 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L288 0c35.3 0 64 28.7 64 64l0 96 96 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64l-224 0c-35.3 0-64-28.7-64-64l0-96-32 0z"]},e.mw},7472:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"paintbrush-pencil",icon:[576,512,[],"e206","M75.8 136.5C68.2 128.9 64 118.7 64 108s4.2-20.9 11.8-28.5l35.7-35.7C119.1 36.2 129.3 32 140 32s20.9 4.2 28.5 11.8l100.6 100.6 22.6-22.6-100.6-100.6C177.6 7.6 159.2 0 140 0S102.4 7.6 88.9 21.2L53.2 56.9C39.6 70.4 32 88.8 32 108s7.6 37.6 21.2 51.1l65 65c10.7-4.9 22-8.8 33.7-11.6L75.8 136.5zM351.9 457.5c9.8 8.4 21.4 14.6 33.9 18.1l127.8 35.5c8.3 2.3 17.3 0 23.4-6.2s8.5-15.1 6.2-23.4L507.6 353.8c-4.1-14.6-11.8-27.9-22.6-38.7l-30.8-30.8-22.6 22.6 30.8 30.8c6.8 6.8 11.8 15.3 14.4 24.6l31.7 114.1-114.1-31.7c-9.3-2.6-17.8-7.5-24.6-14.4l-6.3-6.3c-2.7 11.6-6.6 22.8-11.5 33.4zM509.1 32c19.3 0 34.9 15.6 34.9 34.9 0 9.3-3.7 18.1-10.2 24.7l-230 230c-11.6-20.7-28.7-37.8-49.4-49.4l230-230C491 35.7 499.8 32 509.1 32zM461.8 19.6L221.9 259.5c-9.6-2.3-19.6-3.5-29.9-3.5-70.7 0-128 57.3-128 128 0 15.5 2.8 30.4 7.8 44.2 7.6 20.8-5.8 51.8-28 51.8L16 480c-8.8 0-16 7.2-16 16s7.2 16 16 16l176 0c70.7 0 128-57.3 128-128 0-10.3-1.2-20.3-3.5-29.9L556.4 114.2C569 101.7 576 84.7 576 66.9 576 30 546 0 509.1 0 491.3 0 474.3 7 461.8 19.6zM192 480l-96.4 0c.7-1.3 1.4-2.6 2.1-3.8 8.3-16.7 11.7-38.9 4.2-59-3.8-10.3-5.9-21.4-5.9-33.1 0-53 43-96 96-96s96 43 96 96-43 96-96 96z"]},e.mw},4702:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"palette",icon:[512,512,[127912],"f53f","M480 258.3c-.1 14.1-13.8 29.7-38.1 29.7L344 288c-44.2 0-80 35.8-80 80 0 5.6 .6 11.2 1.7 16.6 2.9 13.8 8.9 27.3 13.2 37 .8 1.7 1.5 3.3 2.1 4.8 5 11.6 6.9 18.2 6.9 23.5 0 19.2-12.3 29.6-22.7 30-3.1 .1-6.2 .2-9.3 .2-123.7 0-224-100.3-224-224S132.3 32 256 32 480 132.3 480 256c0 .8 0 1.6 0 2.3zm32 .3c0-.9 0-1.8 0-2.7 0-141.4-114.6-256-256-256S0 114.6 0 256 114.6 512 256 512c3.5 0 7.1-.1 10.6-.2 31.8-1.3 53.4-30.1 53.4-62 0-14.5-6.1-28.3-12.1-42-4.3-9.8-8.7-19.7-10.8-29.9-.7-3.2-1-6.5-1-9.9 0-26.5 21.5-48 48-48l97.9 0c36.5 0 69.7-24.8 70.1-61.3zM152 256a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm8-72a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm120-56a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm72 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},2142:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"pen",icon:[512,512,[128394],"f304","M375.5 43.8C383.1 36.2 393.3 32 404 32s20.9 4.2 28.5 11.8l35.7 35.7C475.8 87.1 480 97.3 480 108s-4.2 20.9-11.8 28.5L409.7 195 317 102.3 375.5 43.8zM294.3 125L387 217.7 174.2 430.4c-6.8 6.8-15.3 11.8-24.6 14.4L35.5 476.5 67.2 362.4c2.6-9.3 7.5-17.8 14.4-24.6L294.3 125zM404 0c-19.2 0-37.6 7.6-51.1 21.2l-294 294c-10.7 10.7-18.5 24.1-22.6 38.7L.9 481.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6l294-294C504.4 145.6 512 127.2 512 108s-7.6-37.6-21.2-51.1L455.1 21.2C441.6 7.6 423.2 0 404 0z"]},e.mw},9217:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M240 48c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 192-192 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l192 0 0 192c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192 192 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-192 0 0-192z"]},e.mw},1103:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M169.1 17.3C183.8 6.3 203.2 0 224 0S264.2 6.3 278.9 17.3 304 44.6 304 64c0 19.5-10.6 35.9-25.3 46.8-5.2 3.8-6.7 7.7-6.7 10 0 4 3.2 7.2 7.2 7.2l56.8 0c26.5 0 48 21.5 48 48l0 56.8c0 4 3.2 7.2 7.2 7.2 2.3 0 6.1-1.6 10-6.7 11-14.7 27.4-25.3 46.8-25.3 19.4 0 35.8 10.5 46.7 25.1s17.3 34.1 17.3 54.9-6.3 40.2-17.3 54.9-27.3 25.1-46.7 25.1c-19.5 0-35.9-10.6-46.8-25.3-3.8-5.2-7.7-6.7-10-6.7-4 0-7.2 3.2-7.2 7.2L384 464c0 26.5-21.5 48-48 48l-56.8 0c-21.7 0-39.2-17.5-39.2-39.2 0-16.2 9.9-28.4 19.6-35.6 8.6-6.4 12.4-14.1 12.4-21.2 0-7.1-3.8-14.7-12.3-21.1S238.5 384 224 384 196.9 388.4 188.3 394.9 176 408.9 176 416c0 7.1 3.8 14.8 12.4 21.2 9.7 7.2 19.6 19.4 19.6 35.6 0 21.7-17.5 39.2-39.2 39.2L48 512c-26.5 0-48-21.5-48-48L0 343.2c0-21.7 17.5-39.2 39.2-39.2 16.2 0 28.4 9.9 35.6 19.6 6.4 8.6 14.1 12.4 21.2 12.4 7.1 0 14.7-3.8 21.1-12.3S128 302.5 128 288 123.6 260.9 117.1 252.3 103.1 240 96 240c-7.1 0-14.8 3.8-21.2 12.4-7.2 9.7-19.4 19.6-35.6 19.6-21.6 0-39.2-17.5-39.2-39.2L0 176c0-26.5 21.5-48 48-48l120.8 0c4 0 7.2-3.2 7.2-7.2 0-2.3-1.6-6.1-6.7-10-14.7-11-25.3-27.4-25.3-46.8 0-19.4 10.5-35.8 25.1-46.7zm19.2 25.6c-8.6 6.4-12.3 14.1-12.3 21.1 0 7.1 3.8 14.8 12.4 21.2 9.7 7.2 19.6 19.4 19.6 35.6 0 21.6-17.5 39.2-39.2 39.2L48 160c-8.8 0-16 7.2-16 16l0 56.8c0 4 3.2 7.2 7.2 7.2 2.3 0 6.1-1.6 10-6.7 11-14.7 27.4-25.3 46.8-25.3 19.4 0 35.8 10.5 46.7 25.1S160 267.2 160 288 153.7 328.2 142.7 342.9 115.4 368 96 368c-19.5 0-35.9-10.6-46.8-25.3-3.8-5.2-7.7-6.7-10-6.7-4 0-7.2 3.2-7.2 7.2L32 464c0 8.8 7.2 16 16 16l120.8 0c4 0 7.2-3.2 7.2-7.2 0-2.3-1.6-6.1-6.7-10-14.7-11-25.3-27.4-25.3-46.8 0-19.4 10.5-35.8 25.1-46.7s34.1-17.3 54.9-17.3 40.2 6.3 54.9 17.3 25.1 27.3 25.1 46.7c0 19.5-10.6 35.9-25.3 46.8-5.2 3.8-6.7 7.7-6.7 10 0 4 3.2 7.2 7.2 7.2l56.8 0c8.8 0 16-7.2 16-16l0-120.8c0-21.7 17.5-39.2 39.2-39.2 16.2 0 28.4 9.9 35.6 19.6 6.4 8.6 14.1 12.4 21.2 12.4 7.1 0 14.7-3.8 21.1-12.3s10.9-21.1 10.9-35.7-4.4-27.1-10.9-35.7-14.1-12.3-21.1-12.3c-7.1 0-14.8 3.8-21.2 12.4-7.2 9.7-19.4 19.6-35.6 19.6-21.7 0-39.2-17.5-39.2-39.2l0-56.8c0-8.8-7.2-16-16-16l-56.8 0c-21.7 0-39.2-17.5-39.2-39.2 0-16.2 9.9-28.4 19.6-35.6 8.6-6.4 12.4-14.1 12.4-21.2 0-7.1-3.8-14.7-12.3-21.1S238.5 32 224 32 196.9 36.4 188.3 42.9z"]},e.mw},8875:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"quote-right",icon:[448,512,[8221,"quote-right-alt"],"f10e","M448 304c0 61.9-50.1 112-112 112l-32 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l32 0c44.2 0 80-35.8 80-80l0-24.6c-9.4 5.4-20.3 8.6-32 8.6l-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 144zm-32-80l0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32l64 0c17.7 0 32-14.3 32-32zM64 256l64 0c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32zm128-64l0 112c0 61.9-50.1 112-112 112l-32 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l32 0c44.2 0 80-35.8 80-80l0-24.6c-9.4 5.4-20.3 8.6-32 8.6l-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 32z"]},e.mw},4194:(t,e,i)=>{"use strict";var o=i(3512);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},8647:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"right",icon:[448,512,[11157,"arrow-alt-right"],"f356","M438.6 233.4c6.3 6.3 9.4 14.5 9.4 22.6s-3.1 16.4-9.4 22.6l-160 160c-9.2 9.2-22.9 11.9-34.9 6.9S224 428.9 224 416l0-96-176 0c-26.5 0-48-21.5-48-48l0-32c0-26.5 21.5-48 48-48l176 0 0-96c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l0 0 160 160zM256 416l160-160-160-160 0 112c0 8.8-7.2 16-16 16L48 224c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l192 0c8.8 0 16 7.2 16 16l0 112z"]},e.mw},7523:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M32 43.3L32 144 132.7 144 32 43.3zM24 176c-13.3 0-24-10.7-24-24L0 24C0 14.3 5.9 5.5 14.8 1.8S34.1 .2 41 7L92.8 58.8c100.6-83.5 250-78.1 344.3 16.2 45.6 45.6 70.5 104.3 74.4 164 4 58.8-12.3 119.3-50.3 170.2-84.6 113.3-245 136.5-358.3 51.9-31.5-23.5-56.1-53-73.3-85.7-4.1-7.8-1.1-17.5 6.7-21.6s17.5-1.1 21.6 6.7c15 28.6 36.5 54.3 64.1 74.9 99.1 74 239.5 53.7 313.5-45.5 33.3-44.6 47.5-97.5 44-149l0 0c-3.5-52.3-25.2-103.5-65.1-143.5-81.7-81.7-211-87.1-298.9-16.1L169 135c6.9 6.9 8.9 17.2 5.2 26.2S161.7 176 152 176L24 176z"]},e.mw},346:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M480 43.3L480 144 379.3 144 480 43.3zM488 176c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2S477.9 .2 471 7L419.3 58.8c-100.6-83.5-250-78.1-344.3 16.2-45.6 45.6-70.5 104.3-74.4 164-4 58.8 12.3 119.3 50.3 170.2 84.6 113.3 245 136.5 358.3 51.9 31.5-23.5 56.1-53 73.3-85.7 4.1-7.8 1.1-17.5-6.7-21.6s-17.5-1.1-21.6 6.7c-15 28.6-36.5 54.3-64.1 74.9-99.1 74-239.5 53.7-313.5-45.5-33.3-44.6-47.5-97.5-44-149l0 0C36 188.8 57.7 137.6 97.6 97.6 179.4 15.9 308.6 10.5 396.5 81.5L343 135c-6.9 6.9-8.9 17.2-5.2 26.2S350.3 176 360 176l128 0z"]},e.mw},2620:(t,e,i)=>{"use strict";var o=i(1493);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},2359:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars",icon:[448,512,["signal-alt","signal-alt-4","signal-bars-strong"],"f690","M448 48c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 416c0 8.8 7.2 16 16 16s16-7.2 16-16l0-416zM293.3 128c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16s16-7.2 16-16l0-320c0-8.8-7.2-16-16-16zM170.7 272c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 192c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192zM32 400c0-8.8-7.2-16-16-16S0 391.2 0 400l0 64c0 8.8 7.2 16 16 16s16-7.2 16-16l0-64z"]},e.mw},5569:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-fair",icon:[448,512,["signal-alt-2"],"f692","M170.7 272c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 192c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192zM32 400c0-8.8-7.2-16-16-16S0 391.2 0 400l0 64c0 8.8 7.2 16 16 16s16-7.2 16-16l0-64z"]},e.mw},2014:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-good",icon:[448,512,["signal-alt-3"],"f693","M309.3 144c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16s16-7.2 16-16l0-320zM154.7 256c-8.8 0-16 7.2-16 16l0 192c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16zM16 384c-8.8 0-16 7.2-16 16l0 64c0 8.8 7.2 16 16 16s16-7.2 16-16l0-64c0-8.8-7.2-16-16-16z"]},e.mw},15:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-weak",icon:[448,512,["signal-alt-1"],"f691","M16 384c8.8 0 16 7.2 16 16l0 64c0 8.8-7.2 16-16 16S0 472.8 0 464l0-64c0-8.8 7.2-16 16-16z"]},e.mw},1472:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"spinner",icon:[512,512,[],"f110","M256 32a16 16 0 1 1 0 32 16 16 0 1 1 0-32zm0 64a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm0 352a16 16 0 1 1 0 32 16 16 0 1 1 0-32zm0 64a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM32 256a16 16 0 1 1 32 0 16 16 0 1 1 -32 0zm64 0a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm368-16a16 16 0 1 1 0 32 16 16 0 1 1 0-32zm0 64a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM97.6 414.4a16 16 0 1 1 22.6-22.6 16 16 0 1 1 -22.6 22.6zm45.3-45.3A48 48 0 1 0 75 437 48 48 0 1 0 142.9 369.1zM120.2 97.6a16 16 0 1 1 -22.6 22.6 16 16 0 1 1 22.6-22.6zM75 142.9A48 48 0 1 0 142.9 75 48 48 0 1 0 75 142.9zM391.8 391.8a16 16 0 1 1 22.6 22.6 16 16 0 1 1 -22.6-22.6zM437 437A48 48 0 1 0 369.1 369.1 48 48 0 1 0 437 437z"]},e.mw},2618:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M384 64c17.7 0 32 14.3 32 32l0 320c0 17.7-14.3 32-32 32L64 448c-17.7 0-32-14.3-32-32L32 96c0-17.7 14.3-32 32-32l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},e.mw},4983:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-1",icon:[448,512,[],"e256","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm192 64l32 0c8.8 0 16 7.2 16 16l0 144 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-96 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l32 0 0-128-16 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},1258:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-2",icon:[448,512,[],"e257","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm176 65.3l57.8 0c29.9 0 54.2 24.3 54.2 54.2 0 21.2-12.3 40.4-31.6 49.2L220 281.4c-15.5 7.1-26 21.8-27.7 38.6l79.7 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-96 0c-8.8 0-16-7.2-16-16l0-10.9c0-31.3 18.2-59.7 46.7-72.7l36.4-16.7c7.9-3.6 12.9-11.5 12.9-20.2 0-12.2-9.9-22.2-22.2-22.2l-57.8 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},6313:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-3",icon:[448,512,[],"e258","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM240 240c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l72 0c30.9 0 56 25.1 56 56 0 15.7-6.4 29.8-16.8 40 10.4 10.2 16.8 24.3 16.8 40 0 30.9-25.1 56-56 56l-72 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l72 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-56 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l56 0z"]},e.mw},12:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-4",icon:[448,512,[],"e259","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm160 64c8.8 0 16 7.2 16 16l0 72c0 4.4 3.6 8 8 8l72 0 0-80c0-8.8 7.2-16 16-16s16 7.2 16 16l0 80c8.8 0 16 7.2 16 16s-7.2 16-16 16l0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-72 0c-22.1 0-40-17.9-40-40l0-72c0-8.8 7.2-16 16-16z"]},e.mw},8003:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-5",icon:[448,512,[],"e25a","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm272 64c8.8 0 16 7.2 16 16s-7.2 16-16 16l-80 0 0 40 52 0c33.1 0 60 26.9 60 60s-26.9 60-60 60l-68 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l68 0c15.5 0 28-12.5 28-28s-12.5-28-28-28l-68 0c-8.8 0-16-7.2-16-16l0-72c0-8.8 7.2-16 16-16l96 0z"]},e.mw},7830:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-6",icon:[448,512,[],"e25b","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm264 80c0 8.8-7.2 16-16 16l-32 0c-17.7 0-32 14.3-32 32l0 8.6c9.4-5.4 20.3-8.6 32-8.6l16 0c35.3 0 64 28.7 64 64s-28.7 64-64 64l-16 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l32 0c8.8 0 16 7.2 16 16zM216 320l16 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-16 0c-17.7 0-32 14.3-32 32s14.3 32 32 32z"]},e.mw},2072:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM307.1 166.6c5.2-7.1 15.2-8.7 22.3-3.5s8.7 15.2 3.5 22.3l-128 176c-2.8 3.8-7 6.2-11.7 6.5s-9.3-1.3-12.6-4.6l-64-64c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l50.7 50.7 117-160.8z"]},e.mw},9744:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-minus",icon:[448,512,[61767,"minus-square"],"f146","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM128 240l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},1549:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-o",icon:[448,512,[],"e278","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM152 256a72 72 0 1 0 144 0 72 72 0 1 0 -144 0zm72 104a104 104 0 1 1 0-208 104 104 0 1 1 0 208z"]},e.mw},25:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-xmark",icon:[448,512,[10062,"times-square","xmark-square"],"f2d3","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm132.7 68.7c6.2-6.2 16.4-6.2 22.6 0l68.7 68.7 68.7-68.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-68.7 68.7 68.7 68.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-68.7-68.7-68.7 68.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l68.7-68.7-68.7-68.7c-6.2-6.2-6.2-16.4 0-22.6z"]},e.mw},2677:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"star",icon:[576,512,[11088,61446],"f005","M383 125.3L309.5-18.9c-4.1-8-12.4-13.1-21.4-13.1s-17.3 5.1-21.4 13.1L193.1 125.3 33.2 150.7c-8.9 1.4-16.3 7.7-19.1 16.3s-.5 18 5.8 24.4l114.4 114.5-25.2 159.9c-1.4 8.9 2.3 17.9 9.6 23.2s16.9 6.1 25 2L288.1 417.6 432.4 491c8 4.1 17.7 3.3 25-2s11-14.2 9.6-23.2L441.7 305.9 556.1 191.4c6.4-6.4 8.6-15.8 5.8-24.4s-10.1-14.9-19.1-16.3L383 125.3zm-5 31.6l144.4 23-103.3 103.5c-7.2 7.2-10.6 17.5-9 27.6L432.9 455.3 302.6 389c-9.1-4.6-19.9-4.6-29 0L143.2 455.3 166 310.9c1.6-10.1-1.7-20.4-9-27.6l-103.3-103.5 144.4-23c10.1-1.6 18.8-7.9 23.5-17.1L288.1 9.6 354.5 139.8c4.6 9.1 13.4 15.5 23.5 17.1z"]},e.mw},1844:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"star-half-stroke",icon:[576,512,["star-half-alt"],"f5c0","M309.5-18.9L383 125.3 542.9 150.7c8.9 1.4 16.3 7.7 19.1 16.3s.5 18-5.8 24.4L441.7 305.9 467 465.8c1.4 8.9-2.3 17.9-9.6 23.2s-17 6.1-25 2L288.1 417.6 143.8 491c-8 4.1-17.7 3.3-25-2s-11-14.2-9.6-23.2L134.4 305.9 20 191.4c-6.4-6.4-8.6-15.8-5.8-24.4s10.1-14.9 19.1-16.3l159.9-25.4 73.6-144.2c4.1-8 12.4-13.1 21.4-13.1s17.3 5.1 21.4 13.1zm45.1 158.7l-50.5-98.9 0 348.8 128.8 65.5-22.8-144.4c-1.6-10.1 1.7-20.4 9-27.6l103.3-103.5-144.4-23c-10.1-1.6-18.8-7.9-23.5-17.1zM272.1 40.9l-50.5 98.9c-4.6 9.1-13.4 15.5-23.5 17.1l-144.4 23 103.3 103.5c7.2 7.2 10.6 17.5 9 27.6l-22.8 144.4 128.8-65.5 0-348.9z"]},e.mw},2:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"strikethrough",icon:[512,512,[],"f0cc","M96 147.6C96 83.8 147.8 32 211.6 32L384 32c8.8 0 16 7.2 16 16s-7.2 16-16 16L211.6 64c-46.2 0-83.6 37.4-83.6 83.6 0 40.9 29.6 75.8 69.9 82.5l121.5 20.3c7.4 1.2 14.5 3.1 21.3 5.7L496 256c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 288c-8.8 0-16-7.2-16-16s7.2-16 16-16l155.3 0C126.8 239.5 96 196.7 96 147.6zM379 336l33.4 0c2.3 9.1 3.5 18.6 3.5 28.4 0 63.8-51.8 115.6-115.6 115.6L128 480c-8.8 0-16-7.2-16-16s7.2-16 16-16l172.4 0c46.2 0 83.6-37.4 83.6-83.6 0-9.9-1.7-19.5-5-28.4z"]},e.mw},3825:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table",icon:[448,512,[],"f0ce","M64 64C46.3 64 32 78.3 32 96l0 64 384 0 0-64c0-17.7-14.3-32-32-32L64 64zM0 192L0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 192zm416 0l-176 0 0 112 176 0 0-112zm-208 0l-176 0 0 112 176 0 0-112zm0 144l-176 0 0 80c0 17.7 14.3 32 32 32l144 0 0-112zm32 112l144 0c17.7 0 32-14.3 32-32l0-80-176 0 0 112z"]},e.mw},8548:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-cells",icon:[448,512,["th"],"f00a","M320 64l0 96 96 0 0-64c0-17.7-14.3-32-32-32l-64 0zm-32 0l-128 0 0 96 128 0 0-96zM128 64L64 64C46.3 64 32 78.3 32 96l0 64 96 0 0-96zM0 192L0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 192zM32 320l96 0 0-128-96 0 0 128zm0 32l0 64c0 17.7 14.3 32 32 32l64 0 0-96-96 0zm128 96l128 0 0-96-128 0 0 96zm160 0l64 0c17.7 0 32-14.3 32-32l0-64-96 0 0 96zm96-128l0-128-96 0 0 128 96 0zm-256 0l128 0 0-128-128 0 0 128z"]},e.mw},2830:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-columns",icon:[448,512,["columns"],"f0db","M384 64c17.7 0 32 14.3 32 32l0 64-384 0 0-64c0-17.7 14.3-32 32-32l320 0zM0 160L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96l0 64zM416 416c0 17.7-14.3 32-32 32l-144 0 0-256 176 0 0 224zM208 448L64 448c-17.7 0-32-14.3-32-32l0-224 176 0 0 256z"]},e.mw},5104:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-rows",icon:[448,512,["rows"],"e292","M384 64c17.7 0 32 14.3 32 32l0 144-256 0 0-176 224 0zm32 208l0 144c0 17.7-14.3 32-32 32l-224 0 0-176 256 0zM160 32L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L160 32zM64 448c-17.7 0-32-14.3-32-32L32 96c0-17.7 14.3-32 32-32l64 0 0 384-64 0z"]},e.mw},5210:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"text",icon:[384,512,[],"f893","M32 72c0-4.4 3.6-8 8-8l136 0 0 384-80 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l192 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-80 0 0-384 136 0c4.4 0 8 3.6 8 8l0 72c0 8.8 7.2 16 16 16s16-7.2 16-16l0-72c0-22.1-17.9-40-40-40L40 32C17.9 32 0 49.9 0 72l0 72c0 8.8 7.2 16 16 16s16-7.2 16-16l0-72z"]},e.mw},4816:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"text-width",icon:[448,512,[],"f035","M40 0C17.9 0 0 17.9 0 40l0 72c0 8.8 7.2 16 16 16s16-7.2 16-16l0-72c0-4.4 3.6-8 8-8l168 0 0 224-64 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l160 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-64 0 0-224 168 0c4.4 0 8 3.6 8 8l0 72c0 8.8 7.2 16 16 16s16-7.2 16-16l0-72c0-22.1-17.9-40-40-40L40 0zm67.3 379.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-80 80c-6.2 6.2-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-52.7-52.7 338.7 0-52.7 52.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l52.7 52.7-338.7 0 52.7-52.7z"]},e.mw},4999:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"trash",icon:[448,512,[],"f1f8","M160.5 27.4c2-6.8 8.3-11.4 15.3-11.4l96.4 0c7.1 0 13.3 4.6 15.3 11.4l11 36.6-149 0 11-36.6zM116.1 64L16 64C7.2 64 0 71.2 0 80S7.2 96 16 96l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-100.1 0-13.7-45.8C312.1-2.1 293.4-16 272.2-16l-96.4 0c-21.2 0-39.9 13.9-46 34.2L116.1 64zM28.7 144L51.6 452.7c2.5 33.4 30.3 59.3 63.8 59.3l217.1 0c33.5 0 61.3-25.9 63.8-59.3l22.9-308.7-32.1 0-22.7 306.4c-1.2 16.7-15.2 29.6-31.9 29.6l-217.1 0c-16.8 0-30.7-12.9-31.9-29.6L60.8 144 28.7 144z"]},e.mw},9745:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"tree",icon:[448,512,[127794],"f1bb","M224-32c4.7 0 9.1 2.1 12.2 5.6l136 160c4 4.8 5 11.4 2.3 17.1S366.2 160 360 160l-55.8 0 100 117.6c4 4.8 5 11.4 2.3 17.1S398.2 304 392 304l-55.8 0 100 117.6c4 4.8 5 11.4 2.3 17.1S430.2 448 424 448l-184 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80-184 0c-6.2 0-11.9-3.6-14.5-9.3s-1.7-12.3 2.3-17.1L111.8 304 56 304c-6.2 0-11.9-3.6-14.5-9.3s-1.7-12.3 2.3-17.1L143.8 160 88 160c-6.2 0-11.9-3.6-14.5-9.3s-1.7-12.3 2.3-17.1l136-160 2.5-2.4c2.8-2.1 6.1-3.2 9.7-3.2zM122.6 128l55.8 0c6.2 0 11.9 3.6 14.5 9.3s1.7 12.3-2.3 17.1l-100 117.6 55.8 0c6.2 0 11.9 3.6 14.5 9.3s1.7 12.3-2.3 17.1l-100 117.6 330.8 0-100-117.6c-4-4.7-5-11.4-2.3-17.1s8.3-9.3 14.5-9.3l55.8 0-100-117.6c-4-4.8-5-11.4-2.3-17.1s8.3-9.3 14.5-9.3L325.4 128 224 8.7 122.6 128z"]},e.mw},3541:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"triangle",icon:[512,512,[9650],"f2ec","M256.5 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.6 480 472.5 480l-432 0c-14.1 0-27.1-7.4-34.3-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 32c-2.2 0-4.3 .9-5.7 2.4l-1.3 1.8-216 400c-1.3 2.5-1.3 5.5 .2 7.9l1.3 1.6c1.5 1.4 3.5 2.3 5.6 2.3l432 0c2.8 0 5.4-1.5 6.9-3.9l.8-1.9c.4-1.3 .4-2.7 .1-4.1l-.7-1.9-216-400c-1.4-2.6-4.1-4.2-7-4.2z"]},e.mw},2449:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"underline",icon:[384,512,[],"f0cd","M0 16C0 7.2 7.2 0 16 0l96 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 208c0 61.9 50.1 112 112 112s112-50.1 112-112l0-208-32 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l96 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 208c0 79.5-64.5 144-144 144S48 319.5 48 240l0-208-32 0C7.2 32 0 24.8 0 16zM16 480l352 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 512c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},4740:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"up",icon:[384,512,["arrow-alt-up"],"f357","M169.4 41.4c6.3-6.3 14.5-9.4 22.6-9.4s16.4 3.1 22.6 9.4l160 160c9.2 9.2 11.9 22.9 6.9 34.9S364.9 256 352 256l-96 0 0 176c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-176-96 0c-12.9 0-24.6-7.8-29.6-19.8S.2 210.5 9.4 201.4l0 0 160-160zM352 224L192 64 32 224 144 224c8.8 0 16 7.2 16 16l0 192c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-192c0-8.8 7.2-16 16-16l112 0z"]},e.mw},9056:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"up-right",icon:[448,512,[],"e2be","M384.2 96l0 265.4-84.7-84.7c-6.2-6.2-16.4-6.2-22.6 0L123.6 430.1c-6.2 6.2-16.4 6.2-22.6 0L50.2 379.3c-6.2-6.2-6.2-16.4 0-22.6L203.6 203.3c6.2-6.2 6.2-16.4 0-22.6L118.9 96 384.2 96zm32-8c0-13.3-10.7-24-24-24L118.9 64c-28.5 0-42.8 34.5-22.6 54.6L169.6 192 27.6 334.1c-18.7 18.7-18.7 49.1 0 67.9l50.7 50.7c18.7 18.7 49.1 18.7 67.9 0L288.2 310.6 361.6 384c20.2 20.2 54.6 5.9 54.6-22.6l0-273.4z"]},e.mw},7348:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"upload",icon:[448,512,[],"f093","M240 54.6L240 336c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-281.4-84.7 84.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l112-112c6.2-6.2 16.4-6.2 22.6 0l112 112c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L240 54.6zM160 320l-96 0c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32l-96 0 0-32 96 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l96 0 0 32zm160 64a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},e.mw},9939:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"window-maximize",icon:[512,512,[128470],"f2d0","M64 96c-17.7 0-32 14.3-32 32l0 64 448 0 0-64c0-17.7-14.3-32-32-32L64 96zM32 224l0 160c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32l0-160-448 0zM0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128z"]},e.mw},1139:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"window-restore",icon:[576,512,[],"f2d2","M512 64L224 64c-17.7 0-32 14.3-32 32l0 16-32 0 0-16c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64l-48 0 0-32 48 0c17.7 0 32-14.3 32-32l0-192c0-17.7-14.3-32-32-32zM352 192L64 192c-17.7 0-32 14.3-32 32l0 32 352 0 0-32c0-17.7-14.3-32-32-32zm32 96l-352 0 0 128c0 17.7 14.3 32 32 32l288 0c17.7 0 32-14.3 32-32l0-128zM64 160l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z"]},e.mw},6204:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M379.3 91.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 27.3 68.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 4.7 420.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6 356.7 443.3c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256 379.3 91.3z"]},e.mw},6828:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-center",icon:[448,512,[],"f037","M352 64c0-17.7-14.3-32-32-32L128 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32zm96 128c0-17.7-14.3-32-32-32L32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32zM0 448c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 416c-17.7 0-32 14.3-32 32zM352 320c0-17.7-14.3-32-32-32l-192 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32z"]},e.mw},2212:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-left",icon:[448,512,[],"f036","M288 64c0 17.7-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32L32 352c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},e.mw},863:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-right",icon:[448,512,[],"f038","M448 64c0 17.7-14.3 32-32 32L192 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},e.mw},7503:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"angle-down",icon:[384,512,[8964],"f107","M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},e.mw},7873:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"angle-right",icon:[256,512,[8250],"f105","M247.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L179.2 256 41.9 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]},e.mw},8746:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"angle-up",icon:[384,512,[8963],"f106","M169.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L192 205.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"]},e.mw},9645:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},e.mw},3199:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-left",icon:[512,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-370.7 0 105.4-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},e.mw},871:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-right",icon:[512,512,[8594],"f061","M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},e.mw},8434:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-turn-down",icon:[384,512,["level-down"],"f149","M32 64C14.3 64 0 49.7 0 32S14.3 0 32 0l96 0c53 0 96 43 96 96l0 306.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 402.7 160 96c0-17.7-14.3-32-32-32L32 64z"]},e.mw},6308:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 17.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 117.3 160 488c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},e.mw},4407:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="arrows-rotate",o=[128472,"refresh","sync"],r="f021",s="M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z";e.definition={prefix:"fas",iconName:i,icon:[512,512,o,r,s]},e.faArrowsRotate=e.definition,e.prefix="fas",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=s,e.aliases=o},6398:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrows-to-dot",icon:[512,512,[],"e4be","M256 0c17.7 0 32 14.3 32 32l0 32 32 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-9.2-9.2-11.9-22.9-6.9-34.9S179.1 64 192 64l32 0 0-32c0-17.7 14.3-32 32-32zM169.4 393.4l64-64c12.5-12.5 32.8-12.5 45.3 0l64 64c9.2 9.2 11.9 22.9 6.9 34.9S332.9 448 320 448l-32 0 0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32-32 0c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9zM32 224l32 0 0-32c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c12.5 12.5 12.5 32.8 0 45.3l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9S64 332.9 64 320l0-32-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3l64-64c9.2-9.2 22.9-11.9 34.9-6.9S448 179.1 448 192l0 32 32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0 0 32c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-64-64zM256 224a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},e.mw},4612:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},e.mw},597:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"bold",icon:[384,512,[],"f032","M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l32 0 0 320-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c70.7 0 128-57.3 128-128 0-46.5-24.8-87.3-62-109.7 18.7-22.3 30-51 30-82.3 0-70.7-57.3-128-128-128L32 32zM288 160c0 35.3-28.7 64-64 64l-96 0 0-128 96 0c35.3 0 64 28.7 64 64zM128 416l0-128 128 0c35.3 0 64 28.7 64 64s-28.7 64-64 64l-128 0z"]},e.mw},4731:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M384 512L96 512c-53 0-96-43-96-96L0 96C0 43 43 0 96 0L400 0c26.5 0 48 21.5 48 48l0 288c0 20.9-13.4 38.7-32 45.3l0 66.7c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0zM96 384c-17.7 0-32 14.3-32 32s14.3 32 32 32l256 0 0-64-256 0zm32-232c0 13.3 10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0c-13.3 0-24 10.7-24 24zm24 72c-13.3 0-24 10.7-24 24s10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0z"]},e.mw},7706:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"building",icon:[384,512,[127970,61687],"f1ad","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384c0-35.3-28.7-64-64-64L64 0zM176 352l32 0c17.7 0 32 14.3 32 32l0 80-96 0 0-80c0-17.7 14.3-32 32-32zM96 112c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zM240 96l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM96 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm144-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16z"]},e.mw},8815:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-down",icon:[384,512,[],"f0d7","M352 160c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-9.2-9.2-11.9-22.9-6.9-34.9S19.1 160 32 160l320 0z"]},e.mw},6390:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-left",icon:[256,512,[],"f0d9","M224 96c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c9.2 9.2 22.9 11.9 34.9 6.9S224 428.9 224 416l0-320z"]},e.mw},6593:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-right",icon:[256,512,[],"f0da","M32.5 96c0-12.9 7.8-24.6 19.8-29.6S78 64.2 87.1 73.4l160 160c12.5 12.5 12.5 32.8 0 45.3l-160 160c-9.2 9.2-22.9 11.9-34.9 6.9S32.5 428.9 32.5 416l0-320z"]},e.mw},2570:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-up",icon:[384,512,[],"f0d8","M32 352c-12.9 0-24.6-7.8-29.6-19.8S.2 306.5 9.4 297.4l160-160c12.5-12.5 32.8-12.5 45.3 0l160 160c9.2 9.2 11.9 22.9 6.9 34.9S364.9 352 352 352L32 352z"]},e.mw},6815:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 46.3 14.3 32 32 32zm96 64c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 80l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 112l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},e.mw},9886:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-column",icon:[512,512,[],"e0e3","M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 46.3 14.3 32 32 32zM144 224c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32zm144-64l0 160c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-160c0-17.7 14.3-32 32-32s32 14.3 32 32zm80 32c17.7 0 32 14.3 32 32l0 96c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-96c0-17.7 14.3-32 32-32zM512 96l0 224c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-224c0-17.7 14.3-32 32-32s32 14.3 32 32z"]},e.mw},1582:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 400c0 44.2 35.8 80 80 80l400 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 416c-8.8 0-16-7.2-16-16L64 64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7 262.6 153.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l73.4-73.4 57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]},e.mw},2968:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M512.4 240l-176 0c-17.7 0-32-14.3-32-32l0-176c0-17.7 14.4-32.2 31.9-29.9 107 14.2 191.8 99 206 206 2.3 17.5-12.2 31.9-29.9 31.9zM222.6 37.2c18.1-3.8 33.8 11 33.8 29.5l0 197.3c0 5.6 2 11 5.5 15.3L394 438.7c11.7 14.1 9.2 35.4-6.9 44.1-34.1 18.6-73.2 29.2-114.7 29.2-132.5 0-240-107.5-240-240 0-115.5 81.5-211.9 190.2-234.8zM477.8 288l64 0c18.5 0 33.3 15.7 29.5 33.8-10.2 48.4-35 91.4-69.6 124.2-12.3 11.7-31.6 9.2-42.4-3.9L374.9 340.4c-17.3-20.9-2.4-52.4 24.6-52.4l78.2 0z"]},e.mw},5654:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-simple",icon:[512,512,[],"e473","M192 80c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 352c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-352zM0 272c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 160c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48L0 272zM432 96l32 0c26.5 0 48 21.5 48 48l0 288c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48z"]},e.mw},4104:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z"]},e.mw},6471:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},e.mw},9502:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},e.mw},4969:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},e.mw},6946:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-up",icon:[448,512,[],"f077","M201.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 173.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},e.mw},9766:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},9124:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-0",icon:[512,512,[],"e0ed","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-368c53 0 96 43 96 96l0 32c0 53-43 96-96 96s-96-43-96-96l0-32c0-53 43-96 96-96zm-48 96l0 32c0 26.5 21.5 48 48 48s48-21.5 48-48l0-32c0-26.5-21.5-48-48-48s-48 21.5-48 48z"]},e.mw},7067:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-1",icon:[512,512,[],"e0ee","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM216 144l40 0c13.3 0 24 10.7 24 24l0 152 32 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l32 0 0-128-16 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},1054:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-2",icon:[512,512,[],"e0ef","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM208 145.3l62 0c36.5 0 66 29.6 66 66 0 27.1-16.6 51.5-41.9 61.4l-44.7 17.6c-12.9 5.1-22.1 16.3-24.6 29.6l79.3 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-104 0c-13.3 0-24-10.7-24-24l0-16.4c0-36.2 22.1-68.7 55.8-81.9l44.7-17.6c6.9-2.7 11.4-9.4 11.4-16.8 0-10-8.1-18-18-18l-62 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},7325:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-3",icon:[512,512,[],"e0f0","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm20-280c11 0 20-9 20-20s-9-20-20-20l-76 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l76 0c37.6 0 68 30.4 68 68 0 16.8-6.1 32.1-16.2 44 10.1 11.9 16.2 27.2 16.2 44 0 37.6-30.4 68-68 68l-76 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l76 0c11 0 20-9 20-20s-9-20-20-20l-52 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l52 0z"]},e.mw},1272:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-4",icon:[512,512,[],"e0f1","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM200 144c13.3 0 24 10.7 24 24l0 88 48 0 0-88c0-13.3 10.7-24 24-24s24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40-56 0c-22.1 0-40-17.9-40-40l0-96c0-13.3 10.7-24 24-24z"]},e.mw},3359:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-5",icon:[512,512,[],"e0f2","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm40-368c13.3 0 24 10.7 24 24s-10.7 24-24 24l-72 0 0 32 40 0c39.8 0 72 32.2 72 72s-32.2 72-72 72l-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l96 0z"]},e.mw},6562:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-6",icon:[512,512,[],"e0f3","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm56-344c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24 10.7-24 24l0 12.1c7.5-2.7 15.6-4.1 24-4.1l32 0c39.8 0 72 32.2 72 72s-32.2 72-72 72l-32 0c-39.8 0-72-32.2-72-72l0-80c0-39.8 32.2-72 72-72l48 0c13.3 0 24 10.7 24 24zM240 320l32 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-32 0c-13.3 0-24 10.7-24 24s10.7 24 24 24z"]},e.mw},4193:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-7",icon:[512,512,[],"e0f4","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM200 144l112 0c8.3 0 16 4.3 20.4 11.4s4.8 15.9 1 23.4l-88 176c-5.9 11.9-20.3 16.7-32.2 10.7s-16.7-20.3-10.7-32.2L273.2 192 200 192c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},6348:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-8",icon:[512,512,[],"e0f5","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM176 212c0-37.6 30.4-68 68-68l24 0c37.6 0 68 30.4 68 68 0 14.7-4.6 28.2-12.5 39.3 12.7 12.3 20.5 29.6 20.5 48.7 0 37.6-30.4 68-68 68l-40 0c-37.6 0-68-30.4-68-68 0-19.1 7.9-36.3 20.5-48.7-7.9-11.1-12.5-24.7-12.5-39.3zm112 0c0-11-9-20-20-20l-24 0c-11 0-20 9-20 20s9 20 20 20l24 0c11 0 20-9 20-20zm-52 68c-11 0-20 9-20 20s9 20 20 20l40 0c11 0 20-9 20-20s-9-20-20-20l-40 0z"]},e.mw},2435:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-9",icon:[512,512,[],"e0f6","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM200 344c0-13.3 10.7-24 24-24l48 0c13.3 0 24-10.7 24-24l0-12.1c-7.5 2.7-15.6 4.1-24 4.1l-32 0c-39.8 0-72-32.2-72-72s32.2-72 72-72l32 0c39.8 0 72 32.2 72 72l0 80c0 39.8-32.2 72-72 72l-48 0c-13.3 0-24-10.7-24-24zm72-152l-32 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l32 0c13.3 0 24-10.7 24-24s-10.7-24-24-24z"]},e.mw},388:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z"]},e.mw},6105:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]},e.mw},1119:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M448 256c0-106-86-192-192-192l0 384c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},398:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},1808:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9l0 176c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"]},e.mw},8444:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-quarter-stroke",icon:[512,512,[],"e5d3","M64 256l160 0c17.7 0 32-14.3 32-32l0-160c106 0 192 86 192 192S362 448 256 448 64 362 64 256zM0 256a256 256 0 1 0 512 0 256 256 0 1 0 -512 0z"]},e.mw},782:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-336c-17.7 0-32 14.3-32 32 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-44.2 35.8-80 80-80s80 35.8 80 80c0 47.2-36 67.2-56 74.5l0 3.8c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-8.1c0-20.5 14.8-35.2 30.1-40.2 6.4-2.1 13.2-5.5 18.2-10.3 4.3-4.2 7.7-10 7.7-19.6 0-17.7-14.3-32-32-32zM224 368a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},e.mw},1903:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-radiation",icon:[512,512,[9762,"radiation-alt"],"f7ba","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zm80 0l64.3 0c8.7 0 15.7-7.1 17.3-15.6 4.4-24.4 18.1-45.5 37.2-59.7 7.4-5.5 10.6-15.6 6-23.6l-32.5-56.3c-4.3-7.5-13.9-10.3-21.2-5.5-48.2 31.5-81.3 84.2-86.3 144.8-.7 8.8 6.5 16 15.3 16zm137.9 89.8c-8.5-3.7-18.8-1.4-23.5 6.6l-31 53.8c-4.3 7.5-1.9 17.2 5.8 21.1 26.1 13.2 55.5 20.7 86.8 20.7s60.7-7.5 86.8-20.7c7.7-3.9 10.1-13.6 5.8-21.1l-31-53.8c-4.6-8-15-10.3-23.5-6.6-11.7 5-24.5 7.8-38.1 7.8s-26.4-2.8-38.1-7.8zM350.4 240.4c1.6 8.6 8.5 15.6 17.3 15.6l64.3 0c8.8 0 16.1-7.2 15.3-16-5-60.6-38.1-113.2-86.3-144.8-7.3-4.8-16.8-2-21.2 5.5L307.3 157c-4.6 8-1.4 18.1 6 23.6 19.1 14.2 32.7 35.4 37.2 59.7zM256 305.7a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},e.mw},2978:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-three-quarters-stroke",icon:[512,512,[],"e5d4","M256 64l0 160c0 17.7 14.3 32 32 32l160 0c0-106-86-192-192-192zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},3525:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM167 167c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z"]},e.mw},5087:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"code",icon:[576,512,[],"f121","M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z"]},e.mw},7853:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"comment",icon:[512,512,[128489,61669],"f075","M512 240c0 132.5-114.6 240-256 240-37.1 0-72.3-7.4-104.1-20.7L33.5 510.1c-9.4 4-20.2 1.7-27.1-5.8S-2 485.8 2.8 476.8l48.8-92.2C19.2 344.3 0 294.3 0 240 0 107.5 114.6 0 256 0S512 107.5 512 240z"]},e.mw},3599:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z"]},e.mw},3898:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"dash",icon:[512,512,["minus-large"],"e404","M0 256c0-17.7 14.3-32 32-32l448 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z"]},e.mw},6426:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"down",icon:[384,512,["arrow-alt-down"],"f354","M214.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-9.2-9.2-11.9-22.9-6.9-34.9S19.1 256 32 256l96 0 0-176c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 176 96 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-160 160z"]},e.mw},3690:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"down-right",icon:[448,512,[],"e16b","M384 448l-272 0c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l78.1-78.1-137.4-137.4c-18.7-18.7-18.7-49.1 0-67.9l48-48c18.7-18.7 49.1-18.7 67.9 0l137.4 137.4 78.1-78.1c9.2-9.2 22.9-11.9 34.9-6.9S416 131.1 416 144l0 272c0 17.7-14.3 32-32 32z"]},e.mw},2006:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"download",icon:[448,512,[],"f019","M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},e.mw},5286:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M0 256a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm168 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm224-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},e.mw},9179:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z"]},e.mw},7541:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"exclamation",icon:[128,512,[10069,10071,61738],"21","M64 432c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40c0-22.1 17.9-40 40-40zM64 0c26.5 0 48 21.5 48 48 0 .6 0 1.1 0 1.7l-16 304c-.9 17-15 30.3-32 30.3S33 370.7 32 353.7L16 49.7c0-.6 0-1.1 0-1.7 0-26.5 21.5-48 48-48z"]},e.mw},2977:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z"]},e.mw},4480:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"eye-slash",icon:[576,512,[],"f070","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-96.4-96.4c2.7-2.4 5.4-4.8 8-7.2 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-56.8 0-105.6 18.2-146 44.2L41-24.9zM204.5 138.7c23.5-16.8 52.4-26.7 83.5-26.7 79.5 0 144 64.5 144 144 0 31.1-9.9 59.9-26.7 83.5l-34.7-34.7c12.7-21.4 17-47.7 10.1-73.7-13.7-51.2-66.4-81.6-117.6-67.9-8.6 2.3-16.7 5.7-24 10l-34.7-34.7zM325.3 395.1c-11.9 3.2-24.4 4.9-37.3 4.9-79.5 0-144-64.5-144-144 0-12.9 1.7-25.4 4.9-37.3L69.4 139.2c-32.6 36.8-55 75.8-66.9 104.5-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 37.3 0 71.2-7.9 101.5-20.6l-64.2-64.2z"]},e.mw},9083:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"fill",icon:[512,512,[],"f575","M296 64c6.9 0 13.5 2.7 18.3 7.6L440.4 197.7c4.9 4.9 7.6 11.5 7.6 18.3s-2.7 13.5-7.6 18.3L386.7 288 65.3 288c1.3-3.9 3.4-7.4 6.3-10.3l96.4-96.4 33.4 33.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L213.3 136 277.7 71.6c4.9-4.9 11.5-7.6 18.3-7.6zM122.7 136L26.3 232.4C9.5 249.3 0 272.1 0 296s9.5 46.7 26.3 63.6L152.4 485.7C169.3 502.5 192.1 512 216 512s46.7-9.5 63.6-26.3L485.7 279.6C502.5 262.7 512 239.9 512 216s-9.5-46.7-26.3-63.6L359.6 26.3C342.7 9.5 319.9 0 296 0s-46.7 9.5-63.6 26.3L168 90.7 118.6 41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L122.7 136z"]},e.mw},1480:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M32 64C19.1 64 7.4 71.8 2.4 83.8S.2 109.5 9.4 118.6L192 301.3 192 416c0 8.5 3.4 16.6 9.4 22.6l64 64c9.2 9.2 22.9 11.9 34.9 6.9S320 492.9 320 480l0-178.7 182.6-182.6c9.2-9.2 11.9-22.9 6.9-34.9S492.9 64 480 64L32 64z"]},e.mw},4018:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"flag-pennant",icon:[448,512,[128681,"pennant"],"f456","M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32L0 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 369-138.4c9-3.4 15-12 15-21.6s-6-18.2-15-21.6L64 32z"]},e.mw},3929:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="floppy-disk",o=[128190,128426,"save"],r="f0c7",s="M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-242.7c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32L64 32zm32 96c0-17.7 14.3-32 32-32l160 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32l0-64zM224 288a64 64 0 1 1 0 128 64 64 0 1 1 0-128z";e.definition={prefix:"fas",iconName:i,icon:[448,512,o,r,s]},e.faFloppyDisk=e.definition,e.prefix="fas",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=s,e.aliases=o},8450:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M64 448l384 0c35.3 0 64-28.7 64-64l0-240c0-35.3-28.7-64-64-64L298.7 80c-6.9 0-13.7-2.2-19.2-6.4L241.1 44.8C230 36.5 216.5 32 202.7 32L64 32C28.7 32 0 60.7 0 96L0 384c0 35.3 28.7 64 64 64z"]},e.mw},9630:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M56 225.6L32.4 296.2 32.4 96c0-35.3 28.7-64 64-64l138.7 0c13.8 0 27.3 4.5 38.4 12.8l38.4 28.8c5.5 4.2 12.3 6.4 19.2 6.4l117.3 0c35.3 0 64 28.7 64 64l0 16-365.4 0c-41.3 0-78 26.4-91.1 65.6zM477.8 448L99 448c-32.8 0-55.9-32.1-45.5-63.2l48-144C108 221.2 126.4 208 147 208l378.8 0c32.8 0 55.9 32.1 45.5 63.2l-48 144c-6.5 19.6-24.9 32.8-45.5 32.8z"]},e.mw},9459:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"font",icon:[512,512,[],"f031","M285.1 50.7C279.9 39.3 268.5 32 256 32s-23.9 7.3-29.1 18.7L59.5 416 48 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-6.1 0 22-48 208.3 0 22 48-6.1 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-11.5 0-167.4-365.3zM330.8 304L181.2 304 256 140.8 330.8 304z"]},e.mw},6093:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z"]},e.mw},4287:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-lines",icon:[448,512,[],"f7a4","M32 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 288zm0-128c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160z"]},e.mw},4045:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-lines-vertical",icon:[192,512,[],"f7a5","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 448c0 17.7 14.3 32 32 32s32-14.3 32-32L64 64zm128 0c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 384c0 17.7 14.3 32 32 32s32-14.3 32-32l0-384z"]},e.mw},2732:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-vertical",icon:[320,512,["grid-vertical"],"f58e","M128 40c0-22.1-17.9-40-40-40L40 0C17.9 0 0 17.9 0 40L0 88c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm0 192c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM0 424l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 40c0-22.1-17.9-40-40-40L232 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM192 232l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 424c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48z"]},e.mw},6138:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"heading",icon:[448,512,["header"],"f1dc","M0 64C0 46.3 14.3 32 32 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 112 224 0 0-112-16 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 320 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-144-224 0 0 144 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-320-16 0C14.3 96 0 81.7 0 64z"]},e.mw},576:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"horizontal-rule",icon:[640,512,[8213],"f86c","M0 256c0-17.7 14.3-32 32-32l576 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z"]},e.mw},5700:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"house",icon:[512,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M277.8 8.6c-12.3-11.4-31.3-11.4-43.5 0l-224 208c-9.6 9-12.8 22.9-8 35.1S18.8 272 32 272l16 0 0 176c0 35.3 28.7 64 64 64l288 0c35.3 0 64-28.7 64-64l0-176 16 0c13.2 0 25-8.1 29.8-20.3s1.6-26.2-8-35.1l-224-208zM240 320l32 0c26.5 0 48 21.5 48 48l0 96-128 0 0-96c0-26.5 21.5-48 48-48z"]},e.mw},8129:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"image",icon:[448,512,[],"f03e","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm64 80a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM272 224c8.4 0 16.1 4.4 20.5 11.5l88 144c4.5 7.4 4.7 16.7 .5 24.3S368.7 416 360 416L88 416c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l26.4 37.8 61.4-100.5c4.4-7.1 12.1-11.5 20.5-11.5z"]},e.mw},5735:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"input-text",icon:[576,512,[],"e1bf","M512 128l0 256-448 0 0-256 448 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm48 160l0 104c0 13.3 10.7 24 24 24s24-10.7 24-24l0-24 32 0 0 24c0 13.3 10.7 24 24 24s24-10.7 24-24l0-104c0-35.3-28.7-64-64-64s-64 28.7-64 64zm80 32l-32 0 0-32c0-8.8 7.2-16 16-16s16 7.2 16 16l0 32zm96-72l0 144c0 13.3 10.7 24 24 24l52 0c33.1 0 60-26.9 60-60 0-16-6.3-30.5-16.5-41.3 5.4-9 8.5-19.5 8.5-30.7 0-33.1-26.9-60-60-60l-44 0c-13.3 0-24 10.7-24 24zm80 36c0 6.6-5.4 12-12 12l-20 0 0-24 20 0c6.6 0 12 5.4 12 12zm-32 84l0-24 28 0c6.6 0 12 5.4 12 12s-5.4 12-12 12l-28 0z"]},e.mw},1474:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"italic",icon:[384,512,[],"f033","M128 64c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-58.7 0-133.3 320 64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l58.7 0 133.3-320-64 0c-17.7 0-32-14.3-32-32z"]},e.mw},886:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"layer-group",icon:[512,512,[],"f5fd","M232.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 149.8C5.4 145.8 0 137.3 0 128s5.4-17.9 13.9-21.8L232.5 5.2zM48.1 218.4l164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 277.8C5.4 273.8 0 265.3 0 256s5.4-17.9 13.9-21.8l34.1-15.8zM13.9 362.2l34.1-15.8 164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 405.8C5.4 401.8 0 393.3 0 384s5.4-17.9 13.9-21.8z"]},e.mw},2643:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"left",icon:[448,512,["arrow-alt-left"],"f355","M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l160-160c9.2-9.2 22.9-11.9 34.9-6.9S224 83.1 224 96l0 96 176 0c26.5 0 48 21.5 48 48l0 32c0 26.5-21.5 48-48 48l-176 0 0 96c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-160-160z"]},e.mw},8038:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"]},e.mw},654:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z"]},e.mw},140:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-check",icon:[512,512,["tasks"],"f0ae","M133.8 36.3c10.9 7.6 13.5 22.6 5.9 33.4l-56 80c-4.1 5.8-10.5 9.5-17.6 10.1S52 158 47 153L7 113C-2.3 103.6-2.3 88.4 7 79S31.6 69.7 41 79l19.8 19.8 39.6-56.6c7.6-10.9 22.6-13.5 33.4-5.9zm0 160c10.9 7.6 13.5 22.6 5.9 33.4l-56 80c-4.1 5.8-10.5 9.5-17.6 10.1S52 318 47 313L7 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l19.8 19.8 39.6-56.6c7.6-10.9 22.6-13.5 33.4-5.9zM224 96c0-17.7 14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32zM160 416c0-17.7 14.3-32 32-32l288 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-288 0c-17.7 0-32-14.3-32-32zM64 376a40 40 0 1 1 0 80 40 40 0 1 1 0-80z"]},e.mw},73:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-ol",icon:[512,512,["list-1-2","list-numeric"],"f0cb","M0 72C0 58.8 10.7 48 24 48l48 0c13.3 0 24 10.7 24 24l0 104 24 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-96 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-80-24 0C10.7 96 0 85.3 0 72zM30.4 301.2C41.8 292.6 55.7 288 70 288l4.9 0c33.7 0 61.1 27.4 61.1 61.1 0 19.6-9.4 37.9-25.2 49.4l-24 17.5 33.2 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-90.7 0C13.1 464 0 450.9 0 434.7 0 425.3 4.5 416.5 12.1 411l70.5-51.3c3.4-2.5 5.4-6.4 5.4-10.6 0-7.2-5.9-13.1-13.1-13.1L70 336c-3.9 0-7.7 1.3-10.8 3.6L38.4 355.2c-10.6 8-25.6 5.8-33.6-4.8S-1 324.8 9.6 316.8l20.8-15.6zM224 64l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},e.mw},470:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-tree",icon:[512,512,[],"e1d2","M48 48c-26.5 0-48 21.5-48 48 0 17.8 9.7 33.3 24 41.6L24 384c0 30.9 25.1 56 56 56l54.4 0c8.3 14.3 23.8 24 41.6 24 26.5 0 48-21.5 48-48s-21.5-48-48-48c-17.8 0-33.3 9.7-41.6 24L80 392c-4.4 0-8-3.6-8-8l0-104 62.4 0c8.3 14.3 23.8 24 41.6 24 26.5 0 48-21.5 48-48s-21.5-48-48-48c-17.8 0-33.3 9.7-41.6 24l-62.4 0 0-94.4c14.3-8.3 24-23.8 24-41.6 0-26.5-21.5-48-48-48zM160 96c0 17.7 14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64c-17.7 0-32 14.3-32 32zM288 256c0 17.7 14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0c-17.7 0-32 14.3-32 32zm0 160c0 17.7 14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0c-17.7 0-32 14.3-32 32z"]},e.mw},2127:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},e.mw},7024:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z"]},e.mw},3602:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"object-group",icon:[576,512,[],"f247","M32 119.4C12.9 108.4 0 87.7 0 64 0 28.7 28.7 0 64 0 87.7 0 108.4 12.9 119.4 32l337.1 0c11.1-19.1 31.7-32 55.4-32 35.3 0 64 28.7 64 64 0 23.7-12.9 44.4-32 55.4l0 273.1c19.1 11.1 32 31.7 32 55.4 0 35.3-28.7 64-64 64-23.7 0-44.4-12.9-55.4-32l-337.1 0c-11.1 19.1-31.7 32-55.4 32-35.3 0-64-28.7-64-64 0-23.7 12.9-44.4 32-55.4l0-273.1zm448 0c-9.7-5.6-17.8-13.7-23.4-23.4L119.4 96c-5.6 9.7-13.7 17.8-23.4 23.4l0 273.1c9.7 5.6 17.8 13.7 23.4 23.4l337.1 0c5.6-9.7 13.7-17.8 23.4-23.4l0-273.1zM144 176c0-17.7 14.3-32 32-32l112 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-112 0c-17.7 0-32-14.3-32-32l0-64zM256 320l32 0c44.2 0 80-35.8 80-80l32 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-112 0c-17.7 0-32-14.3-32-32l0-16z"]},e.mw},486:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"object-union",icon:[512,512,[],"e49f","M64 0C28.7 0 0 28.7 0 64L0 288c0 35.3 28.7 64 64 64l96 0 0 96c0 35.3 28.7 64 64 64l224 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64l-96 0 0-96c0-35.3-28.7-64-64-64L64 0z"]},e.mw},5835:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"paintbrush-pencil",icon:[576,512,[],"e206","M557.3 109.3c25-25 25-65.5 0-90.5s-65.5-25-90.5 0L234.5 251c41.3 16.2 74.3 49.2 90.5 90.5L557.3 109.3zM176 512c61.9 0 112-50.1 112-112S237.9 288 176 288 64 338.1 64 400c0 3.9 .2 7.8 .6 11.6 1.8 17.5-10.2 36.4-27.8 36.4L32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0zM191.1 21.2C177.6 7.6 159.2 0 140 0S102.4 7.6 88.9 21.2L53.2 56.9C39.6 70.4 32 88.8 32 108s7.6 37.6 21.2 51.1l85.3 85.3c12-2.9 24.6-4.4 37.5-4.4l1.6 0c3.6-3.6 42.3-42.3 116.2-116.2L191.1 21.2zm156 431.9c10.7 10.7 24.1 18.5 38.7 22.6l127.8 35.5c8.3 2.3 17.3 0 23.4-6.2s8.5-15.1 6.2-23.4L507.6 353.8c-4.1-14.6-11.8-27.9-22.6-38.7l-32.9-32.9C378.3 356.1 339.6 394.8 336 398.4l0 1.6c0 12.9-1.5 25.5-4.4 37.5l15.5 15.5z"]},e.mw},2883:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48 0 3.4 .4 6.7 1 9.9 2.1 10.2 6.5 20 10.8 29.9 6.1 13.8 12.1 27.5 12.1 42 0 31.8-21.6 60.7-53.4 62-3.5 .1-7 .2-10.6 .2-141.4 0-256-114.6-256-256S114.6 0 256 0 512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},e.mw},6147:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M352.9 21.2L308 66.1 445.9 204 490.8 159.1C504.4 145.6 512 127.2 512 108s-7.6-37.6-21.2-51.1L455.1 21.2C441.6 7.6 423.2 0 404 0s-37.6 7.6-51.1 21.2zM274.1 100L58.9 315.1c-10.7 10.7-18.5 24.1-22.6 38.7L.9 481.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6L412 237.9 274.1 100z"]},e.mw},394:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"]},e.mw},754:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M224 0c35.3 0 64 21.5 64 48 0 10.4-4.4 20-12 27.9-6.6 6.9-12 15.3-12 24.9 0 15 12.2 27.2 27.2 27.2l44.8 0c26.5 0 48 21.5 48 48l0 44.8c0 15 12.2 27.2 27.2 27.2 9.5 0 18-5.4 24.9-12 7.9-7.5 17.5-12 27.9-12 26.5 0 48 28.7 48 64s-21.5 64-48 64c-10.4 0-20.1-4.4-27.9-12-6.9-6.6-15.3-12-24.9-12-15 0-27.2 12.2-27.2 27.2L384 464c0 26.5-21.5 48-48 48l-56.8 0c-12.8 0-23.2-10.4-23.2-23.2 0-9.2 5.8-17.3 13.2-22.8 11.6-8.7 18.8-20.7 18.8-34 0-26.5-28.7-48-64-48s-64 21.5-64 48c0 13.3 7.2 25.3 18.8 34 7.4 5.5 13.2 13.5 13.2 22.8 0 12.8-10.4 23.2-23.2 23.2L48 512c-26.5 0-48-21.5-48-48L0 343.2c0-12.8 10.4-23.2 23.2-23.2 9.2 0 17.3 5.8 22.8 13.2 8.7 11.6 20.7 18.8 34 18.8 26.5 0 48-28.7 48-64s-21.5-64-48-64c-13.3 0-25.3 7.2-34 18.8-5.5 7.4-13.5 13.2-22.8 13.2-12.8 0-23.2-10.4-23.2-23.2L0 176c0-26.5 21.5-48 48-48l108.8 0c15 0 27.2-12.2 27.2-27.2 0-9.5-5.4-18-12-24.9-7.5-7.9-12-17.5-12-27.9 0-26.5 28.7-48 64-48z"]},e.mw},3980:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"quote-right",icon:[448,512,[8221,"quote-right-alt"],"f10e","M448 296c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136zm-256 0c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136z"]},e.mw},895:(t,e,i)=>{"use strict";var o=i(4407);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},8522:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"right",icon:[448,512,[11157,"arrow-alt-right"],"f356","M438.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-9.2 9.2-22.9 11.9-34.9 6.9S224 428.9 224 416l0-96-176 0c-26.5 0-48-21.5-48-48l0-32c0-26.5 21.5-48 48-48l176 0 0-96c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l160 160z"]},e.mw},5576:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M24 192l144 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-46.7-46.7c75.3-58.6 184.3-53.3 253.5 15.9 75 75 75 196.5 0 271.5s-196.5 75-271.5 0c-10.2-10.2-19-21.3-26.4-33-9.5-14.9-29.3-19.3-44.2-9.8s-19.3 29.3-9.8 44.2C49.7 408.7 61.4 423.5 75 437 175 537 337 537 437 437S537 175 437 75C342.8-19.3 193.3-24.7 92.7 58.8L41 7C34.1 .2 23.8-1.9 14.8 1.8S0 14.3 0 24L0 168c0 13.3 10.7 24 24 24z"]},e.mw},3131:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z"]},e.mw},7291:(t,e,i)=>{"use strict";var o=i(3929);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},1776:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars",icon:[448,512,["signal-alt","signal-alt-4","signal-bars-strong"],"f690","M448 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 384c0 17.7 14.3 32 32 32s32-14.3 32-32l0-384zM288 128c-17.7 0-32 14.3-32 32l0 288c0 17.7 14.3 32 32 32s32-14.3 32-32l0-288c0-17.7-14.3-32-32-32zM192 288c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160zM64 416c0-17.7-14.3-32-32-32S0 398.3 0 416l0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32z"]},e.mw},5578:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-fair",icon:[448,512,["signal-alt-2"],"f692","M192 288c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160zM64 416c0-17.7-14.3-32-32-32S0 398.3 0 416l0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32z"]},e.mw},9613:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-good",icon:[448,512,["signal-alt-3"],"f693","M320 160c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 288c0 17.7 14.3 32 32 32s32-14.3 32-32l0-288zM160 256c-17.7 0-32 14.3-32 32l0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32zM32 384c-17.7 0-32 14.3-32 32l0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32c0-17.7-14.3-32-32-32z"]},e.mw},4980:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-weak",icon:[448,512,["signal-alt-1"],"f691","M32 384c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32S0 465.7 0 448l0-32c0-17.7 14.3-32 32-32z"]},e.mw},2869:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M208 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm0 416a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM48 208a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm368 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM75 369.1A48 48 0 1 1 142.9 437 48 48 0 1 1 75 369.1zM75 75A48 48 0 1 1 142.9 142.9 48 48 0 1 1 75 75zM437 369.1A48 48 0 1 1 369.1 437 48 48 0 1 1 437 369.1z"]},e.mw},4693:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32z"]},e.mw},7642:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-1",icon:[448,512,[],"e256","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM184 144l40 0c13.3 0 24 10.7 24 24l0 152 32 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l32 0 0-128-16 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},1367:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-2",icon:[448,512,[],"e257","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM176 145.3l62 0c36.5 0 66 29.6 66 66 0 27.1-16.6 51.5-41.9 61.4l-44.7 17.6c-12.9 5.1-22.1 16.3-24.6 29.6l79.3 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-104 0c-13.3 0-24-10.7-24-24l0-16.4c0-36.2 22.1-68.7 55.8-81.9l44.7-17.6c6.9-2.7 11.4-9.4 11.4-16.8 0-10-8.1-18-18-18l-62 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},320:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-3",icon:[448,512,[],"e258","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM244 232c11 0 20-9 20-20s-9-20-20-20l-76 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l76 0c37.6 0 68 30.4 68 68 0 16.8-6.1 32.1-16.2 44 10.1 11.9 16.2 27.2 16.2 44 0 37.6-30.4 68-68 68l-76 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l76 0c11 0 20-9 20-20s-9-20-20-20l-52 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l52 0z"]},e.mw},821:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-4",icon:[448,512,[],"e259","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM168 144c13.3 0 24 10.7 24 24l0 88 48 0 0-88c0-13.3 10.7-24 24-24s24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40-56 0c-22.1 0-40-17.9-40-40l0-96c0-13.3 10.7-24 24-24z"]},e.mw},102:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-5",icon:[448,512,[],"e25a","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM264 144c13.3 0 24 10.7 24 24s-10.7 24-24 24l-72 0 0 32 40 0c39.8 0 72 32.2 72 72s-32.2 72-72 72l-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l96 0z"]},e.mw},7683:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-6",icon:[448,512,[],"e25b","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM280 168c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24 10.7-24 24l0 12.1c7.5-2.7 15.6-4.1 24-4.1l32 0c39.8 0 72 32.2 72 72s-32.2 72-72 72l-32 0c-39.8 0-72-32.2-72-72l0-80c0-39.8 32.2-72 72-72l48 0c13.3 0 24 10.7 24 24zM208 320l32 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-32 0c-13.3 0-24 10.7-24 24s10.7 24 24 24z"]},e.mw},9685:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM342 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L189.1 315.2 137 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.9 7.5 18.8 7s13.4-4.1 17.5-9.8L347.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z"]},e.mw},9849:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-minus",icon:[448,512,[61767,"minus-square"],"f146","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm72 200l176 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-176 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},1476:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-o",icon:[448,512,[],"e278","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm88 224a72 72 0 1 0 144 0 72 72 0 1 0 -144 0zm72 120a120 120 0 1 1 0-240 120 120 0 1 1 0 240z"]},e.mw},8268:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-xmark",icon:[448,512,[10062,"times-square","xmark-square"],"f2d3","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm71 135c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z"]},e.mw},6686:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"star",icon:[576,512,[11088,61446],"f005","M309.5-18.9c-4.1-8-12.4-13.1-21.4-13.1s-17.3 5.1-21.4 13.1L193.1 125.3 33.2 150.7c-8.9 1.4-16.3 7.7-19.1 16.3s-.5 18 5.8 24.4l114.4 114.5-25.2 159.9c-1.4 8.9 2.3 17.9 9.6 23.2s16.9 6.1 25 2L288.1 417.6 432.4 491c8 4.1 17.7 3.3 25-2s11-14.2 9.6-23.2L441.7 305.9 556.1 191.4c6.4-6.4 8.6-15.8 5.8-24.4s-10.1-14.9-19.1-16.3L383 125.3 309.5-18.9z"]},e.mw},7719:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"star-half-stroke",icon:[576,512,["star-half-alt"],"f5c0","M288.1 353.6c10 0 19.9 2.3 29 7l74.4 37.9-13-82.5c-3.2-20.2 3.5-40.7 17.9-55.2l59-59.1-82.5-13.1c-20.2-3.2-37.7-15.9-47-34.1l-38-74.4 0 273.6zM457.4 489c-7.3 5.3-17 6.1-25 2L288.1 417.6 143.8 491c-8 4.1-17.7 3.3-25-2s-11-14.2-9.6-23.2L134.4 305.9 20 191.4c-6.4-6.4-8.6-15.8-5.8-24.4s10.1-14.9 19.1-16.3l159.9-25.4 73.6-144.2c4.1-8 12.4-13.1 21.4-13.1s17.3 5.1 21.4 13.1L383 125.3 542.9 150.7c8.9 1.4 16.3 7.7 19.1 16.3s.5 18-5.8 24.4L441.7 305.9 467 465.8c1.4 8.9-2.3 17.9-9.6 23.2z"]},e.mw},6239:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"strikethrough",icon:[512,512,[],"f0cc","M96 157.5C96 88.2 152.2 32 221.5 32L368 32c17.7 0 32 14.3 32 32s-14.3 32-32 32L221.5 96c-34 0-61.5 27.5-61.5 61.5 0 31 23.1 57.2 53.9 61l44.1 5.5 222 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l83.1 0C103 204.6 96 181.8 96 157.5zM349.2 336l65.5 0c.9 6.1 1.4 12.2 1.4 18.5 0 69.3-56.2 125.5-125.5 125.5L144 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l146.5 0c34 0 61.5-27.5 61.5-61.5 0-6.4-1-12.7-2.8-18.5z"]},e.mw},6992:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table",icon:[448,512,[],"f0ce","M256 160l0 96 128 0 0-96-128 0zm-64 0l-128 0 0 96 128 0 0-96zM0 320L0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64l0-96zm384 0l-128 0 0 96 128 0 0-96zM192 416l0-96-128 0 0 96 128 0z"]},e.mw},6659:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-cells",icon:[448,512,["th"],"f00a","M384 96l0 64-64 0 0-64 64 0zm0 128l0 64-64 0 0-64 64 0zm0 128l0 64-64 0 0-64 64 0zM256 288l-64 0 0-64 64 0 0 64zm-64 64l64 0 0 64-64 0 0-64zm-64-64l-64 0 0-64 64 0 0 64zM64 352l64 0 0 64-64 0 0-64zm0-192l0-64 64 0 0 64-64 0zm128 0l0-64 64 0 0 64-64 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},e.mw},9937:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-columns",icon:[448,512,["columns"],"f0db","M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm64 64l0 256 128 0 0-256-128 0zm320 0l-128 0 0 256 128 0 0-256z"]},e.mw},7201:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-rows",icon:[448,512,["rows"],"e292","M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm128 0l0 128 256 0 0-128-256 0zM384 288l-256 0 0 128 256 0 0-128z"]},e.mw},2525:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"text",icon:[384,512,[],"f893","M64 96l0 32c0 17.7-14.3 32-32 32S0 145.7 0 128L0 72C0 49.9 17.9 32 40 32l304 0c22.1 0 40 17.9 40 40l0 56c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32-96 0 0 320 48 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l48 0 0-320-96 0z"]},e.mw},1985:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"text-width",icon:[448,512,[],"f035","M40 0C17.9 0 0 17.9 0 40L0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 128 0 0 160-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0 0-160 128 0 0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-56c0-22.1-17.9-40-40-40L40 0zm78.6 406.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4 229.5 0-9.4 9.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4-229.5 0 9.4-9.4z"]},e.mw},5722:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z"]},e.mw},9130:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"tree",icon:[448,512,[127794],"f1bb","M224-32c7 0 13.7 3.1 18.3 8.5l136 160c6.1 7.1 7.4 17.1 3.5 25.6S369.4 176 360 176l-24.9 0 75.2 88.5c6.1 7.1 7.4 17.1 3.5 25.6S401.4 304 392 304l-38.5 0 88.8 104.5c6.1 7.1 7.4 17.1 3.5 25.6S433.4 448 424 448l-168 0 0 64c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-64-168 0c-9.4 0-17.9-5.4-21.8-13.9s-2.6-18.5 3.5-25.6L94.5 304 56 304c-9.4 0-17.9-5.4-21.8-13.9s-2.6-18.5 3.5-25.6L112.9 176 88 176c-9.4 0-17.9-5.4-21.8-13.9s-2.6-18.5 3.5-25.6l136-160C210.3-28.9 217-32 224-32z"]},e.mw},3194:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"triangle",icon:[512,512,[9650],"f2ec","M291.2 21C284.2 8.1 270.7 0 256 0s-28.2 8.1-35.2 21L4.8 421c-6.7 12.4-6.4 27.4 .8 39.5S25.9 480 40 480l432 0c14.1 0 27.1-7.4 34.4-19.5s7.5-27.1 .8-39.5L291.2 21z"]},e.mw},6224:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"underline",icon:[384,512,[],"f0cd","M0 32C0 14.3 14.3 0 32 0L96 0c17.7 0 32 14.3 32 32S113.7 64 96 64l0 160c0 53 43 96 96 96s96-43 96-96l0-160c-17.7 0-32-14.3-32-32S270.3 0 288 0l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l0 160c0 88.4-71.6 160-160 160S32 312.4 32 224L32 64C14.3 64 0 49.7 0 32zM0 480c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 512c-17.7 0-32-14.3-32-32z"]},e.mw},5251:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"up",icon:[384,512,["arrow-alt-up"],"f357","M169.4 41.4c12.5-12.5 32.8-12.5 45.3 0l160 160c9.2 9.2 11.9 22.9 6.9 34.9S364.9 256 352 256l-96 0 0 176c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-176-96 0c-12.9 0-24.6-7.8-29.6-19.8S.2 210.5 9.4 201.4l160-160z"]},e.mw},8153:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"up-right",icon:[448,512,[],"e2be","M384 64L112 64c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l78.1 78.1-137.4 137.4c-18.7 18.7-18.7 49.1 0 67.9l48 48c18.7 18.7 49.1 18.7 67.9 0l137.4-137.4 78.1 78.1c9.2 9.2 22.9 11.9 34.9 6.9S416 380.9 416 368l0-272c0-17.7-14.3-32-32-32z"]},e.mw},8247:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"upload",icon:[448,512,[],"f093","M256 109.3L256 320c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-210.7-41.4 41.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 109.3zM224 400c44.2 0 80-35.8 80-80l80 0c35.3 0 64 28.7 64 64l0 32c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64l0-32c0-35.3 28.7-64 64-64l80 0c0 44.2 35.8 80 80 80zm144 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},7544:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"window-maximize",icon:[512,512,[128470],"f2d0","M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm24 64l336 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L88 176c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},4470:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"window-restore",icon:[576,512,[],"f2d2","M512 96L160 96c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64l-48 0 0-64 48 0 0-192zM0 224c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 224zm64 40c0 13.3 10.7 24 24 24l240 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L88 240c-13.3 0-24 10.7-24 24z"]},e.mw},8249:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]},e.mw},4754:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],i=0;i<t.length;i++)e.push(255&t.charCodeAt(i));return e},bytesToString:function(t){for(var e=[],i=0;i<t.length;i++)e.push(String.fromCharCode(t[i]));return e.join("")}}};t.exports=e},4560:(t,e,i)=>{const o=i(7346),r={};for(const t of Object.keys(o))r[o[t]]=t;const s={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=s;for(const t of Object.keys(s)){if(!("channels"in s[t]))throw new Error("missing channels property: "+t);if(!("labels"in s[t]))throw new Error("missing channel labels property: "+t);if(s[t].labels.length!==s[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:i}=s[t];delete s[t].channels,delete s[t].labels,Object.defineProperty(s[t],"channels",{value:e}),Object.defineProperty(s[t],"labels",{value:i})}s.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,r=Math.min(e,i,o),s=Math.max(e,i,o),n=s-r;let a,l;s===r?a=0:e===s?a=(i-o)/n:i===s?a=2+(o-e)/n:o===s&&(a=4+(e-i)/n),a=Math.min(60*a,360),a<0&&(a+=360);const c=(r+s)/2;return l=s===r?0:c<=.5?n/(s+r):n/(2-s-r),[a,100*l,100*c]},s.rgb.hsv=function(t){let e,i,o,r,s;const n=t[0]/255,a=t[1]/255,l=t[2]/255,c=Math.max(n,a,l),h=c-Math.min(n,a,l),d=function(t){return(c-t)/6/h+.5};return 0===h?(r=0,s=0):(s=h/c,e=d(n),i=d(a),o=d(l),n===c?r=o-i:a===c?r=1/3+e-o:l===c&&(r=2/3+i-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*s,100*c]},s.rgb.hwb=function(t){const e=t[0],i=t[1];let o=t[2];const r=s.rgb.hsl(t)[0],n=1/255*Math.min(e,Math.min(i,o));return o=1-1/255*Math.max(e,Math.max(i,o)),[r,100*n,100*o]},s.rgb.cmyk=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,r=Math.min(1-e,1-i,1-o);return[100*((1-e-r)/(1-r)||0),100*((1-i-r)/(1-r)||0),100*((1-o-r)/(1-r)||0),100*r]},s.rgb.keyword=function(t){const e=r[t];if(e)return e;let i,s=1/0;for(const e of Object.keys(o)){const r=(a=o[e],((n=t)[0]-a[0])**2+(n[1]-a[1])**2+(n[2]-a[2])**2);r<s&&(s=r,i=e)}var n,a;return i},s.keyword.rgb=function(t){return o[t]},s.rgb.xyz=function(t){let e=t[0]/255,i=t[1]/255,o=t[2]/255;return e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,[100*(.4124*e+.3576*i+.1805*o),100*(.2126*e+.7152*i+.0722*o),100*(.0193*e+.1192*i+.9505*o)]},s.rgb.lab=function(t){const e=s.rgb.xyz(t);let i=e[0],o=e[1],r=e[2];return i/=95.047,o/=100,r/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*o-16,500*(i-o),200*(o-r)]},s.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;let r,s,n;if(0===i)return n=255*o,[n,n,n];r=o<.5?o*(1+i):o+i-o*i;const a=2*o-r,l=[0,0,0];for(let t=0;t<3;t++)s=e+1/3*-(t-1),s<0&&s++,s>1&&s--,n=6*s<1?a+6*(r-a)*s:2*s<1?r:3*s<2?a+(r-a)*(2/3-s)*6:a,l[t]=255*n;return l},s.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,o=t[2]/100,r=i;const s=Math.max(o,.01);return o*=2,i*=o<=1?o:2-o,r*=s<=1?s:2-s,[e,100*(0===o?2*r/(s+r):2*i/(o+i)),(o+i)/2*100]},s.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let o=t[2]/100;const r=Math.floor(e)%6,s=e-Math.floor(e),n=255*o*(1-i),a=255*o*(1-i*s),l=255*o*(1-i*(1-s));switch(o*=255,r){case 0:return[o,l,n];case 1:return[a,o,n];case 2:return[n,o,l];case 3:return[n,a,o];case 4:return[l,n,o];case 5:return[o,n,a]}},s.hsv.hsl=function(t){const e=t[0],i=t[1]/100,o=t[2]/100,r=Math.max(o,.01);let s,n;n=(2-i)*o;const a=(2-i)*r;return s=i*r,s/=a<=1?a:2-a,s=s||0,n/=2,[e,100*s,100*n]},s.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,o=t[2]/100;const r=i+o;let s;r>1&&(i/=r,o/=r);const n=Math.floor(6*e),a=1-o;s=6*e-n,1&n&&(s=1-s);const l=i+s*(a-i);let c,h,d;switch(n){default:case 6:case 0:c=a,h=l,d=i;break;case 1:c=l,h=a,d=i;break;case 2:c=i,h=a,d=l;break;case 3:c=i,h=l,d=a;break;case 4:c=l,h=i,d=a;break;case 5:c=a,h=i,d=l}return[255*c,255*h,255*d]},s.cmyk.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r)),255*(1-Math.min(1,o*(1-r)+r))]},s.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100;let r,s,n;return r=3.2406*e+-1.5372*i+-.4986*o,s=-.9689*e+1.8758*i+.0415*o,n=.0557*e+-.204*i+1.057*o,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),n=Math.min(Math.max(0,n),1),[255*r,255*s,255*n]},s.xyz.lab=function(t){let e=t[0],i=t[1],o=t[2];return e/=95.047,i/=100,o/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,[116*i-16,500*(e-i),200*(i-o)]},s.lab.xyz=function(t){let e,i,o;i=(t[0]+16)/116,e=t[1]/500+i,o=i-t[2]/200;const r=i**3,s=e**3,n=o**3;return i=r>.008856?r:(i-16/116)/7.787,e=s>.008856?s:(e-16/116)/7.787,o=n>.008856?n:(o-16/116)/7.787,e*=95.047,i*=100,o*=108.883,[e,i,o]},s.lab.lch=function(t){const e=t[0],i=t[1],o=t[2];let r;return r=360*Math.atan2(o,i)/2/Math.PI,r<0&&(r+=360),[e,Math.sqrt(i*i+o*o),r]},s.lch.lab=function(t){const e=t[0],i=t[1],o=t[2]/360*2*Math.PI;return[e,i*Math.cos(o),i*Math.sin(o)]},s.rgb.ansi16=function(t,e=null){const[i,o,r]=t;let n=null===e?s.rgb.hsv(t)[2]:e;if(n=Math.round(n/50),0===n)return 30;let a=30+(Math.round(r/255)<<2|Math.round(o/255)<<1|Math.round(i/255));return 2===n&&(a+=60),a},s.hsv.ansi16=function(t){return s.rgb.ansi16(s.hsv.rgb(t),t[2])},s.rgb.ansi256=function(t){const e=t[0],i=t[1],o=t[2];return e===i&&i===o?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5)},s.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},s.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;return t-=16,[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},s.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},s.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let i=e[0];3===e[0].length&&(i=i.split("").map((t=>t+t)).join(""));const o=parseInt(i,16);return[o>>16&255,o>>8&255,255&o]},s.rgb.hcg=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,r=Math.max(Math.max(e,i),o),s=Math.min(Math.min(e,i),o),n=r-s;let a,l;return a=n<1?s/(1-n):0,l=n<=0?0:r===e?(i-o)/n%6:r===i?2+(o-e)/n:4+(e-i)/n,l/=6,l%=1,[360*l,100*n,100*a]},s.hsl.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=i<.5?2*e*i:2*e*(1-i);let r=0;return o<1&&(r=(i-.5*o)/(1-o)),[t[0],100*o,100*r]},s.hsv.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=e*i;let r=0;return o<1&&(r=(i-o)/(1-o)),[t[0],100*o,100*r]},s.hcg.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;if(0===i)return[255*o,255*o,255*o];const r=[0,0,0],s=e%1*6,n=s%1,a=1-n;let l=0;switch(Math.floor(s)){case 0:r[0]=1,r[1]=n,r[2]=0;break;case 1:r[0]=a,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=n;break;case 3:r[0]=0,r[1]=a,r[2]=1;break;case 4:r[0]=n,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=a}return l=(1-i)*o,[255*(i*r[0]+l),255*(i*r[1]+l),255*(i*r[2]+l)]},s.hcg.hsv=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);let o=0;return i>0&&(o=e/i),[t[0],100*o,100*i]},s.hcg.hsl=function(t){const e=t[1]/100,i=t[2]/100*(1-e)+.5*e;let o=0;return i>0&&i<.5?o=e/(2*i):i>=.5&&i<1&&(o=e/(2*(1-i))),[t[0],100*o,100*i]},s.hcg.hwb=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},s.hwb.hcg=function(t){const e=t[1]/100,i=1-t[2]/100,o=i-e;let r=0;return o<1&&(r=(i-o)/(1-o)),[t[0],100*o,100*r]},s.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},s.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},s.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},s.gray.hsl=function(t){return[0,0,t[0]]},s.gray.hsv=s.gray.hsl,s.gray.hwb=function(t){return[0,100,t[0]]},s.gray.cmyk=function(t){return[0,0,0,t[0]]},s.gray.lab=function(t){return[t[0],0,0]},s.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},s.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},8513:(t,e,i)=>{const o=i(4560),r=i(5920),s={};Object.keys(o).forEach((t=>{s[t]={},Object.defineProperty(s[t],"channels",{value:o[t].channels}),Object.defineProperty(s[t],"labels",{value:o[t].labels});const e=r(t);Object.keys(e).forEach((i=>{const o=e[i];s[t][i]=function(t){const e=function(...e){const i=e[0];if(null==i)return i;i.length>1&&(e=i);const o=t(e);if("object"==typeof o)for(let t=o.length,e=0;e<t;e++)o[e]=Math.round(o[e]);return o};return"conversion"in t&&(e.conversion=t.conversion),e}(o),s[t][i].raw=function(t){const e=function(...e){const i=e[0];return null==i?i:(i.length>1&&(e=i),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(o)}))})),t.exports=s},5920:(t,e,i)=>{const o=i(4560);function r(t,e){return function(i){return e(t(i))}}function s(t,e){const i=[e[t].parent,t];let s=o[e[t].parent][t],n=e[t].parent;for(;e[n].parent;)i.unshift(e[n].parent),s=r(o[e[n].parent][n],s),n=e[n].parent;return s.conversion=i,s}t.exports=function(t){const e=function(t){const e=function(){const t={},e=Object.keys(o);for(let i=e.length,o=0;o<i;o++)t[e[o]]={distance:-1,parent:null};return t}(),i=[t];for(e[t].distance=0;i.length;){const t=i.pop(),r=Object.keys(o[t]);for(let o=r.length,s=0;s<o;s++){const o=r[s],n=e[o];-1===n.distance&&(n.distance=e[t].distance+1,n.parent=t,i.unshift(o))}}return e}(t),i={},r=Object.keys(e);for(let t=r.length,o=0;o<t;o++){const t=r[o];null!==e[t].parent&&(i[t]=s(t,e))}return i}},7346:t=>{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6272:(t,e,i)=>{const o=i(2370),r=i(8513),s=["keyword","gray","hex"],n={};for(const t of Object.keys(r))n[[...r[t].labels].sort().join("")]=t;const a={};function l(t,e){if(!(this instanceof l))return new l(t,e);if(e&&e in s&&(e=null),e&&!(e in r))throw new Error("Unknown model: "+e);let i,c;if(null==t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof l)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if("string"==typeof t){const e=o.get(t);if(null===e)throw new Error("Unable to parse color from string: "+t);this.model=e.model,c=r[this.model].channels,this.color=e.value.slice(0,c),this.valpha="number"==typeof e.value[c]?e.value[c]:1}else if(t.length>0){this.model=e||"rgb",c=r[this.model].channels;const i=Array.prototype.slice.call(t,0,c);this.color=u(i,c),this.valpha="number"==typeof t[c]?t[c]:1}else if("number"==typeof t)this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;const e=Object.keys(t);"alpha"in t&&(e.splice(e.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);const o=e.sort().join("");if(!(o in n))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=n[o];const{labels:s}=r[this.model],a=[];for(i=0;i<s.length;i++)a.push(t[s[i]]);this.color=u(a)}if(a[this.model])for(c=r[this.model].channels,i=0;i<c;i++){const t=a[this.model][i];t&&(this.color[i]=t(this.color[i]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}l.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in o.to?this:this.rgb();e=e.round("number"==typeof t?t:1);const i=1===e.valpha?e.color:[...e.color,this.valpha];return o.to[e.model](i)},percentString(t){const e=this.rgb().round("number"==typeof t?t:1),i=1===e.valpha?e.color:[...e.color,this.valpha];return o.to.rgb.percent(i)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=r[this.model],{labels:i}=r[this.model];for(let o=0;o<e;o++)t[i[o]]=this.color[o];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new l([...this.color.map(c(t)),this.valpha],this.model)},alpha(t){return void 0!==t?new l([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:h("rgb",0,d(255)),green:h("rgb",1,d(255)),blue:h("rgb",2,d(255)),hue:h(["hsl","hsv","hsl","hwb","hcg"],0,(t=>(t%360+360)%360)),saturationl:h("hsl",1,d(100)),lightness:h("hsl",2,d(100)),saturationv:h("hsv",1,d(100)),value:h("hsv",2,d(100)),chroma:h("hcg",1,d(100)),gray:h("hcg",2,d(100)),white:h("hwb",1,d(100)),wblack:h("hwb",2,d(100)),cyan:h("cmyk",0,d(100)),magenta:h("cmyk",1,d(100)),yellow:h("cmyk",2,d(100)),black:h("cmyk",3,d(100)),x:h("xyz",0,d(95.047)),y:h("xyz",1,d(100)),z:h("xyz",2,d(108.833)),l:h("lab",0,d(100)),a:h("lab",1),b:h("lab",2),keyword(t){return void 0!==t?new l(t):r[this.model].keyword(this.color)},hex(t){return void 0!==t?new l(t):o.to.hex(this.rgb().round().color)},hexa(t){if(void 0!==t)return new l(t);const e=this.rgb().round().color;let i=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===i.length&&(i="0"+i),o.to.hex(e)+i},rgbNumber(){const t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity(){const t=this.rgb().color,e=[];for(const[i,o]of t.entries()){const t=o/255;e[i]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return l.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let i=e.color[0];return i=(i+t)%360,i=i<0?360+i:i,e.color[0]=i,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const i=t.rgb(),o=this.rgb(),r=void 0===e?.5:e,s=2*r-1,n=i.alpha()-o.alpha(),a=((s*n==-1?s:(s+n)/(1+s*n))+1)/2,c=1-a;return l.rgb(a*i.red()+c*o.red(),a*i.green()+c*o.green(),a*i.blue()+c*o.blue(),i.alpha()*r+o.alpha()*(1-r))}};for(const t of Object.keys(r)){if(s.includes(t))continue;const{channels:e}=r[t];l.prototype[t]=function(...e){return this.model===t?new l(this):e.length>0?new l(e,t):new l([...(i=r[this.model][t].raw(this.color),Array.isArray(i)?i:[i]),this.valpha],t);var i},l[t]=function(...i){let o=i[0];return"number"==typeof o&&(o=u(i,e)),new l(o,t)}}function c(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function h(t,e,i){t=Array.isArray(t)?t:[t];for(const o of t)(a[o]||(a[o]=[]))[e]=i;return t=t[0],function(o){let r;return void 0!==o?(i&&(o=i(o)),r=this[t](),r.color[e]=o,r):(r=this[t]().color[e],i&&(r=i(r)),r)}}function d(t){return function(e){return Math.max(0,Math.min(t,e))}}function u(t,e){for(let i=0;i<e;i++)"number"!=typeof t[i]&&(t[i]=0);return t}t.exports=l},2370:(t,e,i)=>{var o=i(7346),r=i(9311),s=Object.hasOwnProperty,n=Object.create(null);for(var a in o)s.call(o,a)&&(n[o[a]]=a);var l=t.exports={to:{},get:{}};function c(t,e,i){return Math.min(Math.max(e,t),i)}function h(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}l.get=function(t){var e,i;switch(t.substring(0,3).toLowerCase()){case"hsl":e=l.get.hsl(t),i="hsl";break;case"hwb":e=l.get.hwb(t),i="hwb";break;default:e=l.get.rgb(t),i="rgb"}return e?{model:i,value:e}:null},l.get.rgb=function(t){if(!t)return null;var e,i,r,n=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(r=e[2],e=e[1],i=0;i<3;i++){var a=2*i;n[i]=parseInt(e.slice(a,a+2),16)}r&&(n[3]=parseInt(r,16)/255)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(r=(e=e[1])[3],i=0;i<3;i++)n[i]=parseInt(e[i]+e[i],16);r&&(n[3]=parseInt(r+r,16)/255)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(i=0;i<3;i++)n[i]=parseInt(e[i+1],0);e[4]&&(e[5]?n[3]=.01*parseFloat(e[4]):n[3]=parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(e=t.match(/^(\w+)$/))?"transparent"===e[1]?[0,0,0,0]:s.call(o,e[1])?((n=o[e[1]])[3]=1,n):null:null;for(i=0;i<3;i++)n[i]=Math.round(2.55*parseFloat(e[i+1]));e[4]&&(e[5]?n[3]=.01*parseFloat(e[4]):n[3]=parseFloat(e[4]))}for(i=0;i<3;i++)n[i]=c(n[i],0,255);return n[3]=c(n[3],0,1),n},l.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var i=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(i)?1:i,0,1)]}return null},l.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var i=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(i)?1:i,0,1)]}return null},l.to.hex=function(){var t=r(arguments);return"#"+h(t[0])+h(t[1])+h(t[2])+(t[3]<1?h(Math.round(255*t[3])):"")},l.to.rgb=function(){var t=r(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},l.to.rgb.percent=function(){var t=r(arguments),e=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),o=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+i+"%, "+o+"%)":"rgba("+e+"%, "+i+"%, "+o+"%, "+t[3]+")"},l.to.hsl=function(){var t=r(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},l.to.hwb=function(){var t=r(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},l.to.keyword=function(t){return n[t.slice(0,3)]}},7250:t=>{var e,i;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&i.rotl(t,8)|4278255360&i.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=i.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],i=0,o=0;i<t.length;i++,o+=8)e[o>>>5]|=t[i]<<24-o%32;return e},wordsToBytes:function(t){for(var e=[],i=0;i<32*t.length;i+=8)e.push(t[i>>>5]>>>24-i%32&255);return e},bytesToHex:function(t){for(var e=[],i=0;i<t.length;i++)e.push((t[i]>>>4).toString(16)),e.push((15&t[i]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],i=0;i<t.length;i+=2)e.push(parseInt(t.substr(i,2),16));return e},bytesToBase64:function(t){for(var i=[],o=0;o<t.length;o+=3)for(var r=t[o]<<16|t[o+1]<<8|t[o+2],s=0;s<4;s++)8*o+6*s<=8*t.length?i.push(e.charAt(r>>>6*(3-s)&63)):i.push("=");return i.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],o=0,r=0;o<t.length;r=++o%4)0!=r&&i.push((e.indexOf(t.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|e.indexOf(t.charAt(o))>>>6-2*r);return i}},t.exports=i},8666:t=>{t.exports=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},4418:(t,e,i)=>{var o,r,s,n;o=i(7250),r=i(4754).utf8,s=i(4754).bin,(n=function(t,e){var i=o.wordsToBytes(function(t){t.constructor==String?t=r.stringToBytes(t):"undefined"!=typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());var e=o.bytesToWords(t),i=8*t.length,s=[],n=1732584193,a=-271733879,l=-1732584194,c=271733878,h=-1009589776;e[i>>5]|=128<<24-i%32,e[15+(i+64>>>9<<4)]=i;for(var d=0;d<e.length;d+=16){for(var u=n,p=a,g=l,m=c,f=h,v=0;v<80;v++){if(v<16)s[v]=e[d+v];else{var b=s[v-3]^s[v-8]^s[v-14]^s[v-16];s[v]=b<<1|b>>>31}var y=(n<<5|n>>>27)+h+(s[v]>>>0)+(v<20?1518500249+(a&l|~a&c):v<40?1859775393+(a^l^c):v<60?(a&l|a&c|l&c)-1894007588:(a^l^c)-899497514);h=c,c=l,l=a<<30|a>>>2,a=n,n=y}n+=u,a+=p,l+=g,c+=m,h+=f}return[n,a,l,c,h]}(t));return e&&e.asBytes?i:e&&e.asString?s.bytesToString(i):o.bytesToHex(i)})._blocksize=16,n._digestsize=20,t.exports=n},9311:(t,e,i)=>{"use strict";var o=i(8666),r=Array.prototype.concat,s=Array.prototype.slice,n=t.exports=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var a=t[i];o(a)?e=r.call(e,s.call(a)):e.push(a)}return e};n.wrap=function(t){return function(){return t(n(arguments))}}},6565:(t,e,i)=>{"use strict";var o=i(2180);t.exports=function(t,e,i,r){var s,n,a;if(t<=0)return 0;if(1===t||0===r)return e+i[0];if(s=r<0?(1-t)*r:0,t<8){for(n=0,a=0;a<t;a++)n+=e+i[s],s+=r;return n}return o(t,e,i,r,s)}},5271:(t,e,i)=>{"use strict";var o=i(5714);t.exports=o},5714:(t,e,i)=>{"use strict";var o=i(6448),r=i(6565);o(r,"ndarray",i(2180)),t.exports=r},2180:(t,e,i)=>{"use strict";var o=i(2287);t.exports=function t(e,i,r,s,n){var a,l,c,h,d,u,p,g,m,f,v,b,y;if(e<=0)return 0;if(1===e||0===s)return i+r[n];if(a=n,e<8){for(v=0,y=0;y<e;y++)v+=i+r[a],a+=s;return v}if(e<=128){for(l=i+r[a],c=i+r[a+s],h=i+r[a+2*s],d=i+r[a+3*s],u=i+r[a+4*s],p=i+r[a+5*s],g=i+r[a+6*s],m=i+r[a+7*s],a+=8*s,f=e%8,y=8;y<e-f;y+=8)l+=i+r[a],c+=i+r[a+s],h+=i+r[a+2*s],d+=i+r[a+3*s],u+=i+r[a+4*s],p+=i+r[a+5*s],g+=i+r[a+6*s],m+=i+r[a+7*s],a+=8*s;for(v=l+c+(h+d)+(u+p+(g+m));y<e;y++)v+=i+r[a],a+=s;return v}return b=o(e/2),t(b-=b%8,i,r,s,a)+t(e-b,i,r,s,a+b*s)}},9341:(t,e,i)=>{"use strict";var o=i(3465);t.exports=function(t,e,i){var r,s,n;if(t<=0)return 0;if(1===t||0===i)return e[0];if(r=i<0?(1-t)*i:0,t<8){for(s=0,n=0;n<t;n++)s+=e[r],r+=i;return s}return o(t,e,i,r)}},1094:(t,e,i)=>{"use strict";var o=i(2905);t.exports=o},2905:(t,e,i)=>{"use strict";var o=i(6448),r=i(9341);o(r,"ndarray",i(3465)),t.exports=r},3465:(t,e,i)=>{"use strict";var o=i(2287);t.exports=function t(e,i,r,s){var n,a,l,c,h,d,u,p,g,m,f,v,b;if(e<=0)return 0;if(1===e||0===r)return i[s];if(n=s,e<8){for(f=0,b=0;b<e;b++)f+=i[n],n+=r;return f}if(e<=128){for(a=i[n],l=i[n+r],c=i[n+2*r],h=i[n+3*r],d=i[n+4*r],u=i[n+5*r],p=i[n+6*r],g=i[n+7*r],n+=8*r,m=e%8,b=8;b<e-m;b+=8)a+=i[n],l+=i[n+r],c+=i[n+2*r],h+=i[n+3*r],d+=i[n+4*r],u+=i[n+5*r],p+=i[n+6*r],g+=i[n+7*r],n+=8*r;for(f=a+l+(c+h)+(d+u+(p+g));b<e;b++)f+=i[n],n+=r;return f}return v=o(e/2),t(v-=v%8,i,r,n)+t(e-v,i,r,n+v*r)}},2287:(t,e,i)=>{"use strict";var o=i(2154);t.exports=o},2154:t=>{"use strict";var e=Math.floor;t.exports=e},235:(t,e,i)=>{"use strict";var o=i(9830);t.exports=o},9830:(t,e,i)=>{"use strict";var o=i(6448),r=i(1114);o(r,"ndarray",i(6432)),t.exports=r},1114:(t,e,i)=>{"use strict";var o=i(6985);t.exports=function(t,e,i){return o(t,e,i)}},6432:(t,e,i)=>{"use strict";var o=i(6985).ndarray;t.exports=function(t,e,i,r){return o(t,e,i,r)}},6985:(t,e,i)=>{"use strict";var o=i(184);t.exports=o},184:(t,e,i)=>{"use strict";var o=i(6448),r=i(4186);o(r,"ndarray",i(2510)),t.exports=r},4186:(t,e,i)=>{"use strict";var o=i(1094),r=i(5271);t.exports=function(t,e,i){var s;return t<=0?NaN:1===t||0===i?e[0]:(s=o(t,e,i)/t)+r(t,-s,e,i)/t}},2510:(t,e,i)=>{"use strict";var o=i(1094).ndarray,r=i(5271).ndarray;t.exports=function(t,e,i,s){var n;return t<=0?NaN:1===t||0===i?e[s]:(n=o(t,e,i,s)/t)+r(t,-n,e,i,s)/t}},5949:(t,e,i)=>{"use strict";var o=i(780);t.exports=o},780:t=>{"use strict";t.exports=function(){var t,e,i;return t=0,i=0,function(o,r){return 0===arguments.length?void 0===e?null:i:(e=!0,i+=r/(t+=r)*(o-i))}}},6448:(t,e,i)=>{"use strict";var o=i(487);t.exports=o},487:(t,e,i)=>{"use strict";var o=i(5580);t.exports=function(t,e,i){o(t,e,{configurable:!1,enumerable:!1,writable:!1,value:i})}},6859:t=>{"use strict";var e=Object.defineProperty;t.exports=e},7581:t=>{"use strict";var e="function"==typeof Object.defineProperty?Object.defineProperty:null;t.exports=e},894:(t,e,i)=>{"use strict";var o=i(7581);t.exports=function(){try{return o({},"x",{}),!0}catch(t){return!1}}},5580:(t,e,i)=>{"use strict";var o,r=i(894),s=i(6859),n=i(3509);o=r()?s:n,t.exports=o},3509:t=>{"use strict";var e=Object.prototype,i=e.toString,o=e.__defineGetter__,r=e.__defineSetter__,s=e.__lookupGetter__,n=e.__lookupSetter__;t.exports=function(t,a,l){var c,h,d,u;if("object"!=typeof t||null===t||"[object Array]"===i.call(t))throw new TypeError("invalid argument. First argument must be an object. Value: `"+t+"`.");if("object"!=typeof l||null===l||"[object Array]"===i.call(l))throw new TypeError("invalid argument. Property descriptor must be an object. Value: `"+l+"`.");if((h="value"in l)&&(s.call(t,a)||n.call(t,a)?(c=t.__proto__,t.__proto__=e,delete t[a],t[a]=l.value,t.__proto__=c):t[a]=l.value),d="get"in l,u="set"in l,h&&(d||u))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return d&&o&&o.call(t,a,l.get),u&&r&&r.call(t,a,l.set),t}}},e={};function i(o){var r=e[o];if(void 0!==r)return r.exports;var s=e[o]={exports:{}};return t[o](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";i.r(o),i.d(o,{bucket:()=>w,calendar:()=>D,code:()=>k,commands:()=>y,core:()=>v,dialog:()=>C,editor:()=>N,form:()=>O,grid:()=>A,localize:()=>s,markdown:()=>P,package:()=>BA,plugins:()=>FA,statusbar:()=>j,tabs:()=>b,toolbar:()=>H,tree:()=>x});var t={};i.r(t),i.d(t,{bind:()=>mt,clone:()=>st,cloneDeep:()=>rt,escapeRegExp:()=>ut,ifNull:()=>it,intersect:()=>pt,isBool:()=>Y,isCharLetter:()=>et,isControlCharacter:()=>dt,isFunction:()=>X,isNumber:()=>tt,isNumericString:()=>K,isObject:()=>Z,isString:()=>Q,mergeDeep:()=>ot,minmax:()=>at,minmax2d:()=>lt,rectIntersect:()=>gt,removeAccents:()=>ct,strToNum:()=>J,trim:()=>nt});var e={};i.r(e),i.d(e,{appendElement:()=>wt,appendScript:()=>At,appendStyle:()=>$t,createElement:()=>yt,createName:()=>ft,debounceOn:()=>It,empty:()=>St,findParent:()=>Et,fixElementPosition:()=>Ut,fixElementSize:()=>Gt,fixPosition:()=>Kt,getBounds:()=>Bt,getElementOffset:()=>Tt,hideCell:()=>_t,hideElement:()=>kt,isHidden:()=>Ct,measureText:()=>ee,numToPixels:()=>Dt,on:()=>Lt,px:()=>Ot,query:()=>ie,register:()=>vt,remove:()=>zt,setBorderWidth:()=>Qt,setBounds:()=>Wt,setCenterPosition:()=>Xt,setClasses:()=>Rt,setInset:()=>Ft,setLineHeight:()=>Vt,setMargin:()=>Yt,setMaxSize:()=>Pt,setMinSize:()=>jt,setPadding:()=>Zt,setPosition:()=>Ht,setSize:()=>Nt,setStyle:()=>bt,setZIndex:()=>qt,showCell:()=>Mt,showElement:()=>xt,zoomElement:()=>Jt});var r={};i.r(r),i.d(r,{escapeHTML:()=>se,highlightText:()=>ne});var s={};i.r(s),i.d(s,{LocaleChangeEvent:()=>Co,createTranslateFunction:()=>To,getISOCode:()=>Oo,getLocale:()=>Lo,getRegionISOCode:()=>No,getSystemLocale:()=>Mo,hasLocale:()=>Io,msg:()=>$o,registerLocale:()=>Eo,setLocale:()=>Ro});var n={};i.r(n),i.d(n,{createDateFormatter:()=>Jo,dateToSerialDate:()=>sr,detectDefaultFormat:()=>qo,detectFormat:()=>Vo,format:()=>Zo,getDateFormat:()=>Yo,getDateFormatter:()=>Qo,getDateLocale:()=>Ko,getFiscalISOWeek:()=>rr,getFiscalQuarter:()=>er,getFiscalYear:()=>tr,getFiscalYearBounds:()=>or,isISODate:()=>Uo,parse:()=>Xo,registerDateLocale:()=>Fo,serialDateToDate:()=>nr,stripTime:()=>ir,workday:()=>ar});var a={};i.r(a),i.d(a,{createNumberFormatter:()=>mr,fixNumberFormat:()=>yr,getLocalDecimalSeparator:()=>wr,getNumberFormatter:()=>gr,isExtendedNumberFormat:()=>lr,isNumberFormat:()=>ur,mod:()=>cr,romanize:()=>dr,stringFormatToNumberFormat:()=>vr});var l={};i.r(l),i.d(l,{CsvReader:()=>kr,DEFAULT_CSV_DESCRIPTION:()=>xr,arrayToCsv:()=>Cr,csvToArray:()=>Mr});var c={};i.r(c),i.d(c,{LogLevel:()=>_r,Logger:()=>Sr,getLogger:()=>Lr,registerLogger:()=>Er});var h={};i.r(h),i.d(h,{FilterState:()=>Ir,TreeNodeMixin:()=>Tr,buildLevelBasedTree:()=>$r,buildParentBasedTree:()=>Ar,buildTree:()=>Dr});var d={};i.r(d),i.d(d,{alpha:()=>Pr,contrastColor:()=>Fr,css:()=>Vr,darken:()=>Nr,getComplmentaryColor:()=>jr,lighten:()=>Or,mix:()=>Hr,plainHex:()=>Wr,toHex:()=>Br});var u={};i.r(u),i.d(u,{ActionEvent:()=>Ur,dispatchActionEvent:()=>Gr});var p={};i.r(p),i.d(p,{clone:()=>Xr,reverseColumns:()=>qr,reverseRows:()=>Yr,transpose:()=>Zr});var g={};i.r(g),i.d(g,{AddEvent:()=>Kr,ChangeEvent:()=>Qr,SerialzieEvent:()=>Jr});var m={};i.r(m),i.d(m,{PAPER_SIZES:()=>ts});var f={};i.r(f),i.d(f,{detect:()=>es});var v={};i.r(v),i.d(v,{AMD:()=>cs,Accordion:()=>Ca,Alert:()=>Da,AlertEvent:()=>Aa,AnnotationTool:()=>Ia,BaseElement:()=>Na,Button:()=>ol,Checkbox:()=>Zd,Close:()=>rl,ColorPicker:()=>_u,ColorPickerEvent:()=>ku,ColorTypes:()=>Ra,ComponentAdapter:()=>hu,ComponentEvent:()=>Oa,ComponentSlice:()=>mu,ComponentStore:()=>gu,Container:()=>yu,Dropdown:()=>Ru,DropdownColorPicker:()=>$u,DropdownContainer:()=>Iu,DropdownEvent:()=>Lu,DropdownList:()=>Fu,DropdownMenu:()=>ju,ExpandEvent:()=>Uu,Expander:()=>qu,FileInput:()=>lp,FloatingWindow:()=>Xu,Icon:()=>tp,Input:()=>op,Label:()=>sp,LevelExpandEvent:()=>Gu,LevelExpander:()=>Yu,LinkedList:()=>us,LinkedListNode:()=>ds,List:()=>vp,ListPointerEvent:()=>fp,ListSelectEvent:()=>mp,ListSelectTrigger:()=>pp,ListSortEvent:()=>Ip,Loader:()=>Hp,Menu:()=>Nu,MenuEvent:()=>Ou,NumericInput:()=>dp,OmegaComponent:()=>pu,Overlay:()=>xp,Panel:()=>Mp,Plugin:()=>fu,Plugins:()=>vu,ResizeEvent:()=>Sp,ScriptLoader:()=>hs,ShortcutEvent:()=>ps,ShortcutManager:()=>ms,Sizer:()=>zp,SlideEvent:()=>lu,Slider:()=>cu,SliderDirection:()=>ru,SortableList:()=>Rp,SplitContainer:()=>Zn,SplitContainerEvent:()=>qn,SplitContainerResizeEvent:()=>Yn,Switch:()=>Op,SwitchEvent:()=>Dp,ThemeChangeEvent:()=>Xa,ThemeManager:()=>Qa,Tooltip:()=>jp,actions:()=>u,addThemeVariables:()=>Ga,colorable:()=>Ya,colors:()=>d,constants:()=>G,createThemeVariables:()=>Va,createThemeVariablesCss:()=>Ua,csv:()=>l,dates:()=>n,detectThemeType:()=>Wa,device:()=>f,dom:()=>e,events:()=>g,getDefaultOptions:()=>rs,getThemeManager:()=>Ja,html:()=>r,images:()=>Bu,initCommonOptions:()=>ss,initOptions:()=>ss,log:()=>c,matrix:()=>p,numbers:()=>a,paper:()=>m,setDefaultOptions:()=>os,themeable:()=>qa,tree:()=>h,utils:()=>t});var b={};i.r(b),i.d(b,{TabCloseEvent:()=>qp,TabContainer:()=>tg,TabEvent:()=>Gp,TabSplitContainer:()=>og,TabSplitContainerModel:()=>Fp,Tabs:()=>Zp});var y={};i.r(y),i.d(y,{Command:()=>rg,CommandEvent:()=>pg,CommandGroup:()=>sg,CommandManager:()=>xg,CommandWindow:()=>fg,Commands:()=>ng,CommandsAdapter:()=>vg,CommandsFlowAdapter:()=>bg,commandFactories:()=>yg,createCommands:()=>wg,initOptions:()=>cg});var w={};i.r(w),i.d(w,{AlertEvent:()=>Pg,Bucket:()=>Ag,BucketAlert:()=>jg,BucketButton:()=>Zg,BucketEvent:()=>$g,BucketPath:()=>sm,BucketPathEvent:()=>rm,BucketTop:()=>qg,ComponentHost:()=>Qg,ModalSidebar:()=>tm,Sidebar:()=>Fg,Sidemenu:()=>Vg,commonMenus:()=>em});var x={};i.r(x),i.d(x,{DateTreeAdapter:()=>Nf,ItemPropertyType:()=>Bm,LevelSelectEvent:()=>df,NodeModel:()=>jm,NodeSelectionStatus:()=>Wm,SelectMode:()=>Fm,Tree:()=>sf,TreeAdapter:()=>nf,TreeDropEvent:()=>rf,TreeDropdown:()=>cf,TreeEvent:()=>ef,TreeMenu:()=>ff,TreeModel:()=>Hm,TreePointerEvent:()=>of,TreeSearchEvent:()=>gf,TreeSelectionModel:()=>Um,normalizeSerializedValues:()=>Vm});var k={};i.r(k),i.d(k,{Code:()=>km,CodeBlock:()=>Gf,CodeDiffEditor:()=>Pm,CodeEvent:()=>am,CodeView:()=>Zf,MonacoLoader:()=>nm,loader:()=>nm});var C={};i.r(C),i.d(C,{Dialog:()=>ev,DialogEvent:()=>tv});var M={};i.r(M),i.d(M,{SHEET_NAME_REGEX:()=>lv,isSheetNameValid:()=>cv,sanitizeSheetName:()=>hv});var _={};i.r(_),i.d(_,{concat:()=>Qv,concatenate:()=>Kv,left:()=>Yv,len:()=>Jv,lower:()=>tb,mid:()=>Xv,right:()=>Zv,text:()=>qv,upper:()=>eb});var S={};i.r(S),i.d(S,{date:()=>cb,datevalue:()=>rb,day:()=>ub,eomonth:()=>pb,isBlank:()=>lb,isoweeknum:()=>gb,month:()=>db,today:()=>ab,weekday:()=>sb,workday:()=>nb,year:()=>hb});var z={};i.r(z),i.d(z,{PI:()=>Ib,abs:()=>Nb,acos:()=>mb,acosh:()=>fb,acot:()=>vb,acoth:()=>bb,asin:()=>yb,asinh:()=>wb,atan:()=>xb,atanh:()=>kb,ceiling:()=>Pb,cos:()=>Cb,cosh:()=>Mb,cot:()=>_b,coth:()=>Sb,count:()=>uy,countblank:()=>py,countif:()=>gy,countunique:()=>my,csc:()=>zb,csch:()=>Eb,degrees:()=>Lb,even:()=>jb,exp:()=>Hb,fact:()=>Fb,factdouble:()=>Bb,floor:()=>Wb,isdecimal:()=>Vb,iseven:()=>Ub,isodd:()=>Gb,ln:()=>qb,log:()=>Yb,log10:()=>Zb,mod:()=>Xb,odd:()=>Qb,power:()=>Kb,product:()=>Jb,quotient:()=>ty,radians:()=>ey,rand:()=>iy,randarray:()=>oy,randbetween:()=>ry,round:()=>sy,rounddown:()=>ny,roundup:()=>ay,sec:()=>Rb,sech:()=>Tb,sequence:()=>ly,sign:()=>cy,sin:()=>$b,sinh:()=>Ab,sqrt:()=>hy,sqrtpi:()=>dy,sum:()=>fy,sumif:()=>vy,sumproduct:()=>yy,sumsq:()=>by,tan:()=>Db,tanh:()=>Ob});var E={};i.r(E),i.d(E,{address:()=>xy,choose:()=>_y,column:()=>Sy,columns:()=>Ey,filter:()=>Dy,formulatext:()=>Iy,hlookup:()=>Cy,index:()=>Ry,indirect:()=>Ty,lookup:()=>My,match:()=>$y,offset:()=>Ay,row:()=>zy,rows:()=>Ly,vlookup:()=>ky});var L={};i.r(L),i.d(L,{erfc:()=>Py});var I={};i.r(I),i.d(I,{_false:()=>Uy,_if:()=>Wy,_switch:()=>By,_true:()=>Gy,and:()=>jy,iferror:()=>qy,not:()=>Vy,or:()=>Hy,xor:()=>Fy});var R={};i.r(R),i.d(R,{avedev:()=>tw,average:()=>Ky,average_weighted:()=>Jy,max:()=>iw,min:()=>ew});var T={};i.r(T),i.d(T,{_map:()=>rw,date:()=>S,logical:()=>I,lookup:()=>E,math:()=>z,special:()=>L,statistical:()=>R,text:()=>_});var $={};i.r($),i.d($,{BaseRenderer:()=>yC,CheckboxRenderer:()=>CC,DateTimeRenderer:()=>MC,DropdownRenderer:()=>_C,GeneralRenderer:()=>EC,NumberRenderer:()=>SC,TextRenderer:()=>zC,applyStyle:()=>bC,cellTypeRendererMap:()=>LC,getCellRenderer:()=>IC});var A={};i.r(A),i.d(A,{CalculationContext:()=>sw,CalculationModel:()=>jw,CellModel:()=>_w,CellRange:()=>Ev,ColumnModel:()=>zw,Comment:()=>vC,CommentEvent:()=>fC,CommentItem:()=>$w,CommentModel:()=>Aw,ConditionalFormats:()=>Gw,Dependencies:()=>Ow,ElementCache:()=>Dx,ElementModel:()=>dw,FilterEvent:()=>ex,FilterLabel:()=>Px,FilterModel:()=>ix,Formula:()=>Gv,FormulaInput:()=>Bx,FormulaInputEvent:()=>Fx,Grid:()=>Qk,GridAdapter:()=>RC,GridColumnResizeEvent:()=>Jx,GridEditEvent:()=>Qx,GridEditing:()=>bk,GridErrorEvent:()=>Zx,GridEvent:()=>Xx,GridEvents:()=>ek,GridFiltering:()=>Nk,GridGroup:()=>oC,GridGroupEvent:()=>iC,GridModel:()=>Ix,GridRendering:()=>ik,GridResizeEvent:()=>Kx,GridRowResizeEvent:()=>tk,GridSelecting:()=>ok,GridSortEvent:()=>Wk,GridSorting:()=>Vk,GridTooltip:()=>pC,GroupModel:()=>Rx,History:()=>Tx,IterableAddressRange:()=>sx,IterableAxisRange:()=>nx,IterableRange:()=>rx,MergeCellState:()=>zx,Merges:()=>Ex,NamingModel:()=>ax,ObjectEvent:()=>Hk,ObjectHost:()=>Fk,RowModel:()=>cx,SelectionModel:()=>$x,Selector:()=>lC,SelectorEvent:()=>nC,SelectorMoveEvent:()=>aC,SortOrder:()=>Ew,SortingArrow:()=>uC,SortingModel:()=>Tw,Sparkline:()=>hC,Sparklines:()=>ox,Table:()=>qx,TableEvent:()=>Gx,TokenType:()=>yv,Tokenizer:()=>_v,addGradient:()=>ww,addPattern:()=>yw,alignmentToString:()=>vx,applyCellTheme:()=>Cx,applyColumnTheme:()=>Mx,applyRowTheme:()=>_x,applyTheme:()=>Sx,autofill:()=>lw,borderCSSStyleMap:()=>gw,borderStyleCSSMap:()=>pw,borderToString:()=>fx,convertCSSBorder:()=>vw,convertCSSColor:()=>fw,convertCSSVerticalAlignment:()=>mw,convertToCSSBorder:()=>bw,createBoolMatcher:()=>Yw,createCellMatcher:()=>tx,createGroupCommands:()=>qk,createMultiMatcher:()=>Zw,createMultiMultiMatcher:()=>Xw,createRangeMatcher:()=>Jw,createTextMatcher:()=>qw,cssStyleFromString:()=>uw,cssStyleToStyle:()=>kw,decodeColumn:()=>Tv,decodeRow:()=>Iv,encodeColumn:()=>Rv,encodeRow:()=>Lv,extrapolateFormulas:()=>aw,extrapolateValues:()=>nw,functions:()=>T,gridConstants:()=>av,hashStyle:()=>bx,iconSets:()=>Vw,initGridCommands:()=>Zk,initOptions:()=>lx,isArythmeticOperator:()=>mv,isBool:()=>kv,isFilterRange:()=>Qw,isFilterRangeEmpty:()=>Kw,isFormula:()=>Hv,isLetter:()=>Cv,isLogicalOperator:()=>gv,isNumber:()=>xv,isOperand:()=>wv,isOperator:()=>fv,matrixOperation:()=>bv,normalizeCellValidation:()=>cw,operatorMap:()=>pv,prefixFormula:()=>Fv,renderers:()=>$,scalarOperation:()=>vv,sortRanges:()=>$v,stripFormulaPrefix:()=>Bv,styleToCSStyle:()=>xw,utils:()=>M,validateValue:()=>hw});var D={};i.r(D),i.d(D,{Calendar:()=>sM,CalendarDropdown:()=>uM,initOptions:()=>AC});var O={};i.r(O),i.d(O,{CalendarDateInput:()=>UM,Form:()=>zM,FormAdapter:()=>EM,FormButton:()=>t_,FormCheckbox:()=>ZM,FormColorInput:()=>BM,FormContainer:()=>$M,FormControlModel:()=>wM,FormControlType:()=>yM,FormDateInput:()=>VM,FormEvent:()=>SM,FormFileInput:()=>YM,FormLabel:()=>XM,FormList:()=>KM,FormModel:()=>xM,FormNumericInput:()=>qM,FormPasswordInput:()=>HM,FormTextInput:()=>PM});var N={};i.r(N),i.d(N,{ConfigForm:()=>r_,Editor:()=>h_,EditorEvent:()=>c_,EditorFormula:()=>m_,EditorStatusbar:()=>x_,EditorToolbar:()=>L_,EditorZoom:()=>u_,GridStats:()=>v_,HeaderForm:()=>R_,HyperlinkEditor:()=>vS,NamesForm:()=>D_,RuleEditor:()=>uS,RuleForm:()=>P_,RuleList:()=>W_,RuleThreshold:()=>q_,SparklineForm:()=>eS,StyleEditor:()=>mS,StyleForm:()=>X_,ThemeEditor:()=>aS,ThemeEditorSidebar:()=>sS,ThemeItemEditor:()=>hS});var P={};i.r(P),i.d(P,{BlockEditMenu:()=>oE,EditorFeature:()=>nE,HtmlBlock:()=>wz,HtmlBlockComponent:()=>yz,LinkEdit:()=>qz,MarkdownEditor:()=>AS,MarkdownLinkEvent:()=>$S,MarkdownView:()=>DS,configureFeatures:()=>sE,createEditor:()=>_S,createHtmlBlockConfig:()=>kz,createHtmlBlockView:()=>Cz,defaultCodeEditorConfig:()=>xz,getFeatures:()=>lE,loader:()=>MS,markdownToHtml:()=>SS});var j={};i.r(j),i.d(j,{Statusbar:()=>uE});var H={};i.r(H),i.d(H,{Toolbar:()=>wE,ToolbarButton:()=>kE,ToolbarColorPicker:()=>OE,ToolbarCustomDropdown:()=>SE,ToolbarDropdown:()=>ME,ToolbarDropdownButton:()=>EE,ToolbarDropdownMenu:()=>IE,ToolbarGrid:()=>TE,ToolbarText:()=>AE});var F={};i.r(F),i.d(F,{SheetjsLoader:()=>NE,XlsxEditorPlugin:()=>vL,convertMargins:()=>rL,convertStyle:()=>ZE,createModel:()=>gL,createModelFromArrayBuffer:()=>fL,createModelFromWorkbook:()=>mL,createWorkbook:()=>nL,createWorksheet:()=>sL,detectOutlineColumnDirection:()=>eL,detectOutlineRowDirection:()=>tL,exportXLSX:()=>aL,getWorkbookNames:()=>pL,getWorksheetCells:()=>QE,getWorksheetColumns:()=>WE,getWorksheetConditionalFormats:()=>JE,getWorksheetHeaderCells:()=>GE,getWorksheetMerges:()=>UE,getWorksheetRows:()=>VE,loader:()=>NE});var B={};i.r(B),i.d(B,{Chart:()=>zL,ChartEditorPlugin:()=>wL,ChartGridPlugin:()=>yL,ChartList:()=>RL,ChartModel:()=>bL,HighchartsLoader:()=>xL,RuleForm:()=>AL,createChartOptions:()=>CL,loader:()=>xL,renderChart:()=>ML});var W=i(6272),V=i.n(W);const U="#00955d",G={PREFIX:"og",DEFAULT_ACCENT_COLOR:U,DEFAULT_ACCENT_COLOR_2:V()(U).darken(.6),SIZER_SIZE:5,SLIDER_SIZE:10,SLIDER_MIN_LENGTH:30,EXPANDER_SIZE:13,LIST_ITEM_HEIGHT:22,LIST_RENDERING_TRESHOLD:30,LIST_AUTOSCROLL_TRESHOLD:30,LIST_AUTOSCROLL_DELAY:100,DEFAULT_TEXT_HIGHLIGHT_COLOR:"var(--og-text-highlight-color)",TOOLTIP_MARGIN:8,MENU_ITEM_HEIGHT:25,COLORPICKER_COLOR_SIZE:16,DEFAULT_NUMBER_FORMAT:"#,0.#####",BUTTON_HEIGHT:22,FONT_SIZE:12,FLOATING_WINDOW_MAX_WIDTH:500};function q(t,e,i){var o,r,s;void 0===e&&(e=50),void 0===i&&(i={});var n=null!=(o=i.isImmediate)&&o,a=null!=(r=i.callback)&&r,l=i.maxWait,c=Date.now(),h=[];function d(){if(void 0!==l){var t=Date.now()-c;if(t+e>=l)return l-t}return e}var u=function(){var e=[].slice.call(arguments),i=this;return new Promise((function(o,r){var l=n&&void 0===s;if(void 0!==s&&clearTimeout(s),s=setTimeout((function(){if(s=void 0,c=Date.now(),!n){var o=t.apply(i,e);a&&a(o),h.forEach((function(t){return(0,t.resolve)(o)})),h=[]}}),d()),l){var u=t.apply(i,e);return a&&a(u),o(u)}h.push({resolve:o,reject:r})}))};return u.cancel=function(t){void 0!==s&&clearTimeout(s),h.forEach((function(e){return(0,e.reject)(t)})),h=[]},u}function Y(t){return"boolean"==typeof t}function Z(t){return t&&"object"==typeof t&&!Array.isArray(t)}function X(t){return t&&"function"==typeof t}function Q(t){return"string"==typeof t}function K(t){let e=0;for(let i=0;i<t.length;i++){const o=t.charAt(i);if("."===o||","===o){if(++e>1)return!1}else if(o<"0"||o>"9")return!1}return!0}function J(t){return parseFloat(t.replace?t.replace(",","."):t)}function tt(t){return"number"==typeof t}function et(t){return t.toLowerCase()!==t.toUpperCase()}function it(t,e){return null==t?e:t}function ot(...t){const e={};return t.forEach((t=>{for(const i in t)if(t.hasOwnProperty(i)){const o=t[i],r=e[i];Array.isArray(o)?e[i]=[...o]:e[i]="object"==typeof o&&null!==o?ot(r||{},o):o}})),e}function rt(t){return ot({},t)}function st(t){return Object.assign({},t)}function nt(t,e){return"]"===e&&(e="\\]"),"^"===e&&(e="\\^"),"\\"===e&&(e="\\\\"),t.replace(new RegExp("^["+e+"]+|["+e+"]+$","g"),"")}function at(t){let e=null,i=null;return t.forEach((t=>{isNaN(t)||null==t||(e=Math.min(null==e?Number.MAX_SAFE_INTEGER:e,t),i=Math.max(null==i?Number.MIN_SAFE_INTEGER:i,t))})),[e,i]}function lt(...t){let e=null,i=null;return t.forEach((t=>t.forEach((t=>t.forEach((t=>{isNaN(t)||null==t||(e=Math.min(null==e?Number.MAX_SAFE_INTEGER:e,t),i=Math.max(null==i?Number.MIN_SAFE_INTEGER:i,t))})))))),[e,i]}function ct(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const ht=["Shift","Escape","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Enter"];function dt(t){return ht.includes(t)}function ut(t){return t.replace(/[.*+?^${}()|[\]\\]/gi,"\\$&")}function pt(t,e){return t.filter((t=>e.includes(t)))}function gt(t,e){return t.x>=e.x+e.w||e.x>=t.x+t.w||t.y>=e.y+e.h||e.y>=t.y+t.h?null:{x:Math.max(t.x,e.x),y:Math.max(t.y,e.y),w:Math.min(t.x+t.w,e.x+e.w)-Math.max(t.x,e.x),h:Math.min(t.y+t.h,e.y+e.h)-Math.max(t.y,e.y)}}function mt(t,e,i){return function(...o){const r=e.apply(t,o);return"function"==typeof i&&i(r,...o),r}}function ft(t,e=G.PREFIX){return`${e}-${t}`}function vt(t,e,i=null,o=G.PREFIX){customElements.define(`${o}-${t}`,e,i?{extends:i}:void 0)}function bt(t,e){for(const i in e)t.style[i]=e[i];return t}function yt(t,e){const i=document.createElement(t);if(e)for(const t in e)switch(t){case"listeners":if(Array.isArray(e.listeners))for(const t of e.listeners)i.addEventListener(t[0],t[1]);break;case"style":"object"==typeof e[t]&&bt(i,e[t]);break;default:i[t]=e[t]}return i}function wt(t,e){return t.appendChild(e),t}function xt(t,e=""){return t&&(t.style.display=t.dataset.display||e||"block"),t}function kt(t){return t&&(t.dataset.display="none"==t.style.display?"":t.style.display,t.style.display="none"),t}function Ct(t){return"none"==t.style.display}function Mt(t){t.style.display="table-cell"}function _t(t){t.style.display="none"}function St(t){return t.innerHTML="",t}function zt(t){t.parentNode?.removeChild(t)}function Et(t,e){const i="string"==typeof e?t=>t.matches(e):e;for(;t.parentNode;)if((t=t.parentNode)instanceof ShadowRoot&&t.host&&(t=t.host),t instanceof HTMLElement&&i(t))return t;return null}function Lt(t,e,i,o,r){return t.addEventListener(e,(t=>{for(const e of t.composedPath())if(e.matches&&e.matches(i))return void o(t,e);r&&r(t,null)})),t}function It(t,e,i,o,r){const s=q(((t,e)=>((t,e)=>{for(const r of e)if(r.matches&&r.matches(i))return void o(t,r);r?.noMatchCallback&&r.noMatchCallback(t,null)})(t,e)),r.wait,r);return t.addEventListener(e,(t=>s(t,t.composedPath()))),t}function Rt(t,e){return t.className=e?e.reduce(((t,e,i)=>t+(e?(0==i?"":" ")+e:"")),""):"",t}function Tt(t,e){let i=0,o=0;for(;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop)&&(!e||e!==t);)i+=t.offsetLeft-t.scrollLeft,o+=t.offsetTop-t.scrollTop,t=t.offsetParent;return{top:o,left:i}}function $t(t,e,i=null){if(e){let o=i?t.querySelector("#"+i):null;o||(o=yt("style"),i&&(o.id=i)),o.innerHTML=e,o.parentElement||t.appendChild(o)}return t}function At(t,e,i=null){if(!e)return t;let o=i?t.querySelector("#"+i):null;return o||(o=yt("script"),i&&(o.id=i)),o.textContent=e,o.parentElement||t.appendChild(o),t}function Dt(t){return isNaN(t)?"0":t.toString()+"px"}const Ot=Dt;function Nt(t,e,i=!1){if(t)return null!=e.w&&(t.style[i?"minWidth":"width"]=Q(e.w)?e.w:Dt(e.w)),null!=e.h&&(t.style[i?"minHeight":"height"]=Q(e.h)?e.h:Dt(e.h)),t}function Pt(t,e){return null!=e.w&&(t.style.maxWidth=Q(e.w)?e.w:Dt(e.w)),null!=e.h&&(t.style.maxHeight=Q(e.h)?e.h:Dt(e.h)),t}function jt(t,e){return null!=e.w&&(t.style.minWidth=Q(e.w)?e.w:Dt(e.w)),null!=e.h&&(t.style.minHeight=Q(e.h)?e.h:Dt(e.h)),t}function Ht(t,e){t.style.position="absolute",null!=e.r&&(t.style.right="string"==typeof e.r?e.r:Dt(e.r)),null!=e.b&&(t.style.bottom="string"==typeof e.b?e.b:Dt(e.b)),null!=e.l&&(t.style.left="string"==typeof e.l?e.l:Dt(e.l)),null!=e.t&&(t.style.top="string"==typeof e.t?e.t:Dt(e.t))}function Ft(t,e){t.style.position="absolute",t.style.inset=Dt(e)}function Bt(t){return{x:t.offsetLeft,y:t.offsetTop,w:t.offsetWidth,h:t.offsetHeight}}function Wt(t,e){Ht(t,{l:e.x,t:e.y}),Nt(t,{w:e.w,h:e.h})}function Vt(t,e){t.style.lineHeight=Dt(e)}function Ut(t,e=null){const i=Tt(t,e=e||t.parentElement),o=Kt({x:i.left,y:i.top,w:t.offsetWidth,h:t.offsetHeight},e);Ht(t,{l:o.x,t:o.y})}function Gt(t,e=null){((e=e||t.parentElement).offsetWidth<t.offsetWidth||e.offsetHeight<t.offsetHeight)&&Nt(t,{w:Math.min(e.offsetWidth,t.offsetWidth),h:Math.min(e.offsetHeight,t.offsetHeight)})}function qt(t,e){t.style.zIndex=e.toString()}function Yt(t,e){void 0!==e.r&&(t.style.marginRight=Dt(e.r)),void 0!==e.l&&(t.style.marginLeft=Dt(e.l)),void 0!==e.t&&(t.style.marginTop=Dt(e.t)),void 0!==e.b&&(t.style.marginBottom=Dt(e.b))}function Zt(t,e){void 0!==e.r&&(t.style.paddingRight=Dt(e.r)),void 0!==e.l&&(t.style.paddingLeft=Dt(e.l)),void 0!==e.t&&(t.style.paddingTop=Dt(e.t)),void 0!==e.b&&(t.style.paddingBottom=Dt(e.b))}function Xt(t,e,i={vertical:!0,horizontal:!0}){t.style.position="absolute",i.vertical&&(t.style.top=Dt(Math.round(e.clientHeight/2-t.offsetHeight/2))),i.horizontal&&(t.style.left=Dt(Math.round(e.clientWidth/2-t.offsetWidth/2)))}function Qt(t,e){null!=e.r&&(t.style.borderRightWidth=Dt(e.r)),null!=e.b&&(t.style.borderBottomWidth=Dt(e.b)),null!=e.l&&(t.style.borderLeftWidth=Dt(e.l)),null!=e.t&&(t.style.borderTopWidth=Dt(e.t))}function Kt(t,e){let i=Math.max(0,t.x),o=Math.max(0,t.y);return i+t.w>e.clientWidth&&(i=e.clientWidth-t.w),o+t.h>e.clientHeight&&(o=e.clientHeight-t.h),{x:i,y:o}}function Jt(t,e){t.style.transformOrigin="0% 0% 0px",t.style.transform=`scale(${e})`}let te;function ee(t,e){te||(te=new Map);let i=te.get(e);return i||(i=document.createElement("canvas").getContext("2d"),i.font=e,te.set(e,i)),i.measureText(t)}function ie(t,e=document){return e.querySelector(t)}const oe={"&":"&","<":"<",">":">"},re=t=>oe[t]||t;function se(t){return t.replace(/[&<>]/g,re)}function ne(t,e,i=G.DEFAULT_TEXT_HIGHLIGHT_COLOR){const o=[];let r=0,s=0;for(const n of e)r=n[0],s<r&&o.push(se(t.substring(s,r))),s=n[1],o.push(`<span style="color:${i}">${se(t.substring(r,s))}</span>`);return s<t.length&&o.push(se(t.substring(s))),o.join("")}function ae(t){const e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new t.constructor(+t):"number"==typeof t||"[object Number]"===e||"string"==typeof t||"[object String]"===e?new Date(t):new Date(NaN)}function le(t){const e=ae(t);return e.setHours(0,0,0,0),e}function ce(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}let he={};function de(){return he}const ue={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function pe(t){return(e={})=>{const i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const ge={date:pe({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:pe({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:pe({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},me={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function fe(t){return(e,i)=>{let o;if("formatting"===(i?.context?String(i.context):"standalone")&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,r=i?.width?String(i.width):e;o=t.formattingValues[r]||t.formattingValues[e]}else{const e=t.defaultWidth,r=i?.width?String(i.width):t.defaultWidth;o=t.values[r]||t.values[e]}return o[t.argumentCallback?t.argumentCallback(e):e]}}const ve={ordinalNumber:(t,e)=>{const i=Number(t),o=i%100;if(o>20||o<10)switch(o%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:fe({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:fe({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:fe({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:fe({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:fe({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function be(t){return(e,i={})=>{const o=i.width,r=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],s=e.match(r);if(!s)return null;const n=s[0],a=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?function(t,e){for(let e=0;e<t.length;e++)if(t[e].test(n))return e}(a):function(t,e){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&t[e].test(n))return e}(a);let c;return c=t.valueCallback?t.valueCallback(l):l,c=i.valueCallback?i.valueCallback(c):c,{value:c,rest:e.slice(n.length)}}}function ye(t){return(e,i={})=>{const o=e.match(t.matchPattern);if(!o)return null;const r=o[0],s=e.match(t.parsePattern);if(!s)return null;let n=t.valueCallback?t.valueCallback(s[0]):s[0];return n=i.valueCallback?i.valueCallback(n):n,{value:n,rest:e.slice(r.length)}}}const we={ordinalNumber:ye({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:be({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:be({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:be({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:be({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:be({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},xe={code:"en-US",formatDistance:(t,e,i)=>{let o;const r=ue[t];return o="string"==typeof r?r:1===e?r.one:r.other.replace("{{count}}",e.toString()),i?.addSuffix?i.comparison&&i.comparison>0?"in "+o:o+" ago":o},formatLong:ge,formatRelative:(t,e,i,o)=>me[t],localize:ve,match:we,options:{weekStartsOn:0,firstWeekContainsDate:1}},ke=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},Ce=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},Me={p:Ce,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],o=i[1],r=i[2];if(!r)return ke(t,e);let s;switch(o){case"P":s=e.dateTime({width:"short"});break;case"PP":s=e.dateTime({width:"medium"});break;case"PPP":s=e.dateTime({width:"long"});break;default:s=e.dateTime({width:"full"})}return s.replace("{{date}}",ke(o,e)).replace("{{time}}",Ce(r,e))}},_e=/^D+$/,Se=/^Y+$/,ze=["D","DD","YY","YYYY"];function Ee(t){return _e.test(t)}function Le(t){return Se.test(t)}function Ie(t,e,i){const o=function(t,e,i){const o="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,i);if(console.warn(o),ze.includes(t))throw new RangeError(o)}class Re{subPriority=0;validate(t,e){return!0}}class Te extends Re{constructor(t,e,i,o,r){super(),this.value=t,this.validateValue=e,this.setValue=i,this.priority=o,r&&(this.subPriority=r)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,i){return this.setValue(t,e,this.value,i)}}class $e extends Re{priority=10;subPriority=-1;set(t,e){return e.timestampIsSet?t:ce(t,function(t,e){const i=e instanceof Date?ce(e,0):new e(0);return i.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),i.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),i}(t,Date))}}class Ae{run(t,e,i,o){const r=this.parse(t,e,i,o);return r?{setter:new Te(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(t,e,i){return!0}}Math.pow(10,8);const De=6048e5,Oe=864e5,Ne=6e4,Pe=36e5,je=/^(1[0-2]|0?\d)/,He=/^(3[0-1]|[0-2]?\d)/,Fe=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Be=/^(5[0-3]|[0-4]?\d)/,We=/^(2[0-3]|[0-1]?\d)/,Ve=/^(2[0-4]|[0-1]?\d)/,Ue=/^(1[0-1]|0?\d)/,Ge=/^(1[0-2]|0?\d)/,qe=/^[0-5]?\d/,Ye=/^[0-5]?\d/,Ze=/^\d/,Xe=/^\d{1,2}/,Qe=/^\d{1,3}/,Ke=/^\d{1,4}/,Je=/^-?\d+/,ti=/^-?\d/,ei=/^-?\d{1,2}/,ii=/^-?\d{1,3}/,oi=/^-?\d{1,4}/,ri=/^([+-])(\d{2})(\d{2})?|Z/,si=/^([+-])(\d{2})(\d{2})|Z/,ni=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,ai=/^([+-])(\d{2}):(\d{2})|Z/,li=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ci(t,e){return t?{value:e(t.value),rest:t.rest}:t}function hi(t,e){const i=e.match(t);return i?{value:parseInt(i[0],10),rest:e.slice(i[0].length)}:null}function di(t,e){const i=e.match(t);if(!i)return null;if("Z"===i[0])return{value:0,rest:e.slice(1)};const o="+"===i[1]?1:-1,r=i[2]?parseInt(i[2],10):0,s=i[3]?parseInt(i[3],10):0,n=i[5]?parseInt(i[5],10):0;return{value:o*(r*Pe+s*Ne+1e3*n),rest:e.slice(i[0].length)}}function ui(t){return hi(Je,t)}function pi(t,e){switch(t){case 1:return hi(Ze,e);case 2:return hi(Xe,e);case 3:return hi(Qe,e);case 4:return hi(Ke,e);default:return hi(new RegExp("^\\d{1,"+t+"}"),e)}}function gi(t,e){switch(t){case 1:return hi(ti,e);case 2:return hi(ei,e);case 3:return hi(ii,e);case 4:return hi(oi,e);default:return hi(new RegExp("^-?\\d{1,"+t+"}"),e)}}function mi(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function fi(t,e){const i=e>0,o=i?e:1-e;let r;if(o<=50)r=t||100;else{const e=o+50;r=t+100*Math.trunc(e/100)-(t>=e%100?100:0)}return i?r:1-r}function vi(t){return t%400==0||t%4==0&&t%100!=0}function bi(t,e){const i=de(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=ae(t),s=r.getDay(),n=(s<o?7:0)+s-o;return r.setDate(r.getDate()-n),r.setHours(0,0,0,0),r}function yi(t,e){const i=ae(t),o=i.getFullYear(),r=de(),s=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,n=ce(t,0);n.setFullYear(o+1,0,s),n.setHours(0,0,0,0);const a=bi(n,e),l=ce(t,0);l.setFullYear(o,0,s),l.setHours(0,0,0,0);const c=bi(l,e);return i.getTime()>=a.getTime()?o+1:i.getTime()>=c.getTime()?o:o-1}function wi(t){return bi(t,{weekStartsOn:1})}function xi(t,e){const i=ae(t),o=+bi(i,e)-+function(t,e){const i=de(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,r=yi(t,e),s=ce(t,0);return s.setFullYear(r,0,o),s.setHours(0,0,0,0),bi(s,e)}(i,e);return Math.round(o/De)+1}function ki(t){const e=ae(t),i=e.getFullYear(),o=ce(t,0);o.setFullYear(i+1,0,4),o.setHours(0,0,0,0);const r=wi(o),s=ce(t,0);s.setFullYear(i,0,4),s.setHours(0,0,0,0);const n=wi(s);return e.getTime()>=r.getTime()?i+1:e.getTime()>=n.getTime()?i:i-1}function Ci(t){const e=ae(t),i=+wi(e)-+function(t){const e=ki(t),i=ce(t,0);return i.setFullYear(e,0,4),i.setHours(0,0,0,0),wi(i)}(e);return Math.round(i/De)+1}const Mi=[31,28,31,30,31,30,31,31,30,31,30,31],_i=[31,29,31,30,31,30,31,31,30,31,30,31];function Si(t,e){const i=ae(t);return isNaN(e)?ce(t,NaN):e?(i.setDate(i.getDate()+e),i):i}function zi(t,e,i){const o=de(),r=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,s=ae(t),n=s.getDay(),a=7-r;return Si(s,e<0||e>6?e-(n+a)%7:((e%7+7)%7+a)%7-(n+a)%7)}function Ei(t){let e=ae(t).getDay();return 0===e&&(e=7),e}function Li(t){const e=ae(t),i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return i.setUTCFullYear(e.getFullYear()),+t-+i}const Ii={G:new class extends Ae{priority=140;parse(t,e,i){switch(e){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,e,i){return e.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]},y:new class extends Ae{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,e,i){const o=t=>({year:t,isTwoDigitYear:"yy"===e});switch(e){case"y":return ci(pi(4,t),o);case"yo":return ci(i.ordinalNumber(t,{unit:"year"}),o);default:return ci(pi(e.length,t),o)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i){const o=t.getFullYear();if(i.isTwoDigitYear){const e=fi(i.year,o);return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t}const r="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},Y:new class extends Ae{priority=130;parse(t,e,i){const o=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return ci(pi(4,t),o);case"Yo":return ci(i.ordinalNumber(t,{unit:"year"}),o);default:return ci(pi(e.length,t),o)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i,o){const r=yi(t,o);if(i.isTwoDigitYear){const e=fi(i.year,r);return t.setFullYear(e,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),bi(t,o)}const s="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(s,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),bi(t,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends Ae{priority=130;parse(t,e){return gi("R"===e?4:e.length,t)}set(t,e,i){const o=ce(t,0);return o.setFullYear(i,0,4),o.setHours(0,0,0,0),wi(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends Ae{priority=130;parse(t,e){return gi("u"===e?4:e.length,t)}set(t,e,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends Ae{priority=120;parse(t,e,i){switch(e){case"Q":case"QQ":return pi(e.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,i){return t.setMonth(3*(i-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends Ae{priority=120;parse(t,e,i){switch(e){case"q":case"qq":return pi(e.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,i){return t.setMonth(3*(i-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends Ae{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,e,i){const o=t=>t-1;switch(e){case"M":return ci(hi(je,t),o);case"MM":return ci(pi(2,t),o);case"Mo":return ci(i.ordinalNumber(t,{unit:"month"}),o);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},L:new class extends Ae{priority=110;parse(t,e,i){const o=t=>t-1;switch(e){case"L":return ci(hi(je,t),o);case"LL":return ci(pi(2,t),o);case"Lo":return ci(i.ordinalNumber(t,{unit:"month"}),o);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends Ae{priority=100;parse(t,e,i){switch(e){case"w":return hi(Be,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return pi(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i,o){return bi(function(t,e,i){const o=ae(t),r=xi(o,i)-e;return o.setDate(o.getDate()-7*r),o}(t,i,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends Ae{priority=100;parse(t,e,i){switch(e){case"I":return hi(Be,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return pi(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i){return wi(function(t,e){const i=ae(t),o=Ci(i)-e;return i.setDate(i.getDate()-7*o),i}(t,i))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends Ae{priority=90;subPriority=1;parse(t,e,i){switch(e){case"d":return hi(He,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return pi(e.length,t)}}validate(t,e){const i=vi(t.getFullYear()),o=t.getMonth();return i?e>=1&&e<=_i[o]:e>=1&&e<=Mi[o]}set(t,e,i){return t.setDate(i),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends Ae{priority=90;subpriority=1;parse(t,e,i){switch(e){case"D":case"DD":return hi(Fe,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return pi(e.length,t)}}validate(t,e){return vi(t.getFullYear())?e>=1&&e<=366:e>=1&&e<=365}set(t,e,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends Ae{priority=90;parse(t,e,i){switch(e){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=zi(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends Ae{priority=90;parse(t,e,i,o){const r=t=>{const e=7*Math.floor((t-1)/7);return(t+o.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return ci(pi(e.length,t),r);case"eo":return ci(i.ordinalNumber(t,{unit:"day"}),r);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=zi(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends Ae{priority=90;parse(t,e,i,o){const r=t=>{const e=7*Math.floor((t-1)/7);return(t+o.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return ci(pi(e.length,t),r);case"co":return ci(i.ordinalNumber(t,{unit:"day"}),r);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=zi(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends Ae{priority=90;parse(t,e,i){const o=t=>0===t?7:t;switch(e){case"i":case"ii":return pi(e.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return ci(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o);case"iiiii":return ci(i.day(t,{width:"narrow",context:"formatting"}),o);case"iiiiii":return ci(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o);default:return ci(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o)}}validate(t,e){return e>=1&&e<=7}set(t,e,i){return(t=function(t,e){const i=ae(t);return Si(i,e-Ei(i))}(t,i)).setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends Ae{priority=80;parse(t,e,i){switch(e){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(mi(i),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends Ae{priority=80;parse(t,e,i){switch(e){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(mi(i),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends Ae{priority=80;parse(t,e,i){switch(e){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(mi(i),0,0,0),t}incompatibleTokens=["a","b","t","T"]},h:new class extends Ae{priority=70;parse(t,e,i){switch(e){case"h":return hi(Ge,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return pi(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,i){const o=t.getHours()>=12;return o&&i<12?t.setHours(i+12,0,0,0):o||12!==i?t.setHours(i,0,0,0):t.setHours(0,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]},H:new class extends Ae{priority=70;parse(t,e,i){switch(e){case"H":return hi(We,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return pi(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,i){return t.setHours(i,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends Ae{priority=70;parse(t,e,i){switch(e){case"K":return hi(Ue,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return pi(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]},k:new class extends Ae{priority=70;parse(t,e,i){switch(e){case"k":return hi(Ve,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return pi(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,i){const o=i<=24?i%24:i;return t.setHours(o,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends Ae{priority=60;parse(t,e,i){switch(e){case"m":return hi(qe,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return pi(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,i){return t.setMinutes(i,0,0),t}incompatibleTokens=["t","T"]},s:new class extends Ae{priority=50;parse(t,e,i){switch(e){case"s":return hi(Ye,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return pi(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,i){return t.setSeconds(i,0),t}incompatibleTokens=["t","T"]},S:new class extends Ae{priority=30;parse(t,e){return ci(pi(e.length,t),(t=>Math.trunc(t*Math.pow(10,3-e.length))))}set(t,e,i){return t.setMilliseconds(i),t}incompatibleTokens=["t","T"]},X:new class extends Ae{priority=10;parse(t,e){switch(e){case"X":return di(ri,t);case"XX":return di(si,t);case"XXXX":return di(ni,t);case"XXXXX":return di(li,t);default:return di(ai,t)}}set(t,e,i){return e.timestampIsSet?t:ce(t,t.getTime()-Li(t)-i)}incompatibleTokens=["t","T","x"]},x:new class extends Ae{priority=10;parse(t,e){switch(e){case"x":return di(ri,t);case"xx":return di(si,t);case"xxxx":return di(ni,t);case"xxxxx":return di(li,t);default:return di(ai,t)}}set(t,e,i){return e.timestampIsSet?t:ce(t,t.getTime()-Li(t)-i)}incompatibleTokens=["t","T","X"]},t:new class extends Ae{priority=40;parse(t){return ui(t)}set(t,e,i){return[ce(t,1e3*i),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends Ae{priority=20;parse(t){return ui(t)}set(t,e,i){return[ce(t,i),{timestampIsSet:!0}]}incompatibleTokens="*"}},Ri=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ti=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$i=/^'([^]*?)'?$/,Ai=/''/g,Di=/\S/,Oi=/[a-zA-Z]/;function Ni(t,e,i,o){const r=Object.assign({},de()),s=o?.locale??r.locale??xe,n=o?.firstWeekContainsDate??o?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=o?.weekStartsOn??o?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0;if(""===e)return""===t?ae(i):ce(i,NaN);const l={firstWeekContainsDate:n,weekStartsOn:a,locale:s},c=[new $e],h=e.match(Ti).map((t=>{const e=t[0];return e in Me?(0,Me[e])(t,s.formatLong):t})).join("").match(Ri),d=[];for(let r of h){!o?.useAdditionalWeekYearTokens&&Le(r)&&Ie(r,e,t),!o?.useAdditionalDayOfYearTokens&&Ee(r)&&Ie(r,e,t);const n=r[0],a=Ii[n];if(a){const{incompatibleTokens:e}=a;if(Array.isArray(e)){const t=d.find((t=>e.includes(t.token)||t.token===n));if(t)throw new RangeError(`The format string mustn't contain \`${t.fullToken}\` and \`${r}\` at the same time`)}else if("*"===a.incompatibleTokens&&d.length>0)throw new RangeError(`The format string mustn't contain \`${r}\` and any other token at the same time`);d.push({token:n,fullToken:r});const o=a.run(t,r,s.match,l);if(!o)return ce(i,NaN);c.push(o.setter),t=o.rest}else{if(n.match(Oi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===r?r="'":"'"===n&&(r=r.match($i)[1].replace(Ai,"'")),0!==t.indexOf(r))return ce(i,NaN);t=t.slice(r.length)}}if(t.length>0&&Di.test(t))return ce(i,NaN);const u=c.map((t=>t.priority)).sort(((t,e)=>e-t)).filter(((t,e,i)=>i.indexOf(t)===e)).map((t=>c.filter((e=>e.priority===t)).sort(((t,e)=>e.subPriority-t.subPriority)))).map((t=>t[0]));let p=ae(i);if(isNaN(p.getTime()))return ce(i,NaN);const g={};for(const t of u){if(!t.validate(p,l))return ce(i,NaN);const e=t.set(p,g,l);Array.isArray(e)?(p=e[0],Object.assign(g,e[1])):p=e}return ce(i,p)}const Pi={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ji=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Hi=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Fi=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Bi(t){return t?parseInt(t):1}function Wi(t){return t&&parseFloat(t.replace(",","."))||0}const Vi=[31,null,31,30,31,30,31,31,30,31,30,31];function Ui(t){return t%400==0||t%4==0&&t%100!=0}function Gi(t,e){const i=le(t),o=le(e),r=+i-Li(i),s=+o-Li(o);return Math.round((r-s)/Oe)}function qi(t){const e=ae(t),i=ce(t,0);return i.setFullYear(e.getFullYear(),0,1),i.setHours(0,0,0,0),i}function Yi(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const Zi={y(t,e){const i=t.getFullYear(),o=i>0?i:1-i;return Yi("yy"===e?o%100:o,e.length)},M(t,e){const i=t.getMonth();return"M"===e?String(i+1):Yi(i+1,2)},d:(t,e)=>Yi(t.getDate(),e.length),a(t,e){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];default:return"am"===i?"a.m.":"p.m."}},h:(t,e)=>Yi(t.getHours()%12||12,e.length),H:(t,e)=>Yi(t.getHours(),e.length),m:(t,e)=>Yi(t.getMinutes(),e.length),s:(t,e)=>Yi(t.getSeconds(),e.length),S(t,e){const i=e.length,o=t.getMilliseconds();return Yi(Math.trunc(o*Math.pow(10,i-3)),e.length)}},Xi={G:function(t,e,i){const o=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(o,{width:"abbreviated"});case"GGGGG":return i.era(o,{width:"narrow"});default:return i.era(o,{width:"wide"})}},y:function(t,e,i){if("yo"===e){const e=t.getFullYear(),o=e>0?e:1-e;return i.ordinalNumber(o,{unit:"year"})}return Zi.y(t,e)},Y:function(t,e,i,o){const r=yi(t,o),s=r>0?r:1-r;return"YY"===e?Yi(s%100,2):"Yo"===e?i.ordinalNumber(s,{unit:"year"}):Yi(s,e.length)},R:function(t,e){return Yi(ki(t),e.length)},u:function(t,e){return Yi(t.getFullYear(),e.length)},Q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return Yi(o,2);case"Qo":return i.ordinalNumber(o,{unit:"quarter"});case"QQQ":return i.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(o,{width:"narrow",context:"formatting"});default:return i.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return Yi(o,2);case"qo":return i.ordinalNumber(o,{unit:"quarter"});case"qqq":return i.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(o,{width:"narrow",context:"standalone"});default:return i.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,e,i){const o=t.getMonth();switch(e){case"M":case"MM":return Zi.M(t,e);case"Mo":return i.ordinalNumber(o+1,{unit:"month"});case"MMM":return i.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(o,{width:"narrow",context:"formatting"});default:return i.month(o,{width:"wide",context:"formatting"})}},L:function(t,e,i){const o=t.getMonth();switch(e){case"L":return String(o+1);case"LL":return Yi(o+1,2);case"Lo":return i.ordinalNumber(o+1,{unit:"month"});case"LLL":return i.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(o,{width:"narrow",context:"standalone"});default:return i.month(o,{width:"wide",context:"standalone"})}},w:function(t,e,i,o){const r=xi(t,o);return"wo"===e?i.ordinalNumber(r,{unit:"week"}):Yi(r,e.length)},I:function(t,e,i){const o=Ci(t);return"Io"===e?i.ordinalNumber(o,{unit:"week"}):Yi(o,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getDate(),{unit:"date"}):Zi.d(t,e)},D:function(t,e,i){const o=function(t){const e=ae(t);return Gi(e,qi(e))+1}(t);return"Do"===e?i.ordinalNumber(o,{unit:"dayOfYear"}):Yi(o,e.length)},E:function(t,e,i){const o=t.getDay();switch(e){case"E":case"EE":case"EEE":return i.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},e:function(t,e,i,o){const r=t.getDay(),s=(r-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(s);case"ee":return Yi(s,2);case"eo":return i.ordinalNumber(s,{unit:"day"});case"eee":return i.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,i,o){const r=t.getDay(),s=(r-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(s);case"cc":return Yi(s,e.length);case"co":return i.ordinalNumber(s,{unit:"day"});case"ccc":return i.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(r,{width:"narrow",context:"standalone"});case"cccccc":return i.day(r,{width:"short",context:"standalone"});default:return i.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,i){const o=t.getDay(),r=0===o?7:o;switch(e){case"i":return String(r);case"ii":return Yi(r,e.length);case"io":return i.ordinalNumber(r,{unit:"day"});case"iii":return i.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},a:function(t,e,i){const o=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,e,i){const o=t.getHours();let r;switch(r=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,i){const o=t.getHours();let r;switch(r=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",e){case"B":case"BB":case"BBB":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),i.ordinalNumber(e,{unit:"hour"})}return Zi.h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getHours(),{unit:"hour"}):Zi.H(t,e)},K:function(t,e,i){const o=t.getHours()%12;return"Ko"===e?i.ordinalNumber(o,{unit:"hour"}):Yi(o,e.length)},k:function(t,e,i){let o=t.getHours();return 0===o&&(o=24),"ko"===e?i.ordinalNumber(o,{unit:"hour"}):Yi(o,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):Zi.m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getSeconds(),{unit:"second"}):Zi.s(t,e)},S:function(t,e){return Zi.S(t,e)},X:function(t,e,i){const o=t.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return Ki(o);case"XXXX":case"XX":return Ji(o);default:return Ji(o,":")}},x:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"x":return Ki(o);case"xxxx":case"xx":return Ji(o);default:return Ji(o,":")}},O:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Qi(o,":");default:return"GMT"+Ji(o,":")}},z:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Qi(o,":");default:return"GMT"+Ji(o,":")}},t:function(t,e,i){return Yi(Math.trunc(t.getTime()/1e3),e.length)},T:function(t,e,i){return Yi(t.getTime(),e.length)}};function Qi(t,e=""){const i=t>0?"-":"+",o=Math.abs(t),r=Math.trunc(o/60),s=o%60;return 0===s?i+String(r):i+String(r)+e+Yi(s,2)}function Ki(t,e){return t%60==0?(t>0?"-":"+")+Yi(Math.abs(t)/60,2):Ji(t,e)}function Ji(t,e=""){const i=t>0?"-":"+",o=Math.abs(t);return i+Yi(Math.trunc(o/60),2)+e+Yi(o%60,2)}function to(t){if(!(e=t,e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)||"number"==typeof t))return!1;var e;const i=ae(t);return!isNaN(Number(i))}const eo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,io=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,oo=/^'([^]*?)'?$/,ro=/''/g,so=/[a-zA-Z]/;function no(t,e,i){const o=de(),r=i?.locale??o.locale??xe,s=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,n=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,a=ae(t);if(!to(a))throw new RangeError("Invalid time value");let l=e.match(io).map((t=>{const e=t[0];return"p"===e||"P"===e?(0,Me[e])(t,r.formatLong):t})).join("").match(eo).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:ao(t)};if(Xi[e])return{isToken:!0,value:t};if(e.match(so))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}}));r.localize.preprocessor&&(l=r.localize.preprocessor(a,l));const c={firstWeekContainsDate:s,weekStartsOn:n,locale:r};return l.map((o=>{if(!o.isToken)return o.value;const s=o.value;return(!i?.useAdditionalWeekYearTokens&&Le(s)||!i?.useAdditionalDayOfYearTokens&&Ee(s))&&Ie(s,e,String(t)),(0,Xi[s[0]])(a,s,r.localize,c)})).join("")}function ao(t){const e=t.match(oo);return e?e[1].replace(ro,"'"):t}function lo(t,e){const i=ae(t);if(isNaN(e))return ce(t,NaN);if(!e)return i;const o=i.getDate(),r=ce(t,i.getTime());return r.setMonth(i.getMonth()+e+1,0),o>=r.getDate()?r:(i.setFullYear(r.getFullYear(),r.getMonth(),o),i)}function co(t,e){return function(t,e){return lo(t,12*e)}(t,-e)}function ho(t){const e=ae(t),i=e.getMonth();return e.setFullYear(e.getFullYear(),i+1,0),e.setHours(23,59,59,999),e}function uo(t,e){const i=ae(t),o=ae(e),r=po(i,o),s=Math.abs(Gi(i,o));i.setDate(i.getDate()-r*s);const n=r*(s-Number(po(i,o)===-r));return 0===n?0:n}function po(t,e){const i=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return i<0?-1:i>0?1:i}function go(t,e){return Si(t,-e)}function mo(t,e){return lo(t,-e)}const fo={lessThanXSeconds:{one:{regular:"méně než 1 sekunda",past:"před méně než 1 sekundou",future:"za méně než 1 sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"1 sekunda",past:"před 1 sekundou",future:"za 1 sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než 1 minuta",past:"před méně než 1 minutou",future:"za méně než 1 minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"1 minuta",past:"před 1 minutou",future:"za 1 minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně 1 hodina",past:"přibližně před 1 hodinou",future:"přibližně za 1 hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"1 hodina",past:"před 1 hodinou",future:"za 1 hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"1 den",past:"před 1 dnem",future:"za 1 den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně 1 týden",past:"přibližně před 1 týdnem",future:"přibližně za 1 týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"1 týden",past:"před 1 týdnem",future:"za 1 týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně 1 měsíc",past:"přibližně před 1 měsícem",future:"přibližně za 1 měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"1 měsíc",past:"před 1 měsícem",future:"za 1 měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně 1 rok",past:"přibližně před 1 rokem",future:"přibližně za 1 rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"1 rok",past:"před 1 rokem",future:"za 1 rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než 1 rok",past:"před více než 1 rokem",future:"za více než 1 rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro 1 rok",past:"skoro před 1 rokem",future:"skoro za 1 rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},vo={date:pe({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:pe({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:pe({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},bo=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],yo={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:t=>{const e=t.getDay();return"'v "+bo[e]+" o' p"},other:"P"},wo={ordinalNumber:(t,e)=>Number(t)+".",era:fe({values:{narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},defaultWidth:"wide"}),quarter:fe({values:{narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:fe({values:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},defaultWidth:"wide",formattingValues:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},defaultFormattingWidth:"wide"}),day:fe({values:{narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},defaultWidth:"wide"}),dayPeriod:fe({values:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultFormattingWidth:"wide"})},xo={ordinalNumber:ye({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:be({matchPatterns:{narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p[řr]/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:be({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:be({matchPatterns:{narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},defaultParseWidth:"any"}),day:be({matchPatterns:{narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:be({matchPatterns:{any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},defaultParseWidth:"any"})},ko={code:"cs",formatDistance:(t,e,i)=>{let o;const r=fo[t];o="other"===r.type?r.other:1===e?r.one:e>1&&e<5?r.few:r.many;const s=!0===i?.addSuffix,n=i?.comparison;let a;return a=s&&-1===n?o.past:s&&1===n?o.future:o.regular,a.replace("{{count}}",String(e))},formatLong:vo,formatRelative:(t,e)=>{const i=yo[t];return"function"==typeof i?i(e):i},localize:wo,match:xo,options:{weekStartsOn:1,firstWeekContainsDate:4}};class Co extends Event{constructor(t){super("localechange"),this.locale=t}}function Mo(){return"undefined"!=typeof navigator?navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language:"en"}const _o=new Map,So=new Map;let zo=Mo();function Eo(t,e){(Array.isArray(t)?t:[t]).forEach((t=>_o.set(t,e)))}function Lo(){return zo}function Io(t){return _o.has(t)}function Ro(t){if(!_o.has(t)){let t=zo;null==t&&(_o.has("en")?t="en":_o.size>0&&(t=_o.keys().next().value))}So.has(t)||So.set(t,new Map);const e=So.get(t);_o.get(t)?.forEach((t=>e.set(t.source,t))),zo!==t&&(zo=t,document.dispatchEvent(new Co(t)))}function To(t){const e=Array.from(t.matchAll(/\{([^}]+)\}/g)).map((t=>({name:t[1],start:t.index,end:t.index+t[0].length})));return i=>{if(!i)return t;let o="",r=0;for(const s of e){o+=t.slice(r,s.start);const e=i[s.name];o+=null!=e?String(e):"",r=s.end}return o+t.slice(r)}}function $o(t,e){if(Array.isArray(t))return t.map((t=>$o(t,e))).join(e?.separator??" ");if(null==t||""===t)return"";const i=t.toLowerCase();let o=So.get(zo);o||(o=new Map,So.set(zo,o));let r=o.get(i);if(r||(r={id:e?.id??null,source:i,target:t},o.set(i,r)),e?.data&&!r.translate&&(r.translate=To(r.target)),!r)return t;let s=r.translate?r.translate(e?.data):r.target;return null==s||""===s?"":(t.length>0&&t[0]===t[0].toUpperCase()&&(s=s[0].toUpperCase()+s.slice(1)),s)}const Ao={af:["af-ZA"],ar:["ar-AE","ar-BH","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE"],az:["az-AZ"],be:["be-BY"],bg:["bg-BG"],ca:["ca-ES"],cs:["cs-CZ"],cy:["cy-GB"],da:["da-DK"],de:["de-DE","de-AT","de-CH","de-LI","de-LU"],dv:["dv-MV"],el:["el-GR"],en:["en-US","en-AU","en-BZ","en-CA","en-CB","en-GB","en-IE","en-JM","en-NZ","en-PH","en-TT","en-ZA","en-ZW"],eo:["eo"],es:["es-ES","es-AR","es-BO","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-UY","es-VE"],et:["et-EE"],eu:["eu-ES"],fa:["fa-IR"],fi:["fi-FI"],fo:["fo-FO"],fr:["fr-BE","fr-CA","fr-CH","fr-FR","fr-LU","fr-MC"],gl:["gl-ES"],gu:["gu-IN"],he:["he-IL"],hi:["hi-IN"],hr:["hr-BA","hr-HR"],hu:["hu-HU"],hy:["hy-AM"],id:["id-ID"],is:["is-IS"],it:["it-CH","it-IT"],ja:["ja-JP"],ka:["ka-GE"],kk:["kk-KZ"],kn:["kn-IN"],ko:["ko-KR"],kok:["kok-IN"],ky:["ky-KG"],lt:["lt-LT"],lv:["lv-LV"],mi:["mi-NZ"],mk:["mk-MK"],mn:["mn-MN"],mr:["mr-IN"],ms:["ms-BN","ms-MY"],mt:["mt-MT"],nb:["nb-NO"],nl:["nl-BE","nl-NL"],nn:["nn-NO"],ns:["ns-ZA"],pa:["pa-IN"],pl:["pl-PL"],ps:["ps-AR"],pt:["pt-BR","pt-PT"],qu:["qu-BO","qu-EC","qu-PE"],ro:["ro-RO"],ru:["ru-RU"],sa:["sa-IN"],se:["se-FI","se-NO","se-SE"],sk:["sk-SK"],sl:["sl-SI"],sq:["sq-AL"],sr:["sr-BA","sr-SP"],sv:["sv-FI","sv-SE"],sw:["sw-KE"],syr:["syr-SY"],ta:["ta-IN"],te:["te-IN"],th:["th-TH"],tl:["tl-PH"],tn:["tn-ZA"],tr:["tr-TR"],tt:["tt-RU"],ts:["ts"],uk:["uk-UA"],ur:["ur-PK"],uz:["uz-UZ"],vi:["vi-VN"],xh:["xh-ZA"],zh:["zh-CN","zh-HK","zh-MO","zh-SG","zh-TW"],zu:["zu-ZA"]};let Do;function Oo(t){if(Ao[t])return t;if(Do&&Do.has(t))return Do.get(t);for(const e in Ao)if(Ao[e].includes(t))return Do=Do??new Map,Do.set(t,e),e;return null}function No(t){const e=Oo(t);return e?Ao[e]?Ao[e][0]:t:null}const Po=[{id:null,source:"copied",target:"copied"},{id:null,source:"close",target:"close"},{id:null,source:"headers",target:"headers"},{id:null,source:"conditional formatting",target:"conditional formatting"},{id:null,source:"sparklines",target:"sparklines"},{id:null,source:"charts",target:"charts"},{id:null,source:"named ranges",target:"named ranges"},{id:null,source:"search",target:"search"},{id:null,source:"load more",target:"load more"},{id:null,source:"today",target:"today"}],jo=[{id:null,source:"copied",target:"zkopírováno"},{id:null,source:"close",target:"zavřít"},{id:null,source:"headers",target:"hlavičky"},{id:null,source:"conditional formatting",target:"podmíněné formátování"},{id:null,source:"sparklines",target:"mikrografy"},{id:null,source:"charts",target:"grafy"},{id:null,source:"named ranges",target:"pojmenované rozsahy"},{id:null,source:"search",target:"hledat"},{id:null,source:"load more",target:"načíst další"},{id:null,source:"today",target:"dnes"}];[["en-US",Po],["en",Po],["cs-CZ",jo],["cs",jo],["sk",jo]].forEach((([t,e])=>Eo(t,e)));const Ho=new Map;function Fo(t){Ho.set(t.code,t)}Fo(xe),Fo(ko);const Bo=new Map,Wo=/^(\d{1,2})[./](\d{1,2})[./](\d{4})$/;function Vo(t,e){return Wo.test(t.replace(/\s/g,""))?e.startsWith("en")&&"/"===t[2]?"MM/dd/yyyy":"dd.MM.yyyy":"yyyy-MM-dd"}function Uo(t){return t.length>=10&&"-"===t[4]&&"-"===t[7]}let Go;function qo(t){if(t=t??Lo(),Go=Go??new Map,Go.has(t))return Go.get(t);let e;try{const i=No(t);e=Vo(function(t,e,i){let o;var r;return void 0===(r=e)||"locale"in r?i=e:o=e,new Intl.DateTimeFormat(i?.locale,o).format(ae(t))}(le(new Date),{locale:i}),i)}catch(t){e="yyyy-MM-dd"}return Go.set(t,e),e}function Yo(t){let e=qo(t?.locale);return t?.withTime&&(e+=" HH:mm:ss"),e}function Zo(t,e,i){return Qo(i??Lo(),e)(t)}function Xo(t,e){const i=Ni(t,Vo(t,e),new Date);return isNaN(i.getTime())?null:i}function Qo(t,e){e=e??qo(t);const i=Bo.has(t)?Bo.get(t):Bo.set(t,new Map).get(t);return i.has(e)||i.set(e,Jo(t,e)),i.get(e)}function Ko(t){return Ho.has(t)?Ho.get(t):(t=t.split("-")[0],Ho.has(t)?Ho.get(t):Ho.get("en-US"))}function Jo(t,e){return e=e??qo(t),(i,o)=>(Q(i)?i=Uo(i)?function(t,e){const i=e?.additionalDigits??2,o=function(t){const e={},i=t.split(Pi.dateTimeDelimiter);let o;if(i.length>2)return e;if(/:/.test(i[0])?o=i[0]:(e.date=i[0],o=i[1],Pi.timeZoneDelimiter.test(e.date)&&(e.date=t.split(Pi.timeZoneDelimiter)[0],o=t.substr(e.date.length,t.length))),o){const t=Pi.timezone.exec(o);t?(e.time=o.replace(t[1],""),e.timezone=t[1]):e.time=o}return e}(t);let r;if(o.date){const t=function(t,e){const i=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),o=t.match(i);if(!o)return{year:NaN,restDateString:""};const r=o[1]?parseInt(o[1]):null,s=o[2]?parseInt(o[2]):null;return{year:null===s?r:100*s,restDateString:t.slice((o[1]||o[2]).length)}}(o.date,i);r=function(t,e){if(null===e)return new Date(NaN);const i=t.match(ji);if(!i)return new Date(NaN);const o=!!i[4],r=Bi(i[1]),s=Bi(i[2])-1,n=Bi(i[3]),a=Bi(i[4]),l=Bi(i[5])-1;if(o)return function(t,e,i){return e>=1&&e<=53&&i>=0&&i<=6}(0,a,l)?function(t,e,i){const o=new Date(0);o.setUTCFullYear(t,0,4);const r=7*(e-1)+i+1-(o.getUTCDay()||7);return o.setUTCDate(o.getUTCDate()+r),o}(e,a,l):new Date(NaN);{const t=new Date(0);return function(t,e,i){return e>=0&&e<=11&&i>=1&&i<=(Vi[e]||(Ui(t)?29:28))}(e,s,n)&&function(t,e){return e>=1&&e<=(Ui(t)?366:365)}(e,r)?(t.setUTCFullYear(e,s,Math.max(r,n)),t):new Date(NaN)}}(t.restDateString,t.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const s=r.getTime();let n,a=0;if(o.time&&(a=function(t){const e=t.match(Hi);if(!e)return NaN;const i=Wi(e[1]),o=Wi(e[2]),r=Wi(e[3]);return function(t,e,i){return 24===t?0===e&&0===i:i>=0&&i<60&&e>=0&&e<60&&t>=0&&t<25}(i,o,r)?i*Pe+o*Ne+1e3*r:NaN}(o.time),isNaN(a)))return new Date(NaN);if(!o.timezone){const t=new Date(s+a),e=new Date(0);return e.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),e.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),e}return n=function(t){if("Z"===t)return 0;const e=t.match(Fi);if(!e)return 0;const i="+"===e[1]?-1:1,o=parseInt(e[2]),r=e[3]&&parseInt(e[3])||0;return function(t,e){return e>=0&&e<=59}(0,r)?i*(o*Pe+r*Ne):NaN}(o.timezone),isNaN(n)?new Date(NaN):new Date(s+a+n)}(i):Xo(i,t):i instanceof Date||isNaN(i)||(i=nr(i)),null==i?"":no(i,o||e,{locale:Ko(t)}))}function tr(t,e){const i=t.getFullYear(),o=t.getMonth()+1;return e>=0?i-Math.floor((12-o+e)/12):i+Math.floor((o-e-1)/12)}function er(t,e){const i=cr(t.getMonth()-e,12);return Math.floor(i/3)+1}function ir(t){return t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t}function or(t,e){let i=new Date(t.getFullYear(),cr(e,12),1);return function(t,e){const i=ae(t),o=ae(e),r=i.getTime()-o.getTime();return r<0?-1:r>0?1:r}(t,i)<0&&(i=co(i,1)),[i,ir(ho(lo(new Date(i),11)))]}function rr(t,e=0,i=1){const[o,r]=or(t,e),s=uo(t,o)+1,n=(Ei(t)+i-2)%7+1;let a=tr(t,e),l=Math.floor((10+s-n)/7);if(0==l){const t=go(o,4),e=uo(t,mo(o,12))+1,r=(Ei(t)+i-1)%7;l=Math.floor((10+e-r)/7),--a}else if(l>52){const t=go(r,3),e=uo(t,o)+1,s=(Ei(t)+i-1)%7;l>Math.floor((10+e-s)/7)&&(l=1,++a)}return[l,a]}function sr(t){return 25569+(t.getTime()-60*t.getTimezoneOffset()*1e3)/864e5}function nr(t){return new Date(Date.UTC(0,0,t-1))}function ar(t,e,i){let o=nr(t).getDay();for(i&&i.length>0&&i.forEach((t=>undefined.set(t,t)));e>0;)++t,o=++o>7?1:o,o<6&&--e;return t}const lr=t=>t.text||t.color||t.brackets||t.empty;function cr(t,e){let i=t%e;return i<0&&(i+=Math.abs(e)),i}const hr=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function dr(t){if(isNaN(t))return NaN;const e=String(+t).split("");let i="",o=3;for(;o--;)i=(hr[+e.pop()+10*o]||"")+i;return Array(+e.join("")+1).join("M")+i}function ur(t){return["0","#"].includes(t[0])}const pr=new Map;function gr(t,e="",i){const o=pr.has(t)?pr.get(t):pr.set(t,new Map).get(t);return o.has(e)||o.set(e,mr(t,e,i)),o.get(e)}function mr(t,e="",i){const o=(e?vr(i?yr(e,"n"):e):[{maximumFractionDigits:3}]).map((e=>Z(e)?lr(e)?function(t,e){const i=new Intl.NumberFormat(t,e);return{format:t=>{let o=tt(t)?i.format(t):"";return e.text&&(o+=e.text||""),e.brackets&&(o=`(${o})`),e.color&&(o=`<span style="color:${e.color}">${o}</span>`),o}}}(t,e):new Intl.NumberFormat(t,e):{format:Qo(t,e)}));return 1==o.length&&o.push(o[0]),2==o.length&&o.push(o[0]),t=>null==t?"":Q(t)?o[3]?o[3].format(t):t:isNaN(t)?"#NaN":t>0?o[0].format(t):t<0?o[1].format(t):0==t?o[2].format(t):void 0}const fr={useGrouping:!1,maximumFractionDigits:0,signDisplay:"negative",empty:!0};function vr(t){const e=[];let i,o,r,s=Object.assign({},fr),n=!1,a=0;for(;a<t.length;)switch(i=t.charAt(a),";"!=i&&s.empty&&delete s.empty,i.toLowerCase()){case"(":s.brackets=!0,++a;break;case"[":for(s.color="";++a<t.length&&(i=t.charAt(a),"]"!==i);)s.color+=i;break;case";":e.push(s),s=Object.assign({},fr),1==e.length&&(s.signDisplay="never"),n=!1,++a;break;case"0":case"#":for(o=null,r=null;a<t.length;){if(i=t.charAt(a),"0"===i)o=null===o?1:o+1;else if("#"===i)r=null===r?1:r+1;else{if(","!==i)break;s.useGrouping=!0}++a}n?(null!==o&&(s.minimumFractionDigits=o,null==r&&(s.maximumFractionDigits=o)),null!==r&&(s.maximumFractionDigits=r+(o||0))):null!==o&&(s.minimumIntegerDigits=o);break;case'"':for(s.text="";++a<t.length&&(i=t.charAt(a),'"'!==i);)s.text+=i;++a;break;case".":n=!0,++a;break;case"+":s.signDisplay="exceptZero",++a;break;case"-":1==e.length&&(s.signDisplay="always"),++a;break;case"$":s.style="currency",++a;break;case"%":s.style="percent",++a;break;default:if(et(i)){let o=i;for(s=null;++a<t.length;){if(i=t.charAt(a),";"===i){s=Object.assign({},fr);break}o+=i}e.push(o)}++a}return s&&e.push(s),e}const br={d:[[/\\/g,""],[/m/g,"M"],[/ddd/g,"eee"]],n:[[/0,/g,"#,"]]};function yr(t,e){return br[e].forEach((([e,i])=>t=t.replace(e,i))),t}function wr(t){return Intl.NumberFormat(t,{minimumIntegerDigits:1,minimumFractionDigits:1}).format(1.1).charAt(1)}const xr={delimiter:"\t",quote:"",encoding:"utf-8",decimalSeparator:".",header:!1};class kr{constructor(t,e){this.csv=t,this.offset=0,this.length=t.length,this.description=Object.assign({},xr,e)}get eof(){return this.offset>=this.length}readLine(){if(this.eof)return null;const t=[];let e,i="",o=!1;for(;this.offset<this.length;){if(e=this.csv.charAt(this.offset++),"\n"===e){if(o)continue;t.push(i),i=null;break}"\r"!==e&&(o?e===this.description.quote?(i=nt(i,this.description.quote),o=!1):i+=e:e==this.description.delimiter?(t.push(i),i=""):""==i&&e==this.description.quote?(o=!0,i=""):i+=e)}return null!=i&&t.push(i),t}}function Cr(t,e){e=Object.assign({},xr,e);let i="";for(let o=0;o<t.length;o++)i+=t[o].map((t=>null==t?"":isNaN(t)?(t??"").toString().replace(e.delimiter," "):"."!=e.decimalSeparator?t.toString().replace(".",e.decimalSeparator):t.toString())).join(e.delimiter)+"\n";return i}function Mr(t,e){const i=[];let o;const r=new kr(t,e);for(;!r.eof;)o=r.readLine(),o&&o.length>0&&i.push(o);return i}var _r;!function(t){t.Info="i",t.Warn="w",t.Error="e",t.Debug="d",t.Trace="t"}(_r||(_r={}));class Sr{constructor(t,e){this.id=t,this.name=e,this.styles=["color: #ffff00","color: #00955d","color: #aaaaaa"],this.errorStyles=["color: #ff0000","color: #00955d","color: #aaaaaa"],this.defaultLevel=_r.Info,this.name=e||t}format(t,e){return`%c[${e}] %c${this.name.padEnd(20," ")} %c${t.padEnd(50," ")}`}log(t){console.log(t,...this.styles)}info(t){console.info(this.format(t,_r.Info),...this.styles)}warn(t){console.info(this.format(t,_r.Warn),...this.styles)}error(t,e){console.error(this.format(t,_r.Error),...this.errorStyles),e&&console.error(e)}debug(t){console.info(this.format(t,_r.Debug),...this.styles)}trace(t){console.trace(this.format(t,_r.Trace),...this.styles)}}const zr=new Map;function Er(t,e){return zr.has(t)||zr.set(t,new Sr(t,e)),zr.get(t)}function Lr(t){return null==t&&null==(t=zr.size>0?Array.from(zr.keys())[0]:null)?Er("omega","Ω"):Er(t)}var Ir;!function(t){t[t.Filtered=0]="Filtered",t[t.Matched=1]="Matched",t[t.ChildMatched=2]="ChildMatched",t[t.ParentMatched=3]="ParentMatched"}(Ir||(Ir={}));class Rr{populate(t){}getSourceData(){return{}}}function Tr(t=Rr){return class extends t{constructor(){super(...arguments),this._children=[],this._filterState=Ir.Matched}populate(t){super.populate(t),isNaN(t.i)||(this.index=t.i),this.level=t.level||t.l||0,this.parentIndex=t.p,this._count=t.count,this._hidden=t.hidden,this._filterable=t.filterable,this._sortable=t.sortable,(t.collapsed||t.count)&&(this._collapsed=!0)}getSourceData(){const t=super.getSourceData();return this.level>0&&(t.l=this.level),null!=this.parentIndex&&(t.p=this.parentIndex),null!=this._collapsed&&(t.collapsed=this._collapsed),t}get filterable(){return!1!==this._filterable}get sortable(){return!1!==this._sortable}get filterState(){return this._filterState}set filterState(t){this._filterState=t}get hidden(){return this._hidden}set hidden(t){this._hidden=t}get visible(){return!this.hidden&&this.filterState>0}get collapsed(){return this._collapsed}set collapsed(t){this._collapsed=t}set parent(t){this._parent=t}get parent(){return this._parent}set children(t){this._children=t,this._count=Math.max(this._count||0,this._children.length)}get children(){return this._children}get hasChildren(){return this._children.length>0||this._count>0}set count(t){this._count=t}get isLoaded(){return null==this._count||this._count<=this._children.length}get isPartialyLoaded(){return this._children.length>0&&this._count>this._children.length}get hasParent(){return!!this.parent&&this.parent.level>-1}get firstChild(){return this.children[0]}get lastChild(){return this.children[this.children.length-1]}addChild(t){this._children.push(t),t.parent=this,t.level=this.level+1,this._count=Math.max(this._count||0,this._children.length)}insertChildren(t,e){this._children.splice(e,0,...t),t.forEach((t=>{t.parent=this,t.level=this.level+1})),this._count=Math.max(this._count||0,this._children.length)}deleteChildren(t,e){if(Array.isArray(t)){const e=new Set;t.forEach((t=>{t.parent=null,e.add(t)})),this._children=this._children.filter((t=>!e.has(t))),this._count-=t.length}else e=e||1,this._children.splice(t,e),this._count-=e}expand(t){this._collapsed=!1,t&&this.hasChildren&&this.walk((t=>t.hidden=!1))}collapse(){this._collapsed=!0}toggleCollapse(t=!1,e){const i=this._collapsed;i?this.expand(e):this.collapse(),t&&(i?this.walk((t=>t.expand(e))):this.walk((t=>t.collapse())))}clearChildren(){this._children.forEach((t=>t.parent=null)),this._children=[],this._count=null}walk(t){this._children.forEach((e=>{!1!==t(e)&&e.walk(t)}))}walkVisible(t){this._children.forEach((e=>{e.visible&&(!1===t(e)||e.collapsed)||e.walkVisible(t)}))}walkUp(t){this._parent&&!1!==t(this._parent)&&this._parent.walkUp(t)}_sort(t){this.hasChildren&&(this._children.sort(t),this._children.forEach((e=>e._sort(t))))}sort(t){this._sort(((e,i)=>e.sortable&&i.sortable?t(e,i):e.index-i.index))}}}function $r(t,e,i){const o=[[e,-1]];let r,s=-1,n=-1,a=0;return i?.reverse&&(t=[...t].reverse()),e._children=[],e._parent=null,t.forEach((t=>{for(t._children=[],t._parent=null,a=t.level+e.level+1,r&&s<a&&o.push([r,s]);o[o.length-1][1]>=a;)o.pop();s=a,o[o.length-1][0].addChild(t),n=Math.max(n,t.level+(t.hasChildren?1:0)),r=t})),n}function Ar(t,e){let i=-1;return t.forEach((i=>{(null==i.parentIndex?e:t[i.parentIndex]).addChild(i)})),e.walk((t=>{t.level=t.parent?t.parent.level+1:0,i=Math.max(i,t.level)})),i}function Dr(t,e){return t.length>0?null==t[0].level?Ar(t,e):$r(t,e):-1}function Or(t,e=.15){return V()(t).lighten(e).hex().toString()}function Nr(t,e=.15){return V()(t).darken(e).hex().toString()}function Pr(t,e=.15){return V()(t).alpha(e).hexa().toString()}function jr(t){const e=V()(t);return e.red(255-e.red()).green(255-e.green()).blue(255-e.red()).hex().toString()}function Hr(t,e,i=.15){return V()(t).mix(V()(e),i).hex().toString()}function Fr(t){const e=V()(t);return.299*e.red()+.587*e.green()+.114*e.blue()>128?"#000000":"#FFFFFF"}function Br(t){try{return V()(t).hex().toString()}catch{return t}}function Wr(t){return t&&"#"==t[0]?t.substring(1):t}function Vr(t){return t&&"#"!=t[0]?"#"+t:t}class Ur extends Event{constructor(t,e,i=null,o={}){super(`${t}.action${(o=Object.assign({common:!0,composed:!0,bubbles:!0},o)).common?"":`.${e.key}`}`,o),this.scope=t,this.action=e,this.args=i}}function Gr(t,e,i,o=null,r=null){t.dispatchEvent(new Ur(e,i,o,Object.assign({common:!1},r))),t.dispatchEvent(new Ur(e,i,o,Object.assign({common:!0},r)))}function qr(t){return t.map((t=>[...t].reverse()))}function Yr(t){return t.map((t=>[...t])).reverse()}function Zr(t){const e=Array(t[0].length).fill(null).map((()=>Array(t.length)));for(let i=0;i<t.length;i++)for(let o=0;o<t[i].length;o++)e[o][i]=t[i][o];return e}function Xr(t){return t.map((t=>[...t]))}class Qr extends Event{constructor(t={}){Z(t)?(super(t.type??"change"),this.value=t.value,this.oldValue=t.oldValue):(super("change"),this.value=t)}}class Kr extends Event{constructor(t={}){super("add"),Z(t)?Object.assign(this,t):this.value=t}}class Jr extends Event{constructor(t){super("serialize"),this.data=t}}const ts={Letter:{width:215.9,height:279.4},Tabloid:{width:279.4,height:431.8},Legal:{width:215.9,height:355.6},Executive:{width:184.15,height:266.7},A3:{width:297,height:420},A4:{width:210,height:297},A5:{width:148,height:210},A6:{width:105,height:148},B4:{width:250,height:353},B5:{width:176,height:250},Folio:{width:215.9,height:330.2},Envelope:{width:104.8,height:241.3},Monarch:{width:98.4,height:190.5}};function es(){const t=window.innerWidth;return t<=768?"mobile":t>768&&t<=1024?"tablet":"desktop"}let is={};const os=t=>{t.locale&&Ro(t.locale),is=t},rs=()=>ot({locale:Lo(),formatLocale:Lo(),dateFormat:Yo(),fontSize:G.FONT_SIZE,systemDecimalSeparator:wr(Lo()),user:{id:"0",name:"Anonymous"}},is);function ss(t,e=null){const i=ot({},rs(),e,t);return i.dateFormatter=i.dateFormatter||Jo(i.locale,i.dateFormat),i}var ns,as,ls=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};class cs{}class hs{static async load(t,e){let i=(e=e||document).__ogid;i||(i=Math.random().toString(36).slice(2),e.__ogid=i);const o=`${i}-${t}`;if(ls(this,ns,"f",as)||function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===o?r.call(t,i):r?r.value=i:e.set(t,i)}(this,ns,new Map,"f",as),this.scripts||(this.scripts=new Map),!this.scripts.has(o))return new Promise(((i,r)=>{const s=ls(this,ns,"f",as).get(o)||[];if(s.push([i,r]),ls(this,ns,"f",as).set(o,s),s.length>1)return;const n=e.createElement("script");n.src=t,n.onload=()=>{ls(this,ns,"f",as).get(o).forEach((([t])=>t())),ls(this,ns,"f",as).delete(o)},n.onerror=t=>{const e=Q(t)?new Error(t):t;ls(this,ns,"f",as).get(o).forEach((([t,i])=>i(e))),ls(this,ns,"f",as).delete(o)},e.head.appendChild(n)}))}}ns=hs,as={value:void 0};class ds{constructor(t){this.data=t,this.next=null,this.prev=null}}class us{constructor(){this.head=null}insertAtEnd(t){const e=new ds(t);if(this.head){const t=e=>e.next?t(e.next):e,i=t(this.head);e.prev=i,i.next=e}else this.head=e;return e}insertInBegin(t){const e=new ds(t);return this.head?(this.head.prev=e,e.next=this.head,this.head=e):this.head=e,e}deleteNode(t){t.prev?t.prev.next=t.next:this.head=t.next}search(t){const e=i=>t(i.data)?i:i.next?e(i.next):null;return this.head?e(this.head):null}traverse(){const t=[];if(!this.head)return t;const e=i=>(t.push(i.data),i.next?e(i.next):t);return e(this.head)}size(){return this.traverse().length}}class ps extends Event{constructor(t,e){super("shortcut",{cancelable:!0}),this.shortcut=t,this.action=e}}const gs={control:"ctrl"};class ms extends EventTarget{constructor(t){super(),this.target=t,this.shortcuts=new Map,this.stack=new Set,this._onKeyUp=()=>{this.reset()},this._onKeyDown=t=>{let e=t.key.toLowerCase();if(e in gs&&(e=gs[e]),this.stack.has(e))return;this.stack.add(e);const i=this.matchStack();null!=i&&(t.preventDefault(),t.stopImmediatePropagation(),this.reset(),this.dispatchEvent(new ps(i,this.shortcuts.get(i))))},t.addEventListener("keydown",this._onKeyDown),t.addEventListener("keyup",this._onKeyUp)}matchStack(){const t=[...this.stack.values()].join("+").toLowerCase();return this.shortcuts.has(t)?t:null}reset(){this.stack.clear()}register(t,e){this.shortcuts.set(t.toLowerCase(),e)}}const fs=globalThis,vs=fs.ShadowRoot&&(void 0===fs.ShadyCSS||fs.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,bs=Symbol(),ys=new WeakMap;class ws{constructor(t,e,i){if(this._$cssResult$=!0,i!==bs)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(vs&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=ys.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&ys.set(e,t))}return t}toString(){return this.cssText}}const xs=t=>new ws("string"==typeof t?t:t+"",void 0,bs),ks=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new ws(i,t,bs)},Cs=(t,e)=>{if(vs)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),o=fs.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}},Ms=vs?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return xs(e)})(t):t,{is:_s,defineProperty:Ss,getOwnPropertyDescriptor:zs,getOwnPropertyNames:Es,getOwnPropertySymbols:Ls,getPrototypeOf:Is}=Object,Rs=globalThis,Ts=Rs.trustedTypes,$s=Ts?Ts.emptyScript:"",As=Rs.reactiveElementPolyfillSupport,Ds=(t,e)=>t,Os={toAttribute(t,e){switch(e){case Boolean:t=t?$s:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},Ns=(t,e)=>!_s(t,e),Ps={attribute:!0,type:String,converter:Os,reflect:!1,hasChanged:Ns};Symbol.metadata??=Symbol("metadata"),Rs.litPropertyMetadata??=new WeakMap;class js extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ps){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Ss(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:r}=zs(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const s=o?.call(this);r.call(this,e),this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ps}static _$Ei(){if(this.hasOwnProperty(Ds("elementProperties")))return;const t=Is(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ds("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ds("properties"))){const t=this.properties,e=[...Es(t),...Ls(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(Ms(t))}else void 0!==t&&e.push(Ms(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Cs(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){const i=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,i);if(void 0!==o&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:Os).toAttribute(e,i.type);this._$Em=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$Em=null}}_$AK(t,e){const i=this.constructor,o=i._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=i.getPropertyOptions(o),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Os;this._$Em=o,this[o]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??Ns)(this[t],e))return;this.P(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t)!0!==i.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],i)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}js.elementStyles=[],js.shadowRootOptions={mode:"open"},js[Ds("elementProperties")]=new Map,js[Ds("finalized")]=new Map,As?.({ReactiveElement:js}),(Rs.reactiveElementVersions??=[]).push("2.0.4");const Hs=globalThis,Fs=Hs.trustedTypes,Bs=Fs?Fs.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ws="$lit$",Vs=`lit$${Math.random().toFixed(9).slice(2)}$`,Us="?"+Vs,Gs=`<${Us}>`,qs=document,Ys=()=>qs.createComment(""),Zs=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Xs=Array.isArray,Qs=t=>Xs(t)||"function"==typeof t?.[Symbol.iterator],Ks="[ \t\n\f\r]",Js=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,tn=/-->/g,en=/>/g,on=RegExp(`>|${Ks}(?:([^\\s"'>=/]+)(${Ks}*=${Ks}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),rn=/'/g,sn=/"/g,nn=/^(?:script|style|textarea|title)$/i,an=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),ln=an(1),cn=an(2),hn=Symbol.for("lit-noChange"),dn=Symbol.for("lit-nothing"),un=new WeakMap,pn=qs.createTreeWalker(qs,129);function gn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Bs?Bs.createHTML(e):e}const mn=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=Js;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(n.lastIndex=h,l=n.exec(i),null!==l);)h=n.lastIndex,n===Js?"!--"===l[1]?n=tn:void 0!==l[1]?n=en:void 0!==l[2]?(nn.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=on):void 0!==l[3]&&(n=on):n===on?">"===l[0]?(n=r??Js,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?on:'"'===l[3]?sn:rn):n===sn||n===rn?n=on:n===tn||n===en?n=Js:(n=on,r=void 0);const d=n===on&&t[e+1].startsWith("/>")?" ":"";s+=n===Js?i+Gs:c>=0?(o.push(a),i.slice(0,c)+Ws+i.slice(c)+Vs+d):i+Vs+(-2===c?e:d)}return[gn(t,s+(t[i]||"<?>")+(2===e?"</svg>":"")),o]};class fn{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[l,c]=mn(t,e);if(this.el=fn.createElement(l,i),pn.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=pn.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(Ws)){const e=c[s++],i=o.getAttribute(t).split(Vs),n=/([.?@])?(.*)/.exec(e);a.push({type:1,index:r,name:n[2],strings:i,ctor:"."===n[1]?xn:"?"===n[1]?kn:"@"===n[1]?Cn:wn}),o.removeAttribute(t)}else t.startsWith(Vs)&&(a.push({type:6,index:r}),o.removeAttribute(t));if(nn.test(o.tagName)){const t=o.textContent.split(Vs),e=t.length-1;if(e>0){o.textContent=Fs?Fs.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],Ys()),pn.nextNode(),a.push({type:2,index:++r});o.append(t[e],Ys())}}}else if(8===o.nodeType)if(o.data===Us)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(Vs,t+1));)a.push({type:7,index:r}),t+=Vs.length-1}r++}}static createElement(t,e){const i=qs.createElement("template");return i.innerHTML=t,i}}function vn(t,e,i=t,o){if(e===hn)return e;let r=void 0!==o?i._$Co?.[o]:i._$Cl;const s=Zs(e)?void 0:e._$litDirective$;return r?.constructor!==s&&(r?._$AO?.(!1),void 0===s?r=void 0:(r=new s(t),r._$AT(t,i,o)),void 0!==o?(i._$Co??=[])[o]=r:i._$Cl=r),void 0!==r&&(e=vn(t,r._$AS(t,e.values),r,o)),e}class bn{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,o=(t?.creationScope??qs).importNode(e,!0);pn.currentNode=o;let r=pn.nextNode(),s=0,n=0,a=i[0];for(;void 0!==a;){if(s===a.index){let e;2===a.type?e=new yn(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new Mn(r,this,t)),this._$AV.push(e),a=i[++n]}s!==a?.index&&(r=pn.nextNode(),s++)}return pn.currentNode=qs,o}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class yn{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=dn,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=vn(this,t,e),Zs(t)?t===dn||null==t||""===t?(this._$AH!==dn&&this._$AR(),this._$AH=dn):t!==this._$AH&&t!==hn&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):Qs(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==dn&&Zs(this._$AH)?this._$AA.nextSibling.data=t:this.T(qs.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,o="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=fn.createElement(gn(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new bn(o,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=un.get(t.strings);return void 0===e&&un.set(t.strings,e=new fn(t)),e}k(t){Xs(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new yn(this.S(Ys()),this.S(Ys()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class wn{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,r){this.type=1,this._$AH=dn,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=dn}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=vn(this,t,e,0),s=!Zs(t)||t!==this._$AH&&t!==hn,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=vn(this,o[i+n],e,n),a===hn&&(a=this._$AH[n]),s||=!Zs(a)||a!==this._$AH[n],a===dn?t=dn:t!==dn&&(t+=(a??"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===dn?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class xn extends wn{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===dn?void 0:t}}class kn extends wn{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==dn)}}class Cn extends wn{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){if((t=vn(this,t,e,0)??dn)===hn)return;const i=this._$AH,o=t===dn&&i!==dn||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==dn&&(i===dn||o);o&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Mn{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){vn(this,t)}}const _n={P:Ws,A:Vs,C:Us,M:1,L:mn,R:bn,D:Qs,V:vn,I:yn,H:wn,N:kn,U:Cn,B:xn,F:Mn},Sn=Hs.litHtmlPolyfillSupport;Sn?.(fn,yn),(Hs.litHtmlVersions??=[]).push("3.1.3");const zn=(t,e,i)=>{const o=i?.renderBefore??e;let r=o._$litPart$;if(void 0===r){const t=i?.renderBefore??null;o._$litPart$=r=new yn(e.insertBefore(Ys(),t),t,void 0,i??{})}return r._$AI(t),r};class En extends js{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=zn(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return hn}}En._$litElement$=!0,En.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:En});const Ln=globalThis.litElementPolyfillSupport;Ln?.({LitElement:En}),(globalThis.litElementVersions??=[]).push("4.0.5");const In=t=>(e,i)=>{void 0!==i?i.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},Rn={attribute:!0,type:String,converter:Os,reflect:!1,hasChanged:Ns},Tn=(t=Rn,e,i)=>{const{kind:o,metadata:r}=i;let s=globalThis.litPropertyMetadata.get(r);if(void 0===s&&globalThis.litPropertyMetadata.set(r,s=new Map),s.set(i.name,t),"accessor"===o){const{name:o}=i;return{set(i){const r=e.get.call(this);e.set.call(this,i),this.requestUpdate(o,r,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===o){const{name:o}=i;return function(i){const r=this[o];e.call(this,i),this.requestUpdate(o,r,t)}}throw Error("Unsupported decorator location: "+o)};function $n(t){return(e,i)=>"object"==typeof i?Tn(t,e,i):((t,e,i)=>{const o=e.hasOwnProperty(i);return e.constructor.createProperty(i,o?{...t,wrapped:!0}:t),o?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)}function An(t){return $n({...t,state:!0,attribute:!1})}const Dn=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i);function On(t,e){return(i,o,r)=>{const s=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof o?i:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Dn(i,o,{get(){let i=t.call(this);return void 0===i&&(i=s(this),(null!==i||this.hasUpdated)&&e.call(this,i)),i}})}return Dn(i,o,{get(){return s(this)}})}}let Nn;function Pn(t){return(e,i)=>Dn(e,i,{get(){return(this.renderRoot??(Nn??=document.createDocumentFragment())).querySelectorAll(t)}})}function*jn(t,e){if(void 0!==t){let i=0;for(const o of t)yield e(o,i++)}}const Hn=ks`
|
|
2
|
+
(()=>{var t={5697:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-center",icon:[448,512,[],"f037","M112 48c-8.8 0-16 7.2-16 16s7.2 16 16 16l224 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L112 48zM16 176c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 176zM96 320c0 8.8 7.2 16 16 16l224 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-224 0c-8.8 0-16 7.2-16 16zM16 432c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 432z"]},e.mw},7069:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-left",icon:[448,512,[],"f036","M16 48C7.2 48 0 55.2 0 64S7.2 80 16 80l256 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 48zm0 128c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 176zM0 320c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 304c-8.8 0-16 7.2-16 16zM16 432c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 432z"]},e.mw},4716:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"align-right",icon:[448,512,[],"f038","M432 48c8.8 0 16 7.2 16 16s-7.2 16-16 16L176 80c-8.8 0-16-7.2-16-16s7.2-16 16-16l256 0zm0 128c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 208c-8.8 0-16-7.2-16-16s7.2-16 16-16l416 0zm16 144c0 8.8-7.2 16-16 16l-256 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l256 0c8.8 0 16 7.2 16 16zM432 432c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 464c-8.8 0-16-7.2-16-16s7.2-16 16-16l416 0z"]},e.mw},5890:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"angle-down",icon:[384,512,[8964],"f107","M180.7 363.3c6.2 6.2 16.4 6.2 22.6 0l160-160c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 329.4 43.3 180.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l160 160z"]},e.mw},3874:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"angle-right",icon:[256,512,[8250],"f105","M235.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-160 160c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L201.4 256 52.7 107.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l160 160z"]},e.mw},2907:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"angle-up",icon:[384,512,[8963],"f106","M180.7 148.7c6.2-6.2 16.4-6.2 22.6 0l160 160c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L192 182.6 43.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l160-160z"]},e.mw},3976:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-down",icon:[384,512,[8595],"f063","M180.7 507.3c6.2 6.2 16.4 6.2 22.6 0l176-176c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L208 457.4 208 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 441.4-148.7-148.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l176 176z"]},e.mw},9801:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-left",icon:[512,512,[8592],"f060","M4.7 244.7c-6.2 6.2-6.2 16.4 0 22.6l176 176c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L54.6 272 496 272c8.8 0 16-7.2 16-16s-7.2-16-16-16L54.6 240 203.3 91.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-176 176z"]},e.mw},2464:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-right",icon:[512,512,[8594],"f061","M507.3 267.3c6.2-6.2 6.2-16.4 0-22.6l-176-176c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L457.4 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l441.4 0-148.7 148.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l176-176z"]},e.mw},5815:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-turn-down",icon:[384,512,["level-down"],"f149","M16 32C7.2 32 0 24.8 0 16S7.2 0 16 0l96 0c53 0 96 43 96 96l0 361.4 116.7-116.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-144 144c-3 3-7.1 4.7-11.3 4.7s-8.3-1.7-11.3-4.7l-144-144c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L176 457.4 176 96c0-35.3-28.7-64-64-64L16 32z"]},e.mw},7917:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrow-up",icon:[384,512,[8593],"f062","M203.3 12.7c-6.2-6.2-16.4-6.2-22.6 0l-176 176c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L176 62.6 176 504c0 8.8 7.2 16 16 16s16-7.2 16-16l0-441.4 148.7 148.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-176-176z"]},e.mw},3512:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="arrows-rotate",o=[128472,"refresh","sync"],r="f021",s="M32.5 241.1C36 188.8 57.7 137.6 97.6 97.6 141.3 53.9 198.6 32 256 32 318 32 377.2 57.5 419.8 102.6L458.9 144 352 144c-8.8 0-16 7.2-16 16s7.2 16 16 16l144 0c8.8 0 16-7.2 16-16l0-144c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 103.8-37-39.1C394.4 29.2 326.8 0 256 0 190.5 0 125 25 75 75 29.3 120.6 4.5 179.2 .6 238.9 0 247.8 6.7 255.4 15.5 256s16.4-6.1 17-14.9zm447 29.9c-3.5 52.3-25.2 103.5-65.1 143.4-43.7 43.7-101 65.6-158.4 65.6-62 0-121.2-25.5-163.8-70.6L53.1 368 160 368c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 336c-8.8 0-16 7.2-16 16L0 496c0 8.8 7.2 16 16 16s16-7.2 16-16l0-103.8 37 39.1c48.6 51.5 116.3 80.6 187 80.6 65.5 0 131-25 181-75 45.6-45.6 70.4-104.3 74.4-164 .6-8.8-6.1-16.4-14.9-17s-16.4 6.1-17 14.9z";e.definition={prefix:"fal",iconName:i,icon:[512,512,o,r,s]},e.faArrowsRotate=e.definition,e.prefix="fal",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=s,e.aliases=o},5511:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"arrows-to-dot",icon:[512,512,[],"e4be","M272 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 121.4-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L272 137.4 272 16zm16 240a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm59.3 171.3c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0l-80 80c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L240 374.6 240 496c0 8.8 7.2 16 16 16s16-7.2 16-16l0-121.4 52.7 52.7c6.2 6.2 16.4 6.2 22.6 0zM84.7 164.7c-6.2 6.2-6.2 16.4 0 22.6L137.4 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l121.4 0-52.7 52.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0zm342.6 0c-6.2-6.2-16.4-6.2-22.6 0l-80 80c-6.2 6.2-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L374.6 272 496 272c8.8 0 16-7.2 16-16s-7.2-16-16-16l-121.4 0 52.7-52.7c6.2-6.2 6.2-16.4 0-22.6z"]},e.mw},7455:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 80c0-8.8 7.2-16 16-16l416 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 96C7.2 96 0 88.8 0 80zM0 256c0-8.8 7.2-16 16-16l416 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 272c-8.8 0-16-7.2-16-16zM448 432c0 8.8-7.2 16-16 16L16 448c-8.8 0-16-7.2-16-16s7.2-16 16-16l416 0c8.8 0 16 7.2 16 16z"]},e.mw},2366:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"bold",icon:[384,512,[],"f032","M16 32C7.2 32 0 39.2 0 48S7.2 64 16 64l48 0 0 384-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l240 0c70.7 0 128-57.3 128-128 0-52.8-32-98.2-77.7-117.7 27.7-20.4 45.7-53.2 45.7-90.3 0-61.9-50.1-112-112-112L16 32zM96 448l0-192 160 0c53 0 96 43 96 96s-43 96-96 96L96 448zM96 64l144 0c44.2 0 80 35.8 80 80s-35.8 80-80 80L96 224 96 64z"]},e.mw},7284:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"book",icon:[448,512,[128212],"f02d","M0 64C0 28.7 28.7 0 64 0L400 0c26.5 0 48 21.5 48 48l0 320c0 20.9-13.4 38.7-32 45.3l0 66.7 16 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L64 512c-35.3 0-64-28.7-64-64l0 0 0-384zM64 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l320 0 0-64-320 0zM32 392.6c9.4-5.4 20.3-8.6 32-8.6l336 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 32C46.3 32 32 46.3 32 64l0 328.6zM144 128l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 96l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},2409:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"building",icon:[384,512,[127970,61687],"f1ad","M64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l64 0 0-80c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 80 64 0c17.7 0 32-14.3 32-32l0-384c0-17.7-14.3-32-32-32L64 32zm96 448l64 0 0-80c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16l0 80zm-32 32l-64 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L320 0c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64l-192 0zm96-384c0-8.8 7.2-16 16-16l16 0c8.8 0 16 7.2 16 16l0 16c0 8.8-7.2 16-16 16l-16 0c-8.8 0-16-7.2-16-16l0-16zm16 96l16 0c8.8 0 16 7.2 16 16l0 16c0 8.8-7.2 16-16 16l-16 0c-8.8 0-16-7.2-16-16l0-16c0-8.8 7.2-16 16-16zM112 128c0-8.8 7.2-16 16-16l16 0c8.8 0 16 7.2 16 16l0 16c0 8.8-7.2 16-16 16l-16 0c-8.8 0-16-7.2-16-16l0-16zm16 96l16 0c8.8 0 16 7.2 16 16l0 16c0 8.8-7.2 16-16 16l-16 0c-8.8 0-16-7.2-16-16l0-16c0-8.8 7.2-16 16-16z"]},e.mw},1686:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-down",icon:[384,512,[],"f0d7","M192 352L32 192 352 192 192 352zM381.6 179.8c-5-12-16.6-19.8-29.6-19.8L32 160c-12.9 0-24.6 7.8-29.6 19.8S.2 205.5 9.4 214.6l160 160c12.5 12.5 32.8 12.5 45.3 0l160-160c9.2-9.2 11.9-22.9 6.9-34.9z"]},e.mw},703:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-left",icon:[256,512,[],"f0d9","M32 256L192 96 192 416 32 256zM204.2 445.6c12-5 19.8-16.6 19.8-29.6l0-320c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c9.2 9.2 22.9 11.9 34.9 6.9z"]},e.mw},6606:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-right",icon:[256,512,[],"f0da","M224.5 256l-160 160 0-320 160 160zM52.3 66.4c-12 5-19.8 16.6-19.8 29.6l0 320c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160C78 64.2 64.2 61.5 52.3 66.4z"]},e.mw},1175:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"caret-up",icon:[384,512,[],"f0d8","M192 160l160 160-320 0 160-160zM2.4 332.2c5 12 16.6 19.8 29.6 19.8l320 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-160-160c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-9.2 9.2-11.9 22.9-6.9 34.9z"]},e.mw},4788:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 48c0-8.8-7.2-16-16-16S0 39.2 0 48L0 400c0 44.2 35.8 80 80 80l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 448c-26.5 0-48-21.5-48-48L32 48zM144 96l224 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L144 64c-8.8 0-16 7.2-16 16s7.2 16 16 16zm0 96c-8.8 0-16 7.2-16 16s7.2 16 16 16l160 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-160 0zm0 128c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0z"]},e.mw},5547:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-column",icon:[512,512,[],"e0e3","M16 32c8.8 0 16 7.2 16 16l0 352c0 26.5 21.5 48 48 48l416 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L80 480c-44.2 0-80-35.8-80-80L0 48c0-8.8 7.2-16 16-16zM144 256c8.8 0 16 7.2 16 16l0 96c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-96c0-8.8 7.2-16 16-16zM256 144l0 224c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-224c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 48c8.8 0 16 7.2 16 16l0 160c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-160c0-8.8 7.2-16 16-16zM448 80l0 288c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-288c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},e.mw},9467:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M32 48c0-8.8-7.2-16-16-16S0 39.2 0 48L0 400c0 44.2 35.8 80 80 80l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 448c-26.5 0-48-21.5-48-48L32 48zM475.3 155.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L320 265.4 235.3 180.7c-6.2-6.2-16.4-6.2-22.6 0l-112 112c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L224 214.6 308.7 299.3c6.2 6.2 16.4 6.2 22.6 0l144-144z"]},e.mw},9187:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M510 208C496.2 118.8 425.6 48.2 336.4 34.4l0 173.6 173.6 0zM224.4 69.6c-91.7 21.7-160 104.1-160 202.4 0 114.9 93.1 208 208 208 34.4 0 66.7-8.3 95.2-23L237.3 299.7c-8.3-10-12.9-22.7-12.9-35.7l0-194.4zM538.9 320l-139.3 0 82.9 100.1c27.4-27 47.3-61.5 56.4-100.1zm3.5-111.9c2.3 17.5-12.2 31.9-29.9 31.9l-176 0c-17.7 0-32-14.3-32-32l0-176c0-17.7 14.4-32.2 31.9-29.9 107 14.2 191.8 99 206 206zM256.4 66.7l0 197.3c0 5.6 2 11 5.5 15.3L394 438.7c11.7 14.1 9.2 35.4-6.9 44.1-34.1 18.6-73.2 29.2-114.7 29.2-132.5 0-240-107.5-240-240 0-115.5 81.5-211.9 190.2-234.8 18.1-3.8 33.8 11 33.8 29.5zM571.2 321.8c-10.2 48.4-35 91.4-69.6 124.2-12.3 11.7-31.6 9.2-42.4-3.9L374.9 340.4c-17.3-20.9-2.4-52.4 24.6-52.4l142.2 0c18.5 0 33.3 15.7 29.5 33.8z"]},e.mw},8811:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chart-simple",icon:[512,512,[],"e473","M272 64c8.8 0 16 7.2 16 16l0 352c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-352c0-8.8 7.2-16 16-16l32 0zM240 32c-26.5 0-48 21.5-48 48l0 352c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48l-32 0zM80 256c8.8 0 16 7.2 16 16l0 160c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-160c0-8.8 7.2-16 16-16l32 0zM48 224c-26.5 0-48 21.5-48 48L0 432c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-160c0-26.5-21.5-48-48-48l-32 0zm384-96l32 0c8.8 0 16 7.2 16 16l0 288c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-288c0-8.8 7.2-16 16-16zm-48 16l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0c-26.5 0-48 21.5-48 48z"]},e.mw},229:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441.4 67.1c7.1 5.2 8.7 15.2 3.5 22.4l-280 384c-2.8 3.8-7 6.2-11.7 6.5s-9.2-1.3-12.6-4.6l-136-136c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l122.8 122.8 269-368.9c5.2-7.1 15.2-8.7 22.4-3.5z"]},e.mw},9318:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-down",icon:[448,512,[],"f078","M235.3 411.3c-6.2 6.2-16.4 6.2-22.6 0l-208-208c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L224 377.4 420.7 180.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-208 208z"]},e.mw},4479:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-left",icon:[320,512,[9001],"f053","M4.7 267.3c-6.2-6.2-6.2-16.4 0-22.6l208-208c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L38.6 256 235.3 452.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-208-208z"]},e.mw},7294:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-right",icon:[320,512,[9002],"f054","M315.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-208 208c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L281.4 256 84.7 59.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l208 208z"]},e.mw},9111:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"chevron-up",icon:[448,512,[],"f077","M212.7 100.7c6.2-6.2 16.4-6.2 22.6 0l208 208c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L224 134.6 27.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l208-208z"]},e.mw},3514:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M480 256a224 224 0 1 0 -448 0 224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},9281:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-0",icon:[512,512,[],"e0ed","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-352c-44.2 0-80 35.8-80 80l0 32c0 44.2 35.8 80 80 80s80-35.8 80-80l0-32c0-44.2-35.8-80-80-80zm-48 80c0-26.5 21.5-48 48-48s48 21.5 48 48l0 32c0 26.5-21.5 48-48 48s-48-21.5-48-48l0-32z"]},e.mw},1394:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-1",icon:[512,512,[],"e0ee","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l16 0 0 128-32 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-144c0-8.8-7.2-16-16-16l-32 0z"]},e.mw},7295:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-2",icon:[512,512,[],"e0ef","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM208 161.3c-8.8 0-16 7.2-16 16s7.2 16 16 16l57.8 0c12.2 0 22.2 9.9 22.2 22.2 0 8.7-5.1 16.5-12.9 20.2l-36.4 16.7c-28.4 13-46.7 41.4-46.7 72.7l0 10.9c0 8.8 7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-79.7 0c1.8-16.7 12.2-31.5 27.7-38.6l36.4-16.7c19.3-8.8 31.6-28.1 31.6-49.2 0-29.9-24.3-54.2-54.2-54.2l-57.8 0z"]},e.mw},2936:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-3",icon:[512,512,[],"e0f0","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm16-272l-56 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l56 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-72 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l72 0c30.9 0 56-25.1 56-56 0-15.7-6.4-29.8-16.8-40 10.4-10.2 16.8-24.3 16.8-40 0-30.9-25.1-56-56-56l-72 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l72 0c13.3 0 24 10.7 24 24s-10.7 24-24 24z"]},e.mw},3789:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-4",icon:[512,512,[],"e0f1","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM192 160c-8.8 0-16 7.2-16 16l0 72c0 22.1 17.9 40 40 40l72 0 0 48c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48c8.8 0 16-7.2 16-16s-7.2-16-16-16l0-80c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 80-72 0c-4.4 0-8-3.6-8-8l0-72c0-8.8-7.2-16-16-16z"]},e.mw},3614:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-5",icon:[512,512,[],"e0f2","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm48-352l-96 0c-8.8 0-16 7.2-16 16l0 72c0 8.8 7.2 16 16 16l68 0c15.5 0 28 12.5 28 28s-12.5 28-28 28l-68 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l68 0c33.1 0 60-26.9 60-60s-26.9-60-60-60l-52 0 0-40 80 0c8.8 0 16-7.2 16-16s-7.2-16-16-16z"]},e.mw},4827:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-6",icon:[512,512,[],"e0f3","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm40-336c0-8.8-7.2-16-16-16l-32 0c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l16 0c35.3 0 64-28.7 64-64s-28.7-64-64-64l-16 0c-11.7 0-22.6 3.1-32 8.6l0-8.6c0-17.7 14.3-32 32-32l32 0c8.8 0 16-7.2 16-16zM248 320c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0z"]},e.mw},9204:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-7",icon:[512,512,[],"e0f4","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM208 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l82.5 0-87.9 135.3c-4.8 7.4-2.7 17.3 4.7 22.1s17.3 2.7 22.1-4.7l104-160c3.2-4.9 3.4-11.2 .6-16.4S325.9 160 320 160l-112 0z"]},e.mw},9113:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-8",icon:[512,512,[],"e0f5","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM192 216c0 13.8 5 26.4 13.2 36.1-12.9 10.3-21.2 26.1-21.2 43.9 0 30.9 25.1 56 56 56l32 0c30.9 0 56-25.1 56-56 0-17.8-8.3-33.6-21.2-43.9 8.2-9.8 13.2-22.4 13.2-36.1 0-30.9-25.1-56-56-56l-16 0c-30.9 0-56 25.1-56 56zm96 0c0 13.3-10.7 24-24 24l-16 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l16 0c13.3 0 24 10.7 24 24zm-48 56l32 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-32 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},4058:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-9",icon:[512,512,[],"e0f6","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM216 336c0 8.8 7.2 16 16 16l32 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64l-16 0c-35.3 0-64 28.7-64 64s28.7 64 64 64l16 0c11.7 0 22.6-3.1 32-8.6l0 8.6c0 17.7-14.3 32-32 32l-32 0c-8.8 0-16 7.2-16 16zm48-144c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0z"]},e.mw},1133:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-480a224 224 0 1 0 0 448 224 224 0 1 0 0-448zm83.1 134.6c5.2-7.1 15.2-8.7 22.3-3.5s8.7 15.2 3.5 22.3l-128 176c-2.8 3.8-7 6.2-11.7 6.5s-9.3-1.3-12.6-4.6l-64-64c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l50.7 50.7 117-160.8z"]},e.mw},6800:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-480a224 224 0 1 0 0 448 224 224 0 1 0 0-448zm0 352a24 24 0 1 1 0-48 24 24 0 1 1 0 48zm0-256c13.5 0 24.3 11.4 23.5 24.9l-7.6 136c-.5 8.5-7.5 15.1-16 15.1s-15.5-6.6-16-15.1l-7.6-136c-.8-13.5 10-24.9 23.5-24.9z"]},e.mw},1599:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M272 479.4l0-446.9C388.2 40.8 480 137.7 480 256S388.2 471.2 272 479.4zm-32 0C123.8 471.2 32 374.3 32 256S123.8 40.8 240 32.6l0 446.9zM256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512z"]},e.mw},6845:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-112c0-8.8-7.2-16-16-16l-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0 0 96-32 0zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},51:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm72.7-256L208 329.7 208 182.3 328.7 256zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9l0 176c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"]},e.mw},6521:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-quarter-stroke",icon:[512,512,[],"e5d3","M480 256C480 132.3 379.7 32 256 32l0 176c0 26.5-21.5 48-48 48L32 256c0 123.7 100.3 224 224 224S480 379.7 480 256zM224 34.3C125.9 48.3 48.3 125.9 34.3 224L208 224c8.8 0 16-7.2 16-16l0-173.7zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},8013:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M480 256a224 224 0 1 0 -448 0 224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zm256-96c-26.5 0-48 21.5-48 48 0 8.8-7.2 16-16 16s-16-7.2-16-16c0-44.2 35.8-80 80-80s80 35.8 80 80c0 39.6-25.7 60.3-46.2 70.1-11.5 5.5-17.8 14.5-17.8 22.2l0 5.7c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-5.7c0-24.6 18.3-42.6 36-51 14.5-6.9 28-18.8 28-41.2 0-26.5-21.5-48-48-48zM232 376a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},e.mw},362:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-radiation",icon:[512,512,[9762,"radiation-alt"],"f7ba","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM99.2 224c7.4-36.3 27.1-68.2 54.6-91.1l32.8 56.8c-9.3 9.7-16.5 21.3-21.1 34.3l-66.3 0zM200.5 406.1l32.8-56.8c7.3 1.8 14.9 2.7 22.7 2.7s15.4-.9 22.7-2.7l32.8 56.8c-17.3 6.4-36 9.9-55.5 9.9s-38.3-3.5-55.5-9.9zM412.8 224l-66.3 0c-4.6-13-11.8-24.6-21.1-34.3l32.8-56.8c27.5 22.9 47.2 54.8 54.6 91.1zM64.7 240c-.7 8.8 6.5 16 15.3 16l96 0c8.8 0 15.8-7.3 18-15.8 3.3-12.8 10.4-24.1 20.1-32.5 7-6.1 10.4-16.4 5.8-24.4l-47.6-82.5c-4.3-7.5-13.9-10.3-21.2-5.5-48.2 31.5-81.3 84.2-86.3 144.8zm146.4 83.7l-47.6 82.5c-4.3 7.5-1.9 17.2 5.8 21.1 26.1 13.2 55.5 20.7 86.8 20.7s60.7-7.4 86.8-20.7c7.7-3.9 10.1-13.6 5.8-21.1l-47.6-82.5c-4.7-8.1-15.3-10.3-24.1-7.2-6.5 2.2-13.5 3.5-20.8 3.5s-14.3-1.2-20.8-3.5c-8.8-3-19.4-.9-24.1 7.2zM336 256l96 0c8.8 0 16.1-7.2 15.3-16-5-60.6-38.1-113.2-86.3-144.8-7.3-4.8-16.8-2-21.2 5.5l-47.6 82.5c-4.7 8.1-1.3 18.3 5.8 24.4 9.7 8.4 16.8 19.7 20.1 32.5 2.2 8.6 9.1 15.8 18 15.8zm-80 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},e.mw},232:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-three-quarters-stroke",icon:[512,512,[],"e5d4","M477.7 288L272 288c-26.5 0-48-21.5-48-48l0-205.7C115.4 49.8 32 143.2 32 256 32 379.7 132.3 480 256 480 368.8 480 462.2 396.6 477.7 288zm2.3-32C480 132.3 379.7 32 256 32l0 208c0 8.8 7.2 16 16 16l208 0zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},3140:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM164.7 164.7c-6.2 6.2-6.2 16.4 0 22.6l68.7 68.7-68.7 68.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l68.7-68.7 68.7 68.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-68.7-68.7 68.7-68.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-68.7 68.7-68.7-68.7c-6.2-6.2-16.4-6.2-22.6 0z"]},e.mw},2884:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"code",icon:[576,512,[],"f121","M383.2 21.1c2.8-8.4-1.7-17.4-10.1-20.2s-17.4 1.7-20.2 10.1l-160 480c-2.8 8.4 1.7 17.4 10.1 20.2s17.4-1.7 20.2-10.1l160-480zM139.3 132.7c-6.2-6.2-16.4-6.2-22.6 0l-112 112c-6.2 6.2-6.2 16.4 0 22.6l112 112c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L38.6 256 139.3 155.3c6.2-6.2 6.2-16.4 0-22.6zm297.4 0c-6.2 6.2-6.2 16.4 0 22.6L537.4 256 436.7 356.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l112-112c6.2-6.2 6.2-16.4 0-22.6l-112-112c-6.2-6.2-16.4-6.2-22.6 0z"]},e.mw},2644:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"comment",icon:[512,512,[128489,61669],"f075","M76.8 364.8c8.1 10.1 9.4 24.1 3.2 35.4l-40.2 73.6 101-43.3c7.9-3.4 16.8-3.5 24.8-.2 27.6 11.3 58.2 17.6 90.4 17.6 125.7 0 224-95 224-208S381.7 32 256 32 32 127 32 240c0 46.7 16.5 89.8 44.8 124.8zM51.9 384.9C19.3 344.6 0 294.4 0 240 0 107.5 114.6 0 256 0S512 107.5 512 240 397.4 480 256 480c-36.5 0-71.2-7.2-102.6-20L37 509.9c-3.7 1.6-7.5 2.1-11.5 2.1-14.1 0-25.5-11.4-25.5-25.5 0-4.3 1.1-8.5 3.1-12.2l48.8-89.4z"]},e.mw},1988:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"copy",icon:[448,512,[],"f0c5","M160 64c0-17.7 14.3-32 32-32l132.1 0c8.5 0 16.6 3.4 22.6 9.4l59.9 59.9c6 6 9.4 14.1 9.4 22.6L416 320c0 17.7-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32l0-256zM192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-196.1c0-17-6.7-33.3-18.7-45.3L369.4 18.7C357.4 6.7 341.1 0 324.1 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-32 0 0 16c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l16 0 0-32-16 0z"]},e.mw},3245:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"dash",icon:[512,512,["minus-large"],"e404","M0 256c0-8.8 7.2-16 16-16l480 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 272c-8.8 0-16-7.2-16-16z"]},e.mw},4557:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"down",icon:[384,512,["arrow-alt-down"],"f354","M169.4 470.6c6.3 6.3 14.5 9.4 22.6 9.4s16.4-3.1 22.6-9.4l160-160c9.2-9.2 11.9-22.9 6.9-34.9S364.9 256 352 256l-96 0 0-176c0-26.5-21.5-48-48-48l-32 0c-26.5 0-48 21.5-48 48l0 176-96 0c-12.9 0-24.6 7.8-29.6 19.8S.2 301.5 9.4 310.6l0 0 160 160zM352 288L192 448 32 288 144 288c8.8 0 16-7.2 16-16l0-192c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 192c0 8.8 7.2 16 16 16l112 0z"]},e.mw},7535:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"down-right",icon:[448,512,[],"e16b","M384.2 416l0-265.4-84.7 84.7c-6.2 6.2-16.4 6.2-22.6 0L123.6 81.9c-6.2-6.2-16.4-6.2-22.6 0L50.2 132.7c-6.2 6.2-6.2 16.4 0 22.6L203.6 308.7c6.2 6.2 6.2 16.4 0 22.6l-84.7 84.7 265.4 0zm32 8c0 13.3-10.7 24-24 24l-273.4 0c-28.5 0-42.8-34.5-22.6-54.6L169.6 320 27.6 177.9c-18.7-18.7-18.7-49.1 0-67.9L78.3 59.3c18.7-18.7 49.1-18.7 67.9 0L288.2 201.4 361.6 128c20.2-20.2 54.6-5.9 54.6 22.6l0 273.4z"]},e.mw},5789:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"download",icon:[448,512,[],"f019","M240 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 281.4-84.7-84.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l112 112c6.2 6.2 16.4 6.2 22.6 0l112-112c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L240 297.4 240 16zM85.5 288L64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64l-21.5 0-32 32 53.5 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32L64 448c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l53.5 0-32-32zM368 384a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"]},e.mw},4118:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M448 256a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zm-192 0a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM32 288a32 32 0 1 1 0-64 32 32 0 1 1 0 64z"]},e.mw},9200:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"ellipsis-vertical",icon:[64,512,["ellipsis-v"],"f142","M32 416c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm0-192c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zM0 64A32 32 0 1 1 64 64 32 32 0 1 1 0 64z"]},e.mw},9800:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"exclamation",icon:[64,512,[10069,10071,61738],"21","M32 464c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zM32 0C45.4 0 56.1 11 55.8 24.4L48 368.4c-.2 8.7-7.3 15.6-16 15.6s-15.8-6.9-16-15.6L8.2 24.4C7.9 11 18.6 0 32 0z"]},e.mw},6880:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"eye",icon:[576,512,[128065],"f06e","M288 64c-140.8 0-229.3 128-256 192 26.7 64 115.2 192 256 192 140.8 0 229.3-128 256-192-26.7-64-115.2-192-256-192zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1 3.3 7.9 3.3 16.7 0 24.6-14.9 35.7-46.2 87.7-93 131.1-47.1 43.7-111.8 80.6-192.6 80.6S142.5 443.2 95.4 399.4c-46.8-43.5-78.1-95.4-93-131.1-3.3-7.9-3.3-16.7 0-24.6 14.9-35.7 46.2-87.7 93-131.1zM288 352c53 0 96-43 96-96 0-43.3-28.7-79.9-68.1-91.9 2.7 8.8 4.1 18.2 4.1 27.9 0 53-43 96-96 96-9.7 0-19.1-1.4-27.9-4.1 11.9 39.4 48.6 68.1 91.9 68.1zM160.2 263.8c-.2-2.6-.2-5.2-.2-7.8 0-12.2 1.7-23.9 4.9-35 .3-.9 .5-1.8 .8-2.7 12.4-40.4 44.3-72.2 84.7-84.7 11.9-3.7 24.6-5.6 37.7-5.6 2.5 0 5 .1 7.4 .2l.4 0c67.1 4 120.2 59.7 120.2 127.8 0 70.7-57.3 128-128 128-68.1 0-123.8-53.2-127.8-120.2zm32.1-16.1c9.3 5.3 20.1 8.4 31.6 8.4 35.3 0 64-28.7 64-64 0-11.5-3-22.3-8.4-31.6-46.4 4-83.3 40.9-87.3 87.3z"]},e.mw},1840:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"eye-slash",icon:[576,512,[],"f070","M27.3-27.2c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l544 544c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L466.4 411.9c4.9-4.1 9.6-8.2 14.1-12.5 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-60 0-111.1 20.3-152.8 48.7L27.3-27.2zm131 131c36.4-23.7 79.7-39.8 129.7-39.8 140.8 0 229.3 128 256 192-13.3 32-42.1 80-85.2 120-4.9 4.5-9.9 8.9-15.1 13.2l-54.6-54.6c16.9-21.7 26.9-48.9 26.9-78.5 0-70.7-57.3-128-128-128-29.6 0-56.9 10-78.5 26.9l-51.2-51.2zM366.2 311.7L232.3 177.8c15.7-11.2 34.9-17.8 55.7-17.8 53 0 96 43 96 96 0 20.8-6.6 40-17.8 55.7zM74.8 133.3c-35.5 38.5-59.7 80.2-72.3 110.4-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 40.6 0 77.1-9.3 109.4-24.1L373 431.5c-25.8 10.3-54.1 16.5-85 16.5-140.8 0-229.3-128-256-192 11.2-26.8 33.2-64.9 65.4-100.1L74.8 133.3z"]},e.mw},6228:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"fill",icon:[512,512,[],"f575","M296 32c15.4 0 30.1 6.1 41 17L463 175c10.9 10.9 17 25.6 17 41s-6.1 30.1-17 41l-31 31-399.4 0c1.7-12.4 7.5-24 16.4-33l107.7-107.7 72 72c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-72-72 75.7-75.7c10.9-10.9 25.6-17 41-17zM134.1 124.7L26.3 232.4C9.5 249.3 0 272.1 0 296s9.5 46.7 26.3 63.6L152.4 485.7C169.3 502.5 192.1 512 216 512s46.7-9.5 63.6-26.3L485.7 279.6C502.5 262.7 512 239.9 512 216s-9.5-46.7-26.3-63.6L359.6 26.3C342.7 9.5 319.9 0 296 0s-46.7 9.5-63.6 26.3l-75.7 75.7-65.4-65.4c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l65.4 65.4zM49 337c-5-5-8.9-10.7-11.8-17L400 320 257 463c-10.9 10.9-25.6 17-41 17s-30.1-6.1-41-17L49 337z"]},e.mw},3091:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"filter",icon:[512,512,[],"f0b0","M2.4 83.8C7.4 71.8 19.1 64 32 64l448 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9L320 301.3 320 480c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-64-64c-6-6-9.4-14.1-9.4-22.6L192 301.3 9.4 118.6C.2 109.5-2.5 95.7 2.4 83.8zM480 96L32 96 219.3 283.3c3 3 4.7 7.1 4.7 11.3l0 121.4 64 64 0-185.4c0-4.2 1.7-8.3 4.7-11.3L480 96z"]},e.mw},3771:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"flag-pennant",icon:[448,512,[128681,"pennant"],"f456","M32 16C32 7.2 24.8 0 16 0S0 7.2 0 16L0 496c0 8.8 7.2 16 16 16s16-7.2 16-16l0-145.1 400.9-137.7c9.1-3.1 15.1-11.6 15.1-21.2s-6.1-18.1-15.1-21.2L32 33.1 32 16zm0 50.9L396.1 192 32 317.1 32 66.9z"]},e.mw},1493:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="floppy-disk",o=[128190,128426,"save"],r="f0c7",s="M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-242.7c0-8.5-3.4-16.6-9.4-22.6L329.4 73.4c-2.7-2.7-5.9-4.9-9.4-6.5L320 176c0 17.7-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32l0-112-32 0zm64 0l0 112 160 0 0-112-160 0zM0 96C0 60.7 28.7 32 64 32l242.7 0c17 0 33.3 6.7 45.3 18.7L429.3 128c12 12 18.7 28.3 18.7 45.3L448 416c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM256 320a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm-96 0a64 64 0 1 1 128 0 64 64 0 1 1 -128 0z";e.definition={prefix:"fal",iconName:i,icon:[448,512,o,r,s]},e.faFloppyDisk=e.definition,e.prefix="fal",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=s,e.aliases=o},3093:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M64 416l384 0c17.7 0 32-14.3 32-32l0-240c0-17.7-14.3-32-32-32l-149.3 0c-13.8 0-27.3-4.5-38.4-12.8L221.9 70.4c-5.5-4.2-12.3-6.4-19.2-6.4L64 64C46.3 64 32 78.3 32 96l0 288c0 17.7 14.3 32 32 32zm384 32L64 448c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l138.7 0c13.8 0 27.3 4.5 38.4 12.8l38.4 28.8c5.5 4.2 12.3 6.4 19.2 6.4L448 80c35.3 0 64 28.7 64 64l0 240c0 35.3-28.7 64-64 64z"]},e.mw},5029:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M97.5 416c-10.8 0-18.5-10.5-15.3-20.8l50-160c2.1-6.7 8.3-11.2 15.3-11.2L527 224c10.8 0 18.5 10.5 15.3 20.8l-50 160C490.1 411.5 484 416 477 416L97.5 416zm126.7 32L477 448c21 0 39.6-13.6 45.8-33.7l50-160c9.7-30.9-13.4-62.3-45.8-62.3l-379.4 0c-21 0-39.6 13.6-45.8 33.7L64.2 345.6 64.2 96c0-17.7 14.3-32 32-32l138.7 0c6.9 0 13.7 2.2 19.2 6.4l38.4 28.8c11.1 8.3 24.6 12.8 38.4 12.8l117.3 0c17.7 0 32 14.3 32 32l32 0c0-35.3-28.7-64-64-64L330.9 80c-6.9 0-13.7-2.2-19.2-6.4L273.3 44.8C262.2 36.5 248.8 32 234.9 32L96.2 32c-35.3 0-64 28.7-64 64l0 288c0 35.3 28.7 64 64 64l128 0z"]},e.mw},2872:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"font",icon:[512,512,[],"f031","M256 32c6.4 0 12.2 3.8 14.7 9.8L442.6 448 480 448c8.8 0 16 7.2 16 16s-7.2 16-16 16l-112 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l39.9 0-40.6-96-222.5 0-40.6 96 39.9 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L32 480c-8.8 0-16-7.2-16-16s7.2-16 16-16l37.4 0 171.9-406.2c2.5-5.9 8.3-9.8 14.7-9.8zM158.3 320L353.7 320 256 89.1 158.3 320z"]},e.mw},62:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M185.9 112.3c-6.5 3.2-12.8 6.8-18.8 10.9-8.2 5.5-18.5 6.9-28 3.8L67.4 103.2 29.5 168.8 86 219.1c7.4 6.6 11.3 16.2 10.7 26.1-.5 7.2-.5 14.6 0 21.8 .7 9.9-3.3 19.5-10.7 26.1l-56.5 50.2 37.9 65.7 71.7-23.8c9.4-3.1 19.7-1.7 28 3.8 6 4 12.3 7.7 18.8 10.9 8.9 4.4 15.2 12.6 17.2 22.3l15.2 74 75.8 0 15.2-74c2-9.7 8.4-17.9 17.2-22.3 6.5-3.2 12.8-6.8 18.8-10.9 8.2-5.5 18.5-6.9 28-3.8l71.7 23.8 37.9-65.7-56.5-50.2c-7.4-6.6-11.3-16.2-10.7-26.1 .2-3.6 .4-7.2 .4-10.9s-.1-7.3-.4-10.9c-.7-9.9 3.3-19.5 10.7-26.1l56.5-50.2-37.9-65.7-71.7 23.8c-9.4 3.1-19.7 1.7-28-3.8-6-4-12.3-7.7-18.8-10.9-8.9-4.4-15.2-12.6-17.2-22.3l-15.2-74-75.8 0-15.2 74c-2 9.7-8.4 17.9-17.2 22.3zM294.2-16c15.2 0 28.3 10.7 31.3 25.5l15.2 74c7.8 3.8 15.4 8.2 22.6 13.1l71.7-23.8c14.4-4.8 30.2 1.2 37.8 14.4l37.9 65.7c7.6 13.2 4.9 29.8-6.5 39.9L447.9 243c.6 8.6 .6 17.5 0 26l56.5 50.2c11.4 10.1 14 26.8 6.5 39.9l-37.9 65.7c-7.6 13.2-23.4 19.2-37.8 14.4l-71.7-23.8c-7.2 4.8-14.7 9.2-22.6 13.1l-15.2 74c-3.1 14.9-16.2 25.5-31.3 25.5l-75.8 0c-15.2 0-28.3-10.7-31.3-25.5l-15.2-74c-7.8-3.8-15.4-8.2-22.6-13.1L77.5 439.2C63.1 444 47.3 438 39.7 424.8L1.8 359.2c-7.6-13.1-4.9-29.8 6.5-39.9L64.7 269c-.6-8.6-.6-17.5 0-26L8.2 192.8c-11.4-10.1-14-26.8-6.5-39.9L39.7 87.2C47.3 74 63.1 68 77.5 72.8l71.7 23.8c7.2-4.8 14.7-9.2 22.6-13.1l15.2-74C190.1-5.3 203.2-16 218.4-16l75.8 0zM200.3 256a55.7 55.7 0 1 0 111.4 0 55.7 55.7 0 1 0 -111.4 0zm55.4 88a88 88 0 1 1 .6-176 88 88 0 1 1 -.6 176z"]},e.mw},4494:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-lines",icon:[448,512,[],"f7a4","M448 176c0-8.8-7.2-16-16-16L16 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16zm0 160c0-8.8-7.2-16-16-16L16 320c-8.8 0-16 7.2-16 16s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16z"]},e.mw},312:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-lines-vertical",icon:[192,512,[],"f7a5","M16 32C7.2 32 0 39.2 0 48L0 464c0 8.8 7.2 16 16 16s16-7.2 16-16L32 48c0-8.8-7.2-16-16-16zm160 0c-8.8 0-16 7.2-16 16l0 416c0 8.8 7.2 16 16 16s16-7.2 16-16l0-416c0-8.8-7.2-16-16-16z"]},e.mw},6979:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"grip-vertical",icon:[320,512,["grid-vertical"],"f58e","M40 32c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8L40 32zM0 40C0 17.9 17.9 0 40 0L88 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0C17.9 128 0 110.1 0 88L0 40zM40 224c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8l-48 0zM0 232c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48zM88 416l-48 0c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8zM40 384l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM232 32c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8l-48 0zm-40 8c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48zm88 184l-48 0c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8zm-48-32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm0 224c-4.4 0-8 3.6-8 8l0 48c0 4.4 3.6 8 8 8l48 0c4.4 0 8-3.6 8-8l0-48c0-4.4-3.6-8-8-8l-48 0zm-40 8c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48z"]},e.mw},3339:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"heading",icon:[448,512,["header"],"f1dc","M0 48c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-48 0 0 160 256 0 0-160-48 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-48 0 0 384 48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l48 0 0-192-256 0 0 192 48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 480c-8.8 0-16-7.2-16-16s7.2-16 16-16l48 0 0-384-48 0C7.2 64 0 56.8 0 48z"]},e.mw},3911:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"horizontal-rule",icon:[640,512,[8213],"f86c","M0 256c0-8.8 7.2-16 16-16l608 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 272c-8.8 0-16-7.2-16-16z"]},e.mw},4933:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"house",icon:[512,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M245.6 4.3c6.1-5.7 15.7-5.7 21.8 0l240 224c6.5 6 6.8 16.2 .8 22.6s-16.2 6.8-22.6 .8l-21.1-19.7 0 216c0 35.3-28.7 64-64 64l-288 0c-35.3 0-64-28.7-64-64l0-216-21.1 19.7c-6.5 6-16.6 5.7-22.6-.8s-5.7-16.6 .8-22.6l240-224zm10.9 33.6l-176 164.3 0 245.8c0 17.7 14.3 32 32 32l64 0 0-112c0-35.3 28.7-64 64-64l32 0c35.3 0 64 28.7 64 64l0 112 64 0c17.7 0 32-14.3 32-32l0-245.8-176-164.3zM208.5 480l96 0 0-112c0-17.7-14.3-32-32-32l-32 0c-17.7 0-32 14.3-32 32l0 112z"]},e.mw},6564:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"image",icon:[448,512,[],"f03e","M384 64c17.7 0 32 14.3 32 32l0 320c0 17.7-14.3 32-32 32L64 448c-17.7 0-32-14.3-32-32L32 96c0-17.7 14.3-32 32-32l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm64 144a16 16 0 1 1 0-32 16 16 0 1 1 0 32zM80 160a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm169.3 59.7c1.5-2.3 4-3.7 6.7-3.7s5.2 1.4 6.7 3.7l88 136c1.6 2.5 1.7 5.6 .3 8.2s-4.1 4.2-7 4.2l-240 0c-3 0-5.7-1.7-7.1-4.3s-1.2-5.8 .5-8.3l56-80c1.5-2.1 3.9-3.4 6.6-3.4s5.1 1.3 6.6 3.4l10.6 15.2c3.1 4.4 8.1 6.9 13.4 6.8s10.2-2.8 13.1-7.3l45.6-70.4zM256 184c-13.6 0-26.2 6.9-33.6 18.3l-32.9 50.8c-7.5-8.3-18.2-13.1-29.6-13.1-13.1 0-25.3 6.4-32.8 17.1l-56 80c-8.6 12.2-9.6 28.2-2.7 41.4S89.1 400 104 400l240 0c14.7 0 28.1-8 35.1-20.9s6.4-28.5-1.6-40.8l-88-136c-7.4-11.4-20-18.3-33.6-18.3z"]},e.mw},7406:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"input-text",icon:[576,512,[],"e1bf","M512 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l448 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zM96 224l0 112c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48 64 0 0 48c0 8.8 7.2 16 16 16s16-7.2 16-16l0-112c0-35.3-28.7-64-64-64s-64 28.7-64 64zm96 32l-64 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32zm80-80l0 160c0 8.8 7.2 16 16 16l64 0c30.9 0 56-25.1 56-56 0-17.8-8.3-33.6-21.2-43.9 8.2-9.8 13.2-22.4 13.2-36.1 0-30.9-25.1-56-56-56l-56 0c-8.8 0-16 7.2-16 16zm96 40c0 13.3-10.7 24-24 24l-40 0 0-48 40 0c13.3 0 24 10.7 24 24zM304 320l0-48 48 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-48 0z"]},e.mw},7457:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"italic",icon:[384,512,[],"f033","M128 48c0-8.8 7.2-16 16-16l224 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-92.6 0-132.9 384 97.5 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 480c-8.8 0-16-7.2-16-16s7.2-16 16-16l92.6 0 132.9-384-97.5 0c-8.8 0-16-7.2-16-16z"]},e.mw},4009:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"layer-group",icon:[512,512,[],"f5fd","M266.1 34.2L468.9 128 266.1 221.7c-6.4 3-13.8 3-20.1 0L43.1 128 245.9 34.2c6.4-3 13.7-3 20.1 0zm13.4-29c-14.9-6.9-32.1-6.9-47 0L13.9 106.2C5.4 110.1 0 118.6 0 128s5.4 17.9 13.9 21.8l218.6 101c14.9 6.9 32.1 6.9 47 0l218.6-101c8.5-3.9 13.9-12.4 13.9-21.8s-5.4-17.9-13.9-21.8L279.5 5.2zM48.1 218.4L13.9 234.2C5.4 238.1 0 246.6 0 256s5.4 17.9 13.9 21.8l218.6 101c14.9 6.9 32.1 6.9 47 0l218.6-101c8.5-3.9 13.9-12.4 13.9-21.8s-5.4-17.9-13.9-21.8l-34.1-15.8-38.1 17.6 43.1 19.9-202.9 93.8c-6.4 3-13.8 3-20.1 0L43.1 256 86.2 236 48.1 218.4zM13.9 362.2C5.4 366.1 0 374.6 0 384s5.4 17.9 13.9 21.8l218.6 101c14.9 6.9 32.1 6.9 47 0l218.6-101c8.5-3.9 13.9-12.4 13.9-21.8s-5.4-17.9-13.9-21.8l-34.1-15.8-38.1 17.6 43.1 19.9-202.9 93.8c-6.4 3-13.8 3-20.1 0L43.1 384 86.2 364 48.1 346.4 13.9 362.2z"]},e.mw},1868:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"left",icon:[448,512,["arrow-alt-left"],"f355","M9.4 278.6C3.1 272.4 0 264.1 0 256s3.1-16.4 9.4-22.6l160-160c9.2-9.2 22.9-11.9 34.9-6.9S224 83.1 224 96l0 96 176 0c26.5 0 48 21.5 48 48l0 32c0 26.5-21.5 48-48 48l-176 0 0 96c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l0 0-160-160zM192 96L32 256 192 416 192 304c0-8.8 7.2-16 16-16l192 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-192 0c-8.8 0-16-7.2-16-16l0-112z"]},e.mw},9277:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M341.1 92.5c8.2 6.9 15.7 14.5 22.6 22.7 19.8-17.4 45.3-27.1 71.8-27.1 59.9 0 108.5 48.6 108.5 108.5 0 28.8-11.4 56.3-31.8 76.7l-79.1 79.1c-20.3 20.3-47.9 31.8-76.7 31.8-59.9 0-108.5-48.6-108.5-108.5 0-15.6 3.4-30.9 9.7-44.9 3.7-8 .1-17.5-7.9-21.2s-17.5-.1-21.2 7.9c-8.2 18.1-12.6 37.9-12.6 58.2 0 77.6 62.9 140.5 140.5 140.5 37.2 0 73-14.8 99.3-41.1l79.1-79.1c26.3-26.3 41.1-62.1 41.1-99.3 0-77.6-62.9-140.5-140.5-140.5-35 0-68.6 13.1-94.4 36.5zM219.5 128c59.9 0 108.5 48.6 108.5 108.5 0 15.6-3.4 30.9-9.7 44.9-3.7 8-.1 17.5 7.9 21.2s17.5 .1 21.2-7.9c8.2-18.1 12.6-37.9 12.6-58.2 0-77.6-62.9-140.5-140.5-140.5-37.2 0-73 14.8-99.3 41.1L41.1 216.2c-26.3 26.3-41.1 62.1-41.1 99.3 0 77.6 62.9 140.5 140.5 140.5 35 0 68.6-13.1 94.4-36.5-8.2-6.9-15.7-14.5-22.6-22.7-19.8 17.4-45.3 27.1-71.8 27.1-59.9 0-108.5-48.6-108.5-108.5 0-28.8 11.4-56.3 31.8-76.7l79.1-79.1c20.3-20.3 47.9-31.8 76.7-31.8z"]},e.mw},1817:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list",icon:[512,512,["list-squares"],"f03a","M48 112l0-32 32 0 0 32-32 0zM16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48C26.7 48 16 58.7 16 72zm160 8c-8.8 0-16 7.2-16 16s7.2 16 16 16l320 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L176 80zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l320 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-320 0zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l320 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-320 0zM48 240l32 0 0 32-32 0 0-32zm-8-32c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0zm8 224l0-32 32 0 0 32-32 0zM16 392l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24z"]},e.mw},2585:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-check",icon:[512,512,["tasks"],"f0ae","M141.3 56.9c4.9-7.4 2.9-17.3-4.4-22.2s-17.3-2.9-22.2 4.4L61.5 118.9 27.3 84.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l48 48c3.4 3.4 8.1 5.1 12.9 4.6s9.1-3.1 11.7-7l64-96zM208 80c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L208 80zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM176 400c-8.8 0-16 7.2-16 16s7.2 16 16 16l320 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-320 0zM56 392a24 24 0 1 0 0 48 24 24 0 1 0 0-48zm80.9-197.3c-7.4-4.9-17.3-2.9-22.2 4.4l-53.2 79.8-34.2-34.2c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l48 48c3.4 3.4 8.1 5.1 12.9 4.6s9.1-3.1 11.7-7l64-96c4.9-7.4 2.9-17.3-4.4-22.2z"]},e.mw},478:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-ol",icon:[512,512,["list-1-2","list-numeric"],"f0cb","M0 64c0 8.8 7.2 16 16 16l40 0 0 112-40 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l112 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-40 0 0-128c0-8.8-7.2-16-16-16L16 48C7.2 48 0 55.2 0 64zM192 96c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L208 80c-8.8 0-16 7.2-16 16zm0 160c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zm0 160c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM77 288c-11.6 0-23 3.4-32.7 9.9L7.1 322.7c-7.4 4.9-9.3 14.8-4.4 22.2s14.8 9.3 22.2 4.4L62 324.5c4.4-3 9.6-4.5 15-4.5l1.9 0c13.8 0 25.1 11.2 25.1 25.1 0 8.7-4.5 16.8-11.9 21.3l-79.6 49C4.7 420.1 0 428.6 0 437.7 0 452.2 11.8 464 26.3 464L128 464c8.8 0 16-7.2 16-16s-7.2-16-16-16l-81.5 0 62.3-38.3c16.9-10.4 27.2-28.8 27.2-48.6 0-31.5-25.5-57.1-57.1-57.1L77 288z"]},e.mw},925:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"list-tree",icon:[512,512,[],"e1d2","M48 112a16 16 0 1 0 0-32 16 16 0 1 0 0 32zM0 96C0 69.5 21.5 48 48 48S96 69.5 96 96c0 20.9-13.4 38.7-32 45.3l0 98.7 66.7 0c6.6-18.6 24.4-32 45.3-32 26.5 0 48 21.5 48 48s-21.5 48-48 48c-20.9 0-38.7-13.4-45.3-32L64 272 64 384c0 8.8 7.2 16 16 16l50.7 0c6.6-18.6 24.4-32 45.3-32 26.5 0 48 21.5 48 48s-21.5 48-48 48c-20.9 0-38.7-13.4-45.3-32L80 432c-26.5 0-48-21.5-48-48l0-242.7C13.4 134.7 0 116.9 0 96zm160 0c0-8.8 7.2-16 16-16l320 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-320 0c-8.8 0-16-7.2-16-16zM288 256c0-8.8 7.2-16 16-16l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16zm0 160c0-8.8 7.2-16 16-16l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16zM160 256a16 16 0 1 0 32 0 16 16 0 1 0 -32 0zm16 176a16 16 0 1 0 0-32 16 16 0 1 0 0 32z"]},e.mw},9594:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M384 208a176 176 0 1 0 -352 0 176 176 0 1 0 352 0zM343.3 366C307 397.2 259.7 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208c0 51.7-18.8 99-50 135.3L507.3 484.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L343.3 366z"]},e.mw},7897:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M0 256c0-8.8 7.2-16 16-16l416 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 272c-8.8 0-16-7.2-16-16z"]},e.mw},5127:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"object-group",icon:[576,512,[],"f247","M32 64a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm48 62c22.5-5.8 40.2-23.5 46-46l324 0c5.8 22.5 23.5 40.2 46 46l0 260c-22.5 5.8-40.2 23.5-46 46l-324 0c-5.8-22.5-23.5-40.2-46-46l0-260zM512 0c-29.8 0-54.9 20.4-62 48L126 48C118.9 20.4 93.8 0 64 0 28.7 0 0 28.7 0 64 0 93.8 20.4 118.9 48 126l0 260c-27.6 7.1-48 32.2-48 62 0 35.3 28.7 64 64 64 29.8 0 54.9-20.4 62-48l324 0c7.1 27.6 32.2 48 62 48 35.3 0 64-28.7 64-64 0-29.8-20.4-54.9-48-62l0-260c27.6-7.1 48-32.2 48-62 0-35.3-28.7-64-64-64zM480 64a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM64 416a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm416 32a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM288 160l0 80-128 0 0-80 128 0zM160 128c-17.7 0-32 14.3-32 32l0 80c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-80c0-17.7-14.3-32-32-32l-128 0zM272 320l0 32c0 17.7 14.3 32 32 32l112 0c17.7 0 32-14.3 32-32l0-80c0-17.7-14.3-32-32-32l-48 0c0 11.4-2.4 22.2-6.7 32l54.7 0 0 80-112 0 0-33.6c-5.2 1-10.5 1.6-16 1.6l-16 0z"]},e.mw},1247:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"object-union",icon:[512,512,[],"e49f","M160 320c17.7 0 32 14.3 32 32l0 96c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32l0-224c0-17.7-14.3-32-32-32l-96 0c-17.7 0-32-14.3-32-32l0-96c0-17.7-14.3-32-32-32L64 32C46.3 32 32 46.3 32 64l0 224c0 17.7 14.3 32 32 32l96 0zm-32 32l-64 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L288 0c35.3 0 64 28.7 64 64l0 96 96 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64l-224 0c-35.3 0-64-28.7-64-64l0-96-32 0z"]},e.mw},7472:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"paintbrush-pencil",icon:[576,512,[],"e206","M75.8 136.5C68.2 128.9 64 118.7 64 108s4.2-20.9 11.8-28.5l35.7-35.7C119.1 36.2 129.3 32 140 32s20.9 4.2 28.5 11.8l100.6 100.6 22.6-22.6-100.6-100.6C177.6 7.6 159.2 0 140 0S102.4 7.6 88.9 21.2L53.2 56.9C39.6 70.4 32 88.8 32 108s7.6 37.6 21.2 51.1l65 65c10.7-4.9 22-8.8 33.7-11.6L75.8 136.5zM351.9 457.5c9.8 8.4 21.4 14.6 33.9 18.1l127.8 35.5c8.3 2.3 17.3 0 23.4-6.2s8.5-15.1 6.2-23.4L507.6 353.8c-4.1-14.6-11.8-27.9-22.6-38.7l-30.8-30.8-22.6 22.6 30.8 30.8c6.8 6.8 11.8 15.3 14.4 24.6l31.7 114.1-114.1-31.7c-9.3-2.6-17.8-7.5-24.6-14.4l-6.3-6.3c-2.7 11.6-6.6 22.8-11.5 33.4zM509.1 32c19.3 0 34.9 15.6 34.9 34.9 0 9.3-3.7 18.1-10.2 24.7l-230 230c-11.6-20.7-28.7-37.8-49.4-49.4l230-230C491 35.7 499.8 32 509.1 32zM461.8 19.6L221.9 259.5c-9.6-2.3-19.6-3.5-29.9-3.5-70.7 0-128 57.3-128 128 0 15.5 2.8 30.4 7.8 44.2 7.6 20.8-5.8 51.8-28 51.8L16 480c-8.8 0-16 7.2-16 16s7.2 16 16 16l176 0c70.7 0 128-57.3 128-128 0-10.3-1.2-20.3-3.5-29.9L556.4 114.2C569 101.7 576 84.7 576 66.9 576 30 546 0 509.1 0 491.3 0 474.3 7 461.8 19.6zM192 480l-96.4 0c.7-1.3 1.4-2.6 2.1-3.8 8.3-16.7 11.7-38.9 4.2-59-3.8-10.3-5.9-21.4-5.9-33.1 0-53 43-96 96-96s96 43 96 96-43 96-96 96z"]},e.mw},4702:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"palette",icon:[512,512,[127912],"f53f","M480 258.3c-.1 14.1-13.8 29.7-38.1 29.7L344 288c-44.2 0-80 35.8-80 80 0 5.6 .6 11.2 1.7 16.6 2.9 13.8 8.9 27.3 13.2 37 .8 1.7 1.5 3.3 2.1 4.8 5 11.6 6.9 18.2 6.9 23.5 0 19.2-12.3 29.6-22.7 30-3.1 .1-6.2 .2-9.3 .2-123.7 0-224-100.3-224-224S132.3 32 256 32 480 132.3 480 256c0 .8 0 1.6 0 2.3zm32 .3c0-.9 0-1.8 0-2.7 0-141.4-114.6-256-256-256S0 114.6 0 256 114.6 512 256 512c3.5 0 7.1-.1 10.6-.2 31.8-1.3 53.4-30.1 53.4-62 0-14.5-6.1-28.3-12.1-42-4.3-9.8-8.7-19.7-10.8-29.9-.7-3.2-1-6.5-1-9.9 0-26.5 21.5-48 48-48l97.9 0c36.5 0 69.7-24.8 70.1-61.3zM152 256a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm8-72a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm120-56a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm72 56a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},2142:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"pen",icon:[512,512,[128394],"f304","M375.5 43.8C383.1 36.2 393.3 32 404 32s20.9 4.2 28.5 11.8l35.7 35.7C475.8 87.1 480 97.3 480 108s-4.2 20.9-11.8 28.5L409.7 195 317 102.3 375.5 43.8zM294.3 125L387 217.7 174.2 430.4c-6.8 6.8-15.3 11.8-24.6 14.4L35.5 476.5 67.2 362.4c2.6-9.3 7.5-17.8 14.4-24.6L294.3 125zM404 0c-19.2 0-37.6 7.6-51.1 21.2l-294 294c-10.7 10.7-18.5 24.1-22.6 38.7L.9 481.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6l294-294C504.4 145.6 512 127.2 512 108s-7.6-37.6-21.2-51.1L455.1 21.2C441.6 7.6 423.2 0 404 0z"]},e.mw},9217:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M240 48c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 192-192 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l192 0 0 192c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192 192 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-192 0 0-192z"]},e.mw},1103:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M169.1 17.3C183.8 6.3 203.2 0 224 0S264.2 6.3 278.9 17.3 304 44.6 304 64c0 19.5-10.6 35.9-25.3 46.8-5.2 3.8-6.7 7.7-6.7 10 0 4 3.2 7.2 7.2 7.2l56.8 0c26.5 0 48 21.5 48 48l0 56.8c0 4 3.2 7.2 7.2 7.2 2.3 0 6.1-1.6 10-6.7 11-14.7 27.4-25.3 46.8-25.3 19.4 0 35.8 10.5 46.7 25.1s17.3 34.1 17.3 54.9-6.3 40.2-17.3 54.9-27.3 25.1-46.7 25.1c-19.5 0-35.9-10.6-46.8-25.3-3.8-5.2-7.7-6.7-10-6.7-4 0-7.2 3.2-7.2 7.2L384 464c0 26.5-21.5 48-48 48l-56.8 0c-21.7 0-39.2-17.5-39.2-39.2 0-16.2 9.9-28.4 19.6-35.6 8.6-6.4 12.4-14.1 12.4-21.2 0-7.1-3.8-14.7-12.3-21.1S238.5 384 224 384 196.9 388.4 188.3 394.9 176 408.9 176 416c0 7.1 3.8 14.8 12.4 21.2 9.7 7.2 19.6 19.4 19.6 35.6 0 21.7-17.5 39.2-39.2 39.2L48 512c-26.5 0-48-21.5-48-48L0 343.2c0-21.7 17.5-39.2 39.2-39.2 16.2 0 28.4 9.9 35.6 19.6 6.4 8.6 14.1 12.4 21.2 12.4 7.1 0 14.7-3.8 21.1-12.3S128 302.5 128 288 123.6 260.9 117.1 252.3 103.1 240 96 240c-7.1 0-14.8 3.8-21.2 12.4-7.2 9.7-19.4 19.6-35.6 19.6-21.6 0-39.2-17.5-39.2-39.2L0 176c0-26.5 21.5-48 48-48l120.8 0c4 0 7.2-3.2 7.2-7.2 0-2.3-1.6-6.1-6.7-10-14.7-11-25.3-27.4-25.3-46.8 0-19.4 10.5-35.8 25.1-46.7zm19.2 25.6c-8.6 6.4-12.3 14.1-12.3 21.1 0 7.1 3.8 14.8 12.4 21.2 9.7 7.2 19.6 19.4 19.6 35.6 0 21.6-17.5 39.2-39.2 39.2L48 160c-8.8 0-16 7.2-16 16l0 56.8c0 4 3.2 7.2 7.2 7.2 2.3 0 6.1-1.6 10-6.7 11-14.7 27.4-25.3 46.8-25.3 19.4 0 35.8 10.5 46.7 25.1S160 267.2 160 288 153.7 328.2 142.7 342.9 115.4 368 96 368c-19.5 0-35.9-10.6-46.8-25.3-3.8-5.2-7.7-6.7-10-6.7-4 0-7.2 3.2-7.2 7.2L32 464c0 8.8 7.2 16 16 16l120.8 0c4 0 7.2-3.2 7.2-7.2 0-2.3-1.6-6.1-6.7-10-14.7-11-25.3-27.4-25.3-46.8 0-19.4 10.5-35.8 25.1-46.7s34.1-17.3 54.9-17.3 40.2 6.3 54.9 17.3 25.1 27.3 25.1 46.7c0 19.5-10.6 35.9-25.3 46.8-5.2 3.8-6.7 7.7-6.7 10 0 4 3.2 7.2 7.2 7.2l56.8 0c8.8 0 16-7.2 16-16l0-120.8c0-21.7 17.5-39.2 39.2-39.2 16.2 0 28.4 9.9 35.6 19.6 6.4 8.6 14.1 12.4 21.2 12.4 7.1 0 14.7-3.8 21.1-12.3s10.9-21.1 10.9-35.7-4.4-27.1-10.9-35.7-14.1-12.3-21.1-12.3c-7.1 0-14.8 3.8-21.2 12.4-7.2 9.7-19.4 19.6-35.6 19.6-21.7 0-39.2-17.5-39.2-39.2l0-56.8c0-8.8-7.2-16-16-16l-56.8 0c-21.7 0-39.2-17.5-39.2-39.2 0-16.2 9.9-28.4 19.6-35.6 8.6-6.4 12.4-14.1 12.4-21.2 0-7.1-3.8-14.7-12.3-21.1S238.5 32 224 32 196.9 36.4 188.3 42.9z"]},e.mw},8875:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"quote-right",icon:[448,512,[8221,"quote-right-alt"],"f10e","M448 304c0 61.9-50.1 112-112 112l-32 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l32 0c44.2 0 80-35.8 80-80l0-24.6c-9.4 5.4-20.3 8.6-32 8.6l-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 144zm-32-80l0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32l64 0c17.7 0 32-14.3 32-32zM64 256l64 0c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32zm128-64l0 112c0 61.9-50.1 112-112 112l-32 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l32 0c44.2 0 80-35.8 80-80l0-24.6c-9.4 5.4-20.3 8.6-32 8.6l-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 32z"]},e.mw},4194:(t,e,i)=>{"use strict";var o=i(3512);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},8647:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"right",icon:[448,512,[11157,"arrow-alt-right"],"f356","M438.6 233.4c6.3 6.3 9.4 14.5 9.4 22.6s-3.1 16.4-9.4 22.6l-160 160c-9.2 9.2-22.9 11.9-34.9 6.9S224 428.9 224 416l0-96-176 0c-26.5 0-48-21.5-48-48l0-32c0-26.5 21.5-48 48-48l176 0 0-96c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l0 0 160 160zM256 416l160-160-160-160 0 112c0 8.8-7.2 16-16 16L48 224c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l192 0c8.8 0 16 7.2 16 16l0 112z"]},e.mw},7523:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M32 43.3L32 144 132.7 144 32 43.3zM24 176c-13.3 0-24-10.7-24-24L0 24C0 14.3 5.9 5.5 14.8 1.8S34.1 .2 41 7L92.8 58.8c100.6-83.5 250-78.1 344.3 16.2 45.6 45.6 70.5 104.3 74.4 164 4 58.8-12.3 119.3-50.3 170.2-84.6 113.3-245 136.5-358.3 51.9-31.5-23.5-56.1-53-73.3-85.7-4.1-7.8-1.1-17.5 6.7-21.6s17.5-1.1 21.6 6.7c15 28.6 36.5 54.3 64.1 74.9 99.1 74 239.5 53.7 313.5-45.5 33.3-44.6 47.5-97.5 44-149l0 0c-3.5-52.3-25.2-103.5-65.1-143.5-81.7-81.7-211-87.1-298.9-16.1L169 135c6.9 6.9 8.9 17.2 5.2 26.2S161.7 176 152 176L24 176z"]},e.mw},346:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M480 43.3L480 144 379.3 144 480 43.3zM488 176c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2S477.9 .2 471 7L419.3 58.8c-100.6-83.5-250-78.1-344.3 16.2-45.6 45.6-70.5 104.3-74.4 164-4 58.8 12.3 119.3 50.3 170.2 84.6 113.3 245 136.5 358.3 51.9 31.5-23.5 56.1-53 73.3-85.7 4.1-7.8 1.1-17.5-6.7-21.6s-17.5-1.1-21.6 6.7c-15 28.6-36.5 54.3-64.1 74.9-99.1 74-239.5 53.7-313.5-45.5-33.3-44.6-47.5-97.5-44-149l0 0C36 188.8 57.7 137.6 97.6 97.6 179.4 15.9 308.6 10.5 396.5 81.5L343 135c-6.9 6.9-8.9 17.2-5.2 26.2S350.3 176 360 176l128 0z"]},e.mw},2620:(t,e,i)=>{"use strict";var o=i(1493);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},2359:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars",icon:[448,512,["signal-alt","signal-alt-4","signal-bars-strong"],"f690","M448 48c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 416c0 8.8 7.2 16 16 16s16-7.2 16-16l0-416zM293.3 128c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16s16-7.2 16-16l0-320c0-8.8-7.2-16-16-16zM170.7 272c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 192c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192zM32 400c0-8.8-7.2-16-16-16S0 391.2 0 400l0 64c0 8.8 7.2 16 16 16s16-7.2 16-16l0-64z"]},e.mw},5569:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-fair",icon:[448,512,["signal-alt-2"],"f692","M170.7 272c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 192c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192zM32 400c0-8.8-7.2-16-16-16S0 391.2 0 400l0 64c0 8.8 7.2 16 16 16s16-7.2 16-16l0-64z"]},e.mw},2014:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-good",icon:[448,512,["signal-alt-3"],"f693","M309.3 144c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16s16-7.2 16-16l0-320zM154.7 256c-8.8 0-16 7.2-16 16l0 192c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16zM16 384c-8.8 0-16 7.2-16 16l0 64c0 8.8 7.2 16 16 16s16-7.2 16-16l0-64c0-8.8-7.2-16-16-16z"]},e.mw},15:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"signal-bars-weak",icon:[448,512,["signal-alt-1"],"f691","M16 384c8.8 0 16 7.2 16 16l0 64c0 8.8-7.2 16-16 16S0 472.8 0 464l0-64c0-8.8 7.2-16 16-16z"]},e.mw},1472:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"spinner",icon:[512,512,[],"f110","M256 32a16 16 0 1 1 0 32 16 16 0 1 1 0-32zm0 64a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm0 352a16 16 0 1 1 0 32 16 16 0 1 1 0-32zm0 64a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM32 256a16 16 0 1 1 32 0 16 16 0 1 1 -32 0zm64 0a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm368-16a16 16 0 1 1 0 32 16 16 0 1 1 0-32zm0 64a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM97.6 414.4a16 16 0 1 1 22.6-22.6 16 16 0 1 1 -22.6 22.6zm45.3-45.3A48 48 0 1 0 75 437 48 48 0 1 0 142.9 369.1zM120.2 97.6a16 16 0 1 1 -22.6 22.6 16 16 0 1 1 22.6-22.6zM75 142.9A48 48 0 1 0 142.9 75 48 48 0 1 0 75 142.9zM391.8 391.8a16 16 0 1 1 22.6 22.6 16 16 0 1 1 -22.6-22.6zM437 437A48 48 0 1 0 369.1 369.1 48 48 0 1 0 437 437z"]},e.mw},2618:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M384 64c17.7 0 32 14.3 32 32l0 320c0 17.7-14.3 32-32 32L64 448c-17.7 0-32-14.3-32-32L32 96c0-17.7 14.3-32 32-32l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},e.mw},4983:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-1",icon:[448,512,[],"e256","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm192 64l32 0c8.8 0 16 7.2 16 16l0 144 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-96 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l32 0 0-128-16 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},1258:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-2",icon:[448,512,[],"e257","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm176 65.3l57.8 0c29.9 0 54.2 24.3 54.2 54.2 0 21.2-12.3 40.4-31.6 49.2L220 281.4c-15.5 7.1-26 21.8-27.7 38.6l79.7 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-96 0c-8.8 0-16-7.2-16-16l0-10.9c0-31.3 18.2-59.7 46.7-72.7l36.4-16.7c7.9-3.6 12.9-11.5 12.9-20.2 0-12.2-9.9-22.2-22.2-22.2l-57.8 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},6313:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-3",icon:[448,512,[],"e258","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM240 240c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l72 0c30.9 0 56 25.1 56 56 0 15.7-6.4 29.8-16.8 40 10.4 10.2 16.8 24.3 16.8 40 0 30.9-25.1 56-56 56l-72 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l72 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-56 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l56 0z"]},e.mw},12:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-4",icon:[448,512,[],"e259","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm160 64c8.8 0 16 7.2 16 16l0 72c0 4.4 3.6 8 8 8l72 0 0-80c0-8.8 7.2-16 16-16s16 7.2 16 16l0 80c8.8 0 16 7.2 16 16s-7.2 16-16 16l0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-72 0c-22.1 0-40-17.9-40-40l0-72c0-8.8 7.2-16 16-16z"]},e.mw},8003:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-5",icon:[448,512,[],"e25a","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm272 64c8.8 0 16 7.2 16 16s-7.2 16-16 16l-80 0 0 40 52 0c33.1 0 60 26.9 60 60s-26.9 60-60 60l-68 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l68 0c15.5 0 28-12.5 28-28s-12.5-28-28-28l-68 0c-8.8 0-16-7.2-16-16l0-72c0-8.8 7.2-16 16-16l96 0z"]},e.mw},7830:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-6",icon:[448,512,[],"e25b","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm264 80c0 8.8-7.2 16-16 16l-32 0c-17.7 0-32 14.3-32 32l0 8.6c9.4-5.4 20.3-8.6 32-8.6l16 0c35.3 0 64 28.7 64 64s-28.7 64-64 64l-16 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l32 0c8.8 0 16 7.2 16 16zM216 320l16 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-16 0c-17.7 0-32 14.3-32 32s14.3 32 32 32z"]},e.mw},2072:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM307.1 166.6c5.2-7.1 15.2-8.7 22.3-3.5s8.7 15.2 3.5 22.3l-128 176c-2.8 3.8-7 6.2-11.7 6.5s-9.3-1.3-12.6-4.6l-64-64c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l50.7 50.7 117-160.8z"]},e.mw},9744:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-minus",icon:[448,512,[61767,"minus-square"],"f146","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM128 240l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},1549:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-o",icon:[448,512,[],"e278","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM152 256a72 72 0 1 0 144 0 72 72 0 1 0 -144 0zm72 104a104 104 0 1 1 0-208 104 104 0 1 1 0 208z"]},e.mw},25:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"square-xmark",icon:[448,512,[10062,"times-square","xmark-square"],"f2d3","M64 64C46.3 64 32 78.3 32 96l0 320c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L64 64zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm132.7 68.7c6.2-6.2 16.4-6.2 22.6 0l68.7 68.7 68.7-68.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-68.7 68.7 68.7 68.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-68.7-68.7-68.7 68.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l68.7-68.7-68.7-68.7c-6.2-6.2-6.2-16.4 0-22.6z"]},e.mw},2677:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"star",icon:[576,512,[11088,61446],"f005","M383 125.3L309.5-18.9c-4.1-8-12.4-13.1-21.4-13.1s-17.3 5.1-21.4 13.1L193.1 125.3 33.2 150.7c-8.9 1.4-16.3 7.7-19.1 16.3s-.5 18 5.8 24.4l114.4 114.5-25.2 159.9c-1.4 8.9 2.3 17.9 9.6 23.2s16.9 6.1 25 2L288.1 417.6 432.4 491c8 4.1 17.7 3.3 25-2s11-14.2 9.6-23.2L441.7 305.9 556.1 191.4c6.4-6.4 8.6-15.8 5.8-24.4s-10.1-14.9-19.1-16.3L383 125.3zm-5 31.6l144.4 23-103.3 103.5c-7.2 7.2-10.6 17.5-9 27.6L432.9 455.3 302.6 389c-9.1-4.6-19.9-4.6-29 0L143.2 455.3 166 310.9c1.6-10.1-1.7-20.4-9-27.6l-103.3-103.5 144.4-23c10.1-1.6 18.8-7.9 23.5-17.1L288.1 9.6 354.5 139.8c4.6 9.1 13.4 15.5 23.5 17.1z"]},e.mw},1844:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"star-half-stroke",icon:[576,512,["star-half-alt"],"f5c0","M309.5-18.9L383 125.3 542.9 150.7c8.9 1.4 16.3 7.7 19.1 16.3s.5 18-5.8 24.4L441.7 305.9 467 465.8c1.4 8.9-2.3 17.9-9.6 23.2s-17 6.1-25 2L288.1 417.6 143.8 491c-8 4.1-17.7 3.3-25-2s-11-14.2-9.6-23.2L134.4 305.9 20 191.4c-6.4-6.4-8.6-15.8-5.8-24.4s10.1-14.9 19.1-16.3l159.9-25.4 73.6-144.2c4.1-8 12.4-13.1 21.4-13.1s17.3 5.1 21.4 13.1zm45.1 158.7l-50.5-98.9 0 348.8 128.8 65.5-22.8-144.4c-1.6-10.1 1.7-20.4 9-27.6l103.3-103.5-144.4-23c-10.1-1.6-18.8-7.9-23.5-17.1zM272.1 40.9l-50.5 98.9c-4.6 9.1-13.4 15.5-23.5 17.1l-144.4 23 103.3 103.5c7.2 7.2 10.6 17.5 9 27.6l-22.8 144.4 128.8-65.5 0-348.9z"]},e.mw},2:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"strikethrough",icon:[512,512,[],"f0cc","M96 147.6C96 83.8 147.8 32 211.6 32L384 32c8.8 0 16 7.2 16 16s-7.2 16-16 16L211.6 64c-46.2 0-83.6 37.4-83.6 83.6 0 40.9 29.6 75.8 69.9 82.5l121.5 20.3c7.4 1.2 14.5 3.1 21.3 5.7L496 256c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 288c-8.8 0-16-7.2-16-16s7.2-16 16-16l155.3 0C126.8 239.5 96 196.7 96 147.6zM379 336l33.4 0c2.3 9.1 3.5 18.6 3.5 28.4 0 63.8-51.8 115.6-115.6 115.6L128 480c-8.8 0-16-7.2-16-16s7.2-16 16-16l172.4 0c46.2 0 83.6-37.4 83.6-83.6 0-9.9-1.7-19.5-5-28.4z"]},e.mw},3825:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table",icon:[448,512,[],"f0ce","M64 64C46.3 64 32 78.3 32 96l0 64 384 0 0-64c0-17.7-14.3-32-32-32L64 64zM0 192L0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 192zm416 0l-176 0 0 112 176 0 0-112zm-208 0l-176 0 0 112 176 0 0-112zm0 144l-176 0 0 80c0 17.7 14.3 32 32 32l144 0 0-112zm32 112l144 0c17.7 0 32-14.3 32-32l0-80-176 0 0 112z"]},e.mw},8548:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-cells",icon:[448,512,["th"],"f00a","M320 64l0 96 96 0 0-64c0-17.7-14.3-32-32-32l-64 0zm-32 0l-128 0 0 96 128 0 0-96zM128 64L64 64C46.3 64 32 78.3 32 96l0 64 96 0 0-96zM0 192L0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 192zM32 320l96 0 0-128-96 0 0 128zm0 32l0 64c0 17.7 14.3 32 32 32l64 0 0-96-96 0zm128 96l128 0 0-96-128 0 0 96zm160 0l64 0c17.7 0 32-14.3 32-32l0-64-96 0 0 96zm96-128l0-128-96 0 0 128 96 0zm-256 0l128 0 0-128-128 0 0 128z"]},e.mw},2830:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-columns",icon:[448,512,["columns"],"f0db","M384 64c17.7 0 32 14.3 32 32l0 64-384 0 0-64c0-17.7 14.3-32 32-32l320 0zM0 160L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96l0 64zM416 416c0 17.7-14.3 32-32 32l-144 0 0-256 176 0 0 224zM208 448L64 448c-17.7 0-32-14.3-32-32l0-224 176 0 0 256z"]},e.mw},5104:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"table-rows",icon:[448,512,["rows"],"e292","M384 64c17.7 0 32 14.3 32 32l0 144-256 0 0-176 224 0zm32 208l0 144c0 17.7-14.3 32-32 32l-224 0 0-176 256 0zM160 32L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L160 32zM64 448c-17.7 0-32-14.3-32-32L32 96c0-17.7 14.3-32 32-32l64 0 0 384-64 0z"]},e.mw},5210:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"text",icon:[384,512,[],"f893","M32 72c0-4.4 3.6-8 8-8l136 0 0 384-80 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l192 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-80 0 0-384 136 0c4.4 0 8 3.6 8 8l0 72c0 8.8 7.2 16 16 16s16-7.2 16-16l0-72c0-22.1-17.9-40-40-40L40 32C17.9 32 0 49.9 0 72l0 72c0 8.8 7.2 16 16 16s16-7.2 16-16l0-72z"]},e.mw},4816:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"text-width",icon:[448,512,[],"f035","M40 0C17.9 0 0 17.9 0 40l0 72c0 8.8 7.2 16 16 16s16-7.2 16-16l0-72c0-4.4 3.6-8 8-8l168 0 0 224-64 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l160 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-64 0 0-224 168 0c4.4 0 8 3.6 8 8l0 72c0 8.8 7.2 16 16 16s16-7.2 16-16l0-72c0-22.1-17.9-40-40-40L40 0zm67.3 379.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-80 80c-6.2 6.2-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-52.7-52.7 338.7 0-52.7 52.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6l-80-80c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l52.7 52.7-338.7 0 52.7-52.7z"]},e.mw},4999:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"trash",icon:[448,512,[],"f1f8","M160.5 27.4c2-6.8 8.3-11.4 15.3-11.4l96.4 0c7.1 0 13.3 4.6 15.3 11.4l11 36.6-149 0 11-36.6zM116.1 64L16 64C7.2 64 0 71.2 0 80S7.2 96 16 96l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-100.1 0-13.7-45.8C312.1-2.1 293.4-16 272.2-16l-96.4 0c-21.2 0-39.9 13.9-46 34.2L116.1 64zM28.7 144L51.6 452.7c2.5 33.4 30.3 59.3 63.8 59.3l217.1 0c33.5 0 61.3-25.9 63.8-59.3l22.9-308.7-32.1 0-22.7 306.4c-1.2 16.7-15.2 29.6-31.9 29.6l-217.1 0c-16.8 0-30.7-12.9-31.9-29.6L60.8 144 28.7 144z"]},e.mw},9745:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"tree",icon:[448,512,[127794],"f1bb","M224-32c4.7 0 9.1 2.1 12.2 5.6l136 160c4 4.8 5 11.4 2.3 17.1S366.2 160 360 160l-55.8 0 100 117.6c4 4.8 5 11.4 2.3 17.1S398.2 304 392 304l-55.8 0 100 117.6c4 4.8 5 11.4 2.3 17.1S430.2 448 424 448l-184 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80-184 0c-6.2 0-11.9-3.6-14.5-9.3s-1.7-12.3 2.3-17.1L111.8 304 56 304c-6.2 0-11.9-3.6-14.5-9.3s-1.7-12.3 2.3-17.1L143.8 160 88 160c-6.2 0-11.9-3.6-14.5-9.3s-1.7-12.3 2.3-17.1l136-160 2.5-2.4c2.8-2.1 6.1-3.2 9.7-3.2zM122.6 128l55.8 0c6.2 0 11.9 3.6 14.5 9.3s1.7 12.3-2.3 17.1l-100 117.6 55.8 0c6.2 0 11.9 3.6 14.5 9.3s1.7 12.3-2.3 17.1l-100 117.6 330.8 0-100-117.6c-4-4.7-5-11.4-2.3-17.1s8.3-9.3 14.5-9.3l55.8 0-100-117.6c-4-4.8-5-11.4-2.3-17.1s8.3-9.3 14.5-9.3L325.4 128 224 8.7 122.6 128z"]},e.mw},3541:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"triangle",icon:[512,512,[9650],"f2ec","M256.5 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.6 480 472.5 480l-432 0c-14.1 0-27.1-7.4-34.3-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 32c-2.2 0-4.3 .9-5.7 2.4l-1.3 1.8-216 400c-1.3 2.5-1.3 5.5 .2 7.9l1.3 1.6c1.5 1.4 3.5 2.3 5.6 2.3l432 0c2.8 0 5.4-1.5 6.9-3.9l.8-1.9c.4-1.3 .4-2.7 .1-4.1l-.7-1.9-216-400c-1.4-2.6-4.1-4.2-7-4.2z"]},e.mw},2449:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"underline",icon:[384,512,[],"f0cd","M0 16C0 7.2 7.2 0 16 0l96 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 208c0 61.9 50.1 112 112 112s112-50.1 112-112l0-208-32 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l96 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 208c0 79.5-64.5 144-144 144S48 319.5 48 240l0-208-32 0C7.2 32 0 24.8 0 16zM16 480l352 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 512c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},e.mw},4740:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"up",icon:[384,512,["arrow-alt-up"],"f357","M169.4 41.4c6.3-6.3 14.5-9.4 22.6-9.4s16.4 3.1 22.6 9.4l160 160c9.2 9.2 11.9 22.9 6.9 34.9S364.9 256 352 256l-96 0 0 176c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-176-96 0c-12.9 0-24.6-7.8-29.6-19.8S.2 210.5 9.4 201.4l0 0 160-160zM352 224L192 64 32 224 144 224c8.8 0 16 7.2 16 16l0 192c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-192c0-8.8 7.2-16 16-16l112 0z"]},e.mw},9056:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"up-right",icon:[448,512,[],"e2be","M384.2 96l0 265.4-84.7-84.7c-6.2-6.2-16.4-6.2-22.6 0L123.6 430.1c-6.2 6.2-16.4 6.2-22.6 0L50.2 379.3c-6.2-6.2-6.2-16.4 0-22.6L203.6 203.3c6.2-6.2 6.2-16.4 0-22.6L118.9 96 384.2 96zm32-8c0-13.3-10.7-24-24-24L118.9 64c-28.5 0-42.8 34.5-22.6 54.6L169.6 192 27.6 334.1c-18.7 18.7-18.7 49.1 0 67.9l50.7 50.7c18.7 18.7 49.1 18.7 67.9 0L288.2 310.6 361.6 384c20.2 20.2 54.6 5.9 54.6-22.6l0-273.4z"]},e.mw},7348:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"upload",icon:[448,512,[],"f093","M240 54.6L240 336c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-281.4-84.7 84.7c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l112-112c6.2-6.2 16.4-6.2 22.6 0l112 112c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L240 54.6zM160 320l-96 0c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32l-96 0 0-32 96 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l96 0 0 32zm160 64a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},e.mw},9939:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"window-maximize",icon:[512,512,[128470],"f2d0","M64 96c-17.7 0-32 14.3-32 32l0 64 448 0 0-64c0-17.7-14.3-32-32-32L64 96zM32 224l0 160c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32l0-160-448 0zM0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128z"]},e.mw},1139:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"window-restore",icon:[576,512,[],"f2d2","M512 64L224 64c-17.7 0-32 14.3-32 32l0 16-32 0 0-16c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64l-48 0 0-32 48 0c17.7 0 32-14.3 32-32l0-192c0-17.7-14.3-32-32-32zM352 192L64 192c-17.7 0-32 14.3-32 32l0 32 352 0 0-32c0-17.7-14.3-32-32-32zm32 96l-352 0 0 128c0 17.7 14.3 32 32 32l288 0c17.7 0 32-14.3 32-32l0-128zM64 160l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z"]},e.mw},6204:(t,e)=>{"use strict";e.mw={prefix:"fal",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M379.3 91.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 27.3 68.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 4.7 420.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6 356.7 443.3c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256 379.3 91.3z"]},e.mw},6828:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-center",icon:[448,512,[],"f037","M352 64c0-17.7-14.3-32-32-32L128 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32zm96 128c0-17.7-14.3-32-32-32L32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32zM0 448c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 416c-17.7 0-32 14.3-32 32zM352 320c0-17.7-14.3-32-32-32l-192 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32z"]},e.mw},2212:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-left",icon:[448,512,[],"f036","M288 64c0 17.7-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32L32 352c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},e.mw},863:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"align-right",icon:[448,512,[],"f038","M448 64c0 17.7-14.3 32-32 32L192 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},e.mw},7503:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"angle-down",icon:[384,512,[8964],"f107","M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},e.mw},7873:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"angle-right",icon:[256,512,[8250],"f105","M247.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L179.2 256 41.9 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]},e.mw},8746:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"angle-up",icon:[384,512,[8963],"f106","M169.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L192 205.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"]},e.mw},9645:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},e.mw},3199:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-left",icon:[512,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 288 480 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-370.7 0 105.4-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},e.mw},871:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-right",icon:[512,512,[8594],"f061","M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-105.4 105.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},e.mw},8434:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-turn-down",icon:[384,512,["level-down"],"f149","M32 64C14.3 64 0 49.7 0 32S14.3 0 32 0l96 0c53 0 96 43 96 96l0 306.7 73.4-73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 402.7 160 96c0-17.7-14.3-32-32-32L32 64z"]},e.mw},6308:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 17.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 117.3 160 488c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},e.mw},4407:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="arrows-rotate",o=[128472,"refresh","sync"],r="f021",s="M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z";e.definition={prefix:"fas",iconName:i,icon:[512,512,o,r,s]},e.faArrowsRotate=e.definition,e.prefix="fas",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=s,e.aliases=o},6398:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"arrows-to-dot",icon:[512,512,[],"e4be","M256 0c17.7 0 32 14.3 32 32l0 32 32 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-9.2-9.2-11.9-22.9-6.9-34.9S179.1 64 192 64l32 0 0-32c0-17.7 14.3-32 32-32zM169.4 393.4l64-64c12.5-12.5 32.8-12.5 45.3 0l64 64c9.2 9.2 11.9 22.9 6.9 34.9S332.9 448 320 448l-32 0 0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32-32 0c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9zM32 224l32 0 0-32c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c12.5 12.5 12.5 32.8 0 45.3l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9S64 332.9 64 320l0-32-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3l64-64c9.2-9.2 22.9-11.9 34.9-6.9S448 179.1 448 192l0 32 32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0 0 32c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-64-64zM256 224a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},e.mw},4612:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},e.mw},597:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"bold",icon:[384,512,[],"f032","M32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l32 0 0 320-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c70.7 0 128-57.3 128-128 0-46.5-24.8-87.3-62-109.7 18.7-22.3 30-51 30-82.3 0-70.7-57.3-128-128-128L32 32zM288 160c0 35.3-28.7 64-64 64l-96 0 0-128 96 0c35.3 0 64 28.7 64 64zM128 416l0-128 128 0c35.3 0 64 28.7 64 64s-28.7 64-64 64l-128 0z"]},e.mw},4731:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M384 512L96 512c-53 0-96-43-96-96L0 96C0 43 43 0 96 0L400 0c26.5 0 48 21.5 48 48l0 288c0 20.9-13.4 38.7-32 45.3l0 66.7c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0zM96 384c-17.7 0-32 14.3-32 32s14.3 32 32 32l256 0 0-64-256 0zm32-232c0 13.3 10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0c-13.3 0-24 10.7-24 24zm24 72c-13.3 0-24 10.7-24 24s10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0z"]},e.mw},7706:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"building",icon:[384,512,[127970,61687],"f1ad","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384c0-35.3-28.7-64-64-64L64 0zM176 352l32 0c17.7 0 32 14.3 32 32l0 80-96 0 0-80c0-17.7 14.3-32 32-32zM96 112c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zM240 96l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM96 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm144-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16z"]},e.mw},8815:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-down",icon:[384,512,[],"f0d7","M352 160c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-9.2-9.2-11.9-22.9-6.9-34.9S19.1 160 32 160l320 0z"]},e.mw},6390:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-left",icon:[256,512,[],"f0d9","M224 96c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c9.2 9.2 22.9 11.9 34.9 6.9S224 428.9 224 416l0-320z"]},e.mw},6593:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-right",icon:[256,512,[],"f0da","M32.5 96c0-12.9 7.8-24.6 19.8-29.6S78 64.2 87.1 73.4l160 160c12.5 12.5 12.5 32.8 0 45.3l-160 160c-9.2 9.2-22.9 11.9-34.9 6.9S32.5 428.9 32.5 416l0-320z"]},e.mw},2570:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"caret-up",icon:[384,512,[],"f0d8","M32 352c-12.9 0-24.6-7.8-29.6-19.8S.2 306.5 9.4 297.4l160-160c12.5-12.5 32.8-12.5 45.3 0l160 160c9.2 9.2 11.9 22.9 6.9 34.9S364.9 352 352 352L32 352z"]},e.mw},6815:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 46.3 14.3 32 32 32zm96 64c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 80l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 112l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},e.mw},9886:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-column",icon:[512,512,[],"e0e3","M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 46.3 14.3 32 32 32zM144 224c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32zm144-64l0 160c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-160c0-17.7 14.3-32 32-32s32 14.3 32 32zm80 32c17.7 0 32 14.3 32 32l0 96c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-96c0-17.7 14.3-32 32-32zM512 96l0 224c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-224c0-17.7 14.3-32 32-32s32 14.3 32 32z"]},e.mw},1582:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 400c0 44.2 35.8 80 80 80l400 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 416c-8.8 0-16-7.2-16-16L64 64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7 262.6 153.4c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l73.4-73.4 57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]},e.mw},2968:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M512.4 240l-176 0c-17.7 0-32-14.3-32-32l0-176c0-17.7 14.4-32.2 31.9-29.9 107 14.2 191.8 99 206 206 2.3 17.5-12.2 31.9-29.9 31.9zM222.6 37.2c18.1-3.8 33.8 11 33.8 29.5l0 197.3c0 5.6 2 11 5.5 15.3L394 438.7c11.7 14.1 9.2 35.4-6.9 44.1-34.1 18.6-73.2 29.2-114.7 29.2-132.5 0-240-107.5-240-240 0-115.5 81.5-211.9 190.2-234.8zM477.8 288l64 0c18.5 0 33.3 15.7 29.5 33.8-10.2 48.4-35 91.4-69.6 124.2-12.3 11.7-31.6 9.2-42.4-3.9L374.9 340.4c-17.3-20.9-2.4-52.4 24.6-52.4l78.2 0z"]},e.mw},5654:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chart-simple",icon:[512,512,[],"e473","M192 80c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 352c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-352zM0 272c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 160c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48L0 272zM432 96l32 0c26.5 0 48 21.5 48 48l0 288c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48z"]},e.mw},4104:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z"]},e.mw},6471:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},e.mw},9502:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},e.mw},4969:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},e.mw},6946:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"chevron-up",icon:[448,512,[],"f077","M201.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 173.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},e.mw},9766:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},9124:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-0",icon:[512,512,[],"e0ed","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-368c53 0 96 43 96 96l0 32c0 53-43 96-96 96s-96-43-96-96l0-32c0-53 43-96 96-96zm-48 96l0 32c0 26.5 21.5 48 48 48s48-21.5 48-48l0-32c0-26.5-21.5-48-48-48s-48 21.5-48 48z"]},e.mw},7067:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-1",icon:[512,512,[],"e0ee","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM216 144l40 0c13.3 0 24 10.7 24 24l0 152 32 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l32 0 0-128-16 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},1054:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-2",icon:[512,512,[],"e0ef","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM208 145.3l62 0c36.5 0 66 29.6 66 66 0 27.1-16.6 51.5-41.9 61.4l-44.7 17.6c-12.9 5.1-22.1 16.3-24.6 29.6l79.3 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-104 0c-13.3 0-24-10.7-24-24l0-16.4c0-36.2 22.1-68.7 55.8-81.9l44.7-17.6c6.9-2.7 11.4-9.4 11.4-16.8 0-10-8.1-18-18-18l-62 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},7325:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-3",icon:[512,512,[],"e0f0","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm20-280c11 0 20-9 20-20s-9-20-20-20l-76 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l76 0c37.6 0 68 30.4 68 68 0 16.8-6.1 32.1-16.2 44 10.1 11.9 16.2 27.2 16.2 44 0 37.6-30.4 68-68 68l-76 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l76 0c11 0 20-9 20-20s-9-20-20-20l-52 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l52 0z"]},e.mw},1272:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-4",icon:[512,512,[],"e0f1","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM200 144c13.3 0 24 10.7 24 24l0 88 48 0 0-88c0-13.3 10.7-24 24-24s24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40-56 0c-22.1 0-40-17.9-40-40l0-96c0-13.3 10.7-24 24-24z"]},e.mw},3359:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-5",icon:[512,512,[],"e0f2","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm40-368c13.3 0 24 10.7 24 24s-10.7 24-24 24l-72 0 0 32 40 0c39.8 0 72 32.2 72 72s-32.2 72-72 72l-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l96 0z"]},e.mw},6562:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-6",icon:[512,512,[],"e0f3","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm56-344c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24 10.7-24 24l0 12.1c7.5-2.7 15.6-4.1 24-4.1l32 0c39.8 0 72 32.2 72 72s-32.2 72-72 72l-32 0c-39.8 0-72-32.2-72-72l0-80c0-39.8 32.2-72 72-72l48 0c13.3 0 24 10.7 24 24zM240 320l32 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-32 0c-13.3 0-24 10.7-24 24s10.7 24 24 24z"]},e.mw},4193:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-7",icon:[512,512,[],"e0f4","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM200 144l112 0c8.3 0 16 4.3 20.4 11.4s4.8 15.9 1 23.4l-88 176c-5.9 11.9-20.3 16.7-32.2 10.7s-16.7-20.3-10.7-32.2L273.2 192 200 192c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},6348:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-8",icon:[512,512,[],"e0f5","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM176 212c0-37.6 30.4-68 68-68l24 0c37.6 0 68 30.4 68 68 0 14.7-4.6 28.2-12.5 39.3 12.7 12.3 20.5 29.6 20.5 48.7 0 37.6-30.4 68-68 68l-40 0c-37.6 0-68-30.4-68-68 0-19.1 7.9-36.3 20.5-48.7-7.9-11.1-12.5-24.7-12.5-39.3zm112 0c0-11-9-20-20-20l-24 0c-11 0-20 9-20 20s9 20 20 20l24 0c11 0 20-9 20-20zm-52 68c-11 0-20 9-20 20s9 20 20 20l40 0c11 0 20-9 20-20s-9-20-20-20l-40 0z"]},e.mw},2435:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-9",icon:[512,512,[],"e0f6","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM200 344c0-13.3 10.7-24 24-24l48 0c13.3 0 24-10.7 24-24l0-12.1c-7.5 2.7-15.6 4.1-24 4.1l-32 0c-39.8 0-72-32.2-72-72s32.2-72 72-72l32 0c39.8 0 72 32.2 72 72l0 80c0 39.8-32.2 72-72 72l-48 0c-13.3 0-24-10.7-24-24zm72-152l-32 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l32 0c13.3 0 24-10.7 24-24s-10.7-24-24-24z"]},e.mw},388:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zM374 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L221.1 315.2 169 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.8 7.5 18.8 7s13.4-4.1 17.5-9.8L379.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z"]},e.mw},6105:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]},e.mw},1119:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M448 256c0-106-86-192-192-192l0 384c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},398:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},1808:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9l0 176c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"]},e.mw},8444:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-quarter-stroke",icon:[512,512,[],"e5d3","M64 256l160 0c17.7 0 32-14.3 32-32l0-160c106 0 192 86 192 192S362 448 256 448 64 362 64 256zM0 256a256 256 0 1 0 512 0 256 256 0 1 0 -512 0z"]},e.mw},782:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-336c-17.7 0-32 14.3-32 32 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-44.2 35.8-80 80-80s80 35.8 80 80c0 47.2-36 67.2-56 74.5l0 3.8c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-8.1c0-20.5 14.8-35.2 30.1-40.2 6.4-2.1 13.2-5.5 18.2-10.3 4.3-4.2 7.7-10 7.7-19.6 0-17.7-14.3-32-32-32zM224 368a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},e.mw},1903:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-radiation",icon:[512,512,[9762,"radiation-alt"],"f7ba","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zm80 0l64.3 0c8.7 0 15.7-7.1 17.3-15.6 4.4-24.4 18.1-45.5 37.2-59.7 7.4-5.5 10.6-15.6 6-23.6l-32.5-56.3c-4.3-7.5-13.9-10.3-21.2-5.5-48.2 31.5-81.3 84.2-86.3 144.8-.7 8.8 6.5 16 15.3 16zm137.9 89.8c-8.5-3.7-18.8-1.4-23.5 6.6l-31 53.8c-4.3 7.5-1.9 17.2 5.8 21.1 26.1 13.2 55.5 20.7 86.8 20.7s60.7-7.5 86.8-20.7c7.7-3.9 10.1-13.6 5.8-21.1l-31-53.8c-4.6-8-15-10.3-23.5-6.6-11.7 5-24.5 7.8-38.1 7.8s-26.4-2.8-38.1-7.8zM350.4 240.4c1.6 8.6 8.5 15.6 17.3 15.6l64.3 0c8.8 0 16.1-7.2 15.3-16-5-60.6-38.1-113.2-86.3-144.8-7.3-4.8-16.8-2-21.2 5.5L307.3 157c-4.6 8-1.4 18.1 6 23.6 19.1 14.2 32.7 35.4 37.2 59.7zM256 305.7a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},e.mw},2978:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-three-quarters-stroke",icon:[512,512,[],"e5d4","M256 64l0 160c0 17.7 14.3 32 32 32l160 0c0-106-86-192-192-192zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e.mw},3525:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM167 167c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z"]},e.mw},5087:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"code",icon:[576,512,[],"f121","M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z"]},e.mw},7853:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"comment",icon:[512,512,[128489,61669],"f075","M512 240c0 132.5-114.6 240-256 240-37.1 0-72.3-7.4-104.1-20.7L33.5 510.1c-9.4 4-20.2 1.7-27.1-5.8S-2 485.8 2.8 476.8l48.8-92.2C19.2 344.3 0 294.3 0 240 0 107.5 114.6 0 256 0S512 107.5 512 240z"]},e.mw},3599:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z"]},e.mw},3898:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"dash",icon:[512,512,["minus-large"],"e404","M0 256c0-17.7 14.3-32 32-32l448 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z"]},e.mw},6426:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"down",icon:[384,512,["arrow-alt-down"],"f354","M214.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-9.2-9.2-11.9-22.9-6.9-34.9S19.1 256 32 256l96 0 0-176c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 176 96 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-160 160z"]},e.mw},3690:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"down-right",icon:[448,512,[],"e16b","M384 448l-272 0c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l78.1-78.1-137.4-137.4c-18.7-18.7-18.7-49.1 0-67.9l48-48c18.7-18.7 49.1-18.7 67.9 0l137.4 137.4 78.1-78.1c9.2-9.2 22.9-11.9 34.9-6.9S416 131.1 416 144l0 272c0 17.7-14.3 32-32 32z"]},e.mw},2006:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"download",icon:[448,512,[],"f019","M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},e.mw},5286:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M0 256a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm168 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm224-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},e.mw},9179:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z"]},e.mw},7541:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"exclamation",icon:[128,512,[10069,10071,61738],"21","M64 432c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40c0-22.1 17.9-40 40-40zM64 0c26.5 0 48 21.5 48 48 0 .6 0 1.1 0 1.7l-16 304c-.9 17-15 30.3-32 30.3S33 370.7 32 353.7L16 49.7c0-.6 0-1.1 0-1.7 0-26.5 21.5-48 48-48z"]},e.mw},2977:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z"]},e.mw},4480:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"eye-slash",icon:[576,512,[],"f070","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-96.4-96.4c2.7-2.4 5.4-4.8 8-7.2 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-56.8 0-105.6 18.2-146 44.2L41-24.9zM204.5 138.7c23.5-16.8 52.4-26.7 83.5-26.7 79.5 0 144 64.5 144 144 0 31.1-9.9 59.9-26.7 83.5l-34.7-34.7c12.7-21.4 17-47.7 10.1-73.7-13.7-51.2-66.4-81.6-117.6-67.9-8.6 2.3-16.7 5.7-24 10l-34.7-34.7zM325.3 395.1c-11.9 3.2-24.4 4.9-37.3 4.9-79.5 0-144-64.5-144-144 0-12.9 1.7-25.4 4.9-37.3L69.4 139.2c-32.6 36.8-55 75.8-66.9 104.5-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 37.3 0 71.2-7.9 101.5-20.6l-64.2-64.2z"]},e.mw},9083:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"fill",icon:[512,512,[],"f575","M296 64c6.9 0 13.5 2.7 18.3 7.6L440.4 197.7c4.9 4.9 7.6 11.5 7.6 18.3s-2.7 13.5-7.6 18.3L386.7 288 65.3 288c1.3-3.9 3.4-7.4 6.3-10.3l96.4-96.4 33.4 33.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L213.3 136 277.7 71.6c4.9-4.9 11.5-7.6 18.3-7.6zM122.7 136L26.3 232.4C9.5 249.3 0 272.1 0 296s9.5 46.7 26.3 63.6L152.4 485.7C169.3 502.5 192.1 512 216 512s46.7-9.5 63.6-26.3L485.7 279.6C502.5 262.7 512 239.9 512 216s-9.5-46.7-26.3-63.6L359.6 26.3C342.7 9.5 319.9 0 296 0s-46.7 9.5-63.6 26.3L168 90.7 118.6 41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L122.7 136z"]},e.mw},1480:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M32 64C19.1 64 7.4 71.8 2.4 83.8S.2 109.5 9.4 118.6L192 301.3 192 416c0 8.5 3.4 16.6 9.4 22.6l64 64c9.2 9.2 22.9 11.9 34.9 6.9S320 492.9 320 480l0-178.7 182.6-182.6c9.2-9.2 11.9-22.9 6.9-34.9S492.9 64 480 64L32 64z"]},e.mw},4018:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"flag-pennant",icon:[448,512,[128681,"pennant"],"f456","M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32L0 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128 369-138.4c9-3.4 15-12 15-21.6s-6-18.2-15-21.6L64 32z"]},e.mw},3929:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="floppy-disk",o=[128190,128426,"save"],r="f0c7",s="M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-242.7c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32L64 32zm32 96c0-17.7 14.3-32 32-32l160 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32l0-64zM224 288a64 64 0 1 1 0 128 64 64 0 1 1 0-128z";e.definition={prefix:"fas",iconName:i,icon:[448,512,o,r,s]},e.faFloppyDisk=e.definition,e.prefix="fas",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=s,e.aliases=o},8450:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M64 448l384 0c35.3 0 64-28.7 64-64l0-240c0-35.3-28.7-64-64-64L298.7 80c-6.9 0-13.7-2.2-19.2-6.4L241.1 44.8C230 36.5 216.5 32 202.7 32L64 32C28.7 32 0 60.7 0 96L0 384c0 35.3 28.7 64 64 64z"]},e.mw},9630:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M56 225.6L32.4 296.2 32.4 96c0-35.3 28.7-64 64-64l138.7 0c13.8 0 27.3 4.5 38.4 12.8l38.4 28.8c5.5 4.2 12.3 6.4 19.2 6.4l117.3 0c35.3 0 64 28.7 64 64l0 16-365.4 0c-41.3 0-78 26.4-91.1 65.6zM477.8 448L99 448c-32.8 0-55.9-32.1-45.5-63.2l48-144C108 221.2 126.4 208 147 208l378.8 0c32.8 0 55.9 32.1 45.5 63.2l-48 144c-6.5 19.6-24.9 32.8-45.5 32.8z"]},e.mw},9459:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"font",icon:[512,512,[],"f031","M285.1 50.7C279.9 39.3 268.5 32 256 32s-23.9 7.3-29.1 18.7L59.5 416 48 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-6.1 0 22-48 208.3 0 22 48-6.1 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-11.5 0-167.4-365.3zM330.8 304L181.2 304 256 140.8 330.8 304z"]},e.mw},6093:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z"]},e.mw},4287:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-lines",icon:[448,512,[],"f7a4","M32 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 288zm0-128c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160z"]},e.mw},4045:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-lines-vertical",icon:[192,512,[],"f7a5","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 448c0 17.7 14.3 32 32 32s32-14.3 32-32L64 64zm128 0c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 384c0 17.7 14.3 32 32 32s32-14.3 32-32l0-384z"]},e.mw},2732:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"grip-vertical",icon:[320,512,["grid-vertical"],"f58e","M128 40c0-22.1-17.9-40-40-40L40 0C17.9 0 0 17.9 0 40L0 88c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm0 192c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM0 424l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 40c0-22.1-17.9-40-40-40L232 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zM192 232l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM320 424c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48z"]},e.mw},6138:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"heading",icon:[448,512,["header"],"f1dc","M0 64C0 46.3 14.3 32 32 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 112 224 0 0-112-16 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 320 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-144-224 0 0 144 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l16 0 0-320-16 0C14.3 96 0 81.7 0 64z"]},e.mw},576:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"horizontal-rule",icon:[640,512,[8213],"f86c","M0 256c0-17.7 14.3-32 32-32l576 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z"]},e.mw},5700:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"house",icon:[512,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M277.8 8.6c-12.3-11.4-31.3-11.4-43.5 0l-224 208c-9.6 9-12.8 22.9-8 35.1S18.8 272 32 272l16 0 0 176c0 35.3 28.7 64 64 64l288 0c35.3 0 64-28.7 64-64l0-176 16 0c13.2 0 25-8.1 29.8-20.3s1.6-26.2-8-35.1l-224-208zM240 320l32 0c26.5 0 48 21.5 48 48l0 96-128 0 0-96c0-26.5 21.5-48 48-48z"]},e.mw},8129:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"image",icon:[448,512,[],"f03e","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm64 80a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM272 224c8.4 0 16.1 4.4 20.5 11.5l88 144c4.5 7.4 4.7 16.7 .5 24.3S368.7 416 360 416L88 416c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l26.4 37.8 61.4-100.5c4.4-7.1 12.1-11.5 20.5-11.5z"]},e.mw},5735:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"input-text",icon:[576,512,[],"e1bf","M512 128l0 256-448 0 0-256 448 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm48 160l0 104c0 13.3 10.7 24 24 24s24-10.7 24-24l0-24 32 0 0 24c0 13.3 10.7 24 24 24s24-10.7 24-24l0-104c0-35.3-28.7-64-64-64s-64 28.7-64 64zm80 32l-32 0 0-32c0-8.8 7.2-16 16-16s16 7.2 16 16l0 32zm96-72l0 144c0 13.3 10.7 24 24 24l52 0c33.1 0 60-26.9 60-60 0-16-6.3-30.5-16.5-41.3 5.4-9 8.5-19.5 8.5-30.7 0-33.1-26.9-60-60-60l-44 0c-13.3 0-24 10.7-24 24zm80 36c0 6.6-5.4 12-12 12l-20 0 0-24 20 0c6.6 0 12 5.4 12 12zm-32 84l0-24 28 0c6.6 0 12 5.4 12 12s-5.4 12-12 12l-28 0z"]},e.mw},1474:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"italic",icon:[384,512,[],"f033","M128 64c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-58.7 0-133.3 320 64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l58.7 0 133.3-320-64 0c-17.7 0-32-14.3-32-32z"]},e.mw},886:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"layer-group",icon:[512,512,[],"f5fd","M232.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 149.8C5.4 145.8 0 137.3 0 128s5.4-17.9 13.9-21.8L232.5 5.2zM48.1 218.4l164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 277.8C5.4 273.8 0 265.3 0 256s5.4-17.9 13.9-21.8l34.1-15.8zM13.9 362.2l34.1-15.8 164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 405.8C5.4 401.8 0 393.3 0 384s5.4-17.9 13.9-21.8z"]},e.mw},2643:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"left",icon:[448,512,["arrow-alt-left"],"f355","M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l160-160c9.2-9.2 22.9-11.9 34.9-6.9S224 83.1 224 96l0 96 176 0c26.5 0 48 21.5 48 48l0 32c0 26.5-21.5 48-48 48l-176 0 0 96c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-160-160z"]},e.mw},8038:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"]},e.mw},654:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z"]},e.mw},140:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-check",icon:[512,512,["tasks"],"f0ae","M133.8 36.3c10.9 7.6 13.5 22.6 5.9 33.4l-56 80c-4.1 5.8-10.5 9.5-17.6 10.1S52 158 47 153L7 113C-2.3 103.6-2.3 88.4 7 79S31.6 69.7 41 79l19.8 19.8 39.6-56.6c7.6-10.9 22.6-13.5 33.4-5.9zm0 160c10.9 7.6 13.5 22.6 5.9 33.4l-56 80c-4.1 5.8-10.5 9.5-17.6 10.1S52 318 47 313L7 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l19.8 19.8 39.6-56.6c7.6-10.9 22.6-13.5 33.4-5.9zM224 96c0-17.7 14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32zM160 416c0-17.7 14.3-32 32-32l288 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-288 0c-17.7 0-32-14.3-32-32zM64 376a40 40 0 1 1 0 80 40 40 0 1 1 0-80z"]},e.mw},73:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-ol",icon:[512,512,["list-1-2","list-numeric"],"f0cb","M0 72C0 58.8 10.7 48 24 48l48 0c13.3 0 24 10.7 24 24l0 104 24 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-96 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-80-24 0C10.7 96 0 85.3 0 72zM30.4 301.2C41.8 292.6 55.7 288 70 288l4.9 0c33.7 0 61.1 27.4 61.1 61.1 0 19.6-9.4 37.9-25.2 49.4l-24 17.5 33.2 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-90.7 0C13.1 464 0 450.9 0 434.7 0 425.3 4.5 416.5 12.1 411l70.5-51.3c3.4-2.5 5.4-6.4 5.4-10.6 0-7.2-5.9-13.1-13.1-13.1L70 336c-3.9 0-7.7 1.3-10.8 3.6L38.4 355.2c-10.6 8-25.6 5.8-33.6-4.8S-1 324.8 9.6 316.8l20.8-15.6zM224 64l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160l256 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},e.mw},470:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"list-tree",icon:[512,512,[],"e1d2","M48 48c-26.5 0-48 21.5-48 48 0 17.8 9.7 33.3 24 41.6L24 384c0 30.9 25.1 56 56 56l54.4 0c8.3 14.3 23.8 24 41.6 24 26.5 0 48-21.5 48-48s-21.5-48-48-48c-17.8 0-33.3 9.7-41.6 24L80 392c-4.4 0-8-3.6-8-8l0-104 62.4 0c8.3 14.3 23.8 24 41.6 24 26.5 0 48-21.5 48-48s-21.5-48-48-48c-17.8 0-33.3 9.7-41.6 24l-62.4 0 0-94.4c14.3-8.3 24-23.8 24-41.6 0-26.5-21.5-48-48-48zM160 96c0 17.7 14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64c-17.7 0-32 14.3-32 32zM288 256c0 17.7 14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0c-17.7 0-32 14.3-32 32zm0 160c0 17.7 14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0c-17.7 0-32 14.3-32 32z"]},e.mw},2127:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},e.mw},7024:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32z"]},e.mw},3602:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"object-group",icon:[576,512,[],"f247","M32 119.4C12.9 108.4 0 87.7 0 64 0 28.7 28.7 0 64 0 87.7 0 108.4 12.9 119.4 32l337.1 0c11.1-19.1 31.7-32 55.4-32 35.3 0 64 28.7 64 64 0 23.7-12.9 44.4-32 55.4l0 273.1c19.1 11.1 32 31.7 32 55.4 0 35.3-28.7 64-64 64-23.7 0-44.4-12.9-55.4-32l-337.1 0c-11.1 19.1-31.7 32-55.4 32-35.3 0-64-28.7-64-64 0-23.7 12.9-44.4 32-55.4l0-273.1zm448 0c-9.7-5.6-17.8-13.7-23.4-23.4L119.4 96c-5.6 9.7-13.7 17.8-23.4 23.4l0 273.1c9.7 5.6 17.8 13.7 23.4 23.4l337.1 0c5.6-9.7 13.7-17.8 23.4-23.4l0-273.1zM144 176c0-17.7 14.3-32 32-32l112 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-112 0c-17.7 0-32-14.3-32-32l0-64zM256 320l32 0c44.2 0 80-35.8 80-80l32 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-112 0c-17.7 0-32-14.3-32-32l0-16z"]},e.mw},486:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"object-union",icon:[512,512,[],"e49f","M64 0C28.7 0 0 28.7 0 64L0 288c0 35.3 28.7 64 64 64l96 0 0 96c0 35.3 28.7 64 64 64l224 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64l-96 0 0-96c0-35.3-28.7-64-64-64L64 0z"]},e.mw},5835:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"paintbrush-pencil",icon:[576,512,[],"e206","M557.3 109.3c25-25 25-65.5 0-90.5s-65.5-25-90.5 0L234.5 251c41.3 16.2 74.3 49.2 90.5 90.5L557.3 109.3zM176 512c61.9 0 112-50.1 112-112S237.9 288 176 288 64 338.1 64 400c0 3.9 .2 7.8 .6 11.6 1.8 17.5-10.2 36.4-27.8 36.4L32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0zM191.1 21.2C177.6 7.6 159.2 0 140 0S102.4 7.6 88.9 21.2L53.2 56.9C39.6 70.4 32 88.8 32 108s7.6 37.6 21.2 51.1l85.3 85.3c12-2.9 24.6-4.4 37.5-4.4l1.6 0c3.6-3.6 42.3-42.3 116.2-116.2L191.1 21.2zm156 431.9c10.7 10.7 24.1 18.5 38.7 22.6l127.8 35.5c8.3 2.3 17.3 0 23.4-6.2s8.5-15.1 6.2-23.4L507.6 353.8c-4.1-14.6-11.8-27.9-22.6-38.7l-32.9-32.9C378.3 356.1 339.6 394.8 336 398.4l0 1.6c0 12.9-1.5 25.5-4.4 37.5l15.5 15.5z"]},e.mw},2883:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48 0 3.4 .4 6.7 1 9.9 2.1 10.2 6.5 20 10.8 29.9 6.1 13.8 12.1 27.5 12.1 42 0 31.8-21.6 60.7-53.4 62-3.5 .1-7 .2-10.6 .2-141.4 0-256-114.6-256-256S114.6 0 256 0 512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},e.mw},6147:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M352.9 21.2L308 66.1 445.9 204 490.8 159.1C504.4 145.6 512 127.2 512 108s-7.6-37.6-21.2-51.1L455.1 21.2C441.6 7.6 423.2 0 404 0s-37.6 7.6-51.1 21.2zM274.1 100L58.9 315.1c-10.7 10.7-18.5 24.1-22.6 38.7L.9 481.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6L412 237.9 274.1 100z"]},e.mw},394:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"]},e.mw},754:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M224 0c35.3 0 64 21.5 64 48 0 10.4-4.4 20-12 27.9-6.6 6.9-12 15.3-12 24.9 0 15 12.2 27.2 27.2 27.2l44.8 0c26.5 0 48 21.5 48 48l0 44.8c0 15 12.2 27.2 27.2 27.2 9.5 0 18-5.4 24.9-12 7.9-7.5 17.5-12 27.9-12 26.5 0 48 28.7 48 64s-21.5 64-48 64c-10.4 0-20.1-4.4-27.9-12-6.9-6.6-15.3-12-24.9-12-15 0-27.2 12.2-27.2 27.2L384 464c0 26.5-21.5 48-48 48l-56.8 0c-12.8 0-23.2-10.4-23.2-23.2 0-9.2 5.8-17.3 13.2-22.8 11.6-8.7 18.8-20.7 18.8-34 0-26.5-28.7-48-64-48s-64 21.5-64 48c0 13.3 7.2 25.3 18.8 34 7.4 5.5 13.2 13.5 13.2 22.8 0 12.8-10.4 23.2-23.2 23.2L48 512c-26.5 0-48-21.5-48-48L0 343.2c0-12.8 10.4-23.2 23.2-23.2 9.2 0 17.3 5.8 22.8 13.2 8.7 11.6 20.7 18.8 34 18.8 26.5 0 48-28.7 48-64s-21.5-64-48-64c-13.3 0-25.3 7.2-34 18.8-5.5 7.4-13.5 13.2-22.8 13.2-12.8 0-23.2-10.4-23.2-23.2L0 176c0-26.5 21.5-48 48-48l108.8 0c15 0 27.2-12.2 27.2-27.2 0-9.5-5.4-18-12-24.9-7.5-7.9-12-17.5-12-27.9 0-26.5 28.7-48 64-48z"]},e.mw},3980:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"quote-right",icon:[448,512,[8221,"quote-right-alt"],"f10e","M448 296c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136zm-256 0c0 66.3-53.7 120-120 120l-8 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l8 0c30.9 0 56-25.1 56-56l0-8-64 0c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l64 0c35.3 0 64 28.7 64 64l0 136z"]},e.mw},895:(t,e,i)=>{"use strict";var o=i(4407);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},8522:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"right",icon:[448,512,[11157,"arrow-alt-right"],"f356","M438.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-9.2 9.2-22.9 11.9-34.9 6.9S224 428.9 224 416l0-96-176 0c-26.5 0-48-21.5-48-48l0-32c0-26.5 21.5-48 48-48l176 0 0-96c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l160 160z"]},e.mw},5576:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M24 192l144 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-46.7-46.7c75.3-58.6 184.3-53.3 253.5 15.9 75 75 75 196.5 0 271.5s-196.5 75-271.5 0c-10.2-10.2-19-21.3-26.4-33-9.5-14.9-29.3-19.3-44.2-9.8s-19.3 29.3-9.8 44.2C49.7 408.7 61.4 423.5 75 437 175 537 337 537 437 437S537 175 437 75C342.8-19.3 193.3-24.7 92.7 58.8L41 7C34.1 .2 23.8-1.9 14.8 1.8S0 14.3 0 24L0 168c0 13.3 10.7 24 24 24z"]},e.mw},3131:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z"]},e.mw},7291:(t,e,i)=>{"use strict";var o=i(3929);e.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},e.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},1776:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars",icon:[448,512,["signal-alt","signal-alt-4","signal-bars-strong"],"f690","M448 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 384c0 17.7 14.3 32 32 32s32-14.3 32-32l0-384zM288 128c-17.7 0-32 14.3-32 32l0 288c0 17.7 14.3 32 32 32s32-14.3 32-32l0-288c0-17.7-14.3-32-32-32zM192 288c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160zM64 416c0-17.7-14.3-32-32-32S0 398.3 0 416l0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32z"]},e.mw},5578:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-fair",icon:[448,512,["signal-alt-2"],"f692","M192 288c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160zM64 416c0-17.7-14.3-32-32-32S0 398.3 0 416l0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32z"]},e.mw},9613:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-good",icon:[448,512,["signal-alt-3"],"f693","M320 160c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 288c0 17.7 14.3 32 32 32s32-14.3 32-32l0-288zM160 256c-17.7 0-32 14.3-32 32l0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32zM32 384c-17.7 0-32 14.3-32 32l0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32c0-17.7-14.3-32-32-32z"]},e.mw},4980:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"signal-bars-weak",icon:[448,512,["signal-alt-1"],"f691","M32 384c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32S0 465.7 0 448l0-32c0-17.7 14.3-32 32-32z"]},e.mw},2869:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M208 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm0 416a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM48 208a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm368 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM75 369.1A48 48 0 1 1 142.9 437 48 48 0 1 1 75 369.1zM75 75A48 48 0 1 1 142.9 142.9 48 48 0 1 1 75 75zM437 369.1A48 48 0 1 1 369.1 437 48 48 0 1 1 437 369.1z"]},e.mw},4693:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32z"]},e.mw},7642:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-1",icon:[448,512,[],"e256","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM184 144l40 0c13.3 0 24 10.7 24 24l0 152 32 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l32 0 0-128-16 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},1367:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-2",icon:[448,512,[],"e257","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM176 145.3l62 0c36.5 0 66 29.6 66 66 0 27.1-16.6 51.5-41.9 61.4l-44.7 17.6c-12.9 5.1-22.1 16.3-24.6 29.6l79.3 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-104 0c-13.3 0-24-10.7-24-24l0-16.4c0-36.2 22.1-68.7 55.8-81.9l44.7-17.6c6.9-2.7 11.4-9.4 11.4-16.8 0-10-8.1-18-18-18l-62 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},320:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-3",icon:[448,512,[],"e258","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM244 232c11 0 20-9 20-20s-9-20-20-20l-76 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l76 0c37.6 0 68 30.4 68 68 0 16.8-6.1 32.1-16.2 44 10.1 11.9 16.2 27.2 16.2 44 0 37.6-30.4 68-68 68l-76 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l76 0c11 0 20-9 20-20s-9-20-20-20l-52 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l52 0z"]},e.mw},821:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-4",icon:[448,512,[],"e259","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM168 144c13.3 0 24 10.7 24 24l0 88 48 0 0-88c0-13.3 10.7-24 24-24s24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40-56 0c-22.1 0-40-17.9-40-40l0-96c0-13.3 10.7-24 24-24z"]},e.mw},102:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-5",icon:[448,512,[],"e25a","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM264 144c13.3 0 24 10.7 24 24s-10.7 24-24 24l-72 0 0 32 40 0c39.8 0 72 32.2 72 72s-32.2 72-72 72l-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l96 0z"]},e.mw},7683:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-6",icon:[448,512,[],"e25b","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM280 168c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24 10.7-24 24l0 12.1c7.5-2.7 15.6-4.1 24-4.1l32 0c39.8 0 72 32.2 72 72s-32.2 72-72 72l-32 0c-39.8 0-72-32.2-72-72l0-80c0-39.8 32.2-72 72-72l48 0c13.3 0 24 10.7 24 24zM208 320l32 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-32 0c-13.3 0-24 10.7-24 24s10.7 24 24 24z"]},e.mw},9685:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM342 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L189.1 315.2 137 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.9 7.5 18.8 7s13.4-4.1 17.5-9.8L347.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z"]},e.mw},9849:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-minus",icon:[448,512,[61767,"minus-square"],"f146","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm72 200l176 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-176 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},1476:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-o",icon:[448,512,[],"e278","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm88 224a72 72 0 1 0 144 0 72 72 0 1 0 -144 0zm72 120a120 120 0 1 1 0-240 120 120 0 1 1 0 240z"]},e.mw},8268:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"square-xmark",icon:[448,512,[10062,"times-square","xmark-square"],"f2d3","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm71 135c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z"]},e.mw},6686:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"star",icon:[576,512,[11088,61446],"f005","M309.5-18.9c-4.1-8-12.4-13.1-21.4-13.1s-17.3 5.1-21.4 13.1L193.1 125.3 33.2 150.7c-8.9 1.4-16.3 7.7-19.1 16.3s-.5 18 5.8 24.4l114.4 114.5-25.2 159.9c-1.4 8.9 2.3 17.9 9.6 23.2s16.9 6.1 25 2L288.1 417.6 432.4 491c8 4.1 17.7 3.3 25-2s11-14.2 9.6-23.2L441.7 305.9 556.1 191.4c6.4-6.4 8.6-15.8 5.8-24.4s-10.1-14.9-19.1-16.3L383 125.3 309.5-18.9z"]},e.mw},7719:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"star-half-stroke",icon:[576,512,["star-half-alt"],"f5c0","M288.1 353.6c10 0 19.9 2.3 29 7l74.4 37.9-13-82.5c-3.2-20.2 3.5-40.7 17.9-55.2l59-59.1-82.5-13.1c-20.2-3.2-37.7-15.9-47-34.1l-38-74.4 0 273.6zM457.4 489c-7.3 5.3-17 6.1-25 2L288.1 417.6 143.8 491c-8 4.1-17.7 3.3-25-2s-11-14.2-9.6-23.2L134.4 305.9 20 191.4c-6.4-6.4-8.6-15.8-5.8-24.4s10.1-14.9 19.1-16.3l159.9-25.4 73.6-144.2c4.1-8 12.4-13.1 21.4-13.1s17.3 5.1 21.4 13.1L383 125.3 542.9 150.7c8.9 1.4 16.3 7.7 19.1 16.3s.5 18-5.8 24.4L441.7 305.9 467 465.8c1.4 8.9-2.3 17.9-9.6 23.2z"]},e.mw},6239:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"strikethrough",icon:[512,512,[],"f0cc","M96 157.5C96 88.2 152.2 32 221.5 32L368 32c17.7 0 32 14.3 32 32s-14.3 32-32 32L221.5 96c-34 0-61.5 27.5-61.5 61.5 0 31 23.1 57.2 53.9 61l44.1 5.5 222 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l83.1 0C103 204.6 96 181.8 96 157.5zM349.2 336l65.5 0c.9 6.1 1.4 12.2 1.4 18.5 0 69.3-56.2 125.5-125.5 125.5L144 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l146.5 0c34 0 61.5-27.5 61.5-61.5 0-6.4-1-12.7-2.8-18.5z"]},e.mw},6992:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table",icon:[448,512,[],"f0ce","M256 160l0 96 128 0 0-96-128 0zm-64 0l-128 0 0 96 128 0 0-96zM0 320L0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64l0-96zm384 0l-128 0 0 96 128 0 0-96zM192 416l0-96-128 0 0 96 128 0z"]},e.mw},6659:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-cells",icon:[448,512,["th"],"f00a","M384 96l0 64-64 0 0-64 64 0zm0 128l0 64-64 0 0-64 64 0zm0 128l0 64-64 0 0-64 64 0zM256 288l-64 0 0-64 64 0 0 64zm-64 64l64 0 0 64-64 0 0-64zm-64-64l-64 0 0-64 64 0 0 64zM64 352l64 0 0 64-64 0 0-64zm0-192l0-64 64 0 0 64-64 0zm128 0l0-64 64 0 0 64-64 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},e.mw},9937:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-columns",icon:[448,512,["columns"],"f0db","M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm64 64l0 256 128 0 0-256-128 0zm320 0l-128 0 0 256 128 0 0-256z"]},e.mw},7201:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"table-rows",icon:[448,512,["rows"],"e292","M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm128 0l0 128 256 0 0-128-256 0zM384 288l-256 0 0 128 256 0 0-128z"]},e.mw},2525:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"text",icon:[384,512,[],"f893","M64 96l0 32c0 17.7-14.3 32-32 32S0 145.7 0 128L0 72C0 49.9 17.9 32 40 32l304 0c22.1 0 40 17.9 40 40l0 56c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32-96 0 0 320 48 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l48 0 0-320-96 0z"]},e.mw},1985:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"text-width",icon:[448,512,[],"f035","M40 0C17.9 0 0 17.9 0 40L0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 128 0 0 160-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0 0-160 128 0 0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-56c0-22.1-17.9-40-40-40L40 0zm78.6 406.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4 229.5 0-9.4 9.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4-229.5 0 9.4-9.4z"]},e.mw},5722:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z"]},e.mw},9130:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"tree",icon:[448,512,[127794],"f1bb","M224-32c7 0 13.7 3.1 18.3 8.5l136 160c6.1 7.1 7.4 17.1 3.5 25.6S369.4 176 360 176l-24.9 0 75.2 88.5c6.1 7.1 7.4 17.1 3.5 25.6S401.4 304 392 304l-38.5 0 88.8 104.5c6.1 7.1 7.4 17.1 3.5 25.6S433.4 448 424 448l-168 0 0 64c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-64-168 0c-9.4 0-17.9-5.4-21.8-13.9s-2.6-18.5 3.5-25.6L94.5 304 56 304c-9.4 0-17.9-5.4-21.8-13.9s-2.6-18.5 3.5-25.6L112.9 176 88 176c-9.4 0-17.9-5.4-21.8-13.9s-2.6-18.5 3.5-25.6l136-160C210.3-28.9 217-32 224-32z"]},e.mw},3194:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"triangle",icon:[512,512,[9650],"f2ec","M291.2 21C284.2 8.1 270.7 0 256 0s-28.2 8.1-35.2 21L4.8 421c-6.7 12.4-6.4 27.4 .8 39.5S25.9 480 40 480l432 0c14.1 0 27.1-7.4 34.4-19.5s7.5-27.1 .8-39.5L291.2 21z"]},e.mw},6224:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"underline",icon:[384,512,[],"f0cd","M0 32C0 14.3 14.3 0 32 0L96 0c17.7 0 32 14.3 32 32S113.7 64 96 64l0 160c0 53 43 96 96 96s96-43 96-96l0-160c-17.7 0-32-14.3-32-32S270.3 0 288 0l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l0 160c0 88.4-71.6 160-160 160S32 312.4 32 224L32 64C14.3 64 0 49.7 0 32zM0 480c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 512c-17.7 0-32-14.3-32-32z"]},e.mw},5251:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"up",icon:[384,512,["arrow-alt-up"],"f357","M169.4 41.4c12.5-12.5 32.8-12.5 45.3 0l160 160c9.2 9.2 11.9 22.9 6.9 34.9S364.9 256 352 256l-96 0 0 176c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-176-96 0c-12.9 0-24.6-7.8-29.6-19.8S.2 210.5 9.4 201.4l160-160z"]},e.mw},8153:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"up-right",icon:[448,512,[],"e2be","M384 64L112 64c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l78.1 78.1-137.4 137.4c-18.7 18.7-18.7 49.1 0 67.9l48 48c18.7 18.7 49.1 18.7 67.9 0l137.4-137.4 78.1 78.1c9.2 9.2 22.9 11.9 34.9 6.9S416 380.9 416 368l0-272c0-17.7-14.3-32-32-32z"]},e.mw},8247:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"upload",icon:[448,512,[],"f093","M256 109.3L256 320c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-210.7-41.4 41.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 109.3zM224 400c44.2 0 80-35.8 80-80l80 0c35.3 0 64 28.7 64 64l0 32c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64l0-32c0-35.3 28.7-64 64-64l80 0c0 44.2 35.8 80 80 80zm144 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},e.mw},7544:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"window-maximize",icon:[512,512,[128470],"f2d0","M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm24 64l336 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L88 176c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},e.mw},4470:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"window-restore",icon:[576,512,[],"f2d2","M512 96L160 96c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64l-48 0 0-64 48 0 0-192zM0 224c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 224zm64 40c0 13.3 10.7 24 24 24l240 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L88 240c-13.3 0-24 10.7-24 24z"]},e.mw},8249:(t,e)=>{"use strict";e.mw={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]},e.mw},4754:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],i=0;i<t.length;i++)e.push(255&t.charCodeAt(i));return e},bytesToString:function(t){for(var e=[],i=0;i<t.length;i++)e.push(String.fromCharCode(t[i]));return e.join("")}}};t.exports=e},4560:(t,e,i)=>{const o=i(7346),r={};for(const t of Object.keys(o))r[o[t]]=t;const s={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=s;for(const t of Object.keys(s)){if(!("channels"in s[t]))throw new Error("missing channels property: "+t);if(!("labels"in s[t]))throw new Error("missing channel labels property: "+t);if(s[t].labels.length!==s[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:i}=s[t];delete s[t].channels,delete s[t].labels,Object.defineProperty(s[t],"channels",{value:e}),Object.defineProperty(s[t],"labels",{value:i})}s.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,r=Math.min(e,i,o),s=Math.max(e,i,o),n=s-r;let a,l;s===r?a=0:e===s?a=(i-o)/n:i===s?a=2+(o-e)/n:o===s&&(a=4+(e-i)/n),a=Math.min(60*a,360),a<0&&(a+=360);const c=(r+s)/2;return l=s===r?0:c<=.5?n/(s+r):n/(2-s-r),[a,100*l,100*c]},s.rgb.hsv=function(t){let e,i,o,r,s;const n=t[0]/255,a=t[1]/255,l=t[2]/255,c=Math.max(n,a,l),h=c-Math.min(n,a,l),d=function(t){return(c-t)/6/h+.5};return 0===h?(r=0,s=0):(s=h/c,e=d(n),i=d(a),o=d(l),n===c?r=o-i:a===c?r=1/3+e-o:l===c&&(r=2/3+i-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*s,100*c]},s.rgb.hwb=function(t){const e=t[0],i=t[1];let o=t[2];const r=s.rgb.hsl(t)[0],n=1/255*Math.min(e,Math.min(i,o));return o=1-1/255*Math.max(e,Math.max(i,o)),[r,100*n,100*o]},s.rgb.cmyk=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,r=Math.min(1-e,1-i,1-o);return[100*((1-e-r)/(1-r)||0),100*((1-i-r)/(1-r)||0),100*((1-o-r)/(1-r)||0),100*r]},s.rgb.keyword=function(t){const e=r[t];if(e)return e;let i,s=1/0;for(const e of Object.keys(o)){const r=(a=o[e],((n=t)[0]-a[0])**2+(n[1]-a[1])**2+(n[2]-a[2])**2);r<s&&(s=r,i=e)}var n,a;return i},s.keyword.rgb=function(t){return o[t]},s.rgb.xyz=function(t){let e=t[0]/255,i=t[1]/255,o=t[2]/255;return e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,[100*(.4124*e+.3576*i+.1805*o),100*(.2126*e+.7152*i+.0722*o),100*(.0193*e+.1192*i+.9505*o)]},s.rgb.lab=function(t){const e=s.rgb.xyz(t);let i=e[0],o=e[1],r=e[2];return i/=95.047,o/=100,r/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*o-16,500*(i-o),200*(o-r)]},s.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;let r,s,n;if(0===i)return n=255*o,[n,n,n];r=o<.5?o*(1+i):o+i-o*i;const a=2*o-r,l=[0,0,0];for(let t=0;t<3;t++)s=e+1/3*-(t-1),s<0&&s++,s>1&&s--,n=6*s<1?a+6*(r-a)*s:2*s<1?r:3*s<2?a+(r-a)*(2/3-s)*6:a,l[t]=255*n;return l},s.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,o=t[2]/100,r=i;const s=Math.max(o,.01);return o*=2,i*=o<=1?o:2-o,r*=s<=1?s:2-s,[e,100*(0===o?2*r/(s+r):2*i/(o+i)),(o+i)/2*100]},s.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let o=t[2]/100;const r=Math.floor(e)%6,s=e-Math.floor(e),n=255*o*(1-i),a=255*o*(1-i*s),l=255*o*(1-i*(1-s));switch(o*=255,r){case 0:return[o,l,n];case 1:return[a,o,n];case 2:return[n,o,l];case 3:return[n,a,o];case 4:return[l,n,o];case 5:return[o,n,a]}},s.hsv.hsl=function(t){const e=t[0],i=t[1]/100,o=t[2]/100,r=Math.max(o,.01);let s,n;n=(2-i)*o;const a=(2-i)*r;return s=i*r,s/=a<=1?a:2-a,s=s||0,n/=2,[e,100*s,100*n]},s.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,o=t[2]/100;const r=i+o;let s;r>1&&(i/=r,o/=r);const n=Math.floor(6*e),a=1-o;s=6*e-n,1&n&&(s=1-s);const l=i+s*(a-i);let c,h,d;switch(n){default:case 6:case 0:c=a,h=l,d=i;break;case 1:c=l,h=a,d=i;break;case 2:c=i,h=a,d=l;break;case 3:c=i,h=l,d=a;break;case 4:c=l,h=i,d=a;break;case 5:c=a,h=i,d=l}return[255*c,255*h,255*d]},s.cmyk.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r)),255*(1-Math.min(1,o*(1-r)+r))]},s.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100;let r,s,n;return r=3.2406*e+-1.5372*i+-.4986*o,s=-.9689*e+1.8758*i+.0415*o,n=.0557*e+-.204*i+1.057*o,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,r=Math.min(Math.max(0,r),1),s=Math.min(Math.max(0,s),1),n=Math.min(Math.max(0,n),1),[255*r,255*s,255*n]},s.xyz.lab=function(t){let e=t[0],i=t[1],o=t[2];return e/=95.047,i/=100,o/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,[116*i-16,500*(e-i),200*(i-o)]},s.lab.xyz=function(t){let e,i,o;i=(t[0]+16)/116,e=t[1]/500+i,o=i-t[2]/200;const r=i**3,s=e**3,n=o**3;return i=r>.008856?r:(i-16/116)/7.787,e=s>.008856?s:(e-16/116)/7.787,o=n>.008856?n:(o-16/116)/7.787,e*=95.047,i*=100,o*=108.883,[e,i,o]},s.lab.lch=function(t){const e=t[0],i=t[1],o=t[2];let r;return r=360*Math.atan2(o,i)/2/Math.PI,r<0&&(r+=360),[e,Math.sqrt(i*i+o*o),r]},s.lch.lab=function(t){const e=t[0],i=t[1],o=t[2]/360*2*Math.PI;return[e,i*Math.cos(o),i*Math.sin(o)]},s.rgb.ansi16=function(t,e=null){const[i,o,r]=t;let n=null===e?s.rgb.hsv(t)[2]:e;if(n=Math.round(n/50),0===n)return 30;let a=30+(Math.round(r/255)<<2|Math.round(o/255)<<1|Math.round(i/255));return 2===n&&(a+=60),a},s.hsv.ansi16=function(t){return s.rgb.ansi16(s.hsv.rgb(t),t[2])},s.rgb.ansi256=function(t){const e=t[0],i=t[1],o=t[2];return e===i&&i===o?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(i/255*5)+Math.round(o/255*5)},s.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const i=.5*(1+~~(t>50));return[(1&e)*i*255,(e>>1&1)*i*255,(e>>2&1)*i*255]},s.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;return t-=16,[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},s.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},s.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let i=e[0];3===e[0].length&&(i=i.split("").map((t=>t+t)).join(""));const o=parseInt(i,16);return[o>>16&255,o>>8&255,255&o]},s.rgb.hcg=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,r=Math.max(Math.max(e,i),o),s=Math.min(Math.min(e,i),o),n=r-s;let a,l;return a=n<1?s/(1-n):0,l=n<=0?0:r===e?(i-o)/n%6:r===i?2+(o-e)/n:4+(e-i)/n,l/=6,l%=1,[360*l,100*n,100*a]},s.hsl.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=i<.5?2*e*i:2*e*(1-i);let r=0;return o<1&&(r=(i-.5*o)/(1-o)),[t[0],100*o,100*r]},s.hsv.hcg=function(t){const e=t[1]/100,i=t[2]/100,o=e*i;let r=0;return o<1&&(r=(i-o)/(1-o)),[t[0],100*o,100*r]},s.hcg.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;if(0===i)return[255*o,255*o,255*o];const r=[0,0,0],s=e%1*6,n=s%1,a=1-n;let l=0;switch(Math.floor(s)){case 0:r[0]=1,r[1]=n,r[2]=0;break;case 1:r[0]=a,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=n;break;case 3:r[0]=0,r[1]=a,r[2]=1;break;case 4:r[0]=n,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=a}return l=(1-i)*o,[255*(i*r[0]+l),255*(i*r[1]+l),255*(i*r[2]+l)]},s.hcg.hsv=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);let o=0;return i>0&&(o=e/i),[t[0],100*o,100*i]},s.hcg.hsl=function(t){const e=t[1]/100,i=t[2]/100*(1-e)+.5*e;let o=0;return i>0&&i<.5?o=e/(2*i):i>=.5&&i<1&&(o=e/(2*(1-i))),[t[0],100*o,100*i]},s.hcg.hwb=function(t){const e=t[1]/100,i=e+t[2]/100*(1-e);return[t[0],100*(i-e),100*(1-i)]},s.hwb.hcg=function(t){const e=t[1]/100,i=1-t[2]/100,o=i-e;let r=0;return o<1&&(r=(i-o)/(1-o)),[t[0],100*o,100*r]},s.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},s.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},s.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},s.gray.hsl=function(t){return[0,0,t[0]]},s.gray.hsv=s.gray.hsl,s.gray.hwb=function(t){return[0,100,t[0]]},s.gray.cmyk=function(t){return[0,0,0,t[0]]},s.gray.lab=function(t){return[t[0],0,0]},s.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i},s.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},8513:(t,e,i)=>{const o=i(4560),r=i(5920),s={};Object.keys(o).forEach((t=>{s[t]={},Object.defineProperty(s[t],"channels",{value:o[t].channels}),Object.defineProperty(s[t],"labels",{value:o[t].labels});const e=r(t);Object.keys(e).forEach((i=>{const o=e[i];s[t][i]=function(t){const e=function(...e){const i=e[0];if(null==i)return i;i.length>1&&(e=i);const o=t(e);if("object"==typeof o)for(let t=o.length,e=0;e<t;e++)o[e]=Math.round(o[e]);return o};return"conversion"in t&&(e.conversion=t.conversion),e}(o),s[t][i].raw=function(t){const e=function(...e){const i=e[0];return null==i?i:(i.length>1&&(e=i),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(o)}))})),t.exports=s},5920:(t,e,i)=>{const o=i(4560);function r(t,e){return function(i){return e(t(i))}}function s(t,e){const i=[e[t].parent,t];let s=o[e[t].parent][t],n=e[t].parent;for(;e[n].parent;)i.unshift(e[n].parent),s=r(o[e[n].parent][n],s),n=e[n].parent;return s.conversion=i,s}t.exports=function(t){const e=function(t){const e=function(){const t={},e=Object.keys(o);for(let i=e.length,o=0;o<i;o++)t[e[o]]={distance:-1,parent:null};return t}(),i=[t];for(e[t].distance=0;i.length;){const t=i.pop(),r=Object.keys(o[t]);for(let o=r.length,s=0;s<o;s++){const o=r[s],n=e[o];-1===n.distance&&(n.distance=e[t].distance+1,n.parent=t,i.unshift(o))}}return e}(t),i={},r=Object.keys(e);for(let t=r.length,o=0;o<t;o++){const t=r[o];null!==e[t].parent&&(i[t]=s(t,e))}return i}},7346:t=>{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6272:(t,e,i)=>{const o=i(2370),r=i(8513),s=["keyword","gray","hex"],n={};for(const t of Object.keys(r))n[[...r[t].labels].sort().join("")]=t;const a={};function l(t,e){if(!(this instanceof l))return new l(t,e);if(e&&e in s&&(e=null),e&&!(e in r))throw new Error("Unknown model: "+e);let i,c;if(null==t)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof l)this.model=t.model,this.color=[...t.color],this.valpha=t.valpha;else if("string"==typeof t){const e=o.get(t);if(null===e)throw new Error("Unable to parse color from string: "+t);this.model=e.model,c=r[this.model].channels,this.color=e.value.slice(0,c),this.valpha="number"==typeof e.value[c]?e.value[c]:1}else if(t.length>0){this.model=e||"rgb",c=r[this.model].channels;const i=Array.prototype.slice.call(t,0,c);this.color=u(i,c),this.valpha="number"==typeof t[c]?t[c]:1}else if("number"==typeof t)this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;const e=Object.keys(t);"alpha"in t&&(e.splice(e.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);const o=e.sort().join("");if(!(o in n))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=n[o];const{labels:s}=r[this.model],a=[];for(i=0;i<s.length;i++)a.push(t[s[i]]);this.color=u(a)}if(a[this.model])for(c=r[this.model].channels,i=0;i<c;i++){const t=a[this.model][i];t&&(this.color[i]=t(this.color[i]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}l.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in o.to?this:this.rgb();e=e.round("number"==typeof t?t:1);const i=1===e.valpha?e.color:[...e.color,this.valpha];return o.to[e.model](i)},percentString(t){const e=this.rgb().round("number"==typeof t?t:1),i=1===e.valpha?e.color:[...e.color,this.valpha];return o.to.rgb.percent(i)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const t={},{channels:e}=r[this.model],{labels:i}=r[this.model];for(let o=0;o<e;o++)t[i[o]]=this.color[o];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray(){const t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject(){const t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round(t){return t=Math.max(t||0,0),new l([...this.color.map(c(t)),this.valpha],this.model)},alpha(t){return void 0!==t?new l([...this.color,Math.max(0,Math.min(1,t))],this.model):this.valpha},red:h("rgb",0,d(255)),green:h("rgb",1,d(255)),blue:h("rgb",2,d(255)),hue:h(["hsl","hsv","hsl","hwb","hcg"],0,(t=>(t%360+360)%360)),saturationl:h("hsl",1,d(100)),lightness:h("hsl",2,d(100)),saturationv:h("hsv",1,d(100)),value:h("hsv",2,d(100)),chroma:h("hcg",1,d(100)),gray:h("hcg",2,d(100)),white:h("hwb",1,d(100)),wblack:h("hwb",2,d(100)),cyan:h("cmyk",0,d(100)),magenta:h("cmyk",1,d(100)),yellow:h("cmyk",2,d(100)),black:h("cmyk",3,d(100)),x:h("xyz",0,d(95.047)),y:h("xyz",1,d(100)),z:h("xyz",2,d(108.833)),l:h("lab",0,d(100)),a:h("lab",1),b:h("lab",2),keyword(t){return void 0!==t?new l(t):r[this.model].keyword(this.color)},hex(t){return void 0!==t?new l(t):o.to.hex(this.rgb().round().color)},hexa(t){if(void 0!==t)return new l(t);const e=this.rgb().round().color;let i=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===i.length&&(i="0"+i),o.to.hex(e)+i},rgbNumber(){const t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity(){const t=this.rgb().color,e=[];for(const[i,o]of t.entries()){const t=o/255;e[i]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.05)/(e+.05)},level(t){const e=this.contrast(t);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const t=this.rgb().color;return(2126*t[0]+7152*t[1]+722*t[2])/1e4<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten(t){const e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken(t){const e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate(t){const e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate(t){const e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten(t){const e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken(t){const e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale(){const t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return l.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let i=e.color[0];return i=(i+t)%360,i=i<0?360+i:i,e.color[0]=i,e},mix(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);const i=t.rgb(),o=this.rgb(),r=void 0===e?.5:e,s=2*r-1,n=i.alpha()-o.alpha(),a=((s*n==-1?s:(s+n)/(1+s*n))+1)/2,c=1-a;return l.rgb(a*i.red()+c*o.red(),a*i.green()+c*o.green(),a*i.blue()+c*o.blue(),i.alpha()*r+o.alpha()*(1-r))}};for(const t of Object.keys(r)){if(s.includes(t))continue;const{channels:e}=r[t];l.prototype[t]=function(...e){return this.model===t?new l(this):e.length>0?new l(e,t):new l([...(i=r[this.model][t].raw(this.color),Array.isArray(i)?i:[i]),this.valpha],t);var i},l[t]=function(...i){let o=i[0];return"number"==typeof o&&(o=u(i,e)),new l(o,t)}}function c(t){return function(e){return function(t,e){return Number(t.toFixed(e))}(e,t)}}function h(t,e,i){t=Array.isArray(t)?t:[t];for(const o of t)(a[o]||(a[o]=[]))[e]=i;return t=t[0],function(o){let r;return void 0!==o?(i&&(o=i(o)),r=this[t](),r.color[e]=o,r):(r=this[t]().color[e],i&&(r=i(r)),r)}}function d(t){return function(e){return Math.max(0,Math.min(t,e))}}function u(t,e){for(let i=0;i<e;i++)"number"!=typeof t[i]&&(t[i]=0);return t}t.exports=l},2370:(t,e,i)=>{var o=i(7346),r=i(9311),s=Object.hasOwnProperty,n=Object.create(null);for(var a in o)s.call(o,a)&&(n[o[a]]=a);var l=t.exports={to:{},get:{}};function c(t,e,i){return Math.min(Math.max(e,t),i)}function h(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}l.get=function(t){var e,i;switch(t.substring(0,3).toLowerCase()){case"hsl":e=l.get.hsl(t),i="hsl";break;case"hwb":e=l.get.hwb(t),i="hwb";break;default:e=l.get.rgb(t),i="rgb"}return e?{model:i,value:e}:null},l.get.rgb=function(t){if(!t)return null;var e,i,r,n=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(r=e[2],e=e[1],i=0;i<3;i++){var a=2*i;n[i]=parseInt(e.slice(a,a+2),16)}r&&(n[3]=parseInt(r,16)/255)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(r=(e=e[1])[3],i=0;i<3;i++)n[i]=parseInt(e[i]+e[i],16);r&&(n[3]=parseInt(r+r,16)/255)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(i=0;i<3;i++)n[i]=parseInt(e[i+1],0);e[4]&&(e[5]?n[3]=.01*parseFloat(e[4]):n[3]=parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(e=t.match(/^(\w+)$/))?"transparent"===e[1]?[0,0,0,0]:s.call(o,e[1])?((n=o[e[1]])[3]=1,n):null:null;for(i=0;i<3;i++)n[i]=Math.round(2.55*parseFloat(e[i+1]));e[4]&&(e[5]?n[3]=.01*parseFloat(e[4]):n[3]=parseFloat(e[4]))}for(i=0;i<3;i++)n[i]=c(n[i],0,255);return n[3]=c(n[3],0,1),n},l.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var i=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(i)?1:i,0,1)]}return null},l.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(e){var i=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,c(parseFloat(e[2]),0,100),c(parseFloat(e[3]),0,100),c(isNaN(i)?1:i,0,1)]}return null},l.to.hex=function(){var t=r(arguments);return"#"+h(t[0])+h(t[1])+h(t[2])+(t[3]<1?h(Math.round(255*t[3])):"")},l.to.rgb=function(){var t=r(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},l.to.rgb.percent=function(){var t=r(arguments),e=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),o=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+i+"%, "+o+"%)":"rgba("+e+"%, "+i+"%, "+o+"%, "+t[3]+")"},l.to.hsl=function(){var t=r(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},l.to.hwb=function(){var t=r(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},l.to.keyword=function(t){return n[t.slice(0,3)]}},7250:t=>{var e,i;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&i.rotl(t,8)|4278255360&i.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=i.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],i=0,o=0;i<t.length;i++,o+=8)e[o>>>5]|=t[i]<<24-o%32;return e},wordsToBytes:function(t){for(var e=[],i=0;i<32*t.length;i+=8)e.push(t[i>>>5]>>>24-i%32&255);return e},bytesToHex:function(t){for(var e=[],i=0;i<t.length;i++)e.push((t[i]>>>4).toString(16)),e.push((15&t[i]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],i=0;i<t.length;i+=2)e.push(parseInt(t.substr(i,2),16));return e},bytesToBase64:function(t){for(var i=[],o=0;o<t.length;o+=3)for(var r=t[o]<<16|t[o+1]<<8|t[o+2],s=0;s<4;s++)8*o+6*s<=8*t.length?i.push(e.charAt(r>>>6*(3-s)&63)):i.push("=");return i.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],o=0,r=0;o<t.length;r=++o%4)0!=r&&i.push((e.indexOf(t.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|e.indexOf(t.charAt(o))>>>6-2*r);return i}},t.exports=i},8666:t=>{t.exports=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},4418:(t,e,i)=>{var o,r,s,n;o=i(7250),r=i(4754).utf8,s=i(4754).bin,(n=function(t,e){var i=o.wordsToBytes(function(t){t.constructor==String?t=r.stringToBytes(t):"undefined"!=typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());var e=o.bytesToWords(t),i=8*t.length,s=[],n=1732584193,a=-271733879,l=-1732584194,c=271733878,h=-1009589776;e[i>>5]|=128<<24-i%32,e[15+(i+64>>>9<<4)]=i;for(var d=0;d<e.length;d+=16){for(var u=n,p=a,g=l,m=c,f=h,v=0;v<80;v++){if(v<16)s[v]=e[d+v];else{var b=s[v-3]^s[v-8]^s[v-14]^s[v-16];s[v]=b<<1|b>>>31}var y=(n<<5|n>>>27)+h+(s[v]>>>0)+(v<20?1518500249+(a&l|~a&c):v<40?1859775393+(a^l^c):v<60?(a&l|a&c|l&c)-1894007588:(a^l^c)-899497514);h=c,c=l,l=a<<30|a>>>2,a=n,n=y}n+=u,a+=p,l+=g,c+=m,h+=f}return[n,a,l,c,h]}(t));return e&&e.asBytes?i:e&&e.asString?s.bytesToString(i):o.bytesToHex(i)})._blocksize=16,n._digestsize=20,t.exports=n},9311:(t,e,i)=>{"use strict";var o=i(8666),r=Array.prototype.concat,s=Array.prototype.slice,n=t.exports=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var a=t[i];o(a)?e=r.call(e,s.call(a)):e.push(a)}return e};n.wrap=function(t){return function(){return t(n(arguments))}}},6565:(t,e,i)=>{"use strict";var o=i(2180);t.exports=function(t,e,i,r){var s,n,a;if(t<=0)return 0;if(1===t||0===r)return e+i[0];if(s=r<0?(1-t)*r:0,t<8){for(n=0,a=0;a<t;a++)n+=e+i[s],s+=r;return n}return o(t,e,i,r,s)}},5271:(t,e,i)=>{"use strict";var o=i(5714);t.exports=o},5714:(t,e,i)=>{"use strict";var o=i(6448),r=i(6565);o(r,"ndarray",i(2180)),t.exports=r},2180:(t,e,i)=>{"use strict";var o=i(2287);t.exports=function t(e,i,r,s,n){var a,l,c,h,d,u,p,g,m,f,v,b,y;if(e<=0)return 0;if(1===e||0===s)return i+r[n];if(a=n,e<8){for(v=0,y=0;y<e;y++)v+=i+r[a],a+=s;return v}if(e<=128){for(l=i+r[a],c=i+r[a+s],h=i+r[a+2*s],d=i+r[a+3*s],u=i+r[a+4*s],p=i+r[a+5*s],g=i+r[a+6*s],m=i+r[a+7*s],a+=8*s,f=e%8,y=8;y<e-f;y+=8)l+=i+r[a],c+=i+r[a+s],h+=i+r[a+2*s],d+=i+r[a+3*s],u+=i+r[a+4*s],p+=i+r[a+5*s],g+=i+r[a+6*s],m+=i+r[a+7*s],a+=8*s;for(v=l+c+(h+d)+(u+p+(g+m));y<e;y++)v+=i+r[a],a+=s;return v}return b=o(e/2),t(b-=b%8,i,r,s,a)+t(e-b,i,r,s,a+b*s)}},9341:(t,e,i)=>{"use strict";var o=i(3465);t.exports=function(t,e,i){var r,s,n;if(t<=0)return 0;if(1===t||0===i)return e[0];if(r=i<0?(1-t)*i:0,t<8){for(s=0,n=0;n<t;n++)s+=e[r],r+=i;return s}return o(t,e,i,r)}},1094:(t,e,i)=>{"use strict";var o=i(2905);t.exports=o},2905:(t,e,i)=>{"use strict";var o=i(6448),r=i(9341);o(r,"ndarray",i(3465)),t.exports=r},3465:(t,e,i)=>{"use strict";var o=i(2287);t.exports=function t(e,i,r,s){var n,a,l,c,h,d,u,p,g,m,f,v,b;if(e<=0)return 0;if(1===e||0===r)return i[s];if(n=s,e<8){for(f=0,b=0;b<e;b++)f+=i[n],n+=r;return f}if(e<=128){for(a=i[n],l=i[n+r],c=i[n+2*r],h=i[n+3*r],d=i[n+4*r],u=i[n+5*r],p=i[n+6*r],g=i[n+7*r],n+=8*r,m=e%8,b=8;b<e-m;b+=8)a+=i[n],l+=i[n+r],c+=i[n+2*r],h+=i[n+3*r],d+=i[n+4*r],u+=i[n+5*r],p+=i[n+6*r],g+=i[n+7*r],n+=8*r;for(f=a+l+(c+h)+(d+u+(p+g));b<e;b++)f+=i[n],n+=r;return f}return v=o(e/2),t(v-=v%8,i,r,n)+t(e-v,i,r,n+v*r)}},2287:(t,e,i)=>{"use strict";var o=i(2154);t.exports=o},2154:t=>{"use strict";var e=Math.floor;t.exports=e},235:(t,e,i)=>{"use strict";var o=i(9830);t.exports=o},9830:(t,e,i)=>{"use strict";var o=i(6448),r=i(1114);o(r,"ndarray",i(6432)),t.exports=r},1114:(t,e,i)=>{"use strict";var o=i(6985);t.exports=function(t,e,i){return o(t,e,i)}},6432:(t,e,i)=>{"use strict";var o=i(6985).ndarray;t.exports=function(t,e,i,r){return o(t,e,i,r)}},6985:(t,e,i)=>{"use strict";var o=i(184);t.exports=o},184:(t,e,i)=>{"use strict";var o=i(6448),r=i(4186);o(r,"ndarray",i(2510)),t.exports=r},4186:(t,e,i)=>{"use strict";var o=i(1094),r=i(5271);t.exports=function(t,e,i){var s;return t<=0?NaN:1===t||0===i?e[0]:(s=o(t,e,i)/t)+r(t,-s,e,i)/t}},2510:(t,e,i)=>{"use strict";var o=i(1094).ndarray,r=i(5271).ndarray;t.exports=function(t,e,i,s){var n;return t<=0?NaN:1===t||0===i?e[s]:(n=o(t,e,i,s)/t)+r(t,-n,e,i,s)/t}},5949:(t,e,i)=>{"use strict";var o=i(780);t.exports=o},780:t=>{"use strict";t.exports=function(){var t,e,i;return t=0,i=0,function(o,r){return 0===arguments.length?void 0===e?null:i:(e=!0,i+=r/(t+=r)*(o-i))}}},6448:(t,e,i)=>{"use strict";var o=i(487);t.exports=o},487:(t,e,i)=>{"use strict";var o=i(5580);t.exports=function(t,e,i){o(t,e,{configurable:!1,enumerable:!1,writable:!1,value:i})}},6859:t=>{"use strict";var e=Object.defineProperty;t.exports=e},7581:t=>{"use strict";var e="function"==typeof Object.defineProperty?Object.defineProperty:null;t.exports=e},894:(t,e,i)=>{"use strict";var o=i(7581);t.exports=function(){try{return o({},"x",{}),!0}catch(t){return!1}}},5580:(t,e,i)=>{"use strict";var o,r=i(894),s=i(6859),n=i(3509);o=r()?s:n,t.exports=o},3509:t=>{"use strict";var e=Object.prototype,i=e.toString,o=e.__defineGetter__,r=e.__defineSetter__,s=e.__lookupGetter__,n=e.__lookupSetter__;t.exports=function(t,a,l){var c,h,d,u;if("object"!=typeof t||null===t||"[object Array]"===i.call(t))throw new TypeError("invalid argument. First argument must be an object. Value: `"+t+"`.");if("object"!=typeof l||null===l||"[object Array]"===i.call(l))throw new TypeError("invalid argument. Property descriptor must be an object. Value: `"+l+"`.");if((h="value"in l)&&(s.call(t,a)||n.call(t,a)?(c=t.__proto__,t.__proto__=e,delete t[a],t[a]=l.value,t.__proto__=c):t[a]=l.value),d="get"in l,u="set"in l,h&&(d||u))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return d&&o&&o.call(t,a,l.get),u&&r&&r.call(t,a,l.set),t}}},e={};function i(o){var r=e[o];if(void 0!==r)return r.exports;var s=e[o]={exports:{}};return t[o](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";i.r(o),i.d(o,{bucket:()=>w,calendar:()=>D,code:()=>k,commands:()=>y,core:()=>v,dialog:()=>C,editor:()=>N,form:()=>O,grid:()=>A,localize:()=>s,markdown:()=>P,package:()=>BA,plugins:()=>FA,statusbar:()=>j,tabs:()=>b,toolbar:()=>H,tree:()=>x});var t={};i.r(t),i.d(t,{bind:()=>mt,clone:()=>st,cloneDeep:()=>rt,escapeRegExp:()=>ut,ifNull:()=>it,intersect:()=>pt,isBool:()=>q,isCharLetter:()=>et,isControlCharacter:()=>dt,isFunction:()=>X,isNumber:()=>tt,isNumericString:()=>K,isObject:()=>Z,isString:()=>Q,mergeDeep:()=>ot,minmax:()=>at,minmax2d:()=>lt,rectIntersect:()=>gt,removeAccents:()=>ct,strToNum:()=>J,trim:()=>nt});var e={};i.r(e),i.d(e,{appendElement:()=>wt,appendScript:()=>At,appendStyle:()=>$t,createElement:()=>yt,createName:()=>ft,debounceOn:()=>It,empty:()=>St,findParent:()=>Et,fixElementPosition:()=>Ut,fixElementSize:()=>Gt,fixPosition:()=>Kt,getBounds:()=>Bt,getElementOffset:()=>Tt,hideCell:()=>_t,hideElement:()=>kt,isHidden:()=>Ct,measureText:()=>ee,numToPixels:()=>Dt,on:()=>Lt,px:()=>Ot,query:()=>ie,register:()=>vt,remove:()=>zt,setBorderWidth:()=>Qt,setBounds:()=>Wt,setCenterPosition:()=>Xt,setClasses:()=>Rt,setInset:()=>Ft,setLineHeight:()=>Vt,setMargin:()=>qt,setMaxSize:()=>Pt,setMinSize:()=>jt,setPadding:()=>Zt,setPosition:()=>Ht,setSize:()=>Nt,setStyle:()=>bt,setZIndex:()=>Yt,showCell:()=>Mt,showElement:()=>xt,zoomElement:()=>Jt});var r={};i.r(r),i.d(r,{escapeHTML:()=>se,highlightText:()=>ne});var s={};i.r(s),i.d(s,{LocaleChangeEvent:()=>Co,createTranslateFunction:()=>To,getISOCode:()=>Oo,getLocale:()=>Lo,getRegionISOCode:()=>No,getSystemLocale:()=>Mo,hasLocale:()=>Io,msg:()=>$o,registerLocale:()=>Eo,setLocale:()=>Ro});var n={};i.r(n),i.d(n,{createDateFormatter:()=>Jo,dateToSerialDate:()=>sr,detectDefaultFormat:()=>Yo,detectFormat:()=>Vo,format:()=>Zo,getDateFormat:()=>qo,getDateFormatter:()=>Qo,getDateLocale:()=>Ko,getFiscalISOWeek:()=>rr,getFiscalQuarter:()=>er,getFiscalYear:()=>tr,getFiscalYearBounds:()=>or,isISODate:()=>Uo,parse:()=>Xo,registerDateLocale:()=>Fo,serialDateToDate:()=>nr,stripTime:()=>ir,workday:()=>ar});var a={};i.r(a),i.d(a,{createNumberFormatter:()=>mr,fixNumberFormat:()=>yr,getLocalDecimalSeparator:()=>wr,getNumberFormatter:()=>gr,isExtendedNumberFormat:()=>lr,isNumberFormat:()=>ur,mod:()=>cr,romanize:()=>dr,stringFormatToNumberFormat:()=>vr});var l={};i.r(l),i.d(l,{CsvReader:()=>kr,DEFAULT_CSV_DESCRIPTION:()=>xr,arrayToCsv:()=>Cr,csvToArray:()=>Mr});var c={};i.r(c),i.d(c,{LogLevel:()=>_r,Logger:()=>Sr,getLogger:()=>Lr,registerLogger:()=>Er});var h={};i.r(h),i.d(h,{FilterState:()=>Ir,TreeNodeMixin:()=>Tr,buildLevelBasedTree:()=>$r,buildParentBasedTree:()=>Ar,buildTree:()=>Dr});var d={};i.r(d),i.d(d,{alpha:()=>Pr,contrastColor:()=>Fr,css:()=>Vr,darken:()=>Nr,getComplmentaryColor:()=>jr,lighten:()=>Or,mix:()=>Hr,plainHex:()=>Wr,toHex:()=>Br});var u={};i.r(u),i.d(u,{ActionEvent:()=>Ur,dispatchActionEvent:()=>Gr});var p={};i.r(p),i.d(p,{clone:()=>Xr,reverseColumns:()=>Yr,reverseRows:()=>qr,transpose:()=>Zr});var g={};i.r(g),i.d(g,{AddEvent:()=>Kr,ChangeEvent:()=>Qr,SerialzieEvent:()=>Jr});var m={};i.r(m),i.d(m,{PAPER_SIZES:()=>ts});var f={};i.r(f),i.d(f,{detect:()=>es});var v={};i.r(v),i.d(v,{AMD:()=>cs,Accordion:()=>Ca,Alert:()=>Da,AlertEvent:()=>Aa,AnnotationTool:()=>Ia,BaseElement:()=>Na,Button:()=>ol,Checkbox:()=>Zd,Close:()=>rl,ColorPicker:()=>_u,ColorPickerEvent:()=>ku,ColorTypes:()=>Ra,ComponentAdapter:()=>hu,ComponentEvent:()=>Oa,ComponentSlice:()=>mu,ComponentStore:()=>gu,Container:()=>yu,Dropdown:()=>Ru,DropdownColorPicker:()=>$u,DropdownContainer:()=>Iu,DropdownEvent:()=>Lu,DropdownList:()=>Fu,DropdownMenu:()=>ju,ExpandEvent:()=>Uu,Expander:()=>Yu,FileInput:()=>lp,FloatingWindow:()=>Xu,Icon:()=>tp,Input:()=>op,Label:()=>sp,LevelExpandEvent:()=>Gu,LevelExpander:()=>qu,LinkedList:()=>us,LinkedListNode:()=>ds,List:()=>vp,ListPointerEvent:()=>fp,ListSelectEvent:()=>mp,ListSelectTrigger:()=>pp,ListSortEvent:()=>Ip,Loader:()=>Hp,Menu:()=>Nu,MenuEvent:()=>Ou,NumericInput:()=>dp,OmegaComponent:()=>pu,Overlay:()=>xp,Panel:()=>Mp,Plugin:()=>fu,Plugins:()=>vu,ResizeEvent:()=>Sp,ScriptLoader:()=>hs,ShortcutEvent:()=>ps,ShortcutManager:()=>ms,Sizer:()=>zp,SlideEvent:()=>lu,Slider:()=>cu,SliderDirection:()=>ru,SortableList:()=>Rp,SplitContainer:()=>Zn,SplitContainerEvent:()=>Yn,SplitContainerResizeEvent:()=>qn,Switch:()=>Op,SwitchEvent:()=>Dp,ThemeChangeEvent:()=>Xa,ThemeManager:()=>Qa,Tooltip:()=>jp,actions:()=>u,addThemeVariables:()=>Ga,colorable:()=>qa,colors:()=>d,constants:()=>G,createThemeVariables:()=>Va,createThemeVariablesCss:()=>Ua,csv:()=>l,dates:()=>n,detectThemeType:()=>Wa,device:()=>f,dom:()=>e,events:()=>g,getDefaultOptions:()=>rs,getThemeManager:()=>Ja,html:()=>r,images:()=>Bu,initCommonOptions:()=>ss,initOptions:()=>ss,log:()=>c,matrix:()=>p,numbers:()=>a,paper:()=>m,setDefaultOptions:()=>os,themeable:()=>Ya,tree:()=>h,utils:()=>t});var b={};i.r(b),i.d(b,{TabCloseEvent:()=>Yp,TabContainer:()=>tg,TabEvent:()=>Gp,TabSplitContainer:()=>og,TabSplitContainerModel:()=>Fp,Tabs:()=>Zp});var y={};i.r(y),i.d(y,{Command:()=>rg,CommandEvent:()=>pg,CommandGroup:()=>sg,CommandManager:()=>xg,CommandWindow:()=>fg,Commands:()=>ng,CommandsAdapter:()=>vg,CommandsFlowAdapter:()=>bg,commandFactories:()=>yg,createCommands:()=>wg,initOptions:()=>cg});var w={};i.r(w),i.d(w,{AlertEvent:()=>Pg,Bucket:()=>Ag,BucketAlert:()=>jg,BucketButton:()=>Zg,BucketEvent:()=>$g,BucketPath:()=>sm,BucketPathEvent:()=>rm,BucketTop:()=>Yg,ComponentHost:()=>Qg,ModalSidebar:()=>tm,Sidebar:()=>Fg,Sidemenu:()=>Vg,commonMenus:()=>em});var x={};i.r(x),i.d(x,{DateTreeAdapter:()=>Nf,ItemPropertyType:()=>Bm,LevelSelectEvent:()=>df,NodeModel:()=>jm,NodeSelectionStatus:()=>Wm,SelectMode:()=>Fm,Tree:()=>sf,TreeAdapter:()=>nf,TreeDropEvent:()=>rf,TreeDropdown:()=>cf,TreeEvent:()=>ef,TreeMenu:()=>ff,TreeModel:()=>Hm,TreePointerEvent:()=>of,TreeSearchEvent:()=>gf,TreeSelectionModel:()=>Um,normalizeSerializedValues:()=>Vm});var k={};i.r(k),i.d(k,{Code:()=>km,CodeBlock:()=>Gf,CodeDiffEditor:()=>Pm,CodeEvent:()=>am,CodeView:()=>Zf,MonacoLoader:()=>nm,loader:()=>nm});var C={};i.r(C),i.d(C,{Dialog:()=>ev,DialogEvent:()=>tv});var M={};i.r(M),i.d(M,{SHEET_NAME_REGEX:()=>lv,isSheetNameValid:()=>cv,sanitizeSheetName:()=>hv});var _={};i.r(_),i.d(_,{concat:()=>Qv,concatenate:()=>Kv,left:()=>qv,len:()=>Jv,lower:()=>tb,mid:()=>Xv,right:()=>Zv,text:()=>Yv,upper:()=>eb});var S={};i.r(S),i.d(S,{date:()=>cb,datevalue:()=>rb,day:()=>ub,eomonth:()=>pb,isBlank:()=>lb,isoweeknum:()=>gb,month:()=>db,today:()=>ab,weekday:()=>sb,workday:()=>nb,year:()=>hb});var z={};i.r(z),i.d(z,{PI:()=>Ib,abs:()=>Nb,acos:()=>mb,acosh:()=>fb,acot:()=>vb,acoth:()=>bb,asin:()=>yb,asinh:()=>wb,atan:()=>xb,atanh:()=>kb,ceiling:()=>Pb,cos:()=>Cb,cosh:()=>Mb,cot:()=>_b,coth:()=>Sb,count:()=>uy,countblank:()=>py,countif:()=>gy,countunique:()=>my,csc:()=>zb,csch:()=>Eb,degrees:()=>Lb,even:()=>jb,exp:()=>Hb,fact:()=>Fb,factdouble:()=>Bb,floor:()=>Wb,isdecimal:()=>Vb,iseven:()=>Ub,isodd:()=>Gb,ln:()=>Yb,log:()=>qb,log10:()=>Zb,mod:()=>Xb,odd:()=>Qb,power:()=>Kb,product:()=>Jb,quotient:()=>ty,radians:()=>ey,rand:()=>iy,randarray:()=>oy,randbetween:()=>ry,round:()=>sy,rounddown:()=>ny,roundup:()=>ay,sec:()=>Rb,sech:()=>Tb,sequence:()=>ly,sign:()=>cy,sin:()=>$b,sinh:()=>Ab,sqrt:()=>hy,sqrtpi:()=>dy,sum:()=>fy,sumif:()=>vy,sumproduct:()=>yy,sumsq:()=>by,tan:()=>Db,tanh:()=>Ob});var E={};i.r(E),i.d(E,{address:()=>xy,choose:()=>_y,column:()=>Sy,columns:()=>Ey,filter:()=>Dy,formulatext:()=>Iy,hlookup:()=>Cy,index:()=>Ry,indirect:()=>Ty,lookup:()=>My,match:()=>$y,offset:()=>Ay,row:()=>zy,rows:()=>Ly,vlookup:()=>ky});var L={};i.r(L),i.d(L,{erfc:()=>Py});var I={};i.r(I),i.d(I,{_false:()=>Uy,_if:()=>Wy,_switch:()=>By,_true:()=>Gy,and:()=>jy,iferror:()=>Yy,not:()=>Vy,or:()=>Hy,xor:()=>Fy});var R={};i.r(R),i.d(R,{avedev:()=>tw,average:()=>Ky,average_weighted:()=>Jy,max:()=>iw,min:()=>ew});var T={};i.r(T),i.d(T,{_map:()=>rw,date:()=>S,logical:()=>I,lookup:()=>E,math:()=>z,special:()=>L,statistical:()=>R,text:()=>_});var $={};i.r($),i.d($,{BaseRenderer:()=>yC,CheckboxRenderer:()=>CC,DateTimeRenderer:()=>MC,DropdownRenderer:()=>_C,GeneralRenderer:()=>EC,NumberRenderer:()=>SC,TextRenderer:()=>zC,applyStyle:()=>bC,cellTypeRendererMap:()=>LC,getCellRenderer:()=>IC});var A={};i.r(A),i.d(A,{CalculationContext:()=>sw,CalculationModel:()=>jw,CellModel:()=>_w,CellRange:()=>Ev,ColumnModel:()=>zw,Comment:()=>vC,CommentEvent:()=>fC,CommentItem:()=>$w,CommentModel:()=>Aw,ConditionalFormats:()=>Gw,Dependencies:()=>Ow,ElementCache:()=>Dx,ElementModel:()=>dw,FilterEvent:()=>ex,FilterLabel:()=>Px,FilterModel:()=>ix,Formula:()=>Gv,FormulaInput:()=>Bx,FormulaInputEvent:()=>Fx,Grid:()=>Qk,GridAdapter:()=>RC,GridColumnResizeEvent:()=>Jx,GridEditEvent:()=>Qx,GridEditing:()=>bk,GridErrorEvent:()=>Zx,GridEvent:()=>Xx,GridEvents:()=>ek,GridFiltering:()=>Nk,GridGroup:()=>oC,GridGroupEvent:()=>iC,GridModel:()=>Ix,GridRendering:()=>ik,GridResizeEvent:()=>Kx,GridRowResizeEvent:()=>tk,GridSelecting:()=>ok,GridSortEvent:()=>Wk,GridSorting:()=>Vk,GridTooltip:()=>pC,GroupModel:()=>Rx,History:()=>Tx,IterableAddressRange:()=>sx,IterableAxisRange:()=>nx,IterableRange:()=>rx,MergeCellState:()=>zx,Merges:()=>Ex,NamingModel:()=>ax,ObjectEvent:()=>Hk,ObjectHost:()=>Fk,RowModel:()=>cx,SelectionModel:()=>$x,Selector:()=>lC,SelectorEvent:()=>nC,SelectorMoveEvent:()=>aC,SortOrder:()=>Ew,SortingArrow:()=>uC,SortingModel:()=>Tw,Sparkline:()=>hC,Sparklines:()=>ox,Table:()=>Yx,TableEvent:()=>Gx,TokenType:()=>yv,Tokenizer:()=>_v,addGradient:()=>ww,addPattern:()=>yw,alignmentToString:()=>vx,applyCellTheme:()=>Cx,applyColumnTheme:()=>Mx,applyRowTheme:()=>_x,applyTheme:()=>Sx,autofill:()=>lw,borderCSSStyleMap:()=>gw,borderStyleCSSMap:()=>pw,borderToString:()=>fx,convertCSSBorder:()=>vw,convertCSSColor:()=>fw,convertCSSVerticalAlignment:()=>mw,convertToCSSBorder:()=>bw,createBoolMatcher:()=>qw,createCellMatcher:()=>tx,createGroupCommands:()=>Yk,createMultiMatcher:()=>Zw,createMultiMultiMatcher:()=>Xw,createRangeMatcher:()=>Jw,createTextMatcher:()=>Yw,cssStyleFromString:()=>uw,cssStyleToStyle:()=>kw,decodeColumn:()=>Tv,decodeRow:()=>Iv,encodeColumn:()=>Rv,encodeRow:()=>Lv,extrapolateFormulas:()=>aw,extrapolateValues:()=>nw,functions:()=>T,gridConstants:()=>av,hashStyle:()=>bx,iconSets:()=>Vw,initGridCommands:()=>Zk,initOptions:()=>lx,isArythmeticOperator:()=>mv,isBool:()=>kv,isFilterRange:()=>Qw,isFilterRangeEmpty:()=>Kw,isFormula:()=>Hv,isLetter:()=>Cv,isLogicalOperator:()=>gv,isNumber:()=>xv,isOperand:()=>wv,isOperator:()=>fv,matrixOperation:()=>bv,normalizeCellValidation:()=>cw,operatorMap:()=>pv,prefixFormula:()=>Fv,renderers:()=>$,scalarOperation:()=>vv,sortRanges:()=>$v,stripFormulaPrefix:()=>Bv,styleToCSStyle:()=>xw,utils:()=>M,validateValue:()=>hw});var D={};i.r(D),i.d(D,{Calendar:()=>sM,CalendarDropdown:()=>uM,initOptions:()=>AC});var O={};i.r(O),i.d(O,{CalendarDateInput:()=>UM,Form:()=>zM,FormAdapter:()=>EM,FormButton:()=>t_,FormCheckbox:()=>ZM,FormColorInput:()=>BM,FormContainer:()=>$M,FormControlModel:()=>wM,FormControlType:()=>yM,FormDateInput:()=>VM,FormEvent:()=>SM,FormFileInput:()=>qM,FormLabel:()=>XM,FormList:()=>KM,FormModel:()=>xM,FormNumericInput:()=>YM,FormPasswordInput:()=>HM,FormTextInput:()=>PM});var N={};i.r(N),i.d(N,{ConfigForm:()=>r_,Editor:()=>h_,EditorEvent:()=>c_,EditorFormula:()=>m_,EditorStatusbar:()=>x_,EditorToolbar:()=>L_,EditorZoom:()=>u_,GridStats:()=>v_,HeaderForm:()=>R_,HyperlinkEditor:()=>vS,NamesForm:()=>D_,RuleEditor:()=>uS,RuleForm:()=>P_,RuleList:()=>W_,RuleThreshold:()=>Y_,SparklineForm:()=>eS,StyleEditor:()=>mS,StyleForm:()=>X_,ThemeEditor:()=>aS,ThemeEditorSidebar:()=>sS,ThemeItemEditor:()=>hS});var P={};i.r(P),i.d(P,{BlockEditMenu:()=>oE,EditorFeature:()=>nE,HtmlBlock:()=>wz,HtmlBlockComponent:()=>yz,LinkEdit:()=>Yz,MarkdownEditor:()=>AS,MarkdownLinkEvent:()=>$S,MarkdownView:()=>DS,configureFeatures:()=>sE,createEditor:()=>_S,createHtmlBlockConfig:()=>kz,createHtmlBlockView:()=>Cz,defaultCodeEditorConfig:()=>xz,getFeatures:()=>lE,loader:()=>MS,markdownToHtml:()=>SS});var j={};i.r(j),i.d(j,{Statusbar:()=>uE});var H={};i.r(H),i.d(H,{Toolbar:()=>wE,ToolbarButton:()=>kE,ToolbarColorPicker:()=>OE,ToolbarCustomDropdown:()=>SE,ToolbarDropdown:()=>ME,ToolbarDropdownButton:()=>EE,ToolbarDropdownMenu:()=>IE,ToolbarGrid:()=>TE,ToolbarText:()=>AE});var F={};i.r(F),i.d(F,{SheetjsLoader:()=>NE,XlsxEditorPlugin:()=>vL,convertMargins:()=>rL,convertStyle:()=>ZE,createModel:()=>gL,createModelFromArrayBuffer:()=>fL,createModelFromWorkbook:()=>mL,createWorkbook:()=>nL,createWorksheet:()=>sL,detectOutlineColumnDirection:()=>eL,detectOutlineRowDirection:()=>tL,exportXLSX:()=>aL,getWorkbookNames:()=>pL,getWorksheetCells:()=>QE,getWorksheetColumns:()=>WE,getWorksheetConditionalFormats:()=>JE,getWorksheetHeaderCells:()=>GE,getWorksheetMerges:()=>UE,getWorksheetRows:()=>VE,loader:()=>NE});var B={};i.r(B),i.d(B,{Chart:()=>zL,ChartEditorPlugin:()=>wL,ChartGridPlugin:()=>yL,ChartList:()=>RL,ChartModel:()=>bL,HighchartsLoader:()=>xL,RuleForm:()=>AL,createChartOptions:()=>CL,loader:()=>xL,renderChart:()=>ML});var W=i(6272),V=i.n(W);const U="#00955d",G={PREFIX:"og",DEFAULT_ACCENT_COLOR:U,DEFAULT_ACCENT_COLOR_2:V()(U).darken(.6),SIZER_SIZE:5,SLIDER_SIZE:10,SLIDER_MIN_LENGTH:30,EXPANDER_SIZE:13,LIST_ITEM_HEIGHT:22,LIST_RENDERING_TRESHOLD:30,LIST_AUTOSCROLL_TRESHOLD:30,LIST_AUTOSCROLL_DELAY:100,DEFAULT_TEXT_HIGHLIGHT_COLOR:"var(--og-text-highlight-color)",TOOLTIP_MARGIN:8,MENU_ITEM_HEIGHT:25,COLORPICKER_COLOR_SIZE:16,DEFAULT_NUMBER_FORMAT:"#,0.#####",BUTTON_HEIGHT:22,FONT_SIZE:12,FLOATING_WINDOW_MAX_WIDTH:500};function Y(t,e,i){var o,r,s;void 0===e&&(e=50),void 0===i&&(i={});var n=null!=(o=i.isImmediate)&&o,a=null!=(r=i.callback)&&r,l=i.maxWait,c=Date.now(),h=[];function d(){if(void 0!==l){var t=Date.now()-c;if(t+e>=l)return l-t}return e}var u=function(){var e=[].slice.call(arguments),i=this;return new Promise((function(o,r){var l=n&&void 0===s;if(void 0!==s&&clearTimeout(s),s=setTimeout((function(){if(s=void 0,c=Date.now(),!n){var o=t.apply(i,e);a&&a(o),h.forEach((function(t){return(0,t.resolve)(o)})),h=[]}}),d()),l){var u=t.apply(i,e);return a&&a(u),o(u)}h.push({resolve:o,reject:r})}))};return u.cancel=function(t){void 0!==s&&clearTimeout(s),h.forEach((function(e){return(0,e.reject)(t)})),h=[]},u}function q(t){return"boolean"==typeof t}function Z(t){return t&&"object"==typeof t&&!Array.isArray(t)}function X(t){return t&&"function"==typeof t}function Q(t){return"string"==typeof t}function K(t){let e=0;for(let i=0;i<t.length;i++){const o=t.charAt(i);if("."===o||","===o){if(++e>1)return!1}else if(o<"0"||o>"9")return!1}return!0}function J(t){return parseFloat(t.replace?t.replace(",","."):t)}function tt(t){return"number"==typeof t}function et(t){return t.toLowerCase()!==t.toUpperCase()}function it(t,e){return null==t?e:t}function ot(...t){const e={};return t.forEach((t=>{for(const i in t)if(t.hasOwnProperty(i)){const o=t[i],r=e[i];Array.isArray(o)?e[i]=[...o]:e[i]="object"==typeof o&&null!==o?ot(r||{},o):o}})),e}function rt(t){return ot({},t)}function st(t){return Object.assign({},t)}function nt(t,e){return"]"===e&&(e="\\]"),"^"===e&&(e="\\^"),"\\"===e&&(e="\\\\"),t.replace(new RegExp("^["+e+"]+|["+e+"]+$","g"),"")}function at(t){let e=null,i=null;return t.forEach((t=>{isNaN(t)||null==t||(e=Math.min(null==e?Number.MAX_SAFE_INTEGER:e,t),i=Math.max(null==i?Number.MIN_SAFE_INTEGER:i,t))})),[e,i]}function lt(...t){let e=null,i=null;return t.forEach((t=>t.forEach((t=>t.forEach((t=>{isNaN(t)||null==t||(e=Math.min(null==e?Number.MAX_SAFE_INTEGER:e,t),i=Math.max(null==i?Number.MIN_SAFE_INTEGER:i,t))})))))),[e,i]}function ct(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const ht=["Shift","Escape","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Enter"];function dt(t){return ht.includes(t)}function ut(t){return t.replace(/[.*+?^${}()|[\]\\]/gi,"\\$&")}function pt(t,e){return t.filter((t=>e.includes(t)))}function gt(t,e){return t.x>=e.x+e.w||e.x>=t.x+t.w||t.y>=e.y+e.h||e.y>=t.y+t.h?null:{x:Math.max(t.x,e.x),y:Math.max(t.y,e.y),w:Math.min(t.x+t.w,e.x+e.w)-Math.max(t.x,e.x),h:Math.min(t.y+t.h,e.y+e.h)-Math.max(t.y,e.y)}}function mt(t,e,i){return function(...o){const r=e.apply(t,o);return"function"==typeof i&&i(r,...o),r}}function ft(t,e=G.PREFIX){return`${e}-${t}`}function vt(t,e,i=null,o=G.PREFIX){customElements.define(`${o}-${t}`,e,i?{extends:i}:void 0)}function bt(t,e){for(const i in e)t.style[i]=e[i];return t}function yt(t,e){const i=document.createElement(t);if(e)for(const t in e)switch(t){case"listeners":if(Array.isArray(e.listeners))for(const t of e.listeners)i.addEventListener(t[0],t[1]);break;case"style":"object"==typeof e[t]&&bt(i,e[t]);break;default:i[t]=e[t]}return i}function wt(t,e){return t.appendChild(e),t}function xt(t,e=""){return t&&(t.style.display=t.dataset.display||e||"block"),t}function kt(t){return t&&(t.dataset.display="none"==t.style.display?"":t.style.display,t.style.display="none"),t}function Ct(t){return"none"==t.style.display}function Mt(t){t.style.display="table-cell"}function _t(t){t.style.display="none"}function St(t){return t.innerHTML="",t}function zt(t){t.parentNode?.removeChild(t)}function Et(t,e){const i="string"==typeof e?t=>t.matches(e):e;for(;t.parentNode;)if((t=t.parentNode)instanceof ShadowRoot&&t.host&&(t=t.host),t instanceof HTMLElement&&i(t))return t;return null}function Lt(t,e,i,o,r){return t.addEventListener(e,(t=>{for(const e of t.composedPath())if(e.matches&&e.matches(i))return void o(t,e);r&&r(t,null)})),t}function It(t,e,i,o,r){const s=Y(((t,e)=>((t,e)=>{for(const r of e)if(r.matches&&r.matches(i))return void o(t,r);r?.noMatchCallback&&r.noMatchCallback(t,null)})(t,e)),r.wait,r);return t.addEventListener(e,(t=>s(t,t.composedPath()))),t}function Rt(t,e){return t.className=e?e.reduce(((t,e,i)=>t+(e?(0==i?"":" ")+e:"")),""):"",t}function Tt(t,e){let i=0,o=0;for(;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop)&&(!e||e!==t);)i+=t.offsetLeft-t.scrollLeft,o+=t.offsetTop-t.scrollTop,t=t.offsetParent;return{top:o,left:i}}function $t(t,e,i=null){if(e){let o=i?t.querySelector("#"+i):null;o||(o=yt("style"),i&&(o.id=i)),o.innerHTML=e,o.parentElement||t.appendChild(o)}return t}function At(t,e,i=null){if(!e)return t;let o=i?t.querySelector("#"+i):null;return o||(o=yt("script"),i&&(o.id=i)),o.textContent=e,o.parentElement||t.appendChild(o),t}function Dt(t){return isNaN(t)?"0":t.toString()+"px"}const Ot=Dt;function Nt(t,e,i=!1){if(t)return null!=e.w&&(t.style[i?"minWidth":"width"]=Q(e.w)?e.w:Dt(e.w)),null!=e.h&&(t.style[i?"minHeight":"height"]=Q(e.h)?e.h:Dt(e.h)),t}function Pt(t,e){return null!=e.w&&(t.style.maxWidth=Q(e.w)?e.w:Dt(e.w)),null!=e.h&&(t.style.maxHeight=Q(e.h)?e.h:Dt(e.h)),t}function jt(t,e){return null!=e.w&&(t.style.minWidth=Q(e.w)?e.w:Dt(e.w)),null!=e.h&&(t.style.minHeight=Q(e.h)?e.h:Dt(e.h)),t}function Ht(t,e){t.style.position="absolute",null!=e.r&&(t.style.right="string"==typeof e.r?e.r:Dt(e.r)),null!=e.b&&(t.style.bottom="string"==typeof e.b?e.b:Dt(e.b)),null!=e.l&&(t.style.left="string"==typeof e.l?e.l:Dt(e.l)),null!=e.t&&(t.style.top="string"==typeof e.t?e.t:Dt(e.t))}function Ft(t,e){t.style.position="absolute",t.style.inset=Dt(e)}function Bt(t){return{x:t.offsetLeft,y:t.offsetTop,w:t.offsetWidth,h:t.offsetHeight}}function Wt(t,e){Ht(t,{l:e.x,t:e.y}),Nt(t,{w:e.w,h:e.h})}function Vt(t,e){t.style.lineHeight=Dt(e)}function Ut(t,e=null){const i=Tt(t,e=e||t.parentElement),o=Kt({x:i.left,y:i.top,w:t.offsetWidth,h:t.offsetHeight},e);Ht(t,{l:o.x,t:o.y})}function Gt(t,e=null){((e=e||t.parentElement).offsetWidth<t.offsetWidth||e.offsetHeight<t.offsetHeight)&&Nt(t,{w:Math.min(e.offsetWidth,t.offsetWidth),h:Math.min(e.offsetHeight,t.offsetHeight)})}function Yt(t,e){t.style.zIndex=e.toString()}function qt(t,e){void 0!==e.r&&(t.style.marginRight=Dt(e.r)),void 0!==e.l&&(t.style.marginLeft=Dt(e.l)),void 0!==e.t&&(t.style.marginTop=Dt(e.t)),void 0!==e.b&&(t.style.marginBottom=Dt(e.b))}function Zt(t,e){void 0!==e.r&&(t.style.paddingRight=Dt(e.r)),void 0!==e.l&&(t.style.paddingLeft=Dt(e.l)),void 0!==e.t&&(t.style.paddingTop=Dt(e.t)),void 0!==e.b&&(t.style.paddingBottom=Dt(e.b))}function Xt(t,e,i={vertical:!0,horizontal:!0}){t.style.position="absolute",i.vertical&&(t.style.top=Dt(Math.round(e.clientHeight/2-t.offsetHeight/2))),i.horizontal&&(t.style.left=Dt(Math.round(e.clientWidth/2-t.offsetWidth/2)))}function Qt(t,e){null!=e.r&&(t.style.borderRightWidth=Dt(e.r)),null!=e.b&&(t.style.borderBottomWidth=Dt(e.b)),null!=e.l&&(t.style.borderLeftWidth=Dt(e.l)),null!=e.t&&(t.style.borderTopWidth=Dt(e.t))}function Kt(t,e){let i=Math.max(0,t.x),o=Math.max(0,t.y);return i+t.w>e.clientWidth&&(i=e.clientWidth-t.w),o+t.h>e.clientHeight&&(o=e.clientHeight-t.h),{x:i,y:o}}function Jt(t,e){t.style.transformOrigin="0% 0% 0px",t.style.transform=`scale(${e})`}let te;function ee(t,e){te||(te=new Map);let i=te.get(e);return i||(i=document.createElement("canvas").getContext("2d"),i.font=e,te.set(e,i)),i.measureText(t)}function ie(t,e=document){return e.querySelector(t)}const oe={"&":"&","<":"<",">":">"},re=t=>oe[t]||t;function se(t){return t.replace(/[&<>]/g,re)}function ne(t,e,i=G.DEFAULT_TEXT_HIGHLIGHT_COLOR){const o=[];let r=0,s=0;for(const n of e)r=n[0],s<r&&o.push(se(t.substring(s,r))),s=n[1],o.push(`<span style="color:${i}">${se(t.substring(r,s))}</span>`);return s<t.length&&o.push(se(t.substring(s))),o.join("")}function ae(t){const e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new t.constructor(+t):"number"==typeof t||"[object Number]"===e||"string"==typeof t||"[object String]"===e?new Date(t):new Date(NaN)}function le(t){const e=ae(t);return e.setHours(0,0,0,0),e}function ce(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}let he={};function de(){return he}const ue={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function pe(t){return(e={})=>{const i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const ge={date:pe({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:pe({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:pe({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},me={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function fe(t){return(e,i)=>{let o;if("formatting"===(i?.context?String(i.context):"standalone")&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,r=i?.width?String(i.width):e;o=t.formattingValues[r]||t.formattingValues[e]}else{const e=t.defaultWidth,r=i?.width?String(i.width):t.defaultWidth;o=t.values[r]||t.values[e]}return o[t.argumentCallback?t.argumentCallback(e):e]}}const ve={ordinalNumber:(t,e)=>{const i=Number(t),o=i%100;if(o>20||o<10)switch(o%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:fe({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:fe({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:fe({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:fe({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:fe({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function be(t){return(e,i={})=>{const o=i.width,r=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],s=e.match(r);if(!s)return null;const n=s[0],a=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?function(t,e){for(let e=0;e<t.length;e++)if(t[e].test(n))return e}(a):function(t,e){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&t[e].test(n))return e}(a);let c;return c=t.valueCallback?t.valueCallback(l):l,c=i.valueCallback?i.valueCallback(c):c,{value:c,rest:e.slice(n.length)}}}function ye(t){return(e,i={})=>{const o=e.match(t.matchPattern);if(!o)return null;const r=o[0],s=e.match(t.parsePattern);if(!s)return null;let n=t.valueCallback?t.valueCallback(s[0]):s[0];return n=i.valueCallback?i.valueCallback(n):n,{value:n,rest:e.slice(r.length)}}}const we={ordinalNumber:ye({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:be({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:be({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:be({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:be({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:be({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},xe={code:"en-US",formatDistance:(t,e,i)=>{let o;const r=ue[t];return o="string"==typeof r?r:1===e?r.one:r.other.replace("{{count}}",e.toString()),i?.addSuffix?i.comparison&&i.comparison>0?"in "+o:o+" ago":o},formatLong:ge,formatRelative:(t,e,i,o)=>me[t],localize:ve,match:we,options:{weekStartsOn:0,firstWeekContainsDate:1}},ke=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},Ce=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},Me={p:Ce,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],o=i[1],r=i[2];if(!r)return ke(t,e);let s;switch(o){case"P":s=e.dateTime({width:"short"});break;case"PP":s=e.dateTime({width:"medium"});break;case"PPP":s=e.dateTime({width:"long"});break;default:s=e.dateTime({width:"full"})}return s.replace("{{date}}",ke(o,e)).replace("{{time}}",Ce(r,e))}},_e=/^D+$/,Se=/^Y+$/,ze=["D","DD","YY","YYYY"];function Ee(t){return _e.test(t)}function Le(t){return Se.test(t)}function Ie(t,e,i){const o=function(t,e,i){const o="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,i);if(console.warn(o),ze.includes(t))throw new RangeError(o)}class Re{subPriority=0;validate(t,e){return!0}}class Te extends Re{constructor(t,e,i,o,r){super(),this.value=t,this.validateValue=e,this.setValue=i,this.priority=o,r&&(this.subPriority=r)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,i){return this.setValue(t,e,this.value,i)}}class $e extends Re{priority=10;subPriority=-1;set(t,e){return e.timestampIsSet?t:ce(t,function(t,e){const i=e instanceof Date?ce(e,0):new e(0);return i.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),i.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),i}(t,Date))}}class Ae{run(t,e,i,o){const r=this.parse(t,e,i,o);return r?{setter:new Te(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(t,e,i){return!0}}Math.pow(10,8);const De=6048e5,Oe=864e5,Ne=6e4,Pe=36e5,je=/^(1[0-2]|0?\d)/,He=/^(3[0-1]|[0-2]?\d)/,Fe=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Be=/^(5[0-3]|[0-4]?\d)/,We=/^(2[0-3]|[0-1]?\d)/,Ve=/^(2[0-4]|[0-1]?\d)/,Ue=/^(1[0-1]|0?\d)/,Ge=/^(1[0-2]|0?\d)/,Ye=/^[0-5]?\d/,qe=/^[0-5]?\d/,Ze=/^\d/,Xe=/^\d{1,2}/,Qe=/^\d{1,3}/,Ke=/^\d{1,4}/,Je=/^-?\d+/,ti=/^-?\d/,ei=/^-?\d{1,2}/,ii=/^-?\d{1,3}/,oi=/^-?\d{1,4}/,ri=/^([+-])(\d{2})(\d{2})?|Z/,si=/^([+-])(\d{2})(\d{2})|Z/,ni=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,ai=/^([+-])(\d{2}):(\d{2})|Z/,li=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ci(t,e){return t?{value:e(t.value),rest:t.rest}:t}function hi(t,e){const i=e.match(t);return i?{value:parseInt(i[0],10),rest:e.slice(i[0].length)}:null}function di(t,e){const i=e.match(t);if(!i)return null;if("Z"===i[0])return{value:0,rest:e.slice(1)};const o="+"===i[1]?1:-1,r=i[2]?parseInt(i[2],10):0,s=i[3]?parseInt(i[3],10):0,n=i[5]?parseInt(i[5],10):0;return{value:o*(r*Pe+s*Ne+1e3*n),rest:e.slice(i[0].length)}}function ui(t){return hi(Je,t)}function pi(t,e){switch(t){case 1:return hi(Ze,e);case 2:return hi(Xe,e);case 3:return hi(Qe,e);case 4:return hi(Ke,e);default:return hi(new RegExp("^\\d{1,"+t+"}"),e)}}function gi(t,e){switch(t){case 1:return hi(ti,e);case 2:return hi(ei,e);case 3:return hi(ii,e);case 4:return hi(oi,e);default:return hi(new RegExp("^-?\\d{1,"+t+"}"),e)}}function mi(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function fi(t,e){const i=e>0,o=i?e:1-e;let r;if(o<=50)r=t||100;else{const e=o+50;r=t+100*Math.trunc(e/100)-(t>=e%100?100:0)}return i?r:1-r}function vi(t){return t%400==0||t%4==0&&t%100!=0}function bi(t,e){const i=de(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=ae(t),s=r.getDay(),n=(s<o?7:0)+s-o;return r.setDate(r.getDate()-n),r.setHours(0,0,0,0),r}function yi(t,e){const i=ae(t),o=i.getFullYear(),r=de(),s=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,n=ce(t,0);n.setFullYear(o+1,0,s),n.setHours(0,0,0,0);const a=bi(n,e),l=ce(t,0);l.setFullYear(o,0,s),l.setHours(0,0,0,0);const c=bi(l,e);return i.getTime()>=a.getTime()?o+1:i.getTime()>=c.getTime()?o:o-1}function wi(t){return bi(t,{weekStartsOn:1})}function xi(t,e){const i=ae(t),o=+bi(i,e)-+function(t,e){const i=de(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,r=yi(t,e),s=ce(t,0);return s.setFullYear(r,0,o),s.setHours(0,0,0,0),bi(s,e)}(i,e);return Math.round(o/De)+1}function ki(t){const e=ae(t),i=e.getFullYear(),o=ce(t,0);o.setFullYear(i+1,0,4),o.setHours(0,0,0,0);const r=wi(o),s=ce(t,0);s.setFullYear(i,0,4),s.setHours(0,0,0,0);const n=wi(s);return e.getTime()>=r.getTime()?i+1:e.getTime()>=n.getTime()?i:i-1}function Ci(t){const e=ae(t),i=+wi(e)-+function(t){const e=ki(t),i=ce(t,0);return i.setFullYear(e,0,4),i.setHours(0,0,0,0),wi(i)}(e);return Math.round(i/De)+1}const Mi=[31,28,31,30,31,30,31,31,30,31,30,31],_i=[31,29,31,30,31,30,31,31,30,31,30,31];function Si(t,e){const i=ae(t);return isNaN(e)?ce(t,NaN):e?(i.setDate(i.getDate()+e),i):i}function zi(t,e,i){const o=de(),r=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,s=ae(t),n=s.getDay(),a=7-r;return Si(s,e<0||e>6?e-(n+a)%7:((e%7+7)%7+a)%7-(n+a)%7)}function Ei(t){let e=ae(t).getDay();return 0===e&&(e=7),e}function Li(t){const e=ae(t),i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return i.setUTCFullYear(e.getFullYear()),+t-+i}const Ii={G:new class extends Ae{priority=140;parse(t,e,i){switch(e){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,e,i){return e.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]},y:new class extends Ae{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,e,i){const o=t=>({year:t,isTwoDigitYear:"yy"===e});switch(e){case"y":return ci(pi(4,t),o);case"yo":return ci(i.ordinalNumber(t,{unit:"year"}),o);default:return ci(pi(e.length,t),o)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i){const o=t.getFullYear();if(i.isTwoDigitYear){const e=fi(i.year,o);return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t}const r="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},Y:new class extends Ae{priority=130;parse(t,e,i){const o=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return ci(pi(4,t),o);case"Yo":return ci(i.ordinalNumber(t,{unit:"year"}),o);default:return ci(pi(e.length,t),o)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i,o){const r=yi(t,o);if(i.isTwoDigitYear){const e=fi(i.year,r);return t.setFullYear(e,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),bi(t,o)}const s="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(s,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),bi(t,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends Ae{priority=130;parse(t,e){return gi("R"===e?4:e.length,t)}set(t,e,i){const o=ce(t,0);return o.setFullYear(i,0,4),o.setHours(0,0,0,0),wi(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends Ae{priority=130;parse(t,e){return gi("u"===e?4:e.length,t)}set(t,e,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends Ae{priority=120;parse(t,e,i){switch(e){case"Q":case"QQ":return pi(e.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,i){return t.setMonth(3*(i-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends Ae{priority=120;parse(t,e,i){switch(e){case"q":case"qq":return pi(e.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,i){return t.setMonth(3*(i-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends Ae{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,e,i){const o=t=>t-1;switch(e){case"M":return ci(hi(je,t),o);case"MM":return ci(pi(2,t),o);case"Mo":return ci(i.ordinalNumber(t,{unit:"month"}),o);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},L:new class extends Ae{priority=110;parse(t,e,i){const o=t=>t-1;switch(e){case"L":return ci(hi(je,t),o);case"LL":return ci(pi(2,t),o);case"Lo":return ci(i.ordinalNumber(t,{unit:"month"}),o);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends Ae{priority=100;parse(t,e,i){switch(e){case"w":return hi(Be,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return pi(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i,o){return bi(function(t,e,i){const o=ae(t),r=xi(o,i)-e;return o.setDate(o.getDate()-7*r),o}(t,i,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends Ae{priority=100;parse(t,e,i){switch(e){case"I":return hi(Be,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return pi(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i){return wi(function(t,e){const i=ae(t),o=Ci(i)-e;return i.setDate(i.getDate()-7*o),i}(t,i))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends Ae{priority=90;subPriority=1;parse(t,e,i){switch(e){case"d":return hi(He,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return pi(e.length,t)}}validate(t,e){const i=vi(t.getFullYear()),o=t.getMonth();return i?e>=1&&e<=_i[o]:e>=1&&e<=Mi[o]}set(t,e,i){return t.setDate(i),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends Ae{priority=90;subpriority=1;parse(t,e,i){switch(e){case"D":case"DD":return hi(Fe,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return pi(e.length,t)}}validate(t,e){return vi(t.getFullYear())?e>=1&&e<=366:e>=1&&e<=365}set(t,e,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends Ae{priority=90;parse(t,e,i){switch(e){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=zi(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends Ae{priority=90;parse(t,e,i,o){const r=t=>{const e=7*Math.floor((t-1)/7);return(t+o.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return ci(pi(e.length,t),r);case"eo":return ci(i.ordinalNumber(t,{unit:"day"}),r);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=zi(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends Ae{priority=90;parse(t,e,i,o){const r=t=>{const e=7*Math.floor((t-1)/7);return(t+o.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return ci(pi(e.length,t),r);case"co":return ci(i.ordinalNumber(t,{unit:"day"}),r);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,i,o){return(t=zi(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends Ae{priority=90;parse(t,e,i){const o=t=>0===t?7:t;switch(e){case"i":case"ii":return pi(e.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return ci(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o);case"iiiii":return ci(i.day(t,{width:"narrow",context:"formatting"}),o);case"iiiiii":return ci(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o);default:return ci(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o)}}validate(t,e){return e>=1&&e<=7}set(t,e,i){return(t=function(t,e){const i=ae(t);return Si(i,e-Ei(i))}(t,i)).setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends Ae{priority=80;parse(t,e,i){switch(e){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(mi(i),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends Ae{priority=80;parse(t,e,i){switch(e){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(mi(i),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends Ae{priority=80;parse(t,e,i){switch(e){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,i){return t.setHours(mi(i),0,0,0),t}incompatibleTokens=["a","b","t","T"]},h:new class extends Ae{priority=70;parse(t,e,i){switch(e){case"h":return hi(Ge,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return pi(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,i){const o=t.getHours()>=12;return o&&i<12?t.setHours(i+12,0,0,0):o||12!==i?t.setHours(i,0,0,0):t.setHours(0,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]},H:new class extends Ae{priority=70;parse(t,e,i){switch(e){case"H":return hi(We,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return pi(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,i){return t.setHours(i,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends Ae{priority=70;parse(t,e,i){switch(e){case"K":return hi(Ue,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return pi(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]},k:new class extends Ae{priority=70;parse(t,e,i){switch(e){case"k":return hi(Ve,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return pi(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,i){const o=i<=24?i%24:i;return t.setHours(o,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends Ae{priority=60;parse(t,e,i){switch(e){case"m":return hi(Ye,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return pi(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,i){return t.setMinutes(i,0,0),t}incompatibleTokens=["t","T"]},s:new class extends Ae{priority=50;parse(t,e,i){switch(e){case"s":return hi(qe,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return pi(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,i){return t.setSeconds(i,0),t}incompatibleTokens=["t","T"]},S:new class extends Ae{priority=30;parse(t,e){return ci(pi(e.length,t),(t=>Math.trunc(t*Math.pow(10,3-e.length))))}set(t,e,i){return t.setMilliseconds(i),t}incompatibleTokens=["t","T"]},X:new class extends Ae{priority=10;parse(t,e){switch(e){case"X":return di(ri,t);case"XX":return di(si,t);case"XXXX":return di(ni,t);case"XXXXX":return di(li,t);default:return di(ai,t)}}set(t,e,i){return e.timestampIsSet?t:ce(t,t.getTime()-Li(t)-i)}incompatibleTokens=["t","T","x"]},x:new class extends Ae{priority=10;parse(t,e){switch(e){case"x":return di(ri,t);case"xx":return di(si,t);case"xxxx":return di(ni,t);case"xxxxx":return di(li,t);default:return di(ai,t)}}set(t,e,i){return e.timestampIsSet?t:ce(t,t.getTime()-Li(t)-i)}incompatibleTokens=["t","T","X"]},t:new class extends Ae{priority=40;parse(t){return ui(t)}set(t,e,i){return[ce(t,1e3*i),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends Ae{priority=20;parse(t){return ui(t)}set(t,e,i){return[ce(t,i),{timestampIsSet:!0}]}incompatibleTokens="*"}},Ri=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ti=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$i=/^'([^]*?)'?$/,Ai=/''/g,Di=/\S/,Oi=/[a-zA-Z]/;function Ni(t,e,i,o){const r=Object.assign({},de()),s=o?.locale??r.locale??xe,n=o?.firstWeekContainsDate??o?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=o?.weekStartsOn??o?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0;if(""===e)return""===t?ae(i):ce(i,NaN);const l={firstWeekContainsDate:n,weekStartsOn:a,locale:s},c=[new $e],h=e.match(Ti).map((t=>{const e=t[0];return e in Me?(0,Me[e])(t,s.formatLong):t})).join("").match(Ri),d=[];for(let r of h){!o?.useAdditionalWeekYearTokens&&Le(r)&&Ie(r,e,t),!o?.useAdditionalDayOfYearTokens&&Ee(r)&&Ie(r,e,t);const n=r[0],a=Ii[n];if(a){const{incompatibleTokens:e}=a;if(Array.isArray(e)){const t=d.find((t=>e.includes(t.token)||t.token===n));if(t)throw new RangeError(`The format string mustn't contain \`${t.fullToken}\` and \`${r}\` at the same time`)}else if("*"===a.incompatibleTokens&&d.length>0)throw new RangeError(`The format string mustn't contain \`${r}\` and any other token at the same time`);d.push({token:n,fullToken:r});const o=a.run(t,r,s.match,l);if(!o)return ce(i,NaN);c.push(o.setter),t=o.rest}else{if(n.match(Oi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===r?r="'":"'"===n&&(r=r.match($i)[1].replace(Ai,"'")),0!==t.indexOf(r))return ce(i,NaN);t=t.slice(r.length)}}if(t.length>0&&Di.test(t))return ce(i,NaN);const u=c.map((t=>t.priority)).sort(((t,e)=>e-t)).filter(((t,e,i)=>i.indexOf(t)===e)).map((t=>c.filter((e=>e.priority===t)).sort(((t,e)=>e.subPriority-t.subPriority)))).map((t=>t[0]));let p=ae(i);if(isNaN(p.getTime()))return ce(i,NaN);const g={};for(const t of u){if(!t.validate(p,l))return ce(i,NaN);const e=t.set(p,g,l);Array.isArray(e)?(p=e[0],Object.assign(g,e[1])):p=e}return ce(i,p)}const Pi={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ji=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Hi=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Fi=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Bi(t){return t?parseInt(t):1}function Wi(t){return t&&parseFloat(t.replace(",","."))||0}const Vi=[31,null,31,30,31,30,31,31,30,31,30,31];function Ui(t){return t%400==0||t%4==0&&t%100!=0}function Gi(t,e){const i=le(t),o=le(e),r=+i-Li(i),s=+o-Li(o);return Math.round((r-s)/Oe)}function Yi(t){const e=ae(t),i=ce(t,0);return i.setFullYear(e.getFullYear(),0,1),i.setHours(0,0,0,0),i}function qi(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const Zi={y(t,e){const i=t.getFullYear(),o=i>0?i:1-i;return qi("yy"===e?o%100:o,e.length)},M(t,e){const i=t.getMonth();return"M"===e?String(i+1):qi(i+1,2)},d:(t,e)=>qi(t.getDate(),e.length),a(t,e){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];default:return"am"===i?"a.m.":"p.m."}},h:(t,e)=>qi(t.getHours()%12||12,e.length),H:(t,e)=>qi(t.getHours(),e.length),m:(t,e)=>qi(t.getMinutes(),e.length),s:(t,e)=>qi(t.getSeconds(),e.length),S(t,e){const i=e.length,o=t.getMilliseconds();return qi(Math.trunc(o*Math.pow(10,i-3)),e.length)}},Xi={G:function(t,e,i){const o=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(o,{width:"abbreviated"});case"GGGGG":return i.era(o,{width:"narrow"});default:return i.era(o,{width:"wide"})}},y:function(t,e,i){if("yo"===e){const e=t.getFullYear(),o=e>0?e:1-e;return i.ordinalNumber(o,{unit:"year"})}return Zi.y(t,e)},Y:function(t,e,i,o){const r=yi(t,o),s=r>0?r:1-r;return"YY"===e?qi(s%100,2):"Yo"===e?i.ordinalNumber(s,{unit:"year"}):qi(s,e.length)},R:function(t,e){return qi(ki(t),e.length)},u:function(t,e){return qi(t.getFullYear(),e.length)},Q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return qi(o,2);case"Qo":return i.ordinalNumber(o,{unit:"quarter"});case"QQQ":return i.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(o,{width:"narrow",context:"formatting"});default:return i.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,e,i){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return qi(o,2);case"qo":return i.ordinalNumber(o,{unit:"quarter"});case"qqq":return i.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(o,{width:"narrow",context:"standalone"});default:return i.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,e,i){const o=t.getMonth();switch(e){case"M":case"MM":return Zi.M(t,e);case"Mo":return i.ordinalNumber(o+1,{unit:"month"});case"MMM":return i.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(o,{width:"narrow",context:"formatting"});default:return i.month(o,{width:"wide",context:"formatting"})}},L:function(t,e,i){const o=t.getMonth();switch(e){case"L":return String(o+1);case"LL":return qi(o+1,2);case"Lo":return i.ordinalNumber(o+1,{unit:"month"});case"LLL":return i.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(o,{width:"narrow",context:"standalone"});default:return i.month(o,{width:"wide",context:"standalone"})}},w:function(t,e,i,o){const r=xi(t,o);return"wo"===e?i.ordinalNumber(r,{unit:"week"}):qi(r,e.length)},I:function(t,e,i){const o=Ci(t);return"Io"===e?i.ordinalNumber(o,{unit:"week"}):qi(o,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getDate(),{unit:"date"}):Zi.d(t,e)},D:function(t,e,i){const o=function(t){const e=ae(t);return Gi(e,Yi(e))+1}(t);return"Do"===e?i.ordinalNumber(o,{unit:"dayOfYear"}):qi(o,e.length)},E:function(t,e,i){const o=t.getDay();switch(e){case"E":case"EE":case"EEE":return i.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},e:function(t,e,i,o){const r=t.getDay(),s=(r-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(s);case"ee":return qi(s,2);case"eo":return i.ordinalNumber(s,{unit:"day"});case"eee":return i.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,i,o){const r=t.getDay(),s=(r-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(s);case"cc":return qi(s,e.length);case"co":return i.ordinalNumber(s,{unit:"day"});case"ccc":return i.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(r,{width:"narrow",context:"standalone"});case"cccccc":return i.day(r,{width:"short",context:"standalone"});default:return i.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,i){const o=t.getDay(),r=0===o?7:o;switch(e){case"i":return String(r);case"ii":return qi(r,e.length);case"io":return i.ordinalNumber(r,{unit:"day"});case"iii":return i.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},a:function(t,e,i){const o=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,e,i){const o=t.getHours();let r;switch(r=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,i){const o=t.getHours();let r;switch(r=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",e){case"B":case"BB":case"BBB":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),i.ordinalNumber(e,{unit:"hour"})}return Zi.h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getHours(),{unit:"hour"}):Zi.H(t,e)},K:function(t,e,i){const o=t.getHours()%12;return"Ko"===e?i.ordinalNumber(o,{unit:"hour"}):qi(o,e.length)},k:function(t,e,i){let o=t.getHours();return 0===o&&(o=24),"ko"===e?i.ordinalNumber(o,{unit:"hour"}):qi(o,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):Zi.m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getSeconds(),{unit:"second"}):Zi.s(t,e)},S:function(t,e){return Zi.S(t,e)},X:function(t,e,i){const o=t.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return Ki(o);case"XXXX":case"XX":return Ji(o);default:return Ji(o,":")}},x:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"x":return Ki(o);case"xxxx":case"xx":return Ji(o);default:return Ji(o,":")}},O:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Qi(o,":");default:return"GMT"+Ji(o,":")}},z:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Qi(o,":");default:return"GMT"+Ji(o,":")}},t:function(t,e,i){return qi(Math.trunc(t.getTime()/1e3),e.length)},T:function(t,e,i){return qi(t.getTime(),e.length)}};function Qi(t,e=""){const i=t>0?"-":"+",o=Math.abs(t),r=Math.trunc(o/60),s=o%60;return 0===s?i+String(r):i+String(r)+e+qi(s,2)}function Ki(t,e){return t%60==0?(t>0?"-":"+")+qi(Math.abs(t)/60,2):Ji(t,e)}function Ji(t,e=""){const i=t>0?"-":"+",o=Math.abs(t);return i+qi(Math.trunc(o/60),2)+e+qi(o%60,2)}function to(t){if(!(e=t,e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)||"number"==typeof t))return!1;var e;const i=ae(t);return!isNaN(Number(i))}const eo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,io=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,oo=/^'([^]*?)'?$/,ro=/''/g,so=/[a-zA-Z]/;function no(t,e,i){const o=de(),r=i?.locale??o.locale??xe,s=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,n=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,a=ae(t);if(!to(a))throw new RangeError("Invalid time value");let l=e.match(io).map((t=>{const e=t[0];return"p"===e||"P"===e?(0,Me[e])(t,r.formatLong):t})).join("").match(eo).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:ao(t)};if(Xi[e])return{isToken:!0,value:t};if(e.match(so))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}}));r.localize.preprocessor&&(l=r.localize.preprocessor(a,l));const c={firstWeekContainsDate:s,weekStartsOn:n,locale:r};return l.map((o=>{if(!o.isToken)return o.value;const s=o.value;return(!i?.useAdditionalWeekYearTokens&&Le(s)||!i?.useAdditionalDayOfYearTokens&&Ee(s))&&Ie(s,e,String(t)),(0,Xi[s[0]])(a,s,r.localize,c)})).join("")}function ao(t){const e=t.match(oo);return e?e[1].replace(ro,"'"):t}function lo(t,e){const i=ae(t);if(isNaN(e))return ce(t,NaN);if(!e)return i;const o=i.getDate(),r=ce(t,i.getTime());return r.setMonth(i.getMonth()+e+1,0),o>=r.getDate()?r:(i.setFullYear(r.getFullYear(),r.getMonth(),o),i)}function co(t,e){return function(t,e){return lo(t,12*e)}(t,-e)}function ho(t){const e=ae(t),i=e.getMonth();return e.setFullYear(e.getFullYear(),i+1,0),e.setHours(23,59,59,999),e}function uo(t,e){const i=ae(t),o=ae(e),r=po(i,o),s=Math.abs(Gi(i,o));i.setDate(i.getDate()-r*s);const n=r*(s-Number(po(i,o)===-r));return 0===n?0:n}function po(t,e){const i=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return i<0?-1:i>0?1:i}function go(t,e){return Si(t,-e)}function mo(t,e){return lo(t,-e)}const fo={lessThanXSeconds:{one:{regular:"méně než 1 sekunda",past:"před méně než 1 sekundou",future:"za méně než 1 sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"1 sekunda",past:"před 1 sekundou",future:"za 1 sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než 1 minuta",past:"před méně než 1 minutou",future:"za méně než 1 minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"1 minuta",past:"před 1 minutou",future:"za 1 minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně 1 hodina",past:"přibližně před 1 hodinou",future:"přibližně za 1 hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"1 hodina",past:"před 1 hodinou",future:"za 1 hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"1 den",past:"před 1 dnem",future:"za 1 den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně 1 týden",past:"přibližně před 1 týdnem",future:"přibližně za 1 týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"1 týden",past:"před 1 týdnem",future:"za 1 týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně 1 měsíc",past:"přibližně před 1 měsícem",future:"přibližně za 1 měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"1 měsíc",past:"před 1 měsícem",future:"za 1 měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně 1 rok",past:"přibližně před 1 rokem",future:"přibližně za 1 rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"1 rok",past:"před 1 rokem",future:"za 1 rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než 1 rok",past:"před více než 1 rokem",future:"za více než 1 rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro 1 rok",past:"skoro před 1 rokem",future:"skoro za 1 rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},vo={date:pe({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:pe({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:pe({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},bo=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],yo={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:t=>{const e=t.getDay();return"'v "+bo[e]+" o' p"},other:"P"},wo={ordinalNumber:(t,e)=>Number(t)+".",era:fe({values:{narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},defaultWidth:"wide"}),quarter:fe({values:{narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:fe({values:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},defaultWidth:"wide",formattingValues:{narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},defaultFormattingWidth:"wide"}),day:fe({values:{narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},defaultWidth:"wide"}),dayPeriod:fe({values:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},defaultFormattingWidth:"wide"})},xo={ordinalNumber:ye({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:be({matchPatterns:{narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p[řr]/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:be({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:be({matchPatterns:{narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},defaultParseWidth:"any"}),day:be({matchPatterns:{narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:be({matchPatterns:{any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},defaultParseWidth:"any"})},ko={code:"cs",formatDistance:(t,e,i)=>{let o;const r=fo[t];o="other"===r.type?r.other:1===e?r.one:e>1&&e<5?r.few:r.many;const s=!0===i?.addSuffix,n=i?.comparison;let a;return a=s&&-1===n?o.past:s&&1===n?o.future:o.regular,a.replace("{{count}}",String(e))},formatLong:vo,formatRelative:(t,e)=>{const i=yo[t];return"function"==typeof i?i(e):i},localize:wo,match:xo,options:{weekStartsOn:1,firstWeekContainsDate:4}};class Co extends Event{constructor(t){super("localechange"),this.locale=t}}function Mo(){return"undefined"!=typeof navigator?navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language:"en"}const _o=new Map,So=new Map;let zo=Mo();function Eo(t,e){(Array.isArray(t)?t:[t]).forEach((t=>_o.set(t,e)))}function Lo(){return zo}function Io(t){return _o.has(t)}function Ro(t){if(!_o.has(t)){let t=zo;null==t&&(_o.has("en")?t="en":_o.size>0&&(t=_o.keys().next().value))}So.has(t)||So.set(t,new Map);const e=So.get(t);_o.get(t)?.forEach((t=>e.set(t.source,t))),zo!==t&&(zo=t,document.dispatchEvent(new Co(t)))}function To(t){const e=Array.from(t.matchAll(/\{([^}]+)\}/g)).map((t=>({name:t[1],start:t.index,end:t.index+t[0].length})));return i=>{if(!i)return t;let o="",r=0;for(const s of e){o+=t.slice(r,s.start);const e=i[s.name];o+=null!=e?String(e):"",r=s.end}return o+t.slice(r)}}function $o(t,e){if(Array.isArray(t))return t.map((t=>$o(t,e))).join(e?.separator??" ");if(null==t||""===t)return"";const i=t.toLowerCase();let o=So.get(zo);o||(o=new Map,So.set(zo,o));let r=o.get(i);if(r||(r={id:e?.id??null,source:i,target:t},o.set(i,r)),e?.data&&!r.translate&&(r.translate=To(r.target)),!r)return t;let s=r.translate?r.translate(e?.data):r.target;return null==s||""===s?"":(t.length>0&&t[0]===t[0].toUpperCase()&&(s=s[0].toUpperCase()+s.slice(1)),s)}const Ao={af:["af-ZA"],ar:["ar-AE","ar-BH","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LB","ar-LY","ar-MA","ar-OM","ar-QA","ar-SA","ar-SY","ar-TN","ar-YE"],az:["az-AZ"],be:["be-BY"],bg:["bg-BG"],ca:["ca-ES"],cs:["cs-CZ"],cy:["cy-GB"],da:["da-DK"],de:["de-DE","de-AT","de-CH","de-LI","de-LU"],dv:["dv-MV"],el:["el-GR"],en:["en-US","en-AU","en-BZ","en-CA","en-CB","en-GB","en-IE","en-JM","en-NZ","en-PH","en-TT","en-ZA","en-ZW"],eo:["eo"],es:["es-ES","es-AR","es-BO","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-PY","es-SV","es-UY","es-VE"],et:["et-EE"],eu:["eu-ES"],fa:["fa-IR"],fi:["fi-FI"],fo:["fo-FO"],fr:["fr-BE","fr-CA","fr-CH","fr-FR","fr-LU","fr-MC"],gl:["gl-ES"],gu:["gu-IN"],he:["he-IL"],hi:["hi-IN"],hr:["hr-BA","hr-HR"],hu:["hu-HU"],hy:["hy-AM"],id:["id-ID"],is:["is-IS"],it:["it-CH","it-IT"],ja:["ja-JP"],ka:["ka-GE"],kk:["kk-KZ"],kn:["kn-IN"],ko:["ko-KR"],kok:["kok-IN"],ky:["ky-KG"],lt:["lt-LT"],lv:["lv-LV"],mi:["mi-NZ"],mk:["mk-MK"],mn:["mn-MN"],mr:["mr-IN"],ms:["ms-BN","ms-MY"],mt:["mt-MT"],nb:["nb-NO"],nl:["nl-BE","nl-NL"],nn:["nn-NO"],ns:["ns-ZA"],pa:["pa-IN"],pl:["pl-PL"],ps:["ps-AR"],pt:["pt-BR","pt-PT"],qu:["qu-BO","qu-EC","qu-PE"],ro:["ro-RO"],ru:["ru-RU"],sa:["sa-IN"],se:["se-FI","se-NO","se-SE"],sk:["sk-SK"],sl:["sl-SI"],sq:["sq-AL"],sr:["sr-BA","sr-SP"],sv:["sv-FI","sv-SE"],sw:["sw-KE"],syr:["syr-SY"],ta:["ta-IN"],te:["te-IN"],th:["th-TH"],tl:["tl-PH"],tn:["tn-ZA"],tr:["tr-TR"],tt:["tt-RU"],ts:["ts"],uk:["uk-UA"],ur:["ur-PK"],uz:["uz-UZ"],vi:["vi-VN"],xh:["xh-ZA"],zh:["zh-CN","zh-HK","zh-MO","zh-SG","zh-TW"],zu:["zu-ZA"]};let Do;function Oo(t){if(Ao[t])return t;if(Do&&Do.has(t))return Do.get(t);for(const e in Ao)if(Ao[e].includes(t))return Do=Do??new Map,Do.set(t,e),e;return null}function No(t){const e=Oo(t);return e?Ao[e]?Ao[e][0]:t:null}const Po=[{id:null,source:"copied",target:"copied"},{id:null,source:"close",target:"close"},{id:null,source:"headers",target:"headers"},{id:null,source:"conditional formatting",target:"conditional formatting"},{id:null,source:"sparklines",target:"sparklines"},{id:null,source:"charts",target:"charts"},{id:null,source:"named ranges",target:"named ranges"},{id:null,source:"search",target:"search"},{id:null,source:"load more",target:"load more"},{id:null,source:"today",target:"today"}],jo=[{id:null,source:"copied",target:"zkopírováno"},{id:null,source:"close",target:"zavřít"},{id:null,source:"headers",target:"hlavičky"},{id:null,source:"conditional formatting",target:"podmíněné formátování"},{id:null,source:"sparklines",target:"mikrografy"},{id:null,source:"charts",target:"grafy"},{id:null,source:"named ranges",target:"pojmenované rozsahy"},{id:null,source:"search",target:"hledat"},{id:null,source:"load more",target:"načíst další"},{id:null,source:"today",target:"dnes"}];[["en-US",Po],["en",Po],["cs-CZ",jo],["cs",jo],["sk",jo]].forEach((([t,e])=>Eo(t,e)));const Ho=new Map;function Fo(t){Ho.set(t.code,t)}Fo(xe),Fo(ko);const Bo=new Map,Wo=/^(\d{1,2})[./](\d{1,2})[./](\d{4})$/;function Vo(t,e){return Wo.test(t.replace(/\s/g,""))?e.startsWith("en")&&"/"===t[2]?"MM/dd/yyyy":"dd.MM.yyyy":"yyyy-MM-dd"}function Uo(t){return t.length>=10&&"-"===t[4]&&"-"===t[7]}let Go;function Yo(t){if(t=t??Lo(),Go=Go??new Map,Go.has(t))return Go.get(t);let e;try{const i=No(t);e=Vo(function(t,e,i){let o;var r;return void 0===(r=e)||"locale"in r?i=e:o=e,new Intl.DateTimeFormat(i?.locale,o).format(ae(t))}(le(new Date),{locale:i}),i)}catch(t){e="yyyy-MM-dd"}return Go.set(t,e),e}function qo(t){let e=Yo(t?.locale);return t?.withTime&&(e+=" HH:mm:ss"),e}function Zo(t,e,i){return Qo(i??Lo(),e)(t)}function Xo(t,e){const i=Ni(t,Vo(t,e),new Date);return isNaN(i.getTime())?null:i}function Qo(t,e){e=e??Yo(t);const i=Bo.has(t)?Bo.get(t):Bo.set(t,new Map).get(t);return i.has(e)||i.set(e,Jo(t,e)),i.get(e)}function Ko(t){return Ho.has(t)?Ho.get(t):(t=t.split("-")[0],Ho.has(t)?Ho.get(t):Ho.get("en-US"))}function Jo(t,e){return e=e??Yo(t),(i,o)=>(Q(i)?i=Uo(i)?function(t,e){const i=e?.additionalDigits??2,o=function(t){const e={},i=t.split(Pi.dateTimeDelimiter);let o;if(i.length>2)return e;if(/:/.test(i[0])?o=i[0]:(e.date=i[0],o=i[1],Pi.timeZoneDelimiter.test(e.date)&&(e.date=t.split(Pi.timeZoneDelimiter)[0],o=t.substr(e.date.length,t.length))),o){const t=Pi.timezone.exec(o);t?(e.time=o.replace(t[1],""),e.timezone=t[1]):e.time=o}return e}(t);let r;if(o.date){const t=function(t,e){const i=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),o=t.match(i);if(!o)return{year:NaN,restDateString:""};const r=o[1]?parseInt(o[1]):null,s=o[2]?parseInt(o[2]):null;return{year:null===s?r:100*s,restDateString:t.slice((o[1]||o[2]).length)}}(o.date,i);r=function(t,e){if(null===e)return new Date(NaN);const i=t.match(ji);if(!i)return new Date(NaN);const o=!!i[4],r=Bi(i[1]),s=Bi(i[2])-1,n=Bi(i[3]),a=Bi(i[4]),l=Bi(i[5])-1;if(o)return function(t,e,i){return e>=1&&e<=53&&i>=0&&i<=6}(0,a,l)?function(t,e,i){const o=new Date(0);o.setUTCFullYear(t,0,4);const r=7*(e-1)+i+1-(o.getUTCDay()||7);return o.setUTCDate(o.getUTCDate()+r),o}(e,a,l):new Date(NaN);{const t=new Date(0);return function(t,e,i){return e>=0&&e<=11&&i>=1&&i<=(Vi[e]||(Ui(t)?29:28))}(e,s,n)&&function(t,e){return e>=1&&e<=(Ui(t)?366:365)}(e,r)?(t.setUTCFullYear(e,s,Math.max(r,n)),t):new Date(NaN)}}(t.restDateString,t.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const s=r.getTime();let n,a=0;if(o.time&&(a=function(t){const e=t.match(Hi);if(!e)return NaN;const i=Wi(e[1]),o=Wi(e[2]),r=Wi(e[3]);return function(t,e,i){return 24===t?0===e&&0===i:i>=0&&i<60&&e>=0&&e<60&&t>=0&&t<25}(i,o,r)?i*Pe+o*Ne+1e3*r:NaN}(o.time),isNaN(a)))return new Date(NaN);if(!o.timezone){const t=new Date(s+a),e=new Date(0);return e.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),e.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),e}return n=function(t){if("Z"===t)return 0;const e=t.match(Fi);if(!e)return 0;const i="+"===e[1]?-1:1,o=parseInt(e[2]),r=e[3]&&parseInt(e[3])||0;return function(t,e){return e>=0&&e<=59}(0,r)?i*(o*Pe+r*Ne):NaN}(o.timezone),isNaN(n)?new Date(NaN):new Date(s+a+n)}(i):Xo(i,t):i instanceof Date||isNaN(i)||(i=nr(i)),null==i?"":no(i,o||e,{locale:Ko(t)}))}function tr(t,e){const i=t.getFullYear(),o=t.getMonth()+1;return e>=0?i-Math.floor((12-o+e)/12):i+Math.floor((o-e-1)/12)}function er(t,e){const i=cr(t.getMonth()-e,12);return Math.floor(i/3)+1}function ir(t){return t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t}function or(t,e){let i=new Date(t.getFullYear(),cr(e,12),1);return function(t,e){const i=ae(t),o=ae(e),r=i.getTime()-o.getTime();return r<0?-1:r>0?1:r}(t,i)<0&&(i=co(i,1)),[i,ir(ho(lo(new Date(i),11)))]}function rr(t,e=0,i=1){const[o,r]=or(t,e),s=uo(t,o)+1,n=(Ei(t)+i-2)%7+1;let a=tr(t,e),l=Math.floor((10+s-n)/7);if(0==l){const t=go(o,4),e=uo(t,mo(o,12))+1,r=(Ei(t)+i-1)%7;l=Math.floor((10+e-r)/7),--a}else if(l>52){const t=go(r,3),e=uo(t,o)+1,s=(Ei(t)+i-1)%7;l>Math.floor((10+e-s)/7)&&(l=1,++a)}return[l,a]}function sr(t){return 25569+(t.getTime()-60*t.getTimezoneOffset()*1e3)/864e5}function nr(t){return new Date(Date.UTC(0,0,t-1))}function ar(t,e,i){let o=nr(t).getDay();for(i&&i.length>0&&i.forEach((t=>undefined.set(t,t)));e>0;)++t,o=++o>7?1:o,o<6&&--e;return t}const lr=t=>t.text||t.color||t.brackets||t.empty;function cr(t,e){let i=t%e;return i<0&&(i+=Math.abs(e)),i}const hr=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function dr(t){if(isNaN(t))return NaN;const e=String(+t).split("");let i="",o=3;for(;o--;)i=(hr[+e.pop()+10*o]||"")+i;return Array(+e.join("")+1).join("M")+i}function ur(t){return["0","#"].includes(t[0])}const pr=new Map;function gr(t,e="",i){const o=pr.has(t)?pr.get(t):pr.set(t,new Map).get(t);return o.has(e)||o.set(e,mr(t,e,i)),o.get(e)}function mr(t,e="",i){const o=(e?vr(i?yr(e,"n"):e):[{maximumFractionDigits:3}]).map((e=>Z(e)?lr(e)?function(t,e){const i=new Intl.NumberFormat(t,e);return{format:t=>{let o=tt(t)?i.format(t):"";return e.text&&(o+=e.text||""),e.brackets&&(o=`(${o})`),e.color&&(o=`<span style="color:${e.color}">${o}</span>`),o}}}(t,e):new Intl.NumberFormat(t,e):{format:Qo(t,e)}));return 1==o.length&&o.push(o[0]),2==o.length&&o.push(o[0]),t=>null==t?"":Q(t)?o[3]?o[3].format(t):t:isNaN(t)?"#NaN":t>0?o[0].format(t):t<0?o[1].format(t):0==t?o[2].format(t):void 0}const fr={useGrouping:!1,maximumFractionDigits:0,signDisplay:"negative",empty:!0};function vr(t){const e=[];let i,o,r,s=Object.assign({},fr),n=!1,a=0;for(;a<t.length;)switch(i=t.charAt(a),";"!=i&&s.empty&&delete s.empty,i.toLowerCase()){case"(":s.brackets=!0,++a;break;case"[":for(s.color="";++a<t.length&&(i=t.charAt(a),"]"!==i);)s.color+=i;break;case";":e.push(s),s=Object.assign({},fr),1==e.length&&(s.signDisplay="never"),n=!1,++a;break;case"0":case"#":for(o=null,r=null;a<t.length;){if(i=t.charAt(a),"0"===i)o=null===o?1:o+1;else if("#"===i)r=null===r?1:r+1;else{if(","!==i)break;s.useGrouping=!0}++a}n?(null!==o&&(s.minimumFractionDigits=o,null==r&&(s.maximumFractionDigits=o)),null!==r&&(s.maximumFractionDigits=r+(o||0))):null!==o&&(s.minimumIntegerDigits=o);break;case'"':for(s.text="";++a<t.length&&(i=t.charAt(a),'"'!==i);)s.text+=i;++a;break;case".":n=!0,++a;break;case"+":s.signDisplay="exceptZero",++a;break;case"-":1==e.length&&(s.signDisplay="always"),++a;break;case"$":s.style="currency",++a;break;case"%":s.style="percent",++a;break;default:if(et(i)){let o=i;for(s=null;++a<t.length;){if(i=t.charAt(a),";"===i){s=Object.assign({},fr);break}o+=i}e.push(o)}++a}return s&&e.push(s),e}const br={d:[[/\\/g,""],[/m/g,"M"],[/ddd/g,"eee"]],n:[[/0,/g,"#,"]]};function yr(t,e){return br[e].forEach((([e,i])=>t=t.replace(e,i))),t}function wr(t){return Intl.NumberFormat(t,{minimumIntegerDigits:1,minimumFractionDigits:1}).format(1.1).charAt(1)}const xr={delimiter:"\t",quote:"",encoding:"utf-8",decimalSeparator:".",header:!1};class kr{constructor(t,e){this.csv=t,this.offset=0,this.length=t.length,this.description=Object.assign({},xr,e)}get eof(){return this.offset>=this.length}readLine(){if(this.eof)return null;const t=[];let e,i="",o=!1;for(;this.offset<this.length;){if(e=this.csv.charAt(this.offset++),"\n"===e){if(o)continue;t.push(i),i=null;break}"\r"!==e&&(o?e===this.description.quote?(i=nt(i,this.description.quote),o=!1):i+=e:e==this.description.delimiter?(t.push(i),i=""):""==i&&e==this.description.quote?(o=!0,i=""):i+=e)}return null!=i&&t.push(i),t}}function Cr(t,e){e=Object.assign({},xr,e);let i="";for(let o=0;o<t.length;o++)i+=t[o].map((t=>null==t?"":isNaN(t)?(t??"").toString().replace(e.delimiter," "):"."!=e.decimalSeparator?t.toString().replace(".",e.decimalSeparator):t.toString())).join(e.delimiter)+"\n";return i}function Mr(t,e){const i=[];let o;const r=new kr(t,e);for(;!r.eof;)o=r.readLine(),o&&o.length>0&&i.push(o);return i}var _r;!function(t){t.Info="i",t.Warn="w",t.Error="e",t.Debug="d",t.Trace="t"}(_r||(_r={}));class Sr{constructor(t,e){this.id=t,this.name=e,this.styles=["color: #ffff00","color: #00955d","color: #aaaaaa"],this.errorStyles=["color: #ff0000","color: #00955d","color: #aaaaaa"],this.defaultLevel=_r.Info,this.name=e||t}format(t,e){return`%c[${e}] %c${this.name.padEnd(20," ")} %c${t.padEnd(50," ")}`}log(t){console.log(t,...this.styles)}info(t){console.info(this.format(t,_r.Info),...this.styles)}warn(t){console.info(this.format(t,_r.Warn),...this.styles)}error(t,e){console.error(this.format(t,_r.Error),...this.errorStyles),e&&console.error(e)}debug(t){console.info(this.format(t,_r.Debug),...this.styles)}trace(t){console.trace(this.format(t,_r.Trace),...this.styles)}}const zr=new Map;function Er(t,e){return zr.has(t)||zr.set(t,new Sr(t,e)),zr.get(t)}function Lr(t){return null==t&&null==(t=zr.size>0?Array.from(zr.keys())[0]:null)?Er("omega","Ω"):Er(t)}var Ir;!function(t){t[t.Filtered=0]="Filtered",t[t.Matched=1]="Matched",t[t.ChildMatched=2]="ChildMatched",t[t.ParentMatched=3]="ParentMatched"}(Ir||(Ir={}));class Rr{populate(t){}getSourceData(){return{}}}function Tr(t=Rr){return class extends t{constructor(){super(...arguments),this._children=[],this._filterState=Ir.Matched}populate(t){super.populate(t),isNaN(t.i)||(this.index=t.i),this.level=t.level||t.l||0,this.parentIndex=t.p,this._count=t.count,this._hidden=t.hidden,this._filterable=t.filterable,this._sortable=t.sortable,(t.collapsed||t.count)&&(this._collapsed=!0)}getSourceData(){const t=super.getSourceData();return this.level>0&&(t.l=this.level),null!=this.parentIndex&&(t.p=this.parentIndex),null!=this._collapsed&&(t.collapsed=this._collapsed),t}get filterable(){return!1!==this._filterable}get sortable(){return!1!==this._sortable}get filterState(){return this._filterState}set filterState(t){this._filterState=t}get hidden(){return this._hidden}set hidden(t){this._hidden=t}get visible(){return!this.hidden&&this.filterState>0}get collapsed(){return this._collapsed}set collapsed(t){this._collapsed=t}set parent(t){this._parent=t}get parent(){return this._parent}set children(t){this._children=t,this._count=Math.max(this._count||0,this._children.length)}get children(){return this._children}get hasChildren(){return this._children.length>0||this._count>0}set count(t){this._count=t}get isLoaded(){return null==this._count||this._count<=this._children.length}get isPartialyLoaded(){return this._children.length>0&&this._count>this._children.length}get hasParent(){return!!this.parent&&this.parent.level>-1}get firstChild(){return this.children[0]}get lastChild(){return this.children[this.children.length-1]}addChild(t){this._children.push(t),t.parent=this,t.level=this.level+1,this._count=Math.max(this._count||0,this._children.length)}insertChildren(t,e){this._children.splice(e,0,...t),t.forEach((t=>{t.parent=this,t.level=this.level+1})),this._count=Math.max(this._count||0,this._children.length)}deleteChildren(t,e){if(Array.isArray(t)){const e=new Set;t.forEach((t=>{t.parent=null,e.add(t)})),this._children=this._children.filter((t=>!e.has(t))),this._count-=t.length}else e=e||1,this._children.splice(t,e),this._count-=e}expand(t){this._collapsed=!1,t&&this.hasChildren&&this.walk((t=>t.hidden=!1))}collapse(){this._collapsed=!0}toggleCollapse(t=!1,e){const i=this._collapsed;i?this.expand(e):this.collapse(),t&&(i?this.walk((t=>t.expand(e))):this.walk((t=>t.collapse())))}clearChildren(){this._children.forEach((t=>t.parent=null)),this._children=[],this._count=null}walk(t){this._children.forEach((e=>{!1!==t(e)&&e.walk(t)}))}walkVisible(t){this._children.forEach((e=>{e.visible&&(!1===t(e)||e.collapsed)||e.walkVisible(t)}))}walkUp(t){this._parent&&!1!==t(this._parent)&&this._parent.walkUp(t)}_sort(t){this.hasChildren&&(this._children.sort(t),this._children.forEach((e=>e._sort(t))))}sort(t){this._sort(((e,i)=>e.sortable&&i.sortable?t(e,i):e.index-i.index))}}}function $r(t,e,i){const o=[[e,-1]];let r,s=-1,n=-1,a=0;return i?.reverse&&(t=[...t].reverse()),e._children=[],e._parent=null,t.forEach((t=>{for(t._children=[],t._parent=null,a=t.level+e.level+1,r&&s<a&&o.push([r,s]);o[o.length-1][1]>=a;)o.pop();s=a,o[o.length-1][0].addChild(t),n=Math.max(n,t.level+(t.hasChildren?1:0)),r=t})),n}function Ar(t,e){let i=-1;return t.forEach((i=>{(null==i.parentIndex?e:t[i.parentIndex]).addChild(i)})),e.walk((t=>{t.level=t.parent?t.parent.level+1:0,i=Math.max(i,t.level)})),i}function Dr(t,e){return t.length>0?null==t[0].level?Ar(t,e):$r(t,e):-1}function Or(t,e=.15){return V()(t).lighten(e).hex().toString()}function Nr(t,e=.15){return V()(t).darken(e).hex().toString()}function Pr(t,e=.15){return V()(t).alpha(e).hexa().toString()}function jr(t){const e=V()(t);return e.red(255-e.red()).green(255-e.green()).blue(255-e.red()).hex().toString()}function Hr(t,e,i=.15){return V()(t).mix(V()(e),i).hex().toString()}function Fr(t){const e=V()(t);return.299*e.red()+.587*e.green()+.114*e.blue()>128?"#000000":"#FFFFFF"}function Br(t){try{return V()(t).hex().toString()}catch{return t}}function Wr(t){return t&&"#"==t[0]?t.substring(1):t}function Vr(t){return t&&"#"!=t[0]?"#"+t:t}class Ur extends Event{constructor(t,e,i=null,o={}){super(`${t}.action${(o=Object.assign({common:!0,composed:!0,bubbles:!0},o)).common?"":`.${e.key}`}`,o),this.scope=t,this.action=e,this.args=i}}function Gr(t,e,i,o=null,r=null){t.dispatchEvent(new Ur(e,i,o,Object.assign({common:!1},r))),t.dispatchEvent(new Ur(e,i,o,Object.assign({common:!0},r)))}function Yr(t){return t.map((t=>[...t].reverse()))}function qr(t){return t.map((t=>[...t])).reverse()}function Zr(t){const e=Array(t[0].length).fill(null).map((()=>Array(t.length)));for(let i=0;i<t.length;i++)for(let o=0;o<t[i].length;o++)e[o][i]=t[i][o];return e}function Xr(t){return t.map((t=>[...t]))}class Qr extends Event{constructor(t={}){Z(t)?(super(t.type??"change"),this.value=t.value,this.oldValue=t.oldValue):(super("change"),this.value=t)}}class Kr extends Event{constructor(t={}){super("add"),Z(t)?Object.assign(this,t):this.value=t}}class Jr extends Event{constructor(t){super("serialize"),this.data=t}}const ts={Letter:{width:215.9,height:279.4},Tabloid:{width:279.4,height:431.8},Legal:{width:215.9,height:355.6},Executive:{width:184.15,height:266.7},A3:{width:297,height:420},A4:{width:210,height:297},A5:{width:148,height:210},A6:{width:105,height:148},B4:{width:250,height:353},B5:{width:176,height:250},Folio:{width:215.9,height:330.2},Envelope:{width:104.8,height:241.3},Monarch:{width:98.4,height:190.5}};function es(){const t=window.innerWidth;return t<=768?"mobile":t>768&&t<=1024?"tablet":"desktop"}let is={};const os=t=>{t.locale&&Ro(t.locale),is=t},rs=()=>ot({locale:Lo(),formatLocale:Lo(),dateFormat:qo(),fontSize:G.FONT_SIZE,systemDecimalSeparator:wr(Lo()),user:{id:"0",name:"Anonymous"}},is);function ss(t,e=null){const i=ot({},rs(),e,t);return i.dateFormatter=i.dateFormatter||Jo(i.locale,i.dateFormat),i}var ns,as,ls=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};class cs{}class hs{static async load(t,e){let i=(e=e||document).__ogid;i||(i=Math.random().toString(36).slice(2),e.__ogid=i);const o=`${i}-${t}`;if(ls(this,ns,"f",as)||function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===o?r.call(t,i):r?r.value=i:e.set(t,i)}(this,ns,new Map,"f",as),this.scripts||(this.scripts=new Map),!this.scripts.has(o))return new Promise(((i,r)=>{const s=ls(this,ns,"f",as).get(o)||[];if(s.push([i,r]),ls(this,ns,"f",as).set(o,s),s.length>1)return;const n=e.createElement("script");n.src=t,n.onload=()=>{ls(this,ns,"f",as).get(o).forEach((([t])=>t())),ls(this,ns,"f",as).delete(o)},n.onerror=t=>{const e=Q(t)?new Error(t):t;ls(this,ns,"f",as).get(o).forEach((([t,i])=>i(e))),ls(this,ns,"f",as).delete(o)},e.head.appendChild(n)}))}}ns=hs,as={value:void 0};class ds{constructor(t){this.data=t,this.next=null,this.prev=null}}class us{constructor(){this.head=null}insertAtEnd(t){const e=new ds(t);if(this.head){const t=e=>e.next?t(e.next):e,i=t(this.head);e.prev=i,i.next=e}else this.head=e;return e}insertInBegin(t){const e=new ds(t);return this.head?(this.head.prev=e,e.next=this.head,this.head=e):this.head=e,e}deleteNode(t){t.prev?t.prev.next=t.next:this.head=t.next}search(t){const e=i=>t(i.data)?i:i.next?e(i.next):null;return this.head?e(this.head):null}traverse(){const t=[];if(!this.head)return t;const e=i=>(t.push(i.data),i.next?e(i.next):t);return e(this.head)}size(){return this.traverse().length}}class ps extends Event{constructor(t,e){super("shortcut",{cancelable:!0}),this.shortcut=t,this.action=e}}const gs={control:"ctrl"};class ms extends EventTarget{constructor(t){super(),this.target=t,this.shortcuts=new Map,this.stack=new Set,this._onKeyUp=()=>{this.reset()},this._onKeyDown=t=>{let e=t.key.toLowerCase();if(e in gs&&(e=gs[e]),this.stack.has(e))return;this.stack.add(e);const i=this.matchStack();null!=i&&(t.preventDefault(),t.stopImmediatePropagation(),this.reset(),this.dispatchEvent(new ps(i,this.shortcuts.get(i))))},t.addEventListener("keydown",this._onKeyDown),t.addEventListener("keyup",this._onKeyUp)}matchStack(){const t=[...this.stack.values()].join("+").toLowerCase();return this.shortcuts.has(t)?t:null}reset(){this.stack.clear()}register(t,e){this.shortcuts.set(t.toLowerCase(),e)}}const fs=globalThis,vs=fs.ShadowRoot&&(void 0===fs.ShadyCSS||fs.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,bs=Symbol(),ys=new WeakMap;class ws{constructor(t,e,i){if(this._$cssResult$=!0,i!==bs)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(vs&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=ys.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&ys.set(e,t))}return t}toString(){return this.cssText}}const xs=t=>new ws("string"==typeof t?t:t+"",void 0,bs),ks=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new ws(i,t,bs)},Cs=(t,e)=>{if(vs)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),o=fs.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}},Ms=vs?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return xs(e)})(t):t,{is:_s,defineProperty:Ss,getOwnPropertyDescriptor:zs,getOwnPropertyNames:Es,getOwnPropertySymbols:Ls,getPrototypeOf:Is}=Object,Rs=globalThis,Ts=Rs.trustedTypes,$s=Ts?Ts.emptyScript:"",As=Rs.reactiveElementPolyfillSupport,Ds=(t,e)=>t,Os={toAttribute(t,e){switch(e){case Boolean:t=t?$s:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},Ns=(t,e)=>!_s(t,e),Ps={attribute:!0,type:String,converter:Os,reflect:!1,hasChanged:Ns};Symbol.metadata??=Symbol("metadata"),Rs.litPropertyMetadata??=new WeakMap;class js extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ps){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Ss(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:r}=zs(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const s=o?.call(this);r.call(this,e),this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ps}static _$Ei(){if(this.hasOwnProperty(Ds("elementProperties")))return;const t=Is(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ds("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ds("properties"))){const t=this.properties,e=[...Es(t),...Ls(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(Ms(t))}else void 0!==t&&e.push(Ms(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Cs(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){const i=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,i);if(void 0!==o&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:Os).toAttribute(e,i.type);this._$Em=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$Em=null}}_$AK(t,e){const i=this.constructor,o=i._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=i.getPropertyOptions(o),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Os;this._$Em=o,this[o]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??Ns)(this[t],e))return;this.P(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t)!0!==i.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],i)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}js.elementStyles=[],js.shadowRootOptions={mode:"open"},js[Ds("elementProperties")]=new Map,js[Ds("finalized")]=new Map,As?.({ReactiveElement:js}),(Rs.reactiveElementVersions??=[]).push("2.0.4");const Hs=globalThis,Fs=Hs.trustedTypes,Bs=Fs?Fs.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ws="$lit$",Vs=`lit$${Math.random().toFixed(9).slice(2)}$`,Us="?"+Vs,Gs=`<${Us}>`,Ys=document,qs=()=>Ys.createComment(""),Zs=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Xs=Array.isArray,Qs=t=>Xs(t)||"function"==typeof t?.[Symbol.iterator],Ks="[ \t\n\f\r]",Js=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,tn=/-->/g,en=/>/g,on=RegExp(`>|${Ks}(?:([^\\s"'>=/]+)(${Ks}*=${Ks}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),rn=/'/g,sn=/"/g,nn=/^(?:script|style|textarea|title)$/i,an=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),ln=an(1),cn=an(2),hn=Symbol.for("lit-noChange"),dn=Symbol.for("lit-nothing"),un=new WeakMap,pn=Ys.createTreeWalker(Ys,129);function gn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Bs?Bs.createHTML(e):e}const mn=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=Js;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(n.lastIndex=h,l=n.exec(i),null!==l);)h=n.lastIndex,n===Js?"!--"===l[1]?n=tn:void 0!==l[1]?n=en:void 0!==l[2]?(nn.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=on):void 0!==l[3]&&(n=on):n===on?">"===l[0]?(n=r??Js,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?on:'"'===l[3]?sn:rn):n===sn||n===rn?n=on:n===tn||n===en?n=Js:(n=on,r=void 0);const d=n===on&&t[e+1].startsWith("/>")?" ":"";s+=n===Js?i+Gs:c>=0?(o.push(a),i.slice(0,c)+Ws+i.slice(c)+Vs+d):i+Vs+(-2===c?e:d)}return[gn(t,s+(t[i]||"<?>")+(2===e?"</svg>":"")),o]};class fn{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,s=0;const n=t.length-1,a=this.parts,[l,c]=mn(t,e);if(this.el=fn.createElement(l,i),pn.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=pn.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(Ws)){const e=c[s++],i=o.getAttribute(t).split(Vs),n=/([.?@])?(.*)/.exec(e);a.push({type:1,index:r,name:n[2],strings:i,ctor:"."===n[1]?xn:"?"===n[1]?kn:"@"===n[1]?Cn:wn}),o.removeAttribute(t)}else t.startsWith(Vs)&&(a.push({type:6,index:r}),o.removeAttribute(t));if(nn.test(o.tagName)){const t=o.textContent.split(Vs),e=t.length-1;if(e>0){o.textContent=Fs?Fs.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],qs()),pn.nextNode(),a.push({type:2,index:++r});o.append(t[e],qs())}}}else if(8===o.nodeType)if(o.data===Us)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(Vs,t+1));)a.push({type:7,index:r}),t+=Vs.length-1}r++}}static createElement(t,e){const i=Ys.createElement("template");return i.innerHTML=t,i}}function vn(t,e,i=t,o){if(e===hn)return e;let r=void 0!==o?i._$Co?.[o]:i._$Cl;const s=Zs(e)?void 0:e._$litDirective$;return r?.constructor!==s&&(r?._$AO?.(!1),void 0===s?r=void 0:(r=new s(t),r._$AT(t,i,o)),void 0!==o?(i._$Co??=[])[o]=r:i._$Cl=r),void 0!==r&&(e=vn(t,r._$AS(t,e.values),r,o)),e}class bn{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,o=(t?.creationScope??Ys).importNode(e,!0);pn.currentNode=o;let r=pn.nextNode(),s=0,n=0,a=i[0];for(;void 0!==a;){if(s===a.index){let e;2===a.type?e=new yn(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new Mn(r,this,t)),this._$AV.push(e),a=i[++n]}s!==a?.index&&(r=pn.nextNode(),s++)}return pn.currentNode=Ys,o}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class yn{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=dn,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=vn(this,t,e),Zs(t)?t===dn||null==t||""===t?(this._$AH!==dn&&this._$AR(),this._$AH=dn):t!==this._$AH&&t!==hn&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):Qs(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==dn&&Zs(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ys.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,o="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=fn.createElement(gn(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new bn(o,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=un.get(t.strings);return void 0===e&&un.set(t.strings,e=new fn(t)),e}k(t){Xs(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const r of t)o===e.length?e.push(i=new yn(this.S(qs()),this.S(qs()),this,this.options)):i=e[o],i._$AI(r),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class wn{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,r){this.type=1,this._$AH=dn,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=dn}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=vn(this,t,e,0),s=!Zs(t)||t!==this._$AH&&t!==hn,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=vn(this,o[i+n],e,n),a===hn&&(a=this._$AH[n]),s||=!Zs(a)||a!==this._$AH[n],a===dn?t=dn:t!==dn&&(t+=(a??"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===dn?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class xn extends wn{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===dn?void 0:t}}class kn extends wn{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==dn)}}class Cn extends wn{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){if((t=vn(this,t,e,0)??dn)===hn)return;const i=this._$AH,o=t===dn&&i!==dn||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==dn&&(i===dn||o);o&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Mn{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){vn(this,t)}}const _n={P:Ws,A:Vs,C:Us,M:1,L:mn,R:bn,D:Qs,V:vn,I:yn,H:wn,N:kn,U:Cn,B:xn,F:Mn},Sn=Hs.litHtmlPolyfillSupport;Sn?.(fn,yn),(Hs.litHtmlVersions??=[]).push("3.1.3");const zn=(t,e,i)=>{const o=i?.renderBefore??e;let r=o._$litPart$;if(void 0===r){const t=i?.renderBefore??null;o._$litPart$=r=new yn(e.insertBefore(qs(),t),t,void 0,i??{})}return r._$AI(t),r};class En extends js{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=zn(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return hn}}En._$litElement$=!0,En.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:En});const Ln=globalThis.litElementPolyfillSupport;Ln?.({LitElement:En}),(globalThis.litElementVersions??=[]).push("4.0.5");const In=t=>(e,i)=>{void 0!==i?i.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},Rn={attribute:!0,type:String,converter:Os,reflect:!1,hasChanged:Ns},Tn=(t=Rn,e,i)=>{const{kind:o,metadata:r}=i;let s=globalThis.litPropertyMetadata.get(r);if(void 0===s&&globalThis.litPropertyMetadata.set(r,s=new Map),s.set(i.name,t),"accessor"===o){const{name:o}=i;return{set(i){const r=e.get.call(this);e.set.call(this,i),this.requestUpdate(o,r,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if("setter"===o){const{name:o}=i;return function(i){const r=this[o];e.call(this,i),this.requestUpdate(o,r,t)}}throw Error("Unsupported decorator location: "+o)};function $n(t){return(e,i)=>"object"==typeof i?Tn(t,e,i):((t,e,i)=>{const o=e.hasOwnProperty(i);return e.constructor.createProperty(i,o?{...t,wrapped:!0}:t),o?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)}function An(t){return $n({...t,state:!0,attribute:!1})}const Dn=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i);function On(t,e){return(i,o,r)=>{const s=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof o?i:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Dn(i,o,{get(){let i=t.call(this);return void 0===i&&(i=s(this),(null!==i||this.hasUpdated)&&e.call(this,i)),i}})}return Dn(i,o,{get(){return s(this)}})}}let Nn;function Pn(t){return(e,i)=>Dn(e,i,{get(){return(this.renderRoot??(Nn??=document.createDocumentFragment())).querySelectorAll(t)}})}function*jn(t,e){if(void 0!==t){let i=0;for(const o of t)yield e(o,i++)}}const Hn=ks`
|
|
3
3
|
* {
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
}
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
inset: 0;
|
|
59
59
|
z-index: 104;
|
|
60
60
|
}
|
|
61
|
-
`,Fn=t=>(...e)=>({_$litDirective$:t,values:e});class Bn{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}const Wn="important",Vn=" !"+Wn,Un=Fn(class extends Bn{constructor(t){if(super(t),1!==t.type||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?i.removeProperty(t):i[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ft.add(t);const e="string"==typeof o&&o.endsWith(Vn);t.includes("-")||e?i.setProperty(t,e?o.slice(0,-11):o,e?Wn:""):i[t]=o}}return hn}});var Gn=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class
|
|
61
|
+
`,Fn=t=>(...e)=>({_$litDirective$:t,values:e});class Bn{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}const Wn="important",Vn=" !"+Wn,Un=Fn(class extends Bn{constructor(t){if(super(t),1!==t.type||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?i.removeProperty(t):i[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ft.add(t);const e="string"==typeof o&&o.endsWith(Vn);t.includes("-")||e?i.setProperty(t,e?o.slice(0,-11):o,e?Wn:""):i[t]=o}}return hn}});var Gn=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Yn extends Event{constructor(t,e){super(t),Object.assign(this,e)}}class qn extends Event{constructor(t){super(`splitContainer.${t}`,{bubbles:!0,composed:!0})}}let Zn=class extends En{constructor(){super(),this.items=[],this.orientation="horizontal",this.gap=0,this.indexMap=[],this.dynamicSizeIndices=[],this._resizeIndex=-1,this._resizeLastSize1=-1,this._resizeLastSize2=-1,this.defaultLayout=!0,this._onMouseMove=t=>{if(this.sizer.resizing)return;let e=0,i=0;this._resizeIndex=-1;for(let o=1;o<this.containers.length;o++)if("horizontal"==this.orientation?(e=t.offsetX,i=this.containers[o].offsetLeft):(e=t.offsetY,i=this.containers[o].offsetTop),Math.abs(i-e)<G.SIZER_SIZE){this._resizeIndex=o-1;break}this._resizeIndex>-1?(this._resizeLastSize1="horizontal"==this.orientation?this.containers[this._resizeIndex].offsetWidth:this.containers[this._resizeIndex].offsetHeight,this._resizeLastSize2="horizontal"==this.orientation?this.containers[this._resizeIndex+1].offsetWidth:this.containers[this._resizeIndex+1].offsetHeight,this.sizer.snap(this.containers[this._resizeIndex],this)):this.sizer.hide()},this._debounceResize=Y((t=>{const e="horizontal"==this.orientation?t.deltaX:t.deltaY;this.setContainerSize(this._resizeIndex,this._resizeLastSize1+e),this.setContainerSize(this._resizeIndex+1,this._resizeLastSize2-e),this.defaultLayout&&this.layout(),this.dispatchEvent(new qn("resize"))}),null,{isImmediate:!0}),this.render=()=>{const t=this.items.map(((t,e)=>[t,e]));return ln`
|
|
62
62
|
${jn(t,(([e,i],o)=>e.collapsed?"":ln`
|
|
63
63
|
<div
|
|
64
64
|
class="item ${0==o?"first":o==t.length-1?"last":""}"
|
|
@@ -70,13 +70,13 @@
|
|
|
70
70
|
<og-sizer
|
|
71
71
|
orientation="${this.orientation}"
|
|
72
72
|
noGuideLine
|
|
73
|
-
@resizestart="${()=>{xt(this.overlay),this.dispatchEvent(new
|
|
74
|
-
@resizestop="${()=>{kt(this.overlay),this.dispatchEvent(new
|
|
73
|
+
@resizestart="${()=>{xt(this.overlay),this.dispatchEvent(new qn("resizestart"))}}"
|
|
74
|
+
@resizestop="${()=>{kt(this.overlay),this.dispatchEvent(new qn("resizestop"))}}"
|
|
75
75
|
@resize="${this._debounceResize}">
|
|
76
76
|
</og-sizer>
|
|
77
77
|
|
|
78
78
|
<div class="overlay"></div>
|
|
79
|
-
`},this.addEventListener("mousemove",this._onMouseMove)}getContainer(t){return this.containers[this.indexMap[t]]}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}splitContainer(t){this.items.splice(t,0,{size:null}),this.items.forEach((t=>t.size=null)),this.requestUpdate()}removeContainer(t){this.items.splice(t,1),this.items.forEach((t=>t.size=null)),this.requestUpdate()}getContainerComponent(t){return this.indexMap[t]>-1?this.containers[this.indexMap[t]].firstElementChild.firstElementChild:null}setContainerSize(t,e){this.items[t].size=e;const i=this.getContainer(t);i&&(i.style.flexBasis=e>0?Ot(e):"0",i.style.flexGrow=e>0?"0":"1",i.style.flexShrink=e>0?"0":"1")}getContainerSize(t){const e=this.getContainer(t);return e?"horizontal"==this.orientation?e.offsetWidth:e.offsetHeight:0}resetContainerSizes(){this.items.forEach(((t,e)=>this.setContainerSize(e,null)))}async collapse(t,e=!0){this.items[t].collapsed=e,this.indexContainers(),this.requestUpdate(),await this.updateComplete,this.layout()}indexContainers(){this.indexMap=[];let t=0;this.items.forEach(((e,i)=>{e||(e={size:null},this.items[i]=e),this.indexMap.push(e?.collapsed?-1:t++)}))}willUpdate(t){this.items&&0!=this.items.length||this.items.push({size:null}),(t.has("items")||0==this.dynamicSizeIndices.length)&&(this.dynamicSizeIndices=[...this.items.keys()].filter((t=>null==this.items[t].size)),0==this.dynamicSizeIndices.length&&(this.dynamicSizeIndices=[this.items.length-1])),this.indexContainers()}getComponent(t,e){return this.createComponent?this.createComponent(e??t):null}async updateComponent(t){if(this.items[t].collapsed)return;const e=this.getContainer(t);if(!e)return;const i=this.items[t],o=e.firstElementChild;St(o),this.setContainerSize(t,i.size);const r=await this.getComponent(t,i.id);r&&(o.appendChild(r),this.dispatchEvent(new
|
|
79
|
+
`},this.addEventListener("mousemove",this._onMouseMove)}getContainer(t){return this.containers[this.indexMap[t]]}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}splitContainer(t){this.items.splice(t,0,{size:null}),this.items.forEach((t=>t.size=null)),this.requestUpdate()}removeContainer(t){this.items.splice(t,1),this.items.forEach((t=>t.size=null)),this.requestUpdate()}getContainerComponent(t){return this.indexMap[t]>-1?this.containers[this.indexMap[t]].firstElementChild.firstElementChild:null}setContainerSize(t,e){this.items[t].size=e;const i=this.getContainer(t);i&&(i.style.flexBasis=e>0?Ot(e):"0",i.style.flexGrow=e>0?"0":"1",i.style.flexShrink=e>0?"0":"1")}getContainerSize(t){const e=this.getContainer(t);return e?"horizontal"==this.orientation?e.offsetWidth:e.offsetHeight:0}resetContainerSizes(){this.items.forEach(((t,e)=>this.setContainerSize(e,null)))}async collapse(t,e=!0){this.items[t].collapsed=e,this.indexContainers(),this.requestUpdate(),await this.updateComplete,this.layout()}indexContainers(){this.indexMap=[];let t=0;this.items.forEach(((e,i)=>{e||(e={size:null},this.items[i]=e),this.indexMap.push(e?.collapsed?-1:t++)}))}willUpdate(t){this.items&&0!=this.items.length||this.items.push({size:null}),(t.has("items")||0==this.dynamicSizeIndices.length)&&(this.dynamicSizeIndices=[...this.items.keys()].filter((t=>null==this.items[t].size)),0==this.dynamicSizeIndices.length&&(this.dynamicSizeIndices=[this.items.length-1])),this.indexContainers()}getComponent(t,e){return this.createComponent?this.createComponent(e??t):null}async updateComponent(t){if(this.items[t].collapsed)return;const e=this.getContainer(t);if(!e)return;const i=this.items[t],o=e.firstElementChild;St(o),this.setContainerSize(t,i.size);const r=await this.getComponent(t,i.id);r&&(o.appendChild(r),this.dispatchEvent(new Yn("component",{index:t,component:r})))}async updated(){for(const t of this.containers)await this.updateComponent(parseInt(t.dataset.index));this.layout()}fillRemainingSpace(){this.items?.length&&(this.items.find((t=>null==t.size))||this.setContainerSize(this.items.length-1,null))}layout(){this.fillRemainingSpace(),this.containers.forEach((t=>{const e=this.getContainerComponent(parseInt(t.dataset.index));e?.layout&&e.layout()}))}};Zn.styles=[Hn],Gn([$n({type:Array})],Zn.prototype,"items",void 0),Gn([$n({type:String,reflect:!0})],Zn.prototype,"orientation",void 0),Gn([$n({type:Number})],Zn.prototype,"gap",void 0),Gn([Pn(".item")],Zn.prototype,"containers",void 0),Gn([On(".overlay")],Zn.prototype,"overlay",void 0),Gn([$n({type:Object})],Zn.prototype,"createComponent",void 0),Gn([On("og-sizer")],Zn.prototype,"sizer",void 0),Zn=Gn([In("og-splitcontainer")],Zn);const{I:Xn}=_n,Qn=(t,e)=>void 0===e?void 0!==t?._$litType$:t?._$litType$===e,Kn=()=>document.createComment(""),Jn=(t,e,i)=>{const o=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=o.insertBefore(Kn(),r),s=o.insertBefore(Kn(),r);i=new Xn(e,s,t,t.options)}else{const e=i._$AB.nextSibling,s=i._$AM,n=s!==t;if(n){let e;i._$AQ?.(t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==s._$AU&&i._$AP(e)}if(e!==r||n){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;o.insertBefore(t,r),t=e}}}return i},ta={},ea=(t,e=ta)=>t._$AH=e,ia=t=>t._$AH,oa=(t,e)=>{const i=t._$AN;if(void 0===i)return!1;for(const t of i)t._$AO?.(e,!1),oa(t,e);return!0},ra=t=>{let e,i;do{if(void 0===(e=t._$AM))break;i=e._$AN,i.delete(t),t=e}while(0===i?.size)},sa=t=>{for(let e;e=t._$AM;t=e){let i=e._$AN;if(void 0===i)e._$AN=i=new Set;else if(i.has(t))break;i.add(t),la(e)}};function na(t){void 0!==this._$AN?(ra(this),this._$AM=t,sa(this)):this._$AM=t}function aa(t,e=!1,i=0){const o=this._$AH,r=this._$AN;if(void 0!==r&&0!==r.size)if(e)if(Array.isArray(o))for(let t=i;t<o.length;t++)oa(o[t],!1),ra(o[t]);else null!=o&&(oa(o,!1),ra(o));else oa(this,t)}const la=t=>{2==t.type&&(t._$AP??=aa,t._$AQ??=na)};class ca extends Bn{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),sa(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(oa(this,t),ra(this))}setValue(t){if((t=>void 0===this._$Ct.strings)())this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}class ha{constructor(t){this.Y=t}disconnect(){this.Y=void 0}reconnect(t){this.Y=t}deref(){return this.Y}}class da{constructor(){this.Z=void 0,this.q=void 0}get(){return this.Z}pause(){this.Z??=new Promise((t=>this.q=t))}resume(){this.q?.(),this.Z=this.q=void 0}}const ua=t=>!(t=>null===t||"object"!=typeof t&&"function"!=typeof t)(t)&&"function"==typeof t.then,pa=1073741823,ga=Fn(class extends ca{constructor(){super(...arguments),this._$Cwt=pa,this._$Cbt=[],this._$CK=new ha(this),this._$CX=new da}render(...t){return t.find((t=>!ua(t)))??hn}update(t,e){const i=this._$Cbt;let o=i.length;this._$Cbt=e;const r=this._$CK,s=this._$CX;this.isConnected||this.disconnected();for(let t=0;t<e.length&&!(t>this._$Cwt);t++){const n=e[t];if(!ua(n))return this._$Cwt=t,n;t<o&&n===i[t]||(this._$Cwt=pa,o=0,Promise.resolve(n).then((async t=>{for(;s.get();)await s.get();const e=r.deref();if(void 0!==e){const i=e._$Cbt.indexOf(n);i>-1&&i<e._$Cwt&&(e._$Cwt=i,e.setValue(t))}})))}return hn}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}});var ma,fa,va,ba,ya,wa=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n},xa=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i},ka=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};let Ca=class extends Zn{constructor(){super(),ma.add(this),this.items=[],fa.set(this,new Map),va.set(this,new Set),ba.set(this,[]),this.defaultLayout=!1,this.addEventListener("splitContainer.resize",(()=>{xa(this,ba,[...this.containers].map((t=>t.offsetHeight)),"f"),this.layout(),ka(this,ma,"m",ya).call(this)}))}getItemsState(){return this.items.map(((t,e)=>({id:t.id,collapsed:ka(this,va,"f").has(e),size:ka(this,ba,"f")[e]??null})))}willUpdate(t){t.has("items")&&(ka(this,fa,"f").clear(),xa(this,ba,[],"f"),this.items?.forEach(((t,e)=>{t.collapsed&&ka(this,va,"f").add(e),t.collapsed=!1,ka(this,ba,"f").push(t.size)}))),super.willUpdate(t)}get totalCollapsedHeight(){return[...ka(this,va,"f")].reduce(((t,e)=>{const i=ka(this,fa,"f").get(e);return i?t+(i.collapsed?i.header.offsetHeight??0:0):t}),0)}async fixSizes(){await Promise.all([...ka(this,fa,"f").values()].map((t=>t.updateComplete)));const t=this.clientHeight,e=ka(this,va,"f").size,i=this.items.length-e;let o,r=0,s=0,n=0,a=new Array(this.items.length).fill(null);for(let t=0;t<this.items.length;t++)if(ka(this,va,"f").has(t)){const e=ka(this,fa,"f").get(t);if(!e)continue;a[t]=e.header?.offsetHeight||0,r+=a[t]}else a[t]=ka(this,ba,"f")[t],a[t]||n++,s+=a[t]||0,o=t;let l=t-r-s,c=!1,h=0,d=i;if(l>0)for(let t=0;t<this.items.length;t++)ka(this,va,"f").has(t)||(a[t]?(h=l/d,a[t]+=h,l-=h):(h=l/n,a[t]=h,n--,l-=h,s+=h),d--);for(let t=0;t<this.items.length;t++)if(!ka(this,va,"f").has(t)&&a[t]<50){c=!0;break}c?a=a.map(((t,e)=>ka(this,va,"f").has(e)?t:s/i)):l>0&&(a[o]+=l),a.forEach(((t,e)=>this.setContainerSize(e,t)))}async layout(){await this.fixSizes(),this.containers.forEach(((t,e)=>{const i=this.getContainerComponent(e);i?.layout&&i.layout()}))}getComponent(t,e){let i=ka(this,fa,"f").get(t);if(i)return i;i=yt("og-panel");const o=this.items[t];return i.collapsible=!0,i.collapsed=ka(this,va,"f").has(t)??!1,i.icon=o.icon,i.arrowPosition="left",ka(this,fa,"f").set(t,i),i.addEventListener("resizestart",(()=>{i.collapsed?(ka(this,ba,"f")[t]||(ka(this,ba,"f")[t]=this.getContainer(t).offsetHeight),ka(this,va,"f").add(t)):ka(this,va,"f").delete(t)})),i.addEventListener("resizestop",(()=>{this.layout(),ka(this,ma,"m",ya).call(this)})),zn(ln`
|
|
80
80
|
<div slot="header">${o.title??""}</div>
|
|
81
81
|
<div slot="body" style="height: 100%; overflow: hidden; position: relative">
|
|
82
82
|
${ga(this.createComponent(e??t))}
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
background-color: var(--og-colortype-${xs($a[t])}-background-color);
|
|
307
307
|
border: 1px solid var(--og-colortype-${xs($a[t])}-border-color);
|
|
308
308
|
}
|
|
309
|
-
`))],Ta([$n({type:String})],Da.prototype,"text",void 0),Ta([$n({type:String})],Da.prototype,"icon",void 0),Ta([$n({type:String,reflect:!0})],Da.prototype,"type",void 0),Ta([$n({type:Boolean})],Da.prototype,"closable",void 0),Ta([$n({type:Boolean})],Da.prototype,"noCopy",void 0),Ta([On(".copy")],Da.prototype,"btnCopy",void 0),Da=Ta([In("og-alert")],Da);class Oa extends Event{}class Na extends En{constructor(){super(...arguments),this.customProperties={}}}const Pa={name:"og-light",type:"light",definition:{"font-size":Dt(G.FONT_SIZE),"font-family":"Verdana, Arial, Helvetica, sans-serif","base-radius":"3px","base-shadow":"0 4px 12px rgba(0, 0, 0, 0.12)","button-color":"var(--og-accent-color)","button-background-color":"#ffffff","button-background-color-highlight":"#cccccc",background:"#ffffff","background-color":"#ffffff","background-color-2":"#eeeeee","background-color-3":"#eeeeee","text-highlight-color":"#9b8400","text-color":"#000000","text-color-2":"#ffffff","text-color-3":"#000000","text-color-reversed":"#ffffff",border:"#cccccc","border-color":"#cccccc","border-color-2":"#939393","border-color-3":"#939393","cell-background":"#ffffff","cell-border":"1px solid #cccccc","hcell-background":"#ececec","slider-background-color":"#eeeeee","slider-background-active":"#e2e2e2","slider-bar-color":"#aaaaaa","slider-bar-active":"#aaaaaa","expander-color":"#707070","expander-hover":"#00955d","expander-background-color":"#dbdbdb","sizer-background":"#00955d","frozen-border":"#b7b7b7","inset-shadow-color":"#707070","commands-color":"#000000","commands-background":"#ffffff","commands-header-background":"#cdcdcd","commands-input-background":"#f1f1f1","commands-shadow":"#7e7e7e","dialog-color":"#000000","dialog-background":"#ffffff","dialog-header-background":"#cdcdcd","dialog-shadow":"#7e7e7e","tab-border-color":"#b1b1b1","tab-background-color":"#ffffff","tab-panel-background-color":"#ffffff","tab-background-color-active":"#eeeeee","bucket-tab-background-color":"#f4f4f4","bucket-tab-panel-background-color":"#f4f4f4","bucket-tab-background-color-active":"#ffffff","bucket-right-background-color":"#ffffff","bucket-border-color":"#b1b1b1","bucket-center-background-color":"#d8d8d8","bucket-left-background-color":"#ffffff","bucket-top-background-color":"#ffffff","bucket-sidebar-background-color":"#f2f2f2","form-background-color":"#e5e5e5","colortype-yellow-background-color":"#e49f30","colortype-yellow-border-color":"#b57a15","colortype-yellow-text-color":"#FFFFFF","colortype-green-background-color":"#43A047","colortype-green-border-color":"#2d7531","colortype-green-text-color":"#FFFFFF","colortype-red-background-color":"#EF5350","colortype-red-border-color":"#c43735","colortype-red-text-color":"#FFFFFF","colortype-blue-background-color":"#1E88E5","colortype-blue-border-color":"#0e64b3","colortype-blue-text-color":"#FFFFFF","colortype-gray-background-color":"#D9D9D9","colortype-gray-border-color":"#b0b0b0","colortype-gray-text-color":"#212121","colortype-accent-text-color":"#ffffff","switch-background-color":"#cccccc","switch-slider-color":"#ffffff"}},ja={name:"og-dark",type:"dark",definition:{"font-size":Dt(G.FONT_SIZE),"font-family":"Verdana, Arial, Helvetica, sans-serif","base-radius":"3px","base-shadow":"0 4px 10px rgba(0,0,0,0.6)","button-color":"var(--og-accent-color)","button-background-color":"#1e1e1e","button-background-color-highlight":"#3a3a3a","background-color":"#181818","background-color-2":"#1f1f1f","background-color-3":"#292929","text-highlight-color":"#FFFF00","text-color":"#b0b0b0","text-color-2":"#ffffff","text-color-3":"#ffffff","text-color-reversed":"#ffffff",border:"#3a3a3a","border-color":"#3a3a3a","border-color-2":"#2a2a2a","border-color-3":"#676767","cell-background":"#1e1e1e","cell-border":"1px solid #3a3a3a","hcell-background":"#2e2e2e","slider-background-color":"#272727","slider-background-active":"#313131","slider-bar-color":"#494949","slider-bar-active":"#494949","expander-color":"#707070","expander-hover":"#00955d","expander-background-color":"#3F3F3F","sizer-background":"#00955d","frozen-border":"#000000","inset-shadow-color":"#000000","commands-color":"#ffffff","commands-background":"#181818","commands-header-background":"#363636","commands-input-background":"#1D1D1D","commands-shadow":"#151515","dialog-color":"#ffffff","dialog-background":"#181818","dialog-header-background":"#363636","dialog-shadow":"#151515","tab-border-color":"#2a2a2a","tab-background-color":"#181818","tab-panel-background-color":"#181818","tab-background-color-active":"#1f1f1f","bucket-tab-background-color":"#2d2d2d","bucket-tab-panel-background-color":"#252526","bucket-tab-background-color-active":"#1f1f1f","bucket-right-background-color":"#1e1e1e","bucket-border-color":"#2a2a2a","bucket-center-background-color":"#181818","bucket-left-background-color":"#181818","bucket-top-background-color":"#181818","bucket-sidebar-background-color":"#1c1c1c","form-background-color":"#323233","colortype-yellow-background-color":"#e49f30","colortype-yellow-border-color":"#b87d1a","colortype-yellow-text-color":"#ffffff","colortype-green-background-color":"#2E7D32","colortype-green-border-color":"#1c5a20","colortype-green-text-color":"#ffffff","colortype-red-background-color":"#C62828","colortype-red-border-color":"#911a1a","colortype-red-text-color":"#ffffff","colortype-blue-background-color":"#1976D2","colortype-blue-border-color":"#10559e","colortype-blue-text-color":"#ffffff","colortype-gray-background-color":"#424242","colortype-gray-border-color":"#2e2e2e","colortype-gray-text-color":"#ffffff","colortype-accent-text-color":"#ffffff","switch-background-color":"#474747","switch-slider-color":"#ffffff"}},Ha=Array.from({length:19},((t,e)=>5*(e+1))),Fa=[{from:"accent-color",to:"colortype-accent-background-color",transform:t=>t},{from:"accent-color",to:"colortype-accent-border-color",transform:t=>Nr(t,.25)},...Ha.flatMap((t=>[{from:"accent-color",to:`accent-color-alpha-${t}`,transform:e=>Pr(e,t/100)},{from:"accent-color",to:`accent-color-alpha-soft-${t}`,transform:(e,i)=>Pr(e,"dark"===i.type?t/100:100-t/100)}])),{from:"accent-color",to:"accent-color-alpha",transform:t=>Pr(t)},{from:"accent-color",to:"accent-color-highlight",transform:t=>Nr(t)},...Object.values(Ra).flatMap((t=>Ha.map((e=>({from:`colortype-${t}-background-color`,to:`colortype-${t}-background-color-dark-${e}`,transform:t=>Nr(t,e/100)}))))),...Object.values(Ra).flatMap((t=>Ha.map((e=>({from:`colortype-${t}-background-color`,to:`colortype-${t}-background-color-light-${e}`,transform:t=>Or(t,e/100)}))))),...Object.values(Ra).flatMap((t=>Ha.map((e=>({from:`colortype-${t}-background-color`,to:`colortype-${t}-background-color-soft-${e}`,transform:(t,i)=>"dark"===i.type?Nr(t,e/100):Or(t,e/100)})))))],Ba=Fa;function Wa(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Va(t){const e=new Map,i={...t.definition};t.accentColor&&(i["accent-color"]=t.accentColor);for(const t in i)e.set(`--${G.PREFIX}-${t}`,i[t]);return Ba.forEach((o=>{const r=o.transform(i[o.from],t);i[o.to]=r,e.set(`--${G.PREFIX}-${o.to}`,r)})),e.set(`--${G.PREFIX}-bw`,"dark"==t.type?"#000000":"#ffffff"),e.set(`--${G.PREFIX}-bw-inverted`,"dark"==t.type?"#ffffff":"#000000"),e}function Ua(t){const e=Va(t),i=Array.from(e).map((([t,e])=>`${t}: ${e};`)).join("\n");return xs(i)}function Ga(t,e){return e.forEach(((e,i)=>t.setProperty(i,e))),t}const
|
|
309
|
+
`))],Ta([$n({type:String})],Da.prototype,"text",void 0),Ta([$n({type:String})],Da.prototype,"icon",void 0),Ta([$n({type:String,reflect:!0})],Da.prototype,"type",void 0),Ta([$n({type:Boolean})],Da.prototype,"closable",void 0),Ta([$n({type:Boolean})],Da.prototype,"noCopy",void 0),Ta([On(".copy")],Da.prototype,"btnCopy",void 0),Da=Ta([In("og-alert")],Da);class Oa extends Event{}class Na extends En{constructor(){super(...arguments),this.customProperties={}}}const Pa={name:"og-light",type:"light",definition:{"font-size":Dt(G.FONT_SIZE),"font-family":"Verdana, Arial, Helvetica, sans-serif","base-radius":"3px","base-shadow":"0 4px 12px rgba(0, 0, 0, 0.12)","button-color":"var(--og-accent-color)","button-background-color":"#ffffff","button-background-color-highlight":"#cccccc",background:"#ffffff","background-color":"#ffffff","background-color-2":"#eeeeee","background-color-3":"#eeeeee","text-highlight-color":"#9b8400","text-color":"#000000","text-color-2":"#ffffff","text-color-3":"#000000","text-color-reversed":"#ffffff",border:"#cccccc","border-color":"#cccccc","border-color-2":"#939393","border-color-3":"#939393","cell-background":"#ffffff","cell-border":"1px solid #cccccc","hcell-background":"#ececec","slider-background-color":"#eeeeee","slider-background-active":"#e2e2e2","slider-bar-color":"#aaaaaa","slider-bar-active":"#aaaaaa","expander-color":"#707070","expander-hover":"#00955d","expander-background-color":"#dbdbdb","sizer-background":"#00955d","frozen-border":"#b7b7b7","inset-shadow-color":"#707070","commands-color":"#000000","commands-background":"#ffffff","commands-header-background":"#cdcdcd","commands-input-background":"#f1f1f1","commands-shadow":"#7e7e7e","dialog-color":"#000000","dialog-background":"#ffffff","dialog-header-background":"#cdcdcd","dialog-shadow":"#7e7e7e","tab-border-color":"#b1b1b1","tab-background-color":"#ffffff","tab-panel-background-color":"#ffffff","tab-background-color-active":"#eeeeee","bucket-tab-background-color":"#f4f4f4","bucket-tab-panel-background-color":"#f4f4f4","bucket-tab-background-color-active":"#ffffff","bucket-right-background-color":"#ffffff","bucket-border-color":"#b1b1b1","bucket-center-background-color":"#d8d8d8","bucket-left-background-color":"#ffffff","bucket-top-background-color":"#ffffff","bucket-sidebar-background-color":"#f2f2f2","form-background-color":"#e5e5e5","colortype-yellow-background-color":"#e49f30","colortype-yellow-border-color":"#b57a15","colortype-yellow-text-color":"#FFFFFF","colortype-green-background-color":"#43A047","colortype-green-border-color":"#2d7531","colortype-green-text-color":"#FFFFFF","colortype-red-background-color":"#EF5350","colortype-red-border-color":"#c43735","colortype-red-text-color":"#FFFFFF","colortype-blue-background-color":"#1E88E5","colortype-blue-border-color":"#0e64b3","colortype-blue-text-color":"#FFFFFF","colortype-gray-background-color":"#D9D9D9","colortype-gray-border-color":"#b0b0b0","colortype-gray-text-color":"#212121","colortype-accent-text-color":"#ffffff","switch-background-color":"#cccccc","switch-slider-color":"#ffffff"}},ja={name:"og-dark",type:"dark",definition:{"font-size":Dt(G.FONT_SIZE),"font-family":"Verdana, Arial, Helvetica, sans-serif","base-radius":"3px","base-shadow":"0 4px 10px rgba(0,0,0,0.6)","button-color":"var(--og-accent-color)","button-background-color":"#1e1e1e","button-background-color-highlight":"#3a3a3a","background-color":"#181818","background-color-2":"#1f1f1f","background-color-3":"#292929","text-highlight-color":"#FFFF00","text-color":"#b0b0b0","text-color-2":"#ffffff","text-color-3":"#ffffff","text-color-reversed":"#ffffff",border:"#3a3a3a","border-color":"#3a3a3a","border-color-2":"#2a2a2a","border-color-3":"#676767","cell-background":"#1e1e1e","cell-border":"1px solid #3a3a3a","hcell-background":"#2e2e2e","slider-background-color":"#272727","slider-background-active":"#313131","slider-bar-color":"#494949","slider-bar-active":"#494949","expander-color":"#707070","expander-hover":"#00955d","expander-background-color":"#3F3F3F","sizer-background":"#00955d","frozen-border":"#000000","inset-shadow-color":"#000000","commands-color":"#ffffff","commands-background":"#181818","commands-header-background":"#363636","commands-input-background":"#1D1D1D","commands-shadow":"#151515","dialog-color":"#ffffff","dialog-background":"#181818","dialog-header-background":"#363636","dialog-shadow":"#151515","tab-border-color":"#2a2a2a","tab-background-color":"#181818","tab-panel-background-color":"#181818","tab-background-color-active":"#1f1f1f","bucket-tab-background-color":"#2d2d2d","bucket-tab-panel-background-color":"#252526","bucket-tab-background-color-active":"#1f1f1f","bucket-right-background-color":"#1e1e1e","bucket-border-color":"#2a2a2a","bucket-center-background-color":"#181818","bucket-left-background-color":"#181818","bucket-top-background-color":"#181818","bucket-sidebar-background-color":"#1c1c1c","form-background-color":"#323233","colortype-yellow-background-color":"#e49f30","colortype-yellow-border-color":"#b87d1a","colortype-yellow-text-color":"#ffffff","colortype-green-background-color":"#2E7D32","colortype-green-border-color":"#1c5a20","colortype-green-text-color":"#ffffff","colortype-red-background-color":"#C62828","colortype-red-border-color":"#911a1a","colortype-red-text-color":"#ffffff","colortype-blue-background-color":"#1976D2","colortype-blue-border-color":"#10559e","colortype-blue-text-color":"#ffffff","colortype-gray-background-color":"#424242","colortype-gray-border-color":"#2e2e2e","colortype-gray-text-color":"#ffffff","colortype-accent-text-color":"#ffffff","switch-background-color":"#474747","switch-slider-color":"#ffffff"}},Ha=Array.from({length:19},((t,e)=>5*(e+1))),Fa=[{from:"accent-color",to:"colortype-accent-background-color",transform:t=>t},{from:"accent-color",to:"colortype-accent-border-color",transform:t=>Nr(t,.25)},...Ha.flatMap((t=>[{from:"accent-color",to:`accent-color-alpha-${t}`,transform:e=>Pr(e,t/100)},{from:"accent-color",to:`accent-color-alpha-soft-${t}`,transform:(e,i)=>Pr(e,"dark"===i.type?t/100:100-t/100)}])),{from:"accent-color",to:"accent-color-alpha",transform:t=>Pr(t)},{from:"accent-color",to:"accent-color-highlight",transform:t=>Nr(t)},...Object.values(Ra).flatMap((t=>Ha.map((e=>({from:`colortype-${t}-background-color`,to:`colortype-${t}-background-color-dark-${e}`,transform:t=>Nr(t,e/100)}))))),...Object.values(Ra).flatMap((t=>Ha.map((e=>({from:`colortype-${t}-background-color`,to:`colortype-${t}-background-color-light-${e}`,transform:t=>Or(t,e/100)}))))),...Object.values(Ra).flatMap((t=>Ha.map((e=>({from:`colortype-${t}-background-color`,to:`colortype-${t}-background-color-soft-${e}`,transform:(t,i)=>"dark"===i.type?Nr(t,e/100):Or(t,e/100)})))))],Ba=Fa;function Wa(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Va(t){const e=new Map,i={...t.definition};t.accentColor&&(i["accent-color"]=t.accentColor);for(const t in i)e.set(`--${G.PREFIX}-${t}`,i[t]);return Ba.forEach((o=>{const r=o.transform(i[o.from],t);i[o.to]=r,e.set(`--${G.PREFIX}-${o.to}`,r)})),e.set(`--${G.PREFIX}-bw`,"dark"==t.type?"#000000":"#ffffff"),e.set(`--${G.PREFIX}-bw-inverted`,"dark"==t.type?"#ffffff":"#000000"),e}function Ua(t){const e=Va(t),i=Array.from(e).map((([t,e])=>`${t}: ${e};`)).join("\n");return xs(i)}function Ga(t,e){return e.forEach(((e,i)=>t.setProperty(i,e))),t}const Ya=t=>e=>{const i=Ua(t);return class extends e{static finalizeStyles(t){return t=t?Array.isArray(t)?t:[t]:[],En.finalizeStyles([i,...t])}}},qa=t=>e=>{let i=[];return t.props.length>0&&(i=Object.values(Ra).map((e=>xs(`\n\t\t\t:host([color="${e}"])${t.selector?` ${t.selector}`:""} {\n\t\t\t\t${t.props.map((t=>"color"==t?`color: var(--og-colortype-${e}-text-color);`:"background"==t?`background-color: var(--og-colortype-${e}-background-color);`:"border"==t?`border: 1px solid var(--og-colortype-${e}-border-color);`:void 0)).join("\n")}\n\t\t\t}\n\t\t`)))),class extends e{static finalizeStyles(t){return t=t?Array.isArray(t)?t:[t]:[],En.finalizeStyles([...i,...t])}}},Za=document.documentElement;class Xa extends Event{constructor(t,e){super(t),this.theme=e}}class Qa extends EventTarget{get activeTheme(){return this._activeTheme}constructor(t=Za){super(),this.elm=t,this.themes=new Map}registerTheme(t){t.accentColor=t.accentColor??G.DEFAULT_ACCENT_COLOR,this.themes.set(t.name,t)}activate(t){const e=this.themes.get(t);e?(this._activeTheme=e,Ga(this.elm.style,Va(e)),this.dispatchEvent(new Xa("change",e))):Lr().warn(`Theme "${t}" not found`)}}let Ka;function Ja(){return Ka||(Ka=new Qa),Ka}Ja().registerTheme(Pa),Ja().registerTheme(ja),Ja().activate(`og-${Wa()}`);const tl=ks`
|
|
310
310
|
:host {
|
|
311
311
|
box-sizing: border-box;
|
|
312
312
|
font-size: var(--og-font-size);
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
`:ln``}
|
|
385
385
|
${"none"==this.caret?"":ln`<og-icon icon="caret-${this.caret}" style="margin: 0"></og-icon>`}
|
|
386
386
|
</div>
|
|
387
|
-
`,this.addEventListener("click",(t=>{this.disabled?t.stopImmediatePropagation():"toggle"==this.type&&(this.state="checked"==this.state?"unchecked":"checked")}))}connectedCallback(){super.connectedCallback(),this.tabIndex=1}willUpdate(t){"toggle"==this.type&&null==this.state&&(this.state="unchecked"),t.has("icon")&&(Z(this.icon)?this.buttonIcon=this.icon:this.icon?this.buttonIcon={icon:this.icon}:this.buttonIcon=null)}get hasContent(){return this.text||this.children.length>0&&"content"==this.children[0].slot}};ol.styles=[tl],il([$n()],ol.prototype,"icon",void 0),il([$n({type:String})],ol.prototype,"text",void 0),il([$n({type:String,reflect:!0})],ol.prototype,"color",void 0),il([$n({type:String,reflect:!0})],ol.prototype,"caret",void 0),il([$n({type:Boolean,reflect:!0})],ol.prototype,"disabled",void 0),il([$n({type:Boolean,reflect:!0})],ol.prototype,"default",void 0),il([$n({type:String,reflect:!0})],ol.prototype,"state",void 0),il([$n({type:String,reflect:!0})],ol.prototype,"type",void 0),il([An()],ol.prototype,"buttonIcon",void 0),ol=il([In("og-button"),
|
|
387
|
+
`,this.addEventListener("click",(t=>{this.disabled?t.stopImmediatePropagation():"toggle"==this.type&&(this.state="checked"==this.state?"unchecked":"checked")}))}connectedCallback(){super.connectedCallback(),this.tabIndex=1}willUpdate(t){"toggle"==this.type&&null==this.state&&(this.state="unchecked"),t.has("icon")&&(Z(this.icon)?this.buttonIcon=this.icon:this.icon?this.buttonIcon={icon:this.icon}:this.buttonIcon=null)}get hasContent(){return this.text||this.children.length>0&&"content"==this.children[0].slot}};ol.styles=[tl],il([$n()],ol.prototype,"icon",void 0),il([$n({type:String})],ol.prototype,"text",void 0),il([$n({type:String,reflect:!0})],ol.prototype,"color",void 0),il([$n({type:String,reflect:!0})],ol.prototype,"caret",void 0),il([$n({type:Boolean,reflect:!0})],ol.prototype,"disabled",void 0),il([$n({type:Boolean,reflect:!0})],ol.prototype,"default",void 0),il([$n({type:String,reflect:!0})],ol.prototype,"state",void 0),il([$n({type:String,reflect:!0})],ol.prototype,"type",void 0),il([An()],ol.prototype,"buttonIcon",void 0),ol=il([In("og-button"),qa({props:["color","border","background"]})],ol);let rl=class extends ol{willUpdate(t){this.color=Ra.Transparent,this.icon||(this.icon={icon:"xmark",fallback:"×"}),super.willUpdate(t)}};function sl(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,o=Array(e);i<e;i++)o[i]=t[i];return o}function nl(t,e){for(var i=0;i<e.length;i++){var o=e[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,pl(o.key),o)}}function al(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=ml(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var o=0,r=function(){};return{s:r,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,n=!0,a=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return n=t.done,t},e:function(t){a=!0,s=t},f:function(){try{n||null==i.return||i.return()}finally{if(a)throw s}}}}function ll(t,e,i){return(e=pl(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function cl(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function hl(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?cl(Object(i),!0).forEach((function(e){ll(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):cl(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function dl(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o,r,s,n,a=[],l=!0,c=!1;try{if(s=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(o=s.call(i)).done)&&(a.push(o.value),a.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=i.return&&(n=i.return(),Object(n)!==n))return}finally{if(c)throw r}}return a}}(t,e)||ml(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ul(t){return function(t){if(Array.isArray(t))return sl(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ml(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pl(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,"string");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function gl(t){return gl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gl(t)}function ml(t,e){if(t){if("string"==typeof t)return sl(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?sl(t,e):void 0}}rl.styles=[...ol.styles,ks`
|
|
388
388
|
:host {
|
|
389
389
|
min-width: 16px;
|
|
390
390
|
}
|
|
@@ -393,16 +393,16 @@
|
|
|
393
393
|
background-color: var(--og-accent-color-alpha-30);
|
|
394
394
|
color: var(--og-text-color-3);
|
|
395
395
|
}
|
|
396
|
-
`],rl=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n}([In("og-close")],rl);var fl=function(){},vl={},bl={},yl=null,wl={mark:fl,measure:fl};try{"undefined"!=typeof window&&(vl=window),"undefined"!=typeof document&&(bl=document),"undefined"!=typeof MutationObserver&&(yl=MutationObserver),"undefined"!=typeof performance&&(wl=performance)}catch(vs){}var xl,kl,Cl=(vl.navigator||{}).userAgent,Ml=void 0===Cl?"":Cl,_l=vl,Sl=bl,zl=yl,El=wl,Ll=(_l.document,!!Sl.documentElement&&!!Sl.head&&"function"==typeof Sl.addEventListener&&"function"==typeof Sl.createElement),Il=~Ml.indexOf("MSIE")||~Ml.indexOf("Trident/"),Rl={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"}},Tl=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press"],$l="classic",Al="duotone",Dl="sharp",Ol="sharp-duotone",Nl="chisel",Pl="etch",jl="jelly",Hl="jelly-duo",Fl="jelly-fill",Bl="notdog",Wl="notdog-duo",Vl="slab",Ul="slab-press",Gl="thumbprint",ql="whiteboard",Yl=[$l,Al,Dl,Ol,Nl,Pl,jl,Hl,Fl,Bl,Wl,Vl,Ul,Gl,ql],Zl=(ll(ll(ll(ll(ll(ll(ll(ll(ll(ll(xl={},$l,"Classic"),Al,"Duotone"),Dl,"Sharp"),Ol,"Sharp Duotone"),Nl,"Chisel"),Pl,"Etch"),jl,"Jelly"),Hl,"Jelly Duo"),Fl,"Jelly Fill"),Bl,"Notdog"),ll(ll(ll(ll(ll(xl,Wl,"Notdog Duo"),Vl,"Slab"),Ul,"Slab Press"),Gl,"Thumbprint"),ql,"Whiteboard"),new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]])),Xl=["fak","fa-kit","fakd","fa-kit-duotone"],Ql=(ll(ll({},"kit","Kit"),"kit-duotone","Kit Duotone"),{kit:"fak"}),Kl=(ll(ll(ll(ll(ll(ll(ll(ll(ll(ll(kl={},"classic","Classic"),"duotone","Duotone"),"sharp","Sharp"),"sharp-duotone","Sharp Duotone"),"chisel","Chisel"),"etch","Etch"),"jelly","Jelly"),"jelly-duo","Jelly Duo"),"jelly-fill","Jelly Fill"),"notdog","Notdog"),ll(ll(ll(ll(ll(kl,"notdog-duo","Notdog Duo"),"slab","Slab"),"slab-press","Slab Press"),"thumbprint","Thumbprint"),"whiteboard","Whiteboard"),ll(ll({},"kit","Kit"),"kit-duotone","Kit Duotone"),{classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"}}),Jl=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr"].concat(["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press"],["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"]),tc=[1,2,3,4,5,6,7,8,9,10],ec=tc.concat([11,12,13,14,15,16,17,18,19,20]),ic=[].concat(ul(Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"]})),["solid","regular","light","thin","duotone","brands","semibold"],["aw","fw","pull-left","pull-right"],["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed","duotone-group","swap-opacity","primary","secondary"]).concat(tc.map((function(t){return"".concat(t,"x")}))).concat(ec.map((function(t){return"w-".concat(t)}))),oc="___FONT_AWESOME___",rc="fa",sc="svg-inline--fa",nc="data-fa-i2svg",ac="data-fa-pseudo-element",lc="data-fa-pseudo-element-pending",cc="data-prefix",hc="data-icon",dc="fontawesome-i2svg",uc="async",pc=["HTML","HEAD","STYLE","SCRIPT"],gc=["::before","::after",":before",":after"],mc=function(){try{return!0}catch(t){return!1}}();function fc(t){return new Proxy(t,{get:function(t,e){return e in t?t[e]:t[$l]}})}var vc=hl({},Rl);vc[$l]=hl(hl(hl(hl({},{"fa-duotone":"duotone"}),Rl[$l]),{fak:"kit","fa-kit":"kit"}),{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"});var bc=fc(vc),yc=hl({},{chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},whiteboard:{semibold:"fawsb"}});yc[$l]=hl(hl(hl(hl({},{duotone:"fad"}),yc[$l]),Ql),{"kit-duotone":"fakd"});var wc=fc(yc),xc=hl({},Kl);xc[$l]=hl(hl({},xc[$l]),{fak:"fa-kit"});var kc=fc(xc),Cc=hl({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"}});Cc[$l]=hl(hl({},Cc[$l]),{"fa-kit":"fak"}),fc(Cc);var Mc=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,_c="fa-layers-text",Sc=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Slab Press|Slab|Whiteboard)?.*/i,zc=(fc(hl({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"}})),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),Ec={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Lc=[].concat(ul(["kit"]),ul(ic)),Ic=_l.FontAwesomeConfig||{};Sl&&"function"==typeof Sl.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(t){var e=dl(t,2),i=e[0],o=e[1],r=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=Sl.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(i));null!=r&&(Ic[o]=r)}));var Rc={styleDefault:"solid",familyDefault:$l,cssPrefix:rc,replacementClass:sc,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ic.familyPrefix&&(Ic.cssPrefix=Ic.familyPrefix);var Tc=hl(hl({},Rc),Ic);Tc.autoReplaceSvg||(Tc.observeMutations=!1);var $c={};Object.keys(Rc).forEach((function(t){Object.defineProperty($c,t,{enumerable:!0,set:function(e){Tc[t]=e,Ac.forEach((function(t){return t($c)}))},get:function(){return Tc[t]}})})),Object.defineProperty($c,"familyPrefix",{enumerable:!0,set:function(t){Tc.cssPrefix=t,Ac.forEach((function(t){return t($c)}))},get:function(){return Tc.cssPrefix}}),_l.FontAwesomeConfig=$c;var Ac=[],Dc=16,Oc={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Nc(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function Pc(t){for(var e=[],i=(t||[]).length>>>0;i--;)e[i]=t[i];return e}function jc(t){return t.classList?Pc(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function Hc(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Fc(t){return Object.keys(t||{}).reduce((function(e,i){return e+"".concat(i,": ").concat(t[i].trim(),";")}),"")}function Bc(t){return t.size!==Oc.size||t.x!==Oc.x||t.y!==Oc.y||t.rotate!==Oc.rotate||t.flipX||t.flipY}var Wc=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";\n --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";\n --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";\n --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";\n --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";\n --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";\n --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";\n --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";\n --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";\n --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";\n --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it\'s vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}';function Vc(){var t=rc,e=sc,i=$c.cssPrefix,o=$c.replacementClass,r=Wc;if(i!==t||o!==e){var s=new RegExp("\\.".concat(t,"\\-"),"g"),n=new RegExp("\\--".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");r=r.replace(s,".".concat(i,"-")).replace(n,"--".concat(i,"-")).replace(a,".".concat(o))}return r}var Uc=!1;function Gc(){$c.autoAddCss&&!Uc&&(function(t){if(t&&Ll){var e=Sl.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var i=Sl.head.childNodes,o=null,r=i.length-1;r>-1;r--){var s=i[r],n=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(n)>-1&&(o=s)}Sl.head.insertBefore(e,o)}}(Vc()),Uc=!0)}var qc={mixout:function(){return{dom:{css:Vc,insertCss:Gc}}},hooks:function(){return{beforeDOMElementCreation:function(){Gc()},beforeI2svg:function(){Gc()}}}},Yc=_l||{};Yc[oc]||(Yc[oc]={}),Yc[oc].styles||(Yc[oc].styles={}),Yc[oc].hooks||(Yc[oc].hooks={}),Yc[oc].shims||(Yc[oc].shims=[]);var Zc=Yc[oc],Xc=[],Qc=function(){Sl.removeEventListener("DOMContentLoaded",Qc),Kc=1,Xc.map((function(t){return t()}))},Kc=!1;function Jc(t){var e=t.tag,i=t.attributes,o=void 0===i?{}:i,r=t.children,s=void 0===r?[]:r;return"string"==typeof t?Hc(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,i){return e+"".concat(i,'="').concat(Hc(t[i]),'" ')}),"").trim()}(o),">").concat(s.map(Jc).join(""),"</").concat(e,">")}function th(t,e,i){if(t&&t[e]&&t[e][i])return{prefix:e,iconName:i,icon:t[e][i]}}Ll&&((Kc=(Sl.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Sl.readyState))||Sl.addEventListener("DOMContentLoaded",Qc));var eh=function(t,e,i,o){var r,s,n,a=Object.keys(t),l=a.length,c=void 0!==o?function(t,e){return function(i,o,r,s){return t.call(e,i,o,r,s)}}(e,o):e;for(void 0===i?(r=1,n=t[a[0]]):(r=0,n=i);r<l;r++)n=c(n,t[s=a[r]],s,t);return n};function ih(t){return 1!==ul(t).length?null:t.codePointAt(0).toString(16)}function oh(t){return Object.keys(t).reduce((function(e,i){var o=t[i];return o.icon?e[o.iconName]=o.icon:e[i]=o,e}),{})}function rh(t,e){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,o=void 0!==i&&i,r=oh(e);"function"!=typeof Zc.hooks.addPack||o?Zc.styles[t]=hl(hl({},Zc.styles[t]||{}),r):Zc.hooks.addPack(t,oh(e)),"fas"===t&&rh("fa",e)}var sh=Zc.styles,nh=Zc.shims,ah=Object.keys(kc),lh=ah.reduce((function(t,e){return t[e]=Object.keys(kc[e]),t}),{}),ch=null,hh={},dh={},uh={},ph={},gh={};var mh,fh=function(){var t=function(t){return eh(sh,(function(e,i,o){return e[o]=eh(i,t,{}),e}),{})};hh=t((function(t,e,i){return e[3]&&(t[e[3]]=i),e[2]&&e[2].filter((function(t){return"number"==typeof t})).forEach((function(e){t[e.toString(16)]=i})),t})),dh=t((function(t,e,i){return t[i]=i,e[2]&&e[2].filter((function(t){return"string"==typeof t})).forEach((function(e){t[e]=i})),t})),gh=t((function(t,e,i){var o=e[2];return t[i]=i,o.forEach((function(e){t[e]=i})),t}));var e="far"in sh||$c.autoFetchSvg,i=eh(nh,(function(t,i){var o=i[0],r=i[1],s=i[2];return"far"!==r||e||(r="fas"),"string"==typeof o&&(t.names[o]={prefix:r,iconName:s}),"number"==typeof o&&(t.unicodes[o.toString(16)]={prefix:r,iconName:s}),t}),{names:{},unicodes:{}});uh=i.names,ph=i.unicodes,ch=kh($c.styleDefault,{family:$c.familyDefault})};function vh(t,e){return(hh[t]||{})[e]}function bh(t,e){return(gh[t]||{})[e]}function yh(t){return uh[t]||{prefix:null,iconName:null}}function wh(){return ch}mh=function(t){ch=kh(t.styleDefault,{family:$c.familyDefault})},Ac.push(mh),fh();var xh=function(){return{prefix:null,iconName:null,rest:[]}};function kh(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,i=void 0===e?$l:e,o=bc[i][t];if(i===Al&&!t)return"fad";var r=wc[i][t]||wc[i][o],s=t in Zc.styles?t:null;return r||s||null}function Ch(t){return t.sort().filter((function(t,e,i){return i.indexOf(t)===e}))}var Mh=Jl.concat(Xl);function _h(t){var e,i,o=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==o&&o,s=null,n=Ch(t.filter((function(t){return Mh.includes(t)}))),a=Ch(t.filter((function(t){return!Mh.includes(t)}))),l=dl(n.filter((function(t){return s=t,!Tl.includes(t)})),1)[0],c=void 0===l?null:l,h=function(t){var e=$l,i=ah.reduce((function(t,e){return t[e]="".concat($c.cssPrefix,"-").concat(e),t}),{});return Yl.forEach((function(o){(t.includes(i[o])||t.some((function(t){return lh[o].includes(t)})))&&(e=o)})),e}(n),d=hl(hl({},(e=[],i=null,a.forEach((function(t){var o=function(t,e){var i,o=e.split("-"),r=o[0],s=o.slice(1).join("-");return r!==t||""===s||(i=s,~Lc.indexOf(i))?null:s}($c.cssPrefix,t);o?i=o:t&&e.push(t)})),{iconName:i,rest:e})),{},{prefix:kh(c,{family:h})});return hl(hl(hl({},d),function(t){var e=t.values,i=t.family,o=t.canonical,r=t.givenPrefix,s=void 0===r?"":r,n=t.styles,a=void 0===n?{}:n,l=t.config,c=void 0===l?{}:l,h=i===Al,d=e.includes("fa-duotone")||e.includes("fad"),u="duotone"===c.familyDefault,p="fad"===o.prefix||"fa-duotone"===o.prefix;if(!h&&(d||u||p)&&(o.prefix="fad"),(e.includes("fa-brands")||e.includes("fab"))&&(o.prefix="fab"),!o.prefix&&Sh.includes(i)&&(Object.keys(a).find((function(t){return zh.includes(t)}))||c.autoFetchSvg)){var g=Zl.get(i).defaultShortPrefixId;o.prefix=g,o.iconName=bh(o.prefix,o.iconName)||o.iconName}return"fa"!==o.prefix&&"fa"!==s||(o.prefix=wh()||"fas"),o}({values:t,family:h,styles:sh,config:$c,canonical:d,givenPrefix:s})),function(t,e,i){var o=i.prefix,r=i.iconName;if(t||!o||!r)return{prefix:o,iconName:r};var s="fa"===e?yh(r):{},n=bh(o,r);return r=s.iconName||n||r,"far"!==(o=s.prefix||o)||sh.far||!sh.fas||$c.autoFetchSvg||(o="fas"),{prefix:o,iconName:r}}(r,s,d))}var Sh=Yl.filter((function(t){return t!==$l||t!==Al})),zh=Object.keys(Kl).filter((function(t){return t!==$l})).map((function(t){return Object.keys(Kl[t])})).flat(),Eh=function(){return function(t,e,i){return e&&nl(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}),[{key:"add",value:function(){for(var t=this,e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];var r=i.reduce(this._pullDefinitions,{});Object.keys(r).forEach((function(e){t.definitions[e]=hl(hl({},t.definitions[e]||{}),r[e]),rh(e,r[e]);var i=kc[$l][e];i&&rh(i,r[e]),fh()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var i=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(i).map((function(e){var o=i[e],r=o.prefix,s=o.iconName,n=o.icon,a=n[2];t[r]||(t[r]={}),a.length>0&&a.forEach((function(e){"string"==typeof e&&(t[r][e]=n)})),t[r][s]=n})),t}}])}(),Lh=[],Ih={},Rh={},Th=Object.keys(Rh);function $h(t,e){for(var i=arguments.length,o=new Array(i>2?i-2:0),r=2;r<i;r++)o[r-2]=arguments[r];return(Ih[t]||[]).forEach((function(t){e=t.apply(null,[e].concat(o))})),e}function Ah(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];(Ih[t]||[]).forEach((function(t){t.apply(null,i)}))}function Dh(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1);return Rh[t]?Rh[t].apply(null,e):void 0}function Oh(t){"fa"===t.prefix&&(t.prefix="fas");var e=t.iconName,i=t.prefix||wh();if(e)return e=bh(i,e)||e,th(Nh.definitions,i,e)||th(Zc.styles,i,e)}var Nh=new Eh,Ph={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ll?(Ah("beforeI2svg",t),Dh("pseudoElements2svg",t),Dh("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.autoReplaceSvgRoot;!1===$c.autoReplaceSvg&&($c.autoReplaceSvg=!0),$c.observeMutations=!0,t=function(){Hh({autoReplaceSvgRoot:i}),Ah("watch",e)},Ll&&(Kc?setTimeout(t,0):Xc.push(t))}},jh={noAuto:function(){$c.autoReplaceSvg=!1,$c.observeMutations=!1,Ah("noAuto")},config:$c,dom:Ph,parse:{icon:function(t){if(null===t)return null;if("object"===gl(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:bh(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){var e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],i=kh(t[0]);return{prefix:i,iconName:bh(i,e)||e}}if("string"==typeof t&&(t.indexOf("".concat($c.cssPrefix,"-"))>-1||t.match(Mc))){var o=_h(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||wh(),iconName:bh(o.prefix,o.iconName)||o.iconName}}if("string"==typeof t){var r=wh();return{prefix:r,iconName:bh(r,t)||t}}}},library:Nh,findIconDefinition:Oh,toHtml:Jc},Hh=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,e=void 0===t?Sl:t;(Object.keys(Zc.styles).length>0||$c.autoFetchSvg)&&Ll&&$c.autoReplaceSvg&&jh.dom.i2svg({node:e})};function Fh(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Jc(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(Ll){var e=Sl.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Bh(t){var e=t.icons,i=e.main,o=e.mask,r=t.prefix,s=t.iconName,n=t.transform,a=t.symbol,l=t.maskId,c=t.extra,h=t.watchable,d=void 0!==h&&h,u=o.found?o:i,p=u.width,g=u.height,m=[$c.replacementClass,s?"".concat($c.cssPrefix,"-").concat(s):""].filter((function(t){return-1===c.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(c.classes).join(" "),f={children:[],attributes:hl(hl({},c.attributes),{},{"data-prefix":r,"data-icon":s,class:m,role:c.attributes.role||"img",viewBox:"0 0 ".concat(p," ").concat(g)})};(function(t){return["aria-label","aria-labelledby","title","role"].some((function(e){return e in t}))})(c.attributes)||c.attributes["aria-hidden"]||(f.attributes["aria-hidden"]="true"),d&&(f.attributes[nc]="");var v=hl(hl({},f),{},{prefix:r,iconName:s,main:i,mask:o,maskId:l,transform:n,symbol:a,styles:hl({},c.styles)}),b=o.found&&i.found?Dh("generateAbstractMask",v)||{children:[],attributes:{}}:Dh("generateAbstractIcon",v)||{children:[],attributes:{}},y=b.children,w=b.attributes;return v.children=y,v.attributes=w,a?function(t){var e=t.prefix,i=t.iconName,o=t.children,r=t.attributes,s=t.symbol,n=!0===s?"".concat(e,"-").concat($c.cssPrefix,"-").concat(i):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:hl(hl({},r),{},{id:n}),children:o}]}]}(v):function(t){var e=t.children,i=t.main,o=t.mask,r=t.attributes,s=t.styles,n=t.transform;if(Bc(n)&&i.found&&!o.found){var a={x:i.width/i.height/2,y:.5};r.style=Fc(hl(hl({},s),{},{"transform-origin":"".concat(a.x+n.x/16,"em ").concat(a.y+n.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}(v)}function Wh(t){var e=t.content,i=t.width,o=t.height,r=t.transform,s=t.extra,n=t.watchable,a=void 0!==n&&n,l=hl(hl({},s.attributes),{},{class:s.classes.join(" ")});a&&(l[nc]="");var c=hl({},s.styles);Bc(r)&&(c.transform=function(t){var e=t.transform,i=t.width,o=void 0===i?16:i,r=t.height,s=void 0===r?16:r,n=t.startCentered,a=void 0!==n&&n,l="";return l+=a&&Il?"translate(".concat(e.x/Dc-o/2,"em, ").concat(e.y/Dc-s/2,"em) "):a?"translate(calc(-50% + ".concat(e.x/Dc,"em), calc(-50% + ").concat(e.y/Dc,"em)) "):"translate(".concat(e.x/Dc,"em, ").concat(e.y/Dc,"em) "),(l+="scale(".concat(e.size/Dc*(e.flipX?-1:1),", ").concat(e.size/Dc*(e.flipY?-1:1),") "))+"rotate(".concat(e.rotate,"deg) ")}({transform:r,startCentered:!0,width:i,height:o}),c["-webkit-transform"]=c.transform);var h=Fc(c);h.length>0&&(l.style=h);var d=[];return d.push({tag:"span",attributes:l,children:[e]}),d}var Vh=Zc.styles;function Uh(t){var e=t[0],i=t[1],o=dl(t.slice(4),1)[0];return{found:!0,width:e,height:i,icon:Array.isArray(o)?{tag:"g",attributes:{class:"".concat($c.cssPrefix,"-").concat(Ec.GROUP)},children:[{tag:"path",attributes:{class:"".concat($c.cssPrefix,"-").concat(Ec.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat($c.cssPrefix,"-").concat(Ec.PRIMARY),fill:"currentColor",d:o[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:o}}}}var Gh={found:!1,width:512,height:512};function qh(t,e){var i=e;return"fa"===e&&null!==$c.styleDefault&&(e=wh()),new Promise((function(o,r){if("fa"===i){var s=yh(t)||{};t=s.iconName||t,e=s.prefix||e}if(t&&e&&Vh[e]&&Vh[e][t])return o(Uh(Vh[e][t]));!function(t,e){mc||$c.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}(t,e),o(hl(hl({},Gh),{},{icon:$c.showMissingIcons&&t&&Dh("missingIconAbstract")||{}}))}))}var Yh=function(){},Zh=$c.measurePerformance&&El&&El.mark&&El.measure?El:{mark:Yh,measure:Yh},Xh='FA "7.0.1"',Qh=function(t){Zh.mark("".concat(Xh," ").concat(t," ends")),Zh.measure("".concat(Xh," ").concat(t),"".concat(Xh," ").concat(t," begins"),"".concat(Xh," ").concat(t," ends"))},Kh={begin:function(t){return Zh.mark("".concat(Xh," ").concat(t," begins")),function(){return Qh(t)}},end:Qh},Jh=function(){};function td(t){return"string"==typeof(t.getAttribute?t.getAttribute(nc):null)}function ed(t){return Sl.createElementNS("http://www.w3.org/2000/svg",t)}function id(t){return Sl.createElement(t)}function od(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,i=void 0===e?"svg"===t.tag?ed:id:e;if("string"==typeof t)return Sl.createTextNode(t);var o=i(t.tag);return Object.keys(t.attributes||[]).forEach((function(e){o.setAttribute(e,t.attributes[e])})),(t.children||[]).forEach((function(t){o.appendChild(od(t,{ceFn:i}))})),o}var rd={replace:function(t){var e=t[0];if(e.parentNode)if(t[1].forEach((function(t){e.parentNode.insertBefore(od(t),e)})),null===e.getAttribute(nc)&&$c.keepOriginalSource){var i=Sl.createComment(function(t){var e=" ".concat(t.outerHTML," ");return"".concat(e,"Font Awesome fontawesome.com ")}(e));e.parentNode.replaceChild(i,e)}else e.remove()},nest:function(t){var e=t[0],i=t[1];if(~jc(e).indexOf($c.replacementClass))return rd.replace(t);var o=new RegExp("".concat($c.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){var r=i[0].attributes.class.split(" ").reduce((function(t,e){return e===$c.replacementClass||e.match(o)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});i[0].attributes.class=r.toSvg.join(" "),0===r.toNode.length?e.removeAttribute("class"):e.setAttribute("class",r.toNode.join(" "))}var s=i.map((function(t){return Jc(t)})).join("\n");e.setAttribute(nc,""),e.innerHTML=s}};function sd(t){t()}function nd(t,e){var i="function"==typeof e?e:Jh;if(0===t.length)i();else{var o=sd;$c.mutateApproach===uc&&(o=_l.requestAnimationFrame||sd),o((function(){var e=!0===$c.autoReplaceSvg?rd.replace:rd[$c.autoReplaceSvg]||rd.replace,o=Kh.begin("mutate");t.map(e),o(),i()}))}}var ad=!1;function ld(){ad=!0}function cd(){ad=!1}var hd=null;function dd(t){if(zl&&$c.observeMutations){var e=t.treeCallback,i=void 0===e?Jh:e,o=t.nodeCallback,r=void 0===o?Jh:o,s=t.pseudoElementsCallback,n=void 0===s?Jh:s,a=t.observeMutationsRoot,l=void 0===a?Sl:a;hd=new zl((function(t){if(!ad){var e=wh();Pc(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!td(t.addedNodes[0])&&($c.searchPseudoElements&&n(t.target),i(t.target)),"attributes"===t.type&&t.target.parentNode&&$c.searchPseudoElements&&n([t.target],!0),"attributes"===t.type&&td(t.target)&&~zc.indexOf(t.attributeName))if("class"===t.attributeName&&function(t){var e=t.getAttribute?t.getAttribute(cc):null,i=t.getAttribute?t.getAttribute(hc):null;return e&&i}(t.target)){var o=_h(jc(t.target)),s=o.prefix,a=o.iconName;t.target.setAttribute(cc,s||e),a&&t.target.setAttribute(hc,a)}else(l=t.target)&&l.classList&&l.classList.contains&&l.classList.contains($c.replacementClass)&&r(t.target);var l}))}})),Ll&&hd.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ud(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},i=function(t){var e,i,o=t.getAttribute("data-prefix"),r=t.getAttribute("data-icon"),s=void 0!==t.innerText?t.innerText.trim():"",n=_h(jc(t));return n.prefix||(n.prefix=wh()),o&&r&&(n.prefix=o,n.iconName=r),n.iconName&&n.prefix||(n.prefix&&s.length>0&&(n.iconName=(e=n.prefix,i=t.innerText,(dh[e]||{})[i]||vh(n.prefix,ih(t.innerText)))),!n.iconName&&$c.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(n.iconName=t.firstChild.data)),n}(t),o=i.iconName,r=i.prefix,s=i.rest,n=function(t){return Pc(t.attributes).reduce((function(t,e){return"class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t}),{})}(t),a=$h("parseNodeAttributes",{},t),l=e.styleParser?function(t){var e=t.getAttribute("style"),i=[];return e&&(i=e.split(";").reduce((function(t,e){var i=e.split(":"),o=i[0],r=i.slice(1);return o&&r.length>0&&(t[o]=r.join(":").trim()),t}),{})),i}(t):[];return hl({iconName:o,prefix:r,transform:Oc,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:s,styles:l,attributes:n}},a)}var pd=Zc.styles;function gd(t){var e="nest"===$c.autoReplaceSvg?ud(t,{styleParser:!1}):ud(t);return~e.extra.classes.indexOf(_c)?Dh("generateLayersText",t,e):Dh("generateSvgReplacementMutation",t,e)}function md(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Ll)return Promise.resolve();var i=Sl.documentElement.classList,o=function(t){return i.add("".concat(dc,"-").concat(t))},r=function(t){return i.remove("".concat(dc,"-").concat(t))},s=$c.autoFetchSvg?[].concat(ul(Xl),ul(Jl)):Tl.concat(Object.keys(pd));s.includes("fa")||s.push("fa");var n=[".".concat(_c,":not([").concat(nc,"])")].concat(s.map((function(t){return".".concat(t,":not([").concat(nc,"])")}))).join(", ");if(0===n.length)return Promise.resolve();var a=[];try{a=Pc(t.querySelectorAll(n))}catch(t){}if(!(a.length>0))return Promise.resolve();o("pending"),r("complete");var l=Kh.begin("onTree"),c=a.reduce((function(t,e){try{var i=gd(e);i&&t.push(i)}catch(t){mc||"MissingIcon"===t.name&&console.error(t)}return t}),[]);return new Promise((function(t,i){Promise.all(c).then((function(i){nd(i,(function(){o("active"),o("complete"),r("pending"),"function"==typeof e&&e(),l(),t()}))})).catch((function(t){l(),i(t)}))}))}function fd(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;gd(t).then((function(t){t&&nd([t],e)}))}var vd=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.transform,o=void 0===i?Oc:i,r=e.symbol,s=void 0!==r&&r,n=e.mask,a=void 0===n?null:n,l=e.maskId,c=void 0===l?null:l,h=e.classes,d=void 0===h?[]:h,u=e.attributes,p=void 0===u?{}:u,g=e.styles,m=void 0===g?{}:g;if(t){var f=t.prefix,v=t.iconName,b=t.icon;return Fh(hl({type:"icon"},t),(function(){return Ah("beforeDOMElementCreation",{iconDefinition:t,params:e}),Bh({icons:{main:Uh(b),mask:a?Uh(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:v,transform:hl(hl({},Oc),o),symbol:s,maskId:c,extra:{attributes:p,styles:m,classes:d}})}))}},bd={mixout:function(){return{icon:(t=vd,function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(e||{}).icon?e:Oh(e||{}),r=i.mask;return r&&(r=(r||{}).icon?r:Oh(r||{})),t(o,hl(hl({},i),{},{mask:r}))})};var t},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=md,t.nodeCallback=fd,t}}},provides:function(t){t.i2svg=function(t){var e=t.node,i=void 0===e?Sl:e,o=t.callback;return md(i,void 0===o?function(){}:o)},t.generateSvgReplacementMutation=function(t,e){var i=e.iconName,o=e.prefix,r=e.transform,s=e.symbol,n=e.mask,a=e.maskId,l=e.extra;return new Promise((function(e,c){Promise.all([qh(i,o),n.iconName?qh(n.iconName,n.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(n){var c=dl(n,2),h=c[0],d=c[1];e([t,Bh({icons:{main:h,mask:d},prefix:o,iconName:i,transform:r,symbol:s,maskId:a,extra:l,watchable:!0})])})).catch(c)}))},t.generateAbstractIcon=function(t){var e,i=t.children,o=t.attributes,r=t.main,s=t.transform,n=Fc(t.styles);return n.length>0&&(o.style=n),Bc(s)&&(e=Dh("generateAbstractTransformGrouping",{main:r,transform:s,containerWidth:r.width,iconWidth:r.width})),i.push(e||r.icon),{children:i,attributes:o}}}},yd={mixout:function(){return{layer:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.classes,o=void 0===i?[]:i;return Fh({type:"layer"},(function(){Ah("beforeDOMElementCreation",{assembler:t,params:e});var i=[];return t((function(t){Array.isArray(t)?t.map((function(t){i=i.concat(t.abstract)})):i=i.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat($c.cssPrefix,"-layers")].concat(ul(o)).join(" ")},children:i}]}))}}}},wd={mixout:function(){return{counter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.title,o=void 0===i?null:i,r=e.classes,s=void 0===r?[]:r,n=e.attributes,a=void 0===n?{}:n,l=e.styles,c=void 0===l?{}:l;return Fh({type:"counter",content:t},(function(){return Ah("beforeDOMElementCreation",{content:t,params:e}),function(t){var e=t.content,i=t.extra,o=hl(hl({},i.attributes),{},{class:i.classes.join(" ")}),r=Fc(i.styles);r.length>0&&(o.style=r);var s=[];return s.push({tag:"span",attributes:o,children:[e]}),s}({content:t.toString(),title:o,extra:{attributes:a,styles:c,classes:["".concat($c.cssPrefix,"-layers-counter")].concat(ul(s))}})}))}}}},xd={mixout:function(){return{text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.transform,o=void 0===i?Oc:i,r=e.classes,s=void 0===r?[]:r,n=e.attributes,a=void 0===n?{}:n,l=e.styles,c=void 0===l?{}:l;return Fh({type:"text",content:t},(function(){return Ah("beforeDOMElementCreation",{content:t,params:e}),Wh({content:t,transform:hl(hl({},Oc),o),extra:{attributes:a,styles:c,classes:["".concat($c.cssPrefix,"-layers-text")].concat(ul(s))}})}))}}},provides:function(t){t.generateLayersText=function(t,e){var i=e.transform,o=e.extra,r=null,s=null;if(Il){var n=parseInt(getComputedStyle(t).fontSize,10),a=t.getBoundingClientRect();r=a.width/n,s=a.height/n}return Promise.resolve([t,Wh({content:t.innerHTML,width:r,height:s,transform:i,extra:o,watchable:!0})])}}},kd=new RegExp('"',"ug"),Cd=[1105920,1112319],Md=hl(hl(hl(hl({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),_d=Object.keys(Md).reduce((function(t,e){return t[e.toLowerCase()]=Md[e],t}),{}),Sd=Object.keys(_d).reduce((function(t,e){var i=_d[e];return t[e]=i[900]||ul(Object.entries(i))[0][1],t}),{});function zd(t,e){var i="".concat(lc).concat(e.replace(":","-"));return new Promise((function(o,r){if(null!==t.getAttribute(i))return o();var s,n,a,l=Pc(t.children).filter((function(t){return t.getAttribute(ac)===e}))[0],c=_l.getComputedStyle(t,e),h=c.getPropertyValue("font-family"),d=h.match(Sc),u=c.getPropertyValue("font-weight"),p=c.getPropertyValue("content");if(l&&!d)return t.removeChild(l),o();if(d&&"none"!==p&&""!==p){var g=c.getPropertyValue("content"),m=function(t,e){var i=t.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(e),r=isNaN(o)?"normal":o;return(_d[i]||{})[r]||Sd[i]}(h,u),f=function(t){return ih(ul(t.replace(kd,""))[0]||"")}(g),v=d[0].startsWith("FontAwesome"),b=function(t){var e=t.getPropertyValue("font-feature-settings").includes("ss01"),i=t.getPropertyValue("content").replace(kd,""),o=i.codePointAt(0),r=o>=Cd[0]&&o<=Cd[1],s=2===i.length&&i[0]===i[1];return r||s||e}(c),y=vh(m,f),w=y;if(v){var x=(n=ph[s=f],a=vh("fas",s),n||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});x.iconName&&x.prefix&&(y=x.iconName,m=x.prefix)}if(!y||b||l&&l.getAttribute(cc)===m&&l.getAttribute(hc)===w)o();else{t.setAttribute(i,w),l&&t.removeChild(l);var k={iconName:null,prefix:null,transform:Oc,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},C=k.extra;C.attributes[ac]=e,qh(y,m).then((function(r){var s=Bh(hl(hl({},k),{},{icons:{main:r,mask:xh()},prefix:m,iconName:w,extra:C,watchable:!0})),n=Sl.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===e?t.insertBefore(n,t.firstChild):t.appendChild(n),n.outerHTML=s.map((function(t){return Jc(t)})).join("\n"),t.removeAttribute(i),o()})).catch(r)}}else o()}))}function Ed(t){return Promise.all([zd(t,"::before"),zd(t,"::after")])}function Ld(t){return!(t.parentNode===document.head||~pc.indexOf(t.tagName.toUpperCase())||t.getAttribute(ac)||t.parentNode&&"svg"===t.parentNode.tagName)}var Id=function(t){return!!t&&gc.some((function(e){return t.includes(e)}))},Rd=function(t){if(!t)return[];var e=new Set,i=t.split(/,(?![^()]*\))/).map((function(t){return t.trim()}));i=i.flatMap((function(t){return t.includes("(")?t:t.split(",").map((function(t){return t.trim()}))}));var o,r=al(i);try{for(r.s();!(o=r.n()).done;){var s=o.value;if(Id(s)){var n=gc.reduce((function(t,e){return t.replace(e,"")}),s);""!==n&&"*"!==n&&e.add(n)}}}catch(t){r.e(t)}finally{r.f()}return e};function Td(t){if(Ll){var e;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])e=t;else if($c.searchPseudoElementsFullScan)e=t.querySelectorAll("*");else{var i,o=new Set,r=al(document.styleSheets);try{for(r.s();!(i=r.n()).done;){var s=i.value;try{var n,a=al(s.cssRules);try{for(a.s();!(n=a.n()).done;){var l,c=n.value,h=al(Rd(c.selectorText));try{for(h.s();!(l=h.n()).done;){var d=l.value;o.add(d)}}catch(t){h.e(t)}finally{h.f()}}}catch(t){a.e(t)}finally{a.f()}}catch(t){$c.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href," (").concat(t.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(t){r.e(t)}finally{r.f()}if(!o.size)return;var u=Array.from(o).join(", ");try{e=t.querySelectorAll(u)}catch(t){}}return new Promise((function(t,i){var o=Pc(e).filter(Ld).map(Ed),r=Kh.begin("searchPseudoElements");ld(),Promise.all(o).then((function(){r(),cd(),t()})).catch((function(){r(),cd(),i()}))}))}}var $d={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=Td,t}}},provides:function(t){t.pseudoElements2svg=function(t){var e=t.node,i=void 0===e?Sl:e;$c.searchPseudoElements&&Td(i)}}},Ad=!1,Dd=function(t){return t.toLowerCase().split(" ").reduce((function(t,e){var i=e.toLowerCase().split("-"),o=i[0],r=i.slice(1).join("-");if(o&&"h"===r)return t.flipX=!0,t;if(o&&"v"===r)return t.flipY=!0,t;if(r=parseFloat(r),isNaN(r))return t;switch(o){case"grow":t.size=t.size+r;break;case"shrink":t.size=t.size-r;break;case"left":t.x=t.x-r;break;case"right":t.x=t.x+r;break;case"up":t.y=t.y-r;break;case"down":t.y=t.y+r;break;case"rotate":t.rotate=t.rotate+r}return t}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Od={mixout:function(){return{parse:{transform:function(t){return Dd(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-transform");return i&&(t.transform=Dd(i)),t}}},provides:function(t){t.generateAbstractTransformGrouping=function(t){var e=t.main,i=t.transform,o=t.containerWidth,r=t.iconWidth,s={transform:"translate(".concat(o/2," 256)")},n="translate(".concat(32*i.x,", ").concat(32*i.y,") "),a="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),l="rotate(".concat(i.rotate," 0 0)"),c={outer:s,inner:{transform:"".concat(n," ").concat(a," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}};return{tag:"g",attributes:hl({},c.outer),children:[{tag:"g",attributes:hl({},c.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:hl(hl({},e.icon.attributes),c.path)}]}]}}}},Nd={x:0,y:0,width:"100%",height:"100%"};function Pd(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}var jd,Hd={hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-mask"),o=i?_h(i.split(" ").map((function(t){return t.trim()}))):xh();return o.prefix||(o.prefix=wh()),t.mask=o,t.maskId=e.getAttribute("data-fa-mask-id"),t}}},provides:function(t){t.generateAbstractMask=function(t){var e,i=t.children,o=t.attributes,r=t.main,s=t.mask,n=t.maskId,a=t.transform,l=r.width,c=r.icon,h=s.width,d=s.icon,u=function(t){var e=t.transform,i=t.iconWidth,o={transform:"translate(".concat(t.containerWidth/2," 256)")},r="translate(".concat(32*e.x,", ").concat(32*e.y,") "),s="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),n="rotate(".concat(e.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(r," ").concat(s," ").concat(n)},path:{transform:"translate(".concat(i/2*-1," -256)")}}}({transform:a,containerWidth:h,iconWidth:l}),p={tag:"rect",attributes:hl(hl({},Nd),{},{fill:"white"})},g=c.children?{children:c.children.map(Pd)}:{},m={tag:"g",attributes:hl({},u.inner),children:[Pd(hl({tag:c.tag,attributes:hl(hl({},c.attributes),u.path)},g))]},f={tag:"g",attributes:hl({},u.outer),children:[m]},v="mask-".concat(n||Nc()),b="clip-".concat(n||Nc()),y={tag:"mask",attributes:hl(hl({},Nd),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,f]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(e=d,"g"===e.tag?e.children:[e])},y]};return i.push(w,{tag:"rect",attributes:hl({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},Nd)}),{children:i,attributes:o}}}},Fd={provides:function(t){var e=!1;_l.matchMedia&&(e=_l.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var t=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:hl(hl({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var r=hl(hl({},o),{},{attributeName:"opacity"}),s={tag:"circle",attributes:hl(hl({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||s.children.push({tag:"animate",attributes:hl(hl({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:hl(hl({},r),{},{values:"1;0;1;1;0;1;"})}),t.push(s),t.push({tag:"path",attributes:hl(hl({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:hl(hl({},r),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:hl(hl({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:hl(hl({},r),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}};jd={mixoutsTo:jh}.mixoutsTo,Lh=[qc,bd,yd,wd,xd,$d,{mixout:function(){return{dom:{unwatch:function(){ld(),Ad=!0}}}},hooks:function(){return{bootstrap:function(){dd($h("mutationObserverCallbacks",{}))},noAuto:function(){hd&&hd.disconnect()},watch:function(t){var e=t.observeMutationsRoot;Ad?cd():dd($h("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},Od,Hd,Fd,{hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-symbol"),o=null!==i&&(""===i||i);return t.symbol=o,t}}}}],Ih={},Object.keys(Rh).forEach((function(t){-1===Th.indexOf(t)&&delete Rh[t]})),Lh.forEach((function(t){var e=t.mixout?t.mixout():{};if(Object.keys(e).forEach((function(t){"function"==typeof e[t]&&(jd[t]=e[t]),"object"===gl(e[t])&&Object.keys(e[t]).forEach((function(i){jd[t]||(jd[t]={}),jd[t][i]=e[t][i]}))})),t.hooks){var i=t.hooks();Object.keys(i).forEach((function(t){Ih[t]||(Ih[t]=[]),Ih[t].push(i[t])}))}t.provides&&t.provides(Rh)}));var Bd,Wd=jh.config,Vd=jh.library,Ud=jh.icon,Gd=jh.layer,qd=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const Yd={none:"",checked:"-check",indeterminable:"-minus",unchecked:"-xmark"};let Zd=Bd=class extends En{constructor(){super(...arguments),this.value="none",this.render=()=>ln`
|
|
396
|
+
`],rl=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n}([In("og-close")],rl);var fl=function(){},vl={},bl={},yl=null,wl={mark:fl,measure:fl};try{"undefined"!=typeof window&&(vl=window),"undefined"!=typeof document&&(bl=document),"undefined"!=typeof MutationObserver&&(yl=MutationObserver),"undefined"!=typeof performance&&(wl=performance)}catch(vs){}var xl,kl,Cl=(vl.navigator||{}).userAgent,Ml=void 0===Cl?"":Cl,_l=vl,Sl=bl,zl=yl,El=wl,Ll=(_l.document,!!Sl.documentElement&&!!Sl.head&&"function"==typeof Sl.addEventListener&&"function"==typeof Sl.createElement),Il=~Ml.indexOf("MSIE")||~Ml.indexOf("Trident/"),Rl={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"}},Tl=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press"],$l="classic",Al="duotone",Dl="sharp",Ol="sharp-duotone",Nl="chisel",Pl="etch",jl="jelly",Hl="jelly-duo",Fl="jelly-fill",Bl="notdog",Wl="notdog-duo",Vl="slab",Ul="slab-press",Gl="thumbprint",Yl="whiteboard",ql=[$l,Al,Dl,Ol,Nl,Pl,jl,Hl,Fl,Bl,Wl,Vl,Ul,Gl,Yl],Zl=(ll(ll(ll(ll(ll(ll(ll(ll(ll(ll(xl={},$l,"Classic"),Al,"Duotone"),Dl,"Sharp"),Ol,"Sharp Duotone"),Nl,"Chisel"),Pl,"Etch"),jl,"Jelly"),Hl,"Jelly Duo"),Fl,"Jelly Fill"),Bl,"Notdog"),ll(ll(ll(ll(ll(xl,Wl,"Notdog Duo"),Vl,"Slab"),Ul,"Slab Press"),Gl,"Thumbprint"),Yl,"Whiteboard"),new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]])),Xl=["fak","fa-kit","fakd","fa-kit-duotone"],Ql=(ll(ll({},"kit","Kit"),"kit-duotone","Kit Duotone"),{kit:"fak"}),Kl=(ll(ll(ll(ll(ll(ll(ll(ll(ll(ll(kl={},"classic","Classic"),"duotone","Duotone"),"sharp","Sharp"),"sharp-duotone","Sharp Duotone"),"chisel","Chisel"),"etch","Etch"),"jelly","Jelly"),"jelly-duo","Jelly Duo"),"jelly-fill","Jelly Fill"),"notdog","Notdog"),ll(ll(ll(ll(ll(kl,"notdog-duo","Notdog Duo"),"slab","Slab"),"slab-press","Slab Press"),"thumbprint","Thumbprint"),"whiteboard","Whiteboard"),ll(ll({},"kit","Kit"),"kit-duotone","Kit Duotone"),{classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"}}),Jl=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr"].concat(["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press"],["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"]),tc=[1,2,3,4,5,6,7,8,9,10],ec=tc.concat([11,12,13,14,15,16,17,18,19,20]),ic=[].concat(ul(Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"]})),["solid","regular","light","thin","duotone","brands","semibold"],["aw","fw","pull-left","pull-right"],["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed","duotone-group","swap-opacity","primary","secondary"]).concat(tc.map((function(t){return"".concat(t,"x")}))).concat(ec.map((function(t){return"w-".concat(t)}))),oc="___FONT_AWESOME___",rc="fa",sc="svg-inline--fa",nc="data-fa-i2svg",ac="data-fa-pseudo-element",lc="data-fa-pseudo-element-pending",cc="data-prefix",hc="data-icon",dc="fontawesome-i2svg",uc="async",pc=["HTML","HEAD","STYLE","SCRIPT"],gc=["::before","::after",":before",":after"],mc=function(){try{return!0}catch(t){return!1}}();function fc(t){return new Proxy(t,{get:function(t,e){return e in t?t[e]:t[$l]}})}var vc=hl({},Rl);vc[$l]=hl(hl(hl(hl({},{"fa-duotone":"duotone"}),Rl[$l]),{fak:"kit","fa-kit":"kit"}),{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"});var bc=fc(vc),yc=hl({},{chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},whiteboard:{semibold:"fawsb"}});yc[$l]=hl(hl(hl(hl({},{duotone:"fad"}),yc[$l]),Ql),{"kit-duotone":"fakd"});var wc=fc(yc),xc=hl({},Kl);xc[$l]=hl(hl({},xc[$l]),{fak:"fa-kit"});var kc=fc(xc),Cc=hl({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"}});Cc[$l]=hl(hl({},Cc[$l]),{"fa-kit":"fak"}),fc(Cc);var Mc=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,_c="fa-layers-text",Sc=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Slab Press|Slab|Whiteboard)?.*/i,zc=(fc(hl({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"}})),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),Ec={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Lc=[].concat(ul(["kit"]),ul(ic)),Ic=_l.FontAwesomeConfig||{};Sl&&"function"==typeof Sl.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(t){var e=dl(t,2),i=e[0],o=e[1],r=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=Sl.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(i));null!=r&&(Ic[o]=r)}));var Rc={styleDefault:"solid",familyDefault:$l,cssPrefix:rc,replacementClass:sc,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ic.familyPrefix&&(Ic.cssPrefix=Ic.familyPrefix);var Tc=hl(hl({},Rc),Ic);Tc.autoReplaceSvg||(Tc.observeMutations=!1);var $c={};Object.keys(Rc).forEach((function(t){Object.defineProperty($c,t,{enumerable:!0,set:function(e){Tc[t]=e,Ac.forEach((function(t){return t($c)}))},get:function(){return Tc[t]}})})),Object.defineProperty($c,"familyPrefix",{enumerable:!0,set:function(t){Tc.cssPrefix=t,Ac.forEach((function(t){return t($c)}))},get:function(){return Tc.cssPrefix}}),_l.FontAwesomeConfig=$c;var Ac=[],Dc=16,Oc={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Nc(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function Pc(t){for(var e=[],i=(t||[]).length>>>0;i--;)e[i]=t[i];return e}function jc(t){return t.classList?Pc(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function Hc(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Fc(t){return Object.keys(t||{}).reduce((function(e,i){return e+"".concat(i,": ").concat(t[i].trim(),";")}),"")}function Bc(t){return t.size!==Oc.size||t.x!==Oc.x||t.y!==Oc.y||t.rotate!==Oc.rotate||t.flipX||t.flipY}var Wc=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";\n --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";\n --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";\n --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";\n --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";\n --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";\n --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";\n --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";\n --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";\n --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";\n --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it\'s vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}';function Vc(){var t=rc,e=sc,i=$c.cssPrefix,o=$c.replacementClass,r=Wc;if(i!==t||o!==e){var s=new RegExp("\\.".concat(t,"\\-"),"g"),n=new RegExp("\\--".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");r=r.replace(s,".".concat(i,"-")).replace(n,"--".concat(i,"-")).replace(a,".".concat(o))}return r}var Uc=!1;function Gc(){$c.autoAddCss&&!Uc&&(function(t){if(t&&Ll){var e=Sl.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var i=Sl.head.childNodes,o=null,r=i.length-1;r>-1;r--){var s=i[r],n=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(n)>-1&&(o=s)}Sl.head.insertBefore(e,o)}}(Vc()),Uc=!0)}var Yc={mixout:function(){return{dom:{css:Vc,insertCss:Gc}}},hooks:function(){return{beforeDOMElementCreation:function(){Gc()},beforeI2svg:function(){Gc()}}}},qc=_l||{};qc[oc]||(qc[oc]={}),qc[oc].styles||(qc[oc].styles={}),qc[oc].hooks||(qc[oc].hooks={}),qc[oc].shims||(qc[oc].shims=[]);var Zc=qc[oc],Xc=[],Qc=function(){Sl.removeEventListener("DOMContentLoaded",Qc),Kc=1,Xc.map((function(t){return t()}))},Kc=!1;function Jc(t){var e=t.tag,i=t.attributes,o=void 0===i?{}:i,r=t.children,s=void 0===r?[]:r;return"string"==typeof t?Hc(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,i){return e+"".concat(i,'="').concat(Hc(t[i]),'" ')}),"").trim()}(o),">").concat(s.map(Jc).join(""),"</").concat(e,">")}function th(t,e,i){if(t&&t[e]&&t[e][i])return{prefix:e,iconName:i,icon:t[e][i]}}Ll&&((Kc=(Sl.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Sl.readyState))||Sl.addEventListener("DOMContentLoaded",Qc));var eh=function(t,e,i,o){var r,s,n,a=Object.keys(t),l=a.length,c=void 0!==o?function(t,e){return function(i,o,r,s){return t.call(e,i,o,r,s)}}(e,o):e;for(void 0===i?(r=1,n=t[a[0]]):(r=0,n=i);r<l;r++)n=c(n,t[s=a[r]],s,t);return n};function ih(t){return 1!==ul(t).length?null:t.codePointAt(0).toString(16)}function oh(t){return Object.keys(t).reduce((function(e,i){var o=t[i];return o.icon?e[o.iconName]=o.icon:e[i]=o,e}),{})}function rh(t,e){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,o=void 0!==i&&i,r=oh(e);"function"!=typeof Zc.hooks.addPack||o?Zc.styles[t]=hl(hl({},Zc.styles[t]||{}),r):Zc.hooks.addPack(t,oh(e)),"fas"===t&&rh("fa",e)}var sh=Zc.styles,nh=Zc.shims,ah=Object.keys(kc),lh=ah.reduce((function(t,e){return t[e]=Object.keys(kc[e]),t}),{}),ch=null,hh={},dh={},uh={},ph={},gh={};var mh,fh=function(){var t=function(t){return eh(sh,(function(e,i,o){return e[o]=eh(i,t,{}),e}),{})};hh=t((function(t,e,i){return e[3]&&(t[e[3]]=i),e[2]&&e[2].filter((function(t){return"number"==typeof t})).forEach((function(e){t[e.toString(16)]=i})),t})),dh=t((function(t,e,i){return t[i]=i,e[2]&&e[2].filter((function(t){return"string"==typeof t})).forEach((function(e){t[e]=i})),t})),gh=t((function(t,e,i){var o=e[2];return t[i]=i,o.forEach((function(e){t[e]=i})),t}));var e="far"in sh||$c.autoFetchSvg,i=eh(nh,(function(t,i){var o=i[0],r=i[1],s=i[2];return"far"!==r||e||(r="fas"),"string"==typeof o&&(t.names[o]={prefix:r,iconName:s}),"number"==typeof o&&(t.unicodes[o.toString(16)]={prefix:r,iconName:s}),t}),{names:{},unicodes:{}});uh=i.names,ph=i.unicodes,ch=kh($c.styleDefault,{family:$c.familyDefault})};function vh(t,e){return(hh[t]||{})[e]}function bh(t,e){return(gh[t]||{})[e]}function yh(t){return uh[t]||{prefix:null,iconName:null}}function wh(){return ch}mh=function(t){ch=kh(t.styleDefault,{family:$c.familyDefault})},Ac.push(mh),fh();var xh=function(){return{prefix:null,iconName:null,rest:[]}};function kh(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,i=void 0===e?$l:e,o=bc[i][t];if(i===Al&&!t)return"fad";var r=wc[i][t]||wc[i][o],s=t in Zc.styles?t:null;return r||s||null}function Ch(t){return t.sort().filter((function(t,e,i){return i.indexOf(t)===e}))}var Mh=Jl.concat(Xl);function _h(t){var e,i,o=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==o&&o,s=null,n=Ch(t.filter((function(t){return Mh.includes(t)}))),a=Ch(t.filter((function(t){return!Mh.includes(t)}))),l=dl(n.filter((function(t){return s=t,!Tl.includes(t)})),1)[0],c=void 0===l?null:l,h=function(t){var e=$l,i=ah.reduce((function(t,e){return t[e]="".concat($c.cssPrefix,"-").concat(e),t}),{});return ql.forEach((function(o){(t.includes(i[o])||t.some((function(t){return lh[o].includes(t)})))&&(e=o)})),e}(n),d=hl(hl({},(e=[],i=null,a.forEach((function(t){var o=function(t,e){var i,o=e.split("-"),r=o[0],s=o.slice(1).join("-");return r!==t||""===s||(i=s,~Lc.indexOf(i))?null:s}($c.cssPrefix,t);o?i=o:t&&e.push(t)})),{iconName:i,rest:e})),{},{prefix:kh(c,{family:h})});return hl(hl(hl({},d),function(t){var e=t.values,i=t.family,o=t.canonical,r=t.givenPrefix,s=void 0===r?"":r,n=t.styles,a=void 0===n?{}:n,l=t.config,c=void 0===l?{}:l,h=i===Al,d=e.includes("fa-duotone")||e.includes("fad"),u="duotone"===c.familyDefault,p="fad"===o.prefix||"fa-duotone"===o.prefix;if(!h&&(d||u||p)&&(o.prefix="fad"),(e.includes("fa-brands")||e.includes("fab"))&&(o.prefix="fab"),!o.prefix&&Sh.includes(i)&&(Object.keys(a).find((function(t){return zh.includes(t)}))||c.autoFetchSvg)){var g=Zl.get(i).defaultShortPrefixId;o.prefix=g,o.iconName=bh(o.prefix,o.iconName)||o.iconName}return"fa"!==o.prefix&&"fa"!==s||(o.prefix=wh()||"fas"),o}({values:t,family:h,styles:sh,config:$c,canonical:d,givenPrefix:s})),function(t,e,i){var o=i.prefix,r=i.iconName;if(t||!o||!r)return{prefix:o,iconName:r};var s="fa"===e?yh(r):{},n=bh(o,r);return r=s.iconName||n||r,"far"!==(o=s.prefix||o)||sh.far||!sh.fas||$c.autoFetchSvg||(o="fas"),{prefix:o,iconName:r}}(r,s,d))}var Sh=ql.filter((function(t){return t!==$l||t!==Al})),zh=Object.keys(Kl).filter((function(t){return t!==$l})).map((function(t){return Object.keys(Kl[t])})).flat(),Eh=function(){return function(t,e,i){return e&&nl(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}),[{key:"add",value:function(){for(var t=this,e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];var r=i.reduce(this._pullDefinitions,{});Object.keys(r).forEach((function(e){t.definitions[e]=hl(hl({},t.definitions[e]||{}),r[e]),rh(e,r[e]);var i=kc[$l][e];i&&rh(i,r[e]),fh()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var i=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(i).map((function(e){var o=i[e],r=o.prefix,s=o.iconName,n=o.icon,a=n[2];t[r]||(t[r]={}),a.length>0&&a.forEach((function(e){"string"==typeof e&&(t[r][e]=n)})),t[r][s]=n})),t}}])}(),Lh=[],Ih={},Rh={},Th=Object.keys(Rh);function $h(t,e){for(var i=arguments.length,o=new Array(i>2?i-2:0),r=2;r<i;r++)o[r-2]=arguments[r];return(Ih[t]||[]).forEach((function(t){e=t.apply(null,[e].concat(o))})),e}function Ah(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];(Ih[t]||[]).forEach((function(t){t.apply(null,i)}))}function Dh(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1);return Rh[t]?Rh[t].apply(null,e):void 0}function Oh(t){"fa"===t.prefix&&(t.prefix="fas");var e=t.iconName,i=t.prefix||wh();if(e)return e=bh(i,e)||e,th(Nh.definitions,i,e)||th(Zc.styles,i,e)}var Nh=new Eh,Ph={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ll?(Ah("beforeI2svg",t),Dh("pseudoElements2svg",t),Dh("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.autoReplaceSvgRoot;!1===$c.autoReplaceSvg&&($c.autoReplaceSvg=!0),$c.observeMutations=!0,t=function(){Hh({autoReplaceSvgRoot:i}),Ah("watch",e)},Ll&&(Kc?setTimeout(t,0):Xc.push(t))}},jh={noAuto:function(){$c.autoReplaceSvg=!1,$c.observeMutations=!1,Ah("noAuto")},config:$c,dom:Ph,parse:{icon:function(t){if(null===t)return null;if("object"===gl(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:bh(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){var e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],i=kh(t[0]);return{prefix:i,iconName:bh(i,e)||e}}if("string"==typeof t&&(t.indexOf("".concat($c.cssPrefix,"-"))>-1||t.match(Mc))){var o=_h(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||wh(),iconName:bh(o.prefix,o.iconName)||o.iconName}}if("string"==typeof t){var r=wh();return{prefix:r,iconName:bh(r,t)||t}}}},library:Nh,findIconDefinition:Oh,toHtml:Jc},Hh=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,e=void 0===t?Sl:t;(Object.keys(Zc.styles).length>0||$c.autoFetchSvg)&&Ll&&$c.autoReplaceSvg&&jh.dom.i2svg({node:e})};function Fh(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Jc(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(Ll){var e=Sl.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Bh(t){var e=t.icons,i=e.main,o=e.mask,r=t.prefix,s=t.iconName,n=t.transform,a=t.symbol,l=t.maskId,c=t.extra,h=t.watchable,d=void 0!==h&&h,u=o.found?o:i,p=u.width,g=u.height,m=[$c.replacementClass,s?"".concat($c.cssPrefix,"-").concat(s):""].filter((function(t){return-1===c.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(c.classes).join(" "),f={children:[],attributes:hl(hl({},c.attributes),{},{"data-prefix":r,"data-icon":s,class:m,role:c.attributes.role||"img",viewBox:"0 0 ".concat(p," ").concat(g)})};(function(t){return["aria-label","aria-labelledby","title","role"].some((function(e){return e in t}))})(c.attributes)||c.attributes["aria-hidden"]||(f.attributes["aria-hidden"]="true"),d&&(f.attributes[nc]="");var v=hl(hl({},f),{},{prefix:r,iconName:s,main:i,mask:o,maskId:l,transform:n,symbol:a,styles:hl({},c.styles)}),b=o.found&&i.found?Dh("generateAbstractMask",v)||{children:[],attributes:{}}:Dh("generateAbstractIcon",v)||{children:[],attributes:{}},y=b.children,w=b.attributes;return v.children=y,v.attributes=w,a?function(t){var e=t.prefix,i=t.iconName,o=t.children,r=t.attributes,s=t.symbol,n=!0===s?"".concat(e,"-").concat($c.cssPrefix,"-").concat(i):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:hl(hl({},r),{},{id:n}),children:o}]}]}(v):function(t){var e=t.children,i=t.main,o=t.mask,r=t.attributes,s=t.styles,n=t.transform;if(Bc(n)&&i.found&&!o.found){var a={x:i.width/i.height/2,y:.5};r.style=Fc(hl(hl({},s),{},{"transform-origin":"".concat(a.x+n.x/16,"em ").concat(a.y+n.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}(v)}function Wh(t){var e=t.content,i=t.width,o=t.height,r=t.transform,s=t.extra,n=t.watchable,a=void 0!==n&&n,l=hl(hl({},s.attributes),{},{class:s.classes.join(" ")});a&&(l[nc]="");var c=hl({},s.styles);Bc(r)&&(c.transform=function(t){var e=t.transform,i=t.width,o=void 0===i?16:i,r=t.height,s=void 0===r?16:r,n=t.startCentered,a=void 0!==n&&n,l="";return l+=a&&Il?"translate(".concat(e.x/Dc-o/2,"em, ").concat(e.y/Dc-s/2,"em) "):a?"translate(calc(-50% + ".concat(e.x/Dc,"em), calc(-50% + ").concat(e.y/Dc,"em)) "):"translate(".concat(e.x/Dc,"em, ").concat(e.y/Dc,"em) "),(l+="scale(".concat(e.size/Dc*(e.flipX?-1:1),", ").concat(e.size/Dc*(e.flipY?-1:1),") "))+"rotate(".concat(e.rotate,"deg) ")}({transform:r,startCentered:!0,width:i,height:o}),c["-webkit-transform"]=c.transform);var h=Fc(c);h.length>0&&(l.style=h);var d=[];return d.push({tag:"span",attributes:l,children:[e]}),d}var Vh=Zc.styles;function Uh(t){var e=t[0],i=t[1],o=dl(t.slice(4),1)[0];return{found:!0,width:e,height:i,icon:Array.isArray(o)?{tag:"g",attributes:{class:"".concat($c.cssPrefix,"-").concat(Ec.GROUP)},children:[{tag:"path",attributes:{class:"".concat($c.cssPrefix,"-").concat(Ec.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat($c.cssPrefix,"-").concat(Ec.PRIMARY),fill:"currentColor",d:o[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:o}}}}var Gh={found:!1,width:512,height:512};function Yh(t,e){var i=e;return"fa"===e&&null!==$c.styleDefault&&(e=wh()),new Promise((function(o,r){if("fa"===i){var s=yh(t)||{};t=s.iconName||t,e=s.prefix||e}if(t&&e&&Vh[e]&&Vh[e][t])return o(Uh(Vh[e][t]));!function(t,e){mc||$c.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}(t,e),o(hl(hl({},Gh),{},{icon:$c.showMissingIcons&&t&&Dh("missingIconAbstract")||{}}))}))}var qh=function(){},Zh=$c.measurePerformance&&El&&El.mark&&El.measure?El:{mark:qh,measure:qh},Xh='FA "7.0.1"',Qh=function(t){Zh.mark("".concat(Xh," ").concat(t," ends")),Zh.measure("".concat(Xh," ").concat(t),"".concat(Xh," ").concat(t," begins"),"".concat(Xh," ").concat(t," ends"))},Kh={begin:function(t){return Zh.mark("".concat(Xh," ").concat(t," begins")),function(){return Qh(t)}},end:Qh},Jh=function(){};function td(t){return"string"==typeof(t.getAttribute?t.getAttribute(nc):null)}function ed(t){return Sl.createElementNS("http://www.w3.org/2000/svg",t)}function id(t){return Sl.createElement(t)}function od(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,i=void 0===e?"svg"===t.tag?ed:id:e;if("string"==typeof t)return Sl.createTextNode(t);var o=i(t.tag);return Object.keys(t.attributes||[]).forEach((function(e){o.setAttribute(e,t.attributes[e])})),(t.children||[]).forEach((function(t){o.appendChild(od(t,{ceFn:i}))})),o}var rd={replace:function(t){var e=t[0];if(e.parentNode)if(t[1].forEach((function(t){e.parentNode.insertBefore(od(t),e)})),null===e.getAttribute(nc)&&$c.keepOriginalSource){var i=Sl.createComment(function(t){var e=" ".concat(t.outerHTML," ");return"".concat(e,"Font Awesome fontawesome.com ")}(e));e.parentNode.replaceChild(i,e)}else e.remove()},nest:function(t){var e=t[0],i=t[1];if(~jc(e).indexOf($c.replacementClass))return rd.replace(t);var o=new RegExp("".concat($c.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){var r=i[0].attributes.class.split(" ").reduce((function(t,e){return e===$c.replacementClass||e.match(o)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});i[0].attributes.class=r.toSvg.join(" "),0===r.toNode.length?e.removeAttribute("class"):e.setAttribute("class",r.toNode.join(" "))}var s=i.map((function(t){return Jc(t)})).join("\n");e.setAttribute(nc,""),e.innerHTML=s}};function sd(t){t()}function nd(t,e){var i="function"==typeof e?e:Jh;if(0===t.length)i();else{var o=sd;$c.mutateApproach===uc&&(o=_l.requestAnimationFrame||sd),o((function(){var e=!0===$c.autoReplaceSvg?rd.replace:rd[$c.autoReplaceSvg]||rd.replace,o=Kh.begin("mutate");t.map(e),o(),i()}))}}var ad=!1;function ld(){ad=!0}function cd(){ad=!1}var hd=null;function dd(t){if(zl&&$c.observeMutations){var e=t.treeCallback,i=void 0===e?Jh:e,o=t.nodeCallback,r=void 0===o?Jh:o,s=t.pseudoElementsCallback,n=void 0===s?Jh:s,a=t.observeMutationsRoot,l=void 0===a?Sl:a;hd=new zl((function(t){if(!ad){var e=wh();Pc(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!td(t.addedNodes[0])&&($c.searchPseudoElements&&n(t.target),i(t.target)),"attributes"===t.type&&t.target.parentNode&&$c.searchPseudoElements&&n([t.target],!0),"attributes"===t.type&&td(t.target)&&~zc.indexOf(t.attributeName))if("class"===t.attributeName&&function(t){var e=t.getAttribute?t.getAttribute(cc):null,i=t.getAttribute?t.getAttribute(hc):null;return e&&i}(t.target)){var o=_h(jc(t.target)),s=o.prefix,a=o.iconName;t.target.setAttribute(cc,s||e),a&&t.target.setAttribute(hc,a)}else(l=t.target)&&l.classList&&l.classList.contains&&l.classList.contains($c.replacementClass)&&r(t.target);var l}))}})),Ll&&hd.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ud(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},i=function(t){var e,i,o=t.getAttribute("data-prefix"),r=t.getAttribute("data-icon"),s=void 0!==t.innerText?t.innerText.trim():"",n=_h(jc(t));return n.prefix||(n.prefix=wh()),o&&r&&(n.prefix=o,n.iconName=r),n.iconName&&n.prefix||(n.prefix&&s.length>0&&(n.iconName=(e=n.prefix,i=t.innerText,(dh[e]||{})[i]||vh(n.prefix,ih(t.innerText)))),!n.iconName&&$c.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(n.iconName=t.firstChild.data)),n}(t),o=i.iconName,r=i.prefix,s=i.rest,n=function(t){return Pc(t.attributes).reduce((function(t,e){return"class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t}),{})}(t),a=$h("parseNodeAttributes",{},t),l=e.styleParser?function(t){var e=t.getAttribute("style"),i=[];return e&&(i=e.split(";").reduce((function(t,e){var i=e.split(":"),o=i[0],r=i.slice(1);return o&&r.length>0&&(t[o]=r.join(":").trim()),t}),{})),i}(t):[];return hl({iconName:o,prefix:r,transform:Oc,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:s,styles:l,attributes:n}},a)}var pd=Zc.styles;function gd(t){var e="nest"===$c.autoReplaceSvg?ud(t,{styleParser:!1}):ud(t);return~e.extra.classes.indexOf(_c)?Dh("generateLayersText",t,e):Dh("generateSvgReplacementMutation",t,e)}function md(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Ll)return Promise.resolve();var i=Sl.documentElement.classList,o=function(t){return i.add("".concat(dc,"-").concat(t))},r=function(t){return i.remove("".concat(dc,"-").concat(t))},s=$c.autoFetchSvg?[].concat(ul(Xl),ul(Jl)):Tl.concat(Object.keys(pd));s.includes("fa")||s.push("fa");var n=[".".concat(_c,":not([").concat(nc,"])")].concat(s.map((function(t){return".".concat(t,":not([").concat(nc,"])")}))).join(", ");if(0===n.length)return Promise.resolve();var a=[];try{a=Pc(t.querySelectorAll(n))}catch(t){}if(!(a.length>0))return Promise.resolve();o("pending"),r("complete");var l=Kh.begin("onTree"),c=a.reduce((function(t,e){try{var i=gd(e);i&&t.push(i)}catch(t){mc||"MissingIcon"===t.name&&console.error(t)}return t}),[]);return new Promise((function(t,i){Promise.all(c).then((function(i){nd(i,(function(){o("active"),o("complete"),r("pending"),"function"==typeof e&&e(),l(),t()}))})).catch((function(t){l(),i(t)}))}))}function fd(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;gd(t).then((function(t){t&&nd([t],e)}))}var vd=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.transform,o=void 0===i?Oc:i,r=e.symbol,s=void 0!==r&&r,n=e.mask,a=void 0===n?null:n,l=e.maskId,c=void 0===l?null:l,h=e.classes,d=void 0===h?[]:h,u=e.attributes,p=void 0===u?{}:u,g=e.styles,m=void 0===g?{}:g;if(t){var f=t.prefix,v=t.iconName,b=t.icon;return Fh(hl({type:"icon"},t),(function(){return Ah("beforeDOMElementCreation",{iconDefinition:t,params:e}),Bh({icons:{main:Uh(b),mask:a?Uh(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:v,transform:hl(hl({},Oc),o),symbol:s,maskId:c,extra:{attributes:p,styles:m,classes:d}})}))}},bd={mixout:function(){return{icon:(t=vd,function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(e||{}).icon?e:Oh(e||{}),r=i.mask;return r&&(r=(r||{}).icon?r:Oh(r||{})),t(o,hl(hl({},i),{},{mask:r}))})};var t},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=md,t.nodeCallback=fd,t}}},provides:function(t){t.i2svg=function(t){var e=t.node,i=void 0===e?Sl:e,o=t.callback;return md(i,void 0===o?function(){}:o)},t.generateSvgReplacementMutation=function(t,e){var i=e.iconName,o=e.prefix,r=e.transform,s=e.symbol,n=e.mask,a=e.maskId,l=e.extra;return new Promise((function(e,c){Promise.all([Yh(i,o),n.iconName?Yh(n.iconName,n.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(n){var c=dl(n,2),h=c[0],d=c[1];e([t,Bh({icons:{main:h,mask:d},prefix:o,iconName:i,transform:r,symbol:s,maskId:a,extra:l,watchable:!0})])})).catch(c)}))},t.generateAbstractIcon=function(t){var e,i=t.children,o=t.attributes,r=t.main,s=t.transform,n=Fc(t.styles);return n.length>0&&(o.style=n),Bc(s)&&(e=Dh("generateAbstractTransformGrouping",{main:r,transform:s,containerWidth:r.width,iconWidth:r.width})),i.push(e||r.icon),{children:i,attributes:o}}}},yd={mixout:function(){return{layer:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.classes,o=void 0===i?[]:i;return Fh({type:"layer"},(function(){Ah("beforeDOMElementCreation",{assembler:t,params:e});var i=[];return t((function(t){Array.isArray(t)?t.map((function(t){i=i.concat(t.abstract)})):i=i.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat($c.cssPrefix,"-layers")].concat(ul(o)).join(" ")},children:i}]}))}}}},wd={mixout:function(){return{counter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.title,o=void 0===i?null:i,r=e.classes,s=void 0===r?[]:r,n=e.attributes,a=void 0===n?{}:n,l=e.styles,c=void 0===l?{}:l;return Fh({type:"counter",content:t},(function(){return Ah("beforeDOMElementCreation",{content:t,params:e}),function(t){var e=t.content,i=t.extra,o=hl(hl({},i.attributes),{},{class:i.classes.join(" ")}),r=Fc(i.styles);r.length>0&&(o.style=r);var s=[];return s.push({tag:"span",attributes:o,children:[e]}),s}({content:t.toString(),title:o,extra:{attributes:a,styles:c,classes:["".concat($c.cssPrefix,"-layers-counter")].concat(ul(s))}})}))}}}},xd={mixout:function(){return{text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.transform,o=void 0===i?Oc:i,r=e.classes,s=void 0===r?[]:r,n=e.attributes,a=void 0===n?{}:n,l=e.styles,c=void 0===l?{}:l;return Fh({type:"text",content:t},(function(){return Ah("beforeDOMElementCreation",{content:t,params:e}),Wh({content:t,transform:hl(hl({},Oc),o),extra:{attributes:a,styles:c,classes:["".concat($c.cssPrefix,"-layers-text")].concat(ul(s))}})}))}}},provides:function(t){t.generateLayersText=function(t,e){var i=e.transform,o=e.extra,r=null,s=null;if(Il){var n=parseInt(getComputedStyle(t).fontSize,10),a=t.getBoundingClientRect();r=a.width/n,s=a.height/n}return Promise.resolve([t,Wh({content:t.innerHTML,width:r,height:s,transform:i,extra:o,watchable:!0})])}}},kd=new RegExp('"',"ug"),Cd=[1105920,1112319],Md=hl(hl(hl(hl({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),_d=Object.keys(Md).reduce((function(t,e){return t[e.toLowerCase()]=Md[e],t}),{}),Sd=Object.keys(_d).reduce((function(t,e){var i=_d[e];return t[e]=i[900]||ul(Object.entries(i))[0][1],t}),{});function zd(t,e){var i="".concat(lc).concat(e.replace(":","-"));return new Promise((function(o,r){if(null!==t.getAttribute(i))return o();var s,n,a,l=Pc(t.children).filter((function(t){return t.getAttribute(ac)===e}))[0],c=_l.getComputedStyle(t,e),h=c.getPropertyValue("font-family"),d=h.match(Sc),u=c.getPropertyValue("font-weight"),p=c.getPropertyValue("content");if(l&&!d)return t.removeChild(l),o();if(d&&"none"!==p&&""!==p){var g=c.getPropertyValue("content"),m=function(t,e){var i=t.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(e),r=isNaN(o)?"normal":o;return(_d[i]||{})[r]||Sd[i]}(h,u),f=function(t){return ih(ul(t.replace(kd,""))[0]||"")}(g),v=d[0].startsWith("FontAwesome"),b=function(t){var e=t.getPropertyValue("font-feature-settings").includes("ss01"),i=t.getPropertyValue("content").replace(kd,""),o=i.codePointAt(0),r=o>=Cd[0]&&o<=Cd[1],s=2===i.length&&i[0]===i[1];return r||s||e}(c),y=vh(m,f),w=y;if(v){var x=(n=ph[s=f],a=vh("fas",s),n||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});x.iconName&&x.prefix&&(y=x.iconName,m=x.prefix)}if(!y||b||l&&l.getAttribute(cc)===m&&l.getAttribute(hc)===w)o();else{t.setAttribute(i,w),l&&t.removeChild(l);var k={iconName:null,prefix:null,transform:Oc,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},C=k.extra;C.attributes[ac]=e,Yh(y,m).then((function(r){var s=Bh(hl(hl({},k),{},{icons:{main:r,mask:xh()},prefix:m,iconName:w,extra:C,watchable:!0})),n=Sl.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===e?t.insertBefore(n,t.firstChild):t.appendChild(n),n.outerHTML=s.map((function(t){return Jc(t)})).join("\n"),t.removeAttribute(i),o()})).catch(r)}}else o()}))}function Ed(t){return Promise.all([zd(t,"::before"),zd(t,"::after")])}function Ld(t){return!(t.parentNode===document.head||~pc.indexOf(t.tagName.toUpperCase())||t.getAttribute(ac)||t.parentNode&&"svg"===t.parentNode.tagName)}var Id=function(t){return!!t&&gc.some((function(e){return t.includes(e)}))},Rd=function(t){if(!t)return[];var e=new Set,i=t.split(/,(?![^()]*\))/).map((function(t){return t.trim()}));i=i.flatMap((function(t){return t.includes("(")?t:t.split(",").map((function(t){return t.trim()}))}));var o,r=al(i);try{for(r.s();!(o=r.n()).done;){var s=o.value;if(Id(s)){var n=gc.reduce((function(t,e){return t.replace(e,"")}),s);""!==n&&"*"!==n&&e.add(n)}}}catch(t){r.e(t)}finally{r.f()}return e};function Td(t){if(Ll){var e;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])e=t;else if($c.searchPseudoElementsFullScan)e=t.querySelectorAll("*");else{var i,o=new Set,r=al(document.styleSheets);try{for(r.s();!(i=r.n()).done;){var s=i.value;try{var n,a=al(s.cssRules);try{for(a.s();!(n=a.n()).done;){var l,c=n.value,h=al(Rd(c.selectorText));try{for(h.s();!(l=h.n()).done;){var d=l.value;o.add(d)}}catch(t){h.e(t)}finally{h.f()}}}catch(t){a.e(t)}finally{a.f()}}catch(t){$c.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href," (").concat(t.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(t){r.e(t)}finally{r.f()}if(!o.size)return;var u=Array.from(o).join(", ");try{e=t.querySelectorAll(u)}catch(t){}}return new Promise((function(t,i){var o=Pc(e).filter(Ld).map(Ed),r=Kh.begin("searchPseudoElements");ld(),Promise.all(o).then((function(){r(),cd(),t()})).catch((function(){r(),cd(),i()}))}))}}var $d={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=Td,t}}},provides:function(t){t.pseudoElements2svg=function(t){var e=t.node,i=void 0===e?Sl:e;$c.searchPseudoElements&&Td(i)}}},Ad=!1,Dd=function(t){return t.toLowerCase().split(" ").reduce((function(t,e){var i=e.toLowerCase().split("-"),o=i[0],r=i.slice(1).join("-");if(o&&"h"===r)return t.flipX=!0,t;if(o&&"v"===r)return t.flipY=!0,t;if(r=parseFloat(r),isNaN(r))return t;switch(o){case"grow":t.size=t.size+r;break;case"shrink":t.size=t.size-r;break;case"left":t.x=t.x-r;break;case"right":t.x=t.x+r;break;case"up":t.y=t.y-r;break;case"down":t.y=t.y+r;break;case"rotate":t.rotate=t.rotate+r}return t}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Od={mixout:function(){return{parse:{transform:function(t){return Dd(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-transform");return i&&(t.transform=Dd(i)),t}}},provides:function(t){t.generateAbstractTransformGrouping=function(t){var e=t.main,i=t.transform,o=t.containerWidth,r=t.iconWidth,s={transform:"translate(".concat(o/2," 256)")},n="translate(".concat(32*i.x,", ").concat(32*i.y,") "),a="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),l="rotate(".concat(i.rotate," 0 0)"),c={outer:s,inner:{transform:"".concat(n," ").concat(a," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}};return{tag:"g",attributes:hl({},c.outer),children:[{tag:"g",attributes:hl({},c.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:hl(hl({},e.icon.attributes),c.path)}]}]}}}},Nd={x:0,y:0,width:"100%",height:"100%"};function Pd(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}var jd,Hd={hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-mask"),o=i?_h(i.split(" ").map((function(t){return t.trim()}))):xh();return o.prefix||(o.prefix=wh()),t.mask=o,t.maskId=e.getAttribute("data-fa-mask-id"),t}}},provides:function(t){t.generateAbstractMask=function(t){var e,i=t.children,o=t.attributes,r=t.main,s=t.mask,n=t.maskId,a=t.transform,l=r.width,c=r.icon,h=s.width,d=s.icon,u=function(t){var e=t.transform,i=t.iconWidth,o={transform:"translate(".concat(t.containerWidth/2," 256)")},r="translate(".concat(32*e.x,", ").concat(32*e.y,") "),s="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),n="rotate(".concat(e.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(r," ").concat(s," ").concat(n)},path:{transform:"translate(".concat(i/2*-1," -256)")}}}({transform:a,containerWidth:h,iconWidth:l}),p={tag:"rect",attributes:hl(hl({},Nd),{},{fill:"white"})},g=c.children?{children:c.children.map(Pd)}:{},m={tag:"g",attributes:hl({},u.inner),children:[Pd(hl({tag:c.tag,attributes:hl(hl({},c.attributes),u.path)},g))]},f={tag:"g",attributes:hl({},u.outer),children:[m]},v="mask-".concat(n||Nc()),b="clip-".concat(n||Nc()),y={tag:"mask",attributes:hl(hl({},Nd),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,f]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(e=d,"g"===e.tag?e.children:[e])},y]};return i.push(w,{tag:"rect",attributes:hl({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},Nd)}),{children:i,attributes:o}}}},Fd={provides:function(t){var e=!1;_l.matchMedia&&(e=_l.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var t=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:hl(hl({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var r=hl(hl({},o),{},{attributeName:"opacity"}),s={tag:"circle",attributes:hl(hl({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||s.children.push({tag:"animate",attributes:hl(hl({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:hl(hl({},r),{},{values:"1;0;1;1;0;1;"})}),t.push(s),t.push({tag:"path",attributes:hl(hl({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:hl(hl({},r),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:hl(hl({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:hl(hl({},r),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}};jd={mixoutsTo:jh}.mixoutsTo,Lh=[Yc,bd,yd,wd,xd,$d,{mixout:function(){return{dom:{unwatch:function(){ld(),Ad=!0}}}},hooks:function(){return{bootstrap:function(){dd($h("mutationObserverCallbacks",{}))},noAuto:function(){hd&&hd.disconnect()},watch:function(t){var e=t.observeMutationsRoot;Ad?cd():dd($h("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},Od,Hd,Fd,{hooks:function(){return{parseNodeAttributes:function(t,e){var i=e.getAttribute("data-fa-symbol"),o=null!==i&&(""===i||i);return t.symbol=o,t}}}}],Ih={},Object.keys(Rh).forEach((function(t){-1===Th.indexOf(t)&&delete Rh[t]})),Lh.forEach((function(t){var e=t.mixout?t.mixout():{};if(Object.keys(e).forEach((function(t){"function"==typeof e[t]&&(jd[t]=e[t]),"object"===gl(e[t])&&Object.keys(e[t]).forEach((function(i){jd[t]||(jd[t]={}),jd[t][i]=e[t][i]}))})),t.hooks){var i=t.hooks();Object.keys(i).forEach((function(t){Ih[t]||(Ih[t]=[]),Ih[t].push(i[t])}))}t.provides&&t.provides(Rh)}));var Bd,Wd=jh.config,Vd=jh.library,Ud=jh.icon,Gd=jh.layer,Yd=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const qd={none:"",checked:"-check",indeterminable:"-minus",unchecked:"-xmark"};let Zd=Bd=class extends En{constructor(){super(...arguments),this.value="none",this.render=()=>ln`
|
|
397
397
|
<og-icon
|
|
398
398
|
.icon="${["checked"==this.value||"unchecked"==this.value?this.iconSet:this.alternateIconSet,this.icon]}"
|
|
399
399
|
.color="${this.color}">
|
|
400
400
|
</og-icon>
|
|
401
|
-
`}get iconSet(){return Bd.defaultIconSet||Wd.styleDefault}get alternateIconSet(){return Bd.defaultAlternateIconSet||Wd.styleDefault}get icon(){return"square"+(this.value?
|
|
401
|
+
`}get iconSet(){return Bd.defaultIconSet||Wd.styleDefault}get alternateIconSet(){return Bd.defaultAlternateIconSet||Wd.styleDefault}get icon(){return"square"+(this.value?qd[this.value]:"")}};Zd.styles=ks`
|
|
402
402
|
:host([value="checked"]) {
|
|
403
403
|
color: var(--og-accent-color);
|
|
404
404
|
}
|
|
405
|
-
`,
|
|
405
|
+
`,Yd([$n({type:String,reflect:!0})],Zd.prototype,"value",void 0),Yd([$n({type:String})],Zd.prototype,"color",void 0),Zd=Bd=Yd([In("og-checkbox")],Zd);const Xd=()=>new Qd;class Qd{}const Kd=new WeakMap,Jd=Fn(class extends ca{render(t){return dn}update(t,[e]){const i=e!==this.Y;return i&&void 0!==this.Y&&this.rt(void 0),(i||this.lt!==this.ct)&&(this.Y=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),dn}rt(t){if("function"==typeof this.Y){const e=this.ht??globalThis;let i=Kd.get(e);void 0===i&&(i=new WeakMap,Kd.set(e,i)),void 0!==i.get(this.Y)&&this.Y.call(this.ht,void 0),i.set(this.Y,t),void 0!==t&&this.Y.call(this.ht,t)}else this.Y.value=t}get lt(){return"function"==typeof this.Y?Kd.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}}),tu=ks`
|
|
406
406
|
* {
|
|
407
407
|
box-sizing: border-box;
|
|
408
408
|
}
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
@mousedown="${this._onMouseDown}">
|
|
466
466
|
<div class="bar-inner" style="${Un({cursor:this.cursor})}"></div>
|
|
467
467
|
</div>
|
|
468
|
-
`,eu.set(this,void 0),iu.set(this,void 0),ou.set(this,void 0),this._onSlide=()=>{nu(this,eu,"f")[this.scrollKey]=this._value},this._onScroll=()=>{this.value=nu(this,eu,"f")[this.scrollKey]},this._onWheel=t=>{this.value+="vertical"==this.direction?t.deltaY:t.deltaX},this._onTouchStart=t=>{au(this,ou,t.touches[0],"f")},this._onTouchEnd=()=>{au(this,ou,null,"f")},this._onTouchMove=t=>{if(nu(this,ou,"f")){const e=t.touches[0];this.value+=nu(this,ou,"f").clientY-e.clientY,au(this,ou,e,"f")}}}get sliding(){return this._sliding}calcValue(){return Math.round(this.direction==ru.Vertical?this.barRef.value.offsetTop*this.maxValue/(this.clientHeight-this.barRef.value.clientHeight):this.maxValue*(this.barRef.value.offsetLeft/(this.clientWidth-this.barRef.value.clientWidth)))}get barSize(){return Math.max(G.SLIDER_MIN_LENGTH,Math.round((this.direction==ru.Vertical?this.clientHeight:this.clientWidth)*this.pageSize/(this.pageSize+this.maxValue)))}setText(t){this.innerBar.innerText=t}willUpdate(t){t.has("value")&&(this.value=null==this.value?0:Math.min(this.maxValue,Math.max(0,this.value)),this._value=this.value)}updated(t){this.sliding||(this.updatePosition(),t.has("value")&&nu(this,eu,"f")&&(nu(this,eu,"f")[this.scrollKey]=this.value))}updatePosition(){const t=this.barSize;this.barRef.value&&(this.direction==ru.Vertical?(Nt(this.barRef.value,{w:"100%",h:t}),Ht(this.barRef.value,{t:Math.round(this.value*(this.clientHeight-t)/this.maxValue)})):(Nt(this.barRef.value,{w:t,h:"100%"}),Ht(this.barRef.value,{l:Math.round(this.value*(this.clientWidth-t)/this.maxValue)})))}get scrollKey(){return"vertical"==this.direction?"scrollTop":"scrollLeft"}attachElement(t){au(this,eu,t,"f"),this.pageSize=t.clientHeight,this.maxValue=t.scrollHeight-t.clientHeight,this.addEventListener("slide",this._onSlide),nu(this,eu,"f").addEventListener("scroll",this._onScroll),nu(this,eu,"f").addEventListener("wheel",this._onWheel,{passive:!0}),nu(this,eu,"f").addEventListener("touchmove",this._onTouchMove,{passive:!0}),nu(this,eu,"f").addEventListener("touchstart",this._onTouchStart,{passive:!0}),nu(this,eu,"f").addEventListener("touchend",this._onTouchEnd,{passive:!0}),au(this,iu,new MutationObserver((()=>{this.pageSize=t.clientHeight,this.maxValue=t.scrollHeight-t.clientHeight})),"f"),nu(this,iu,"f").observe(t,{attributes:!0,childList:!0,subtree:!0})}deatachElement(){this.removeEventListener("slide",this._onSlide),nu(this,eu,"f").removeEventListener("scroll",this._onScroll),nu(this,eu,"f").removeEventListener("wheel",this._onWheel),nu(this,eu,"f").removeEventListener("touchmove",this._onTouchMove),nu(this,eu,"f").removeEventListener("touchstart",this._onTouchStart),nu(this,eu,"f").removeEventListener("touchend",this._onTouchEnd),au(this,eu,null,"f"),nu(this,iu,"f")&&nu(this,iu,"f").disconnect(),au(this,iu,null,"f")}};eu=new WeakMap,iu=new WeakMap,ou=new WeakMap,cu.DEFAULT_MAX_VALUE=100,cu.DEFAULT_PAGE_SIZE=20,cu.SLIDE_DELAY=5,cu.styles=[tu],su([$n({type:String,reflect:!0})],cu.prototype,"direction",void 0),su([$n({type:Number})],cu.prototype,"value",void 0),su([$n({type:Number})],cu.prototype,"maxValue",void 0),su([$n({type:String})],cu.prototype,"cursor",void 0),su([$n({type:Number})],cu.prototype,"pageSize",void 0),su([$n({type:Boolean,reflect:!0})],cu.prototype,"hidden",void 0),su([On(".bar-inner")],cu.prototype,"innerBar",void 0),cu=su([In("og-slider")],cu);class hu{constructor(){this.customProperties={}}get component(){return this._component}attached(t){}attach(t){this._component=t,this.attached(t)}}var du,uu=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};class pu extends En{constructor(){super(...arguments),du.set(this,
|
|
468
|
+
`,eu.set(this,void 0),iu.set(this,void 0),ou.set(this,void 0),this._onSlide=()=>{nu(this,eu,"f")[this.scrollKey]=this._value},this._onScroll=()=>{this.value=nu(this,eu,"f")[this.scrollKey]},this._onWheel=t=>{this.value+="vertical"==this.direction?t.deltaY:t.deltaX},this._onTouchStart=t=>{au(this,ou,t.touches[0],"f")},this._onTouchEnd=()=>{au(this,ou,null,"f")},this._onTouchMove=t=>{if(nu(this,ou,"f")){const e=t.touches[0];this.value+=nu(this,ou,"f").clientY-e.clientY,au(this,ou,e,"f")}}}get sliding(){return this._sliding}calcValue(){return Math.round(this.direction==ru.Vertical?this.barRef.value.offsetTop*this.maxValue/(this.clientHeight-this.barRef.value.clientHeight):this.maxValue*(this.barRef.value.offsetLeft/(this.clientWidth-this.barRef.value.clientWidth)))}get barSize(){return Math.max(G.SLIDER_MIN_LENGTH,Math.round((this.direction==ru.Vertical?this.clientHeight:this.clientWidth)*this.pageSize/(this.pageSize+this.maxValue)))}setText(t){this.innerBar.innerText=t}willUpdate(t){t.has("value")&&(this.value=null==this.value?0:Math.min(this.maxValue,Math.max(0,this.value)),this._value=this.value)}updated(t){this.sliding||(this.updatePosition(),t.has("value")&&nu(this,eu,"f")&&(nu(this,eu,"f")[this.scrollKey]=this.value))}updatePosition(){const t=this.barSize;this.barRef.value&&(this.direction==ru.Vertical?(Nt(this.barRef.value,{w:"100%",h:t}),Ht(this.barRef.value,{t:Math.round(this.value*(this.clientHeight-t)/this.maxValue)})):(Nt(this.barRef.value,{w:t,h:"100%"}),Ht(this.barRef.value,{l:Math.round(this.value*(this.clientWidth-t)/this.maxValue)})))}get scrollKey(){return"vertical"==this.direction?"scrollTop":"scrollLeft"}attachElement(t){au(this,eu,t,"f"),this.pageSize=t.clientHeight,this.maxValue=t.scrollHeight-t.clientHeight,this.addEventListener("slide",this._onSlide),nu(this,eu,"f").addEventListener("scroll",this._onScroll),nu(this,eu,"f").addEventListener("wheel",this._onWheel,{passive:!0}),nu(this,eu,"f").addEventListener("touchmove",this._onTouchMove,{passive:!0}),nu(this,eu,"f").addEventListener("touchstart",this._onTouchStart,{passive:!0}),nu(this,eu,"f").addEventListener("touchend",this._onTouchEnd,{passive:!0}),au(this,iu,new MutationObserver((()=>{this.pageSize=t.clientHeight,this.maxValue=t.scrollHeight-t.clientHeight})),"f"),nu(this,iu,"f").observe(t,{attributes:!0,childList:!0,subtree:!0})}deatachElement(){this.removeEventListener("slide",this._onSlide),nu(this,eu,"f").removeEventListener("scroll",this._onScroll),nu(this,eu,"f").removeEventListener("wheel",this._onWheel),nu(this,eu,"f").removeEventListener("touchmove",this._onTouchMove),nu(this,eu,"f").removeEventListener("touchstart",this._onTouchStart),nu(this,eu,"f").removeEventListener("touchend",this._onTouchEnd),au(this,eu,null,"f"),nu(this,iu,"f")&&nu(this,iu,"f").disconnect(),au(this,iu,null,"f")}};eu=new WeakMap,iu=new WeakMap,ou=new WeakMap,cu.DEFAULT_MAX_VALUE=100,cu.DEFAULT_PAGE_SIZE=20,cu.SLIDE_DELAY=5,cu.styles=[tu],su([$n({type:String,reflect:!0})],cu.prototype,"direction",void 0),su([$n({type:Number})],cu.prototype,"value",void 0),su([$n({type:Number})],cu.prototype,"maxValue",void 0),su([$n({type:String})],cu.prototype,"cursor",void 0),su([$n({type:Number})],cu.prototype,"pageSize",void 0),su([$n({type:Boolean,reflect:!0})],cu.prototype,"hidden",void 0),su([On(".bar-inner")],cu.prototype,"innerBar",void 0),cu=su([In("og-slider")],cu);class hu{constructor(){this.customProperties={}}get component(){return this._component}attached(t){}attach(t){this._component=t,this.attached(t)}}var du,uu=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};class pu extends En{constructor(){super(...arguments),du.set(this,Y((()=>{this.dispatchEvent(new Event("state",{bubbles:!0,composed:!0}))})))}get parentComponent(){return Et(this,(t=>t instanceof En))}get parentOmegaComponent(){return Et(this,(t=>t instanceof pu))}get state(){return this._state}set state(t){const e=this._state;this._state=t,this.requestUpdate("state",e)}getState(){return this._state}setState(t){this._state=t}updateState(t,e=!1){const i=ot(this._state,t);e?this.state=i:this._state=i,uu(this,du,"f").call(this)}connectedCallback(){super.connectedCallback(),this.dispatchEvent(new Event("connected"))}disconnectedCallback(){super.disconnectedCallback(),this.dispatchEvent(new Event("disconnected"))}dispatchStateEvent(){uu(this,du,"f").call(this)}[(du=new WeakMap,Symbol.dispose)](){this.dispatchEvent(new Event("dispose"))}}pu.styles=ks`
|
|
469
469
|
* {
|
|
470
470
|
box-sizing: border-box;
|
|
471
471
|
}
|
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
border-bottom-left-radius: 0;
|
|
653
653
|
border-bottom-right-radius: 0;
|
|
654
654
|
}
|
|
655
|
-
`,Eu([$n({type:String,reflect:!0})],Iu.prototype,"color",void 0),Iu=Eu([In("og-dropdown-container"),
|
|
655
|
+
`,Eu([$n({type:String,reflect:!0})],Iu.prototype,"color",void 0),Iu=Eu([In("og-dropdown-container"),qa({props:["border"]})],Iu);let Ru=class extends En{constructor(){super(...arguments),this.alignment="right",this.openDirection="down",this.positionOffset=0,this.dropdownParent=document.body,this.animation=.1,this.color=Ra.Accent,this.noCaret=!1,this.disabled=!1,this.dropdownRef=Xd(),this._onDocumentMouseDown=t=>{for(const e of t.composedPath())if(e==this.dropdown||e==this)return;this.close()},this._onMousedown=async()=>this.toggle(),this.renderDropdown=()=>ln`
|
|
656
656
|
<og-dropdown-container ${Jd(this.dropdownRef)}
|
|
657
657
|
style="display: none">
|
|
658
658
|
</og-dropdown-container>
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
border: none;
|
|
718
718
|
height: 100%;
|
|
719
719
|
}
|
|
720
|
-
`],Eu([$n({type:String})],Ru.prototype,"alignment",void 0),Eu([$n({type:String,reflect:!0})],Ru.prototype,"openDirection",void 0),Eu([$n({type:Number})],Ru.prototype,"positionOffset",void 0),Eu([$n({type:Object})],Ru.prototype,"dropdownParent",void 0),Eu([$n({type:Number})],Ru.prototype,"animation",void 0),Eu([$n()],Ru.prototype,"label",void 0),Eu([$n()],Ru.prototype,"icon",void 0),Eu([$n({type:Number})],Ru.prototype,"width",void 0),Eu([$n({type:String,reflect:!0})],Ru.prototype,"color",void 0),Eu([$n({type:Boolean})],Ru.prototype,"noCaret",void 0),Eu([$n({type:Boolean,reflect:!0})],Ru.prototype,"disabled",void 0),Eu([On(".label")],Ru.prototype,"labelElm",void 0),Ru=Eu([In("og-dropdown"),
|
|
720
|
+
`],Eu([$n({type:String})],Ru.prototype,"alignment",void 0),Eu([$n({type:String,reflect:!0})],Ru.prototype,"openDirection",void 0),Eu([$n({type:Number})],Ru.prototype,"positionOffset",void 0),Eu([$n({type:Object})],Ru.prototype,"dropdownParent",void 0),Eu([$n({type:Number})],Ru.prototype,"animation",void 0),Eu([$n()],Ru.prototype,"label",void 0),Eu([$n()],Ru.prototype,"icon",void 0),Eu([$n({type:Number})],Ru.prototype,"width",void 0),Eu([$n({type:String,reflect:!0})],Ru.prototype,"color",void 0),Eu([$n({type:Boolean})],Ru.prototype,"noCaret",void 0),Eu([$n({type:Boolean,reflect:!0})],Ru.prototype,"disabled",void 0),Eu([On(".label")],Ru.prototype,"labelElm",void 0),Ru=Eu([In("og-dropdown"),qa({props:["border"]})],Ru);var Tu=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let $u=class extends Ru{get picker(){return this._picker||(this._picker=yt("og-colorpicker"),this._picker.slot="inner-content",this._picker.style.border="none",this._picker.style.minWidth="100%",this._picker.addEventListener("change",(t=>{this.value=t.value,this.updateLabel(),this.close(),this.dispatchEvent(new Qr(this.value))})),this._picker.addEventListener("render",(()=>this.layout())),this.dropdown.appendChild(this._picker)),this._picker}updateLabel(){this.label=this.value?ln`
|
|
721
721
|
<div style="background: ${this.value}; color: ${Fr(this.value)}; padding: 2px">${this.value}</div>
|
|
722
722
|
`:ln`
|
|
723
723
|
<div style="padding: 2px"> </div>
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
@render=${this._onRender}
|
|
793
793
|
@select=${this._onSelect}>
|
|
794
794
|
</og-list>
|
|
795
|
-
`;var t},this.addEventListener("contextmenu",(t=>t.preventDefault())),this.addEventListener("focus",(()=>setTimeout((()=>this.list.focus()),100)))}connectedCallback(){super.connectedCallback(),this.tabIndex=0}async open(t,e="left"){this._autoHide=!0,this.parentElement!=document.body&&document.body.appendChild(this),xt(this),await this.updateWidth();const i=Tt(t,this.parentElement),o=Kt({x:"left"==e?i.left:i.left+t.offsetWidth-this.offsetWidth,y:i.top+t.offsetHeight,w:this.offsetWidth,h:this.offsetHeight},document.body);Ht(this,{t:o.y,l:o.x}),this.list.select(0),this.list.focus(),document.body.addEventListener("mousedown",(()=>kt(this)),{once:!0})}async openAt(t,e){this._autoHide=!0,this.parentElement!=document.body&&document.body.appendChild(this),xt(this),await this.updateWidth();const i=Kt({x:t,y:e,w:this.offsetWidth,h:this.offsetHeight},document.body);Ht(this,{t:i.y,l:i.x}),this.list.select(0),this.list.focus(),document.body.addEventListener("mousedown",(()=>kt(this)),{once:!0})}};Nu.styles=[Au],Du([$n({type:Array})],Nu.prototype,"items",void 0),Du([$n({type:Boolean})],Nu.prototype,"dynamicWidth",void 0),Du([$n({type:Boolean})],Nu.prototype,"disabledFocus",void 0),Du([$n({type:String,reflect:!0})],Nu.prototype,"color",void 0),Du([On("og-list")],Nu.prototype,"list",void 0),Nu=Du([In("og-menu"),Ya({props:["border"]})],Nu);var Pu=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let ju=class extends Ru{get menu(){return this._menu||(this._menu=yt("og-menu",{slot:"inner-content",dynamicWidth:this.dynamicWidth,items:this.items,color:this.color,style:{border:"none",minWidth:"100%"},listeners:[["render",()=>this.layout()],["menu.select",t=>{this.close(),this.dispatchEvent(new Ou("select",t.item))}]]}),this.dropdown.appendChild(this._menu)),this._menu}constructor(){super(),this.dynamicWidth=!1,this.addEventListener("dropdown.beforeOpen",(()=>this.menu)),this.addEventListener("dropdown.open",(()=>{this.menu.focus(),setTimeout((()=>this.layout()),0)}))}updated(t){super.updated(t),this._menu&&(this._menu.dynamicWidth=this.dynamicWidth,this._menu.items=this.items)}};Pu([$n({type:Array})],ju.prototype,"items",void 0),Pu([$n({type:Boolean})],ju.prototype,"dynamicWidth",void 0),ju=Pu([In("og-dropdown-menu")],ju);var Hu=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let Fu=class extends ju{constructor(){super(),this.label=String.fromCharCode(160),this.addEventListener("menu.select",(t=>{this.value=t.item.key??t.item.k,this.dispatchEvent(new Qr(this.value))}))}async open(){if(await super.open(),null!=this.value){const t=this.items.findIndex((t=>t.key==this.value));t>-1&&setTimeout((()=>this.menu.list.scrollToIndex(t)),10)}}willUpdate(t){if(super.willUpdate(t),t.has("value")){const t=this.items.findIndex((t=>(t.key??t.k)==this.value));if(t>-1){const e=this.items[t];this.label=e.renderer?e.renderer(this.labelElm,t,e):e.value??e.v}else this.label=this.value}}};Hu([$n()],Fu.prototype,"value",void 0),Fu=Hu([In("og-dropdown-list")],Fu);const Bu={filter:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTMuODUzIDU0Ljg3QzEwLjQ3IDQwLjkgMjQuNTQgMzIgNDAgMzJINDcyQzQ4Ny41IDMyIDUwMS41IDQwLjkgNTA4LjEgNTQuODdDNTE0LjggNjguODQgNTEyLjcgODUuMzcgNTAyLjEgOTcuMzNMMzIwIDMyMC45VjQ0OEMzMjAgNDYwLjEgMzEzLjIgNDcxLjIgMzAyLjMgNDc2LjZDMjkxLjUgNDgyIDI3OC41IDQ4MC45IDI2OC44IDQ3My42TDIwNC44IDQyNS42QzE5Ni43IDQxOS42IDE5MiA0MTAuMSAxOTIgNDAwVjMyMC45TDkuMDQyIDk3LjMzQy0uNzQ1IDg1LjM3LTIuNzY1IDY4Ljg0IDMuODU0IDU0Ljg3TDMuODUzIDU0Ljg3eiIvPjwvc3ZnPg==",cross:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTMxMC42IDM2MS40YzEyLjUgMTIuNSAxMi41IDMyLjc1IDAgNDUuMjVDMzA0LjQgNDEyLjkgMjk2LjIgNDE2IDI4OCA0MTZzLTE2LjM4LTMuMTI1LTIyLjYyLTkuMzc1TDE2MCAzMDEuM0w1NC42MyA0MDYuNkM0OC4zOCA0MTIuOSA0MC4xOSA0MTYgMzIgNDE2UzE1LjYzIDQxMi45IDkuMzc1IDQwNi42Yy0xMi41LTEyLjUtMTIuNS0zMi43NSAwLTQ1LjI1bDEwNS40LTEwNS40TDkuMzc1IDE1MC42Yy0xMi41LTEyLjUtMTIuNS0zMi43NSAwLTQ1LjI1czMyLjc1LTEyLjUgNDUuMjUgMEwxNjAgMjEwLjhsMTA1LjQtMTA1LjRjMTIuNS0xMi41IDMyLjc1LTEyLjUgNDUuMjUgMHMxMi41IDMyLjc1IDAgNDUuMjVsLTEwNS40IDEwNS40TDMxMC42IDM2MS40eiIvPjwvc3ZnPg==",square:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4xIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNMzg0IDMyQzQxOS4zIDMyIDQ0OCA2MC42NSA0NDggOTZWNDE2QzQ0OCA0NTEuMyA0MTkuMyA0ODAgMzg0IDQ4MEg2NEMyOC42NSA0ODAgMCA0NTEuMyAwIDQxNlY5NkMwIDYwLjY1IDI4LjY1IDMyIDY0IDMySDM4NHpNMzg0IDgwSDY0QzU1LjE2IDgwIDQ4IDg3LjE2IDQ4IDk2VjQxNkM0OCA0MjQuOCA1NS4xNiA0MzIgNjQgNDMySDM4NEMzOTIuOCA0MzIgNDAwIDQyNC44IDQwMCA0MTZWOTZDNDAwIDg3LjE2IDM5Mi44IDgwIDM4NCA4MHoiLz48L3N2Zz4=","square-solid":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTAgOTZDMCA2MC42NSAyOC42NSAzMiA2NCAzMkgzODRDNDE5LjMgMzIgNDQ4IDYwLjY1IDQ0OCA5NlY0MTZDNDQ4IDQ1MS4zIDQxOS4zIDQ4MCAzODQgNDgwSDY0QzI4LjY1IDQ4MCAwIDQ1MS4zIDAgNDE2Vjk2eiIvPjwvc3ZnPg==","square-check":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTM4NCAzMkM0MTkuMyAzMiA0NDggNjAuNjUgNDQ4IDk2VjQxNkM0NDggNDUxLjMgNDE5LjMgNDgwIDM4NCA0ODBINjRDMjguNjUgNDgwIDAgNDUxLjMgMCA0MTZWOTZDMCA2MC42NSAyOC42NSAzMiA2NCAzMkgzODR6TTMzOS44IDIxMS44QzM1MC43IDIwMC45IDM1MC43IDE4My4xIDMzOS44IDE3Mi4yQzMyOC45IDE2MS4zIDMxMS4xIDE2MS4zIDMwMC4yIDE3Mi4yTDE5MiAyODAuNEwxNDcuOCAyMzYuMkMxMzYuOSAyMjUuMyAxMTkuMSAyMjUuMyAxMDguMiAyMzYuMkM5Ny4yNyAyNDcuMSA5Ny4yNyAyNjQuOSAxMDguMiAyNzUuOEwxNzIuMiAzMzkuOEMxODMuMSAzNTAuNyAyMDAuOSAzNTAuNyAyMTEuOCAzMzkuOEwzMzkuOCAyMTEuOHoiLz48L3N2Zz4=","square-xmark-solid":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4xIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNNjQgMzJDMjguNyAzMiAwIDYwLjcgMCA5NlY0MTZjMCAzNS4zIDI4LjcgNjQgNjQgNjRIMzg0YzM1LjMgMCA2NC0yOC43IDY0LTY0Vjk2YzAtMzUuMy0yOC43LTY0LTY0LTY0SDY0em03OSAxNDNjOS40LTkuNCAyNC42LTkuNCAzMy45IDBsNDcgNDcgNDctNDdjOS40LTkuNCAyNC42LTkuNCAzMy45IDBzOS40IDI0LjYgMCAzMy45bC00NyA0NyA0NyA0N2M5LjQgOS40IDkuNCAyNC42IDAgMzMuOXMtMjQuNiA5LjQtMzMuOSAwbC00Ny00Ny00NyA0N2MtOS40IDkuNC0yNC42IDkuNC0zMy45IDBzLTkuNC0yNC42IDAtMzMuOWw0Ny00Ny00Ny00N2MtOS40LTkuNC05LjQtMjQuNiAwLTMzLjl6Ii8+PC9zdmc+","square-minus-solid":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4xIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNNjQgMzJDMjguNyAzMiAwIDYwLjcgMCA5NlY0MTZjMCAzNS4zIDI4LjcgNjQgNjQgNjRIMzg0YzM1LjMgMCA2NC0yOC43IDY0LTY0Vjk2YzAtMzUuMy0yOC43LTY0LTY0LTY0SDY0em04OCAyMDBIMjk2YzEzLjMgMCAyNCAxMC43IDI0IDI0cy0xMC43IDI0LTI0IDI0SDE1MmMtMTMuMyAwLTI0LTEwLjctMjQtMjRzMTAuNy0yNCAyNC0yNHoiLz48L3N2Zz4=",minus:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTQwMCAyODhoLTM1MmMtMTcuNjkgMC0zMi0xNC4zMi0zMi0zMi4wMXMxNC4zMS0zMS45OSAzMi0zMS45OWgzNTJjMTcuNjkgMCAzMiAxNC4zIDMyIDMxLjk5UzQxNy43IDI4OCA0MDAgMjg4eiIvPjwvc3ZnPg==",plus:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTQzMiAyNTZjMCAxNy42OS0xNC4zMyAzMi4wMS0zMiAzMi4wMUgyNTZ2MTQ0YzAgMTcuNjktMTQuMzMgMzEuOTktMzIgMzEuOTlzLTMyLTE0LjMtMzItMzEuOTl2LTE0NEg0OGMtMTcuNjcgMC0zMi0xNC4zMi0zMi0zMi4wMXMxNC4zMy0zMS45OSAzMi0zMS45OUgxOTJ2LTE0NGMwLTE3LjY5IDE0LjMzLTMyLjAxIDMyLTMyLjAxczMyIDE0LjMyIDMyIDMyLjAxdjE0NGgxNDRDNDE3LjcgMjI0IDQzMiAyMzguMyA0MzIgMjU2eiIvPjwvc3ZnPg==","caret-down":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4xIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNMTM3LjQgMzc0LjZjMTIuNSAxMi41IDMyLjggMTIuNSA0NS4zIDBsMTI4LTEyOGM5LjItOS4yIDExLjktMjIuOSA2LjktMzQuOXMtMTYuNi0xOS44LTI5LjYtMTkuOEwzMiAxOTJjLTEyLjkgMC0yNC42IDcuOC0yOS42IDE5LjhzLTIuMiAyNS43IDYuOSAzNC45bDEyOCAxMjh6Ii8+PC9zdmc+",hourglass:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMzg0IDUxMiI+PCEtLSEgRm9udCBBd2Vzb21lIEZyZWUgNi40LjAgYnkgQGZvbnRhd2Vzb21lIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20gTGljZW5zZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tL2xpY2Vuc2UgKENvbW1lcmNpYWwgTGljZW5zZSkgQ29weXJpZ2h0IDIwMjMgRm9udGljb25zLCBJbmMuIC0tPjxwYXRoIGQ9Ik0wIDMyQzAgMTQuMyAxNC4zIDAgMzIgMEg2NCAzMjBoMzJjMTcuNyAwIDMyIDE0LjMgMzIgMzJzLTE0LjMgMzItMzIgMzJWNzVjMCA0Mi40LTE2LjkgODMuMS00Ni45IDExMy4xTDIzNy4zIDI1Nmw2Ny45IDY3LjljMzAgMzAgNDYuOSA3MC43IDQ2LjkgMTEzLjF2MTFjMTcuNyAwIDMyIDE0LjMgMzIgMzJzLTE0LjMgMzItMzIgMzJIMzIwIDY0IDMyYy0xNy43IDAtMzItMTQuMy0zMi0zMnMxNC4zLTMyIDMyLTMyVjQzN2MwLTQyLjQgMTYuOS04My4xIDQ2LjktMTEzLjFMMTQ2LjcgMjU2IDc4LjkgMTg4LjFDNDguOSAxNTguMSAzMiAxMTcuNCAzMiA3NVY2NEMxNC4zIDY0IDAgNDkuNyAwIDMyek05NiA2NFY3NWMwIDI1LjUgMTAuMSA0OS45IDI4LjEgNjcuOUwxOTIgMjEwLjdsNjcuOS02Ny45YzE4LTE4IDI4LjEtNDIuNCAyOC4xLTY3LjlWNjRIOTZ6bTAgMzg0SDI4OFY0MzdjMC0yNS41LTEwLjEtNDkuOS0yOC4xLTY3LjlMMTkyIDMwMS4zbC02Ny45IDY3LjljLTE4IDE4LTI4LjEgNDIuNC0yOC4xIDY3Ljl2MTF6Ii8+PC9zdmc+"};var Wu=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const Vu=ks`
|
|
795
|
+
`;var t},this.addEventListener("contextmenu",(t=>t.preventDefault())),this.addEventListener("focus",(()=>setTimeout((()=>this.list.focus()),100)))}connectedCallback(){super.connectedCallback(),this.tabIndex=0}async open(t,e="left"){this._autoHide=!0,this.parentElement!=document.body&&document.body.appendChild(this),xt(this),await this.updateWidth();const i=Tt(t,this.parentElement),o=Kt({x:"left"==e?i.left:i.left+t.offsetWidth-this.offsetWidth,y:i.top+t.offsetHeight,w:this.offsetWidth,h:this.offsetHeight},document.body);Ht(this,{t:o.y,l:o.x}),this.list.select(0),this.list.focus(),document.body.addEventListener("mousedown",(()=>kt(this)),{once:!0})}async openAt(t,e){this._autoHide=!0,this.parentElement!=document.body&&document.body.appendChild(this),xt(this),await this.updateWidth();const i=Kt({x:t,y:e,w:this.offsetWidth,h:this.offsetHeight},document.body);Ht(this,{t:i.y,l:i.x}),this.list.select(0),this.list.focus(),document.body.addEventListener("mousedown",(()=>kt(this)),{once:!0})}};Nu.styles=[Au],Du([$n({type:Array})],Nu.prototype,"items",void 0),Du([$n({type:Boolean})],Nu.prototype,"dynamicWidth",void 0),Du([$n({type:Boolean})],Nu.prototype,"disabledFocus",void 0),Du([$n({type:String,reflect:!0})],Nu.prototype,"color",void 0),Du([On("og-list")],Nu.prototype,"list",void 0),Nu=Du([In("og-menu"),qa({props:["border"]})],Nu);var Pu=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let ju=class extends Ru{get menu(){return this._menu||(this._menu=yt("og-menu",{slot:"inner-content",dynamicWidth:this.dynamicWidth,items:this.items,color:this.color,style:{border:"none",minWidth:"100%"},listeners:[["render",()=>this.layout()],["menu.select",t=>{this.close(),this.dispatchEvent(new Ou("select",t.item))}]]}),this.dropdown.appendChild(this._menu)),this._menu}constructor(){super(),this.dynamicWidth=!1,this.addEventListener("dropdown.beforeOpen",(()=>this.menu)),this.addEventListener("dropdown.open",(()=>{this.menu.focus(),setTimeout((()=>this.layout()),0)}))}updated(t){super.updated(t),this._menu&&(this._menu.dynamicWidth=this.dynamicWidth,this._menu.items=this.items)}};Pu([$n({type:Array})],ju.prototype,"items",void 0),Pu([$n({type:Boolean})],ju.prototype,"dynamicWidth",void 0),ju=Pu([In("og-dropdown-menu")],ju);var Hu=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let Fu=class extends ju{constructor(){super(),this.label=String.fromCharCode(160),this.addEventListener("menu.select",(t=>{this.value=t.item.key??t.item.k,this.dispatchEvent(new Qr(this.value))}))}async open(){if(await super.open(),null!=this.value){const t=this.items.findIndex((t=>t.key==this.value));t>-1&&setTimeout((()=>this.menu.list.scrollToIndex(t)),10)}}willUpdate(t){if(super.willUpdate(t),t.has("value")){const t=this.items.findIndex((t=>(t.key??t.k)==this.value));if(t>-1){const e=this.items[t];this.label=e.renderer?e.renderer(this.labelElm,t,e):e.value??e.v}else this.label=this.value}}};Hu([$n()],Fu.prototype,"value",void 0),Fu=Hu([In("og-dropdown-list")],Fu);const Bu={filter:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTMuODUzIDU0Ljg3QzEwLjQ3IDQwLjkgMjQuNTQgMzIgNDAgMzJINDcyQzQ4Ny41IDMyIDUwMS41IDQwLjkgNTA4LjEgNTQuODdDNTE0LjggNjguODQgNTEyLjcgODUuMzcgNTAyLjEgOTcuMzNMMzIwIDMyMC45VjQ0OEMzMjAgNDYwLjEgMzEzLjIgNDcxLjIgMzAyLjMgNDc2LjZDMjkxLjUgNDgyIDI3OC41IDQ4MC45IDI2OC44IDQ3My42TDIwNC44IDQyNS42QzE5Ni43IDQxOS42IDE5MiA0MTAuMSAxOTIgNDAwVjMyMC45TDkuMDQyIDk3LjMzQy0uNzQ1IDg1LjM3LTIuNzY1IDY4Ljg0IDMuODU0IDU0Ljg3TDMuODUzIDU0Ljg3eiIvPjwvc3ZnPg==",cross:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTMxMC42IDM2MS40YzEyLjUgMTIuNSAxMi41IDMyLjc1IDAgNDUuMjVDMzA0LjQgNDEyLjkgMjk2LjIgNDE2IDI4OCA0MTZzLTE2LjM4LTMuMTI1LTIyLjYyLTkuMzc1TDE2MCAzMDEuM0w1NC42MyA0MDYuNkM0OC4zOCA0MTIuOSA0MC4xOSA0MTYgMzIgNDE2UzE1LjYzIDQxMi45IDkuMzc1IDQwNi42Yy0xMi41LTEyLjUtMTIuNS0zMi43NSAwLTQ1LjI1bDEwNS40LTEwNS40TDkuMzc1IDE1MC42Yy0xMi41LTEyLjUtMTIuNS0zMi43NSAwLTQ1LjI1czMyLjc1LTEyLjUgNDUuMjUgMEwxNjAgMjEwLjhsMTA1LjQtMTA1LjRjMTIuNS0xMi41IDMyLjc1LTEyLjUgNDUuMjUgMHMxMi41IDMyLjc1IDAgNDUuMjVsLTEwNS40IDEwNS40TDMxMC42IDM2MS40eiIvPjwvc3ZnPg==",square:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4xIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNMzg0IDMyQzQxOS4zIDMyIDQ0OCA2MC42NSA0NDggOTZWNDE2QzQ0OCA0NTEuMyA0MTkuMyA0ODAgMzg0IDQ4MEg2NEMyOC42NSA0ODAgMCA0NTEuMyAwIDQxNlY5NkMwIDYwLjY1IDI4LjY1IDMyIDY0IDMySDM4NHpNMzg0IDgwSDY0QzU1LjE2IDgwIDQ4IDg3LjE2IDQ4IDk2VjQxNkM0OCA0MjQuOCA1NS4xNiA0MzIgNjQgNDMySDM4NEMzOTIuOCA0MzIgNDAwIDQyNC44IDQwMCA0MTZWOTZDNDAwIDg3LjE2IDM5Mi44IDgwIDM4NCA4MHoiLz48L3N2Zz4=","square-solid":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTAgOTZDMCA2MC42NSAyOC42NSAzMiA2NCAzMkgzODRDNDE5LjMgMzIgNDQ4IDYwLjY1IDQ0OCA5NlY0MTZDNDQ4IDQ1MS4zIDQxOS4zIDQ4MCAzODQgNDgwSDY0QzI4LjY1IDQ4MCAwIDQ1MS4zIDAgNDE2Vjk2eiIvPjwvc3ZnPg==","square-check":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTM4NCAzMkM0MTkuMyAzMiA0NDggNjAuNjUgNDQ4IDk2VjQxNkM0NDggNDUxLjMgNDE5LjMgNDgwIDM4NCA0ODBINjRDMjguNjUgNDgwIDAgNDUxLjMgMCA0MTZWOTZDMCA2MC42NSAyOC42NSAzMiA2NCAzMkgzODR6TTMzOS44IDIxMS44QzM1MC43IDIwMC45IDM1MC43IDE4My4xIDMzOS44IDE3Mi4yQzMyOC45IDE2MS4zIDMxMS4xIDE2MS4zIDMwMC4yIDE3Mi4yTDE5MiAyODAuNEwxNDcuOCAyMzYuMkMxMzYuOSAyMjUuMyAxMTkuMSAyMjUuMyAxMDguMiAyMzYuMkM5Ny4yNyAyNDcuMSA5Ny4yNyAyNjQuOSAxMDguMiAyNzUuOEwxNzIuMiAzMzkuOEMxODMuMSAzNTAuNyAyMDAuOSAzNTAuNyAyMTEuOCAzMzkuOEwzMzkuOCAyMTEuOHoiLz48L3N2Zz4=","square-xmark-solid":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4xIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNNjQgMzJDMjguNyAzMiAwIDYwLjcgMCA5NlY0MTZjMCAzNS4zIDI4LjcgNjQgNjQgNjRIMzg0YzM1LjMgMCA2NC0yOC43IDY0LTY0Vjk2YzAtMzUuMy0yOC43LTY0LTY0LTY0SDY0em03OSAxNDNjOS40LTkuNCAyNC42LTkuNCAzMy45IDBsNDcgNDcgNDctNDdjOS40LTkuNCAyNC42LTkuNCAzMy45IDBzOS40IDI0LjYgMCAzMy45bC00NyA0NyA0NyA0N2M5LjQgOS40IDkuNCAyNC42IDAgMzMuOXMtMjQuNiA5LjQtMzMuOSAwbC00Ny00Ny00NyA0N2MtOS40IDkuNC0yNC42IDkuNC0zMy45IDBzLTkuNC0yNC42IDAtMzMuOWw0Ny00Ny00Ny00N2MtOS40LTkuNC05LjQtMjQuNiAwLTMzLjl6Ii8+PC9zdmc+","square-minus-solid":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4xIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNNjQgMzJDMjguNyAzMiAwIDYwLjcgMCA5NlY0MTZjMCAzNS4zIDI4LjcgNjQgNjQgNjRIMzg0YzM1LjMgMCA2NC0yOC43IDY0LTY0Vjk2YzAtMzUuMy0yOC43LTY0LTY0LTY0SDY0em04OCAyMDBIMjk2YzEzLjMgMCAyNCAxMC43IDI0IDI0cy0xMC43IDI0LTI0IDI0SDE1MmMtMTMuMyAwLTI0LTEwLjctMjQtMjRzMTAuNy0yNCAyNC0yNHoiLz48L3N2Zz4=",minus:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTQwMCAyODhoLTM1MmMtMTcuNjkgMC0zMi0xNC4zMi0zMi0zMi4wMXMxNC4zMS0zMS45OSAzMi0zMS45OWgzNTJjMTcuNjkgMCAzMiAxNC4zIDMyIDMxLjk5UzQxNy43IDI4OCA0MDAgMjg4eiIvPjwvc3ZnPg==",plus:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjEuMiBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMiBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTQzMiAyNTZjMCAxNy42OS0xNC4zMyAzMi4wMS0zMiAzMi4wMUgyNTZ2MTQ0YzAgMTcuNjktMTQuMzMgMzEuOTktMzIgMzEuOTlzLTMyLTE0LjMtMzItMzEuOTl2LTE0NEg0OGMtMTcuNjcgMC0zMi0xNC4zMi0zMi0zMi4wMXMxNC4zMy0zMS45OSAzMi0zMS45OUgxOTJ2LTE0NGMwLTE3LjY5IDE0LjMzLTMyLjAxIDMyLTMyLjAxczMyIDE0LjMyIDMyIDMyLjAxdjE0NGgxNDRDNDE3LjcgMjI0IDQzMiAyMzguMyA0MzIgMjU2eiIvPjwvc3ZnPg==","caret-down":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMjAgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMi4xIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLiAtLT48cGF0aCBkPSJNMTM3LjQgMzc0LjZjMTIuNSAxMi41IDMyLjggMTIuNSA0NS4zIDBsMTI4LTEyOGM5LjItOS4yIDExLjktMjIuOSA2LjktMzQuOXMtMTYuNi0xOS44LTI5LjYtMTkuOEwzMiAxOTJjLTEyLjkgMC0yNC42IDcuOC0yOS42IDE5LjhzLTIuMiAyNS43IDYuOSAzNC45bDEyOCAxMjh6Ii8+PC9zdmc+",hourglass:"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMzg0IDUxMiI+PCEtLSEgRm9udCBBd2Vzb21lIEZyZWUgNi40LjAgYnkgQGZvbnRhd2Vzb21lIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20gTGljZW5zZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tL2xpY2Vuc2UgKENvbW1lcmNpYWwgTGljZW5zZSkgQ29weXJpZ2h0IDIwMjMgRm9udGljb25zLCBJbmMuIC0tPjxwYXRoIGQ9Ik0wIDMyQzAgMTQuMyAxNC4zIDAgMzIgMEg2NCAzMjBoMzJjMTcuNyAwIDMyIDE0LjMgMzIgMzJzLTE0LjMgMzItMzIgMzJWNzVjMCA0Mi40LTE2LjkgODMuMS00Ni45IDExMy4xTDIzNy4zIDI1Nmw2Ny45IDY3LjljMzAgMzAgNDYuOSA3MC43IDQ2LjkgMTEzLjF2MTFjMTcuNyAwIDMyIDE0LjMgMzIgMzJzLTE0LjMgMzItMzIgMzJIMzIwIDY0IDMyYy0xNy43IDAtMzItMTQuMy0zMi0zMnMxNC4zLTMyIDMyLTMyVjQzN2MwLTQyLjQgMTYuOS04My4xIDQ2LjktMTEzLjFMMTQ2LjcgMjU2IDc4LjkgMTg4LjFDNDguOSAxNTguMSAzMiAxMTcuNCAzMiA3NVY2NEMxNC4zIDY0IDAgNDkuNyAwIDMyek05NiA2NFY3NWMwIDI1LjUgMTAuMSA0OS45IDI4LjEgNjcuOUwxOTIgMjEwLjdsNjcuOS02Ny45YzE4LTE4IDI4LjEtNDIuNCAyOC4xLTY3LjlWNjRIOTZ6bTAgMzg0SDI4OFY0MzdjMC0yNS41LTEwLjEtNDkuOS0yOC4xLTY3LjlMMTkyIDMwMS4zbC02Ny45IDY3LjljLTE4IDE4LTI4LjEgNDIuNC0yOC4xIDY3Ljl2MTF6Ii8+PC9zdmc+"};var Wu=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const Vu=ks`
|
|
796
796
|
:host {
|
|
797
797
|
box-sizing: border-box;
|
|
798
798
|
width: ${G.EXPANDER_SIZE}px;
|
|
@@ -812,9 +812,9 @@
|
|
|
812
812
|
border-color: var(--og-accent-color);
|
|
813
813
|
color: var(--og-accent-color);
|
|
814
814
|
}
|
|
815
|
-
`;class Uu extends Event{get collapsed(){return"closed"==this.state}get closed(){return!this.collapsed}constructor(t){super("toggle",{bubbles:!1,cancelable:!0,composed:!0}),this.state=t}}class Gu extends Uu{constructor(t){super(),this.level=t}}let
|
|
815
|
+
`;class Uu extends Event{get collapsed(){return"closed"==this.state}get closed(){return!this.collapsed}constructor(t){super("toggle",{bubbles:!1,cancelable:!0,composed:!0}),this.state=t}}class Gu extends Uu{constructor(t){super(),this.level=t}}let Yu=class extends En{constructor(){super(),this.toggle=()=>this.state="closed"==this.state?"open":"closed",this.render=()=>ln`
|
|
816
816
|
<div class="${"closed"==this.state?"plus":"minus"}"></div>
|
|
817
|
-
`,this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("pointerdown",(t=>t.stopPropagation())),this.addEventListener("dblclick",(t=>t.stopPropagation())),this.addEventListener("click",(()=>{this.toggle(),this.dispatchEvent(new Uu(this.state))}))}};
|
|
817
|
+
`,this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("pointerdown",(t=>t.stopPropagation())),this.addEventListener("dblclick",(t=>t.stopPropagation())),this.addEventListener("click",(()=>{this.toggle(),this.dispatchEvent(new Uu(this.state))}))}};Yu.styles=[Vu,ks`
|
|
818
818
|
:host([state="closed"]) > div {
|
|
819
819
|
mask-image: url(data:image/svg+xml;base64,${xs(Bu.plus)});
|
|
820
820
|
-webkit-mask-image: url(data:image/svg+xml;base64,${xs(Bu.plus)});
|
|
@@ -847,14 +847,14 @@
|
|
|
847
847
|
mask-size: 70%;
|
|
848
848
|
background-color: var(--og-expander-color);
|
|
849
849
|
}
|
|
850
|
-
`],Wu([$n({type:String,reflect:!0})],
|
|
850
|
+
`],Wu([$n({type:String,reflect:!0})],Yu.prototype,"state",void 0),Wu([$n({type:String})],Yu.prototype,"collapsedImage",void 0),Wu([$n({type:String})],Yu.prototype,"expandedImage",void 0),Yu=Wu([In("og-expander")],Yu);let qu=class extends En{render(){return ln`<div>${this.level}</div>`}constructor(){super(),this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("pointerdown",(t=>t.stopPropagation())),this.addEventListener("dblclick",(t=>t.stopPropagation())),this.addEventListener("click",(()=>{this.dispatchEvent(new Gu(this.level))}))}};qu.styles=[Vu,ks`
|
|
851
851
|
div {
|
|
852
852
|
width: 100%;
|
|
853
853
|
height: 100%;
|
|
854
854
|
font-size: 10px;
|
|
855
855
|
line-height: 12px;
|
|
856
856
|
}
|
|
857
|
-
`],Wu([$n({type:Number})],
|
|
857
|
+
`],Wu([$n({type:Number})],qu.prototype,"level",void 0),qu=Wu([In("og-levelexpander")],qu);var Zu=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let Xu=class extends pu{constructor(){super(),this.noAutoHide=!1,this.hideKey="Escape",this.render=()=>ln`<slot name="content"></slot>`,this._onDcoumentMouseDown=()=>this.hide(!0),this._onKeyDown=t=>{t.key===this.hideKey&&this.hide(!0)},this.addEventListener("mousedown",(t=>t.stopPropagation()))}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){}async updated(){}registerHideEvents(){this.noAutoHide||setTimeout((()=>document.addEventListener("mousedown",this._onDcoumentMouseDown,{once:!0})),10),this.addEventListener("keydown",this._onKeyDown,{once:!0})}unregisterHideEvents(){document.removeEventListener("mousedown",this._onDcoumentMouseDown),this.removeEventListener("keydown",this._onKeyDown)}show(t=!1){xt(this),this.registerHideEvents(),t&&this.dispatchEvent(new CustomEvent("show"))}hide(t=!1){kt(this),this.unregisterHideEvents(),t&&this.dispatchEvent(new CustomEvent("hide"))}};Xu.styles=ks`
|
|
858
858
|
* {
|
|
859
859
|
box-sizing: border-box;
|
|
860
860
|
}
|
|
@@ -2188,7 +2188,7 @@
|
|
|
2188
2188
|
${this.content?"string"==typeof this.content?_a(this.content):this.content:ln`<slot name="body"></slot>`}
|
|
2189
2189
|
</div>
|
|
2190
2190
|
</div>
|
|
2191
|
-
`}get attachedTo(){return this._attachedTo}destroy(){this.deatach(),this.parentNode&&this.parentNode.removeChild(this)}deatach(){this._attachedTo=null,this.hide(),this._mouseEventListener&&this.parent.removeEventListener("mousemove",this._mouseEventListener)}attachToElement(t,e="right"){this.show(),this._attachedTo=t;const i=Tt(t,this.parent);"left"==e?(Ht(this,{l:i.left-this.offsetWidth-G.TOOLTIP_MARGIN,t:i.top+t.offsetHeight/2-this.offsetHeight/2}),Zt(this,{r:G.TOOLTIP_MARGIN,l:0,t:0,b:0}),this.arrow&&(this.triangle.className="right",Ht(this.triangle,{r:0}),Xt(this.triangle,this,{vertical:!0,horizontal:!1}))):"right"==e?(Ht(this,{l:i.left+t.offsetWidth,t:i.top+t.offsetHeight/2-this.offsetHeight/2}),Zt(this,{l:G.TOOLTIP_MARGIN,r:0,t:0,b:0}),this.arrow&&(this.triangle.className="left",Ht(this.triangle,{l:0}),Xt(this.triangle,this,{vertical:!0,horizontal:!1}))):"top"==e?(Ht(this,{l:i.left+t.offsetWidth/2-this.offsetWidth/2,t:i.top-this.offsetHeight-G.TOOLTIP_MARGIN}),Zt(this,{b:G.TOOLTIP_MARGIN,r:0,t:0,l:0}),this.arrow&&(this.triangle.className="bottom",Ht(this.triangle,{b:0}),Xt(this.triangle,this,{vertical:!1,horizontal:!0}))):(Ht(this,{l:i.left+t.offsetWidth/2-this.offsetWidth/2,t:i.top+t.offsetHeight}),Zt(this,{t:G.TOOLTIP_MARGIN,r:0,b:0,l:0}),this.arrow&&(this.triangle.className="top",Ht(this.triangle,{t:0}),Xt(this.triangle,this,{vertical:!1,horizontal:!0})))}get parent(){return this.parentElement?this.parentElement:this.parentNode instanceof ShadowRoot?this.parentNode.host:null}attachToCursor(){"cursor"!=this._attachedTo&&(this._attachedTo="cursor",this._mouseEventListener=t=>{this.show();const e=Tt(this.parent,document.body);Ht(this,{l:t.pageX-e.left+20,t:t.pageY-e.top+20})},this.parent.addEventListener("mousemove",this._mouseEventListener),this.parent.addEventListener("mouseout",(()=>this.hide())))}async attachTo(t,e="right"){this.deatach(),await this.updateComplete,t instanceof HTMLElement?this.attachToElement(t,e):this.attachToCursor()}};jp.styles=[...Np],Pp([$n({type:String,reflect:!0})],jp.prototype,"color",void 0),Pp([$n({type:Boolean})],jp.prototype,"arrow",void 0),Pp([$n({type:String})],jp.prototype,"position",void 0),Pp([$n({type:Object})],jp.prototype,"content",void 0),Pp([On("#triangle")],jp.prototype,"triangle",void 0),jp=Pp([In("og-tooltip"),
|
|
2191
|
+
`}get attachedTo(){return this._attachedTo}destroy(){this.deatach(),this.parentNode&&this.parentNode.removeChild(this)}deatach(){this._attachedTo=null,this.hide(),this._mouseEventListener&&this.parent.removeEventListener("mousemove",this._mouseEventListener)}attachToElement(t,e="right"){this.show(),this._attachedTo=t;const i=Tt(t,this.parent);"left"==e?(Ht(this,{l:i.left-this.offsetWidth-G.TOOLTIP_MARGIN,t:i.top+t.offsetHeight/2-this.offsetHeight/2}),Zt(this,{r:G.TOOLTIP_MARGIN,l:0,t:0,b:0}),this.arrow&&(this.triangle.className="right",Ht(this.triangle,{r:0}),Xt(this.triangle,this,{vertical:!0,horizontal:!1}))):"right"==e?(Ht(this,{l:i.left+t.offsetWidth,t:i.top+t.offsetHeight/2-this.offsetHeight/2}),Zt(this,{l:G.TOOLTIP_MARGIN,r:0,t:0,b:0}),this.arrow&&(this.triangle.className="left",Ht(this.triangle,{l:0}),Xt(this.triangle,this,{vertical:!0,horizontal:!1}))):"top"==e?(Ht(this,{l:i.left+t.offsetWidth/2-this.offsetWidth/2,t:i.top-this.offsetHeight-G.TOOLTIP_MARGIN}),Zt(this,{b:G.TOOLTIP_MARGIN,r:0,t:0,l:0}),this.arrow&&(this.triangle.className="bottom",Ht(this.triangle,{b:0}),Xt(this.triangle,this,{vertical:!1,horizontal:!0}))):(Ht(this,{l:i.left+t.offsetWidth/2-this.offsetWidth/2,t:i.top+t.offsetHeight}),Zt(this,{t:G.TOOLTIP_MARGIN,r:0,b:0,l:0}),this.arrow&&(this.triangle.className="top",Ht(this.triangle,{t:0}),Xt(this.triangle,this,{vertical:!1,horizontal:!0})))}get parent(){return this.parentElement?this.parentElement:this.parentNode instanceof ShadowRoot?this.parentNode.host:null}attachToCursor(){"cursor"!=this._attachedTo&&(this._attachedTo="cursor",this._mouseEventListener=t=>{this.show();const e=Tt(this.parent,document.body);Ht(this,{l:t.pageX-e.left+20,t:t.pageY-e.top+20})},this.parent.addEventListener("mousemove",this._mouseEventListener),this.parent.addEventListener("mouseout",(()=>this.hide())))}async attachTo(t,e="right"){this.deatach(),await this.updateComplete,t instanceof HTMLElement?this.attachToElement(t,e):this.attachToCursor()}};jp.styles=[...Np],Pp([$n({type:String,reflect:!0})],jp.prototype,"color",void 0),Pp([$n({type:Boolean})],jp.prototype,"arrow",void 0),Pp([$n({type:String})],jp.prototype,"position",void 0),Pp([$n({type:Object})],jp.prototype,"content",void 0),Pp([On("#triangle")],jp.prototype,"triangle",void 0),jp=Pp([In("og-tooltip"),qa({props:["color","border","background"],selector:"#inner"})],jp);let Hp=class extends tp{willUpdate(){this.spin=!0,this.icon=this.iconName||"spinner"}};Hp.styles=[...tp.styles,ks`
|
|
2192
2192
|
:host {
|
|
2193
2193
|
display: block;
|
|
2194
2194
|
}
|
|
@@ -2397,7 +2397,7 @@
|
|
|
2397
2397
|
line-height: 0;
|
|
2398
2398
|
}
|
|
2399
2399
|
|
|
2400
|
-
`;var Vp,Up=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Gp extends Event{constructor(t,e){super(`tab.${t}`,{composed:!0,bubbles:!0,cancelable:!0}),Object.assign(this,e)}}class
|
|
2400
|
+
`;var Vp,Up=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Gp extends Event{constructor(t,e){super(`tab.${t}`,{composed:!0,bubbles:!0,cancelable:!0}),Object.assign(this,e)}}class Yp extends Gp{constructor(t,e){super(t,e)}}const qp=[{key:"close",value:"Close",icon:"xmark"},{key:"close_others",value:"Close Others",icon:"xmark"},{key:"close_right",value:"Close to the Right",icon:"xmark"},{key:"close_saved",value:"Close Saved",icon:"xmark"},{key:"close_all",value:"Close All",icon:"xmark"}];let Zp=Vp=class extends En{constructor(){super(...arguments),this.closable=!1,this.draggable=!1,this.scrollable=!1,this.addButton=!1,this.selectedIndex=-1,this.position="top",this.tabSize="auto",this.tabAlign="left",this.menuRef=Xd(),this._contextMenuTabIndex=-1,this._contextMenuItems=[],this.hideOverlay=()=>kt(this.overlay),this._onMenuItemSelect=async t=>{const e=this._contextMenuItems[t.index].key;if("close"==e)this.removeTab(this._contextMenuTabIndex,!0),this.selectedIndex>=this.items.length&&this.selectTab(Math.max(this.items.length-1,0),!0);else if("close_all"==e){const t=new Set(this.items.map((t=>t.id)));for(const e of t)await this.removeTabById(e,!0)}else if("close_others"==e){const t=new Set(this.items.filter(((t,e)=>e!=this._contextMenuTabIndex)).map((t=>t.id)));for(const e of t)await this.removeTabById(e,!0);this.selectTab(0,!0)}else if("close_right"==e){const t=new Set(this.items.filter(((t,e)=>e>this._contextMenuTabIndex)).map((t=>t.id)));for(const e of t)await this.removeTabById(e,!0);this.selectedIndex>=this.items.length&&this.selectTab(Math.max(this.items.length-1,0),!0)}else if("close_saved"==e){const t=new Set(this.items.filter((t=>!t.unsaved)).map((t=>t.id)));for(const e of t)await this.removeTabById(e,!0)}},this.getTabSize=t=>{const e=this.items[t]?.size??this.tabSize;return"stretch"===e?100/this.items.length+"%":"number"==typeof e||"string"==typeof e&&!isNaN(Number(e))?Ot(e):e},this.renderTabs=()=>jn(this.items,((t,e)=>t.hidden?null:ln`
|
|
2401
2401
|
<div
|
|
2402
2402
|
.draggable="${this.draggable}"
|
|
2403
2403
|
class="${el({tab:!0,active:e==this.selectedIndex,unsaved:!!t.unsaved,closable:this.closable,last:e==this.items.length-1})}"
|
|
@@ -2472,7 +2472,7 @@
|
|
|
2472
2472
|
style="display: none; z-index: 2000"
|
|
2473
2473
|
@select=${this._onMenuItemSelect}>
|
|
2474
2474
|
</og-menu>
|
|
2475
|
-
`}get menu(){return this.menuRef.value}get selectedItem(){return this.items[this.selectedIndex]}get selectedTab(){return this.tabs?.[this.selectedIndex]}get container(){return Et(this,"og-tabcontainer")}async updated(){this._contextMenuItems=[],this.closable&&(this._contextMenuItems=
|
|
2475
|
+
`}get menu(){return this.menuRef.value}get selectedItem(){return this.items[this.selectedIndex]}get selectedTab(){return this.tabs?.[this.selectedIndex]}get container(){return Et(this,"og-tabcontainer")}async updated(){this._contextMenuItems=[],this.closable&&(this._contextMenuItems=qp),this.menu&&(this.menu.items=this._contextMenuItems),this.animateMarker(),this.container&&await this.container.updateComplete,this.positionBottomMarker()}positionOverlay(t){if(!t)return this.hideOverlay();const e=Tt(t,this);Ht(this.overlay,{t:e.top,l:e.left}),Nt(this.overlay,{w:t.offsetWidth,h:t.offsetHeight}),xt(this.overlay)}selectTab(t,e=!1){this.selectedIndex=t,e&&this.dispatchEvent(new Gp("select",{tab:this.items[t],tabs:this,index:t}))}getIndexById(t){return this.items.findIndex((e=>e.id==t))}selectTabById(t,e=!1){const i=this.getIndexById(t);i>-1&&this.selectTab(i,e)}addTab(t,e=this.selectedIndex+1){this.hideOverlay(),this.items.splice(e,0,t),this.requestUpdate()}async removeTabById(t,e=!1){const i=this.getIndexById(t);i>-1&&await this.removeTab(i,e)}async removeTab(t,e=!1){return this.hideOverlay(),new Promise(((i,o)=>{const r=()=>{const[o]=this.items.splice(t,1);e&&this.dispatchEvent(new Gp("remove",{tab:o,tabs:this,index:t})),this.selectedIndex>=this.items.length?this.selectTab(this.items.length-1,!0):this.selectedIndex==t&&this.selectTab(0,!0),this.requestUpdate(),i(o)};!1!==this.dispatchEvent(new Yp("beforeRemove",{tab:this.items[t],tabs:this,index:t,resolveClose:r,rejectClose:()=>o()}))&&r()}))}_onDragover(t,e){Vp.dragParent&&Vp.dragParent.topLevelComponent==this.topLevelComponent&&(t.preventDefault(),t.stopPropagation(),t.dataTransfer.dropEffect="move",Vp.dropIndex=e,this.positionOverlay(e>=this.tabs.length?this.empty:this.tabs[e]))}_onDragStart(t,e){this.draggable&&(Vp.dragParent=this,Vp.dragTarget=null,Vp.dragIndex=e)}_onDragStop(){Vp.dragParent=null}_onDrop(){if(Vp.dragTarget=this,Vp.dragParent==Vp.dragTarget)this.moveTab(Vp.dragIndex,Vp.dropIndex,!0);else{const t=Vp.dragParent.items[Vp.dragIndex];Vp.dragParent.removeTab(Vp.dragIndex),Vp.dragParent.selectTab(Math.min(Vp.dragParent.items.length-1,Vp.dragIndex),!0),Vp.dragTarget.addTab(t,Vp.dropIndex),Vp.dragTarget.selectTab(Vp.dropIndex,!0),this.dispatchEvent(new Gp("move",{tab:t,tabs:this}))}Vp.dragParent=null}moveTab(t,e,i=!1){if(t==e)return;const[o]=this.items.splice(e,0,this.items.splice(t,1)[0]);this.selectTab(Math.min(e,this.tabs.length-1),!0),this.requestUpdate(),i&&this.dispatchEvent(new Gp("move",{tab:o,tabs:this}))}_onCrossClick(t,e){t.stopPropagation(),this.removeTab(e,!0)}_onContextMenu(t,e){t.preventDefault(),this._contextMenuTabIndex=e,this.menu.items.length>0&&this.menu.openAt(t.pageX,t.pageY),this.dispatchEvent(new Gp("contextmenu",{tab:this.items[e],tabs:this,uiEvent:t}))}_onActionClick(t){Gr(this,"tabs",t)}disconnectedCallback(){this.menu?.remove()}_onContainerDragover(t){t.preventDefault(),t.stopPropagation(),t.dataTransfer.dropEffect="move"}animateMarker(){const t=this.selectedTab;if(!t)return void kt(this.marker);xt(this.marker);const e=Tt(t,this);Ht(this.marker,{l:e.left,b:0}),Nt(this.marker,{w:t.offsetWidth}),setTimeout((()=>kt(this.marker)),200)}positionBottomMarker(){const t=this.selectedTab;if(!t||"top"!=this.position)return void kt(this.bottomMarker);xt(this.bottomMarker);const e=Tt(t,this);Ht(this.bottomMarker,{l:e.left}),Nt(this.bottomMarker,{w:t.offsetWidth-1})}};Zp.styles=[Wp],Zp.dragIndex=-1,Zp.dropIndex=-1,Up([$n({type:Object})],Zp.prototype,"topLevelComponent",void 0),Up([$n({type:Array})],Zp.prototype,"items",void 0),Up([$n({type:Boolean})],Zp.prototype,"closable",void 0),Up([$n({type:Boolean})],Zp.prototype,"draggable",void 0),Up([$n({type:Boolean})],Zp.prototype,"scrollable",void 0),Up([$n({type:Boolean})],Zp.prototype,"addButton",void 0),Up([$n({type:Number})],Zp.prototype,"selectedIndex",void 0),Up([$n({type:Array})],Zp.prototype,"actions",void 0),Up([$n({type:String,reflect:!0})],Zp.prototype,"position",void 0),Up([$n({type:String,reflect:!0})],Zp.prototype,"tabSize",void 0),Up([$n({type:String,reflect:!0})],Zp.prototype,"tabAlign",void 0),Up([On(".empty")],Zp.prototype,"empty",void 0),Up([On(".marker")],Zp.prototype,"marker",void 0),Up([On(".bottom-marker")],Zp.prototype,"bottomMarker",void 0),Up([On("#overlay")],Zp.prototype,"overlay",void 0),Up([Pn(".tab")],Zp.prototype,"tabs",void 0),Zp=Vp=Up([In("og-tabs")],Zp);const Xp=ks`
|
|
2476
2476
|
* {
|
|
2477
2477
|
box-sizing: border-box;
|
|
2478
2478
|
}
|
|
@@ -2699,7 +2699,7 @@
|
|
|
2699
2699
|
${e.name}
|
|
2700
2700
|
</div>
|
|
2701
2701
|
</div>
|
|
2702
|
-
`;let fg=class extends En{get activeSection(){return this.sections?.[this.activeSectionIndex]}get inputValue(){return this.input?.value??""}get parsedInput(){const t=this.inputValue,e=t.split(" ",2);if(e.length>1){const i=(this.sections??[]).findIndex((t=>t?.triggerCommand==e[0]));return{section:i,value:i>-1?e[1]??"":t}}return{section:-1,value:t}}get filterValue(){return"search"==this.mode?this.parsedInput?.value??"":""}get commandRenderer(){return this.options?.commandRenderer||gg}get groupRenderer(){return this.options?.groupRenderer||mg}async exec(t=!0){const e=this.parsedInput,i=this.visibleItems[this.list.selectedIndex];i instanceof rg&&(this.clearFilter(!1),i.exec(e.value),this.adapter&&this.adapter.exec(i,e.value),t&&this.dispatchEvent(new pg("exec",{command:i,section:this.sections.find((t=>t.id===e.section)),value:e.value})))}constructor(){super(),this.options=cg(),this.mode="search",this.sectionPosition="right",this.dropdownWidth=100,this.placeholder="",this.showGroups=!1,this.model=new ng,this.sections=[{id:"default"}],this.activeSectionIndex=0,this.noResults=!1,this._onKeyDown=t=>{switch("Escape"!=t.key&&t.stopPropagation(),t.key){case"ArrowDown":t.preventDefault(),this.list.moveDown();break;case"ArrowUp":t.preventDefault(),this.list.moveUp();break;case"Enter":t.preventDefault(),this.visibleItems[this.list.selectedIndex]instanceof sg?this.toggleGroup(this.visibleItems[this.list.selectedIndex].id):this.exec()}},this._debounceInput=
|
|
2702
|
+
`;let fg=class extends En{get activeSection(){return this.sections?.[this.activeSectionIndex]}get inputValue(){return this.input?.value??""}get parsedInput(){const t=this.inputValue,e=t.split(" ",2);if(e.length>1){const i=(this.sections??[]).findIndex((t=>t?.triggerCommand==e[0]));return{section:i,value:i>-1?e[1]??"":t}}return{section:-1,value:t}}get filterValue(){return"search"==this.mode?this.parsedInput?.value??"":""}get commandRenderer(){return this.options?.commandRenderer||gg}get groupRenderer(){return this.options?.groupRenderer||mg}async exec(t=!0){const e=this.parsedInput,i=this.visibleItems[this.list.selectedIndex];i instanceof rg&&(this.clearFilter(!1),i.exec(e.value),this.adapter&&this.adapter.exec(i,e.value),t&&this.dispatchEvent(new pg("exec",{command:i,section:this.sections.find((t=>t.id===e.section)),value:e.value})))}constructor(){super(),this.options=cg(),this.mode="search",this.sectionPosition="right",this.dropdownWidth=100,this.placeholder="",this.showGroups=!1,this.model=new ng,this.sections=[{id:"default"}],this.activeSectionIndex=0,this.noResults=!1,this._onKeyDown=t=>{switch("Escape"!=t.key&&t.stopPropagation(),t.key){case"ArrowDown":t.preventDefault(),this.list.moveDown();break;case"ArrowUp":t.preventDefault(),this.list.moveUp();break;case"Enter":t.preventDefault(),this.visibleItems[this.list.selectedIndex]instanceof sg?this.toggleGroup(this.visibleItems[this.list.selectedIndex].id):this.exec()}},this._debounceInput=Y((()=>{if("search"==this.mode){const t=this.parsedInput;t.section>-1?(this.activeSectionIndex=t.section,this.input.value="",this.updateCommands(!0)):this.updateCommands()}else if("none"==this.mode){const t=this.parsedInput,e=this.model.filter(t.value,!1);if(e.length>0){const t=this.visibleItems.findIndex((t=>t instanceof rg&&t.id===e[0].id));t>-1&&(this.list.selectedIndex=t,this.list.renderItems(!0))}}}),this.options.inputDelay),this._onInput=t=>{t.stopPropagation(),this._debounceInput()},this._onSectionSelect=async t=>{this.activeSectionIndex!=t.index&&(this.activeSectionIndex=t.index,this.updateCommands(!0),this.focus())},this._onDropdownChange=async t=>{this.activeSectionIndex=this.sections.findIndex((t=>t.id===this.dropdown.value)),this.updateCommands(!0),this.focus()},this._onSelect=t=>{const e=this.visibleItems[t.index];e instanceof rg?("search"==this.mode&&(this.input.value=e.name),t.trigger!=pp.Click&&t.trigger!=pp.Enter||this.exec()):(this.input.value="",t.trigger!=pp.Click&&t.trigger!=pp.Enter||this.toggleGroup(e.id)),setTimeout((()=>this.input.focus()))},this._itemRenderer=(t,e,i)=>this.visibleItems[e]instanceof sg?this.groupRenderer(t,this.visibleItems[e],i):this.commandRenderer(t,this.visibleItems[e],i),this._updateToken=0,this.renderTabs=()=>this.sections?.length>1?ln`
|
|
2703
2703
|
<og-container
|
|
2704
2704
|
.horizontalSliderPosition="${"top"==this.sectionPosition?"bottom":"top"}"
|
|
2705
2705
|
scrollMode="horizontal"
|
|
@@ -2867,7 +2867,7 @@
|
|
|
2867
2867
|
}
|
|
2868
2868
|
*/
|
|
2869
2869
|
|
|
2870
|
-
`;class Mg extends mu{constructor(){super(...arguments),this.items=[]}async addAlert(t){const e=yt("og-bucket-alert"),i={options:t,component:e};e.options=t,e.addEventListener("close",(()=>this.removeAlert(i))),this.component.shadowRoot.appendChild(e),this.items.push(i),this.items.length>this.component.options.alerts.maxItems&&this.removeAlert(this.items[0]);const o=t.timeout??this.component.options.alerts.timeout;o>0&&(i.timer=window.setTimeout((()=>{i.timer=void 0,this.removeAlert(i)}),o)),await this.component.updateComplete,this.updatePositions()}updatePositions(){[...this.items].reverse().forEach(((t,e)=>{Ht(t.component,{r:10,b:10+e*(t.component.offsetHeight+10)})}))}removeAlert(t){const e=this.items.indexOf(t);-1!=e&&(this.items[e].component.remove(),this.items.splice(e,1),null!=t.timer&&window.clearTimeout(t.timer),t.timer=void 0,this.updatePositions())}}const _g={alerts:{maxItems:5,timeout:5e3},pathPosition:"top",componentMode:"tabbed",sidebarPosition:"left",modalSidebarWidth:kg.SIDEBAR_WIDTH};function Sg(t,e=null){return{...ss(t,e),..._g,...e,...t}}class zg extends mu{constructor(){super(...arguments),this._componentPromiseResolutions=new Map,this._resolvingComponentIds=new Set,this.paths=new Map,this.components=new Map,this.anonymousComponents=new Map,this.unsavedComponents=new Set,this.states=new Map}get hasUnsavedComponents(){return this.unsavedComponents.size>0}get bucket(){return this.component}setState(t,e){const i=this.components.get(t);i&&i.setState?i.setState(e):this.states.set(t,e)}has(t){return this.components.has(t)||this.anonymousComponents.has(t)||this._resolvingComponentIds.has(t)}get(t){let e=this.components.get(t);return e??(e=this.anonymousComponents.get(t)),e?(this.resolveComponentPromises(t,e),e):new Promise(((e,i)=>{const o=this.components.get(t);if(this.enqueueComponentResolution(t,e,i),!this._resolvingComponentIds.has(t)){if(o)return this.resolveComponentPromises(t,o);this._resolvingComponentIds.add(t),Promise.all([this.component.createComponent(t)]).then((e=>{const i=e[0];if(i){this.register(t,i);const e=this.bucket.state;e?.components&&e?.components[t]&&i.setState&&i.setState(e.components[t])}this.resolveComponentPromises(t,i)}))}}))}resolveComponentPromises(t,e){this._componentPromiseResolutions.has(t)&&(this._componentPromiseResolutions.get(t).forEach((t=>t.resolve(e))),this._componentPromiseResolutions.delete(t)),this._resolvingComponentIds.delete(t)}enqueueComponentResolution(t,e,i){this._componentPromiseResolutions.has(t)||this._componentPromiseResolutions.set(t,[]),this._componentPromiseResolutions.get(t).push({resolve:e,reject:i})}update(t,e){const i=e.id??t;if(this.bucket.editorContainer.updateTab(t,{id:i,title:e.title??void 0}),this.components.has(t)&&i!=t){const e=this.components.get(t);this.unregister(t),this.register(i,e)}return this.components.get(i)}register(t,e){if(null==t)t=`temp_${Ag.getUniqueId()}`,this.anonymousComponents.set(t,e);else if(this.components.set(t,e),this.has(t))return t;return this.bucket.dispatchEvent(new $g("register",{componentId:t})),t}unregister(t){this.components.delete(t),this.anonymousComponents.delete(t),this.paths.delete(t),this.bucket.dispatchEvent(new $g("unregister",{componentId:t}))}async getPath(t){if(this.paths.has(t))return this.paths.get(t);if(!this.bucket.options.pathResolver)return[];const e=await this.bucket.options.pathResolver(t);return this.paths.set(t,e),e}}class Eg extends mu{constructor(){super(...arguments),this.modalSidebars=[],this.modalSidebarComponents=new Map,this.createModalSidebarComponent=t=>{const e=yt("og-bucket-modal-sidebar");return e.className=t.position??"left",e.componentId=t.id,e.caption=t.caption,e.closable=null==t.closable||t.closable,e.bucket=this.bucket,e}}get bucket(){return this.component}get components(){return this.bucket.components}updateModalSidebarPositions(){this.modalSidebars.length>0?this.bucket.showOverlay():this.bucket.hideOverlay();const t=this.bucket.compact?this.bucket.sidemenu.offsetWidth:this.bucket.container.containers[0].offsetWidth+this.bucket.sidemenu.offsetWidth;let e=0,i=0;this.modalSidebars.forEach((async o=>{const r=this.modalSidebarComponents.get(o.id),s="right"==o.position,n=s?i:e;r&&(
|
|
2870
|
+
`;class Mg extends mu{constructor(){super(...arguments),this.items=[]}async addAlert(t){const e=yt("og-bucket-alert"),i={options:t,component:e};e.options=t,e.addEventListener("close",(()=>this.removeAlert(i))),this.component.shadowRoot.appendChild(e),this.items.push(i),this.items.length>this.component.options.alerts.maxItems&&this.removeAlert(this.items[0]);const o=t.timeout??this.component.options.alerts.timeout;o>0&&(i.timer=window.setTimeout((()=>{i.timer=void 0,this.removeAlert(i)}),o)),await this.component.updateComplete,this.updatePositions()}updatePositions(){[...this.items].reverse().forEach(((t,e)=>{Ht(t.component,{r:10,b:10+e*(t.component.offsetHeight+10)})}))}removeAlert(t){const e=this.items.indexOf(t);-1!=e&&(this.items[e].component.remove(),this.items.splice(e,1),null!=t.timer&&window.clearTimeout(t.timer),t.timer=void 0,this.updatePositions())}}const _g={alerts:{maxItems:5,timeout:5e3},pathPosition:"top",componentMode:"tabbed",sidebarPosition:"left",modalSidebarWidth:kg.SIDEBAR_WIDTH};function Sg(t,e=null){return{...ss(t,e),..._g,...e,...t}}class zg extends mu{constructor(){super(...arguments),this._componentPromiseResolutions=new Map,this._resolvingComponentIds=new Set,this.paths=new Map,this.components=new Map,this.anonymousComponents=new Map,this.unsavedComponents=new Set,this.states=new Map}get hasUnsavedComponents(){return this.unsavedComponents.size>0}get bucket(){return this.component}setState(t,e){const i=this.components.get(t);i&&i.setState?i.setState(e):this.states.set(t,e)}has(t){return this.components.has(t)||this.anonymousComponents.has(t)||this._resolvingComponentIds.has(t)}get(t){let e=this.components.get(t);return e??(e=this.anonymousComponents.get(t)),e?(this.resolveComponentPromises(t,e),e):new Promise(((e,i)=>{const o=this.components.get(t);if(this.enqueueComponentResolution(t,e,i),!this._resolvingComponentIds.has(t)){if(o)return this.resolveComponentPromises(t,o);this._resolvingComponentIds.add(t),Promise.all([this.component.createComponent(t)]).then((e=>{const i=e[0];if(i){this.register(t,i);const e=this.bucket.state;e?.components&&e?.components[t]&&i.setState&&i.setState(e.components[t])}this.resolveComponentPromises(t,i)}))}}))}resolveComponentPromises(t,e){this._componentPromiseResolutions.has(t)&&(this._componentPromiseResolutions.get(t).forEach((t=>t.resolve(e))),this._componentPromiseResolutions.delete(t)),this._resolvingComponentIds.delete(t)}enqueueComponentResolution(t,e,i){this._componentPromiseResolutions.has(t)||this._componentPromiseResolutions.set(t,[]),this._componentPromiseResolutions.get(t).push({resolve:e,reject:i})}update(t,e){const i=e.id??t;if(this.bucket.editorContainer.updateTab(t,{id:i,title:e.title??void 0}),this.components.has(t)&&i!=t){const e=this.components.get(t);this.unregister(t),this.register(i,e)}return this.components.get(i)}register(t,e){if(null==t)t=`temp_${Ag.getUniqueId()}`,this.anonymousComponents.set(t,e);else if(this.components.set(t,e),this.has(t))return t;return this.bucket.dispatchEvent(new $g("register",{componentId:t})),t}unregister(t){this.components.delete(t),this.anonymousComponents.delete(t),this.paths.delete(t),this.bucket.dispatchEvent(new $g("unregister",{componentId:t}))}async getPath(t){if(this.paths.has(t))return this.paths.get(t);if(!this.bucket.options.pathResolver)return[];const e=await this.bucket.options.pathResolver(t);return this.paths.set(t,e),e}}class Eg extends mu{constructor(){super(...arguments),this.modalSidebars=[],this.modalSidebarComponents=new Map,this.createModalSidebarComponent=t=>{const e=yt("og-bucket-modal-sidebar");return e.className=t.position??"left",e.componentId=t.id,e.caption=t.caption,e.closable=null==t.closable||t.closable,e.bucket=this.bucket,e}}get bucket(){return this.component}get components(){return this.bucket.components}updateModalSidebarPositions(){this.modalSidebars.length>0?this.bucket.showOverlay():this.bucket.hideOverlay();const t=this.bucket.compact?this.bucket.sidemenu.offsetWidth:this.bucket.container.containers[0].offsetWidth+this.bucket.sidemenu.offsetWidth;let e=0,i=0;this.modalSidebars.forEach((async o=>{const r=this.modalSidebarComponents.get(o.id),s="right"==o.position,n=s?i:e;r&&(Yt(r,500+n),Nt(r,{w:o.width||this.bucket.options.modalSidebarWidth}),s?(i++,Ht(r,{t:0,r:0+20*n,b:0})):(Ht(r,{t:0,l:t+20*n,b:0}),e++))}))}async openModalSidebar(t){return this.bucket.showOverlay(),this.modalSidebars.push(t),t.component&&(t.id=t.id||`temp-${Ag.getUniqueId()}`,this.components.register(t.id,t.component)),new Promise(((e,i)=>{this.components.enqueueComponentResolution(t.id,e,i);const o=this.createModalSidebarComponent(t);this.modalSidebarComponents.set(t.id,o),this.bucket.body.appendChild(o),this.updateModalSidebarPositions()}))}async closeModalSidebar(t=!1){const e=t?0:this.modalSidebars.length-1;for(;this.modalSidebars.length>e;){const t=this.modalSidebars.pop();t&&(this.modalSidebarComponents.get(t.id).remove(),this.modalSidebarComponents.delete(t.id),this.components.unregister(t.id))}this.updateModalSidebarPositions()}}class Lg extends mu{constructor(){super(...arguments),this.items=new Map}get bucket(){return this.component}register(t,e){this.items.set(t,e)}unregister(t){this.items.delete(t),this.bucket.components.unregister(t),this.bucket.dispatchStateEvent()}async open(t){const e=yt("og-dialog",{componentId:t.id,maximizable:t.maximizable??!0,listeners:[["dialog.move",()=>this.bucket.dispatchStateEvent()],["dialog.resize",()=>this.bucket.dispatchStateEvent()],["dialog.close",t=>this.unregister(t.dialog.componentId)]]});e.setOptions(t),e.open(this.bucket),e.showLoader();let i=t.component;return delete t.component,!i&&t.id&&(i=await this.bucket.createComponent(t.id),this.register(t.id,e)),e.hideLoader(),e.component=i,t.id&&(this.register(t.id,e),this.bucket.dispatchStateEvent()),e}}var Ig,Rg=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const Tg={top:{rightItems:[]},sidemenu:{items:[],activeIndex:null,hidden:!1},sidebar:{width:kg.SIDEBAR_WIDTH,collapsed:!1},editorLayout:{items:[]}};class $g extends Event{constructor(t,e){super(`bucket.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e)}}let Ag=Ig=class extends pu{get activeComponentId(){return this._activeComponentId}get sidebarIndex(){return"left"==this.options.sidebarPosition?0:1}get mainIndex(){return"left"==this.options.sidebarPosition?1:0}get container(){if(this._container)return this._container;this._container=yt("og-splitcontainer"),this._container.orientation="horizontal";const t={size:this.sourceData.sidebar?.width||kg.SIDEBAR_WIDTH,collapsed:this.sourceData.sidebar?.collapsed||!1};return this._container.items=[0==this.sidebarIndex?t:{size:null},1==this.sidebarIndex?t:{size:null}],this._container.createComponent=this._createSplitContainerComponent,this._container.addEventListener("splitContainer.resize",this._onSplitContainerResize),this._container.addEventListener("tab.beforeRemove",this._onTabBeforeRemove),this._container.addEventListener("tab.remove",this._onTabRemove),this._container.addEventListener("tab.select",this._onTabSelect),this._container}get editorContainer(){return this._editorContainer||(this._editorContainer=yt("og-tabsplitcontainer"),this._editorContainer.style.height="100%",this._editorContainer.closable=!0,this._editorContainer.singleActive=!0,this._editorContainer.createComponent=this.createEditorComponent,this._editorContainer.model=new Fp(this.sourceData.editorLayout),this._editorContainer.scrollableTabs=!0),this._editorContainer}get singleContainer(){return this._singleContainer||(this._singleContainer=yt("div"),this._singleContainer.style.height="100%"),this._singleContainer}get sidebarHost(){return this._sidebarHost||(this._sidebarHost=yt("og-bucket-sidebar"),this._sidebarHost.bucket=this,this._sidebarHost.componentId=this.sidebar1ComponentId),this._sidebarHost}constructor(){super(),this.sourceData=Tg,this.logger=new Sr("Ωbucket"),this.compact=!1,this.updateContainerVisibility=Y((()=>{let t=!1;this.editorContainer.walk(((e,i)=>{if(i.tabs?.items?.length)return t=!0,!1})),t?xt(this.editorContainer):kt(this.editorContainer)}),100),this.showOverlay=()=>this.overlay.show(this.body),this.hideOverlay=()=>this.overlay.hide(),this._onWindowBeforeUnload=t=>{this.components.hasUnsavedComponents&&(t.preventDefault(),t.returnValue="")},this.createEditorComponent=t=>yt("og-bucket-component-host",{componentId:t,bucket:this,pathPosition:this.options.pathPosition}),this._createSplitContainerComponent=t=>{let e;return t==this.sidebarIndex?(this.logger.info("create primary sidebar"),this.sidebarHost):t==this.mainIndex?(this.logger.info("create editor container"),"single"==this.options?.componentMode?this.singleContainer:this.editorContainer):(e||(e=yt("div"),e.innerHTML="empty"),e)},this._onSplitContainerResize=()=>{this.top?.layout(),this.dispatchStateEvent()},this._onTabRemove=t=>{this.components.unregister(t.tab.id),this.dispatchEvent(new $g("close",{tab:t.tab,componentId:t.tab.id})),this.dispatchStateEvent()},this._onTabBeforeRemove=t=>{const e=t.tab.id;this.components.unsavedComponents.has(e)&&(t.preventDefault(),this.openMenu({text:`[${t.tab.title||t.tab.id}]: ${$o("Discard changes and close tab?")}`,content:"yes_no"}).then((i=>{"Y"==i?.command?.id&&(this.components.unsavedComponents.delete(e),t.resolveClose())})))},this._onTabSelect=t=>{t.tabs.topLevelComponent==this.editorContainer&&(this._activeComponentId=t.tab?.id,this.dispatchEvent(new $g("activate",{tab:t.tab,componentId:t.tab?.id})),this.dispatchStateEvent())},this.renderSideMenu=()=>this.sourceData.sidemenu.hidden?ln``:ln`
|
|
2871
2871
|
<og-bucket-sidemenu
|
|
2872
2872
|
@select=${this._onSidemenuSelect}
|
|
2873
2873
|
.settings=${this.sourceData.sidemenu}>
|
|
@@ -2954,7 +2954,7 @@
|
|
|
2954
2954
|
<og-container class="body">
|
|
2955
2955
|
<div class="content" slot="content">${this.options?.content}</div>
|
|
2956
2956
|
</og-container>
|
|
2957
|
-
`}willUpdate(t){t.has("options")&&(this.color=this.options?.type?Ng[this.options.type][0]:Ra.Accent)}get iconSpec(){if(this.options?.icon)return this.options.icon;const t={icon:"info"};return this.options?.type&&(t.color=Ng[this.options.type][0],t.icon=Ng[this.options.type][1]),t}close(t=!0){kt(this),t&&this.dispatchEvent(new Event("close"))}async updated(){await this.container.updateComplete;const t=this.container.scrollHeight;t>kg.ALERT_DEFAULT_HEIGHT&&(this.container.style.height=Ot(Math.min(t,kg.ALERT_MAX_HEIGHT)),this.container.updateSliders())}};jg.styles=[pu.styles,Dg],Og([$n({type:Object})],jg.prototype,"options",void 0),Og([$n({type:String,reflect:!0})],jg.prototype,"color",void 0),Og([$n({type:Boolean})],jg.prototype,"noCopy",void 0),Og([On(".body")],jg.prototype,"container",void 0),Og([On(".copy")],jg.prototype,"btnCopy",void 0),jg=Og([In("og-bucket-alert"),
|
|
2957
|
+
`}willUpdate(t){t.has("options")&&(this.color=this.options?.type?Ng[this.options.type][0]:Ra.Accent)}get iconSpec(){if(this.options?.icon)return this.options.icon;const t={icon:"info"};return this.options?.type&&(t.color=Ng[this.options.type][0],t.icon=Ng[this.options.type][1]),t}close(t=!0){kt(this),t&&this.dispatchEvent(new Event("close"))}async updated(){await this.container.updateComplete;const t=this.container.scrollHeight;t>kg.ALERT_DEFAULT_HEIGHT&&(this.container.style.height=Ot(Math.min(t,kg.ALERT_MAX_HEIGHT)),this.container.updateSliders())}};jg.styles=[pu.styles,Dg],Og([$n({type:Object})],jg.prototype,"options",void 0),Og([$n({type:String,reflect:!0})],jg.prototype,"color",void 0),Og([$n({type:Boolean})],jg.prototype,"noCopy",void 0),Og([On(".body")],jg.prototype,"container",void 0),Og([On(".copy")],jg.prototype,"btnCopy",void 0),jg=Og([In("og-bucket-alert"),qa({props:["border"]})],jg);var Hg=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let Fg=class extends En{constructor(){super(...arguments),this.render=()=>ln`<div></div>`}async loadComponent(t){St(this.container),this._component=await this.bucket.components.get(t),this._component&&this.container.appendChild(this._component)}async updated(t){this.bucket&&t.has("componentId")&&this.loadComponent(this.componentId)}layout(){this._component?.layout&&this._component.layout()}};Fg.styles=ks`
|
|
2958
2958
|
:host {
|
|
2959
2959
|
display: block;
|
|
2960
2960
|
color: var(--og-text-color);
|
|
@@ -3041,14 +3041,14 @@
|
|
|
3041
3041
|
height: 100%;
|
|
3042
3042
|
flex: 0;
|
|
3043
3043
|
}
|
|
3044
|
-
`;var Gg=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let
|
|
3044
|
+
`;var Gg=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let Yg=class extends pu{constructor(){super(...arguments),this.leftItemWidth=250,this.render=()=>ln`
|
|
3045
3045
|
<div class="item logo" data-component="bucket-logo"></div>
|
|
3046
3046
|
${this.bucket?.compact?"":ln`
|
|
3047
3047
|
<div class="item left" data-component="bucket-topLeft"></div>
|
|
3048
3048
|
`}
|
|
3049
3049
|
<div class="item center" data-component="bucket-topCenter"></div>
|
|
3050
3050
|
<div class="item right" data-component="bucket-topRight"></div>
|
|
3051
|
-
`}get bucket(){return this.parentComponent}async updated(){if(!this.bucket)return;let t=!1;for(const e of this.items){const i=await this.bucket.components.get(e.dataset.component);St(e),i&&(e.appendChild(i),t=!0)}t||kt(this)}firstUpdated(){this.layout()}layout(){this.bucket?.compact||this.bucket?.container?.containers[0]&&!this.bucket.container.items[0].collapsed&&this.leftItem&&jt(this.leftItem,{w:this.bucket.container.containers[0].offsetWidth})}};
|
|
3051
|
+
`}get bucket(){return this.parentComponent}async updated(){if(!this.bucket)return;let t=!1;for(const e of this.items){const i=await this.bucket.components.get(e.dataset.component);St(e),i&&(e.appendChild(i),t=!0)}t||kt(this)}firstUpdated(){this.layout()}layout(){this.bucket?.compact||this.bucket?.container?.containers[0]&&!this.bucket.container.items[0].collapsed&&this.leftItem&&jt(this.leftItem,{w:this.bucket.container.containers[0].offsetWidth})}};Yg.styles=[Ug],Gg([Pn(".item")],Yg.prototype,"items",void 0),Gg([On(".left")],Yg.prototype,"leftItem",void 0),Yg=Gg([In("og-bucket-top")],Yg);var qg=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let Zg=class extends En{constructor(){super(...arguments),this.active=!1,this.render=()=>ln`
|
|
3052
3052
|
<div class="inner">
|
|
3053
3053
|
<div class="icon">
|
|
3054
3054
|
<og-icon .icon="${this.iconSpec}"></og-icon>
|
|
@@ -3126,7 +3126,7 @@
|
|
|
3126
3126
|
.statusicon {
|
|
3127
3127
|
color: var(--og-accent-color);
|
|
3128
3128
|
}
|
|
3129
|
-
`,
|
|
3129
|
+
`,qg([$n({type:String})],Zg.prototype,"text",void 0),qg([$n()],Zg.prototype,"icon",void 0),qg([$n({type:Boolean,reflect:!0})],Zg.prototype,"active",void 0),qg([$n({type:String})],Zg.prototype,"statusIcon",void 0),Zg=qg([In("og-bucket-button")],Zg);var Xg=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let Qg=class extends pu{constructor(){super(...arguments),this.pathPosition="top",this.isEdited=!1,this._onEdit=()=>{this.isEdited||(this.bucket.editorContainer.model.walk((t=>{t.id==this.componentId&&(t.unsaved=!0)})),this.isEdited=!0,this.bucket.editorContainer.updateTabs(),this.bucket.components.unsavedComponents.add(this.componentId))},this._onSave=()=>{this.isEdited&&(this.bucket.editorContainer.model.walk((t=>{t.id==this.componentId&&(t.unsaved=!1)})),this.isEdited=!1,this.bucket.editorContainer.updateTabs(),this.bucket.components.unsavedComponents.delete(this.componentId))},this.renderHead=()=>ln`
|
|
3130
3130
|
<div class="head" style="display: none">
|
|
3131
3131
|
<og-bucket-path></og-bucket-path>
|
|
3132
3132
|
</div>
|
|
@@ -3274,7 +3274,7 @@
|
|
|
3274
3274
|
height: 100%;
|
|
3275
3275
|
border: none;
|
|
3276
3276
|
}
|
|
3277
|
-
`,Dm([$n({type:Object,noAccessor:!0})],Pm.prototype,"options",null),Dm([$n({type:String,noAccessor:!0})],Pm.prototype,"modifiedContent",null),Dm([$n({type:String,noAccessor:!0})],Pm.prototype,"originalContent",null),Dm([$n({type:String,noAccessor:!0})],Pm.prototype,"language",null),Dm([$n({type:Number})],Pm.prototype,"zIndex",void 0),Dm([$n({type:Object})],Pm.prototype,"positionOffset",void 0),Pm=Am=Dm([In("og-code-diff")],Pm);class jm extends(Tr()){get type(){return this._type}set type(t){this._type=t}get checkbox(){return this._checkbox}set checkbox(t){this._checkbox=t}get key(){return this._key}set key(t){this._key=t}get value(){return this._value}set value(t){this._value=t}get htmlValue(){return this._htmlValue}set htmlValue(t){this._htmlValue=t}get icon(){return this._icon}set icon(t){this._icon=t}get folder(){return this._folder}set folder(t){this._folder=t}get renderer(){return this._renderer||this.model.options.nodeRenderer}set renderer(t){this._renderer=t}get properties(){return this._properties}set properties(t){this._properties=t}constructor(t,e){super(),this.model=t,this.subLevels=null,this._checkbox=null,this.populate(e)}populate(t){super.populate(t),this.key=t.hasOwnProperty("key")?t.key:t.k,this.value=((t.hasOwnProperty("value")?t.value:t.v)??"").toString(),this.type=t.t,this.icon=t.icon,this.folder=t.folder,this.checkbox=t.ch??null,this.renderer=t.renderer,this._properties=t.props}getSourceData(){const t=super.getSourceData();return this.key&&(t.k=this.key),this.value&&(t.v=this.value),this.type&&(t.t=this.type),this.icon&&(t.icon=this.icon),this.folder&&(t.folder=this.folder),null!=this.checkbox&&(t.ch=this.checkbox),this.properties&&(t.props=this.properties),t}}class Hm{get maxLevel(){return this._maxLevel}get root(){return this._root}get nodes(){return this._nodes}get visibleNodes(){return this._visibleNodes}getNodeByViewIndex(t){return this.visibleNodes[t]}constructor(t,e){this.options=e,this.nodeMap=new Map,this._maxLevel=-1,this.populate(t)}populate(t){this._root=new jm(this,{k:null,v:null,i:-1}),this._root.level=-1,this._nodes=t.map(((t,e)=>new jm(this,{...t,i:e}))),this._maxLevel=Dr(this._nodes,this._root),this.indexNodes(!0),this.indexVisibleNodes()}insertNodes(t,e){const i=this.nodes[t].parent,o=isNaN(e)?e.length:e,r=isNaN(e)?e:new Array(o).fill(null).map((()=>new jm(this,{})));return this.nodes.splice(t,0,...r),this.maxLevel>0&&i.insertChildren(r,t-(i.index||-1)-1),this.indexNodes(),this.indexVisibleNodes(),r}deleteNodes(t,e){const i=this.nodes[t].parent,o=this.nodes.splice(t,e);return i?.deleteChildren(o),this.indexNodes(!0),this.indexVisibleNodes(),o}calculateNodeLevels(t){let e=t.parent;for(;e;)e.subLevels=Math.max(e.subLevels,t.level-e.level+(t.hasChildren?1:0)),e=e.parent}indexNodes(t=!1){this.nodeMap.clear(),this._nodes.forEach(((e,i)=>{e.index=i,this.nodeMap.set(e.key,e),t&&this.calculateNodeLevels(e)}))}indexNodesByTree(t=!1){this.nodeMap.clear(),this._nodes=[];let e=0;this.root.walk((i=>{i.index=e++,i.visibleIndex=null,this._nodes.push(i),this.nodeMap.set(i.key,i),t&&this.calculateNodeLevels(i)})),this._maxLevel=this.root.subLevels-1,this.indexVisibleNodes()}indexVisibleNodes(){this._visibleNodes=[];const t=this.options?.pageSize;t>0?this.root.walkVisible((t=>{t.visibleIndex=this._visibleNodes.length,this._visibleNodes.push(t),t.parent&&t.parent.lastChild===t&&t.parent.isPartialyLoaded&&this._visibleNodes.push({placeholder:!0,parent:t.parent})})):this.root.walkVisible((t=>{t.visibleIndex=this._visibleNodes.length,this._visibleNodes.push(t)}))}getSourceData(){return this.nodes.map((t=>t.getSourceData()))}}var Fm,Bm,Wm;function Vm(t){return t.map((t=>Array.isArray(t)?t:[t.toString(),0,1]))}!function(t){t.None="none",t.Single="single",t.Multiple="multiple",t.MultipleLevels="multipleLevels"}(Fm||(Fm={})),function(t){t.Numeric="n",t.Text="t",t.Date="d",t.Boolean="b"}(Bm||(Bm={})),function(t){t[t.None=0]="None",t[t.Checked=1]="Checked",t[t.CheckedByParent=2]="CheckedByParent",t[t.Unchecked=3]="Unchecked"}(Wm||(Wm={}));class Um{get count(){return this.items.size}constructor(t,e){this.options=t,this.items=new Map,e&&this.populate(e)}ensureItem(t,e){this.items.has(t)||this.items.set(t,{levels:new Map});const i=this.items.get(t);return null!=e&&(i.value=e),i}setItems(t){this.populate(t??[])}populate(t){const e=this.items;this.items=new Map,t.forEach((t=>{const i=t[3]?.v??t[3]?.value??e.get(t[0])?.value,o=this.ensureItem(t[0],i);o.levels.set(t[1]??0,1==(t[2]??1)),t[3]&&Object.assign(o,t[3])}))}getPropertySerializer(t){return(e,i)=>t.reduce(((t,o)=>(t[o]="v"==o||"value"==o?i.value??this.model?.nodeMap.get(e)?.value:this.model?.nodeMap.get(e)?.value,t)),{})}serialize(t){const e=[],i=t?.length?this.getPropertySerializer(t):null;return this.items.forEach(((t,o)=>{const r=i?i(o,t):null;t.levels.forEach(((t,i)=>e.push(r?[o,i,t?1:0,r]:[o,i,t?1:0])))})),e}clear(){this.items.clear()}validateChange(t,e,i){return this.options.selectMode!=Fm.Single||!1!==i||1!=this.items.size}toggle(t,e){let i=this.ensureItem(t.key,t.value);const o=i.levels.has(e)?i.levels.get(e):null;return this.validateChange(t,e,!i.levels.has(e)||!i.levels.get(e))?(o?i.levels.delete(e):this.options.selectMode==Fm.MultipleLevels?0==e&&this.isSelectedByParent(t)?!1===o?i.levels.delete(0):i.levels.set(0,!1):i.levels.set(e,!0):(this.options.selectMode==Fm.Single&&(this.clear(),i=this.ensureItem(t.key,t.value)),0==e?i.levels.set(0,!0):this.toggleChildNodes(t,e)),0==i.levels.size&&this.clearItemSelection(t),this):this}select(t,e,i=!0){const o=this.ensureItem(t.key,t.value);return this.validateChange(t,e,null===i?!!o.levels.has(e)&&o.levels.get(e):i)?(!0===i?o.levels.set(e,!0):!1===i&&this.options.selectMode==Fm.MultipleLevels?o.levels.set(e,!1):o.levels.delete(e),0==o.levels.size&&this.clearItemSelection(t),this):this}deselect(t,e){return this.validateChange(t,e,!1)?(this.items.has(t.key)&&(this.items.get(t.key).levels.delete(e),0==this.items.get(t.key).levels.size&&this.clearItemSelection(t)),this):this}clearItemSelection(t){this.items.delete(t.key)}getLevelSelection(t){return this.items.has(t.key)?this.items.get(t.key).levels:new Map}getValue(t,e,i=null){return this.items.has(t.key)?((t,e,i=null)=>t.has(e)?t.get(e):i)(this.items.get(t.key).levels,e,i):i}isSelectedByParent(t){let e=t.parent,i=0;for(;e;){if(this.getValue(e,++i,!1))return!0;e=e.parent}return!1}getSelectionStatus(t){const e=this.getValue(t,0,null);return!0===e?Wm.Checked:!1===e?Wm.Unchecked:this.options.selectMode==Fm.MultipleLevels&&this.isSelectedByParent(t)?Wm.CheckedByParent:Wm.None}toggleChildNodes(t,e){const i=t.level;let o=null;t.walk((t=>{if(t.level-i==e)return null===o&&(o=this.getSelectionStatus(t)!=Wm.Checked),this.select(t,0,!!o||null),!1}))}}const Gm={DEFAULT_NODE_HEIGHT:20,DEFAULT_MAX_NODES:10,RENDERING_NODE_TRESHOLD:20,TREE_COLUMN_WIDTH:16,MAX_HIGHLIGHT_ITEM_OFFSET:2,SEARCH_DEBOUNCE_DELAY:300,...G},
|
|
3277
|
+
`,Dm([$n({type:Object,noAccessor:!0})],Pm.prototype,"options",null),Dm([$n({type:String,noAccessor:!0})],Pm.prototype,"modifiedContent",null),Dm([$n({type:String,noAccessor:!0})],Pm.prototype,"originalContent",null),Dm([$n({type:String,noAccessor:!0})],Pm.prototype,"language",null),Dm([$n({type:Number})],Pm.prototype,"zIndex",void 0),Dm([$n({type:Object})],Pm.prototype,"positionOffset",void 0),Pm=Am=Dm([In("og-code-diff")],Pm);class jm extends(Tr()){get type(){return this._type}set type(t){this._type=t}get checkbox(){return this._checkbox}set checkbox(t){this._checkbox=t}get key(){return this._key}set key(t){this._key=t}get value(){return this._value}set value(t){this._value=t}get htmlValue(){return this._htmlValue}set htmlValue(t){this._htmlValue=t}get icon(){return this._icon}set icon(t){this._icon=t}get folder(){return this._folder}set folder(t){this._folder=t}get renderer(){return this._renderer||this.model.options.nodeRenderer}set renderer(t){this._renderer=t}get properties(){return this._properties}set properties(t){this._properties=t}constructor(t,e){super(),this.model=t,this.subLevels=null,this._checkbox=null,this.populate(e)}populate(t){super.populate(t),this.key=t.hasOwnProperty("key")?t.key:t.k,this.value=((t.hasOwnProperty("value")?t.value:t.v)??"").toString(),this.type=t.t,this.icon=t.icon,this.folder=t.folder,this.checkbox=t.ch??null,this.renderer=t.renderer,this._properties=t.props}getSourceData(){const t=super.getSourceData();return this.key&&(t.k=this.key),this.value&&(t.v=this.value),this.type&&(t.t=this.type),this.icon&&(t.icon=this.icon),this.folder&&(t.folder=this.folder),null!=this.checkbox&&(t.ch=this.checkbox),this.properties&&(t.props=this.properties),t}}class Hm{get maxLevel(){return this._maxLevel}get root(){return this._root}get nodes(){return this._nodes}get visibleNodes(){return this._visibleNodes}getNodeByViewIndex(t){return this.visibleNodes[t]}constructor(t,e){this.options=e,this.nodeMap=new Map,this._maxLevel=-1,this.populate(t)}populate(t){this._root=new jm(this,{k:null,v:null,i:-1}),this._root.level=-1,this._nodes=t.map(((t,e)=>new jm(this,{...t,i:e}))),this._maxLevel=Dr(this._nodes,this._root),this.indexNodes(!0),this.indexVisibleNodes()}insertNodes(t,e){const i=this.nodes[t].parent,o=isNaN(e)?e.length:e,r=isNaN(e)?e:new Array(o).fill(null).map((()=>new jm(this,{})));return this.nodes.splice(t,0,...r),this.maxLevel>0&&i.insertChildren(r,t-(i.index||-1)-1),this.indexNodes(),this.indexVisibleNodes(),r}deleteNodes(t,e){const i=this.nodes[t].parent,o=this.nodes.splice(t,e);return i?.deleteChildren(o),this.indexNodes(!0),this.indexVisibleNodes(),o}calculateNodeLevels(t){let e=t.parent;for(;e;)e.subLevels=Math.max(e.subLevels,t.level-e.level+(t.hasChildren?1:0)),e=e.parent}indexNodes(t=!1){this.nodeMap.clear(),this._nodes.forEach(((e,i)=>{e.index=i,this.nodeMap.set(e.key,e),t&&this.calculateNodeLevels(e)}))}indexNodesByTree(t=!1){this.nodeMap.clear(),this._nodes=[];let e=0;this.root.walk((i=>{i.index=e++,i.visibleIndex=null,this._nodes.push(i),this.nodeMap.set(i.key,i),t&&this.calculateNodeLevels(i)})),this._maxLevel=this.root.subLevels-1,this.indexVisibleNodes()}indexVisibleNodes(){this._visibleNodes=[];const t=this.options?.pageSize;t>0?this.root.walkVisible((t=>{t.visibleIndex=this._visibleNodes.length,this._visibleNodes.push(t),t.parent&&t.parent.lastChild===t&&t.parent.isPartialyLoaded&&this._visibleNodes.push({placeholder:!0,parent:t.parent})})):this.root.walkVisible((t=>{t.visibleIndex=this._visibleNodes.length,this._visibleNodes.push(t)}))}getSourceData(){return this.nodes.map((t=>t.getSourceData()))}}var Fm,Bm,Wm;function Vm(t){return t.map((t=>Array.isArray(t)?t:[t.toString(),0,1]))}!function(t){t.None="none",t.Single="single",t.Multiple="multiple",t.MultipleLevels="multipleLevels"}(Fm||(Fm={})),function(t){t.Numeric="n",t.Text="t",t.Date="d",t.Boolean="b"}(Bm||(Bm={})),function(t){t[t.None=0]="None",t[t.Checked=1]="Checked",t[t.CheckedByParent=2]="CheckedByParent",t[t.Unchecked=3]="Unchecked"}(Wm||(Wm={}));class Um{get count(){return this.items.size}constructor(t,e){this.options=t,this.items=new Map,e&&this.populate(e)}ensureItem(t,e){this.items.has(t)||this.items.set(t,{levels:new Map});const i=this.items.get(t);return null!=e&&(i.value=e),i}setItems(t){this.populate(t??[])}populate(t){const e=this.items;this.items=new Map,t.forEach((t=>{const i=t[3]?.v??t[3]?.value??e.get(t[0])?.value,o=this.ensureItem(t[0],i);o.levels.set(t[1]??0,1==(t[2]??1)),t[3]&&Object.assign(o,t[3])}))}getPropertySerializer(t){return(e,i)=>t.reduce(((t,o)=>(t[o]="v"==o||"value"==o?i.value??this.model?.nodeMap.get(e)?.value:this.model?.nodeMap.get(e)?.value,t)),{})}serialize(t){const e=[],i=t?.length?this.getPropertySerializer(t):null;return this.items.forEach(((t,o)=>{const r=i?i(o,t):null;t.levels.forEach(((t,i)=>e.push(r?[o,i,t?1:0,r]:[o,i,t?1:0])))})),e}clear(){this.items.clear()}validateChange(t,e,i){return this.options.selectMode!=Fm.Single||!1!==i||1!=this.items.size}toggle(t,e){let i=this.ensureItem(t.key,t.value);const o=i.levels.has(e)?i.levels.get(e):null;return this.validateChange(t,e,!i.levels.has(e)||!i.levels.get(e))?(o?i.levels.delete(e):this.options.selectMode==Fm.MultipleLevels?0==e&&this.isSelectedByParent(t)?!1===o?i.levels.delete(0):i.levels.set(0,!1):i.levels.set(e,!0):(this.options.selectMode==Fm.Single&&(this.clear(),i=this.ensureItem(t.key,t.value)),0==e?i.levels.set(0,!0):this.toggleChildNodes(t,e)),0==i.levels.size&&this.clearItemSelection(t),this):this}select(t,e,i=!0){const o=this.ensureItem(t.key,t.value);return this.validateChange(t,e,null===i?!!o.levels.has(e)&&o.levels.get(e):i)?(!0===i?o.levels.set(e,!0):!1===i&&this.options.selectMode==Fm.MultipleLevels?o.levels.set(e,!1):o.levels.delete(e),0==o.levels.size&&this.clearItemSelection(t),this):this}deselect(t,e){return this.validateChange(t,e,!1)?(this.items.has(t.key)&&(this.items.get(t.key).levels.delete(e),0==this.items.get(t.key).levels.size&&this.clearItemSelection(t)),this):this}clearItemSelection(t){this.items.delete(t.key)}getLevelSelection(t){return this.items.has(t.key)?this.items.get(t.key).levels:new Map}getValue(t,e,i=null){return this.items.has(t.key)?((t,e,i=null)=>t.has(e)?t.get(e):i)(this.items.get(t.key).levels,e,i):i}isSelectedByParent(t){let e=t.parent,i=0;for(;e;){if(this.getValue(e,++i,!1))return!0;e=e.parent}return!1}getSelectionStatus(t){const e=this.getValue(t,0,null);return!0===e?Wm.Checked:!1===e?Wm.Unchecked:this.options.selectMode==Fm.MultipleLevels&&this.isSelectedByParent(t)?Wm.CheckedByParent:Wm.None}toggleChildNodes(t,e){const i=t.level;let o=null;t.walk((t=>{if(t.level-i==e)return null===o&&(o=this.getSelectionStatus(t)!=Wm.Checked),this.select(t,0,!!o||null),!1}))}}const Gm={DEFAULT_NODE_HEIGHT:20,DEFAULT_MAX_NODES:10,RENDERING_NODE_TRESHOLD:20,TREE_COLUMN_WIDTH:16,MAX_HIGHLIGHT_ITEM_OFFSET:2,SEARCH_DEBOUNCE_DELAY:300,...G},Ym={nodeHeight:Gm.DEFAULT_NODE_HEIGHT,renderingNodeTreshold:Gm.RENDERING_NODE_TRESHOLD,selectMode:Fm.MultipleLevels,levelIndent:10,maxLevel:null,globalLevels:!0,levelsAlwaysVisible:!0,allowEmpty:!0,itemProperties:[],itemTypeOptions:{},expanders:!0,search:!1,checkboxes:!0,autoClose:!1,folderOptions:null,alwaysRefresh:!1};function qm(t,e=null){return{...ss(t,e),...Ym,...e,...t}}const Zm=ks`
|
|
3278
3278
|
:host {
|
|
3279
3279
|
font-size: var(--og-font-size);
|
|
3280
3280
|
font-family: var(--og-font-family);
|
|
@@ -3416,7 +3416,7 @@
|
|
|
3416
3416
|
.item:hover div.lvl {
|
|
3417
3417
|
display: flex;
|
|
3418
3418
|
}
|
|
3419
|
-
`,Qm=Un({display:"block",position:"relative",top:"5px",left:"4px"}),Km={[Wm.Checked]:{value:"checked",color:null},[Wm.CheckedByParent]:{value:"checked",color:"#555555"},[Wm.None]:{value:"none",color:null},[Wm.Unchecked]:{value:"unchecked",color:"#ff0000"}};class Jm{get term(){return this._term}get hasFilter(){return""==this._term||null==this._term}constructor(t){this.model=t,this._term=null,this._property="value"}filter(t){this._term=t;const e=((t,e)=>{const i=new RegExp(`${ut(ct(t))}`,"ig");let o;return t=>{const r=[];for(;o=i.exec(ct((t[e]??"").toString()));)r.push([o.index,i.lastIndex]);return r}})(this._term,this._property);let i;this.model.nodes.forEach((o=>{o.collapsed=!1,o.htmlValue=null,t?(i=e(o),o.filterState=i.length>0?Ir.Matched:Ir.Filtered):(o.filterState=Ir.Matched,o.collapse()),o.filterState==Ir.Matched&&(o.walkUp((t=>{t.filterState==Ir.Filtered&&(t.filterState=Ir.ChildMatched)})),t&&(o.htmlValue=ne(o.value,i)))})),this.model.indexVisibleNodes()}clear(){this._term=null,this.model.nodes.forEach((t=>{t.filterState=Ir.Matched,t.collapsed=!1,t.htmlValue=null})),this.model.indexVisibleNodes()}}var tf=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class ef extends Event{constructor(t,e){super(t,{bubbles:!1,cancelable:!0,composed:!1}),Object.assign(this,e)}}class of extends PointerEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}class rf extends DragEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}let sf=class extends En{get size(){return this.model?.visibleNodes.length??0}get hasGlobalLevels(){return(this.options.selectMode==Fm.Multiple||this.options.selectMode==Fm.MultipleLevels)&&this.options.globalLevels&&this.model.maxLevel>0}constructor(){super(),this.options=
|
|
3419
|
+
`,Qm=Un({display:"block",position:"relative",top:"5px",left:"4px"}),Km={[Wm.Checked]:{value:"checked",color:null},[Wm.CheckedByParent]:{value:"checked",color:"#555555"},[Wm.None]:{value:"none",color:null},[Wm.Unchecked]:{value:"unchecked",color:"#ff0000"}};class Jm{get term(){return this._term}get hasFilter(){return""==this._term||null==this._term}constructor(t){this.model=t,this._term=null,this._property="value"}filter(t){this._term=t;const e=((t,e)=>{const i=new RegExp(`${ut(ct(t))}`,"ig");let o;return t=>{const r=[];for(;o=i.exec(ct((t[e]??"").toString()));)r.push([o.index,i.lastIndex]);return r}})(this._term,this._property);let i;this.model.nodes.forEach((o=>{o.collapsed=!1,o.htmlValue=null,t?(i=e(o),o.filterState=i.length>0?Ir.Matched:Ir.Filtered):(o.filterState=Ir.Matched,o.collapse()),o.filterState==Ir.Matched&&(o.walkUp((t=>{t.filterState==Ir.Filtered&&(t.filterState=Ir.ChildMatched)})),t&&(o.htmlValue=ne(o.value,i)))})),this.model.indexVisibleNodes()}clear(){this._term=null,this.model.nodes.forEach((t=>{t.filterState=Ir.Matched,t.collapsed=!1,t.htmlValue=null})),this.model.indexVisibleNodes()}}var tf=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class ef extends Event{constructor(t,e){super(t,{bubbles:!1,cancelable:!0,composed:!1}),Object.assign(this,e)}}class of extends PointerEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}class rf extends DragEvent{constructor(t,e,i){super(`tree.${t}`,e),Object.assign(this,i)}}let sf=class extends En{get size(){return this.model?.visibleNodes.length??0}get hasGlobalLevels(){return(this.options.selectMode==Fm.Multiple||this.options.selectMode==Fm.MultipleLevels)&&this.options.globalLevels&&this.model.maxLevel>0}constructor(){super(),this.options=qm(),this.selection=new Um(this.options),this.logger=new Sr("Ωtree"),this.maxHeight=null,this.itemHeight=Gm.LIST_ITEM_HEIGHT,this.disableAutoload=!1,this.loading=!1,this.noMatches=!1,this.awaitFilter=!1,this.currentFilter="",this.loadingNodes=new Set,this._onDragover=t=>{if(this.options.fileDrop&&(t.preventDefault(),t.stopPropagation(),"Files"==t.dataTransfer.types[0])){t.dataTransfer.dropEffect="move";const e=t.composedPath().find((t=>t.classList&&t.classList.contains("item")));this._onDragLeave(),e&&e.classList.add("drag"),this._lastDragItem=e}},this._onDrop=t=>{t.preventDefault(),this._onDragLeave();const e=t.composedPath().find((t=>t.classList&&t.classList.contains("item"))),i=this.model.nodes[parseInt(e.dataset.node)];this.dispatchEvent(new rf("drop",t,{tree:this,node:i}))},this._onDragLeave=()=>{this._lastDragItem&&this._lastDragItem.classList.remove("drag"),this._lastDragItem=null},this.keyActions={ArrowRight:()=>{const t=this.model.visibleNodes[this.list.selectedIndex];t.collapsed&&(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size)},ArrowLeft:()=>{const t=this.model.visibleNodes[this.list.selectedIndex];t.collapsed||(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size)}},this._onGlobalLevelSelect=async t=>{this.toggleNode(this.model.root,t.level,!0),this.globalTreeLevels.requestUpdate(),this.requestUpdate(),await this.list.updateComplete,this.list.renderItems(!0)},this._onSearch=()=>{this.list.size=this.size,this.list.select(0),this.renderItems(!0),this.noMatches=0==this.size},this._onListRender=()=>{this.awaitFilter&&(this.filter(this.currentFilter),this.awaitFilter=null)},this._onListMenu=t=>{this.dispatchEvent(new of("menu",t,{tree:this,node:this.model.visibleNodes[t.index]}))},this.addEventListener("dragover",this._onDragover),this.addEventListener("dragleave",this._onDragLeave),this.addEventListener("drop",this._onDrop)}destroy(){this.logger.info("destroy")}connectedCallback(){super.connectedCallback(),this.logger.info("init"),this.tabIndex=0}setSourceData(t,e=null){Object.assign(this.options,e??{}),this.model=new Hm(t,this.options),t?.length>0&&void 0!==t[0].s&&this.selection.setItems(t.filter((t=>t.s)).map((t=>[t.k,0,1]))),this.dispatchEvent(new ef("load",{component:this}))}setValue(t){this.selection.populate(t)}async loadData(t){this.loading=!0,this.list&&(this.list.size=0),this.model=null,t=t??{};const[e,i]=await Promise.all([this.adapter.getTree(t),this.adapter.getOptions()]);this.setSourceData(e,i),i?.pageSize>0&&(this.updateNodeLoadState(this.model.root,this.model.root.children.length),this.model.indexVisibleNodes()),this.loading=!1,this.pendingHighlight&&(await this.updateComplete,await this.highlightNode(this.pendingHighlight),this.pendingHighlight=null)}async loadMore(t){const e=t.children.length,i=await this.adapter.getTree({parent:t,parentKey:t.key,offset:e}),o=new Hm(i,this.options);t.insertChildren(o.root.children,e),this.updateNodeLoadState(t,o.root.children.length),this.model.indexNodesByTree(!0),this.list.size=this.size,this.list.requestUpdate()}async refresh(){await this.loadData({filter:this.currentFilter})}willUpdate(t){t.has("adapter")&&this.adapter&&(this.model=null,this.adapter.attach(this),this.disableAutoload||this.loadData()),this.model=this.model??new Hm([],null),this.filtering=new Jm(this.model),this.selection.model=this.model,t.has("options")&&(this.options=qm(this.options),this.model.options=this.options,this.selection.options=this.options)}updated(t){t.has("model")&&this.list&&(this.list.size=this.size,this.noMatches=this.noMatches&&0==this.size,this.list.requestUpdate())}async firstUpdated(){var t;this.value&&this.selection.setItems(this.value??[]),this.list.itemRenderer=(t=this,(e,i,o)=>{const r=t.model.visibleNodes[i];if(r.placeholder)return((t,e)=>{const i=e.parent,o=i.model.options;return e.element=t,ln`
|
|
3420
3420
|
<div
|
|
3421
3421
|
class="placeholder"
|
|
3422
3422
|
style="${Un({paddingLeft:(i.level+1)*o.levelIndent+5+"px"})}">
|
|
@@ -3459,7 +3459,7 @@
|
|
|
3459
3459
|
</og-tree-levels>
|
|
3460
3460
|
</div>
|
|
3461
3461
|
`:""}
|
|
3462
|
-
`}),Lt(this.list,"toggle",".item",(async(t,e)=>{const i=this.model.nodes[parseInt(e.dataset.node)];this.toggleNodeCollapse(i),this.model.indexVisibleNodes(),this.list.size=this.size})),Lt(this.list,"levelselect",".item",((t,e)=>{this.toggleNode(this.model.nodes[parseInt(e.dataset.node)],t.level,!0)})),Lt(this.list,"contextmenu",".item",((t,e)=>{t.preventDefault();const i=this.model.nodes[parseInt(e.dataset.node)];this.selection.select(i,0,!1),this.list.renderItems(!0)})),this.list.addEventListener("select",(t=>{if(t.stopPropagation(),t.trigger!=pp.Arrow&&!(t.elm instanceof
|
|
3462
|
+
`}),Lt(this.list,"toggle",".item",(async(t,e)=>{const i=this.model.nodes[parseInt(e.dataset.node)];this.toggleNodeCollapse(i),this.model.indexVisibleNodes(),this.list.size=this.size})),Lt(this.list,"levelselect",".item",((t,e)=>{this.toggleNode(this.model.nodes[parseInt(e.dataset.node)],t.level,!0)})),Lt(this.list,"contextmenu",".item",((t,e)=>{t.preventDefault();const i=this.model.nodes[parseInt(e.dataset.node)];this.selection.select(i,0,!1),this.list.renderItems(!0)})),this.list.addEventListener("select",(t=>{if(t.stopPropagation(),t.trigger!=pp.Arrow&&!(t.elm instanceof Yu)){const e=this.model.visibleNodes[t.index];if(e instanceof jm){const t=e;t.checkbox??this.options.selectMode!=Fm.None?this.toggleNode(t,0,!0):(this.toggleNodeCollapse(t),this.model.indexVisibleNodes(),this.list.size=this.size),this.dispatchEvent(new ef("select",{component:this,node:t}))}else if(e){const t=e;if(t.loading)return;t.loading=!0,t.element.querySelector("og-icon").icon="hourglass-half",this.loadMore(t.parent)}}})),this.list.addEventListener("keydown",(t=>{const e=this.keyActions[t.key];if(e)e();else if(!isNaN(parseInt(t.key))){const e=parseInt(t.key),i=this.model.visibleNodes[this.list.selectedIndex];i.subLevels>=e&&this.toggleNode(i,e,!0)}}))}toggleNode(t,e,i=!1){this.selection.toggle(t,e),this.list.renderItems(!0),setTimeout((()=>this.list.focus())),i&&this.dispatchEvent(new ef("change",{component:this,node:t}))}updateNodeLoadState(t,e){this.options.pageSize>0&&(e<this.options.pageSize?t.count=t.children.length:t.count=t.children.length+1)}async toggleNodeCollapse(t,e=!0){if(t.toggleCollapse(),!t.isLoaded&&!t.isPartialyLoaded&&this.adapter&&!this.loadingNodes.has(t.key)){this.loadingNodes.add(t.key),this.list.requestUpdate();const e=await this.adapter.getTree({parent:t,parentKey:t.key,offset:0}),i=new Hm(e,this.options);t.insertChildren(i.root.children,0),this.updateNodeLoadState(t,t.children.length),this.model.indexNodesByTree(!0),this.list.size=this.size,this.list.requestUpdate(),this.loadingNodes.delete(t.key),this.globalTreeLevels&&(this.globalTreeLevels.count=this.model.maxLevel+1)}e&&this.dispatchEvent(new ef("tree.collapse",{component:this,node:t}))}toggleTreeCollapse(t,e=!0){0!=this.model.nodes.length&&(t||((t=this.model.root).collapsed=this.model.nodes[0].collapsed),t.toggleCollapse(!0),this.model.indexVisibleNodes(),this.list.size=this.size,e&&this.dispatchEvent(new ef("tree.collapse",{component:this,node:t})))}get itemStyle(){const t=this.options?.customStyle;return[Xm,...t?Array.isArray(t)?t:[t]:[]]}render(){this.logger.info(`render ${this.model?.visibleNodes.length??0}`);const t=ln`
|
|
3463
3463
|
<div class="main" style="${Un({overflow:"hidden",maxHeight:this.maxHeight?Dt(this.maxHeight):null})}">
|
|
3464
3464
|
<og-list
|
|
3465
3465
|
size="${this.size}"
|
|
@@ -3557,7 +3557,7 @@
|
|
|
3557
3557
|
margin-left: 2px;
|
|
3558
3558
|
}
|
|
3559
3559
|
|
|
3560
|
-
`;var lf=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let cf=class extends Ru{reset(){this._tree=null}get hasCrossButton(){return this.cross&&(this.selection.count>0&&this.options.allowEmpty||""!==this.searchTerm)}get tree(){return this._tree||(this._tree=new sf,this._tree.disableAutoload=!0,this._tree.model=this.adapter?null:this.model,this._tree.adapter=this.adapter,this._tree.selection=this.selection,this._tree.options=this.options,this._tree.maxHeight=this.maxHeight,this._tree.addEventListener("change",(t=>this._onChange(t))),this._tree.addEventListener("render",this._onTreeRender),this._tree.slot="inner-content"),this._tree}_onChange(t){this._autoHighlight=!1,this.selectedItems=null,this.selectedItems=t.component.selection.items,this.value=t.component.selection.serialize(),this.options.autoClose&&this.close(),this.dispatchEvent(new ef(t.type,{component:t.component,node:t.node}))}async open(){this.tree.parentElement!=this.dropdown&&this.dropdown.appendChild(this._tree),await super.open(),this.dynamicWidth&&this._debounceWidthUpdate()}async willUpdate(t){this.buttonInput&&(this.options.search=!1),t.has("value")&&(this.selection.setItems(this.value),this.selectedItems=null,this.selectedItems=this.selection.items,this.isOpen&&this.tree&&(this._autoHighlight?this.tree.highlightFirstSelectedNode():this._autoHighlight=!0,this.tree.renderItems(!0))),this._tree&&(t.has("adapter")&&(this._tree.adapter=this.adapter),t.has("model")&&(this._tree.model=this.model)),t.has("adapter")&&this.adapter&&(this._firstOpen=!0,this.options=
|
|
3560
|
+
`;var lf=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let cf=class extends Ru{reset(){this._tree=null}get hasCrossButton(){return this.cross&&(this.selection.count>0&&this.options.allowEmpty||""!==this.searchTerm)}get tree(){return this._tree||(this._tree=new sf,this._tree.disableAutoload=!0,this._tree.model=this.adapter?null:this.model,this._tree.adapter=this.adapter,this._tree.selection=this.selection,this._tree.options=this.options,this._tree.maxHeight=this.maxHeight,this._tree.addEventListener("change",(t=>this._onChange(t))),this._tree.addEventListener("render",this._onTreeRender),this._tree.slot="inner-content"),this._tree}_onChange(t){this._autoHighlight=!1,this.selectedItems=null,this.selectedItems=t.component.selection.items,this.value=t.component.selection.serialize(),this.options.autoClose&&this.close(),this.dispatchEvent(new ef(t.type,{component:t.component,node:t.node}))}async open(){this.tree.parentElement!=this.dropdown&&this.dropdown.appendChild(this._tree),await super.open(),this.dynamicWidth&&this._debounceWidthUpdate()}async willUpdate(t){this.buttonInput&&(this.options.search=!1),t.has("value")&&(this.selection.setItems(this.value),this.selectedItems=null,this.selectedItems=this.selection.items,this.isOpen&&this.tree&&(this._autoHighlight?this.tree.highlightFirstSelectedNode():this._autoHighlight=!0,this.tree.renderItems(!0))),this._tree&&(t.has("adapter")&&(this._tree.adapter=this.adapter),t.has("model")&&(this._tree.model=this.model)),t.has("adapter")&&this.adapter&&(this._firstOpen=!0,this.options=qm(await this.adapter.getOptions(),this.options)),this._renderDropdown=!0}async filter(t){this.input&&(this.searchTerm=t),await this.updateComplete,this.input&&(this.input.value=t),await this.tree.updateComplete,this.tree.filter(t)}async clearFilter(){this.input&&(this.searchTerm=""),await this.updateComplete,this.input&&(this.input.value=""),this.tree.clearFilter()}focus(){this.buttonInput?this.input?.focus():super.focus()}constructor(){super(),this.options=qm(),this.selection=new Um(this.options),this.maxHeight=300,this.maxWidth=400,this.cross=!1,this.buttonInput=!1,this.preventInputEnter=!1,this.dynamicWidth=!1,this.selectedItems=new Map,this.searchTerm="",this._renderDropdown=!0,this._firstOpen=!0,this._autoHighlight=!0,this.originalWidth=0,this._debounceWidthUpdate=Y((()=>{this.dropdown&&this.dropdown.isConnected&&(this.dynamicWidth&&this.adjustWidth(),Ut(this.dropdown))})),this._onTreeRender=()=>{this._debounceWidthUpdate()},this.tooltip=yt("og-tooltip"),this._onMouseOver=()=>{this.contentDiv&&this.contentDiv.scrollWidth>this.contentDiv.clientWidth&&(this.tooltip.parentElement||(document.body.appendChild(this.tooltip),Nt(this.tooltip,{w:this.button.offsetWidth})),this.tooltip.content=this.getSelectionHtml(),this.tooltip.attachTo(this.button,"bottom"))},this._onMouseOut=()=>{this.tooltip.deatach()},this._debounceFilter=Y((t=>{this.tree.filter(t),this.dispatchEvent(new ef("tree.filter"))}),300),this._onInput=async t=>{this.isOpen||await this.open();const e=t.target.value;this._debounceFilter(e),this.searchTerm=e},this._onInputKeyDown=t=>{switch(t.key){case"ArrowDown":t.preventDefault(),this.tree.list.moveDown();break;case"ArrowUp":t.preventDefault(),this.tree.list.moveUp();break;case"Enter":if(t.preventDefault(),this.preventInputEnter)return;this.tree.list.selectedIndex>-1&&(this.tree.list.select(this.tree.list.selectedIndex,pp.Enter),setTimeout((()=>this.input.focus()),100))}},this._onInputBlur=()=>this.input.value=this.getSelectionText(),this.render=()=>ln`
|
|
3561
3561
|
${this.buttonInput?ln`
|
|
3562
3562
|
<og-input
|
|
3563
3563
|
@input="${this._onInput}"
|
|
@@ -3623,7 +3623,7 @@
|
|
|
3623
3623
|
background-color: var(--og-accent-color);
|
|
3624
3624
|
color: #ffffff;
|
|
3625
3625
|
}
|
|
3626
|
-
`],hf([$n({type:Number})],uf.prototype,"count",void 0),hf([$n({type:Object})],uf.prototype,"selection",void 0),uf=hf([In("og-tree-levels")],uf);var pf=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class gf extends Event{constructor(t,e){super(`${t}`,{bubbles:!1,cancelable:!0,composed:!1}),this.component=e}}let mf=class extends En{constructor(){super(...arguments),this.debounceKeyUp=
|
|
3626
|
+
`],hf([$n({type:Number})],uf.prototype,"count",void 0),hf([$n({type:Object})],uf.prototype,"selection",void 0),uf=hf([In("og-tree-levels")],uf);var pf=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class gf extends Event{constructor(t,e){super(`${t}`,{bubbles:!1,cancelable:!0,composed:!1}),this.component=e}}let mf=class extends En{constructor(){super(...arguments),this.debounceKeyUp=Y((async t=>{dt(t.key)||(await this.tree.filter(this.searchInput.value),this.dispatchEvent(new gf("search",this)))}),Gm.SEARCH_DEBOUNCE_DELAY,{isImmediate:!1}),this._onKeyDown=t=>{switch(t.key){case"ArrowDown":t.preventDefault(),this.tree.list.moveDown();break;case"ArrowUp":t.preventDefault(),this.tree.list.moveUp();break;case"Enter":t.preventDefault(),this.tree.list.select(this.tree.list.selectedIndex,pp.Enter),setTimeout((()=>this.searchInput.focus()),100)}},this.render=()=>ln`
|
|
3627
3627
|
<og-icon icon="search"></og-icon>
|
|
3628
3628
|
|
|
3629
3629
|
<input id="searchInput"
|
|
@@ -3665,7 +3665,7 @@
|
|
|
3665
3665
|
background: var(--og-background-color);
|
|
3666
3666
|
color: var(--og-text-color);
|
|
3667
3667
|
}
|
|
3668
|
-
`],ff=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n}([In("og-tree-menu")],ff);var bf,yf,wf,xf,kf,Cf,Mf,_f,Sf,zf,Ef=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i},Lf=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};const If={format:"yyyy",collapsed:!0,selectable:!1,order:"desc"},Rf={format:"Q.'Q' yyyy",collapsed:!0,selectable:!1,order:"asc"},Tf={format:"LLLL yyyy",collapsed:!0,selectable:!1,order:"asc"},$f={format:"II. yyyy",collapsed:!0,selectable:!1,order:"asc"},Af={format:"dd.MM.yyyy",collapsed:!0,selectable:!0,order:"asc"},Df={locale:"cs",minDate:
|
|
3668
|
+
`],ff=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n}([In("og-tree-menu")],ff);var bf,yf,wf,xf,kf,Cf,Mf,_f,Sf,zf,Ef=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i},Lf=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};const If={format:"yyyy",collapsed:!0,selectable:!1,order:"desc"},Rf={format:"Q.'Q' yyyy",collapsed:!0,selectable:!1,order:"asc"},Tf={format:"LLLL yyyy",collapsed:!0,selectable:!1,order:"asc"},$f={format:"II. yyyy",collapsed:!0,selectable:!1,order:"asc"},Af={format:"dd.MM.yyyy",collapsed:!0,selectable:!0,order:"asc"},Df={locale:"cs",minDate:Yi(le(function(t,e){const{years:i=0,months:o=0,weeks:r=0,days:s=0,hours:n=0,minutes:a=0,seconds:l=0}=e,c=1e3*(l+60*(a+60*n));return ce(t,go(mo(t,o+12*i),s+7*r).getTime()-c)}(new Date,{years:5}))),maxDate:function(t){const e=ae(t),i=e.getFullYear();return e.setFullYear(i+1,0,0),e.setHours(23,59,59,999),e}(le(vf(new Date,{years:5}))),years:If,quarters:Rf,months:Tf,weeks:!1,days:Af,monthOffset:0},Of=t=>t instanceof Date?t:new Date(t+" 00:00:00");class Nf extends nf{constructor(t){super(),bf.set(this,void 0),yf.set(this,void 0),wf.set(this,void 0),xf.set(this,void 0),kf.set(this,void 0),Cf.set(this,void 0),Mf.set(this,void 0),_f.set(this,{}),Sf.set(this,[]),zf.set(this,void 0),Ef(this,bf,Object.assign({},Df,t),"f"),Lf(this,bf,"f").minDate=Of(Lf(this,bf,"f").minDate),Lf(this,bf,"f").maxDate=Of(Lf(this,bf,"f").maxDate),Lf(this,bf,"f").years&&(Lf(this,Sf,"f").push("y"),Ef(this,wf,Lf(this,bf,"f").years?Object.assign({},If,Lf(this,bf,"f").years):null,"f")),Lf(this,bf,"f").quarters&&(Lf(this,Sf,"f").push("q"),Ef(this,xf,Lf(this,bf,"f").quarters?Object.assign({},Rf,Lf(this,bf,"f").quarters):null,"f")),Lf(this,bf,"f").months&&(Lf(this,Sf,"f").push("m"),Ef(this,kf,Lf(this,bf,"f").months?Object.assign({},Tf,Lf(this,bf,"f").months):null,"f")),Lf(this,bf,"f").weeks&&(Lf(this,Sf,"f").push("w"),Ef(this,Cf,Lf(this,bf,"f").weeks?Object.assign({},$f,Lf(this,bf,"f").weeks):null,"f")),Lf(this,bf,"f").days&&(Lf(this,Sf,"f").push("d"),Ef(this,Mf,Lf(this,bf,"f").days?Object.assign({},Af,Lf(this,bf,"f").days):null,"f")),Ef(this,yf,Jo(Lf(this,bf,"f").locale),"f"),Lf(this,Sf,"f").forEach(((t,e)=>Lf(this,_f,"f")[t]=e)),Ef(this,zf,btoa([Lf(this,Sf,"f").join(""),Lf(this,bf,"f").minDate.toISOString(),Lf(this,bf,"f").maxDate.toISOString()].join("_")),"f")}getDates(){const t=[],e=function(t){const e=ae(t);return e.setHours(23,59,59,999),e}(Lf(this,bf,"f").maxDate).getTime();let i,o,r,s,n,a,l=Lf(this,bf,"f").minDate;const c=Lf(this,bf,"f").monthOffset??0;for(;l.getTime()<e;)[i,o,r,s,n,a]=[null,null,null,null,null,null],Lf(this,Cf,"f")?([s,i]=rr(l,c),a=Ei(l)):i=tr(l,c),Lf(this,xf,"f")&&(o=er(l,c)),r=l.getMonth()+1,n=l.getDate(),t.push([l,{y:i,q:o,m:r,w:s,d:n,dw:a}]),l=vf(l,{days:1});const h="asc"==Lf(this,wf,"f")?.order?1:-1,d="asc"==Lf(this,xf,"f")?.order?1:-1,u="asc"==Lf(this,Mf,"f")?.order?1:-1,p=Lf(this,kf,"f")?"asc"==Lf(this,kf,"f").order?1:-1:u,g="asc"==Lf(this,Cf,"f")?.order?1:-1;return t.sort(((t,e)=>{if(Lf(this,Cf,"f")){if(s=(t[1].w-e[1].w)*g,i=(t[1].y-e[1].y)*h,0!=i)return i}else if(Lf(this,wf,"f")&&(i=(t[1].y-e[1].y)*h,0!=i))return i;if(Lf(this,xf,"f")&&(o=(t[1].q-e[1].q)*d,0!=o))return o;if(Lf(this,Cf,"f")){if(0!=s)return s}else if(r=(t[1].m-e[1].m)*p,0!=r)return r;return Lf(this,Cf,"f")?(t[1].dw-e[1].dw)*u:(t[1].d-e[1].d)*u})),t}getTree(){if(Nf.dateMap.has(Lf(this,zf,"f")))return Nf.dateMap.get(Lf(this,zf,"f"));const t=[];let e=0,i=0,o=0,r=0;return this.getDates().forEach((([s,n])=>{const a=n.y!=e;Lf(this,wf,"f")&&a&&(e=n.y,t.push({k:e.toString(),v:Lf(this,yf,"f").call(this,new Date(e,1,1),Lf(this,wf,"f").format),l:Lf(this,_f,"f").y,ch:!1,collapsed:!0})),Lf(this,xf,"f")&&(n.q!=i||a)&&(i=n.q,t.push({k:n.y.toString()+i.toString(),v:Lf(this,yf,"f").call(this,new Date(e,3*(i-1),1),Lf(this,xf,"f").format),l:Lf(this,_f,"f").q,ch:!1,collapsed:!0})),Lf(this,kf,"f")&&(n.m!=o||a)&&(o=n.m,t.push({k:s.getFullYear()+n.m.toString().padStart(2,"0"),v:Lf(this,yf,"f").call(this,s,Lf(this,kf,"f").format),l:Lf(this,_f,"f").m,ch:!1,collapsed:!0})),Lf(this,Cf,"f")&&(n.w!=r||a)&&(r=n.w,t.push({k:n.y+n.w.toString().padStart(3,"0"),v:`${n.w.toString()}. ${n.y}`,l:Lf(this,_f,"f").w,ch:!1,collapsed:!0})),Lf(this,Mf,"f")&&t.push({k:Lf(this,yf,"f").call(this,s,"yyyyMMdd"),v:Lf(this,yf,"f").call(this,s,Lf(this,Mf,"f").format),l:Lf(this,_f,"f").d})})),Nf.dateMap.set(Lf(this,zf,"f"),t),t}}async function Pf(t){return t=t?t.toLowerCase():"",(await jf()).includes(t)?t:"plaintext"}async function jf(){return(await nm.get()).languages.getLanguages().map((t=>t.id)).filter((t=>-1==t.indexOf(".")))}bf=new WeakMap,yf=new WeakMap,wf=new WeakMap,xf=new WeakMap,kf=new WeakMap,Cf=new WeakMap,Mf=new WeakMap,_f=new WeakMap,Sf=new WeakMap,zf=new WeakMap,Nf.dateMap=new Map;var Hf,Ff,Bf=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n},Wf=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},Vf=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i};class Uf extends nf{async getTree(){const t=await jf();return t.sort(),t.map((t=>({k:t,v:t})))}getOptions(){return{search:!0,selectMode:"single",autoClose:!0}}}let Gf=class extends En{constructor(){super(...arguments),this.language="typescript",this.dynamicHeight=!1,this.maxHeight=400,this.minHeight=25,this.disableToolbar=!1,this.editing=!1,Hf.set(this,void 0),Ff.set(this,void 0),this._onChange=t=>{this.updateHeight()},this._onLanguageChange=t=>{this.language=t.node.key,this.dispatchEvent(new Qr({type:"changeLanguage",value:this.language}))},this.getEditorOptions=()=>({scrollBeyondLastLine:!this.dynamicHeight,...this.editorOptions}),this.render=()=>ln`
|
|
3669
3669
|
${this.disableToolbar?"":ln`
|
|
3670
3670
|
<div class="toolbar">
|
|
3671
3671
|
<og-tree-dropdown
|
|
@@ -3736,7 +3736,7 @@
|
|
|
3736
3736
|
width: 150px;
|
|
3737
3737
|
height: 20px;
|
|
3738
3738
|
}
|
|
3739
|
-
`,Bf([$n({type:String})],Gf.prototype,"language",void 0),Bf([$n({type:Boolean,reflect:!0})],Gf.prototype,"dynamicHeight",void 0),Bf([$n({type:Number})],Gf.prototype,"maxHeight",void 0),Bf([$n({type:Number})],Gf.prototype,"minHeight",void 0),Bf([$n({type:Boolean,reflect:!0})],Gf.prototype,"disableToolbar",void 0),Bf([On("og-code")],Gf.prototype,"editor",void 0),Bf([On("og-code-view")],Gf.prototype,"view",void 0),Bf([$n({type:Object})],Gf.prototype,"editorOptions",void 0),Bf([An()],Gf.prototype,"editing",void 0),Gf=Bf([In("og-code-block")],Gf);const
|
|
3739
|
+
`,Bf([$n({type:String})],Gf.prototype,"language",void 0),Bf([$n({type:Boolean,reflect:!0})],Gf.prototype,"dynamicHeight",void 0),Bf([$n({type:Number})],Gf.prototype,"maxHeight",void 0),Bf([$n({type:Number})],Gf.prototype,"minHeight",void 0),Bf([$n({type:Boolean,reflect:!0})],Gf.prototype,"disableToolbar",void 0),Bf([On("og-code")],Gf.prototype,"editor",void 0),Bf([On("og-code-view")],Gf.prototype,"view",void 0),Bf([$n({type:Object})],Gf.prototype,"editorOptions",void 0),Bf([An()],Gf.prototype,"editing",void 0),Gf=Bf([In("og-code-block")],Gf);const Yf=ks`
|
|
3740
3740
|
* {
|
|
3741
3741
|
box-sizing: border-box;
|
|
3742
3742
|
}
|
|
@@ -3803,7 +3803,7 @@
|
|
|
3803
3803
|
visibility: hidden;
|
|
3804
3804
|
}
|
|
3805
3805
|
}
|
|
3806
|
-
`;var
|
|
3806
|
+
`;var qf=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let Zf=class extends En{constructor(){super(...arguments),this.language="typescript",this.scrollable=!1,this.copy=!1,this.onStyleChange=()=>this.requestUpdate(),this.copyContent=()=>{navigator.clipboard.writeText(this.content),this.alertCopy.className="fade-out",setTimeout((()=>this.alertCopy.className=""),2e3)},this.render=()=>ln`
|
|
3807
3807
|
${this.copy?ln`
|
|
3808
3808
|
<og-button
|
|
3809
3809
|
id="btnCopy"
|
|
@@ -3821,7 +3821,7 @@
|
|
|
3821
3821
|
`:ln`
|
|
3822
3822
|
<div id="root" slot="content"></div>
|
|
3823
3823
|
`}
|
|
3824
|
-
`}get theme(){return"light"==Ja().activeTheme?.type?"vs":"vs-dark"}async updated(){this.root.innerHTML="",this.root.textContent=this.content;const t=await nm.get(),e=await Pf(this.language);t.editor.colorizeElement(this.root,{mimeType:e,theme:this.theme})}connectedCallback(){super.connectedCallback(),Ja().addEventListener("change",this.onStyleChange)}disconnectedCallback(){Ja().removeEventListener("change",this.onStyleChange)}};Zf.styles=[
|
|
3824
|
+
`}get theme(){return"light"==Ja().activeTheme?.type?"vs":"vs-dark"}async updated(){this.root.innerHTML="",this.root.textContent=this.content;const t=await nm.get(),e=await Pf(this.language);t.editor.colorizeElement(this.root,{mimeType:e,theme:this.theme})}connectedCallback(){super.connectedCallback(),Ja().addEventListener("change",this.onStyleChange)}disconnectedCallback(){Ja().removeEventListener("change",this.onStyleChange)}};Zf.styles=[Yf],qf([$n({type:String})],Zf.prototype,"language",void 0),qf([$n({type:Boolean})],Zf.prototype,"scrollable",void 0),qf([$n({type:String})],Zf.prototype,"content",void 0),qf([$n({type:Boolean})],Zf.prototype,"copy",void 0),qf([On("#root")],Zf.prototype,"root",void 0),qf([On("#alertCopy")],Zf.prototype,"alertCopy",void 0),Zf=qf([In("og-code-view")],Zf);const Xf={DIALOG_HEADER_HEIGHT:32,...G},Qf=ks`
|
|
3825
3825
|
* {
|
|
3826
3826
|
box-sizing: border-box;
|
|
3827
3827
|
}
|
|
@@ -3977,10 +3977,10 @@
|
|
|
3977
3977
|
padding-right: 2px;
|
|
3978
3978
|
}
|
|
3979
3979
|
|
|
3980
|
-
`,rv=(t,e,i)=>{for(const i of e)if(i[0]===t)return(0,i[1])();return i?.()},sv={enabled:!1,includeChildren:!0,includeParents:!0},nv={enabled:!0,reversed:!1},av={ROW_HEIGHT:22,RESIZE_TRESHOLD:10,ROW_HEADER_WIDTH:60,SLIDER_SIZE:12,EXPANDER_SIZE:13,MAX_CACHE_ITEMS:5e3,CACHE_CLEAN_INTERVAL:30,COMMENT_HIDE_TIMEOUT:1e3,SELECTOR_BORDER_WIDTH:1,MIN_ROW_HEIGHT:5,MIN_COL_WIDTH:5,SPARKLINE_GAP:4,AUTOSCROLL_TRESHOLD:100,AUTOSCROLL_RATIO:1.1,AUTOSCROLL_INTERVAL:100,DEFAULT_SPARKLINE_OPTIONS:{minValue:"auto",maxValue:"auto",type:"line",style:{color:"0094FF",weight:1},marker:{color:"ff0000"}},DEFAULT_OPTIONS:{rows:100,columns:20,readOnly:!1,rowNumbers:!0,rowPriority:2,rowTree:{enabled:!0},columnTree:{enabled:!0},colLetters:!0,emptyPlaceholder:!0,freezeTop:0,fontSize:14,rowHeight:22,rowResize:!0,columnWidth:100,columnResize:!0,columnPriority:1,freezeLeft:0,freezeRight:0,freezeBottom:0,maxSortingColumns:3,numberFormat:null,levelIndentFactor:2,cellIndentFactor:10,emptyClickable:!1,grid:!0,autofill:!0,undoRedo:!0,commandWindow:!0,cellCache:!0,singleCellModel:!1,zoom:1,editing:{rowInsertion:!0,rowDeletion:!0,colInsertion:!0,colDeletion:!0,rowOutline:!0,colOutline:!0,dateCalendarEditor:!1},comments:{hideTimeout:1e3,offsetX:30,offsetY:-30,zIndex:500,headerPosition:"top"},scrolling:{verticalOverscroll:!0,horizontalOverscroll:!0,scrollbarVisibilityTreshold:100},selecting:{enabled:!0,multiSelect:!0},events:{click:{mouseMoveTreshold:10}},clipboard:{pasteProps:["v","dv"],rowPasteMode:"rewrite_append",columnPasteMode:"rewrite"},print:{dpi:600,margins:{left:6.35,right:6.35,top:19.05,bottom:19.05,header:7.62,footer:7.62},orientation:"portrait",paper:"A4"}},MAX_COMMENT_AUTOHEIGHT:300,MIN_COMMENT_AUTOHEIGHT:25,...G},lv=/^(?!.*[\\\/\*\[\]\:\?"])(.{1,31})$/;function cv(t){return lv.test(t)}function hv(t){return["\\","/","*","[","]",":","?",'"'].forEach((e=>t=t.replace(new RegExp(`\\${e}`,"g"),""))),t}function dv(t,e){return!isNaN(t)&&null!=t||!isNaN(e)&&null!=e||(t=null==t?"":ct(t.toString()).toLowerCase(),e=null==e?"":ct(e.toString()).toLowerCase()),t>e?1:t<e?-1:0}function uv(t,e){const i=Q(e);return Q(t)?(t=t.toString().trim()).startsWith("=")?0==dv(e,i?t.substring(1):parseFloat(t.substring(1))):t.startsWith(">=")?dv(e,i?t.substring(2):parseFloat(t.substring(2)))>=0:t.startsWith("<=")?dv(e,i?t.substring(2):parseFloat(t.substring(2)))<=0:t.startsWith(">")?dv(e,i?t.substring(1):parseFloat(t.substring(1)))>0:t.startsWith("<")?dv(e,i?t.substring(1):parseFloat(t.substring(1)))<0:0==dv(e,i?t:isNaN(t)?t||"":parseFloat(t)):e==t}const pv=new Map([["=",["==",1,0]],["<>",["!=",1,0]],[">",[">",1,0]],["<",["<",1,0]],[">=",[">=",1,0]],["<=",["<=",1,0]],["+",["+",2,0]],["-",["-",2,0]],["*",["*",3,0]],["/",["/",3,0]]]),gv=t=>["=",">","<",">=","<="].includes(t),mv=t=>["+","-","*","/"].includes(t),fv=t=>mv(t)||gv(t);function vv(t,e,i){switch(i){case"+":return t+e;case"-":return t-e;case"*":return t*e;case"/":return t/e;case"=":return 0==dv(t,e);case">":return dv(t,e)>0;case"<":return dv(t,e)<0;case">=":return dv(t,e)>=0;case"<=":return dv(t,e)<=0;default:throw new Error(`Invalid operator: ${i}`)}}function bv(t,e,i){const o=Array.isArray(t),r=Array.isArray(e);if(!o&&!r)return[[vv(t,e,i)]];const s=Math.max(o?t.length:0,r?e.length:0),n=Math.max(o?t[0].length:0,r?e[0].length:0),a=[];for(let l=0;l<s;l++){const s=[];for(let a=0;a<n;a++){const n=o?t[l]?.[a]:t,c=r?e[l]?.[a]:e,h=null==n&&null==c?null:vv(n,c,i);s.push(h)}a.push(s)}return a}var yv;!function(t){t[t.Number=0]="Number",t[t.Boolean=1]="Boolean",t[t.String=2]="String",t[t.StringQuote=3]="StringQuote",t[t.Function=4]="Function",t[t.ArgumentSeparator=5]="ArgumentSeparator",t[t.OpenBracket=6]="OpenBracket",t[t.CloseBracket=7]="CloseBracket",t[t.Operator=8]="Operator",t[t.Cell=9]="Cell",t[t.Variable=10]="Variable",t[t.Range=11]="Range",t[t.Sheet=12]="Sheet",t[t.SheetQuote=13]="SheetQuote",t[t.SheetSeparator=14]="SheetSeparator",t[t.Unknown=15]="Unknown",t[t.Operand=16]="Operand"}(yv||(yv={}));const wv=t=>t===yv.Number||t===yv.Boolean||t===yv.String||t===yv.Cell||t===yv.Variable||t===yv.Range,xv=t=>t>=48&&t<=57,kv=t=>"true"===(t=t.toLowerCase())||"false"===t,Cv=t=>t>=65&&t<=90||t>=97&&t<=122||t>=192&&t<=687,Mv={decimalPoint:".",stringQuote:'"',sheetQuote:"'",argumentSeparator:","};class _v{constructor(t){this.options=Object.assign(Mv,t)}tokenize(t){const e=[],i=t.length;let o,r,s,n,a=0,l="",c=!1,h=!1,d=!1;for(;a<i;){if(o=t.charAt(a),r=o.charCodeAt(0),"="==o&&0==a)++a;else if(xv(r)){for(l=(d?"-":"")+o,++a;a<i;)if(o=t.charAt(a),r=o.charCodeAt(0),xv(r))l+=o,++a;else{if(o!==this.options.decimalPoint)break;l+=".",++a}d=!1,e.push([l,yv.Number])}else if(Cv(r)||"$"==o){l=o,s=null,++a;do{if(o=t.charAt(a),r=o.charCodeAt(0),Cv(r)||xv(r)||"."===o||"$"===o||"_"===o)"_"==o?s=yv.Variable:xv(r)&&!c&&null==s&&(s=yv.Cell),l+=o,++a,a==i&&e.push([l,s||yv.Variable]);else{if("("==o){e.push([l.toUpperCase(),yv.Function]),e.push([o,yv.OpenBracket]),++a;break}if("'"==o)e.push([l,yv.Sheet]),l="",e.push([o,yv.SheetQuote]),c=!0,++a;else if(":"==o)s=yv.Range,l+=o,++a;else{if(!c||" "!=o){if("!"==o){""!==l&&e.push([l,yv.Sheet]),e.push([o,yv.SheetSeparator]),c=!1,l="",++a;break}e.push([l,s||(kv(l)?yv.Boolean:yv.Variable)]);break}l+=o,++a}}}while(a<i)}else if(fv(o)){if("-"===o&&xv(t.charCodeAt(a+1))&&(null==n||"("==n[0]||gv(n[0])||n[1]==yv.ArgumentSeparator))d=!0;else{for(l=o;gv(t.charAt(a+1));)l+=t.charAt(++a);e.push([l,yv.Operator])}++a}else if("("===o)e.push([o,yv.OpenBracket]),++a;else if(")"===o)e.push([o,yv.CloseBracket]),++a;else if("'"===o)e.push([o,yv.SheetQuote]),c=!0,++a;else if(o===this.options.argumentSeparator)e.push([o,yv.ArgumentSeparator]),++a;else if(o===this.options.stringQuote){for(h=!1,e.push([o,yv.StringQuote]),l="";++a<i;){if(o=t.charAt(a),o===this.options.stringQuote){h=!0,++a;break}l+=o}e.push([l,yv.String]),h&&e.push([this.options.stringQuote,yv.StringQuote])}else e.push([o,yv.Unknown]),++a;n=e[e.length-1]}return e}}function Sv(t,e,i=null,o=!0){return t+=e,0==e?t:t>=0?i?o?t%i:Math.min(t,i-1):t:o&&i?i+t%i:Math.max(t,0)}const zv=/(?:'?([\w\s]*)'?!)?(\$?)([a-z]*)(\$?)(\d*)(?::(\$?)([a-z]*)(\$?)(\d*))?/i;class Ev{constructor(t,e,i,o,r){this.setCoords(t,e,i,o),this.sheet=r}setCoords(t,e,i,o){this.c1=null==t&&null==i?0:t,this.r1=null==e&&null==o?0:e,this.c2=null==o&&null!=t||null!=i?null==i?t:i:1/0,this.r2=null==i&&null!=e||null!=o?null==o?e:o:1/0,this.normalize()}get size(){return{columns:this.c2-this.c1+1,rows:this.r2-this.r1+1}}get count(){const{columns:t,rows:e}=this.size;return t*e}normalize(){const[t,e]=[Math.min(this.c1,this.c2),Math.max(this.c1,this.c2)],[i,o]=[Math.min(this.r1,this.r2),Math.max(this.r1,this.r2)];return this.c1=t,this.c2=e,this.r1=i,this.r2=o,this}move(t,e,i=null,o=null,r=!0){const s=Sv(this.c1,t,i,r);r&&(e+=this.c1+t!=s&&0!=t?t>0?1:-1:0),this.c1=s,this.r1=Sv(this.r1,e,o,r),this.c2=Sv(this.c2,t,i,r),this.r2=Sv(this.r2,e,o,r)}contains(t){return t.c1>=this.c1&&t.c2<=this.c2&&t.r1>=this.r1&&t.r2<=this.r2}containsColumn(t){return this.c1<=t&&this.c2>=t}containsRow(t){return this.r1<=t&&this.r2>=t}removeAnchors(){return this.c1Anchor=!1,this.c2Anchor=!1,this.r1Anchor=!1,this.r2Anchor=!1,this}addAnchors(){return this.c1Anchor=!0,this.c2Anchor=!0,this.r1Anchor=!0,this.r2Anchor=!0,this}shiftLeft(t,e=1,i=null,o=!1){return t<=this.c1&&(o||!this.c1Anchor)&&(null==i||this.c1<=i)&&(this.c1-=e),t<=this.c2&&(o||!this.c2Anchor)&&(null==i||this.c2<=i)&&(this.c2-=e),this}shiftRight(t,e=1,i=null,o=!1){return t<=this.c1&&(o||!this.c1Anchor)&&(null==i||this.c1<=i)&&(this.c1+=e),t<=this.c2&&(o||!this.c2Anchor)&&(null==i||this.c2<=i)&&(this.c2+=e),this}shiftUp(t,e=1,i=null,o=!1){return t<=this.r1&&(o||!this.r1Anchor)&&(null==i||this.r1<=i)&&(this.r1-=e),t<=this.r2&&(o||!this.r2Anchor)&&(null==i||this.r2<=i)&&(this.r2-=e),this}shiftDown(t,e=1,i=null,o=!1){return t<=this.r1&&(o||!this.r1Anchor)&&(null==i||this.r1<=i)&&(this.r1+=e),t<=this.r2&&(o||!this.r2Anchor)&&(null==i||this.r2<=i)&&(this.r2+=e),this}shift(t){const{index:e,offset:i,direction:o,maxIndex:r,ignoreAnchors:s}=t;switch(o){case"down":return this.shiftDown(e,i,r,s);case"up":return this.shiftUp(e,i,r,s);case"left":return this.shiftLeft(e,i,r,s);case"right":return this.shiftRight(e,i,r,s)}}intersect(t){this.normalize(),t.normalize();const e=Math.max(t.c1,this.c1),i=Math.min(t.c2,this.c2),o=Math.max(t.r1,this.r1),r=Math.min(t.r2,this.r2);return e<=i&&o<=r?new Ev(e,o,i,r,this.sheet):null}unite(t){return this.normalize(),t.normalize(),new Ev(Math.min(this.c1,t.c1),Math.min(this.r1,t.r1),Math.max(this.c2,t.c2),Math.max(this.r2,t.r2),this.sheet)}clone(){const t=new Ev(this.c1,this.r1,this.c2,this.r2,this.sheet);return t.c1Anchor=this.c1Anchor,t.r1Anchor=this.r1Anchor,t.c2Anchor=this.c2Anchor,t.r2Anchor=this.r2Anchor,t}equals(t,e=!1){return t.c1==this.c1&&t.r1==this.r1&&t.c2==this.c2&&t.r2==this.r2&&(0==e||t.c1Anchor==this.c1Anchor&&t.r1Anchor==this.r1Anchor&&t.c2Anchor==this.c2Anchor&&t.r2Anchor==this.r2Anchor)}get isCell(){return this.c2==this.c2&&this.r2==this.r1}get isRange(){return this.c2!=this.c1||this.r2!=this.r1}get isColumn(){return 0==this.r1&&this.r2==1/0}get isRow(){return 0==this.c1&&this.c2==1/0}get A1(){const t=this.isRange,e=(this.c1Anchor?"$":"")+(0!==this.c1||this.c2!==1/0?Rv(this.c1):"")+(0===this.r1&&this.r2===1/0?"":(this.r1Anchor?"$":"")+Lv(this.r1)),i=t?(this.c2Anchor?"$":"")+(!isNaN(this.c2)&&this.c2<1/0?Rv(this.c2):"")+(this.r2Anchor?"$":"")+(!isNaN(this.r2)&&this.r2<1/0?Lv(this.r2):""):e;return(null==this.sheet?"":((o=this.sheet).indexOf(" ")>-1?"'"+o+"'":o)+"!")+(e==i?e:e+":"+i);var o}get bounds(){return[[new Ev(this.c1,this.r1),this.c2<1/0?new Ev(this.c2,this.r1):null],[this.r2<1/0?new Ev(this.c1,this.r2):null,this.r2<1/0&&this.c2<1/0?new Ev(this.c2,this.r2):null]]}*cells(){for(let t=this.r1;t<=this.r2;t++)for(let e=this.c1;e<=this.c2;e++)yield new Ev(e,t)}static fromA1(t){const e=zv.exec(t),i=new Ev(e[3]?Tv(e[3]):null,e[5]?Iv(e[5]):null,e[7]?Tv(e[7]):null,e[9]?Iv(e[9]):null,e[1]||null);return!e[2]&&e[3]||(i.c1Anchor=!0),!e[4]&&e[5]||(i.r1Anchor=!0),(e[6]||e[2]&&!e[7])&&(i.c2Anchor=!0),(e[8]||e[4]&&!e[9])&&(i.r2Anchor=!0),i}}function Lv(t){return(t+1).toString()}function Iv(t){return parseInt(t)-1}function Rv(t){++t;let e,i="";for(;t>0;)e=(t-1)%26,i=String.fromCharCode(e+65)+i,t=(t-e-1)/26;return i}function Tv(t){const e=t.length;let i=0;for(let o=0;o<e;o++)i+=(t.charCodeAt(o)-64)*Math.pow(26,e-o-1);return i-1}function $v(t){return t.sort(((t,e)=>{const i=Math.min(t.r1,t.r2),o=Math.min(e.r1,e.r2),r=Math.min(t.c1,t.c2),s=Math.min(e.c1,e.c2);return i<o?-1:i>o?1:r<s?-1:s>r?1:0}))}function Av(t){return t.formula.cells.map((e=>t.cell.model.getCellByRange(e[1])))}function Dv(t){let e=t;for(;Array.isArray(e);)e=e.length>0?e[0]:null;return e}function Ov(t){return Array.isArray(t)?t:[[t]]}function Nv(t,e,i,o){if(!Array.isArray(t))return e(t,i,o);for(let o=0;o<t.length;o++)if(!1===Nv(t[o],e,null==i?o:i,null==i?void 0:o))return!1}Ev.fromA1s=(t,e=";")=>t.split(e).map((t=>Ev.fromA1(t))),Ev.toA1s=(t,e=";")=>t.map((t=>t.A1)).join(e),Ev.fromCoords=t=>new Ev(t.c1,t.r1,t.c2,t.r2),Ev.fullColumn=t=>new Ev(t,0,t,1/0),Ev.fullRow=t=>new Ev(0,t,1/0,t);const Pv=new Set(["SUMPRODUCT","FILTER"]),jv=t=>Pv.has(t),Hv=t=>!!(t&&t.length>0&&"="==t.charAt(0)),Fv=t=>Hv(t)?t:"="+(t??""),Bv=t=>Hv(t)?t.substring(1):t,Wv=["#5B97FF","#FF616B","#B77CFF","#00B02C","#FC58BE","#FF9000","#2EB0B3"],Vv=t=>Wv[t%Wv.length],Uv=new Map([["FORMULATEXT","_xlfn."],["CONCAT","_xlfn."],["INDIRECT","_xlfn."],["ISOWEEKNUM","_xlfn."],["SWITCH","_xlfn."],["XOR","_xlfn."]]);class Gv{get fn(){return this._fn??(this._fn=new Function("t","ctx","return "+this.compile()))}get tokens(){return this._tokens}get variables(){return this._variables}get cells(){return this._cells}get ranges(){return this._ranges}get colors(){if(!this._colors){let t;this._colors=new Map,this._tokens.forEach(((e,i)=>{if([yv.Cell,yv.Range].includes(e[1])){const o=(t?"'"+t+"'!":"")+e[0];this._colors.set(o,{color:Vv(this._colors.size),address:e[0],sheet:t,type:e[1],tokenIndex:i}),t=null}else e[1]==yv.Sheet&&(t=e[0])}))}return this._colors}constructor(t,e){this.expression=t,this.tokenizer=e,this._tokens=e.tokenize(this.expression),this.updateDependecies()}findTokenIndexAtPosition(t){let e=0;return this._tokens.findIndex((i=>{const o=i[0].length;if(t>=e&&t<=e+o)return!0;e+=o}))}findSheetTokenIndex(t){const e=this._tokens[t];if(![yv.Cell,yv.Range].includes(e[1]))return-1;if(0==t||this._tokens[t-1][1]!=yv.SheetSeparator)return-1;let i=t-2;for(;i>=0;){if(this._tokens[i][1]==yv.Sheet)return i;i--}return-1}removeSheetToken(t){if(this._tokens[t][1]!=yv.Sheet&&(t=this.findSheetTokenIndex(t)),t>-1){t>0&&this._tokens[t-1][1]==yv.SheetQuote&&t--;let e=t;for(;e<this._tokens.length&&[yv.SheetSeparator,yv.SheetQuote,yv.Sheet].includes(this._tokens[e][1]);)e++;return this._tokens.splice(t,e-t),e-t}return 0}getNamedColor(t){return this.colors.get(t)?.color??"inherit"}getTokenPosition(t){let e=0;for(let i=0;i<t;i++)e+=this._tokens[i][0].length;return{min:e,max:e+this._tokens[t][0].length}}updateToken(t,e){this._fn=null,this._formula=null,this._xlFormula=null,this._tokens[t][0]=e}removeToken(t){this._fn=null,this._formula=null,this._xlFormula=null,this._tokens.splice(t,1)}insertToken(t,e,i){this._fn=null,this._formula=null,this._xlFormula=null;const o=[];return i==yv.Sheet&&/\s/.test(e)?(o.push([this.tokenizer.options.sheetQuote,yv.SheetQuote]),o.push([e,yv.Sheet]),o.push([this.tokenizer.options.sheetQuote,yv.SheetQuote])):o.push([e,i]),o.push(["!",yv.SheetSeparator]),this._tokens.splice(t,0,...o),o.length}clone(){return new Gv(this.createFormulaString(),this.tokenizer)}updateDependecies(){let t;this._variables=[],this._cells=[],this._ranges=[],this._tokens.forEach(((e,i)=>{switch(e[1]){case yv.Sheet:t=e[0];break;case yv.Variable:this._variables.push([i,e[0],t]),t=void 0;break;case yv.Cell:this._cells.push([i,Ev.fromA1(e[0]),t]),t=void 0;break;case yv.Range:this._ranges.push([i,Ev.fromA1(e[0]),t]),t=void 0}}))}createFormulaString(t=!1,e=!1){const i=this.tokenizer.options;let o,r,s,n="";for(let l=0;l<this._tokens.length;l++)switch(o=this._tokens[l],o[1]){case yv.SheetQuote:n+="'";break;case yv.SheetSeparator:n+="!";break;case yv.Sheet:r=o[0],n+=t?`<span style="font-style:italic">${r}</span>`:r;break;case yv.Variable:n+=o[0];break;case yv.Range:case yv.Cell:s=(r?"'"+r+"'!":"")+o[0],n+=t?`<span style="color:${this.getNamedColor(s)}">${o[0]}</span>`:o[0],r=null;break;case yv.StringQuote:n+=i.stringQuote;break;case yv.String:n+=o[0].replace(new RegExp(i.stringQuote,"g"),"\\"+i.stringQuote);break;case yv.ArgumentSeparator:n+=i.argumentSeparator;break;case yv.Function:n+=(e?(a=o[0],Uv.get(a)??""):"")+o[0];break;case yv.Unknown:n+=t?`<span style="background:#f00;color:#fff">${o[0]}</span>`:o[0];break;default:n+=o[0]}var a;return n}createExpressionTree(){const t=[],e=[],i=this.tokens;let o,r,s,n,a,l=null;for(let c=0;c<i.length;c++)switch(o=i[c],o[1]){case yv.Sheet:l=o[0];break;case yv.Cell:case yv.Range:t.push({t:o[0],tt:o[1],s:l}),l=null;break;case yv.Number:case yv.String:case yv.Boolean:case yv.Variable:t.push({t:o[0],tt:o[1]});break;case yv.Operator:for(0==t.length&&t.push({t:"",tt:yv.Operand}),s=pv.get(o[0]);e.length>0&&(n=pv.get(e[e.length-1][0]),n)&&(0===s[2]&&s[1]<=n[1]||1===s[2]&&s[1]<n[1]);)r=e.pop(),a=[t.pop(),t.pop()].reverse(),t.push({t:r[0],tt:r[1],c:a});e.push(o);break;case yv.Function:case yv.OpenBracket:e.push(o);break;case yv.ArgumentSeparator:for(;e.length>0&&(r=e[e.length-1],![yv.OpenBracket,yv.ArgumentSeparator].includes(r[1]));)r=e.pop(),a=[t.pop(),t.pop()].reverse(),t.push({t:r[0],tt:r[1],c:a});e.push(o);break;case yv.CloseBracket:for(a=[];e.length>0&&e[e.length-1][1]!==yv.OpenBracket;)r=e.pop(),r[1]==yv.Operator?a.push({t:r[0],tt:r[1],c:[t.pop(),t.pop()].reverse()}):r[1]==yv.ArgumentSeparator&&t.length>0&&a.push(t.pop());e.pop(),e.length>0&&e[e.length-1][1]===yv.Function?(r=e.pop(),a=a.reverse(),t.length>0&&i[c-1][1]!==yv.OpenBracket&&a.unshift(t.pop()),t.push({t:r[0],tt:r[1],c:a})):t.push(...a)}for(;e.length>0;)r=e.pop(),t.push({t:r[0],tt:r[1],c:[t.pop(),t.pop()].reverse()});return t.pop()}createExpressionJSCode(t,e,i){let o;switch(t.tt){case yv.Range:return"t.rn('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case yv.Cell:return"t.cl('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case yv.Operand:return"t.cl()";case yv.Variable:return i||e?.tt===yv.Function?"t.nr('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")":"t.nv('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case yv.String:return"'"+t.t.replace(/'/g,"\\'")+"'";case yv.Boolean:return"T"==t.t[0].toUpperCase()?"1":"0";case yv.Function:return o=t.c.map((e=>this.createExpressionJSCode(e,t,i||jv(t.t)))),"t.fn('"+t.t+"').call(ctx"+(o.length>0?","+o.join(","):"")+")";case yv.Operator:return i?(o=t.c.map((e=>this.createExpressionJSCode(e,t,i||jv(t.t)))),"t.op("+o[0]+","+o[1]+",'"+t.t+"')"):pv.has(t.t)?"("+t.c.map((e=>this.createExpressionJSCode(e,t,i))).join(pv.get(t.t)[0])+")":null;default:return t.t}}compile(){const t=this.createExpressionTree();return this.createExpressionJSCode(t)}toString(t=!1){return(t?"=":"")+(this._formula??(this._formula=this.createFormulaString()))}toExcelString(){return this._xlFormula??(this._xlFormula=this.createFormulaString(!1,!0))}shift(t){const{index:e,offset:i,direction:o,maxIndex:r,sheet:s,allSheets:n}=t;return this._cells&&this._cells.forEach((t=>{if(n||null==t[2]||t[2]==s){switch(o){case"up":t[1].shiftUp(e,i,r);break;case"right":t[1].shiftRight(e,i,r);break;case"down":t[1].shiftDown(e,i,r);break;case"left":t[1].shiftLeft(e,i,r)}this._tokens[t[0]][0]=t[1].A1}})),this._ranges&&this._ranges.forEach((t=>{if(n||null==t[2]||t[2]==s){switch(o){case"up":t[1].shiftUp(e,i,r);break;case"right":t[1].shiftRight(e,i,r);break;case"down":t[1].shiftDown(e,i,r);break;case"left":t[1].shiftLeft(e,i,r)}this._tokens[t[0]][0]=t[1].A1}})),this}hasSheetReference(t){for(const e of this._cells)if(e[2]==t)return!0;for(const e of this._ranges)if(e[2]==t)return!0;for(const e of this._variables)if(e[2]==t)return!0;return!1}renameSheet(t,e){let i=!1;return this._tokens.forEach((o=>{o[1]==yv.Sheet&&o[0]==t&&(o[0]=e,i=!0)})),i}}function qv(t,e){return e&&(t=gr(this.cell.model.options.locale,yr(e,"d"),!1)(t)),null==t?"":t.toString()}function Yv(t,e){return(t=null==t?"":t.toString()).substring(0,e)}function Zv(t,e){return(t=null==t?"":t.toString()).substring(Math.max(0,t.length-e),t.length)}function Xv(t,e,i){return(t=null==t?"":t.toString()).substring(e,e+i)}function Qv(...t){let e="";return Nv(t,(t=>e+=null==t?"":t.toString())),e}function Kv(...t){return Qv(...t)}function Jv(t){return(t=null==t?"":t.toString()).length}function tb(t){return(t=null==t?"":t.toString()).toLowerCase()}function eb(t){return(t=null==t?"":t.toString()).toUpperCase()}function ib(t){return t instanceof Date?t:Q(t)?Xo(t,Lo()):nr(t)}function ob(t){return tt(t)?t:sr(t instanceof Date?t:Xo(t,Lo()))}function rb(t){return Q(t)?ob(t):t}function sb(t,e){const i=ib(t).getDay();switch(e){case 2:return i;case 3:return i-1;default:return i%7+1}}function nb(t,e,i){return ar(ob(Dv(t)),e)}function ab(){return sr(le(new Date))}function lb(t){return null==(t=Dv(t))||""===t}function cb(t,e,i){return sr(new Date(t,e-1,i))}function hb(t){return ib(t).getFullYear()}function db(t){return ib(t).getMonth()+1}function ub(t){return ib(t).getDate()}function pb(t,e){const i=ib(t);return i.setMonth(i.getMonth()+e+1),i.setDate(0),sr(i)}function gb(t){return Ci(ib(t))}function mb(t){return Math.acos(t)}function fb(t){return Math.acosh(t)}function vb(t){return Math.PI/2-Math.atan(t)}function bb(t){return.5*Math.log((t+1)/(t-1))}function yb(t){return Math.asin(t)}function wb(t){return Math.asinh(t)}function xb(t){return Math.atan(t)}function kb(t){return Math.atanh(t)}function Cb(t){return Math.cos(t)}function Mb(t){return Math.cosh(t)}function _b(t){return 1/Math.tan(t)}function Sb(t){return 1/Math.tanh(t)}function zb(t){return 1/Math.sin(t)}function Eb(t){return 1/Math.sinh(t)}function Lb(t){return 180*t/Math.PI}function Ib(){return Math.PI}function Rb(t){return 1/Math.cos(t)}function Tb(t){return 1/Math.cosh(t)}function $b(t){return Math.sin(t)}function Ab(t){return Math.sinh(t)}function Db(t){return Math.tan(t)}function Ob(t){return Math.tanh(t)}function Nb(t){return Math.abs(t)}function Pb(t){if(t<0)throw new Error("#NUM");return Math.ceil(t)}function jb(t){return(t=Math.ceil(t))%2==0?t:t+1}function Hb(t){return Math.pow(Math.E,t)}function Fb(t){return t<0?-1:0==t?1:t*Fb(t-1)}function Bb(t){return t<=0?1:t*Bb(t-2)}function Wb(t){return Math.floor(t)}function Vb(t){return t%1!=0}function Ub(t){return!Vb(t)&&t%2==0}function Gb(t){return Vb(t)||t%2==1}function qb(t){return Math.log(t)}function Yb(t,e){return Math.log(t)/Math.log(e)}function Zb(t){return Math.log10(t)}function Xb(t,e){return t%e}function Qb(t){return(t=Math.ceil(t))%2==0?t+1:t}function Kb(t,e){return Math.pow(t,e)}function Jb(...t){let e=1;return Nv(t,(t=>e*=t||1)),e}function ty(t,e){return Math.floor(t/e)}function ey(t){return t*Math.PI/180}function iy(){return Math.random()}function oy(t,e){const i=Array(t).fill(null).map((()=>Array(e)));for(let o=0;o<t;o++)for(let t=0;t<e;t++)i[o][t]=Math.random();return i}function ry(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}function sy(t,e){return t.toFixed(e)}function ny(t,e){return e=e||0,Math.floor(t*Math.pow(10,e))/Math.pow(10,e)}function ay(t,e){return e=e||0,Math.ceil(t*Math.pow(10,e))/Math.pow(10,e)}function ly(t,e,i=1,o=1){const r=Array(t).fill(null).map((()=>Array(e)));let s=i;for(let i=0;i<t;i++)for(let t=0;t<e;t++)r[i][t]=s,s+=o;return r}function cy(t){return t<0?-1:t>0?1:0}function hy(t){return Math.sqrt(t)}function dy(t){return Math.sqrt(Math.PI*t)}function uy(...t){let e=0;return Nv(t,(t=>e+=null==t?0:1)),e}function py(...t){let e=0;return Nv(t,(t=>e+=null==t?1:0)),e}function gy(t,e){let i=0;return Nv(t,(t=>i+=uv(e,t)?1:0)),i}function my(...t){let e=0;const i=new Map;return Nv(t,(t=>{i.has(t)||(i.set(t,t),++e)})),e}function fy(...t){let e=0;return Nv(t,(t=>e+=isNaN(t)||null==t||""===t?0:t)),e}function vy(t,e,i){let o=0;if(i){const r=Ov(i);Nv(t,((t,i,s)=>o+=uv(e,t)&&r[i]&&r[i][s]&&!isNaN(r[i][s])?r[i][s]:0))}else Nv(t,(t=>o+=uv(e,t)&&!isNaN(t)?t:0));return o}function by(t,e){let i=0;return Nv(t,(t=>i+=uv(e,t)&&!isNaN(t)?t*t:0)),i}function yy(...t){let e=0;const i=t.shift();if(0===t.length)Nv(i,(t=>e+=isNaN(t)?0:t));else{const o=Ov(t[0]);Nv(i,((t,i,r)=>e+=o[i]&&o[i][r]&&!isNaN(t)&&!isNaN(o[i][r])?t*o[i][r]:0))}return e}function wy(t,e){return t=null==t?"":t.toString(),e?e=>e==t:(t=t.toLowerCase(),e=>(e??"").toString().toLowerCase()==t)}function xy(t,e,i=1){const o=new Ev(Math.max((e||0)-1,0),Math.max((t||0)-1,0));return 1!=i&&2!=i||(o.r1Anchor=!0),1!=i&&3!=i||(o.c1Anchor=!0),o.A1}function ky(t,e,i,o=!1){let r,s;const n=wy(t,o);for(r=0;r<e.length;r++)for(s=0;s<e[r].length;s++)if(n(e[r][s]))return e[r][i-1];return null}function Cy(t,e,i,o=!1){let r,s;const n=wy(t,o);for(r=0;r<e.length;r++)for(s=0;s<e[r].length;s++)if(n(e[r][s]))return e[i-1][s];return null}function My(t,e,i){let o,r;t:for(o=0;o<e.length;o++)for(r=0;r<e[o].length;r++)if(e[o][r]==t)break t;return i?i[o]?i[o][r]:null:e[o][e[o].length-1]}function _y(t,...e){let i=null,o=0;return Nv(e,(e=>{if(t==++o)return i=e,!1})),i}function Sy(t){return(t?Ev.fromA1(t).c1:this.cell.c)+1}function zy(t){return(t?Ev.fromA1(t).r1:this.cell.r)+1}function Ey(t){return Array.isArray(t)?t[0]?.length:1}function Ly(t){return Array.isArray(t)?t.length:1}function Iy(){const t=Av(this)[0];return t&&t.hasFormula?" "+Fv(t.formula):""}function Ry(t,e,i){return e=e||1,i=i||1,Array.isArray(t)?t[e-1]?t[e-1][i-1]:null:1==e&&1==i?t:null}function Ty(t){const e=this.cell,i=e.model,o=i.getCellByA1(t);let r;return i.calculations.dependencies.cellDependencies.has(e.address)?r=i.calculations.dependencies.cellDependencies.get(e.address):(r=new Map,i.calculations.dependencies.cellDependencies.set(e.address,r)),r.set(o.address,[o.range]),i.calculations.dependencies.cellDependants.has(o.address)?r=i.calculations.dependencies.cellDependants.get(o.address):(r=new Map,i.calculations.dependencies.cellDependants.set(o.address,r)),r.set(e.address,[e.range]),o.value}function $y(t,e,i=0){let o,r;for(o=0;o<e.length;o++)for(r=0;r<e[o].length;r++){if(0==i&&e[o][r]==t)return Math.max(o+1,r+1);if(1==i&&e[o][r]>t)return Math.max(o+1,r+1);if(-1==i&&e[o][r]<t)return Math.max(o+1,r+1)}return null}function Ay(t,e,i,o,r){const s=Av(this)[0],n=[];o=o||1,r=r||1;for(let t=0;t<o;t++){const o=[];for(let n=0;n<r;n++){const r=s.model.rows[s.r+t+e].cell(s.c+n+i);o.push(r?s.value:null)}n.push(o)}return n}function Dy(t,e){const i=[];if(t.length==e.length)for(let o=0;o<t.length;o++){let r=!0;for(let t=0;t<e[o].length;t++)if(!e[o][t]){r=!1;break}r&&i.push(t[o])}return i}const Oy=[[3.1611237438705655,113.86415415105016,377.485237685302,3209.3775891384694,.18577770618460315],[.5641884969886701,8.883149794388377,66.11919063714163,298.6351381974001,881.952221241769,1712.0476126340707,2051.0783778260716,1230.3393547979972,2.1531153547440383e-8],[.30532663496123236,.36034489994980445,.12578172611122926,.016083785148742275,.0006587491615298378,.016315387137302097]],Ny=[[23.601290952344122,244.02463793444417,1282.6165260773723,2844.236833439171],[15.744926110709835,117.6939508913125,537.1811018620099,1621.3895745666903,3290.7992357334597,4362.619090143247,3439.3676741437216,1230.3393548037495],[2.568520192289822,1.8729528499234604,.5279051029514285,.06051834131244132,.0023352049762686918]];function Py(t){const e=t*t;let i,o=Oy[0][4]*e,r=e;for(i=0;i<3;i+=1)o=(o+Oy[0][i])*e,r=(r+Ny[0][i])*e;return t*(o+Oy[0][3])/(r+Ny[0][3])}function jy(...t){let e=!0;return Nv(t,(t=>{if(!t)return e=!1})),e}function Hy(...t){let e=!1;return Nv(t,(t=>{if(t)return e=!0})),e}function Fy(...t){let e=null;return Nv(t,(t=>{e=null===e?!!t:!!t!=e})),e}function By(...t){const e=t[0];for(let i=1;i<t.length;i+=2){if(i==t.length-1)return t[i];if(e==t[i])return t[i+1]}return null}function Wy(t,e,i){return t?e:i}function Vy(t){return!t}function Uy(){return!1}function Gy(){return!0}function qy(t,e){return e=""===e?null:e,this.cell.hasError?(this.cell.error.handled=!0,e):t===1/0||t===-1/0||Number.isNaN(t)?e:t}var Yy=i(235),Zy=i.n(Yy),Xy=i(5949),Qy=i.n(Xy);function Ky(...t){let e=0,i=0;return Nv(t,(t=>{null==t||isNaN(t)||(e+=t||0,++i)})),e/i}function Jy(t,e){const i=Qy()(),o=Ov(t),r=Ov(e);for(let t=0;t<o.length;t++)for(let e=0;e<o[t].length;e++)i(o[t][e],(r[t]?r[t][e]:1)??1);return i()}function tw(...t){const e=function(t){const e=[];return Nv(t,(t=>e.push(t))),e}(t),i=Zy()(e.length,e,1);return e.reduce(((t,e)=>t+Math.abs(e-i)),0)/e.length}function ew(...t){let e=1/0;return Nv(t,(t=>e=Math.min(e,t))),e}function iw(...t){let e=-1/0;return Nv(t,(t=>e=Math.max(e,t))),e}function ow(t,e){Object.keys(e).forEach((i=>t.set(nt(i,"_").replace(/_/g,".").toUpperCase(),e[i])))}const rw=new Map;ow(rw,_),ow(rw,S),ow(rw,z),ow(rw,E),ow(rw,I),ow(rw,L),ow(rw,R);class sw{constructor(t){this.model=t,this.getModel=t=>{const e=t?this.model.getConnectedModel(t):this.model;if(e)return e;throw new Error(`Sheet "${t}" not found`)},this.cl=(t,e)=>{const i=this.getModel(e);if(null==t)return this.currentCell.value;const o=i.getCellByA1(t);return o?o.value:(this.currentCell.error={message:`undefined cell ${t}`},null)},this.rn=(t,e)=>this.getModel(e).getValuesInRange(Ev.fromA1(t)),this.nv=(t,e)=>this.getModel(e).getCellByName(t,this.currentCell.range).value,this.nr=(t,e)=>{const i=this.getModel(e).getValueMatrixByName(t);return 1===i.length&&1===i[0].length?i[0][0]:i},this.fn=t=>{const e=rw.get(t);if(e)return e;throw new Error(`Function "${t}" not found`)},this.op=(t,e,i)=>bv(t,e,i)}}function nw(t,e){const i=Array(e).fill(null);let o=0,r=[];if(t.length>1){r=t.map((t=>parseFloat(t.value)||0)),o=r[1]-r[0];for(let t=2;t<r.length;t++)if(r[t]-r[t-1]!==o){o=0;break}}if(0==o)for(let o=0;o<e;o++)i[o]=t[o%t.length]?.value;else{let t=r[r.length-1];for(let r=0;r<e;r++)t=i[r]=t+o}return i}function aw(t,e,i){const o=new Gv(t.formula,t.model.calculations.tokenizer),r=[];for(let t=0;t<i;t++)r.push(Fv(o.shift({index:0,offset:1,direction:e,allSheets:!0}).createFormulaString()));return r}function lw(t,e,i,o){const r=t.getCellMatrix(e);let s;"right"==o?s=Xr(r):"down"==o?s=Zr(r):"left"==o?s=qr(r):"up"==o&&(s=qr(Zr(r)));const n=new Array(i.size.rows);for(let t=0;t<i.size.rows;t++){n[t]=new Array(i.size.columns);for(let e=0;e<i.size.columns;e++){const i=r.length>t?r[t][r[t].length>e?e:0]:r[0][e];n[t][e]=i.hasDisplayValue?i.displayValue:null}}const a=i.size["down"==o||"up"==o?"rows":"columns"];let l=s.map((t=>t[t.length-1].hasFormula?aw(t[t.length-1],o,a):nw(t,a)));return"down"==o?l=Zr(l):"left"==o?l=qr(l):"up"==o&&(l=Yr(Zr(l))),t.spillValues({cell:t.getCellByRange(i.bounds[0][0]),values:l,propertyCell:t.getCellByRange(e.bounds[0][0]),displayValues:n})}function cw(t){return t.pattern&&"string"==typeof t.pattern&&(t.pattern=new RegExp(t.pattern)),t}function hw(t,e){const i=t.validation;if(!i)return!0;if(i.allowInvalid)return!0;let o=!0;return i.pattern&&(i.pattern.test((e??"").toString())||(o=!1)),i.validate&&(i.validate(t,e)||(o=!1)),o}class dw{get address(){return null}get renderer(){return this._renderer}set renderer(t){this._renderer=t}get afterRenderer(){return this._afterRenderer}set afterRenderer(t){this._afterRenderer=t}get commentRenderer(){return this._commentRenderer}set commentRenderer(t){this._commentRenderer=t}get type(){return this._type}set type(t){this._type=t}get name(){return this._name}set name(t){this._name=t}get style(){return this._style}set style(t){this._style=t}get commentable(){return this._commentable}set commentable(t){this._commentable=t}get clickable(){return this._clickable}set clickable(t){this._clickable=t}get editable(){return this._editable}set editable(t){this._editable=t}get validation(){return this._validation}set validation(t){this._validation=t}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){this._formula=t?t.replace(/^=/,""):null}get value2(){return this.hasFormula?Fv(this.formula):null}get editorContent(){return this._editorContent}set editorContent(t){this._editorContent=t}get adapter(){return this._adapter}set adapter(t){this._adapter=t}get properties(){return this._properties}set properties(t){this._properties=t}getProperty(t){return this._properties?.[t]}setProperty(t,e){this._properties||(this._properties={}),this._properties[t]=e}get format(){return this._format}set format(t){this._format=t,this._valueFormatter=null}get valueFormatter(){return this._valueFormatter}constructor(t,e){this.model=t,this._type=null,this._clickable=!1,e&&this.populate(e)}populate(t){this._renderer=t.renderer,this._afterRenderer=t.afterRenderer,this._commentRenderer=t.commentRenderer,this._name=t.name,this._type=t.t,this._editorContent=t.content,this._adapter=t.adapter,this._format=t.z,this._formula=t.f,this._editable=t.e,this._commentable=t.commentable,this._clickable=t.clickable,this._validation=t.validation?cw(t.validation):null,this._properties=t.props,this._style=null==t.s?null:this.model.styles.add(t.s)?.id}update(t){const e={};if("renderer"in t&&(e.renderer=this._renderer,this._renderer=t.renderer),"afterRenderer"in t&&(this._afterRenderer=t.afterRenderer),"commentRenderer"in t&&(this._commentRenderer=t.commentRenderer),"name"in t&&(e.name=this._name,this._name=t.name),"t"in t&&(e.t=this._type,this._type=t.t),"content"in t&&(e.content=this._editorContent,this._editorContent=t.content),"adapter"in t&&(e.adapter=this._adapter,this._adapter=t.adapter),"z"in t&&(e.z=this._format,this._format=t.z),"f"in t&&(e.f=this._formula,this._formula=t.f),"e"in t&&(e.e=this._editable,this._editable=t.e),"commentable"in t&&(e.commentable=this._commentable,this._commentable=t.commentable),"clickable"in t&&(e.clickable=this._clickable,this._clickable=t.clickable),"validation"in t&&(e.validation=this._validation,this._validation=cw(t.validation)),"props"in t&&(e.props=this._properties,this._properties=t.props),"s"in t){const i=this.model.styles.add(t.s).id;this._style!==i&&(e.s=this._style,this._style=i)}return e}getSourceData(){const t={};return null!=this._type&&(t.t=this._type),null!=this._format&&(t.z=this._format),null!=this._formula&&(t.f=this._formula),null!=this._editable&&(t.e=this._editable),null!=this._commentable&&(t.commentable=this._commentable),null!=this._clickable&&(t.clickable=this._clickable),this._properties&&(t.props=rt(this._properties)),null!=this._editorContent&&(t.content=Z(this._editorContent)?rt(this._editorContent):this._editorContent),null!=this._style&&(t.s=this._style),null!=this._name&&(t.name=this._name),t}setStyleProperties(t,e=!1){this.style=e?this.model.styles.set(this.style,t).id:this.model.styles.duplicate(this.style,t).id}removeStyleProperties(t){null!==this.style&&this.model.styles.unset(this.style,t)}get composedStyle(){return this.model.styles.get(this.style)}}function uw(t){const e={};return t.split(";").forEach((t=>{const[i,o]=t.split(":");e[i]=o.trim()})),e}const pw=new Map([["thin",{width:1.5,style:"solid"}],["medium",{width:2,style:"solid"}],["thick",{width:3,style:"solid"}],["double",{width:3,style:"double"}],["dotted",{width:1.5,style:"dotted"}],["hair",{width:1,style:"solid"}],["dashed",{width:1.5,style:"dashed"}],["mediumDashed",{width:2,style:"dashed"}],["dashDot",{width:1.5,style:"dashed"}],["mediumDashDot",{width:2,style:"dashed"}],["dashDotDot",{width:1.5,style:"dotted"}],["mediumDashDotDot",{width:2,style:"dotted"}],["slantDashDot",{width:1.5,style:"dashed"}],["none",{width:1.5,style:"solid"}]]),gw=(()=>{const t=new Map;return pw.forEach(((e,i)=>{let o=t.get(e.style);o||(o=t.set(e.style,new Map).get(e.style)),o.set(e.width,i)})),t})();function mw(t){return"middle"==t?"center":t}function fw(t){return t="#"==t.charAt(0)?t.substring(1):t,/^[0-9a-fA-F]{3}$/.test(t)?t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:/^[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$/.test(t)?t:Wr(Br(t))}const vw=t=>{if("none"==t)return null;const e=t.split(" "),i=parseInt(e[0].charAt(0))||1,o=e.length>1?e[1]:"solid",r=gw.get(o);return{style:(r?r.get(i):null)??"thin",color:e.length>2?fw(e[2]):"CCCCCC"}},bw=t=>{const e=pw.get(t.style||"none");return e?[Ot(e.width),e.style,"none"==t.style?"var(--og-cell-background)":t.color?`#${t.color}`:"var(--og-border-color)"].join(" "):"none"},yw=(t,e)=>{const i="#"+(e.fgColor||"000000"),o="#"+(e.bgColor||"FFFFFF");switch(e.patternType){case"solid":t.backgroundColor=i||o;break;case"darkGray":t.backgroundColor=Nr(o,.75);break;case"mediumGray":t.backgroundColor=Nr(o,.5);break;case"lightGray":t.backgroundColor=Nr(o,.25);break;case"gray125":t.backgroundColor=Nr(o,.125);break;case"gray0625":t.backgroundColor=Nr(o,.0625);break;case"darkHorizontal":t.backgroundImage=`linear-gradient(0deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkVertical":t.backgroundImage=`linear-gradient(90deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkDown":t.backgroundImage=`linear-gradient(45deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkUp":t.backgroundImage=`linear-gradient(-45deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"lightHorizontal":t.backgroundImage=`linear-gradient(0deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightVertical":t.backgroundImage=`linear-gradient(90deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightDown":t.backgroundImage=`linear-gradient(45deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightUp":t.backgroundImage=`linear-gradient(-45deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"darkGrid":t.backgroundImage=`linear-gradient(${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="2px 2px";break;case"lightGrid":t.backgroundImage=`linear-gradient(${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="1px 1px";break;case"darkTrellis":t.backgroundImage=`linear-gradient(45deg, ${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="2px 2px";break;case"lightTrellis":t.backgroundImage=`linear-gradient(45deg, ${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="1px 1px"}return t},ww=(t,e)=>(t.backgroundImage=`linear-gradient(${(e.angle??0)+90}deg,${e.stops.map((t=>`#${t.rgb} ${100*t.v}%`)).join(",")})`,t),xw=t=>{const e=t.cssStyle?{...t.cssStyle}:{};return null!=t.bold&&(e.fontWeight=t.bold?"bold":"normal"),t.italic&&(e.fontStyle="italic"),t.underline?e.textDecoration="underline":t.strike&&(e.textDecoration="line-through"),t.sz&&(e.fontSize=Dt(t.sz)),t.color&&(e.color="#"+t.color),t.top&&(e.borderTop=bw(t.top)),t.right&&(e.borderRight=bw(t.right)),t.bottom&&(e.borderBottom=bw(t.bottom)),t.left&&(e.borderLeft=bw(t.left)),(t.top||t.right||t.bottom||t.left)&&(e.zIndex="1"),t.alignment&&t.alignment.vertical&&(e.display="flex",e.justifyContent=t.alignment.horizontal,e.alignItems="top"==t.alignment.vertical?"start":"bottom"==t.alignment.vertical?"end":"center"),t.alignment&&t.alignment.horizontal&&(e.textAlign=t.alignment.horizontal),t.alignment&&t.alignment.wrapText&&(e.display="flex",e.justifyContent=e.justifyContent??e.textAlign??"left",e.alignItems=e.alignItems??"center",e.whiteSpace="pre-wrap"),t.patternType?yw(e,t):t.stops&&t.stops.length?ww(e,t):t.fgColor?e.backgroundColor="#"+t.fgColor:t.bgColor&&(e.backgroundColor="#"+t.bgColor),e},kw=t=>{const e=Z(t)?t:uw(t),i={};let o;for(const t in e){const r=e[t];if(null!=r)switch(t){case"borderTop":case"border-top":i.top=vw(r);break;case"borderTopColor":case"border-top-color":i.top?i.top.color=fw(r):i.top={style:"thin",color:fw(r)};break;case"borderRight":case"border-right":i.right=vw(r);break;case"borderRightColor":case"border-right-color":i.right?i.right.color=fw(r):i.right={style:"thin",color:fw(r)};break;case"borderBottom":case"border-bottom":i.bottom=vw(r);break;case"borderBottomColor":case"border-bottom-color":i.bottom?i.bottom.color=fw(r):i.bottom={style:"thin",color:fw(r)};break;case"borderLeft":case"border-left":i.left=vw(r);break;case"borderLeftColor":case"border-left-color":i.left?i.left.color=fw(r):i.left={style:"thin",color:fw(r)};break;case"border":o=vw(r),i.top=i.top||o,i.right=i.right||o,i.bottom=i.bottom||o,i.left=i.left||o;break;case"textAlign":case"text-align":i.alignment=i.alignment||{},i.alignment.horizontal=r;break;case"verticalAlign":case"vertical-align":i.alignment=i.alignment||{},i.alignment.vertical=mw(r);break;case"whiteSpace":case"white-space":i.alignment=i.alignment||{},i.alignment.wrapText=r&&"nowrap"!=r;break;case"color":i.color=fw(r);break;case"background":case"backgroundColor":case"background-color":i.fgColor=fw(r);break;case"fontSize":case"font-size":i.sz=parseFloat(r);break;case"fontWeight":case"font-weight":i.bold="bold"==r;break;case"fontStyle":case"font-style":i.italic="italic"==r;break;default:i[t]=r}}return i},Cw={n:t=>{const e=Q(t)?parseFloat(t.replace(",",".")):t;return Number.isNaN(e)?t:e},t:t=>t,d:(t,e)=>{if(null==t||""===t)return null;if(Q(t))try{return K(t)?J(t):sr(Xo(t,e.model.options.formatLocale))}catch(i){return e.model.logger.error(`Invalid date value in cell ${e.address}: ${t}`),null}return t instanceof Date?sr(t):t},tm:t=>Q(t)?new Date(t):t,dt:t=>Q(t)?new Date(t):t,b:t=>!!t&&"0"!==t&&"false"!==t.toString().toLowerCase(),s:t=>t,m:t=>t,g:t=>{if(null==t||""===t)return null;const e=parseFloat(t.toString().replace(",","."));return isNaN(e)?t:e},a:t=>Q(t)&&""!==t?JSON.parse(t):t,h:t=>t},Mw=new Map;class _w extends dw{get tooltip(){return this._tooltip}set tooltip(t){this._tooltip=t}get hasTooltip(){return null!=this._tooltip}get merge(){return this.model.merges.mergedCells.get(this.address)}get row(){return this._row}set row(t){this._row=t}get r(){return this._row.index}get column(){return this._column}set column(t){this._column=t}get c(){return this._column.index}get hasValue(){return null!=this._value}get value(){return this._evaluated||this.evaluate(),this._value}set value(t){if(t&&Hv(t.toString()))this._value=void 0,this.formula=t;else{let e=Cw[this.type](t,this);hw(this,e)||(e=void 0),e!==this._value&&(this._value=e,this._displayValue=void 0),this.row.data&&this.column.data&&(this.row.data[this.column.data]=this._value)}}evaluate(){return this._value=Cw[this.type](this.model.calculations.evaluate(this),this),this._evaluated=!0,this._value}get value2(){return this.hasFormula?Fv(this.formula):this.value}get hasDisplayValue(){return null!=this._displayValue}get displayValue(){return this._displayValue}set displayValue(t){this._displayValue=t}get prefersDisplayValue(){return["s","m"].includes(this.type)}get error(){return this._error}set error(t){this._error=t}get hasError(){return!!this._error}clearError(){this._error=void 0}get spillRange(){return this._spillRange}get prevSpillRange(){return this._prevSpillRange}set spillRange(t){!this._spillRange||t&&this._spillRange.equals(t)||(this._prevSpillRange=this._spillRange),this._spillRange=t}get isSpillSource(){return null!=this._spillRange}get spillSource(){return this._spillSource}get isSpilled(){return null!=this._spillSource}spillValue(t,e){this.value=t,this._spillSource=e}clearSpilledValue(){this._spillSource=void 0,this._value=void 0}get hasSparkline(){return null===this._sparkline?this._sparkline=this.model.sparklines.has(this.address):this._sparkline}get hasComment(){return null===this._hasComment?this._hasComment=(this.model.comments.get(this.address)??[]).length>0:this._hasComment}get comments(){return this.model.comments.get(this.address)}get valueFormatter(){const t=super.valueFormatter??this.row.valueFormatter??this.column.valueFormatter;if(t)return t;const e=this.type,i=this.format,{formatLocale:o,fixNumberFormat:r}=this.model.options,s=this.value;if(null==s||""===s)return null;if("n"==e)return null!=i?gr(o,i,r):this.model.options.numberFormatter;if("g"==e){if(null!=i)return gr(o,i,r);if(tt(s))return this.model.options.numberFormatter}else{if("t"==e)return null==i?null:gr(o,i,!1);if("d"==e)return i?Qo(o,i):this.model.options.dateFormatter;if("s"==e&&this.editorContent)return(t=>{if(t=t||null,!Mw.has(t))if(t){const e=t.reduce(((t,e)=>t.set(e.k,e.v)),new Map);Mw.set(t,(t=>e.has(t)?e.get(t):t))}else Mw.set(t,(t=>t));return Mw.get(t)})(this.editorContent)}return null}get formattedValue(){return null==this.value?"":this.hasDisplayValue?this.displayValue:this.valueFormatter?this.valueFormatter(this.value):this.value.toString()}get elm1(){return this.row.priority>=this.column.priority?this.row:this.column}get elm2(){return this.row.priority<this.column.priority?this.row:this.column}get clickable(){return super.clickable??this.elm1.clickable??this.elm2.clickable}get type(){return super.type??this.elm1.type??this.elm2.type??"g"}set type(t){this._type=t}get editorContent(){return super.editorContent??this.elm1.editorContent??this.elm2.editorContent??null}get adapter(){return super.adapter??this.elm1.adapter??this.elm2.adapter}set adapter(t){this._adapter=t}get address(){return this.column.address+this.row.address}get range(){return Ev.fromA1(this.address)}get validation(){return super.validation??this.elm1.validation??this.elm2.validation??this.model.options.cellValidation}get editable(){return super.editable??this.elm1.editable??this.elm2.editable??this.model.options.editable}set editable(t){this._editable=t}get commentable(){return super.commentable??this.elm1.commentable??this.elm2.commentable??this.model.options.commentable}get renderer(){return super.renderer??this.elm1.renderer??this.elm2.renderer}get afterRenderer(){return super.afterRenderer??this.elm1.afterRenderer??this.elm2.afterRenderer??this.model.options.afterRenderer}get commentRenderer(){return super.commentRenderer??this.elm1.commentRenderer??this.elm2.commentRenderer??this.model.options.comments.renderer}get format(){return super.format??this.elm1.format??this.elm2.format}set format(t){super.format=t}get hyperlink(){return this._hyperlink}set hyperlink(t){this._hyperlink=t}get hasOwnFormula(){return!!this._formula}get hasFormula(){return null==this._hasFormula&&(this._hasFormula=!!this.formula),this._hasFormula}get formula(){return this._formula??this.elm1.formula??this.elm2.formula}set formula(t){super.formula=t,this.refreshFormula()}invalidateValue(){this.hasFormula?(this._value=void 0,this._evaluated=!1):this._evaluated=!0,this.clearError()}refreshFormula(){this.invalidateValue(),this._hasFormula=null}clearFormula(){this._formula=null,this._hasFormula=!1,this._evaluated=!0}constructor(t,e){super(t),this._evaluated=!0,this._sparkline=null,this._hasComment=null,this._hasStyle=null,this.row=t.rows[e.r],this.column=t.columns[e.c],this.populate(e)}populate(t){super.populate(t),this._tooltip=t.tooltip,this._hyperlink=t.hl,null!=t.f&&""!==t.f?this._evaluated=!1:null!=t.v&&(this.value=t.v),this._displayValue=t.dv}update(t){const e=super.update(t);return"tooltip"in t&&(e.tooltip=this._tooltip,this._tooltip=t.tooltip),"hl"in t&&(e.hl=this._hyperlink,this._hyperlink=t.hl),"f"in t?this._evaluated=!1:"v"in t&&(e.v=this.value,this.value=t.v),"dv"in t&&(e.dv=this._displayValue,this._displayValue=t.dv),e}getSourceData(t){const e=super.getSourceData();return this.merge&&(e.cs=this.merge.cs,e.rs=this.merge.rs),null!=this.value&&(e.v=this.value),this.hasTooltip&&(e.tooltip=this._tooltip),this._hyperlink&&(e.hl=this._hyperlink),t&&t.displayValue&&this.hasDisplayValue&&(e.dv=this._displayValue),e}createComposedStyle(t,e,i){const o=[];return t=t||this.column.style,e=e||this.row.style,null!=t&&null!=e?this.column.priority>this.row.priority?o.push(e,t):o.push(t,e):null!=t?o.push(t):null!=e&&o.push(e),null!=this.style&&o.push(this.style),null!=i&&o.push(i),o.length>0?this.model.styles.merge(...o):null}get composedStyle(){if(null===this._hasStyle){const t=this.createComposedStyle(null,null,this.model.conditionalFormats.evaluate(this));this._hasStyle=null!=t,this._composedStyle=t}return this._composedStyle}get calculatedIndent(){const t=this.composedStyle;return t?.alignment?.indent?t.alignment.indent:this.column.levelIndent&&this.row.level>0?this.row.level*this.model.options.levelIndentFactor:null}get cssStyle(){if(!1===this._hasStyle)return null;if(!this._cssStyle){const t=this.composedStyle;t&&(this._cssStyle=xw(t))}return this._cssStyle}invalidateStyle(){this._hasComment=null,this._hasStyle=null,this._composedStyle=null,this._cssStyle=null,this._sparkline=null}setStyleProperties(t){super.setStyleProperties(t),this.invalidateStyle()}removeStyleProperties(t){super.removeStyleProperties(t),this.invalidateStyle()}previewStyleProperties(t,e="cell"){const i=Object.assign({},this.createComposedStyle("column"==e?t:null,"row"==e?t:null)??{});if("cell"==e)for(const e in t)i[e]=t[e];this._hasStyle=!0,this._cssStyle=xw(i)}validate(){return!this.validation||hw(this,this.value)}toString(){return this.address}}const Sw={property:"value",enabled:!0};class zw extends(Tr(dw)){get comparer(){return this._comparer}set comparer(t){this._comparer=t}get filter(){return this._filter??(this.model.options.filters?.enabled?Sw:{enabled:!1})}set filter(t){this._filter=t}get hasFilter(){return this.filter.enabled}get sorting(){return this._sorting??this.model.options.columnSorting}set sorting(t){this._sorting=t}get width(){return this._width??this.model.options.columnWidth}set width(t){this._width=t}get levelIndent(){return this._levelIndent}set levelIndent(t){this._levelIndent=t}get levelButtons(){return this._levelButtons}set levelButtons(t){this._levelButtons=t}get priority(){return this._priority}set priority(t){this._priority=t}get address(){return Rv(this.index)}get range(){return new Ev(this.index,null,this.index,null)}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){super.formula=t;const e=this.index;this.model.rows.forEach((t=>t.cells[e]?.refreshFormula()))}constructor(t,e){super(t,e),null==this._priority&&(this._priority=t.options.columnPriority)}get mergedHeaders(){return this._mergedHeaders??(this._mergedHeaders=this._header?.filter((t=>t.cs>1||t.rs>1))??[])}updateMergedHeaders(){this._mergedHeaders=null}set header(t){this._mergedHeaders=null,this._header=t}get header(){if(!this._header||this._header.length<this.model.headerCount){this._header=this._header??[];for(let t=this._header.length;t<this.model.headerCount;t++)this._header.push({r:t})}return this._header}hasHeaderTooltip(t){const e=this.header?.[t];return e&&null!=e.tooltip}convertSourceHeader(t){return Array.isArray(t)?t.map(((t,e)=>{if(null==(t=t??{r:e}).height&&(t.height=t.h),t.r=e,null==t.style&&(t.style=t.s),t._style=null==t.style?null:this.model.styles.add(t.style).id,null!=this.model.options.headers?.style){const e=this.model.styles.add(this.model.options.headers.style).id;t._style=this.model.styles.merge(t._style,e).id}return t})):Q(t)?[{label:t,r:0}]:null}populate(t){super.populate(t),this._width=null==t.w||"auto"==t.w?null:t.w,this._levelIndent=t.levelIndent,this._levelButtons=t.levelButtons,this._header=this.convertSourceHeader(t.header),this._sorting=t.sorting,this._filter=Z(t.filter)?Object.assign({enabled:!0},t.filter):t.filter?Sw:!1===t.filter?{enabled:!1}:null,this._comparer=t.comparer,this.data=t.data,this._mergedHeaders=null,null!=t.priority&&(this._priority=t.priority)}getSourceData(){const t=super.getSourceData();return null!=this._width&&(t.w=this._width),null!=this._levelIndent&&(t.levelIndent=this._levelIndent),null!=this._levelButtons&&(t.levelButtons=this._levelButtons),null!=this._header&&(t.header=this._header),null!=this._sorting&&(t.sorting=this._sorting),null!=this._filter&&(t.filter=this._filter),null!=this.data&&(t.data=this.data),t}expand(t){super.expand(t),this.model.indexVisibleColumns()}collapse(){super.collapse(),this.model.indexVisibleColumns()}get prev(){return this.model.columns[this.index-1]}get next(){return this.model.columns[this.index+1]}get prevVisible(){const t=this.model.visibleColumnIndex[this.index];return null==t||0===t?null:this.model.visibleColumns[t-1]}get nextVisible(){const t=this.model.visibleColumnIndex[this.index];return null==t?null:this.model.visibleColumns[t+1]}calculateRealColspan(t){let e=1,i=this.nextVisible;for(;i&&i.index-this.index<t&&e<t;)++e,i=i.nextVisible;return e}cell(t){return this.model.rows[t].cell(this.index)}clearCalculatedValues(){this.model.rows.forEach((t=>{const e=t.cells[this.index];e&&this.model.calculations.refreshFormula(e)}))}}var Ew;!function(t){t[t.Asc=1]="Asc",t[t.Desc=-1]="Desc"}(Ew||(Ew={}));const Lw={g:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,t:(t,e)=>(t.value||"").toString().localeCompare((e.value||"").toString()),s:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,m:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,n:(t,e)=>t.value-e.value,d:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),tm:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),dt:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),b:(t,e)=>t.value-e.value,h:(t,e)=>(t.value||"").localeCompare(e.value),a:()=>0},Iw={g:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,t:(t,e)=>(e.value||"").toString().localeCompare((t.value||"").toString()),s:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,m:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,n:(t,e)=>e.value-t.value,d:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),tm:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),dt:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),b:(t,e)=>e.value-t.value,h:(t,e)=>(e.value||"").localeCompare(t.value),a:()=>0},Rw=(t,e)=>t.origIndex-e.origIndex;class Tw{get settings(){return this._settings}set settings(t){this._settings=t||[],this.colMap.clear(),this.settings.length>0&&(this.settings.forEach(((t,e)=>this.colMap.set(t.c,e))),this.applySort(),Lr().info(`sorting applied: ${JSON.stringify(this.settings)}`))}constructor(t,e=null){this.model=t,this.colMap=new Map,this._settings=[],this.settings=e}get(t){return this.colMap.has(t)?this.settings[this.colMap.get(t)]:null}sort(t,e=null,i=!1){let o=this.get(t);return o&&o.ord==Ew.Desc&&null===e?(this.settings.splice(this.colMap.get(t),1),o=null):o?(o.ord=Ew.Desc,this.settings.splice(this.colMap.get(t),1)):o={c:t,ord:Ew.Asc},o&&(null!==e&&(o.ord=e),this.colMap.set(t,0),this.settings.unshift(o)),this.settings.length>this.model.options.maxSortingColumns&&this.settings.pop(),this.colMap.clear(),this.settings.forEach(((t,e)=>{t.index=e,this.colMap.set(t.c,e)})),i||(this.settings.length>0?this.applySort():this.resetSort()),o}applySort(){const t=this.model,e=this.settings.map((e=>{const i=t.columns[e.c];return i?i.comparer?e.ord==Ew.Asc?i.comparer:(t,e)=>-i.comparer(t,e):e.ord==Ew.Asc?Lw[i.type??"t"]:Iw[i.type??"t"]:(Lr().warn(`Column sorting: Column with index ${e.c} not found`),null)})).filter((t=>t)),i=e.length;let o,r,s;t.rowRoot.sort(((t,n)=>{if(!1===t.sortable||!1===n.sortable)return t.origIndex-n.origIndex;for(r=0;r<i;r++)if(s=this.settings[r].c,o=e[r](t.cell(s),n.cell(s)),0!=o)return o;return 0})),t.indexRowsByTree()}resetSort(){this.settings=[],this.colMap.clear(),this.model.rowRoot.sort(Rw),this.model.indexRowsByTree()}persistSort(){this.model.rows.forEach(((t,e)=>t.origIndex=e))}}class $w{get properties(){return this._properties}set properties(t){this._properties=t}constructor(t){t&&this.pupulate(t)}pupulate(t){this.author=t.author,this.text=t.text,this.date=t.date?new Date(t.date):null,this.data=t.data,this.readOnly=!!t.readOnly,this._properties=t.props}getSourceData(){const t={};return this._properties&&(t.props=this._properties),this.author&&(t.author=this.author),this.text&&(t.text=this.text),this.data&&(t.data=this.data),null!==this.readOnly&&(t.readOnly=this.readOnly),this.date&&(t.date=Qo("en-US")(this.date,"yyyy-MM-dd HH:mm:ss")),t}}class Aw{constructor(t,e){this.model=t,this._commentMap=new Map,this.has=t=>this._commentMap.has(t),this.delete=t=>this._commentMap.delete(t),this.cleanCell=t=>{this.has(t)&&this._commentMap.set(t,this.get(t).filter((t=>(t.text??"").length>0||null!=t.data)))},this.get=t=>(this.has(t)||this._commentMap.set(t,[]),this._commentMap.get(t)),this.set=(t,e)=>{this._commentMap.set(t,e?.map((t=>t instanceof $w?t:new $w(t)))||[]),this.cleanCell(t)},e&&this.populate(e)}populate(t){t.forEach((t=>{const e=t.a1||new Ev(t.c,t.r).A1;this._commentMap.has(e)||this._commentMap.set(e,[]),this._commentMap.get(e).push(new $w(t))})),this._commentMap.forEach((t=>{t.sort(((t,e)=>(e.date?e.date.getTime():0)-(t.date?t.date.getTime():0)))}))}shift(t){Array.from(this._commentMap.keys()).forEach((e=>{const i=Ev.fromA1(e);i.shift(t),i.A1!=e&&(this._commentMap.set(i.A1,this._commentMap.get(e)),this._commentMap.delete(e))}))}}function Dw(t,e,i){t.forEach((t=>t.forEach((t=>{t[1]==e&&(t[1]=i)}))))}class Ow{get cellDependencies(){return this._cellDependencies}get cellDependants(){return this._cellDependants}get rangeDependencies(){return this._rangeDependencies}get rangeDependants(){return this._rangeDependants}get sheetDependencies(){return this._sheetDependencies}get sheetDependants(){return this._sheetDependants}constructor(t,e="calculations"){this.model=t,this.modelPart=e,this._cellDependencies=new Map,this._cellDependants=new Map,this._rangeDependencies=new Map,this._rangeDependants=new Map,this._sheetDependencies=new Map,this._sheetDependants=new Map}clear(){this._cellDependants.clear(),this._cellDependencies.clear(),this._rangeDependencies.clear(),this._rangeDependants.clear()}clearCellDependecies(t){return this._cellDependencies.has(t)&&this._cellDependencies.delete(t),this._rangeDependencies.has(t)&&this._rangeDependants.delete(t),this}has(t){return this._cellDependencies.has(t)||this._rangeDependencies.has(t)}add(t,e,i){const o=Ev.fromA1(t).removeAnchors(),r=Ev.fromA1(e).removeAnchors();e=r.A1;const s=r.isRange,n=s?this._rangeDependencies:this._cellDependencies;let a=null;if((n.has(t)?n.get(t):n.set(t,new Map).get(t)).set(e,[r,i]),i){const t=this.model.getConnectedModel(i);t&&(t.calculations.dependencies.sheetDependants.set(this.model.name,this.model.name),this.sheetDependencies.set(i,i),a=s?t.calculations.dependencies.rangeDependants:t.calculations.dependencies.cellDependants),i=this.model.name}else a=s?this._rangeDependants:this._cellDependants;a&&(a.has(e)||a.set(e,new Map),a.get(e).set(t,[o,i]))}getDependants(t,e=null){let i,o;const r=t.A1;return e=e??new Map,this._cellDependants.has(r)&&this._cellDependants.get(r).forEach((([t,s])=>{e.has(t)||(s&&(o=this.model.getConnectedModel(s)),i=o||this.model,e.set(t,[i.getCellByRange(t),s]),o?o[this.modelPart].dependencies.getDependants(t).forEach(((t,i)=>{e.set(i,[t[0],t[1]??s])})):(t.A1!=r||o)&&i.calculations.dependencies.getDependants(t,e))})),this._rangeDependants.forEach(((i,o)=>{Ev.fromA1(o).contains(t)&&i.forEach((([t,i])=>{e.has(t)||(e.delete(t),this.getDependants(t,e.set(t,[(i?this.model.getConnectedModel(i):this.model).getCellByRange(t),i])))}))})),e}renameSheet(t,e){this._sheetDependants.has(t)&&(this._sheetDependants.delete(t),this._sheetDependants.set(e,e)),this._sheetDependencies.has(t)&&(this._sheetDependencies.delete(t),this._sheetDependencies.set(e,e)),Dw(this._cellDependants,t,e),Dw(this._cellDependencies,t,e),Dw(this._rangeDependants,t,e),Dw(this._rangeDependencies,t,e)}}class Nw{get dependencies(){return this._dependencies}constructor(t,e){this.model=t,this._dependencies=new Ow(t,e)}}function Pw(t){return t instanceof RangeError?"Maximum call stack size exceeded"==t.message?"infinite loop":t.message:t.toString()}class jw extends Nw{get tokenizer(){return this._tokenizer}get formulas(){return this._formulas}constructor(t){super(t,"calculations"),this._tokenizer=new _v,this._formulas=new Map,this.context=new sw(t)}createFormula(t){const e=new Gv(t.formula,this.tokenizer);return this._formulas.set(t.address,e),t.hasOwnFormula&&(t.formula=e.createFormulaString()),this.createDependecies(t),e}createDependecies(t){const e=t.address;if(this.formulas.has(e)){const i=this.formulas.get(e);i.ranges.forEach((([t,i,o])=>this._dependencies.add(e,i.A1,o))),i.cells.forEach((([t,i,o])=>this._dependencies.add(e,i.A1,o))),i.variables.forEach((([i,o])=>{const r=this.model.getCellByName(o,t.range);r&&this._dependencies.add(e,r.address,null)}))}return this}refreshFormula(t){return t.refreshFormula(),this.formulas.delete(t.address),this.clearDependecies(t),this}updateDependencies(t){return this.clearDependecies(t).getFormula(t),this}getFormula(t){return this._formulas.has(t.address)?this._formulas.get(t.address):this.createFormula(t)}refresh(){this.dependencies.clear(),this._formulas.clear()}clearDependecies(t){const e=t.address;return this.dependencies.clearCellDependecies(e),this.formulas.delete(e),this}evaluateFormula(t,e){return this.context.currentCell=e,t.fn(this.context,{cell:e,formula:t})}evaluateExpression(t,e){this.context.currentCell=e;const i=new Gv(t,this.tokenizer);return i.fn(this.context,{cell:e,formula:i})}evaluate(t,e){if(!t)return null;let i=null;if(t.hasFormula){const o=this.getFormula(t);try{t.clearError(),this.context.currentCell=t,i=o.fn(this.context,{cell:t,formula:o}),Array.isArray(i)?(e||this.model.spillValues({cell:t,values:i}).range,i=i.length>0&&i[0].length>0?i[0][0]:null,e&&(t.value=i)):t.value=i}catch(e){t.error={message:Pw(e)}}}else i=t.value;return i}evaluateAll(){this.model.rows.forEach((t=>this.model.columns.forEach(((e,i)=>t.cell(i).evaluate()))))}calculateViewport(t){const e=[];return t.rows.forEach((t=>t.cells.forEach((t=>{if(t.hasFormula){if(!t.hasValue&&(this.evaluate(t),t.spillRange))for(const i of this.model.getRangeIterator(t.spillRange))e.push(i);e.push(t)}})))),e}shift(t){this.getFormulaCells().forEach((e=>{e.formula=this.getFormula(e).shift(t).createFormulaString(!1),this.updateDependencies(e)}));const e=this.model.name;return this.dependencies.sheetDependants.forEach((i=>{const o=this.model.getConnectedModel(i);o?.calculations.getFormulaCells().forEach((i=>{const r=o.calculations.getFormula(i);r.hasSheetReference(e)&&(i.formula=r.shift(t).createFormulaString(!1),o.calculations.updateDependencies(i))}))})),this}getFormulaCells(){const t=this.model,e=[];let i;const o=t.rows.length,r=t.columns.length;for(let s=0;s<o;s++){i=t.rows[s];for(let t=0;t<r;t++)i.hasCellFormula(t)&&e.push(i.cell(t))}return e}renameSheet(t,e){let i=!1;return this.dependencies.renameSheet(t,e),this.getFormulaCells().forEach((o=>{const r=this.getFormula(o);r.renameSheet(t,e)&&(o.formula=r.createFormulaString(),this.refreshFormula(o),i=!0)})),i}invalidateCellDependants(t){const e=[];return this.dependencies.getDependants(t.range).forEach((([t,i])=>{e.push([t,i]),t.invalidateValue()})),e}invalidateDependants(t){const e=new Map,i=new Map;for(const i of t)this.invalidateCellDependants(i).forEach((([t,i])=>e.set(t,i)));e.forEach(((t,e)=>i.set(e,t)));for(const i of t)e.set(i,null);return e.forEach(((t,e)=>{this.model.sparklines.dependencies.getDependants(e.range).forEach((([t,e])=>{i.set(t,e)})),this.model.conditionalFormats.dependencies.getDependants(e.range).forEach((([t,e])=>{this.model.conditionalFormats.invalidateExtremes(t),t.invalidateStyle(),i.set(t,e)}))})),i}}const Hw="#ff0000",Fw="#fcd53f",Bw="#00bb5e",Ww="#555555",Vw=new Map([["3Arrows",[{icon:["fas","down"],color:Hw},{icon:["fas","right"],color:Fw},{icon:["fas","up"],color:Bw}]],["3ArrowsGray",[{icon:["fas","down"],color:Ww},{icon:["fas","right"],color:Ww},{icon:["fas","up"],color:Ww}]],["3Flags",[{icon:["fas","flag-pennant"],color:Hw},{icon:["fas","flag-pennant"],color:Fw},{icon:["fas","flag-pennant"],color:Bw}]],["3TrafficLights1",[{icon:["fas","circle"],color:Hw},{icon:["fas","circle"],color:Fw},{icon:["fas","circle"],color:Bw}]],["3TrafficLights2",[{icon:["fas","square-o"],color:Hw},{icon:["fas","square-o"],color:Fw},{icon:["fas","square-o"],color:Bw}]],["3Signs",[{icon:["fas","square"],rotation:45,color:Hw},{icon:["fas","triangle"],color:Fw},{icon:["fas","circle"],color:Bw}]],["3Symbols",[{icon:["fas","circle-xmark"],color:Hw},{icon:["fas","circle-exclamation"],color:Fw},{icon:["fas","circle-check"],color:Bw}]],["3Symbols2",[{icon:["fas","xmark"],color:Hw},{icon:["fas","exclamation"],color:Fw},{icon:["fas","check"],color:Bw}]],["3Stars",[{icon:["fal","star"],color:Fw},{icon:["fas","star-half-stroke"],color:Fw},{icon:["fas","star"],color:Fw}]],["3Triangles",[{icon:"caret-down",color:Hw},{icon:"dash",color:Fw},{icon:"caret-up",color:Bw}]],["4Arrows",[{icon:["fas","down"],color:Hw},{icon:["fas","down-right"],color:Fw},{icon:["fas","up-right"],color:Fw},{icon:["fas","up"],color:Bw}]],["4ArrowsGray",[{icon:["fas","down"],color:Ww},{icon:["fas","down-right"],color:Ww},{icon:["fas","up-right"],color:Ww},{icon:["fas","up"],color:Ww}]],["4RedToBlack",[{icon:["fas","circle"],color:"#000000"},{icon:["fas","circle"],color:"#b1b1b1"},{icon:["fas","circle"],color:"#edb2a3"},{icon:["fas","circle"],color:Hw}]],["4Rating",[{icon:"signal-bars-weak",color:"#4a7db1"},{icon:"signal-bars-fair",color:"#4a7db1"},{icon:"signal-bars-good",color:"#4a7db1"},{icon:["fas","signal-bars"],color:"#4a7db1"}]],["4TrafficLights",[{icon:["fas","circle"],color:"#000000"},{icon:["fas","circle"],color:Hw},{icon:["fas","circle"],color:Fw},{icon:["fas","circle"],color:Bw}]],["5Arrows",[{icon:["fas","down"],color:Hw},{icon:["fas","down-right"],color:Fw},{icon:["fas","right"],color:Fw},{icon:["fas","up-right"],color:Fw},{icon:["fas","up"],color:Bw}]],["5ArrowsGray",[{icon:["fas","down"],color:Ww},{icon:["fas","down-right"],color:Ww},{icon:["fas","right"],color:Ww},{icon:["fas","up-right"],color:Ww},{icon:["fas","up"],color:Ww}]],["5Rating",[{icon:["fal","signal-bars"]},{icon:["fal","signal-bars-weak"],color:"#4a7db1"},{icon:["fal","signal-bars-fair"],color:"#4a7db1"},{icon:["fal","signal-bars-good"],color:"#4a7db1"},{icon:["fas","signal-bars"],color:"#4a7db1"}]],["5Quarters",[{icon:["fal","circle"],color:"#505050"},{icon:["fas","circle-quarter-stroke"],color:"#505050"},{icon:["fas","circle-half-stroke"],color:"#505050"},{icon:["fas","circle-three-quarters-stroke"],color:"#505050"},{icon:["fas","circle"],color:"#505050"}]]]),Uw=(t,e)=>{const i=Vw.get(t);return i?i[e]:null};class Gw extends Nw{constructor(t,e){super(t,"conditionalFormats"),this.formats=[],this.cellFormatMap=new Map,this.extremes=new Map,e&&this.populate(e)}populate(t){t.forEach((t=>{try{this.add(t)}catch(e){Lr().error(`conditional format error: ${JSON.stringify(t)}`,e)}}))}refresh(){this.dependencies.clear(),this.cellFormatMap.clear(),this.extremes.clear(),this.formats.forEach((t=>this.initConditionalFormat(t)))}clearCellDependecies(t){const e=t.address;return this.dependencies.clearCellDependecies(e),this.cellFormatMap.get(e).forEach((t=>({cf:t.cf}))),this}getExtremes(t){if(this.extremes.has(t.key))return this.extremes.get(t.key);const e=[1/0,-1/0];return t.ranges.forEach((t=>{for(const i of this.model.getValuesInRange(t))for(const t of i)null!=t&&(isNaN(t)||(e[0]=Math.min(e[0],t),e[1]=Math.max(e[1],t)))})),t.cmin&&("num"==t.cmin.t?e[0]=t.cmin.v:"percent"==t.cmin.t&&(e[0]=e[0]+(e[1]-e[0])*t.cmin.v/100)),t.cmax&&("num"==t.cmax.t?e[1]=t.cmax.v:"percent"==t.cmax.t&&(e[1]=e[0]+(e[1]-e[0])*t.cmax.v/100)),this.extremes.set(t.key,e),e}invalidateExtremes(t){this.cellFormatMap.get(t.address).forEach((t=>this.extremes.delete(t.cf.key)))}evaluateScaleFormat(t,e){const i=t.value;if(null==i)return null;const[o,r]=this.getExtremes(e.cf);let s;const n=(i-o)/(r-o);if(e.cf.cmid?.color)s=.5==n?"#"+e.cf.cmid.color:n>.5?Hr("#"+e.cf.cmid.color,"#"+e.cf.cmax.color,2*(n-.5)):Hr("#"+e.cf.cmin.color,"#"+e.cf.cmid.color,2*n);else{if(!e.cf.cmin?.color||!e.cf.cmax?.color)return null;s=Hr("#"+e.cf.cmin.color,"#"+e.cf.cmax.color,n)}return{color:Fr(s).substring(1),fgColor:s.substring(1)}}evaluateBarFormat(t,e){const i=t.value;if(null==i)return null;const o=this.getExtremes(e.cf);let r=o[0];const s=o[1],n=r<0;n||(r-=.1*(s-r));const a=Math.round(100*(i-r)/(s-r));e.initialized||(e.initialized=!0,e.cf.ranges.forEach((e=>this._dependencies.add(t.address,e.A1,null))));const l=[];if(n){const t=Math.round(-100*r/(s-r));i>=0?(l.push(`#00000000 ${t}%`),l.push(`#${e.cf.color} ${t}%`),l.push(`#${e.cf.color} ${a}%`),l.push(`#00000000 ${a}%`)):(l.push(`#00000000 ${a}%`),l.push(`#ff0000 ${a}%`),l.push(`#ff0000 ${t}%`),l.push(`#00000000 ${t}%`))}else l.push(`#${e.cf.color} ${a}%`),l.push(`#00000000 ${a}%`);return{cssStyle:{backgroundClip:"padding-box",backgroundImage:`linear-gradient(90deg, ${l.join(",")})`}}}evaluateFormulaFormat(t,e){if(!e.initialized&&e.cf.condition){e.initialized=!0;const i=t.address,o=new Gv(e.cf.condition,this.model.calculations.tokenizer);e.f=o.shift({index:0,offset:t.c-e.cf.firstCell.c1,direction:"right"}).shift({index:0,offset:t.r-e.cf.firstCell.r1,direction:"down"}),o.cells.forEach((t=>this._dependencies.add(i,t[1].A1,t[2]))),o.ranges.forEach((t=>this._dependencies.add(i,t[1].A1,t[2]))),o.variables.forEach((([e,o])=>{const r=this.model.getCellByName(o,t.range);r&&this._dependencies.add(i,r.address,null)}))}if(e.f&&!this.model.calculations.evaluateFormula(e.f,t))return null;const i={...e.cf.style};return i.color||Wr(Fr(Vr(e.cf.style.fgColor))),i}evaluateIconFormat(t,e){const i=t.value;if(null==i)return null;const[o,r]=this.getExtremes(e.cf);let s;for(let t=e.cf.thresh.length-1;t>=0;t--){const n=e.cf.thresh[t];if("percent"===n.t){if(null==s&&(s=100*(i-o)/(r-o)),s>=n.v)return{icon:Uw(e.cf.v,t)}}else if("num"===n.t&&i>=n.v)return{icon:Uw(e.cf.v,t)}}return null}evaluate(t){const e=t.address,i=this.cellFormatMap.get(e);if(!i)return null;let o=null,r=null;for(const e of i){try{switch(e.cf.type){case"formula":r=this.evaluateFormulaFormat(t,e);break;case"scale":r=this.evaluateScaleFormat(t,e);break;case"bar":r=this.evaluateBarFormat(t,e);break;case"icon":r=this.evaluateIconFormat(t,e);break;default:r=null}}catch(t){Lr().error(`Conditional format error: ${JSON.stringify(e)}`,t)}if(r&&(o=o?{...o,...r}:r,e.cf.stop))break}return o}initConditionalFormat(t){return t.firstCell=null,t.ranges.forEach((e=>{for(const i of new sx(e.intersect(this.model.gridRange))){const e=i.A1;"formula"===t.type&&(t.firstCell||(t.firstCell=i,t.formula=t.condition?new Gv(t.condition,this.model.calculations.tokenizer):null)),(this.cellFormatMap.get(e)||this.cellFormatMap.set(e,[]).get(e)).push({cf:t})}})),t}add(t){const e={key:t.ranges,ranges:Ev.fromA1s(t.ranges),type:t.type||"formula",firstCell:null,formula:null,style:t.style?this.model.styles.add(t.style):null,condition:t.condition,stop:!!t.stop,cmin:t.cmin,cmid:t.cmid,cmax:t.cmax,color:t.color,v:t.v,thresh:t.thresh};this.formats.push(this.initConditionalFormat(e))}getSourceData(){return this.formats.map((t=>({type:t.type,ranges:Ev.toA1s(t.ranges),style:t.style,condition:t.condition,stop:t.stop,cmin:t.cmin,cmid:t.cmid,cmax:t.cmax,color:t.color,v:t.v,thresh:t.thresh})))}}const qw=(t,e)=>{const i=new RegExp(`${ut(t)}`,"ig");return t=>(i.lastIndex=0,i.test(ct((t[e]??"").toString())))},Yw=(t,e)=>i=>!!i[e]===t,Zw=(t,e)=>{const i=t.map((t=>t.key?.toString()));return t=>null!=t[e]&&i.includes(t[e].toString())},Xw=(t,e)=>t=>!1,Qw=t=>!!t&&"object"==typeof t&&!Array.isArray(t)&&"range"===t.kind,Kw=t=>!(null!=t.from&&""!==t.from||null!=t.to&&""!==t.to),Jw=(t,e,i)=>{const o=t=>{if(null==t||""===t)return null;if(t instanceof Date)return t.getTime();if("d"===i||"dt"===i||"tm"===i){const e=new Date(t).getTime();return Number.isNaN(e)?null:e}const e="number"==typeof t?t:Number(t);return Number.isNaN(e)?null:e},r=o(t.from);let s=o(t.to);return null===s||"d"!==i&&"dt"!==i||(s+=86399999),t=>{const i=o(t[e]);return!(null===i||null!==r&&i<r||null!==s&&i>s)}},tx=(t,e,i)=>(i=i??"value",Qw(e)?Jw(e,i,t):"b"===t?Yw(e,i):"s"===t&&Array.isArray(e)?Zw(e,"value"):"s"===t?qw(e?.toString(),"formattedValue"):"m"===t&&Array.isArray(e)?Xw(e,i):qw(e?.toString(),"d"===t||"dt"===t||"tm"===t?"formattedValue":i));class ex extends Event{constructor(){super("filter",{bubbles:!1,cancelable:!0,composed:!0})}}class ix extends EventTarget{get settings(){return this._settings}set settings(t){this._settings=t||[],this.colMap.clear(),this.settings.length>0&&(this.settings.forEach(((t,e)=>this.colMap.set(t.c,e))),this.applyFilter(),Lr().info(`filtering applied: ${JSON.stringify(this.settings)}`))}constructor(t,e=null){super(),this.model=t,this.custom=!1,this.colMap=new Map,this._settings=[],this.settings=e}get(t){return this.colMap.has(t)?this.settings[this.colMap.get(t)]:null}filter(t,e=!0){const i=this.get(t.c),o=null===t.term||""===t.term||Qw(t.term)&&Kw(t.term);i&&o?(this.settings.splice(this.colMap.get(t.c),1),this.colMap.delete(t.c)):i?i.term=t.term:o||(this.colMap.set(t.c,this.settings.length),this.settings.push(t)),this.custom||(this.settings.length>0?this.applyFilter(!1):this.resetFilter(!1)),e&&this.dispatchEvent(new ex)}applyFilter(t=!0){const e=[];this.settings.forEach((t=>{const i=this.model.columns[t.c];e.push({c:t.c,matcher:tx(i.type,t.term,i.filter?.property)})}));const i=e.length,o=this.model.options.filters?.includeParents??!0,r=this.model.options.filters?.includeChildren??!0,s=new Set;this.model.rows.forEach((t=>{const n=s.has(t.index);(t=>{if(!t.filterable)return!0;for(let o=0;o<i;o++)if(!e[o].matcher(t.cell(e[o].c)))return!1;return!0})(t)?(t.filterState=Ir.Matched,o&&t.walkUp((t=>{if(s.has(t.index)&&t.filterState>0)return!1;t.filterState=Ir.ChildMatched,s.add(t.index)})),r&&t.walk((t=>{if(s.has(t.index)&&t.filterState>0)return!1;t.filterState=Ir.ParentMatched,s.add(t.index)}))):n||(t.filterState=Ir.Filtered),s.add(t.index)})),this.model.indexRows(),t&&this.dispatchEvent(new ex)}resetFilter(t=!0){this.settings=[],this.colMap.clear(),this.model.rows.forEach((t=>t.filterState=Ir.Matched)),this.model.indexRows(),t&&this.dispatchEvent(new ex)}}class ox extends Nw{constructor(t,e){super(t,"sparklines"),this.model=t,this.map=new Map,this.groups=new Map,this.extremes=new Map,this.maxIndex=0,this.updateRangeMap=!1,this.populate(e)}populate(t){t?.forEach((t=>{try{this.add(Ev.fromA1(t.location),Array.isArray(t.data)?t.data.map((t=>[Ev.fromA1(t)])):t.data.split(",").map((t=>[Ev.fromA1(t)])),ot({},av.DEFAULT_SPARKLINE_OPTIONS,t.options))}catch(e){this.model.logger.error(`sparkline error: ${JSON.stringify(t)}`,e)}}))}getSourceData(){const t=[];return this.groups.forEach((e=>{t.push({location:e.locRange.A1,data:e.dataRanges.map((t=>t[0].A1)).join(","),options:{minValue:e.minValue,maxValue:e.maxValue,type:e.type,style:e.style,marker:e.marker}})})),t}has(t){return this.map.has(t)}get(t){return this.map.get(t)}createDependencies(t){this.map.get(t)[1].forEach((e=>this._dependencies.add(t,e[0].A1,e[1])))}updateRangeMaps(){this.dependencies.clear(),this.map.clear(),this.groups.forEach(((t,e)=>this.createRangeMap(e,t.locRange,t.dataRanges)))}getValues(t){this.updateRangeMap&&this.updateRangeMaps();const e=this.map.get(t),i=e[1][0][1]?this.model.getConnectedModel(e[1][0][1]):this.model;return this._dependencies.has(t)||this.createDependencies(t),e[1].flatMap((t=>i.getValuesInRange(t[0])[0]))}getExtremes(t){const e=this.map.get(t),i=e[1][0][1]?this.model.getConnectedModel(e[1][0][1]):this.model,o=this.groups.get(e[0]);let r,s,n,a;return null==o.minValue||Q(o.minValue)?"auto"==(o.minValue||"auto")?(r=r??lt(...e[1].map((t=>i.getValuesInRange(t[0])))),n=r[0]):(this.extremes.has(e[0])||this.extremes.set(e[0],lt(...o.dataRanges.map((t=>i.getValuesInRange(t[0]))))),s=this.extremes.get(e[0]),n=s[0]):n=o.minValue,null==o.maxValue||Q(o.maxValue)?"auto"==(o.maxValue||"auto")?(r=r??lt(...e[1].map((t=>i.getValuesInRange(t[0])))),a=r[1]):(this.extremes.has(e[0])||this.extremes.set(e[0],lt(...o.dataRanges.map((t=>i.getValuesInRange(t[0]))))),s=this.extremes.get(e[0]),a=s[1]):a=o.maxValue,[n,a]}createRangeMap(t,e,i){e=e.intersect(this.model.gridRange);const o=i[0][0].size,r=e.size;if(r.columns>1&&r.rows>1)return void this.model.logger?.error(`invalid sparkline location range: ${e.A1}`);let s=!1;if(s=1==r.columns&&1==r.rows?o.rows>1:r.columns>1,s)for(let o=e.c1;o<=e.c2;o++)this.map.set(new Ev(o,e.r1).A1,[t,i.map((([t,i])=>[new Ev(t.c1+o-e.c1,t.r1,t.c1+o-e.c1,t.r2),i]))]);else for(let o=e.r1;o<=e.r2;o++)this.map.set(new Ev(e.c1,o).A1,[t,i.map((([t,i])=>[new Ev(t.c1,t.r1+o-e.r1,t.c2,t.r1+o-e.r1),i]))])}add(t,e,i){const o=++this.maxIndex;t&&e&&this.createRangeMap(o,t,e),this.groups.set(o,Object.assign({dataRanges:e,locRange:t},JSON.parse(JSON.stringify(av.DEFAULT_SPARKLINE_OPTIONS)),i))}update(t,e,i,o){const r=this.groups.get(t);Object.assign(r,{dataRanges:i,locRange:e},o),this.updateRangeMap=!0}delete(t){this.groups.delete(t),this.updateRangeMap=!0}shift(t){this.groups.forEach((e=>{e.dataRanges.forEach((([e])=>e.shift(t))),e.locRange.shift(t)})),this.updateRangeMaps()}}class rx extends Ev{constructor(t,e,i=!1){super(e?.c1,e?.r1,e?.c2,e?.r2),this.model=t,this.initializedOnly=i,this.r=0,this.c=-1,this.done=!1,e||(this.done=!0)}[Symbol.iterator](){return this}nextInitialized(){let t;for(;!this.done&&!t;)this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),t=this.model.rows[this.r].cells[this.c],this.done=this.c>=this.size.columns-1&&this.r>=this.size.rows-1;return t}next(){if(this.done)return{done:!0};this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),this.done=this.c>=this.size.columns-1&&this.r>=this.size.rows-1;const t=this.model.rows[this.r+this.r1],e=this.c+this.c1,i=this.initializedOnly&&!t.isCellInitialized(e)?this.nextInitialized():t?.cell(e);return i?{done:!1,value:i}:{done:!0}}forEach(t){let e;for(;e=this.next().value;)t(e)}}class sx extends Ev{constructor(t){super(t.c1,t.r1,t.c2,t.r2),this.r=0,this.c=-1,this.done=!1}[Symbol.iterator](){return this}next(){return this.done?{done:!0}:(this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),this.done=this.c==this.size.columns-1&&this.r==this.size.rows-1,{done:!1,value:new Ev(this.c+this.c1,this.r+this.r1)})}}class nx extends Ev{constructor(t,e,i){super(e?.c1,e?.r1,e?.c2,e?.r2),this.model=t,this.i=0,this.done=!1,this.axis=i,this.key="rows"===i?"r1":"c1",e||(this.done=!0)}[Symbol.iterator](){return this}next(){if(this.done)return{done:!0};this.i<this.size[this.axis]-1&&this.i++,this.done=this.i>=this.size[this.axis]-1;const t=this.model[this.axis][this.i+this[this.key]];return t?{done:!1,value:t}:{done:!0}}forEach(t){let e;for(;e=this.next().value;)t(e)}}class ax{constructor(t,e){this.model=t,this.names=new Map,this.rangeMap=new Map,e&&this.populate(e)}populate(t){t.forEach((({name:t,ref:e})=>this.set(t,Z(e)?Ev.fromCoords(e):Ev.fromA1(e))))}set(t,e){this.names.set(t,e),this.rangeMap.set(e.A1,t)}delete(t){const e=this.names.get(t);e&&(this.rangeMap.delete(e.A1),this.names.delete(t))}findCellByName(t){let e;const i=this.model.rows,o=this.model.columns.length;for(let r=0;r<i.length;r++){e=i[r];for(let i=0;i<o;i++)if(e.hasCellName(i)){const o=e.cell(i);if(o.name==t)return o.range}}return null}getCellByName(t,e){const i=this.names.get(t)??this.findCellByName(t);return i?i.isColumn?this.model.rows.length>e.r1?this.model.columns[i.c1].cell(e.r1):null:i.isRow?this.model.columns.length>e.c1?this.model.rows[i.r1].cell(e.c1):null:this.model.rows[i.r1].cell(i.c1):null}getRangeByName(t,e=!0){const i=this.names.get(t);return e?i?.intersect(this.model.gridRange):i}shift(t){this.names.forEach(((e,i)=>{const o=e.A1;e.shift(t);const r=e.A1;o!=r&&(this.rangeMap.delete(o),this.rangeMap.set(r,i))}))}getSourceData(){const t=[];return this.names.forEach(((e,i)=>{t.push({name:i,ref:e.A1})})),t}}function lx(t,e=null){const i=ot({},av.DEFAULT_OPTIONS,e,ss(t,e));return i.numberFormat?i.numberFormatter=gr(i.formatLocale,i.numberFormat):i.numberFormatter||(i.numberFormatter=gr(i.formatLocale)),i.dateFormat?i.dateFormatter=Qo(i.formatLocale,i.dateFormat):i.dateFormatter||(i.dateFormatter=Qo(i.formatLocale)),i.columnSorting&&(i.sorting=i.sorting||{enabled:!0}),"boolean"==typeof i.filters&&(i.filters={enabled:i.filters}),i.filters=Object.assign({},sv,i.filters),"boolean"==typeof i.rowTree&&(i.rowTree={enabled:i.rowTree}),i.rowTree=Object.assign({},nv,i.rowTree),"boolean"==typeof i.columnTree&&(i.columnTree={enabled:i.columnTree}),i.columnTree=Object.assign({},nv,i.columnTree),i.cellValidation&&(i.cellValidation=cw(i.cellValidation)),i}class cx extends(Tr(dw)){get cells(){return this._cells}get data(){return this._data}set data(t){this._data=t}get height(){return this._height??this.model.options.rowHeight}set height(t){this._height=t}get priority(){return this._priority}set priority(t){this._priority=t}get address(){return Lv(this.index)}get range(){return new Ev(null,this.index,null,this.index)}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){super.formula=t,this.model.columns.forEach((t=>this.cell(t.index).refreshFormula()))}get values(){return this.model.columns.map((t=>this.cell(t.index).value))}cell(t,e){if(this.model.options.singleCellModel)return this._singleCell||(this._singleCell=new _w(this.model,{c:t,r:this.index})),this._singleCell.row=this,this._singleCell.column=this.model.columns[t],this._singleCell;let i=this._cells[t];if((e||!i)&&this.model.columns[t]){if(i=new _w(this.model,e??{c:t,r:this.index}),this._data){const e=this.model.columns[t].data;if(null!=e){const t=this._data[e];Z(t)?(t.comment&&this.model.comments.set(i.address,[t.comment]),i.populate(t)):i.hasValue||(i.value=t)}}i.name&&this.model.names.set(i.name,i.range),this._cells[t]=i}return i}constructor(t,e){super(t,e),this.isCellInitialized=t=>!!this.cells[t],this._cells=[],null==this._priority&&(this._priority=t.options.rowPriority)}populate(t){super.populate(t),this._height=null==t.h||"auto"==t.h?this.model.options.rowHeight:t.h,t.data&&(Array.isArray(t.data)?this._data=[...t.data]:this._data={...t.data}),null!=t.priority&&(this._priority=t.priority)}getSourceData(){const t=super.getSourceData();return null!=this._height&&this._height!=this.model.options.rowHeight&&(t.h=this._height),t}expand(t){super.expand(t),this.model.indexVisibleRows()}collapse(){super.collapse(),this.model.indexVisibleRows()}get prev(){return this.model.rows[this.index-1]}get next(){return this.model.rows[this.index+1]}get prevVisible(){let t=this.prev;for(;t&&!t.visible;)t=t.prev;return t}get nextVisible(){let t=this.next;for(;t&&!t.visible;)t=t.next;return t}hasCellFormula(t){return this.cells[t]&&this.cells[t].hasFormula||this._data&&this._data[this.model.columns[t].data]&&this._data[this.model.columns[t].data].f}hasCellName(t){return this.cells[t]&&null!=this.cells[t].name||this._data&&this._data[this.model.columns[t].data]&&null!=this._data[this.model.columns[t].data].name}insertColumns(t,e,i=!1){let o;const r=this.model.columns.length,s=this.model.calculations;if(i)for(let i=0;i<r;i++)this.hasCellFormula(i)&&(o=this.cell(i),o.formula=s.getFormula(o).shift({index:t,offset:e,direction:"right"}).createFormulaString(!1));t<this.cells.length&&this.cells.splice(t,0,...Array(e).fill(null))}deleteColumns(t,e,i=!1){let o;const r=this.model.columns.length,s=this.model.calculations;if(i)for(let i=0;i<r;i++)this.hasCellFormula(i)&&(o=this.cell(i),o.formula=s.getFormula(o).shift({index:t,offset:e,direction:"left"}).createFormulaString(!1));return t<this.cells.length?this.cells.splice(t,e):null}clearCalculatedValues(){this.cells.forEach((t=>t&&this.model.calculations.refreshFormula(t)))}}var hx=i(4418),dx=i.n(hx);const ux=t=>t?"1":"0",px=t=>null==t?"_":t,gx=t=>null==t?"_":t.toString(),mx=t=>null==t?"_":JSON.stringify(t),fx=t=>px(t&&t.color?t.color:"_")+px(t&&t.style?t.style:"_"),vx=t=>px(t?t.horizontal:null)+px(t?t.vertical:null)+px(t?t.horizontal:null)+gx(t?t.indent:null)+ux(t?t.wrapText:null)+gx(t?t.textRotation:null),bx=t=>dx()("s_"+ux(t.bold)+ux(t.italic)+ux(t.underline)+gx(t.sz)+px(t.font)+px(t.color)+fx(t.top)+fx(t.right)+fx(t.bottom)+fx(t.left)+px(t.patternType)+px(t.fgColor)+px(t.bgColor)+vx(t.alignment)+gx(t.angle)+mx(t.stops)+ux(t.hidden)+ux(t.editable)+mx(t.cssStyle)+mx(t.icon));function yx(t){const e={...t};return delete e.id,delete e.hash,e}class wx{constructor(t){this.model=t,this._count=0,this.hashmap=new Map,this.map=new Map}add(t){if(!isNaN(t))return this.get(t);const e=this.model.options.cssStyles?kw(t):t,i=e.hash?e.hash:bx(e);return this.hashmap.has(i)?this.map.get(this.hashmap.get(i)):(null==e.id&&(e.id=this._count),this._count=Math.max(e.id+1,this._count+1),e.hash=i,this.hashmap.set(i,e.id),this.map.set(e.id,e),e)}populate(t){t.forEach((t=>this.add(t)))}get(t){return this.map.has(t)?this.map.get(t):null}remove(t){const e="object"==typeof t?t:this.map.get(t);this.hashmap.delete(e.hash),this.map.delete(e.id)}merge(...t){const e=Object.assign({},...t.map((t=>Z(t)?t:this.get(t))));return this.add(yx(e))}duplicate(t,e){const i=this.get(t);return this.add(yx({...i,...e}))}set(t,e){let i=this.map.has(t)?this.map.get(t):{};for(const t in e)i[t]=e[t];return i=i.id?i:this.add(i),i}unset(t,e){if(this.map.has(t)){const i=this.map.get(t);for(const t of e)delete i[t]}}getSourceData(){return Array.from(this.map.values())}clean(){const t=new Map(Array.from(this.map.entries()).map((([t])=>[t,0])));this.model.columns.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1)})),this.model.rows.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1),e.cells.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1)}))})),t.forEach(((t,e)=>{0==t&&this.remove(e)}))}}function xx(t,e,i,o){const r=o??("rows"==i?e.rows:e.columns),s=function(t){const e=new Map;for(const i of t)e.has(i.level)||e.set(i.level,[]),e.get(i.level).push(i);return e}(r),n=t[i]??[];for(const t of n){let o;if(o=t.index>-1?[r[t.index]]:t.level>-1?s.get(t.level):r,t.name){const e=t.name instanceof RegExp?t.name:new RegExp(ut(t.name));o=o.filter((t=>e.test(t.name)))}o?.forEach((o=>{null!=t.priority&&(o.priority=t.priority),t.type?e.conditionalFormats.add(Object.assign({ranges:`${o.address}:${o.address}`},t)):(o.style=e.styles.add(t.style).id,"rows"==i&&null!=t.height?o.height=t.height:"columns"==i&&null!=t.width&&(o.width=t.width))}))}}function kx(t,e){for(const i of t)if(e[i.property]!=i.value)return!1;return!0}function Cx(t,e,i){const o=t.cells??[];for(const t of o)if(t.conditions?.length){const o=e.getRangeIterator(i??e.gridRange);for(const i of o)kx(t.conditions,i)&&(i.style=e.styles.add(t.style).id)}else if(t.type)e.conditionalFormats.add(Object.assign({ranges:"A:"+e.columns[e.columns.length-1].address},t));else for(const i of e.columns)null==i.style&&(i.style=e.styles.add(t.style).id)}function Mx(t,e,i){xx(t,e,"columns",i)}function _x(t,e,i){xx(t,e,"rows",i)}function Sx(t,e){Cx(t,e),Mx(t,e),_x(t,e)}var zx;!function(t){t[t.NONE=0]="NONE",t[t.MERGED=1]="MERGED",t[t.HIDDEN=2]="HIDDEN"}(zx||(zx={}));class Ex{get mergedCells(){return this._mergedCells}get hiddenCells(){return this._hiddenCells}constructor(t){this.model=t,this._mergedCells=new Map,this._hiddenCells=new Map}clear(){this._mergedCells.clear(),this._hiddenCells.clear()}getMergeState(t){return this._mergedCells.has(t)?zx.MERGED:this._hiddenCells.has(t)?zx.HIDDEN:zx.NONE}indexMergedRange(t){const e=t.A1,i=this._mergedCells.get(e);if(!i)return;const o=i.r,r=i.c,s=t.clone(),n=this.model.rows[o]?.cell(r);if(n)for(let t=0;t<i.rs;t++)for(let e=0;e<i.cs;e++)0==t&&0==e||(s.r1=o+t,s.c1=r+e,s.r2=s.r1,s.c2=s.c1,this._hiddenCells.set(s.A1,i));else this.remove(e)}add(t){const e=new Ev(t.c,t.r),i=e.A1;if(this._mergedCells.has(i))this.remove(i);else if(this._hiddenCells.has(i))return;this._mergedCells.set(i,t),this.indexMergedRange(e)}remove(t){const e=this._mergedCells.get(t);if(!e)return;this._mergedCells.delete(t);const i=e.r,o=e.c,r=new Ev(o,i);this._hiddenCells.delete(t);for(let t=0;t<e.rs;t++)for(let s=0;s<e.cs;s++)0==t&&0==s||(r.r1=i+t,r.c1=o+s,r.r2=r.r1,r.c2=r.c1,this._hiddenCells.delete(r.A1))}shift(t){const{index:e,offset:i,direction:o}=t,r={down:t=>{e<=t.r?t.r+=i:e>t.r&&e<t.r+t.rs&&(t.rs+=i)},up:t=>{e<=t.r?t.r-=i:e>t.r&&e<t.r+t.rs&&(t.rs-=i)},right:t=>{e<=t.c?t.c+=i:e>t.c&&e<t.c+t.cs&&(t.cs+=i)},left:t=>{e<=t.c?t.c-=i:e>t.c&&e<t.c+t.cs&&(t.cs-=i)}},s=[...this._mergedCells.values()];s.forEach((t=>this.remove(new Ev(t.c,t.r).A1))),s.forEach((t=>{r[o](t),this.add(t)}))}}const Lx=["index","name","rows","columns","cells","options","sparklines","rules","comments","styles","names","props","tab","theme"];class Ix{get mergedHeaders(){return this._mergedHeaders}get hasFilter(){return this._filter}get hasRowTree(){return this._maxRowLevel>0}get hasRowTreeEnabled(){return this.hasRowTree&&this.options.rowTree.enabled}get maxRowLevel(){return this._maxRowLevel}get hasColumnTree(){return this._maxColumnLevel>0}get hasColumnTreeEnabled(){return this.hasColumnTree&&this.options.columnTree.enabled}get maxColumnLevel(){return this._maxColumnLevel}get headerCount(){return this._headerCount}get columnHeaderCount(){return this.headerCount+(this.hasColumnTreeEnabled?1:0)+(this.hasFilter?1:0)}get properties(){return this._properties}set properties(t){this._properties=t}get theme(){return this._theme}set theme(t){this._theme=t}constructor(t,e,i){this.otherModels={},this.autofitColumns=new Set,this.autofitRows=new Set,this.merges=new Ex(this),this.styles=new wx(this),this.comments=new Aw(this),this.calculations=new jw(this),this.names=new ax(this),this.sorting=new Tw(this),this.filter=new ix(this),this.sparklines=new ox(this),this.conditionalFormats=new Gw(this),this._filter=!1,this._maxRowLevel=0,this._maxColumnLevel=0,this._headerCount=0,this._levelBasedRowTree=!0,this._levelBasedColTree=!0,this.clearRows=()=>(this.rowRoot.clearChildren(),this.rows=[],this.rows),this.clearColumns=()=>this.columns=[],this.logger=i,this.options=e??lx(t.options),this.populate(t)}getConnectedModel(t){return this.group?this.group.get(t):null}getModelByRange(t){return t.sheet?this.getConnectedModel(t.sheet):this}getCellByA1(t){return this.getCellByRange(Ev.fromA1(t))}getCellByRange(t){return this.getCellByCoords(t.r1,t.c1)}getCellByCoords(t,e){return this.rows[t]?.cell(e)}cell(t,e){return isNaN(t)?t instanceof Ev?this.getCellByRange(t):"string"==typeof t?this.getCellByA1(t):null:this.getCellByCoords(t,e||0)}createRows(t,e=new cx(this,{l:-1}),i=0){let o=!1,r=!1;this.autofitRows.clear();const s=t.map(((t,e)=>{t||(t={}),isNaN(t.l)||(o=!0),null!=t.p&&(r=!0),"auto"==t.h&&this.autofitRows.add(e);const s=new cx(this,t);return s.origIndex=e+i,s.name&&this.names.set(s.name,Ev.fullRow(e)),s}));let n=-1;return o?n=$r(s,e,{reverse:this.options.rowTree.reversed}):r?n=Ar(s,e):e.children=s,r||(o=!0),[e,s,n,o]}insertRowData(t,e,i){const o=this.createRows(i,new cx(this,{l:t.level}),e);if(this._maxRowLevel=Math.max(this._maxRowLevel,o[2]),t.insertChildren(o[0].children,e),this.indexRowsByTree(),this.theme){const t=o[1];_x(this.theme,this,t),Cx(this.theme,this,new Ev(0,t[0].index,1/0,t[t.length-1].index))}}applyTheme(t,e){if(e)for(const t of this.getInitializedCellIterator())t.invalidateStyle();Sx(t,this)}populate(t){this.index=t.index,this.name=t.name??this.name,this.tab=t.tab;let e=!1,i=!1;if(t.columns||(t.columns=new Array(this.options.columns).fill({})),t.rows||(t.rows=new Array(this.options.rows).fill({})),t.styles&&this.styles.populate(t.styles),this.autofitColumns.clear(),this.columns=t.columns.map(((t,o)=>{t||(t={}),t.l>0&&(e=!0),null!=t.p&&(i=!0),"auto"==t.w&&this.autofitColumns.add(o);const r=new zw(this,t);return this._filter=r.hasFilter||this._filter,r.name&&this.names.set(r.name,Ev.fullColumn(o)),r})),this._levelBasedColTree=e,this._maxColumnLevel=-1,this.colRoot=new zw(this,{l:-1}),e?this._maxColumnLevel=$r(this.columns,this.colRoot,{reverse:this.options.columnTree.reversed}):i?this._maxColumnLevel=Ar(this.columns,this.colRoot):this.colRoot.children=this.columns,i||(this._levelBasedColTree=!0),this.indexColumns(),this.indexVisibleColumns(),[this.rowRoot,this.rows,this._maxRowLevel,this._levelBasedRowTree]=this.createRows(t.rows),this.indexRows(),this.indexVisibleRows(),this.options.pageSize&&this.options.pageSize<=this.rows.length&&(this.rowRoot.count=1/0),this.merges.clear(),t.comments=t.comments||[],t.cells?.forEach(((e,i)=>{const o=this.rows[e.r]?this.rows[e.r].cell(e.c,e):null;o?(e.cs>1||e.rs>1)&&this.merges.add({r:o.r,c:o.c,rs:e.rs||1,cs:e.cs||1}):this.logger?.error(`invalid cell definition (index ${i}): ${JSON.stringify(e)}`),o&&e.comment&&t.comments.push(Object.assign(e.comment,{c:e.c,r:e.r}))})),t.sparklines)try{this.sparklines.populate(t.sparklines)}catch(t){Lr().error(`Sparkline init error: ${t}`)}if(t.names)try{this.names.populate(t.names)}catch(t){Lr().error(`Named range init error: ${t}`)}if(t.rules)try{this.conditionalFormats.populate(t.rules)}catch(t){Lr().error(`Conditional formats init error: ${t}`)}if(t.theme)try{this.applyTheme(t.theme),this._theme=t.theme}catch(t){Lr().error(`Theme init error: ${t}`)}if(t.comments)try{this.comments.populate(t.comments)}catch(t){Lr().error(`Comment init error: ${t}`)}this._properties=t.props,this.otherSourceData={};const o=new Set(Lx),r=Object.keys(t).filter((t=>!o.has(t)));r.forEach((e=>this.otherSourceData[e]=t[e])),this.options.sorting?.defaultSettings&&(this.sorting.settings=this.options.sorting.defaultSettings),this.options.filters?.defaultSettings&&(this.filter.settings=this.options.filters.defaultSettings),this.calcHeaderHeights()}getSourceData(){const t={index:this.index,name:this.name,tab:this.tab,columns:this.columns.map((t=>t.getSourceData())),rows:this.rows.map((t=>t.getSourceData())),styles:this.styles.getSourceData(),rules:this.conditionalFormats.getSourceData(),sparklines:this.sparklines.getSourceData(),names:this.names.getSourceData(),options:this.options};this._properties&&(t.props=this._properties);const e=[];let i;for(let t=0;t<this.rows.length;t++)for(let o=0;o<this.columns.length;o++)i=this.rows[t].cell(o).getSourceData(),Object.keys(i).length>0&&(i.r=t,i.c=o,e.push(i));e.length>0&&(t.cells=e);const o=[];return this.styles.clean(),this.styles.map.forEach((t=>o.push(t))),o.length>0&&(t.styles=o),new Set([...Object.keys(this.otherModels??{}),...Object.keys(this.otherSourceData??{})]).forEach((e=>t[e]=this.otherModels[e]?Array.from(this.otherModels[e]).map((t=>t.getSourceData())):this.otherSourceData[e])),t}calcHeaderHeights(){this._headerCount=0,this._headerHeights=[],this.columns.forEach((t=>{this._headerCount=t.header?t.header.length:this._headerCount,this._headerHeights.length<this._headerCount&&this._headerHeights.push(...Array(this._headerCount-this._headerHeights.length).fill(0)),t.header?.forEach(((t,e)=>{e>=this._headerHeights.length&&this._headerHeights.push(0),this._headerHeights[e]=Math.max(this._headerHeights[e],t.height??0)}))}))}indexRows(){this.visibleRows=[],this.rows.forEach(((t,e)=>{t.index=e,t.isLoaded||(t.collapsed=!0),t.hidden||t.filterState==Ir.Filtered||(t.visibleIndex=this.visibleRows.length,this.visibleRows.push(t))}))}indexVisibleRows(){this.visibleRows=[];let t=0;if(this._levelBasedRowTree){if(this.rowRoot.walkVisible((e=>{e.visibleIndex=t++,this.visibleRows.push(e)})),this.options.rowTree.reversed){const e=new Array(this.visibleRows.length);this.visibleRows.forEach(((i,o)=>{t=this.visibleRows.length-o-1,i.visibleIndex=t,e[t]=i})),this.visibleRows=e}}else this.rowRoot.walkVisible((t=>this.visibleRows[t.index]=t)),this.visibleRows=this.visibleRows.filter((e=>!!e&&(e.visibleIndex=t++,!0)))}indexRowsByTree(){this.rows=[];let t=0;this.rowRoot.walk((e=>{e.index=t++,this.rows.push(e)})),this.options.rowTree.reversed&&this.rows.reverse(),this.indexVisibleRows()}indexColumns(){this.visibleColumns=[],this.columns.forEach(((t,e)=>{t.index=e,t.hidden||this.visibleColumns.push(t)}))}indexVisibleColumns(){this.visibleColumns=[],this.visibleColumnIndex={};let t=0;if(this.colRoot.walkVisible((e=>{e.visibleIndex=t,this.visibleColumnIndex[e.index]=t++,this.visibleColumns.push(e)})),this.options.columnTree.reversed){this.visibleColumnIndex={};const e=new Array(this.visibleColumns.length);this.visibleColumns.forEach(((i,o)=>{t=this.visibleColumns.length-o-1,i.visibleIndex=t,this.visibleColumnIndex[i.index]=t,e[t]=i})),this.visibleColumns=e}this.indexHeaders()}indexHeaders(){this._mergedHeaders=[],this._headerCount=0,this.colRoot.walkVisible((t=>{this._headerCount=Math.max(t.header?t.header.length:0,this._headerCount),t.mergedHeaders.forEach((e=>this._mergedHeaders.push({h:e,c:t.index,r:e.r,cs:t.calculateRealColspan(e.cs??1),rs:e.rs??1})))})),this._mergedHeaders.forEach((t=>{if(!t.h.hidden)for(let e=t.c;e<t.c+t.cs;e++)for(let i=t.r;i<t.r+t.rs;i++)(i>t.r||e>t.c)&&this.columns[e]&&this.columns[e].header[i]&&(this.columns[e].header[i].hidden=!0)})),this.calcHeaderHeights()}removeHeader(t){this.columns.forEach((e=>{t<e.header.length&&e.header.splice(t,1)})),this.indexHeaders()}clear(){this.clearRows(),this.clearColumns(),this.resetViewport()}resetViewport(){return this._viewport=null,this}getViewport(t,e,i){const o=[],r=[];let s,n,a=e.h,l=0;for(l=0;l<i.t;l++)s=this.visibleRows[l],a-=s.height,o.push(s);for(l=this.visibleRows.length-i.b;l<this.visibleRows.length;l++)s=this.visibleRows[l],a-=s.height;for(l=i.t+t.r;a>0&&l<this.visibleRows.length;)s=this.visibleRows[l++],a-=s.height,o.push(s);for(l=this.visibleRows.length-i.b;l<this.visibleRows.length;l++)o.push(this.visibleRows[l]);let c=e.w,h=0;for(h=0;h<i.l;h++)n=this.visibleColumns[h],c-=n.width,r.push(n);for(h=this.visibleColumns.length-i.r;h<this.visibleColumns.length;h++)n=this.visibleColumns[h],c-=n.width;for(h=i.l+t.c;c>0&&h<this.visibleColumns.length;)n=this.visibleColumns[h++],c-=n.width,r.push(n);for(h=this.visibleColumns.length-i.r;h<this.visibleColumns.length;h++)r.push(this.visibleColumns[h]);return this._viewport={rows:o,columns:r}}calculateViewport(){return this._viewport?this.calculations.calculateViewport(this._viewport):[]}getValuesInRange(t,e=!1){if(!(t=t.intersect(this.gridRange)))return[];const{columns:i,rows:o}=t.size,r=new Array(o);let s,n=0,a=0;for(let o=t.r1;o<=t.r2;o++){r[n]=new Array(i),a=0,s=this.rows[o];for(let i=t.c1;i<=t.c2;i++)r[n][a++]=e?s.cell(i).formattedValue:s.cell(i).value;++n}return r}setRowExpandLevel(t){this.rows.forEach((e=>{e.collapsed=!e.isLoaded&&!e.isPartialyLoaded||e.level>=t,e.level<=t&&(e.hidden=!1)})),this.indexVisibleRows()}setColumnExpandLevel(t){this.columns.forEach((e=>e.collapsed=e.level>=t)),this.indexVisibleColumns()}getViewportRange(){return this._viewport&&this._viewport.columns.length&&this._viewport.rows.length?new Ev(this._viewport.columns[0].index,this._viewport.rows[0].index,this._viewport.columns[this._viewport.columns.length-1].index,this._viewport.rows[this._viewport.rows.length-1].index):null}get gridRange(){return new Ev(0,0,this.columns.length-1,this.rows.length-1)}getRangeIterator(t,e=!1){const i=e&&this._viewport?this.getViewportRange():this.gridRange;return new rx(this,i&&t.intersect(i))}getInitializedCellIterator(){return new rx(this,this.gridRange,!0)}getRowIterator(t,e=!1){const i=e&&this._viewport?this.getViewportRange():this.gridRange;return new nx(this,i&&t.intersect(i),"rows")}getColumnIterator(t,e=!1){const i=e&&this._viewport?this.getViewportRange():this.gridRange;return new nx(this,i&&t.intersect(i),"columns")}getCellArray(t){const e=[];for(const i of this.getRangeIterator(t))e.push(i);return e}transformRangeToMatrix(t,e){let i,o,r;const s=[];for(let n=(t=t.intersect(this.gridRange)).r1;n<=t.r2;n++)if(i=this.rows[n],i){r=[];for(let s=t.c1;s<=t.c2;s++)o=i.cell(s),o&&r.push(e(o));s.push(r)}return s}getCellMatrix(t){return this.getModelByRange(t)?.transformRangeToMatrix(t,(t=>t))}getValueMatrix(t){return this.getModelByRange(t)?.transformRangeToMatrix(t,(t=>t.value))}shift(t){t.sheet=this.name,this.merges.shift(t),this.calculations.shift(t),this.names.shift(t),this.comments.shift(t),this.sparklines.shift(t)}clearCalculations(t=!1){t&&this.group?this.group.models.forEach((t=>t.calculations.refresh())):this.calculations.refresh()}refreshSparklines(){this.sparklines.updateRangeMaps();for(const t of this.getInitializedCellIterator())t.invalidateStyle()}clearCalculatedStyles(){this.conditionalFormats.refresh();const t=[];for(const e of this.getInitializedCellIterator())t.push(e),e.invalidateStyle()}insertColumns(t,e,i=!1){const o=this.columns[Math.min(this.columns.length-1,t)].parent;i&&++t,this.shift({index:t,offset:e,direction:"right"});for(let i=0;i<this.rows.length;i++)this.rows[i].insertColumns(t,e,!1);const r=new Array(e).fill(null).map((()=>new zw(this)));return this.columns.splice(t,0,...r),this.maxColumnLevel>0&&o.insertChildren(r,t-(o.index||-1)-1),this.indexColumns(),this.clearCalculations(!0),r}deleteColumns(t,e){const i=this.columns[t].parent;this.shift({index:t,offset:e,direction:"left"});const o=[];for(let i=0;i<this.rows.length;i++)o.push(this.rows[i].deleteColumns(t,e,!1));const r=this.columns.splice(t,e);return i?.deleteChildren(r),this.indexColumns(),this.clearCalculations(!0),r}insertRows(t,e,i=!1){const o=Math.min(this.rows.length-1,t),r=o<0?this.rowRoot:this.rows[o].parent;i&&++t;const s=isNaN(e)?e.length:e;this.shift({index:t,offset:s,direction:"down"});const n=isNaN(e)?e:new Array(s).fill(null).map((()=>new cx(this)));return this.rows.splice(t,0,...n),this.maxRowLevel>0&&r.insertChildren(n,t-(r.index||-1)-1),this.indexRows(),this.theme&&(_x(this.theme,this,n),Cx(this.theme,this,new Ev(0,n[0].index,1/0,n[n.length-1].index))),this.clearCalculations(!0),n}deleteRows(t,e){const i=this.rows[t].parent;this.shift({index:t,offset:e,direction:"up"});const o=this.rows.splice(t,e);return i?.deleteChildren(o),this.indexRows(),this.clearCalculations(!0),o}moveRows(t,e,i){const o=this.rows.splice(t,e);return this.rows.splice(i,0,...o),this.shift({index:t,offset:i-t,direction:"down",maxIndex:t+e-1}),this.indexRows(),this.clearCalculations(!0),o}moveColumns(t,e,i){const o=this.columns.splice(t,e);return this.columns.splice(i,0,...o),this.shift({index:t,offset:i-t,direction:"right",maxIndex:t+e-1}),this.indexColumns(),this.clearCalculations(!0),o}spillValues(t){const{cell:e,values:i,displayValues:o,propertyCell:r}=t,s=[],n=[],a=0===i.length||0===i[0].length;let l,c;const h=a?null:new Ev(e.c,e.r,e.c+i[0].length-1,e.r+i.length-1);if(e.spillRange&&this.getRangeIterator(e.spillRange,!0).forEach((t=>{e==t||h?.contains(t.range)||t.clearSpilledValue()})),e.spillRange=h,a)return{cells:s,oldValues:n,range:null};for(let t=h.r1;t<=h.r2;t++){if(l=this.rows[t],!l)continue;const a=t-h.r1;for(let t=h.c1;t<=h.c2;t++){const d=t-h.c1;c=l.cell(t),c.editable&&(n.push(c.value2),c.spillValue(i[a][d],e),r&&(c.format=r.format,c.type=r.type),o&&null!=o[a][d]&&(c.displayValue=o[a][d]),s.push(c))}}return{cells:s,oldValues:n,range:h}}getCellByName(t,e,i=!0){return this.names.getCellByName(t,e)||(this.group&&i?this.group.getCellByName(t,e):null)}getRangeByName(t,e=!0){return this.names.getRangeByName(t)||(this.group&&e?this.group.getRangeByName(t):null)}getValueMatrixByName(t,e=!0){const i=this.names.getRangeByName(t);return i?this.getValueMatrix(i):this.group&&e?this.group.getValueMatrixByName(t):null}rebuildRowTree(){const t=this._levelBasedRowTree?$r:Ar;this._maxRowLevel=t(this.rows,this.rowRoot,{reverse:this.options.rowTree.reversed}),this.indexRowsByTree()}rebuildColumnTree(){const t=this._levelBasedColTree?$r:Ar;this._maxColumnLevel=t(this.columns,this.colRoot,{reverse:this.options.columnTree.reversed}),this.indexColumns()}calculateCellOffset(t){let e=0,i=0;for(let i=0;i<t.c1&&this.columns[i];i++)e+=this.columns[i].width;for(let e=0;e<t.r1&&this.rows[e];e++)i+=this.rows[e].height;return{x:e,y:i}}}class Rx{get errors(){return this._errors}get(t){return this.models.get(t)}has(t){return this.models.has(t)}getNewName(){let t;do{t=`sheet${this._max}`}while(this.models.has(t));return t}add(t){if(t.index=t.index??this._max,++this._max,t.name=t.name||this.getNewName(),this.models.has(t.name))throw Error(`sheet "${t.name}" already exists`);return this.models.set(t.name,t),t.group=this,t}duplicate(t){const e=this.get(t);if(!e)return;const i=new Ix(e.getSourceData(),e.options);let o=1;for(;this.models.has(`${t}_${o}`);)++o;return i.name=`${t}_${o}`,this.add(i),i}remove(t){return this.models.delete(t),this}rename(t,e){if(this.has(t)){if(this.has(e))throw new Error(`Model '${e}' already exists`);const i=this.get(t);i.name=e,this.models.set(e,i),this.models.delete(t),this.models.forEach((i=>{i.calculations.renameSheet(t,e)&&i.calculateViewport()}))}return this}clear(){this.models.clear(),this._errors=[]}constructor(t){this._max=0,this.models=new Map,this.themes=new Map,this._errors=[],t&&this.populate(t)}populate(t){this.clear(),t.models.forEach((t=>{const e=new Ix(t);try{this.add(e)}catch(t){this.errors.push(t)}})),t.themes&&t.themes.forEach((t=>this.themes.set(t.name,t)))}getSourceData(){const t={models:[]};return this.models.forEach((e=>t.models.push(e.getSourceData()))),t}getCellByName(t,e){for(const i of this.models.values()){const o=i.getCellByName(t,e,!1);if(o)return o}return null}getRangeByName(t){for(const e of this.models.values()){const i=e.getRangeByName(t,!1);if(i)return i}return null}getValueMatrixByName(t){for(const e of this.models.values()){const i=e.getValueMatrixByName(t,!1);if(i)return i}return null}}class Tx{constructor(t){this.model=t,this.stack=[],this.restack=[]}push(t){return this.restack=[],t.timestamp||(t.timestamp=Date.now()),this.stack.push(t),this}pop(t=1){let e=0;const i=[];for(;e++<t&&this.stack.length>0;){const t=this.stack.pop();i.push(t),this.restack.push(t)}return i}pop2(t=1){let e=0;const i=[];for(;e++<t&&this.restack.length>0;){const t=this.restack.pop();i.push(t),this.stack.push(t)}return i}}class $x{get activeCellCoords(){return{c:this.range.c1+this.activeCell.c1,r:this.range.r1+this.activeCell.r1}}constructor(t,e,i,o){this.hidden=!1,this.range=new Ev(t,e,i,o),this.activeCell=new Ev(0,0)}static fromRange(t){return new $x(t.c1,t.r1,t.c2,t.r2)}setCoords(t,e,i,o){this.range.setCoords(t,e,i,o),this.activeCell.setCoords(0,0)}setRange(t){"string"==typeof t&&(t=Ev.fromA1(t)),this.range.setCoords(t.c1,t.r1,t.c2,t.r2),this.activeCell.setCoords(0,0)}move(t,e,i,o){this.range.setCoords(this.range.c1+this.activeCell.c1,this.range.r1+this.activeCell.r1,this.range.c1+this.activeCell.c2,this.range.r1+this.activeCell.r2),this.range.move(t,e,i,o,!1),this.activeCell.setCoords(0,0)}moveRange(t,e,i,o){this.range.move(t,e,i,o,!0)}moveActiveCell(t,e){const{columns:i,rows:o}=this.range.size;this.activeCell.move(t,e,i,o,!0)}}const Ax={...av,CUSTOM_CLIPBOARD_TYPE:"web application/json"};class Dx{constructor(t,e,i=Ax.MAX_CACHE_ITEMS){this.maxCacheItems=i,this.queue=[],this.disabled=!1,this.table=new Array(e).fill(null).map((()=>new Array(t)))}get(t,e){return this.table[e][t]}delete(t,e){return this.table[e][t]=null,this}deleteColumn(t){for(let e=0;e<this.table.length;e++)this.table[e][t]=null;return this}deleteRow(t){return this.table[t]=new Array(this.table[0].length).fill(null),this}set(t,e,i){this.disabled||(this.get(t,e)||this.queue.push([e,t]),this.table[e][t]=i)}clear(){this.queue=[],this.table=this.table.map((t=>new Array(t.length)))}clean(){if(this.maxCacheItems>0&&this.queue.length>this.maxCacheItems){let t=this.queue.length;for(let e=0;e<this.queue.length;e++){const i=this.queue[e];if(!this.table[i[0]][i[1]].parentNode&&(this.queue[e]=null,this.table[i[0]][i[1]]=null,--t<=this.maxCacheItems))break}t<this.queue.length&&(this.queue=this.queue.filter((t=>t)))}}}var Ox=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const Nx=t=>{if(null==t||""===t)return"";if(t instanceof Date)return t.toLocaleDateString();if("string"==typeof t){const e=new Date(t);return Number.isNaN(e.getTime())?t:e.toLocaleDateString()}return String(t)};let Px=class extends En{constructor(){super(),this.render=()=>ln`
|
|
3980
|
+
`,rv=(t,e,i)=>{for(const i of e)if(i[0]===t)return(0,i[1])();return i?.()},sv={enabled:!1,includeChildren:!0,includeParents:!0},nv={enabled:!0,reversed:!1},av={ROW_HEIGHT:22,RESIZE_TRESHOLD:10,ROW_HEADER_WIDTH:60,SLIDER_SIZE:12,EXPANDER_SIZE:13,MAX_CACHE_ITEMS:5e3,CACHE_CLEAN_INTERVAL:30,COMMENT_HIDE_TIMEOUT:1e3,SELECTOR_BORDER_WIDTH:1,MIN_ROW_HEIGHT:5,MIN_COL_WIDTH:5,SPARKLINE_GAP:4,AUTOSCROLL_TRESHOLD:100,AUTOSCROLL_RATIO:1.1,AUTOSCROLL_INTERVAL:100,DEFAULT_SPARKLINE_OPTIONS:{minValue:"auto",maxValue:"auto",type:"line",style:{color:"0094FF",weight:1},marker:{color:"ff0000"}},DEFAULT_OPTIONS:{rows:100,columns:20,readOnly:!1,rowNumbers:!0,rowPriority:2,rowTree:{enabled:!0},columnTree:{enabled:!0},colLetters:!0,emptyPlaceholder:!0,freezeTop:0,fontSize:14,rowHeight:22,rowResize:!0,columnWidth:100,columnResize:!0,columnPriority:1,freezeLeft:0,freezeRight:0,freezeBottom:0,maxSortingColumns:3,numberFormat:null,levelIndentFactor:2,cellIndentFactor:10,emptyClickable:!1,grid:!0,autofill:!0,undoRedo:!0,commandWindow:!0,cellCache:!0,singleCellModel:!1,zoom:1,editing:{rowInsertion:!0,rowDeletion:!0,colInsertion:!0,colDeletion:!0,rowOutline:!0,colOutline:!0,dateCalendarEditor:!1},comments:{hideTimeout:1e3,offsetX:30,offsetY:-30,zIndex:500,headerPosition:"top"},scrolling:{verticalOverscroll:!0,horizontalOverscroll:!0,scrollbarVisibilityTreshold:100},selecting:{enabled:!0,multiSelect:!0},events:{click:{mouseMoveTreshold:10}},clipboard:{pasteProps:["v","dv"],rowPasteMode:"rewrite_append",columnPasteMode:"rewrite"},print:{dpi:600,margins:{left:6.35,right:6.35,top:19.05,bottom:19.05,header:7.62,footer:7.62},orientation:"portrait",paper:"A4"}},MAX_COMMENT_AUTOHEIGHT:300,MIN_COMMENT_AUTOHEIGHT:25,...G},lv=/^(?!.*[\\\/\*\[\]\:\?"])(.{1,31})$/;function cv(t){return lv.test(t)}function hv(t){return["\\","/","*","[","]",":","?",'"'].forEach((e=>t=t.replace(new RegExp(`\\${e}`,"g"),""))),t}function dv(t,e){return!isNaN(t)&&null!=t||!isNaN(e)&&null!=e||(t=null==t?"":ct(t.toString()).toLowerCase(),e=null==e?"":ct(e.toString()).toLowerCase()),t>e?1:t<e?-1:0}function uv(t,e){const i=Q(e);return Q(t)?(t=t.toString().trim()).startsWith("=")?0==dv(e,i?t.substring(1):parseFloat(t.substring(1))):t.startsWith(">=")?dv(e,i?t.substring(2):parseFloat(t.substring(2)))>=0:t.startsWith("<=")?dv(e,i?t.substring(2):parseFloat(t.substring(2)))<=0:t.startsWith(">")?dv(e,i?t.substring(1):parseFloat(t.substring(1)))>0:t.startsWith("<")?dv(e,i?t.substring(1):parseFloat(t.substring(1)))<0:0==dv(e,i?t:isNaN(t)?t||"":parseFloat(t)):e==t}const pv=new Map([["=",["==",1,0]],["<>",["!=",1,0]],[">",[">",1,0]],["<",["<",1,0]],[">=",[">=",1,0]],["<=",["<=",1,0]],["+",["+",2,0]],["-",["-",2,0]],["*",["*",3,0]],["/",["/",3,0]]]),gv=t=>["=",">","<",">=","<="].includes(t),mv=t=>["+","-","*","/"].includes(t),fv=t=>mv(t)||gv(t);function vv(t,e,i){switch(i){case"+":return t+e;case"-":return t-e;case"*":return t*e;case"/":return t/e;case"=":return 0==dv(t,e);case">":return dv(t,e)>0;case"<":return dv(t,e)<0;case">=":return dv(t,e)>=0;case"<=":return dv(t,e)<=0;default:throw new Error(`Invalid operator: ${i}`)}}function bv(t,e,i){const o=Array.isArray(t),r=Array.isArray(e);if(!o&&!r)return[[vv(t,e,i)]];const s=Math.max(o?t.length:0,r?e.length:0),n=Math.max(o?t[0].length:0,r?e[0].length:0),a=[];for(let l=0;l<s;l++){const s=[];for(let a=0;a<n;a++){const n=o?t[l]?.[a]:t,c=r?e[l]?.[a]:e,h=null==n&&null==c?null:vv(n,c,i);s.push(h)}a.push(s)}return a}var yv;!function(t){t[t.Number=0]="Number",t[t.Boolean=1]="Boolean",t[t.String=2]="String",t[t.StringQuote=3]="StringQuote",t[t.Function=4]="Function",t[t.ArgumentSeparator=5]="ArgumentSeparator",t[t.OpenBracket=6]="OpenBracket",t[t.CloseBracket=7]="CloseBracket",t[t.Operator=8]="Operator",t[t.Cell=9]="Cell",t[t.Variable=10]="Variable",t[t.Range=11]="Range",t[t.Sheet=12]="Sheet",t[t.SheetQuote=13]="SheetQuote",t[t.SheetSeparator=14]="SheetSeparator",t[t.Unknown=15]="Unknown",t[t.Operand=16]="Operand"}(yv||(yv={}));const wv=t=>t===yv.Number||t===yv.Boolean||t===yv.String||t===yv.Cell||t===yv.Variable||t===yv.Range,xv=t=>t>=48&&t<=57,kv=t=>"true"===(t=t.toLowerCase())||"false"===t,Cv=t=>t>=65&&t<=90||t>=97&&t<=122||t>=192&&t<=687,Mv={decimalPoint:".",stringQuote:'"',sheetQuote:"'",argumentSeparator:","};class _v{constructor(t){this.options=Object.assign(Mv,t)}tokenize(t){const e=[],i=t.length;let o,r,s,n,a=0,l="",c=!1,h=!1,d=!1;for(;a<i;){if(o=t.charAt(a),r=o.charCodeAt(0),"="==o&&0==a)++a;else if(xv(r)){for(l=(d?"-":"")+o,++a;a<i;)if(o=t.charAt(a),r=o.charCodeAt(0),xv(r))l+=o,++a;else{if(o!==this.options.decimalPoint)break;l+=".",++a}d=!1,e.push([l,yv.Number])}else if(Cv(r)||"$"==o){l=o,s=null,++a;do{if(o=t.charAt(a),r=o.charCodeAt(0),Cv(r)||xv(r)||"."===o||"$"===o||"_"===o)"_"==o?s=yv.Variable:xv(r)&&!c&&null==s&&(s=yv.Cell),l+=o,++a,a==i&&e.push([l,s||yv.Variable]);else{if("("==o){e.push([l.toUpperCase(),yv.Function]),e.push([o,yv.OpenBracket]),++a;break}if("'"==o)e.push([l,yv.Sheet]),l="",e.push([o,yv.SheetQuote]),c=!0,++a;else if(":"==o)s=yv.Range,l+=o,++a;else{if(!c||" "!=o){if("!"==o){""!==l&&e.push([l,yv.Sheet]),e.push([o,yv.SheetSeparator]),c=!1,l="",++a;break}e.push([l,s||(kv(l)?yv.Boolean:yv.Variable)]);break}l+=o,++a}}}while(a<i)}else if(fv(o)){if("-"===o&&xv(t.charCodeAt(a+1))&&(null==n||"("==n[0]||gv(n[0])||n[1]==yv.ArgumentSeparator))d=!0;else{for(l=o;gv(t.charAt(a+1));)l+=t.charAt(++a);e.push([l,yv.Operator])}++a}else if("("===o)e.push([o,yv.OpenBracket]),++a;else if(")"===o)e.push([o,yv.CloseBracket]),++a;else if("'"===o)e.push([o,yv.SheetQuote]),c=!0,++a;else if(o===this.options.argumentSeparator)e.push([o,yv.ArgumentSeparator]),++a;else if(o===this.options.stringQuote){for(h=!1,e.push([o,yv.StringQuote]),l="";++a<i;){if(o=t.charAt(a),o===this.options.stringQuote){h=!0,++a;break}l+=o}e.push([l,yv.String]),h&&e.push([this.options.stringQuote,yv.StringQuote])}else e.push([o,yv.Unknown]),++a;n=e[e.length-1]}return e}}function Sv(t,e,i=null,o=!0){return t+=e,0==e?t:t>=0?i?o?t%i:Math.min(t,i-1):t:o&&i?i+t%i:Math.max(t,0)}const zv=/(?:'?([\w\s]*)'?!)?(\$?)([a-z]*)(\$?)(\d*)(?::(\$?)([a-z]*)(\$?)(\d*))?/i;class Ev{constructor(t,e,i,o,r){this.setCoords(t,e,i,o),this.sheet=r}setCoords(t,e,i,o){this.c1=null==t&&null==i?0:t,this.r1=null==e&&null==o?0:e,this.c2=null==o&&null!=t||null!=i?null==i?t:i:1/0,this.r2=null==i&&null!=e||null!=o?null==o?e:o:1/0,this.normalize()}get size(){return{columns:this.c2-this.c1+1,rows:this.r2-this.r1+1}}get count(){const{columns:t,rows:e}=this.size;return t*e}normalize(){const[t,e]=[Math.min(this.c1,this.c2),Math.max(this.c1,this.c2)],[i,o]=[Math.min(this.r1,this.r2),Math.max(this.r1,this.r2)];return this.c1=t,this.c2=e,this.r1=i,this.r2=o,this}move(t,e,i=null,o=null,r=!0){const s=Sv(this.c1,t,i,r);r&&(e+=this.c1+t!=s&&0!=t?t>0?1:-1:0),this.c1=s,this.r1=Sv(this.r1,e,o,r),this.c2=Sv(this.c2,t,i,r),this.r2=Sv(this.r2,e,o,r)}contains(t){return t.c1>=this.c1&&t.c2<=this.c2&&t.r1>=this.r1&&t.r2<=this.r2}containsColumn(t){return this.c1<=t&&this.c2>=t}containsRow(t){return this.r1<=t&&this.r2>=t}removeAnchors(){return this.c1Anchor=!1,this.c2Anchor=!1,this.r1Anchor=!1,this.r2Anchor=!1,this}addAnchors(){return this.c1Anchor=!0,this.c2Anchor=!0,this.r1Anchor=!0,this.r2Anchor=!0,this}shiftLeft(t,e=1,i=null,o=!1){return t<=this.c1&&(o||!this.c1Anchor)&&(null==i||this.c1<=i)&&(this.c1-=e),t<=this.c2&&(o||!this.c2Anchor)&&(null==i||this.c2<=i)&&(this.c2-=e),this}shiftRight(t,e=1,i=null,o=!1){return t<=this.c1&&(o||!this.c1Anchor)&&(null==i||this.c1<=i)&&(this.c1+=e),t<=this.c2&&(o||!this.c2Anchor)&&(null==i||this.c2<=i)&&(this.c2+=e),this}shiftUp(t,e=1,i=null,o=!1){return t<=this.r1&&(o||!this.r1Anchor)&&(null==i||this.r1<=i)&&(this.r1-=e),t<=this.r2&&(o||!this.r2Anchor)&&(null==i||this.r2<=i)&&(this.r2-=e),this}shiftDown(t,e=1,i=null,o=!1){return t<=this.r1&&(o||!this.r1Anchor)&&(null==i||this.r1<=i)&&(this.r1+=e),t<=this.r2&&(o||!this.r2Anchor)&&(null==i||this.r2<=i)&&(this.r2+=e),this}shift(t){const{index:e,offset:i,direction:o,maxIndex:r,ignoreAnchors:s}=t;switch(o){case"down":return this.shiftDown(e,i,r,s);case"up":return this.shiftUp(e,i,r,s);case"left":return this.shiftLeft(e,i,r,s);case"right":return this.shiftRight(e,i,r,s)}}intersect(t){this.normalize(),t.normalize();const e=Math.max(t.c1,this.c1),i=Math.min(t.c2,this.c2),o=Math.max(t.r1,this.r1),r=Math.min(t.r2,this.r2);return e<=i&&o<=r?new Ev(e,o,i,r,this.sheet):null}unite(t){return this.normalize(),t.normalize(),new Ev(Math.min(this.c1,t.c1),Math.min(this.r1,t.r1),Math.max(this.c2,t.c2),Math.max(this.r2,t.r2),this.sheet)}clone(){const t=new Ev(this.c1,this.r1,this.c2,this.r2,this.sheet);return t.c1Anchor=this.c1Anchor,t.r1Anchor=this.r1Anchor,t.c2Anchor=this.c2Anchor,t.r2Anchor=this.r2Anchor,t}equals(t,e=!1){return t.c1==this.c1&&t.r1==this.r1&&t.c2==this.c2&&t.r2==this.r2&&(0==e||t.c1Anchor==this.c1Anchor&&t.r1Anchor==this.r1Anchor&&t.c2Anchor==this.c2Anchor&&t.r2Anchor==this.r2Anchor)}get isCell(){return this.c2==this.c2&&this.r2==this.r1}get isRange(){return this.c2!=this.c1||this.r2!=this.r1}get isColumn(){return 0==this.r1&&this.r2==1/0}get isRow(){return 0==this.c1&&this.c2==1/0}get A1(){const t=this.isRange,e=(this.c1Anchor?"$":"")+(0!==this.c1||this.c2!==1/0?Rv(this.c1):"")+(0===this.r1&&this.r2===1/0?"":(this.r1Anchor?"$":"")+Lv(this.r1)),i=t?(this.c2Anchor?"$":"")+(!isNaN(this.c2)&&this.c2<1/0?Rv(this.c2):"")+(this.r2Anchor?"$":"")+(!isNaN(this.r2)&&this.r2<1/0?Lv(this.r2):""):e;return(null==this.sheet?"":((o=this.sheet).indexOf(" ")>-1?"'"+o+"'":o)+"!")+(e==i?e:e+":"+i);var o}get bounds(){return[[new Ev(this.c1,this.r1),this.c2<1/0?new Ev(this.c2,this.r1):null],[this.r2<1/0?new Ev(this.c1,this.r2):null,this.r2<1/0&&this.c2<1/0?new Ev(this.c2,this.r2):null]]}*cells(){for(let t=this.r1;t<=this.r2;t++)for(let e=this.c1;e<=this.c2;e++)yield new Ev(e,t)}static fromA1(t){const e=zv.exec(t),i=new Ev(e[3]?Tv(e[3]):null,e[5]?Iv(e[5]):null,e[7]?Tv(e[7]):null,e[9]?Iv(e[9]):null,e[1]||null);return!e[2]&&e[3]||(i.c1Anchor=!0),!e[4]&&e[5]||(i.r1Anchor=!0),(e[6]||e[2]&&!e[7])&&(i.c2Anchor=!0),(e[8]||e[4]&&!e[9])&&(i.r2Anchor=!0),i}}function Lv(t){return(t+1).toString()}function Iv(t){return parseInt(t)-1}function Rv(t){++t;let e,i="";for(;t>0;)e=(t-1)%26,i=String.fromCharCode(e+65)+i,t=(t-e-1)/26;return i}function Tv(t){const e=t.length;let i=0;for(let o=0;o<e;o++)i+=(t.charCodeAt(o)-64)*Math.pow(26,e-o-1);return i-1}function $v(t){return t.sort(((t,e)=>{const i=Math.min(t.r1,t.r2),o=Math.min(e.r1,e.r2),r=Math.min(t.c1,t.c2),s=Math.min(e.c1,e.c2);return i<o?-1:i>o?1:r<s?-1:s>r?1:0}))}function Av(t){return t.formula.cells.map((e=>t.cell.model.getCellByRange(e[1])))}function Dv(t){let e=t;for(;Array.isArray(e);)e=e.length>0?e[0]:null;return e}function Ov(t){return Array.isArray(t)?t:[[t]]}function Nv(t,e,i,o){if(!Array.isArray(t))return e(t,i,o);for(let o=0;o<t.length;o++)if(!1===Nv(t[o],e,null==i?o:i,null==i?void 0:o))return!1}Ev.fromA1s=(t,e=";")=>t.split(e).map((t=>Ev.fromA1(t))),Ev.toA1s=(t,e=";")=>t.map((t=>t.A1)).join(e),Ev.fromCoords=t=>new Ev(t.c1,t.r1,t.c2,t.r2),Ev.fullColumn=t=>new Ev(t,0,t,1/0),Ev.fullRow=t=>new Ev(0,t,1/0,t);const Pv=new Set(["SUMPRODUCT","FILTER"]),jv=t=>Pv.has(t),Hv=t=>!!(t&&t.length>0&&"="==t.charAt(0)),Fv=t=>Hv(t)?t:"="+(t??""),Bv=t=>Hv(t)?t.substring(1):t,Wv=["#5B97FF","#FF616B","#B77CFF","#00B02C","#FC58BE","#FF9000","#2EB0B3"],Vv=t=>Wv[t%Wv.length],Uv=new Map([["FORMULATEXT","_xlfn."],["CONCAT","_xlfn."],["INDIRECT","_xlfn."],["ISOWEEKNUM","_xlfn."],["SWITCH","_xlfn."],["XOR","_xlfn."]]);class Gv{get fn(){return this._fn??(this._fn=new Function("t","ctx","return "+this.compile()))}get tokens(){return this._tokens}get variables(){return this._variables}get cells(){return this._cells}get ranges(){return this._ranges}get colors(){if(!this._colors){let t;this._colors=new Map,this._tokens.forEach(((e,i)=>{if([yv.Cell,yv.Range].includes(e[1])){const o=(t?"'"+t+"'!":"")+e[0];this._colors.set(o,{color:Vv(this._colors.size),address:e[0],sheet:t,type:e[1],tokenIndex:i}),t=null}else e[1]==yv.Sheet&&(t=e[0])}))}return this._colors}constructor(t,e){this.expression=t,this.tokenizer=e,this._tokens=e.tokenize(this.expression),this.updateDependecies()}findTokenIndexAtPosition(t){let e=0;return this._tokens.findIndex((i=>{const o=i[0].length;if(t>=e&&t<=e+o)return!0;e+=o}))}findSheetTokenIndex(t){const e=this._tokens[t];if(![yv.Cell,yv.Range].includes(e[1]))return-1;if(0==t||this._tokens[t-1][1]!=yv.SheetSeparator)return-1;let i=t-2;for(;i>=0;){if(this._tokens[i][1]==yv.Sheet)return i;i--}return-1}removeSheetToken(t){if(this._tokens[t][1]!=yv.Sheet&&(t=this.findSheetTokenIndex(t)),t>-1){t>0&&this._tokens[t-1][1]==yv.SheetQuote&&t--;let e=t;for(;e<this._tokens.length&&[yv.SheetSeparator,yv.SheetQuote,yv.Sheet].includes(this._tokens[e][1]);)e++;return this._tokens.splice(t,e-t),e-t}return 0}getNamedColor(t){return this.colors.get(t)?.color??"inherit"}getTokenPosition(t){let e=0;for(let i=0;i<t;i++)e+=this._tokens[i][0].length;return{min:e,max:e+this._tokens[t][0].length}}updateToken(t,e){this._fn=null,this._formula=null,this._xlFormula=null,this._tokens[t][0]=e}removeToken(t){this._fn=null,this._formula=null,this._xlFormula=null,this._tokens.splice(t,1)}insertToken(t,e,i){this._fn=null,this._formula=null,this._xlFormula=null;const o=[];return i==yv.Sheet&&/\s/.test(e)?(o.push([this.tokenizer.options.sheetQuote,yv.SheetQuote]),o.push([e,yv.Sheet]),o.push([this.tokenizer.options.sheetQuote,yv.SheetQuote])):o.push([e,i]),o.push(["!",yv.SheetSeparator]),this._tokens.splice(t,0,...o),o.length}clone(){return new Gv(this.createFormulaString(),this.tokenizer)}updateDependecies(){let t;this._variables=[],this._cells=[],this._ranges=[],this._tokens.forEach(((e,i)=>{switch(e[1]){case yv.Sheet:t=e[0];break;case yv.Variable:this._variables.push([i,e[0],t]),t=void 0;break;case yv.Cell:this._cells.push([i,Ev.fromA1(e[0]),t]),t=void 0;break;case yv.Range:this._ranges.push([i,Ev.fromA1(e[0]),t]),t=void 0}}))}createFormulaString(t=!1,e=!1){const i=this.tokenizer.options;let o,r,s,n="";for(let l=0;l<this._tokens.length;l++)switch(o=this._tokens[l],o[1]){case yv.SheetQuote:n+="'";break;case yv.SheetSeparator:n+="!";break;case yv.Sheet:r=o[0],n+=t?`<span style="font-style:italic">${r}</span>`:r;break;case yv.Variable:n+=o[0];break;case yv.Range:case yv.Cell:s=(r?"'"+r+"'!":"")+o[0],n+=t?`<span style="color:${this.getNamedColor(s)}">${o[0]}</span>`:o[0],r=null;break;case yv.StringQuote:n+=i.stringQuote;break;case yv.String:n+=o[0].replace(new RegExp(i.stringQuote,"g"),"\\"+i.stringQuote);break;case yv.ArgumentSeparator:n+=i.argumentSeparator;break;case yv.Function:n+=(e?(a=o[0],Uv.get(a)??""):"")+o[0];break;case yv.Unknown:n+=t?`<span style="background:#f00;color:#fff">${o[0]}</span>`:o[0];break;default:n+=o[0]}var a;return n}createExpressionTree(){const t=[],e=[],i=this.tokens;let o,r,s,n,a,l=null;for(let c=0;c<i.length;c++)switch(o=i[c],o[1]){case yv.Sheet:l=o[0];break;case yv.Cell:case yv.Range:t.push({t:o[0],tt:o[1],s:l}),l=null;break;case yv.Number:case yv.String:case yv.Boolean:case yv.Variable:t.push({t:o[0],tt:o[1]});break;case yv.Operator:for(0==t.length&&t.push({t:"",tt:yv.Operand}),s=pv.get(o[0]);e.length>0&&(n=pv.get(e[e.length-1][0]),n)&&(0===s[2]&&s[1]<=n[1]||1===s[2]&&s[1]<n[1]);)r=e.pop(),a=[t.pop(),t.pop()].reverse(),t.push({t:r[0],tt:r[1],c:a});e.push(o);break;case yv.Function:case yv.OpenBracket:e.push(o);break;case yv.ArgumentSeparator:for(;e.length>0&&(r=e[e.length-1],![yv.OpenBracket,yv.ArgumentSeparator].includes(r[1]));)r=e.pop(),a=[t.pop(),t.pop()].reverse(),t.push({t:r[0],tt:r[1],c:a});e.push(o);break;case yv.CloseBracket:for(a=[];e.length>0&&e[e.length-1][1]!==yv.OpenBracket;)r=e.pop(),r[1]==yv.Operator?a.push({t:r[0],tt:r[1],c:[t.pop(),t.pop()].reverse()}):r[1]==yv.ArgumentSeparator&&t.length>0&&a.push(t.pop());e.pop(),e.length>0&&e[e.length-1][1]===yv.Function?(r=e.pop(),a=a.reverse(),t.length>0&&i[c-1][1]!==yv.OpenBracket&&a.unshift(t.pop()),t.push({t:r[0],tt:r[1],c:a})):t.push(...a)}for(;e.length>0;)r=e.pop(),t.push({t:r[0],tt:r[1],c:[t.pop(),t.pop()].reverse()});return t.pop()}createExpressionJSCode(t,e,i){let o;switch(t.tt){case yv.Range:return"t.rn('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case yv.Cell:return"t.cl('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case yv.Operand:return"t.cl()";case yv.Variable:return i||e?.tt===yv.Function?"t.nr('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")":"t.nv('"+t.t+"'"+(t.s?",'"+t.s+"'":"")+")";case yv.String:return"'"+t.t.replace(/'/g,"\\'")+"'";case yv.Boolean:return"T"==t.t[0].toUpperCase()?"1":"0";case yv.Function:return o=t.c.map((e=>this.createExpressionJSCode(e,t,i||jv(t.t)))),"t.fn('"+t.t+"').call(ctx"+(o.length>0?","+o.join(","):"")+")";case yv.Operator:return i?(o=t.c.map((e=>this.createExpressionJSCode(e,t,i||jv(t.t)))),"t.op("+o[0]+","+o[1]+",'"+t.t+"')"):pv.has(t.t)?"("+t.c.map((e=>this.createExpressionJSCode(e,t,i))).join(pv.get(t.t)[0])+")":null;default:return t.t}}compile(){const t=this.createExpressionTree();return this.createExpressionJSCode(t)}toString(t=!1){return(t?"=":"")+(this._formula??(this._formula=this.createFormulaString()))}toExcelString(){return this._xlFormula??(this._xlFormula=this.createFormulaString(!1,!0))}shift(t){const{index:e,offset:i,direction:o,maxIndex:r,sheet:s,allSheets:n}=t;return this._cells&&this._cells.forEach((t=>{if(n||null==t[2]||t[2]==s){switch(o){case"up":t[1].shiftUp(e,i,r);break;case"right":t[1].shiftRight(e,i,r);break;case"down":t[1].shiftDown(e,i,r);break;case"left":t[1].shiftLeft(e,i,r)}this._tokens[t[0]][0]=t[1].A1}})),this._ranges&&this._ranges.forEach((t=>{if(n||null==t[2]||t[2]==s){switch(o){case"up":t[1].shiftUp(e,i,r);break;case"right":t[1].shiftRight(e,i,r);break;case"down":t[1].shiftDown(e,i,r);break;case"left":t[1].shiftLeft(e,i,r)}this._tokens[t[0]][0]=t[1].A1}})),this}hasSheetReference(t){for(const e of this._cells)if(e[2]==t)return!0;for(const e of this._ranges)if(e[2]==t)return!0;for(const e of this._variables)if(e[2]==t)return!0;return!1}renameSheet(t,e){let i=!1;return this._tokens.forEach((o=>{o[1]==yv.Sheet&&o[0]==t&&(o[0]=e,i=!0)})),i}}function Yv(t,e){return e&&(t=gr(this.cell.model.options.locale,yr(e,"d"),!1)(t)),null==t?"":t.toString()}function qv(t,e){return(t=null==t?"":t.toString()).substring(0,e)}function Zv(t,e){return(t=null==t?"":t.toString()).substring(Math.max(0,t.length-e),t.length)}function Xv(t,e,i){return(t=null==t?"":t.toString()).substring(e,e+i)}function Qv(...t){let e="";return Nv(t,(t=>e+=null==t?"":t.toString())),e}function Kv(...t){return Qv(...t)}function Jv(t){return(t=null==t?"":t.toString()).length}function tb(t){return(t=null==t?"":t.toString()).toLowerCase()}function eb(t){return(t=null==t?"":t.toString()).toUpperCase()}function ib(t){return t instanceof Date?t:Q(t)?Xo(t,Lo()):nr(t)}function ob(t){return tt(t)?t:sr(t instanceof Date?t:Xo(t,Lo()))}function rb(t){return Q(t)?ob(t):t}function sb(t,e){const i=ib(t).getDay();switch(e){case 2:return i;case 3:return i-1;default:return i%7+1}}function nb(t,e,i){return ar(ob(Dv(t)),e)}function ab(){return sr(le(new Date))}function lb(t){return null==(t=Dv(t))||""===t}function cb(t,e,i){return sr(new Date(t,e-1,i))}function hb(t){return ib(t).getFullYear()}function db(t){return ib(t).getMonth()+1}function ub(t){return ib(t).getDate()}function pb(t,e){const i=ib(t);return i.setMonth(i.getMonth()+e+1),i.setDate(0),sr(i)}function gb(t){return Ci(ib(t))}function mb(t){return Math.acos(t)}function fb(t){return Math.acosh(t)}function vb(t){return Math.PI/2-Math.atan(t)}function bb(t){return.5*Math.log((t+1)/(t-1))}function yb(t){return Math.asin(t)}function wb(t){return Math.asinh(t)}function xb(t){return Math.atan(t)}function kb(t){return Math.atanh(t)}function Cb(t){return Math.cos(t)}function Mb(t){return Math.cosh(t)}function _b(t){return 1/Math.tan(t)}function Sb(t){return 1/Math.tanh(t)}function zb(t){return 1/Math.sin(t)}function Eb(t){return 1/Math.sinh(t)}function Lb(t){return 180*t/Math.PI}function Ib(){return Math.PI}function Rb(t){return 1/Math.cos(t)}function Tb(t){return 1/Math.cosh(t)}function $b(t){return Math.sin(t)}function Ab(t){return Math.sinh(t)}function Db(t){return Math.tan(t)}function Ob(t){return Math.tanh(t)}function Nb(t){return Math.abs(t)}function Pb(t){if(t<0)throw new Error("#NUM");return Math.ceil(t)}function jb(t){return(t=Math.ceil(t))%2==0?t:t+1}function Hb(t){return Math.pow(Math.E,t)}function Fb(t){return t<0?-1:0==t?1:t*Fb(t-1)}function Bb(t){return t<=0?1:t*Bb(t-2)}function Wb(t){return Math.floor(t)}function Vb(t){return t%1!=0}function Ub(t){return!Vb(t)&&t%2==0}function Gb(t){return Vb(t)||t%2==1}function Yb(t){return Math.log(t)}function qb(t,e){return Math.log(t)/Math.log(e)}function Zb(t){return Math.log10(t)}function Xb(t,e){return t%e}function Qb(t){return(t=Math.ceil(t))%2==0?t+1:t}function Kb(t,e){return Math.pow(t,e)}function Jb(...t){let e=1;return Nv(t,(t=>e*=t||1)),e}function ty(t,e){return Math.floor(t/e)}function ey(t){return t*Math.PI/180}function iy(){return Math.random()}function oy(t,e){const i=Array(t).fill(null).map((()=>Array(e)));for(let o=0;o<t;o++)for(let t=0;t<e;t++)i[o][t]=Math.random();return i}function ry(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}function sy(t,e){return t.toFixed(e)}function ny(t,e){return e=e||0,Math.floor(t*Math.pow(10,e))/Math.pow(10,e)}function ay(t,e){return e=e||0,Math.ceil(t*Math.pow(10,e))/Math.pow(10,e)}function ly(t,e,i=1,o=1){const r=Array(t).fill(null).map((()=>Array(e)));let s=i;for(let i=0;i<t;i++)for(let t=0;t<e;t++)r[i][t]=s,s+=o;return r}function cy(t){return t<0?-1:t>0?1:0}function hy(t){return Math.sqrt(t)}function dy(t){return Math.sqrt(Math.PI*t)}function uy(...t){let e=0;return Nv(t,(t=>e+=null==t?0:1)),e}function py(...t){let e=0;return Nv(t,(t=>e+=null==t?1:0)),e}function gy(t,e){let i=0;return Nv(t,(t=>i+=uv(e,t)?1:0)),i}function my(...t){let e=0;const i=new Map;return Nv(t,(t=>{i.has(t)||(i.set(t,t),++e)})),e}function fy(...t){let e=0;return Nv(t,(t=>e+=isNaN(t)||null==t||""===t?0:t)),e}function vy(t,e,i){let o=0;if(i){const r=Ov(i);Nv(t,((t,i,s)=>o+=uv(e,t)&&r[i]&&r[i][s]&&!isNaN(r[i][s])?r[i][s]:0))}else Nv(t,(t=>o+=uv(e,t)&&!isNaN(t)?t:0));return o}function by(t,e){let i=0;return Nv(t,(t=>i+=uv(e,t)&&!isNaN(t)?t*t:0)),i}function yy(...t){let e=0;const i=t.shift();if(0===t.length)Nv(i,(t=>e+=isNaN(t)?0:t));else{const o=Ov(t[0]);Nv(i,((t,i,r)=>e+=o[i]&&o[i][r]&&!isNaN(t)&&!isNaN(o[i][r])?t*o[i][r]:0))}return e}function wy(t,e){return t=null==t?"":t.toString(),e?e=>e==t:(t=t.toLowerCase(),e=>(e??"").toString().toLowerCase()==t)}function xy(t,e,i=1){const o=new Ev(Math.max((e||0)-1,0),Math.max((t||0)-1,0));return 1!=i&&2!=i||(o.r1Anchor=!0),1!=i&&3!=i||(o.c1Anchor=!0),o.A1}function ky(t,e,i,o=!1){let r,s;const n=wy(t,o);for(r=0;r<e.length;r++)for(s=0;s<e[r].length;s++)if(n(e[r][s]))return e[r][i-1];return null}function Cy(t,e,i,o=!1){let r,s;const n=wy(t,o);for(r=0;r<e.length;r++)for(s=0;s<e[r].length;s++)if(n(e[r][s]))return e[i-1][s];return null}function My(t,e,i){let o,r;t:for(o=0;o<e.length;o++)for(r=0;r<e[o].length;r++)if(e[o][r]==t)break t;return i?i[o]?i[o][r]:null:e[o][e[o].length-1]}function _y(t,...e){let i=null,o=0;return Nv(e,(e=>{if(t==++o)return i=e,!1})),i}function Sy(t){return(t?Ev.fromA1(t).c1:this.cell.c)+1}function zy(t){return(t?Ev.fromA1(t).r1:this.cell.r)+1}function Ey(t){return Array.isArray(t)?t[0]?.length:1}function Ly(t){return Array.isArray(t)?t.length:1}function Iy(){const t=Av(this)[0];return t&&t.hasFormula?" "+Fv(t.formula):""}function Ry(t,e,i){return e=e||1,i=i||1,Array.isArray(t)?t[e-1]?t[e-1][i-1]:null:1==e&&1==i?t:null}function Ty(t){const e=this.cell,i=e.model,o=i.getCellByA1(t);let r;return i.calculations.dependencies.cellDependencies.has(e.address)?r=i.calculations.dependencies.cellDependencies.get(e.address):(r=new Map,i.calculations.dependencies.cellDependencies.set(e.address,r)),r.set(o.address,[o.range]),i.calculations.dependencies.cellDependants.has(o.address)?r=i.calculations.dependencies.cellDependants.get(o.address):(r=new Map,i.calculations.dependencies.cellDependants.set(o.address,r)),r.set(e.address,[e.range]),o.value}function $y(t,e,i=0){let o,r;for(o=0;o<e.length;o++)for(r=0;r<e[o].length;r++){if(0==i&&e[o][r]==t)return Math.max(o+1,r+1);if(1==i&&e[o][r]>t)return Math.max(o+1,r+1);if(-1==i&&e[o][r]<t)return Math.max(o+1,r+1)}return null}function Ay(t,e,i,o,r){const s=Av(this)[0],n=[];o=o||1,r=r||1;for(let t=0;t<o;t++){const o=[];for(let n=0;n<r;n++){const r=s.model.rows[s.r+t+e].cell(s.c+n+i);o.push(r?s.value:null)}n.push(o)}return n}function Dy(t,e){const i=[];if(t.length==e.length)for(let o=0;o<t.length;o++){let r=!0;for(let t=0;t<e[o].length;t++)if(!e[o][t]){r=!1;break}r&&i.push(t[o])}return i}const Oy=[[3.1611237438705655,113.86415415105016,377.485237685302,3209.3775891384694,.18577770618460315],[.5641884969886701,8.883149794388377,66.11919063714163,298.6351381974001,881.952221241769,1712.0476126340707,2051.0783778260716,1230.3393547979972,2.1531153547440383e-8],[.30532663496123236,.36034489994980445,.12578172611122926,.016083785148742275,.0006587491615298378,.016315387137302097]],Ny=[[23.601290952344122,244.02463793444417,1282.6165260773723,2844.236833439171],[15.744926110709835,117.6939508913125,537.1811018620099,1621.3895745666903,3290.7992357334597,4362.619090143247,3439.3676741437216,1230.3393548037495],[2.568520192289822,1.8729528499234604,.5279051029514285,.06051834131244132,.0023352049762686918]];function Py(t){const e=t*t;let i,o=Oy[0][4]*e,r=e;for(i=0;i<3;i+=1)o=(o+Oy[0][i])*e,r=(r+Ny[0][i])*e;return t*(o+Oy[0][3])/(r+Ny[0][3])}function jy(...t){let e=!0;return Nv(t,(t=>{if(!t)return e=!1})),e}function Hy(...t){let e=!1;return Nv(t,(t=>{if(t)return e=!0})),e}function Fy(...t){let e=null;return Nv(t,(t=>{e=null===e?!!t:!!t!=e})),e}function By(...t){const e=t[0];for(let i=1;i<t.length;i+=2){if(i==t.length-1)return t[i];if(e==t[i])return t[i+1]}return null}function Wy(t,e,i){return t?e:i}function Vy(t){return!t}function Uy(){return!1}function Gy(){return!0}function Yy(t,e){return e=""===e?null:e,this.cell.hasError?(this.cell.error.handled=!0,e):t===1/0||t===-1/0||Number.isNaN(t)?e:t}var qy=i(235),Zy=i.n(qy),Xy=i(5949),Qy=i.n(Xy);function Ky(...t){let e=0,i=0;return Nv(t,(t=>{null==t||isNaN(t)||(e+=t||0,++i)})),e/i}function Jy(t,e){const i=Qy()(),o=Ov(t),r=Ov(e);for(let t=0;t<o.length;t++)for(let e=0;e<o[t].length;e++)i(o[t][e],(r[t]?r[t][e]:1)??1);return i()}function tw(...t){const e=function(t){const e=[];return Nv(t,(t=>e.push(t))),e}(t),i=Zy()(e.length,e,1);return e.reduce(((t,e)=>t+Math.abs(e-i)),0)/e.length}function ew(...t){let e=1/0;return Nv(t,(t=>e=Math.min(e,t))),e}function iw(...t){let e=-1/0;return Nv(t,(t=>e=Math.max(e,t))),e}function ow(t,e){Object.keys(e).forEach((i=>t.set(nt(i,"_").replace(/_/g,".").toUpperCase(),e[i])))}const rw=new Map;ow(rw,_),ow(rw,S),ow(rw,z),ow(rw,E),ow(rw,I),ow(rw,L),ow(rw,R);class sw{constructor(t){this.model=t,this.getModel=t=>{const e=t?this.model.getConnectedModel(t):this.model;if(e)return e;throw new Error(`Sheet "${t}" not found`)},this.cl=(t,e)=>{const i=this.getModel(e);if(null==t)return this.currentCell.value;const o=i.getCellByA1(t);return o?o.value:(this.currentCell.error={message:`undefined cell ${t}`},null)},this.rn=(t,e)=>this.getModel(e).getValuesInRange(Ev.fromA1(t)),this.nv=(t,e)=>this.getModel(e).getCellByName(t,this.currentCell.range).value,this.nr=(t,e)=>{const i=this.getModel(e).getValueMatrixByName(t);return 1===i.length&&1===i[0].length?i[0][0]:i},this.fn=t=>{const e=rw.get(t);if(e)return e;throw new Error(`Function "${t}" not found`)},this.op=(t,e,i)=>bv(t,e,i)}}function nw(t,e){const i=Array(e).fill(null);let o=0,r=[];if(t.length>1){r=t.map((t=>parseFloat(t.value)||0)),o=r[1]-r[0];for(let t=2;t<r.length;t++)if(r[t]-r[t-1]!==o){o=0;break}}if(0==o)for(let o=0;o<e;o++)i[o]=t[o%t.length]?.value;else{let t=r[r.length-1];for(let r=0;r<e;r++)t=i[r]=t+o}return i}function aw(t,e,i){const o=new Gv(t.formula,t.model.calculations.tokenizer),r=[];for(let t=0;t<i;t++)r.push(Fv(o.shift({index:0,offset:1,direction:e,allSheets:!0}).createFormulaString()));return r}function lw(t,e,i,o){const r=t.getCellMatrix(e);let s;"right"==o?s=Xr(r):"down"==o?s=Zr(r):"left"==o?s=Yr(r):"up"==o&&(s=Yr(Zr(r)));const n=new Array(i.size.rows);for(let t=0;t<i.size.rows;t++){n[t]=new Array(i.size.columns);for(let e=0;e<i.size.columns;e++){const i=r.length>t?r[t][r[t].length>e?e:0]:r[0][e];n[t][e]=i.hasDisplayValue?i.displayValue:null}}const a=i.size["down"==o||"up"==o?"rows":"columns"];let l=s.map((t=>t[t.length-1].hasFormula?aw(t[t.length-1],o,a):nw(t,a)));return"down"==o?l=Zr(l):"left"==o?l=Yr(l):"up"==o&&(l=qr(Zr(l))),t.spillValues({cell:t.getCellByRange(i.bounds[0][0]),values:l,propertyCell:t.getCellByRange(e.bounds[0][0]),displayValues:n})}function cw(t){return t.pattern&&"string"==typeof t.pattern&&(t.pattern=new RegExp(t.pattern)),t}function hw(t,e){const i=t.validation;if(!i)return!0;if(i.allowInvalid)return!0;let o=!0;return i.pattern&&(i.pattern.test((e??"").toString())||(o=!1)),i.validate&&(i.validate(t,e)||(o=!1)),o}class dw{get address(){return null}get renderer(){return this._renderer}set renderer(t){this._renderer=t}get afterRenderer(){return this._afterRenderer}set afterRenderer(t){this._afterRenderer=t}get commentRenderer(){return this._commentRenderer}set commentRenderer(t){this._commentRenderer=t}get type(){return this._type}set type(t){this._type=t}get name(){return this._name}set name(t){this._name=t}get style(){return this._style}set style(t){this._style=t}get commentable(){return this._commentable}set commentable(t){this._commentable=t}get clickable(){return this._clickable}set clickable(t){this._clickable=t}get editable(){return this._editable}set editable(t){this._editable=t}get validation(){return this._validation}set validation(t){this._validation=t}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){this._formula=t?t.replace(/^=/,""):null}get value2(){return this.hasFormula?Fv(this.formula):null}get editorContent(){return this._editorContent}set editorContent(t){this._editorContent=t}get adapter(){return this._adapter}set adapter(t){this._adapter=t}get properties(){return this._properties}set properties(t){this._properties=t}getProperty(t){return this._properties?.[t]}setProperty(t,e){this._properties||(this._properties={}),this._properties[t]=e}get format(){return this._format}set format(t){this._format=t,this._valueFormatter=null}get valueFormatter(){return this._valueFormatter}constructor(t,e){this.model=t,this._type=null,this._clickable=!1,e&&this.populate(e)}populate(t){this._renderer=t.renderer,this._afterRenderer=t.afterRenderer,this._commentRenderer=t.commentRenderer,this._name=t.name,this._type=t.t,this._editorContent=t.content,this._adapter=t.adapter,this._format=t.z,this._formula=t.f,this._editable=t.e,this._commentable=t.commentable,this._clickable=t.clickable,this._validation=t.validation?cw(t.validation):null,this._properties=t.props,this._style=null==t.s?null:this.model.styles.add(t.s)?.id}update(t){const e={};if("renderer"in t&&(e.renderer=this._renderer,this._renderer=t.renderer),"afterRenderer"in t&&(this._afterRenderer=t.afterRenderer),"commentRenderer"in t&&(this._commentRenderer=t.commentRenderer),"name"in t&&(e.name=this._name,this._name=t.name),"t"in t&&(e.t=this._type,this._type=t.t),"content"in t&&(e.content=this._editorContent,this._editorContent=t.content),"adapter"in t&&(e.adapter=this._adapter,this._adapter=t.adapter),"z"in t&&(e.z=this._format,this._format=t.z),"f"in t&&(e.f=this._formula,this._formula=t.f),"e"in t&&(e.e=this._editable,this._editable=t.e),"commentable"in t&&(e.commentable=this._commentable,this._commentable=t.commentable),"clickable"in t&&(e.clickable=this._clickable,this._clickable=t.clickable),"validation"in t&&(e.validation=this._validation,this._validation=cw(t.validation)),"props"in t&&(e.props=this._properties,this._properties=t.props),"s"in t){const i=this.model.styles.add(t.s).id;this._style!==i&&(e.s=this._style,this._style=i)}return e}getSourceData(){const t={};return null!=this._type&&(t.t=this._type),null!=this._format&&(t.z=this._format),null!=this._formula&&(t.f=this._formula),null!=this._editable&&(t.e=this._editable),null!=this._commentable&&(t.commentable=this._commentable),null!=this._clickable&&(t.clickable=this._clickable),this._properties&&(t.props=rt(this._properties)),null!=this._editorContent&&(t.content=Z(this._editorContent)?rt(this._editorContent):this._editorContent),null!=this._style&&(t.s=this._style),null!=this._name&&(t.name=this._name),t}setStyleProperties(t,e=!1){this.style=e?this.model.styles.set(this.style,t).id:this.model.styles.duplicate(this.style,t).id}removeStyleProperties(t){null!==this.style&&this.model.styles.unset(this.style,t)}get composedStyle(){return this.model.styles.get(this.style)}}function uw(t){const e={};return t.split(";").forEach((t=>{const[i,o]=t.split(":");e[i]=o.trim()})),e}const pw=new Map([["thin",{width:1.5,style:"solid"}],["medium",{width:2,style:"solid"}],["thick",{width:3,style:"solid"}],["double",{width:3,style:"double"}],["dotted",{width:1.5,style:"dotted"}],["hair",{width:1,style:"solid"}],["dashed",{width:1.5,style:"dashed"}],["mediumDashed",{width:2,style:"dashed"}],["dashDot",{width:1.5,style:"dashed"}],["mediumDashDot",{width:2,style:"dashed"}],["dashDotDot",{width:1.5,style:"dotted"}],["mediumDashDotDot",{width:2,style:"dotted"}],["slantDashDot",{width:1.5,style:"dashed"}],["none",{width:1.5,style:"solid"}]]),gw=(()=>{const t=new Map;return pw.forEach(((e,i)=>{let o=t.get(e.style);o||(o=t.set(e.style,new Map).get(e.style)),o.set(e.width,i)})),t})();function mw(t){return"middle"==t?"center":t}function fw(t){return t="#"==t.charAt(0)?t.substring(1):t,/^[0-9a-fA-F]{3}$/.test(t)?t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:/^[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$/.test(t)?t:Wr(Br(t))}const vw=t=>{if("none"==t)return null;const e=t.split(" "),i=parseInt(e[0].charAt(0))||1,o=e.length>1?e[1]:"solid",r=gw.get(o);return{style:(r?r.get(i):null)??"thin",color:e.length>2?fw(e[2]):"CCCCCC"}},bw=t=>{const e=pw.get(t.style||"none");return e?[Ot(e.width),e.style,"none"==t.style?"var(--og-cell-background)":t.color?`#${t.color}`:"var(--og-border-color)"].join(" "):"none"},yw=(t,e)=>{const i="#"+(e.fgColor||"000000"),o="#"+(e.bgColor||"FFFFFF");switch(e.patternType){case"solid":t.backgroundColor=i||o;break;case"darkGray":t.backgroundColor=Nr(o,.75);break;case"mediumGray":t.backgroundColor=Nr(o,.5);break;case"lightGray":t.backgroundColor=Nr(o,.25);break;case"gray125":t.backgroundColor=Nr(o,.125);break;case"gray0625":t.backgroundColor=Nr(o,.0625);break;case"darkHorizontal":t.backgroundImage=`linear-gradient(0deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkVertical":t.backgroundImage=`linear-gradient(90deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkDown":t.backgroundImage=`linear-gradient(45deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"darkUp":t.backgroundImage=`linear-gradient(-45deg, ${i} 33.33%, ${o} 33.33%, ${o} 50%, ${i} 50%, ${i} 83.33%, ${o} 83.33%, ${o} 100%)`,t.backgroundSize="6px 6px";break;case"lightHorizontal":t.backgroundImage=`linear-gradient(0deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightVertical":t.backgroundImage=`linear-gradient(90deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightDown":t.backgroundImage=`linear-gradient(45deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"lightUp":t.backgroundImage=`linear-gradient(-45deg, ${o} 25%, ${i} 25%, ${i} 50%, ${o} 50%, ${o} 75%, ${i} 75%, ${i} 100%)`,t.backgroundSize="4px 4px";break;case"darkGrid":t.backgroundImage=`linear-gradient(${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="2px 2px";break;case"lightGrid":t.backgroundImage=`linear-gradient(${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="1px 1px";break;case"darkTrellis":t.backgroundImage=`linear-gradient(45deg, ${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="2px 2px";break;case"lightTrellis":t.backgroundImage=`linear-gradient(45deg, ${o} 0.5px, transparent 0.5px), linear-gradient(90deg, ${o} 0.5px, transparent 0.5px)`,t.backgroundSize="1px 1px"}return t},ww=(t,e)=>(t.backgroundImage=`linear-gradient(${(e.angle??0)+90}deg,${e.stops.map((t=>`#${t.rgb} ${100*t.v}%`)).join(",")})`,t),xw=t=>{const e=t.cssStyle?{...t.cssStyle}:{};return null!=t.bold&&(e.fontWeight=t.bold?"bold":"normal"),t.italic&&(e.fontStyle="italic"),t.underline?e.textDecoration="underline":t.strike&&(e.textDecoration="line-through"),t.sz&&(e.fontSize=Dt(t.sz)),t.color&&(e.color="#"+t.color),t.top&&(e.borderTop=bw(t.top)),t.right&&(e.borderRight=bw(t.right)),t.bottom&&(e.borderBottom=bw(t.bottom)),t.left&&(e.borderLeft=bw(t.left)),(t.top||t.right||t.bottom||t.left)&&(e.zIndex="1"),t.alignment&&(t.alignment.vertical&&(e.display="flex",e.justifyContent=t.alignment.horizontal,e.alignItems="top"==t.alignment.vertical?"start":"bottom"==t.alignment.vertical?"end":"center"),t.alignment.horizontal&&(e.textAlign=t.alignment.horizontal),t.alignment.wrapText&&(e.display="flex",e.justifyContent=e.justifyContent??e.textAlign??"left",e.alignItems=e.alignItems??"center",e.whiteSpace="pre-wrap"),t.alignment.textRotation&&Object.assign(e,function(t,e,i){const o={};return"center"==t?"center"==e?o.transform="rotate("+(-i).toString()+"deg)":"top"==e?(o.position="absolute",o.transformOrigin="top right",o.transform="rotate("+(-i).toString()+"deg) translateY(-50%)",o.right="50%",o.top="0"):(o.position="absolute",o.transformOrigin="bottom left",o.transform="rotate("+(-i).toString()+"deg) translateY(50%)",o.left="50%",o.bottom="0"):"right"==t?(o.position="absolute",o.transformOrigin="top right",o.transform="rotate("+i.toString()+"deg) translateX(50%)",o.top="50%",o.right="0"):(o.position="absolute",o.transformOrigin="top left",o.transform="rotate("+i.toString()+"deg) translateX(-50%)",o.top="50%",o.left="0"),o}(t.alignment.horizontal||"center",t.alignment.vertical||"center",t.alignment.textRotation))),t.patternType?yw(e,t):t.stops&&t.stops.length?ww(e,t):t.fgColor?e.backgroundColor="#"+t.fgColor:t.bgColor&&(e.backgroundColor="#"+t.bgColor),e},kw=t=>{const e=Z(t)?t:uw(t),i={};let o;for(const t in e){const r=e[t];if(null!=r)switch(t){case"borderTop":case"border-top":i.top=vw(r);break;case"borderTopColor":case"border-top-color":i.top?i.top.color=fw(r):i.top={style:"thin",color:fw(r)};break;case"borderRight":case"border-right":i.right=vw(r);break;case"borderRightColor":case"border-right-color":i.right?i.right.color=fw(r):i.right={style:"thin",color:fw(r)};break;case"borderBottom":case"border-bottom":i.bottom=vw(r);break;case"borderBottomColor":case"border-bottom-color":i.bottom?i.bottom.color=fw(r):i.bottom={style:"thin",color:fw(r)};break;case"borderLeft":case"border-left":i.left=vw(r);break;case"borderLeftColor":case"border-left-color":i.left?i.left.color=fw(r):i.left={style:"thin",color:fw(r)};break;case"border":o=vw(r),i.top=i.top||o,i.right=i.right||o,i.bottom=i.bottom||o,i.left=i.left||o;break;case"textAlign":case"text-align":i.alignment=i.alignment||{},i.alignment.horizontal=r;break;case"verticalAlign":case"vertical-align":i.alignment=i.alignment||{},i.alignment.vertical=mw(r);break;case"whiteSpace":case"white-space":i.alignment=i.alignment||{},i.alignment.wrapText=r&&"nowrap"!=r;break;case"color":i.color=fw(r);break;case"background":case"backgroundColor":case"background-color":i.fgColor=fw(r);break;case"fontSize":case"font-size":i.sz=parseFloat(r);break;case"fontWeight":case"font-weight":i.bold="bold"==r;break;case"fontStyle":case"font-style":i.italic="italic"==r;break;default:i[t]=r}}return i},Cw={n:t=>{const e=Q(t)?parseFloat(t.replace(",",".")):t;return Number.isNaN(e)?t:e},t:t=>t,d:(t,e)=>{if(null==t||""===t)return null;if(Q(t))try{return K(t)?J(t):sr(Xo(t,e.model.options.formatLocale))}catch(i){return e.model.logger.error(`Invalid date value in cell ${e.address}: ${t}`),null}return t instanceof Date?sr(t):t},tm:t=>Q(t)?new Date(t):t,dt:t=>Q(t)?new Date(t):t,b:t=>!!t&&"0"!==t&&"false"!==t.toString().toLowerCase(),s:t=>t,m:t=>t,g:t=>{if(null==t||""===t)return null;const e=parseFloat(t.toString().replace(",","."));return isNaN(e)?t:e},a:t=>Q(t)&&""!==t?JSON.parse(t):t,h:t=>t},Mw=new Map;class _w extends dw{get tooltip(){return this._tooltip}set tooltip(t){this._tooltip=t}get hasTooltip(){return null!=this._tooltip}get merge(){return this.model.merges.mergedCells.get(this.address)}get row(){return this._row}set row(t){this._row=t}get r(){return this._row.index}get column(){return this._column}set column(t){this._column=t}get c(){return this._column.index}get hasValue(){return null!=this._value}get value(){return this._evaluated||this.evaluate(),this._value}set value(t){if(t&&Hv(t.toString()))this._value=void 0,this.formula=t;else{let e=Cw[this.type](t,this);hw(this,e)||(e=void 0),e!==this._value&&(this._value=e,this._displayValue=void 0),this.row.data&&this.column.data&&(this.row.data[this.column.data]=this._value)}}evaluate(){return this._value=Cw[this.type](this.model.calculations.evaluate(this),this),this._evaluated=!0,this._value}get value2(){return this.hasFormula?Fv(this.formula):this.value}get hasDisplayValue(){return null!=this._displayValue}get displayValue(){return this._displayValue}set displayValue(t){this._displayValue=t}get prefersDisplayValue(){return["s","m"].includes(this.type)}get error(){return this._error}set error(t){this._error=t}get hasError(){return!!this._error}clearError(){this._error=void 0}get spillRange(){return this._spillRange}get prevSpillRange(){return this._prevSpillRange}set spillRange(t){!this._spillRange||t&&this._spillRange.equals(t)||(this._prevSpillRange=this._spillRange),this._spillRange=t}get isSpillSource(){return null!=this._spillRange}get spillSource(){return this._spillSource}get isSpilled(){return null!=this._spillSource}spillValue(t,e){this.value=t,this._spillSource=e}clearSpilledValue(){this._spillSource=void 0,this._value=void 0}get hasSparkline(){return null===this._sparkline?this._sparkline=this.model.sparklines.has(this.address):this._sparkline}get hasComment(){return null===this._hasComment?this._hasComment=(this.model.comments.get(this.address)??[]).length>0:this._hasComment}get comments(){return this.model.comments.get(this.address)}get valueFormatter(){const t=super.valueFormatter??this.row.valueFormatter??this.column.valueFormatter;if(t)return t;const e=this.type,i=this.format,{formatLocale:o,fixNumberFormat:r}=this.model.options,s=this.value;if(null==s||""===s)return null;if("n"==e)return null!=i?gr(o,i,r):this.model.options.numberFormatter;if("g"==e){if(null!=i)return gr(o,i,r);if(tt(s))return this.model.options.numberFormatter}else{if("t"==e)return null==i?null:gr(o,i,!1);if("d"==e)return i?Qo(o,i):this.model.options.dateFormatter;if("s"==e&&this.editorContent)return(t=>{if(t=t||null,!Mw.has(t))if(t){const e=t.reduce(((t,e)=>t.set(e.k,e.v)),new Map);Mw.set(t,(t=>e.has(t)?e.get(t):t))}else Mw.set(t,(t=>t));return Mw.get(t)})(this.editorContent)}return null}get formattedValue(){return null==this.value?"":this.hasDisplayValue?this.displayValue:this.valueFormatter?this.valueFormatter(this.value):this.value.toString()}get elm1(){return this.row.priority>=this.column.priority?this.row:this.column}get elm2(){return this.row.priority<this.column.priority?this.row:this.column}get clickable(){return super.clickable??this.elm1.clickable??this.elm2.clickable}get type(){return super.type??this.elm1.type??this.elm2.type??"g"}set type(t){this._type=t}get editorContent(){return super.editorContent??this.elm1.editorContent??this.elm2.editorContent??null}get adapter(){return super.adapter??this.elm1.adapter??this.elm2.adapter}set adapter(t){this._adapter=t}get address(){return this.column.address+this.row.address}get range(){return Ev.fromA1(this.address)}get validation(){return super.validation??this.elm1.validation??this.elm2.validation??this.model.options.cellValidation}get editable(){return super.editable??this.elm1.editable??this.elm2.editable??this.model.options.editable}set editable(t){this._editable=t}get commentable(){return super.commentable??this.elm1.commentable??this.elm2.commentable??this.model.options.commentable}get renderer(){return super.renderer??this.elm1.renderer??this.elm2.renderer}get afterRenderer(){return super.afterRenderer??this.elm1.afterRenderer??this.elm2.afterRenderer??this.model.options.afterRenderer}get commentRenderer(){return super.commentRenderer??this.elm1.commentRenderer??this.elm2.commentRenderer??this.model.options.comments.renderer}get format(){return super.format??this.elm1.format??this.elm2.format}set format(t){super.format=t}get hyperlink(){return this._hyperlink}set hyperlink(t){this._hyperlink=t}get hasOwnFormula(){return!!this._formula}get hasFormula(){return null==this._hasFormula&&(this._hasFormula=!!this.formula),this._hasFormula}get formula(){return this._formula??this.elm1.formula??this.elm2.formula}set formula(t){super.formula=t,this.refreshFormula()}invalidateValue(){this.hasFormula?(this._value=void 0,this._evaluated=!1):this._evaluated=!0,this.clearError()}refreshFormula(){this.invalidateValue(),this._hasFormula=null}clearFormula(){this._formula=null,this._hasFormula=!1,this._evaluated=!0}constructor(t,e){super(t),this._evaluated=!0,this._sparkline=null,this._hasComment=null,this._hasStyle=null,this.row=t.rows[e.r],this.column=t.columns[e.c],this.populate(e)}populate(t){super.populate(t),this._tooltip=t.tooltip,this._hyperlink=t.hl,null!=t.f&&""!==t.f?this._evaluated=!1:null!=t.v&&(this.value=t.v),this._displayValue=t.dv}update(t){const e=super.update(t);return"tooltip"in t&&(e.tooltip=this._tooltip,this._tooltip=t.tooltip),"hl"in t&&(e.hl=this._hyperlink,this._hyperlink=t.hl),"f"in t?this._evaluated=!1:"v"in t&&(e.v=this.value,this.value=t.v),"dv"in t&&(e.dv=this._displayValue,this._displayValue=t.dv),e}getSourceData(t){const e=super.getSourceData();return this.merge&&(e.cs=this.merge.cs,e.rs=this.merge.rs),null!=this.value&&(e.v=this.value),this.hasTooltip&&(e.tooltip=this._tooltip),this._hyperlink&&(e.hl=this._hyperlink),t&&t.displayValue&&this.hasDisplayValue&&(e.dv=this._displayValue),e}createComposedStyle(t,e,i){const o=[];return t=t||this.column.style,e=e||this.row.style,null!=t&&null!=e?this.column.priority>this.row.priority?o.push(e,t):o.push(t,e):null!=t?o.push(t):null!=e&&o.push(e),null!=this.style&&o.push(this.style),null!=i&&o.push(i),o.length>0?this.model.styles.merge(...o):null}get composedStyle(){if(null===this._hasStyle){const t=this.createComposedStyle(null,null,this.model.conditionalFormats.evaluate(this));this._hasStyle=null!=t,this._composedStyle=t}return this._composedStyle}get calculatedIndent(){const t=this.composedStyle;return t?.alignment?.indent?t.alignment.indent:this.column.levelIndent&&this.row.level>0?this.row.level*this.model.options.levelIndentFactor:null}get cssStyle(){if(!1===this._hasStyle)return null;if(!this._cssStyle){const t=this.composedStyle;t&&(this._cssStyle=xw(t))}return this._cssStyle}invalidateStyle(){this._hasComment=null,this._hasStyle=null,this._composedStyle=null,this._cssStyle=null,this._sparkline=null}setStyleProperties(t){super.setStyleProperties(t),this.invalidateStyle()}removeStyleProperties(t){super.removeStyleProperties(t),this.invalidateStyle()}previewStyleProperties(t,e="cell"){const i=Object.assign({},this.createComposedStyle("column"==e?t:null,"row"==e?t:null)??{});if("cell"==e)for(const e in t)i[e]=t[e];this._hasStyle=!0,this._cssStyle=xw(i)}validate(){return!this.validation||hw(this,this.value)}toString(){return this.address}}const Sw={property:"value",enabled:!0};class zw extends(Tr(dw)){get comparer(){return this._comparer}set comparer(t){this._comparer=t}get filter(){return this._filter??(this.model.options.filters?.enabled?Sw:{enabled:!1})}set filter(t){this._filter=t}get hasFilter(){return this.filter.enabled}get sorting(){return this._sorting??this.model.options.columnSorting}set sorting(t){this._sorting=t}get width(){return this._width??this.model.options.columnWidth}set width(t){this._width=t}get levelIndent(){return this._levelIndent}set levelIndent(t){this._levelIndent=t}get levelButtons(){return this._levelButtons}set levelButtons(t){this._levelButtons=t}get priority(){return this._priority}set priority(t){this._priority=t}get address(){return Rv(this.index)}get range(){return new Ev(this.index,null,this.index,null)}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){super.formula=t;const e=this.index;this.model.rows.forEach((t=>t.cells[e]?.refreshFormula()))}constructor(t,e){super(t,e),null==this._priority&&(this._priority=t.options.columnPriority)}get mergedHeaders(){return this._mergedHeaders??(this._mergedHeaders=this._header?.filter((t=>t.cs>1||t.rs>1))??[])}updateMergedHeaders(){this._mergedHeaders=null}set header(t){this._mergedHeaders=null,this._header=t}get header(){if(!this._header||this._header.length<this.model.headerCount){this._header=this._header??[];for(let t=this._header.length;t<this.model.headerCount;t++)this._header.push({r:t})}return this._header}hasHeaderTooltip(t){const e=this.header?.[t];return e&&null!=e.tooltip}convertSourceHeader(t){return Array.isArray(t)?t.map(((t,e)=>{if(null==(t=t??{r:e}).height&&(t.height=t.h),t.r=e,null==t.style&&(t.style=t.s),t._style=null==t.style?null:this.model.styles.add(t.style).id,null!=this.model.options.headers?.style){const e=this.model.styles.add(this.model.options.headers.style).id;t._style=this.model.styles.merge(t._style,e).id}return t})):Q(t)?[{label:t,r:0}]:null}populate(t){super.populate(t),this._width=null==t.w||"auto"==t.w?null:t.w,this._levelIndent=t.levelIndent,this._levelButtons=t.levelButtons,this._header=this.convertSourceHeader(t.header),this._sorting=t.sorting,this._filter=Z(t.filter)?Object.assign({enabled:!0},t.filter):t.filter?Sw:!1===t.filter?{enabled:!1}:null,this._comparer=t.comparer,this.data=t.data,this._mergedHeaders=null,null!=t.priority&&(this._priority=t.priority)}getSourceData(){const t=super.getSourceData();return null!=this._width&&(t.w=this._width),null!=this._levelIndent&&(t.levelIndent=this._levelIndent),null!=this._levelButtons&&(t.levelButtons=this._levelButtons),null!=this._header&&(t.header=this._header),null!=this._sorting&&(t.sorting=this._sorting),null!=this._filter&&(t.filter=this._filter),null!=this.data&&(t.data=this.data),t}expand(t){super.expand(t),this.model.indexVisibleColumns()}collapse(){super.collapse(),this.model.indexVisibleColumns()}get prev(){return this.model.columns[this.index-1]}get next(){return this.model.columns[this.index+1]}get prevVisible(){const t=this.model.visibleColumnIndex[this.index];return null==t||0===t?null:this.model.visibleColumns[t-1]}get nextVisible(){const t=this.model.visibleColumnIndex[this.index];return null==t?null:this.model.visibleColumns[t+1]}calculateRealColspan(t){let e=1,i=this.nextVisible;for(;i&&i.index-this.index<t&&e<t;)++e,i=i.nextVisible;return e}cell(t){return this.model.rows[t].cell(this.index)}clearCalculatedValues(){this.model.rows.forEach((t=>{const e=t.cells[this.index];e&&this.model.calculations.refreshFormula(e)}))}}var Ew;!function(t){t[t.Asc=1]="Asc",t[t.Desc=-1]="Desc"}(Ew||(Ew={}));const Lw={g:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,t:(t,e)=>(t.value||"").toString().localeCompare((e.value||"").toString()),s:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,m:(t,e)=>t.value==e.value?0:t.value>e.value?1:-1,n:(t,e)=>t.value-e.value,d:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),tm:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),dt:(t,e)=>(t.value instanceof Date?t.value.getTime():0)-(e.value instanceof Date?e.value.getTime():0),b:(t,e)=>t.value-e.value,h:(t,e)=>(t.value||"").localeCompare(e.value),a:()=>0},Iw={g:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,t:(t,e)=>(e.value||"").toString().localeCompare((t.value||"").toString()),s:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,m:(t,e)=>e.value==t.value?0:e.value>t.value?1:-1,n:(t,e)=>e.value-t.value,d:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),tm:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),dt:(t,e)=>(e.value instanceof Date?e.value.getTime():0)-(t.value instanceof Date?t.value.getTime():0),b:(t,e)=>e.value-t.value,h:(t,e)=>(e.value||"").localeCompare(t.value),a:()=>0},Rw=(t,e)=>t.origIndex-e.origIndex;class Tw{get settings(){return this._settings}set settings(t){this._settings=t||[],this.colMap.clear(),this.settings.length>0&&(this.settings.forEach(((t,e)=>this.colMap.set(t.c,e))),this.applySort(),Lr().info(`sorting applied: ${JSON.stringify(this.settings)}`))}constructor(t,e=null){this.model=t,this.colMap=new Map,this._settings=[],this.settings=e}get(t){return this.colMap.has(t)?this.settings[this.colMap.get(t)]:null}sort(t,e=null,i=!1){let o=this.get(t);return o&&o.ord==Ew.Desc&&null===e?(this.settings.splice(this.colMap.get(t),1),o=null):o?(o.ord=Ew.Desc,this.settings.splice(this.colMap.get(t),1)):o={c:t,ord:Ew.Asc},o&&(null!==e&&(o.ord=e),this.colMap.set(t,0),this.settings.unshift(o)),this.settings.length>this.model.options.maxSortingColumns&&this.settings.pop(),this.colMap.clear(),this.settings.forEach(((t,e)=>{t.index=e,this.colMap.set(t.c,e)})),i||(this.settings.length>0?this.applySort():this.resetSort()),o}applySort(){const t=this.model,e=this.settings.map((e=>{const i=t.columns[e.c];return i?i.comparer?e.ord==Ew.Asc?i.comparer:(t,e)=>-i.comparer(t,e):e.ord==Ew.Asc?Lw[i.type??"t"]:Iw[i.type??"t"]:(Lr().warn(`Column sorting: Column with index ${e.c} not found`),null)})).filter((t=>t)),i=e.length;let o,r,s;t.rowRoot.sort(((t,n)=>{if(!1===t.sortable||!1===n.sortable)return t.origIndex-n.origIndex;for(r=0;r<i;r++)if(s=this.settings[r].c,o=e[r](t.cell(s),n.cell(s)),0!=o)return o;return 0})),t.indexRowsByTree()}resetSort(){this.settings=[],this.colMap.clear(),this.model.rowRoot.sort(Rw),this.model.indexRowsByTree()}persistSort(){this.model.rows.forEach(((t,e)=>t.origIndex=e))}}class $w{get properties(){return this._properties}set properties(t){this._properties=t}constructor(t){t&&this.pupulate(t)}pupulate(t){this.author=t.author,this.text=t.text,this.date=t.date?new Date(t.date):null,this.data=t.data,this.readOnly=!!t.readOnly,this._properties=t.props}getSourceData(){const t={};return this._properties&&(t.props=this._properties),this.author&&(t.author=this.author),this.text&&(t.text=this.text),this.data&&(t.data=this.data),null!==this.readOnly&&(t.readOnly=this.readOnly),this.date&&(t.date=Qo("en-US")(this.date,"yyyy-MM-dd HH:mm:ss")),t}}class Aw{constructor(t,e){this.model=t,this._commentMap=new Map,this.has=t=>this._commentMap.has(t),this.delete=t=>this._commentMap.delete(t),this.cleanCell=t=>{this.has(t)&&this._commentMap.set(t,this.get(t).filter((t=>(t.text??"").length>0||null!=t.data)))},this.get=t=>(this.has(t)||this._commentMap.set(t,[]),this._commentMap.get(t)),this.set=(t,e)=>{this._commentMap.set(t,e?.map((t=>t instanceof $w?t:new $w(t)))||[]),this.cleanCell(t)},e&&this.populate(e)}populate(t){t.forEach((t=>{const e=t.a1||new Ev(t.c,t.r).A1;this._commentMap.has(e)||this._commentMap.set(e,[]),this._commentMap.get(e).push(new $w(t))})),this._commentMap.forEach((t=>{t.sort(((t,e)=>(e.date?e.date.getTime():0)-(t.date?t.date.getTime():0)))}))}shift(t){Array.from(this._commentMap.keys()).forEach((e=>{const i=Ev.fromA1(e);i.shift(t),i.A1!=e&&(this._commentMap.set(i.A1,this._commentMap.get(e)),this._commentMap.delete(e))}))}}function Dw(t,e,i){t.forEach((t=>t.forEach((t=>{t[1]==e&&(t[1]=i)}))))}class Ow{get cellDependencies(){return this._cellDependencies}get cellDependants(){return this._cellDependants}get rangeDependencies(){return this._rangeDependencies}get rangeDependants(){return this._rangeDependants}get sheetDependencies(){return this._sheetDependencies}get sheetDependants(){return this._sheetDependants}constructor(t,e="calculations"){this.model=t,this.modelPart=e,this._cellDependencies=new Map,this._cellDependants=new Map,this._rangeDependencies=new Map,this._rangeDependants=new Map,this._sheetDependencies=new Map,this._sheetDependants=new Map}clear(){this._cellDependants.clear(),this._cellDependencies.clear(),this._rangeDependencies.clear(),this._rangeDependants.clear()}clearCellDependecies(t){return this._cellDependencies.has(t)&&this._cellDependencies.delete(t),this._rangeDependencies.has(t)&&this._rangeDependants.delete(t),this}has(t){return this._cellDependencies.has(t)||this._rangeDependencies.has(t)}add(t,e,i){const o=Ev.fromA1(t).removeAnchors(),r=Ev.fromA1(e).removeAnchors();e=r.A1;const s=r.isRange,n=s?this._rangeDependencies:this._cellDependencies;let a=null;if((n.has(t)?n.get(t):n.set(t,new Map).get(t)).set(e,[r,i]),i){const t=this.model.getConnectedModel(i);t&&(t.calculations.dependencies.sheetDependants.set(this.model.name,this.model.name),this.sheetDependencies.set(i,i),a=s?t.calculations.dependencies.rangeDependants:t.calculations.dependencies.cellDependants),i=this.model.name}else a=s?this._rangeDependants:this._cellDependants;a&&(a.has(e)||a.set(e,new Map),a.get(e).set(t,[o,i]))}getDependants(t,e=null){let i,o;const r=t.A1;return e=e??new Map,this._cellDependants.has(r)&&this._cellDependants.get(r).forEach((([t,s])=>{e.has(t)||(s&&(o=this.model.getConnectedModel(s)),i=o||this.model,e.set(t,[i.getCellByRange(t),s]),o?o[this.modelPart].dependencies.getDependants(t).forEach(((t,i)=>{e.set(i,[t[0],t[1]??s])})):(t.A1!=r||o)&&i.calculations.dependencies.getDependants(t,e))})),this._rangeDependants.forEach(((i,o)=>{Ev.fromA1(o).contains(t)&&i.forEach((([t,i])=>{e.has(t)||(e.delete(t),this.getDependants(t,e.set(t,[(i?this.model.getConnectedModel(i):this.model).getCellByRange(t),i])))}))})),e}renameSheet(t,e){this._sheetDependants.has(t)&&(this._sheetDependants.delete(t),this._sheetDependants.set(e,e)),this._sheetDependencies.has(t)&&(this._sheetDependencies.delete(t),this._sheetDependencies.set(e,e)),Dw(this._cellDependants,t,e),Dw(this._cellDependencies,t,e),Dw(this._rangeDependants,t,e),Dw(this._rangeDependencies,t,e)}}class Nw{get dependencies(){return this._dependencies}constructor(t,e){this.model=t,this._dependencies=new Ow(t,e)}}function Pw(t){return t instanceof RangeError?"Maximum call stack size exceeded"==t.message?"infinite loop":t.message:t.toString()}class jw extends Nw{get tokenizer(){return this._tokenizer}get formulas(){return this._formulas}constructor(t){super(t,"calculations"),this._tokenizer=new _v,this._formulas=new Map,this.context=new sw(t)}createFormula(t){const e=new Gv(t.formula,this.tokenizer);return this._formulas.set(t.address,e),t.hasOwnFormula&&(t.formula=e.createFormulaString()),this.createDependecies(t),e}createDependecies(t){const e=t.address;if(this.formulas.has(e)){const i=this.formulas.get(e);i.ranges.forEach((([t,i,o])=>this._dependencies.add(e,i.A1,o))),i.cells.forEach((([t,i,o])=>this._dependencies.add(e,i.A1,o))),i.variables.forEach((([i,o])=>{const r=this.model.getCellByName(o,t.range);r&&this._dependencies.add(e,r.address,null)}))}return this}refreshFormula(t){return t.refreshFormula(),this.formulas.delete(t.address),this.clearDependecies(t),this}updateDependencies(t){return this.clearDependecies(t).getFormula(t),this}getFormula(t){return this._formulas.has(t.address)?this._formulas.get(t.address):this.createFormula(t)}refresh(){this.dependencies.clear(),this._formulas.clear()}clearDependecies(t){const e=t.address;return this.dependencies.clearCellDependecies(e),this.formulas.delete(e),this}evaluateFormula(t,e){return this.context.currentCell=e,t.fn(this.context,{cell:e,formula:t})}evaluateExpression(t,e){this.context.currentCell=e;const i=new Gv(t,this.tokenizer);return i.fn(this.context,{cell:e,formula:i})}evaluate(t,e){if(!t)return null;let i=null;if(t.hasFormula){const o=this.getFormula(t);try{t.clearError(),this.context.currentCell=t,i=o.fn(this.context,{cell:t,formula:o}),Array.isArray(i)?(e||this.model.spillValues({cell:t,values:i}).range,i=i.length>0&&i[0].length>0?i[0][0]:null,e&&(t.value=i)):t.value=i}catch(e){t.error={message:Pw(e)}}}else i=t.value;return i}evaluateAll(){this.model.rows.forEach((t=>this.model.columns.forEach(((e,i)=>t.cell(i).evaluate()))))}calculateViewport(t){const e=[];return t.rows.forEach((t=>t.cells.forEach((t=>{if(t.hasFormula){if(!t.hasValue&&(this.evaluate(t),t.spillRange))for(const i of this.model.getRangeIterator(t.spillRange))e.push(i);e.push(t)}})))),e}shift(t){this.getFormulaCells().forEach((e=>{e.formula=this.getFormula(e).shift(t).createFormulaString(!1),this.updateDependencies(e)}));const e=this.model.name;return this.dependencies.sheetDependants.forEach((i=>{const o=this.model.getConnectedModel(i);o?.calculations.getFormulaCells().forEach((i=>{const r=o.calculations.getFormula(i);r.hasSheetReference(e)&&(i.formula=r.shift(t).createFormulaString(!1),o.calculations.updateDependencies(i))}))})),this}getFormulaCells(){const t=this.model,e=[];let i;const o=t.rows.length,r=t.columns.length;for(let s=0;s<o;s++){i=t.rows[s];for(let t=0;t<r;t++)i.hasCellFormula(t)&&e.push(i.cell(t))}return e}renameSheet(t,e){let i=!1;return this.dependencies.renameSheet(t,e),this.getFormulaCells().forEach((o=>{const r=this.getFormula(o);r.renameSheet(t,e)&&(o.formula=r.createFormulaString(),this.refreshFormula(o),i=!0)})),i}invalidateCellDependants(t){const e=[];return this.dependencies.getDependants(t.range).forEach((([t,i])=>{e.push([t,i]),t.invalidateValue()})),e}invalidateDependants(t){const e=new Map,i=new Map;for(const i of t)this.invalidateCellDependants(i).forEach((([t,i])=>e.set(t,i)));e.forEach(((t,e)=>i.set(e,t)));for(const i of t)e.set(i,null);return e.forEach(((t,e)=>{this.model.sparklines.dependencies.getDependants(e.range).forEach((([t,e])=>{i.set(t,e)})),this.model.conditionalFormats.dependencies.getDependants(e.range).forEach((([t,e])=>{this.model.conditionalFormats.invalidateExtremes(t),t.invalidateStyle(),i.set(t,e)}))})),i}}const Hw="#ff0000",Fw="#fcd53f",Bw="#00bb5e",Ww="#555555",Vw=new Map([["3Arrows",[{icon:["fas","down"],color:Hw},{icon:["fas","right"],color:Fw},{icon:["fas","up"],color:Bw}]],["3ArrowsGray",[{icon:["fas","down"],color:Ww},{icon:["fas","right"],color:Ww},{icon:["fas","up"],color:Ww}]],["3Flags",[{icon:["fas","flag-pennant"],color:Hw},{icon:["fas","flag-pennant"],color:Fw},{icon:["fas","flag-pennant"],color:Bw}]],["3TrafficLights1",[{icon:["fas","circle"],color:Hw},{icon:["fas","circle"],color:Fw},{icon:["fas","circle"],color:Bw}]],["3TrafficLights2",[{icon:["fas","square-o"],color:Hw},{icon:["fas","square-o"],color:Fw},{icon:["fas","square-o"],color:Bw}]],["3Signs",[{icon:["fas","square"],rotation:45,color:Hw},{icon:["fas","triangle"],color:Fw},{icon:["fas","circle"],color:Bw}]],["3Symbols",[{icon:["fas","circle-xmark"],color:Hw},{icon:["fas","circle-exclamation"],color:Fw},{icon:["fas","circle-check"],color:Bw}]],["3Symbols2",[{icon:["fas","xmark"],color:Hw},{icon:["fas","exclamation"],color:Fw},{icon:["fas","check"],color:Bw}]],["3Stars",[{icon:["fal","star"],color:Fw},{icon:["fas","star-half-stroke"],color:Fw},{icon:["fas","star"],color:Fw}]],["3Triangles",[{icon:"caret-down",color:Hw},{icon:"dash",color:Fw},{icon:"caret-up",color:Bw}]],["4Arrows",[{icon:["fas","down"],color:Hw},{icon:["fas","down-right"],color:Fw},{icon:["fas","up-right"],color:Fw},{icon:["fas","up"],color:Bw}]],["4ArrowsGray",[{icon:["fas","down"],color:Ww},{icon:["fas","down-right"],color:Ww},{icon:["fas","up-right"],color:Ww},{icon:["fas","up"],color:Ww}]],["4RedToBlack",[{icon:["fas","circle"],color:"#000000"},{icon:["fas","circle"],color:"#b1b1b1"},{icon:["fas","circle"],color:"#edb2a3"},{icon:["fas","circle"],color:Hw}]],["4Rating",[{icon:"signal-bars-weak",color:"#4a7db1"},{icon:"signal-bars-fair",color:"#4a7db1"},{icon:"signal-bars-good",color:"#4a7db1"},{icon:["fas","signal-bars"],color:"#4a7db1"}]],["4TrafficLights",[{icon:["fas","circle"],color:"#000000"},{icon:["fas","circle"],color:Hw},{icon:["fas","circle"],color:Fw},{icon:["fas","circle"],color:Bw}]],["5Arrows",[{icon:["fas","down"],color:Hw},{icon:["fas","down-right"],color:Fw},{icon:["fas","right"],color:Fw},{icon:["fas","up-right"],color:Fw},{icon:["fas","up"],color:Bw}]],["5ArrowsGray",[{icon:["fas","down"],color:Ww},{icon:["fas","down-right"],color:Ww},{icon:["fas","right"],color:Ww},{icon:["fas","up-right"],color:Ww},{icon:["fas","up"],color:Ww}]],["5Rating",[{icon:["fal","signal-bars"]},{icon:["fal","signal-bars-weak"],color:"#4a7db1"},{icon:["fal","signal-bars-fair"],color:"#4a7db1"},{icon:["fal","signal-bars-good"],color:"#4a7db1"},{icon:["fas","signal-bars"],color:"#4a7db1"}]],["5Quarters",[{icon:["fal","circle"],color:"#505050"},{icon:["fas","circle-quarter-stroke"],color:"#505050"},{icon:["fas","circle-half-stroke"],color:"#505050"},{icon:["fas","circle-three-quarters-stroke"],color:"#505050"},{icon:["fas","circle"],color:"#505050"}]]]),Uw=(t,e)=>{const i=Vw.get(t);return i?i[e]:null};class Gw extends Nw{constructor(t,e){super(t,"conditionalFormats"),this.formats=[],this.cellFormatMap=new Map,this.extremes=new Map,e&&this.populate(e)}populate(t){t.forEach((t=>{try{this.add(t)}catch(e){Lr().error(`conditional format error: ${JSON.stringify(t)}`,e)}}))}refresh(){this.dependencies.clear(),this.cellFormatMap.clear(),this.extremes.clear(),this.formats.forEach((t=>this.initConditionalFormat(t)))}clearCellDependecies(t){const e=t.address;return this.dependencies.clearCellDependecies(e),this.cellFormatMap.get(e).forEach((t=>({cf:t.cf}))),this}getExtremes(t){if(this.extremes.has(t.key))return this.extremes.get(t.key);const e=[1/0,-1/0];return t.ranges.forEach((t=>{for(const i of this.model.getValuesInRange(t))for(const t of i)null!=t&&(isNaN(t)||(e[0]=Math.min(e[0],t),e[1]=Math.max(e[1],t)))})),t.cmin&&("num"==t.cmin.t?e[0]=t.cmin.v:"percent"==t.cmin.t&&(e[0]=e[0]+(e[1]-e[0])*t.cmin.v/100)),t.cmax&&("num"==t.cmax.t?e[1]=t.cmax.v:"percent"==t.cmax.t&&(e[1]=e[0]+(e[1]-e[0])*t.cmax.v/100)),this.extremes.set(t.key,e),e}invalidateExtremes(t){this.cellFormatMap.get(t.address).forEach((t=>this.extremes.delete(t.cf.key)))}evaluateScaleFormat(t,e){const i=t.value;if(null==i)return null;const[o,r]=this.getExtremes(e.cf);let s;const n=(i-o)/(r-o);if(e.cf.cmid?.color)s=.5==n?"#"+e.cf.cmid.color:n>.5?Hr("#"+e.cf.cmid.color,"#"+e.cf.cmax.color,2*(n-.5)):Hr("#"+e.cf.cmin.color,"#"+e.cf.cmid.color,2*n);else{if(!e.cf.cmin?.color||!e.cf.cmax?.color)return null;s=Hr("#"+e.cf.cmin.color,"#"+e.cf.cmax.color,n)}return{color:Fr(s).substring(1),fgColor:s.substring(1)}}evaluateBarFormat(t,e){const i=t.value;if(null==i)return null;const o=this.getExtremes(e.cf);let r=o[0];const s=o[1],n=r<0;n||(r-=.1*(s-r));const a=Math.round(100*(i-r)/(s-r));e.initialized||(e.initialized=!0,e.cf.ranges.forEach((e=>this._dependencies.add(t.address,e.A1,null))));const l=[];if(n){const t=Math.round(-100*r/(s-r));i>=0?(l.push(`#00000000 ${t}%`),l.push(`#${e.cf.color} ${t}%`),l.push(`#${e.cf.color} ${a}%`),l.push(`#00000000 ${a}%`)):(l.push(`#00000000 ${a}%`),l.push(`#ff0000 ${a}%`),l.push(`#ff0000 ${t}%`),l.push(`#00000000 ${t}%`))}else l.push(`#${e.cf.color} ${a}%`),l.push(`#00000000 ${a}%`);return{cssStyle:{backgroundClip:"padding-box",backgroundImage:`linear-gradient(90deg, ${l.join(",")})`}}}evaluateFormulaFormat(t,e){if(!e.initialized&&e.cf.condition){e.initialized=!0;const i=t.address,o=new Gv(e.cf.condition,this.model.calculations.tokenizer);e.f=o.shift({index:0,offset:t.c-e.cf.firstCell.c1,direction:"right"}).shift({index:0,offset:t.r-e.cf.firstCell.r1,direction:"down"}),o.cells.forEach((t=>this._dependencies.add(i,t[1].A1,t[2]))),o.ranges.forEach((t=>this._dependencies.add(i,t[1].A1,t[2]))),o.variables.forEach((([e,o])=>{const r=this.model.getCellByName(o,t.range);r&&this._dependencies.add(i,r.address,null)}))}if(e.f&&!this.model.calculations.evaluateFormula(e.f,t))return null;const i={...e.cf.style};return i.color||Wr(Fr(Vr(e.cf.style.fgColor))),i}evaluateIconFormat(t,e){const i=t.value;if(null==i)return null;const[o,r]=this.getExtremes(e.cf);let s;for(let t=e.cf.thresh.length-1;t>=0;t--){const n=e.cf.thresh[t];if("percent"===n.t){if(null==s&&(s=100*(i-o)/(r-o)),s>=n.v)return{icon:Uw(e.cf.v,t)}}else if("num"===n.t&&i>=n.v)return{icon:Uw(e.cf.v,t)}}return null}evaluate(t){const e=t.address,i=this.cellFormatMap.get(e);if(!i)return null;let o=null,r=null;for(const e of i){try{switch(e.cf.type){case"formula":r=this.evaluateFormulaFormat(t,e);break;case"scale":r=this.evaluateScaleFormat(t,e);break;case"bar":r=this.evaluateBarFormat(t,e);break;case"icon":r=this.evaluateIconFormat(t,e);break;default:r=null}}catch(t){Lr().error(`Conditional format error: ${JSON.stringify(e)}`,t)}if(r&&(o=o?{...o,...r}:r,e.cf.stop))break}return o}initConditionalFormat(t){return t.firstCell=null,t.ranges.forEach((e=>{for(const i of new sx(e.intersect(this.model.gridRange))){const e=i.A1;"formula"===t.type&&(t.firstCell||(t.firstCell=i,t.formula=t.condition?new Gv(t.condition,this.model.calculations.tokenizer):null)),(this.cellFormatMap.get(e)||this.cellFormatMap.set(e,[]).get(e)).push({cf:t})}})),t}add(t){const e={key:t.ranges,ranges:Ev.fromA1s(t.ranges),type:t.type||"formula",firstCell:null,formula:null,style:t.style?this.model.styles.add(t.style):null,condition:t.condition,stop:!!t.stop,cmin:t.cmin,cmid:t.cmid,cmax:t.cmax,color:t.color,v:t.v,thresh:t.thresh};this.formats.push(this.initConditionalFormat(e))}getSourceData(){return this.formats.map((t=>({type:t.type,ranges:Ev.toA1s(t.ranges),style:t.style,condition:t.condition,stop:t.stop,cmin:t.cmin,cmid:t.cmid,cmax:t.cmax,color:t.color,v:t.v,thresh:t.thresh})))}}const Yw=(t,e)=>{const i=new RegExp(`${ut(t)}`,"ig");return t=>(i.lastIndex=0,i.test(ct((t[e]??"").toString())))},qw=(t,e)=>i=>!!i[e]===t,Zw=(t,e)=>{const i=t.map((t=>t.key?.toString()));return t=>null!=t[e]&&i.includes(t[e].toString())},Xw=(t,e)=>t=>!1,Qw=t=>!!t&&"object"==typeof t&&!Array.isArray(t)&&"range"===t.kind,Kw=t=>!(null!=t.from&&""!==t.from||null!=t.to&&""!==t.to),Jw=(t,e,i)=>{const o=t=>{if(null==t||""===t)return null;if(t instanceof Date)return t.getTime();if("d"===i||"dt"===i||"tm"===i){const e=new Date(t).getTime();return Number.isNaN(e)?null:e}const e="number"==typeof t?t:Number(t);return Number.isNaN(e)?null:e},r=o(t.from);let s=o(t.to);return null===s||"d"!==i&&"dt"!==i||(s+=86399999),t=>{const i=o(t[e]);return!(null===i||null!==r&&i<r||null!==s&&i>s)}},tx=(t,e,i)=>(i=i??"value",Qw(e)?Jw(e,i,t):"b"===t?qw(e,i):"s"===t&&Array.isArray(e)?Zw(e,"value"):"s"===t?Yw(e?.toString(),"formattedValue"):"m"===t&&Array.isArray(e)?Xw(e,i):Yw(e?.toString(),"d"===t||"dt"===t||"tm"===t?"formattedValue":i));class ex extends Event{constructor(){super("filter",{bubbles:!1,cancelable:!0,composed:!0})}}class ix extends EventTarget{get settings(){return this._settings}set settings(t){this._settings=t||[],this.colMap.clear(),this.settings.length>0&&(this.settings.forEach(((t,e)=>this.colMap.set(t.c,e))),this.applyFilter(),Lr().info(`filtering applied: ${JSON.stringify(this.settings)}`))}constructor(t,e=null){super(),this.model=t,this.custom=!1,this.colMap=new Map,this._settings=[],this.settings=e}get(t){return this.colMap.has(t)?this.settings[this.colMap.get(t)]:null}filter(t,e=!0){const i=this.get(t.c),o=null===t.term||""===t.term||Qw(t.term)&&Kw(t.term);i&&o?(this.settings.splice(this.colMap.get(t.c),1),this.colMap.delete(t.c)):i?i.term=t.term:o||(this.colMap.set(t.c,this.settings.length),this.settings.push(t)),this.custom||(this.settings.length>0?this.applyFilter(!1):this.resetFilter(!1)),e&&this.dispatchEvent(new ex)}applyFilter(t=!0){const e=[];this.settings.forEach((t=>{const i=this.model.columns[t.c];e.push({c:t.c,matcher:tx(i.type,t.term,i.filter?.property)})}));const i=e.length,o=this.model.options.filters?.includeParents??!0,r=this.model.options.filters?.includeChildren??!0,s=new Set;this.model.rows.forEach((t=>{const n=s.has(t.index);(t=>{if(!t.filterable)return!0;for(let o=0;o<i;o++)if(!e[o].matcher(t.cell(e[o].c)))return!1;return!0})(t)?(t.filterState=Ir.Matched,o&&t.walkUp((t=>{if(s.has(t.index)&&t.filterState>0)return!1;t.filterState=Ir.ChildMatched,s.add(t.index)})),r&&t.walk((t=>{if(s.has(t.index)&&t.filterState>0)return!1;t.filterState=Ir.ParentMatched,s.add(t.index)}))):n||(t.filterState=Ir.Filtered),s.add(t.index)})),this.model.indexRows(),t&&this.dispatchEvent(new ex)}resetFilter(t=!0){this.settings=[],this.colMap.clear(),this.model.rows.forEach((t=>t.filterState=Ir.Matched)),this.model.indexRows(),t&&this.dispatchEvent(new ex)}}class ox extends Nw{constructor(t,e){super(t,"sparklines"),this.model=t,this.map=new Map,this.groups=new Map,this.extremes=new Map,this.maxIndex=0,this.updateRangeMap=!1,this.populate(e)}populate(t){t?.forEach((t=>{try{this.add(Ev.fromA1(t.location),Array.isArray(t.data)?t.data.map((t=>[Ev.fromA1(t)])):t.data.split(",").map((t=>[Ev.fromA1(t)])),ot({},av.DEFAULT_SPARKLINE_OPTIONS,t.options))}catch(e){this.model.logger.error(`sparkline error: ${JSON.stringify(t)}`,e)}}))}getSourceData(){const t=[];return this.groups.forEach((e=>{t.push({location:e.locRange.A1,data:e.dataRanges.map((t=>t[0].A1)).join(","),options:{minValue:e.minValue,maxValue:e.maxValue,type:e.type,style:e.style,marker:e.marker}})})),t}has(t){return this.map.has(t)}get(t){return this.map.get(t)}createDependencies(t){this.map.get(t)[1].forEach((e=>this._dependencies.add(t,e[0].A1,e[1])))}updateRangeMaps(){this.dependencies.clear(),this.map.clear(),this.groups.forEach(((t,e)=>this.createRangeMap(e,t.locRange,t.dataRanges)))}getValues(t){this.updateRangeMap&&this.updateRangeMaps();const e=this.map.get(t),i=e[1][0][1]?this.model.getConnectedModel(e[1][0][1]):this.model;return this._dependencies.has(t)||this.createDependencies(t),e[1].flatMap((t=>i.getValuesInRange(t[0])[0]))}getExtremes(t){const e=this.map.get(t),i=e[1][0][1]?this.model.getConnectedModel(e[1][0][1]):this.model,o=this.groups.get(e[0]);let r,s,n,a;return null==o.minValue||Q(o.minValue)?"auto"==(o.minValue||"auto")?(r=r??lt(...e[1].map((t=>i.getValuesInRange(t[0])))),n=r[0]):(this.extremes.has(e[0])||this.extremes.set(e[0],lt(...o.dataRanges.map((t=>i.getValuesInRange(t[0]))))),s=this.extremes.get(e[0]),n=s[0]):n=o.minValue,null==o.maxValue||Q(o.maxValue)?"auto"==(o.maxValue||"auto")?(r=r??lt(...e[1].map((t=>i.getValuesInRange(t[0])))),a=r[1]):(this.extremes.has(e[0])||this.extremes.set(e[0],lt(...o.dataRanges.map((t=>i.getValuesInRange(t[0]))))),s=this.extremes.get(e[0]),a=s[1]):a=o.maxValue,[n,a]}createRangeMap(t,e,i){e=e.intersect(this.model.gridRange);const o=i[0][0].size,r=e.size;if(r.columns>1&&r.rows>1)return void this.model.logger?.error(`invalid sparkline location range: ${e.A1}`);let s=!1;if(s=1==r.columns&&1==r.rows?o.rows>1:r.columns>1,s)for(let o=e.c1;o<=e.c2;o++)this.map.set(new Ev(o,e.r1).A1,[t,i.map((([t,i])=>[new Ev(t.c1+o-e.c1,t.r1,t.c1+o-e.c1,t.r2),i]))]);else for(let o=e.r1;o<=e.r2;o++)this.map.set(new Ev(e.c1,o).A1,[t,i.map((([t,i])=>[new Ev(t.c1,t.r1+o-e.r1,t.c2,t.r1+o-e.r1),i]))])}add(t,e,i){const o=++this.maxIndex;t&&e&&this.createRangeMap(o,t,e),this.groups.set(o,Object.assign({dataRanges:e,locRange:t},JSON.parse(JSON.stringify(av.DEFAULT_SPARKLINE_OPTIONS)),i))}update(t,e,i,o){const r=this.groups.get(t);Object.assign(r,{dataRanges:i,locRange:e},o),this.updateRangeMap=!0}delete(t){this.groups.delete(t),this.updateRangeMap=!0}shift(t){this.groups.forEach((e=>{e.dataRanges.forEach((([e])=>e.shift(t))),e.locRange.shift(t)})),this.updateRangeMaps()}}class rx extends Ev{constructor(t,e,i=!1){super(e?.c1,e?.r1,e?.c2,e?.r2),this.model=t,this.initializedOnly=i,this.r=0,this.c=-1,this.done=!1,e||(this.done=!0)}[Symbol.iterator](){return this}nextInitialized(){let t;for(;!this.done&&!t;)this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),t=this.model.rows[this.r].cells[this.c],this.done=this.c>=this.size.columns-1&&this.r>=this.size.rows-1;return t}next(){if(this.done)return{done:!0};this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),this.done=this.c>=this.size.columns-1&&this.r>=this.size.rows-1;const t=this.model.rows[this.r+this.r1],e=this.c+this.c1,i=this.initializedOnly&&!t.isCellInitialized(e)?this.nextInitialized():t?.cell(e);return i?{done:!1,value:i}:{done:!0}}forEach(t){let e;for(;e=this.next().value;)t(e)}}class sx extends Ev{constructor(t){super(t.c1,t.r1,t.c2,t.r2),this.r=0,this.c=-1,this.done=!1}[Symbol.iterator](){return this}next(){return this.done?{done:!0}:(this.c<this.size.columns-1?this.c++:this.r<this.size.rows-1&&(this.c=0,this.r++),this.done=this.c==this.size.columns-1&&this.r==this.size.rows-1,{done:!1,value:new Ev(this.c+this.c1,this.r+this.r1)})}}class nx extends Ev{constructor(t,e,i){super(e?.c1,e?.r1,e?.c2,e?.r2),this.model=t,this.i=0,this.done=!1,this.axis=i,this.key="rows"===i?"r1":"c1",e||(this.done=!0)}[Symbol.iterator](){return this}next(){if(this.done)return{done:!0};this.i<this.size[this.axis]-1&&this.i++,this.done=this.i>=this.size[this.axis]-1;const t=this.model[this.axis][this.i+this[this.key]];return t?{done:!1,value:t}:{done:!0}}forEach(t){let e;for(;e=this.next().value;)t(e)}}class ax{constructor(t,e){this.model=t,this.names=new Map,this.rangeMap=new Map,e&&this.populate(e)}populate(t){t.forEach((({name:t,ref:e})=>this.set(t,Z(e)?Ev.fromCoords(e):Ev.fromA1(e))))}set(t,e){this.names.set(t,e),this.rangeMap.set(e.A1,t)}delete(t){const e=this.names.get(t);e&&(this.rangeMap.delete(e.A1),this.names.delete(t))}findCellByName(t){let e;const i=this.model.rows,o=this.model.columns.length;for(let r=0;r<i.length;r++){e=i[r];for(let i=0;i<o;i++)if(e.hasCellName(i)){const o=e.cell(i);if(o.name==t)return o.range}}return null}getCellByName(t,e){const i=this.names.get(t)??this.findCellByName(t);return i?i.isColumn?this.model.rows.length>e.r1?this.model.columns[i.c1].cell(e.r1):null:i.isRow?this.model.columns.length>e.c1?this.model.rows[i.r1].cell(e.c1):null:this.model.rows[i.r1].cell(i.c1):null}getRangeByName(t,e=!0){const i=this.names.get(t);return e?i?.intersect(this.model.gridRange):i}shift(t){this.names.forEach(((e,i)=>{const o=e.A1;e.shift(t);const r=e.A1;o!=r&&(this.rangeMap.delete(o),this.rangeMap.set(r,i))}))}getSourceData(){const t=[];return this.names.forEach(((e,i)=>{t.push({name:i,ref:e.A1})})),t}}function lx(t,e=null){const i=ot({},av.DEFAULT_OPTIONS,e,ss(t,e));return i.numberFormat?i.numberFormatter=gr(i.formatLocale,i.numberFormat):i.numberFormatter||(i.numberFormatter=gr(i.formatLocale)),i.dateFormat?i.dateFormatter=Qo(i.formatLocale,i.dateFormat):i.dateFormatter||(i.dateFormatter=Qo(i.formatLocale)),i.columnSorting&&(i.sorting=i.sorting||{enabled:!0}),"boolean"==typeof i.filters&&(i.filters={enabled:i.filters}),i.filters=Object.assign({},sv,i.filters),"boolean"==typeof i.rowTree&&(i.rowTree={enabled:i.rowTree}),i.rowTree=Object.assign({},nv,i.rowTree),"boolean"==typeof i.columnTree&&(i.columnTree={enabled:i.columnTree}),i.columnTree=Object.assign({},nv,i.columnTree),i.cellValidation&&(i.cellValidation=cw(i.cellValidation)),i}class cx extends(Tr(dw)){get cells(){return this._cells}get data(){return this._data}set data(t){this._data=t}get height(){return this._height??this.model.options.rowHeight}set height(t){this._height=t}get priority(){return this._priority}set priority(t){this._priority=t}get address(){return Lv(this.index)}get range(){return new Ev(null,this.index,null,this.index)}get hasFormula(){return!!this._formula}get formula(){return this._formula}set formula(t){super.formula=t,this.model.columns.forEach((t=>this.cell(t.index).refreshFormula()))}get values(){return this.model.columns.map((t=>this.cell(t.index).value))}cell(t,e){if(this.model.options.singleCellModel)return this._singleCell||(this._singleCell=new _w(this.model,{c:t,r:this.index})),this._singleCell.row=this,this._singleCell.column=this.model.columns[t],this._singleCell;let i=this._cells[t];if((e||!i)&&this.model.columns[t]){if(i=new _w(this.model,e??{c:t,r:this.index}),this._data){const e=this.model.columns[t].data;if(null!=e){const t=this._data[e];Z(t)?(t.comment&&this.model.comments.set(i.address,[t.comment]),i.populate(t)):i.hasValue||(i.value=t)}}i.name&&this.model.names.set(i.name,i.range),this._cells[t]=i}return i}constructor(t,e){super(t,e),this.isCellInitialized=t=>!!this.cells[t],this._cells=[],null==this._priority&&(this._priority=t.options.rowPriority)}populate(t){super.populate(t),this._height=null==t.h||"auto"==t.h?this.model.options.rowHeight:t.h,t.data&&(Array.isArray(t.data)?this._data=[...t.data]:this._data={...t.data}),null!=t.priority&&(this._priority=t.priority)}getSourceData(){const t=super.getSourceData();return null!=this._height&&this._height!=this.model.options.rowHeight&&(t.h=this._height),t}expand(t){super.expand(t),this.model.indexVisibleRows()}collapse(){super.collapse(),this.model.indexVisibleRows()}get prev(){return this.model.rows[this.index-1]}get next(){return this.model.rows[this.index+1]}get prevVisible(){let t=this.prev;for(;t&&!t.visible;)t=t.prev;return t}get nextVisible(){let t=this.next;for(;t&&!t.visible;)t=t.next;return t}hasCellFormula(t){return this.cells[t]&&this.cells[t].hasFormula||this._data&&this._data[this.model.columns[t].data]&&this._data[this.model.columns[t].data].f}hasCellName(t){return this.cells[t]&&null!=this.cells[t].name||this._data&&this._data[this.model.columns[t].data]&&null!=this._data[this.model.columns[t].data].name}insertColumns(t,e,i=!1){let o;const r=this.model.columns.length,s=this.model.calculations;if(i)for(let i=0;i<r;i++)this.hasCellFormula(i)&&(o=this.cell(i),o.formula=s.getFormula(o).shift({index:t,offset:e,direction:"right"}).createFormulaString(!1));t<this.cells.length&&this.cells.splice(t,0,...Array(e).fill(null))}deleteColumns(t,e,i=!1){let o;const r=this.model.columns.length,s=this.model.calculations;if(i)for(let i=0;i<r;i++)this.hasCellFormula(i)&&(o=this.cell(i),o.formula=s.getFormula(o).shift({index:t,offset:e,direction:"left"}).createFormulaString(!1));return t<this.cells.length?this.cells.splice(t,e):null}clearCalculatedValues(){this.cells.forEach((t=>t&&this.model.calculations.refreshFormula(t)))}}var hx=i(4418),dx=i.n(hx);const ux=t=>t?"1":"0",px=t=>null==t?"_":t,gx=t=>null==t?"_":t.toString(),mx=t=>null==t?"_":JSON.stringify(t),fx=t=>px(t&&t.color?t.color:"_")+px(t&&t.style?t.style:"_"),vx=t=>px(t?t.horizontal:null)+px(t?t.vertical:null)+px(t?t.horizontal:null)+gx(t?t.indent:null)+ux(t?t.wrapText:null)+gx(t?t.textRotation:null),bx=t=>dx()("s_"+ux(t.bold)+ux(t.italic)+ux(t.underline)+gx(t.sz)+px(t.font)+px(t.color)+fx(t.top)+fx(t.right)+fx(t.bottom)+fx(t.left)+px(t.patternType)+px(t.fgColor)+px(t.bgColor)+vx(t.alignment)+gx(t.angle)+mx(t.stops)+ux(t.hidden)+ux(t.editable)+mx(t.cssStyle)+mx(t.icon));function yx(t){const e={...t};return delete e.id,delete e.hash,e}class wx{constructor(t){this.model=t,this._count=0,this.hashmap=new Map,this.map=new Map}add(t){if(!isNaN(t))return this.get(t);const e=this.model.options.cssStyles?kw(t):t,i=e.hash?e.hash:bx(e);return this.hashmap.has(i)?this.map.get(this.hashmap.get(i)):(null==e.id&&(e.id=this._count),this._count=Math.max(e.id+1,this._count+1),e.hash=i,this.hashmap.set(i,e.id),this.map.set(e.id,e),e)}populate(t){t.forEach((t=>this.add(t)))}get(t){return this.map.has(t)?this.map.get(t):null}remove(t){const e="object"==typeof t?t:this.map.get(t);this.hashmap.delete(e.hash),this.map.delete(e.id)}merge(...t){const e=Object.assign({},...t.map((t=>Z(t)?t:this.get(t))));return this.add(yx(e))}duplicate(t,e){const i=this.get(t);return this.add(yx({...i,...e}))}set(t,e){let i=this.map.has(t)?this.map.get(t):{};for(const t in e)i[t]=e[t];return i=i.id?i:this.add(i),i}unset(t,e){if(this.map.has(t)){const i=this.map.get(t);for(const t of e)delete i[t]}}getSourceData(){return Array.from(this.map.values())}clean(){const t=new Map(Array.from(this.map.entries()).map((([t])=>[t,0])));this.model.columns.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1)})),this.model.rows.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1),e.cells.forEach((e=>{const i=t.get(e.style);null!=i&&t.set(e.style,i+1)}))})),t.forEach(((t,e)=>{0==t&&this.remove(e)}))}}function xx(t,e,i,o){const r=o??("rows"==i?e.rows:e.columns),s=function(t){const e=new Map;for(const i of t)e.has(i.level)||e.set(i.level,[]),e.get(i.level).push(i);return e}(r),n=t[i]??[];for(const t of n){let o;if(o=t.index>-1?[r[t.index]]:t.level>-1?s.get(t.level):r,t.name){const e=t.name instanceof RegExp?t.name:new RegExp(ut(t.name));o=o.filter((t=>e.test(t.name)))}o?.forEach((o=>{null!=t.priority&&(o.priority=t.priority),t.type?e.conditionalFormats.add(Object.assign({ranges:`${o.address}:${o.address}`},t)):(o.style=e.styles.add(t.style).id,"rows"==i&&null!=t.height?o.height=t.height:"columns"==i&&null!=t.width&&(o.width=t.width))}))}}function kx(t,e){for(const i of t)if(e[i.property]!=i.value)return!1;return!0}function Cx(t,e,i){const o=t.cells??[];for(const t of o)if(t.conditions?.length){const o=e.getRangeIterator(i??e.gridRange);for(const i of o)kx(t.conditions,i)&&(i.style=e.styles.add(t.style).id)}else if(t.type)e.conditionalFormats.add(Object.assign({ranges:"A:"+e.columns[e.columns.length-1].address},t));else for(const i of e.columns)null==i.style&&(i.style=e.styles.add(t.style).id)}function Mx(t,e,i){xx(t,e,"columns",i)}function _x(t,e,i){xx(t,e,"rows",i)}function Sx(t,e){Cx(t,e),Mx(t,e),_x(t,e)}var zx;!function(t){t[t.NONE=0]="NONE",t[t.MERGED=1]="MERGED",t[t.HIDDEN=2]="HIDDEN"}(zx||(zx={}));class Ex{get mergedCells(){return this._mergedCells}get hiddenCells(){return this._hiddenCells}constructor(t){this.model=t,this._mergedCells=new Map,this._hiddenCells=new Map}clear(){this._mergedCells.clear(),this._hiddenCells.clear()}getMergeState(t){return this._mergedCells.has(t)?zx.MERGED:this._hiddenCells.has(t)?zx.HIDDEN:zx.NONE}indexMergedRange(t){const e=t.A1,i=this._mergedCells.get(e);if(!i)return;const o=i.r,r=i.c,s=t.clone(),n=this.model.rows[o]?.cell(r);if(n)for(let t=0;t<i.rs;t++)for(let e=0;e<i.cs;e++)0==t&&0==e||(s.r1=o+t,s.c1=r+e,s.r2=s.r1,s.c2=s.c1,this._hiddenCells.set(s.A1,i));else this.remove(e)}add(t){const e=new Ev(t.c,t.r),i=e.A1;if(this._mergedCells.has(i))this.remove(i);else if(this._hiddenCells.has(i))return;this._mergedCells.set(i,t),this.indexMergedRange(e)}remove(t){const e=this._mergedCells.get(t);if(!e)return;this._mergedCells.delete(t);const i=e.r,o=e.c,r=new Ev(o,i);this._hiddenCells.delete(t);for(let t=0;t<e.rs;t++)for(let s=0;s<e.cs;s++)0==t&&0==s||(r.r1=i+t,r.c1=o+s,r.r2=r.r1,r.c2=r.c1,this._hiddenCells.delete(r.A1))}shift(t){const{index:e,offset:i,direction:o}=t,r={down:t=>{e<=t.r?t.r+=i:e>t.r&&e<t.r+t.rs&&(t.rs+=i)},up:t=>{e<=t.r?t.r-=i:e>t.r&&e<t.r+t.rs&&(t.rs-=i)},right:t=>{e<=t.c?t.c+=i:e>t.c&&e<t.c+t.cs&&(t.cs+=i)},left:t=>{e<=t.c?t.c-=i:e>t.c&&e<t.c+t.cs&&(t.cs-=i)}},s=[...this._mergedCells.values()];s.forEach((t=>this.remove(new Ev(t.c,t.r).A1))),s.forEach((t=>{r[o](t),this.add(t)}))}}const Lx=["index","name","rows","columns","cells","options","sparklines","rules","comments","styles","names","props","tab","theme"];class Ix{get mergedHeaders(){return this._mergedHeaders}get hasFilter(){return this._filter}get hasRowTree(){return this._maxRowLevel>0}get hasRowTreeEnabled(){return this.hasRowTree&&this.options.rowTree.enabled}get maxRowLevel(){return this._maxRowLevel}get hasColumnTree(){return this._maxColumnLevel>0}get hasColumnTreeEnabled(){return this.hasColumnTree&&this.options.columnTree.enabled}get maxColumnLevel(){return this._maxColumnLevel}get headerCount(){return this._headerCount}get columnHeaderCount(){return this.headerCount+(this.hasColumnTreeEnabled?1:0)+(this.hasFilter?1:0)}get properties(){return this._properties}set properties(t){this._properties=t}get theme(){return this._theme}set theme(t){this._theme=t}constructor(t,e,i){this.otherModels={},this.autofitColumns=new Set,this.autofitRows=new Set,this.merges=new Ex(this),this.styles=new wx(this),this.comments=new Aw(this),this.calculations=new jw(this),this.names=new ax(this),this.sorting=new Tw(this),this.filter=new ix(this),this.sparklines=new ox(this),this.conditionalFormats=new Gw(this),this._filter=!1,this._maxRowLevel=0,this._maxColumnLevel=0,this._headerCount=0,this._levelBasedRowTree=!0,this._levelBasedColTree=!0,this.clearRows=()=>(this.rowRoot.clearChildren(),this.rows=[],this.rows),this.clearColumns=()=>this.columns=[],this.logger=i,this.options=e??lx(t.options),this.populate(t)}getConnectedModel(t){return this.group?this.group.get(t):null}getModelByRange(t){return t.sheet?this.getConnectedModel(t.sheet):this}getCellByA1(t){return this.getCellByRange(Ev.fromA1(t))}getCellByRange(t){return this.getCellByCoords(t.r1,t.c1)}getCellByCoords(t,e){return this.rows[t]?.cell(e)}cell(t,e){return isNaN(t)?t instanceof Ev?this.getCellByRange(t):"string"==typeof t?this.getCellByA1(t):null:this.getCellByCoords(t,e||0)}createRows(t,e=new cx(this,{l:-1}),i=0){let o=!1,r=!1;this.autofitRows.clear();const s=t.map(((t,e)=>{t||(t={}),isNaN(t.l)||(o=!0),null!=t.p&&(r=!0),"auto"==t.h&&this.autofitRows.add(e);const s=new cx(this,t);return s.origIndex=e+i,s.name&&this.names.set(s.name,Ev.fullRow(e)),s}));let n=-1;return o?n=$r(s,e,{reverse:this.options.rowTree.reversed}):r?n=Ar(s,e):e.children=s,r||(o=!0),[e,s,n,o]}insertRowData(t,e,i){const o=this.createRows(i,new cx(this,{l:t.level}),e);if(this._maxRowLevel=Math.max(this._maxRowLevel,o[2]),t.insertChildren(o[0].children,e),this.indexRowsByTree(),this.theme){const t=o[1];_x(this.theme,this,t),Cx(this.theme,this,new Ev(0,t[0].index,1/0,t[t.length-1].index))}}applyTheme(t,e){if(e)for(const t of this.getInitializedCellIterator())t.invalidateStyle();Sx(t,this)}populate(t){this.index=t.index,this.name=t.name??this.name,this.tab=t.tab;let e=!1,i=!1;if(t.columns||(t.columns=new Array(this.options.columns).fill({})),t.rows||(t.rows=new Array(this.options.rows).fill({})),t.styles&&this.styles.populate(t.styles),this.autofitColumns.clear(),this.columns=t.columns.map(((t,o)=>{t||(t={}),t.l>0&&(e=!0),null!=t.p&&(i=!0),"auto"==t.w&&this.autofitColumns.add(o);const r=new zw(this,t);return this._filter=r.hasFilter||this._filter,r.name&&this.names.set(r.name,Ev.fullColumn(o)),r})),this._levelBasedColTree=e,this._maxColumnLevel=-1,this.colRoot=new zw(this,{l:-1}),e?this._maxColumnLevel=$r(this.columns,this.colRoot,{reverse:this.options.columnTree.reversed}):i?this._maxColumnLevel=Ar(this.columns,this.colRoot):this.colRoot.children=this.columns,i||(this._levelBasedColTree=!0),this.indexColumns(),this.indexVisibleColumns(),[this.rowRoot,this.rows,this._maxRowLevel,this._levelBasedRowTree]=this.createRows(t.rows),this.indexRows(),this.indexVisibleRows(),this.options.pageSize&&this.options.pageSize<=this.rows.length&&(this.rowRoot.count=1/0),this.merges.clear(),t.comments=t.comments||[],t.cells?.forEach(((e,i)=>{const o=this.rows[e.r]?this.rows[e.r].cell(e.c,e):null;o?(e.cs>1||e.rs>1)&&this.merges.add({r:o.r,c:o.c,rs:e.rs||1,cs:e.cs||1}):this.logger?.error(`invalid cell definition (index ${i}): ${JSON.stringify(e)}`),o&&e.comment&&t.comments.push(Object.assign(e.comment,{c:e.c,r:e.r}))})),t.sparklines)try{this.sparklines.populate(t.sparklines)}catch(t){Lr().error(`Sparkline init error: ${t}`)}if(t.names)try{this.names.populate(t.names)}catch(t){Lr().error(`Named range init error: ${t}`)}if(t.rules)try{this.conditionalFormats.populate(t.rules)}catch(t){Lr().error(`Conditional formats init error: ${t}`)}if(t.theme)try{this.applyTheme(t.theme),this._theme=t.theme}catch(t){Lr().error(`Theme init error: ${t}`)}if(t.comments)try{this.comments.populate(t.comments)}catch(t){Lr().error(`Comment init error: ${t}`)}this._properties=t.props,this.otherSourceData={};const o=new Set(Lx),r=Object.keys(t).filter((t=>!o.has(t)));r.forEach((e=>this.otherSourceData[e]=t[e])),this.options.sorting?.defaultSettings&&(this.sorting.settings=this.options.sorting.defaultSettings),this.options.filters?.defaultSettings&&(this.filter.settings=this.options.filters.defaultSettings),this.calcHeaderHeights()}getSourceData(){const t={index:this.index,name:this.name,tab:this.tab,columns:this.columns.map((t=>t.getSourceData())),rows:this.rows.map((t=>t.getSourceData())),styles:this.styles.getSourceData(),rules:this.conditionalFormats.getSourceData(),sparklines:this.sparklines.getSourceData(),names:this.names.getSourceData(),options:this.options};this._properties&&(t.props=this._properties);const e=[];let i;for(let t=0;t<this.rows.length;t++)for(let o=0;o<this.columns.length;o++)i=this.rows[t].cell(o).getSourceData(),Object.keys(i).length>0&&(i.r=t,i.c=o,e.push(i));e.length>0&&(t.cells=e);const o=[];return this.styles.clean(),this.styles.map.forEach((t=>o.push(t))),o.length>0&&(t.styles=o),new Set([...Object.keys(this.otherModels??{}),...Object.keys(this.otherSourceData??{})]).forEach((e=>t[e]=this.otherModels[e]?Array.from(this.otherModels[e]).map((t=>t.getSourceData())):this.otherSourceData[e])),t}calcHeaderHeights(){this._headerCount=0,this._headerHeights=[],this.columns.forEach((t=>{this._headerCount=t.header?t.header.length:this._headerCount,this._headerHeights.length<this._headerCount&&this._headerHeights.push(...Array(this._headerCount-this._headerHeights.length).fill(0)),t.header?.forEach(((t,e)=>{e>=this._headerHeights.length&&this._headerHeights.push(0),this._headerHeights[e]=Math.max(this._headerHeights[e],t.height??0)}))}))}indexRows(){this.visibleRows=[],this.rows.forEach(((t,e)=>{t.index=e,t.isLoaded||(t.collapsed=!0),t.hidden||t.filterState==Ir.Filtered||(t.visibleIndex=this.visibleRows.length,this.visibleRows.push(t))}))}indexVisibleRows(){this.visibleRows=[];let t=0;if(this._levelBasedRowTree){if(this.rowRoot.walkVisible((e=>{e.visibleIndex=t++,this.visibleRows.push(e)})),this.options.rowTree.reversed){const e=new Array(this.visibleRows.length);this.visibleRows.forEach(((i,o)=>{t=this.visibleRows.length-o-1,i.visibleIndex=t,e[t]=i})),this.visibleRows=e}}else this.rowRoot.walkVisible((t=>this.visibleRows[t.index]=t)),this.visibleRows=this.visibleRows.filter((e=>!!e&&(e.visibleIndex=t++,!0)))}indexRowsByTree(){this.rows=[];let t=0;this.rowRoot.walk((e=>{e.index=t++,this.rows.push(e)})),this.options.rowTree.reversed&&this.rows.reverse(),this.indexVisibleRows()}indexColumns(){this.visibleColumns=[],this.columns.forEach(((t,e)=>{t.index=e,t.hidden||this.visibleColumns.push(t)}))}indexVisibleColumns(){this.visibleColumns=[],this.visibleColumnIndex={};let t=0;if(this.colRoot.walkVisible((e=>{e.visibleIndex=t,this.visibleColumnIndex[e.index]=t++,this.visibleColumns.push(e)})),this.options.columnTree.reversed){this.visibleColumnIndex={};const e=new Array(this.visibleColumns.length);this.visibleColumns.forEach(((i,o)=>{t=this.visibleColumns.length-o-1,i.visibleIndex=t,this.visibleColumnIndex[i.index]=t,e[t]=i})),this.visibleColumns=e}this.indexHeaders()}indexHeaders(){this._mergedHeaders=[],this._headerCount=0,this.colRoot.walkVisible((t=>{this._headerCount=Math.max(t.header?t.header.length:0,this._headerCount),t.mergedHeaders.forEach((e=>this._mergedHeaders.push({h:e,c:t.index,r:e.r,cs:t.calculateRealColspan(e.cs??1),rs:e.rs??1})))})),this._mergedHeaders.forEach((t=>{if(!t.h.hidden)for(let e=t.c;e<t.c+t.cs;e++)for(let i=t.r;i<t.r+t.rs;i++)(i>t.r||e>t.c)&&this.columns[e]&&this.columns[e].header[i]&&(this.columns[e].header[i].hidden=!0)})),this.calcHeaderHeights()}removeHeader(t){this.columns.forEach((e=>{t<e.header.length&&e.header.splice(t,1)})),this.indexHeaders()}clear(){this.clearRows(),this.clearColumns(),this.resetViewport()}resetViewport(){return this._viewport=null,this}getViewport(t,e,i){const o=[],r=[];let s,n,a=e.h,l=0;for(l=0;l<i.t;l++)s=this.visibleRows[l],a-=s.height,o.push(s);for(l=this.visibleRows.length-i.b;l<this.visibleRows.length;l++)s=this.visibleRows[l],a-=s.height;for(l=i.t+t.r;a>0&&l<this.visibleRows.length;)s=this.visibleRows[l++],a-=s.height,o.push(s);for(l=this.visibleRows.length-i.b;l<this.visibleRows.length;l++)o.push(this.visibleRows[l]);let c=e.w,h=0;for(h=0;h<i.l;h++)n=this.visibleColumns[h],c-=n.width,r.push(n);for(h=this.visibleColumns.length-i.r;h<this.visibleColumns.length;h++)n=this.visibleColumns[h],c-=n.width;for(h=i.l+t.c;c>0&&h<this.visibleColumns.length;)n=this.visibleColumns[h++],c-=n.width,r.push(n);for(h=this.visibleColumns.length-i.r;h<this.visibleColumns.length;h++)r.push(this.visibleColumns[h]);return this._viewport={rows:o,columns:r}}calculateViewport(){return this._viewport?this.calculations.calculateViewport(this._viewport):[]}getValuesInRange(t,e=!1){if(!(t=t.intersect(this.gridRange)))return[];const{columns:i,rows:o}=t.size,r=new Array(o);let s,n=0,a=0;for(let o=t.r1;o<=t.r2;o++){r[n]=new Array(i),a=0,s=this.rows[o];for(let i=t.c1;i<=t.c2;i++)r[n][a++]=e?s.cell(i).formattedValue:s.cell(i).value;++n}return r}setRowExpandLevel(t){this.rows.forEach((e=>{e.collapsed=!e.isLoaded&&!e.isPartialyLoaded||e.level>=t,e.level<=t&&(e.hidden=!1)})),this.indexVisibleRows()}setColumnExpandLevel(t){this.columns.forEach((e=>e.collapsed=e.level>=t)),this.indexVisibleColumns()}getViewportRange(){return this._viewport&&this._viewport.columns.length&&this._viewport.rows.length?new Ev(this._viewport.columns[0].index,this._viewport.rows[0].index,this._viewport.columns[this._viewport.columns.length-1].index,this._viewport.rows[this._viewport.rows.length-1].index):null}get gridRange(){return new Ev(0,0,this.columns.length-1,this.rows.length-1)}getRangeIterator(t,e=!1){const i=e&&this._viewport?this.getViewportRange():this.gridRange;return new rx(this,i&&t.intersect(i))}getInitializedCellIterator(){return new rx(this,this.gridRange,!0)}getRowIterator(t,e=!1){const i=e&&this._viewport?this.getViewportRange():this.gridRange;return new nx(this,i&&t.intersect(i),"rows")}getColumnIterator(t,e=!1){const i=e&&this._viewport?this.getViewportRange():this.gridRange;return new nx(this,i&&t.intersect(i),"columns")}getCellArray(t){const e=[];for(const i of this.getRangeIterator(t))e.push(i);return e}transformRangeToMatrix(t,e){let i,o,r;const s=[];for(let n=(t=t.intersect(this.gridRange)).r1;n<=t.r2;n++)if(i=this.rows[n],i){r=[];for(let s=t.c1;s<=t.c2;s++)o=i.cell(s),o&&r.push(e(o));s.push(r)}return s}getCellMatrix(t){return this.getModelByRange(t)?.transformRangeToMatrix(t,(t=>t))}getValueMatrix(t){return this.getModelByRange(t)?.transformRangeToMatrix(t,(t=>t.value))}shift(t){t.sheet=this.name,this.merges.shift(t),this.calculations.shift(t),this.names.shift(t),this.comments.shift(t),this.sparklines.shift(t)}clearCalculations(t=!1){t&&this.group?this.group.models.forEach((t=>t.calculations.refresh())):this.calculations.refresh()}refreshSparklines(){this.sparklines.updateRangeMaps();for(const t of this.getInitializedCellIterator())t.invalidateStyle()}clearCalculatedStyles(){this.conditionalFormats.refresh();const t=[];for(const e of this.getInitializedCellIterator())t.push(e),e.invalidateStyle()}insertColumns(t,e,i=!1){const o=this.columns[Math.min(this.columns.length-1,t)].parent;i&&++t,this.shift({index:t,offset:e,direction:"right"});for(let i=0;i<this.rows.length;i++)this.rows[i].insertColumns(t,e,!1);const r=new Array(e).fill(null).map((()=>new zw(this)));return this.columns.splice(t,0,...r),this.maxColumnLevel>0&&o.insertChildren(r,t-(o.index||-1)-1),this.indexColumns(),this.clearCalculations(!0),r}deleteColumns(t,e){const i=this.columns[t].parent;this.shift({index:t,offset:e,direction:"left"});const o=[];for(let i=0;i<this.rows.length;i++)o.push(this.rows[i].deleteColumns(t,e,!1));const r=this.columns.splice(t,e);return i?.deleteChildren(r),this.indexColumns(),this.clearCalculations(!0),r}insertRows(t,e,i=!1){const o=Math.min(this.rows.length-1,t),r=o<0?this.rowRoot:this.rows[o].parent;i&&++t;const s=isNaN(e)?e.length:e;this.shift({index:t,offset:s,direction:"down"});const n=isNaN(e)?e:new Array(s).fill(null).map((()=>new cx(this)));return this.rows.splice(t,0,...n),this.maxRowLevel>0&&r.insertChildren(n,t-(r.index||-1)-1),this.indexRows(),this.theme&&(_x(this.theme,this,n),Cx(this.theme,this,new Ev(0,n[0].index,1/0,n[n.length-1].index))),this.clearCalculations(!0),n}deleteRows(t,e){const i=this.rows[t].parent;this.shift({index:t,offset:e,direction:"up"});const o=this.rows.splice(t,e);return i?.deleteChildren(o),this.indexRows(),this.clearCalculations(!0),o}moveRows(t,e,i){const o=this.rows.splice(t,e);return this.rows.splice(i,0,...o),this.shift({index:t,offset:i-t,direction:"down",maxIndex:t+e-1}),this.indexRows(),this.clearCalculations(!0),o}moveColumns(t,e,i){const o=this.columns.splice(t,e);return this.columns.splice(i,0,...o),this.shift({index:t,offset:i-t,direction:"right",maxIndex:t+e-1}),this.indexColumns(),this.clearCalculations(!0),o}spillValues(t){const{cell:e,values:i,displayValues:o,propertyCell:r}=t,s=[],n=[],a=0===i.length||0===i[0].length;let l,c;const h=a?null:new Ev(e.c,e.r,e.c+i[0].length-1,e.r+i.length-1);if(e.spillRange&&this.getRangeIterator(e.spillRange,!0).forEach((t=>{e==t||h?.contains(t.range)||t.clearSpilledValue()})),e.spillRange=h,a)return{cells:s,oldValues:n,range:null};for(let t=h.r1;t<=h.r2;t++){if(l=this.rows[t],!l)continue;const a=t-h.r1;for(let t=h.c1;t<=h.c2;t++){const d=t-h.c1;c=l.cell(t),c.editable&&(n.push(c.value2),c.spillValue(i[a][d],e),r&&(c.format=r.format,c.type=r.type),o&&null!=o[a][d]&&(c.displayValue=o[a][d]),s.push(c))}}return{cells:s,oldValues:n,range:h}}getCellByName(t,e,i=!0){return this.names.getCellByName(t,e)||(this.group&&i?this.group.getCellByName(t,e):null)}getRangeByName(t,e=!0){return this.names.getRangeByName(t)||(this.group&&e?this.group.getRangeByName(t):null)}getValueMatrixByName(t,e=!0){const i=this.names.getRangeByName(t);return i?this.getValueMatrix(i):this.group&&e?this.group.getValueMatrixByName(t):null}rebuildRowTree(){const t=this._levelBasedRowTree?$r:Ar;this._maxRowLevel=t(this.rows,this.rowRoot,{reverse:this.options.rowTree.reversed}),this.indexRowsByTree()}rebuildColumnTree(){const t=this._levelBasedColTree?$r:Ar;this._maxColumnLevel=t(this.columns,this.colRoot,{reverse:this.options.columnTree.reversed}),this.indexColumns()}calculateCellOffset(t){let e=0,i=0;for(let i=0;i<t.c1&&this.columns[i];i++)e+=this.columns[i].width;for(let e=0;e<t.r1&&this.rows[e];e++)i+=this.rows[e].height;return{x:e,y:i}}}class Rx{get errors(){return this._errors}get(t){return this.models.get(t)}has(t){return this.models.has(t)}getNewName(){let t;do{t=`sheet${this._max}`}while(this.models.has(t));return t}add(t){if(t.index=t.index??this._max,++this._max,t.name=t.name||this.getNewName(),this.models.has(t.name))throw Error(`sheet "${t.name}" already exists`);return this.models.set(t.name,t),t.group=this,t}duplicate(t){const e=this.get(t);if(!e)return;const i=new Ix(e.getSourceData(),e.options);let o=1;for(;this.models.has(`${t}_${o}`);)++o;return i.name=`${t}_${o}`,this.add(i),i}remove(t){return this.models.delete(t),this}rename(t,e){if(this.has(t)){if(this.has(e))throw new Error(`Model '${e}' already exists`);const i=this.get(t);i.name=e,this.models.set(e,i),this.models.delete(t),this.models.forEach((i=>{i.calculations.renameSheet(t,e)&&i.calculateViewport()}))}return this}clear(){this.models.clear(),this._errors=[]}constructor(t){this._max=0,this.models=new Map,this.themes=new Map,this._errors=[],t&&this.populate(t)}populate(t){this.clear(),t.models.forEach((t=>{const e=new Ix(t);try{this.add(e)}catch(t){this.errors.push(t)}})),t.themes&&t.themes.forEach((t=>this.themes.set(t.name,t)))}getSourceData(){const t={models:[]};return this.models.forEach((e=>t.models.push(e.getSourceData()))),t}getCellByName(t,e){for(const i of this.models.values()){const o=i.getCellByName(t,e,!1);if(o)return o}return null}getRangeByName(t){for(const e of this.models.values()){const i=e.getRangeByName(t,!1);if(i)return i}return null}getValueMatrixByName(t){for(const e of this.models.values()){const i=e.getValueMatrixByName(t,!1);if(i)return i}return null}}class Tx{constructor(t){this.model=t,this.stack=[],this.restack=[]}push(t){return this.restack=[],t.timestamp||(t.timestamp=Date.now()),this.stack.push(t),this}pop(t=1){let e=0;const i=[];for(;e++<t&&this.stack.length>0;){const t=this.stack.pop();i.push(t),this.restack.push(t)}return i}pop2(t=1){let e=0;const i=[];for(;e++<t&&this.restack.length>0;){const t=this.restack.pop();i.push(t),this.stack.push(t)}return i}}class $x{get activeCellCoords(){return{c:this.range.c1+this.activeCell.c1,r:this.range.r1+this.activeCell.r1}}constructor(t,e,i,o){this.hidden=!1,this.range=new Ev(t,e,i,o),this.activeCell=new Ev(0,0)}static fromRange(t){return new $x(t.c1,t.r1,t.c2,t.r2)}setCoords(t,e,i,o){this.range.setCoords(t,e,i,o),this.activeCell.setCoords(0,0)}setRange(t){"string"==typeof t&&(t=Ev.fromA1(t)),this.range.setCoords(t.c1,t.r1,t.c2,t.r2),this.activeCell.setCoords(0,0)}move(t,e,i,o){this.range.setCoords(this.range.c1+this.activeCell.c1,this.range.r1+this.activeCell.r1,this.range.c1+this.activeCell.c2,this.range.r1+this.activeCell.r2),this.range.move(t,e,i,o,!1),this.activeCell.setCoords(0,0)}moveRange(t,e,i,o){this.range.move(t,e,i,o,!0)}moveActiveCell(t,e){const{columns:i,rows:o}=this.range.size;this.activeCell.move(t,e,i,o,!0)}}const Ax={...av,CUSTOM_CLIPBOARD_TYPE:"web application/json"};class Dx{constructor(t,e,i=Ax.MAX_CACHE_ITEMS){this.maxCacheItems=i,this.queue=[],this.disabled=!1,this.table=new Array(e).fill(null).map((()=>new Array(t)))}get(t,e){return this.table[e][t]}delete(t,e){return this.table[e][t]=null,this}deleteColumn(t){for(let e=0;e<this.table.length;e++)this.table[e][t]=null;return this}deleteRow(t){return this.table[t]=new Array(this.table[0].length).fill(null),this}set(t,e,i){this.disabled||(this.get(t,e)||this.queue.push([e,t]),this.table[e][t]=i)}clear(){this.queue=[],this.table=this.table.map((t=>new Array(t.length)))}clean(){if(this.maxCacheItems>0&&this.queue.length>this.maxCacheItems){let t=this.queue.length;for(let e=0;e<this.queue.length;e++){const i=this.queue[e];if(!this.table[i[0]][i[1]].parentNode&&(this.queue[e]=null,this.table[i[0]][i[1]]=null,--t<=this.maxCacheItems))break}t<this.queue.length&&(this.queue=this.queue.filter((t=>t)))}}}var Ox=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const Nx=t=>{if(null==t||""===t)return"";if(t instanceof Date)return t.toLocaleDateString();if("string"==typeof t){const e=new Date(t);return Number.isNaN(e.getTime())?t:e.toLocaleDateString()}return String(t)};let Px=class extends En{constructor(){super(),this.render=()=>ln`
|
|
3981
3981
|
<og-icon id="filterIcon" .icon="${{icon:"filter"}}"></og-icon>
|
|
3982
3982
|
<div class="text">${this.renderValue()}</div>
|
|
3983
|
-
`}connectedCallback(){super.connectedCallback()}renderValue(){return null==this.value?"":
|
|
3983
|
+
`}connectedCallback(){super.connectedCallback()}renderValue(){return null==this.value?"":q(this.value)?ln`<og-icon .icon="${this.value?"square-check":"square"}"></og-icon>`:(t=>!!t&&"object"==typeof t&&!Array.isArray(t)&&"range"===t.kind)(this.value)?(t=>{const e=Nx(t.from),i=Nx(t.to);return e&&i?`${e} – ${i}`:e?`≥ ${e}`:i?`≤ ${i}`:""})(this.value):"object"==typeof this.value?"":this.value}};Px.styles=ks`
|
|
3984
3984
|
:host {
|
|
3985
3985
|
padding: 0;
|
|
3986
3986
|
display: block;
|
|
@@ -4086,7 +4086,7 @@
|
|
|
4086
4086
|
vertical-align: middle;
|
|
4087
4087
|
} */
|
|
4088
4088
|
|
|
4089
|
-
`;var Hx=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Fx extends Event{constructor(t,e){super(`formula.${t}`),Object.assign(this,e)}}let Bx=class extends En{get formula(){const t=this.inputValue;return Hv(t)?new Gv(t,this.tokenizer):null}get isDiscarded(){return this._isDiscarded}set value(t){this._value=t,this._selection=null,this.preview=!1,this.formulaInput&&(this.formulaInput.value=t),this.requestUpdate()}get value(){return this._value??""}get selection(){return this._selection??{start:this.formulaInput.selectionStart,end:this.formulaInput.selectionEnd}}set selection(t){this._selection=t,this.formulaInput.selectionStart=t.start,this.formulaInput.selectionEnd=t.end}get inputValue(){return this.formulaInput?.value??""}constructor(){super(),this.preview=!1,this._value="",this._isDiscarded=!1,this.origWidth=null,this.hasInput=!1,this.debounceUpdatePreview=
|
|
4089
|
+
`;var Hx=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Fx extends Event{constructor(t,e){super(`formula.${t}`),Object.assign(this,e)}}let Bx=class extends En{get formula(){const t=this.inputValue;return Hv(t)?new Gv(t,this.tokenizer):null}get isDiscarded(){return this._isDiscarded}set value(t){this._value=t,this._selection=null,this.preview=!1,this.formulaInput&&(this.formulaInput.value=t),this.requestUpdate()}get value(){return this._value??""}get selection(){return this._selection??{start:this.formulaInput.selectionStart,end:this.formulaInput.selectionEnd}}set selection(t){this._selection=t,this.formulaInput.selectionStart=t.start,this.formulaInput.selectionEnd=t.end}get inputValue(){return this.formulaInput?.value??""}constructor(){super(),this.preview=!1,this._value="",this._isDiscarded=!1,this.origWidth=null,this.hasInput=!1,this.debounceUpdatePreview=Y(this.updatePreview,10),this._onInput=()=>{this._isDiscarded=!1,this._selection=null,this.preview=Hv(this.inputValue),this.hasInput=!0,this.debounceUpdatePreview()},this._onMouseUp=()=>{this.hasInput=!0,this._selection={start:this.formulaInput.selectionStart,end:this.formulaInput.selectionEnd}},this._onMouseDown=()=>{this.hasInput=!0,this._selection={start:this.formulaInput.selectionStart,end:this.formulaInput.selectionEnd}},this._onKeyUp=()=>{this.hasInput=!0,this._selection={start:this.formulaInput.selectionStart,end:this.formulaInput.selectionEnd}},this._onKeyDown=t=>{switch(this.hasInput=!0,this._selection={start:this.formulaInput.selectionStart,end:this.formulaInput.selectionEnd},t.key){case"Enter":this.commit();break;case"Escape":this.discard();break;default:this.hasInput=!0}},this._onBlur=()=>{this.hasInput||this.discard(),Hv(this.inputValue)||(this._value=this.inputValue,this.commit())},this._onFocus=()=>{!this.preview&&Hv(this.value)&&(this.preview=!0)},this.render=()=>ln`
|
|
4090
4090
|
<div id="formulaPreview"></div>
|
|
4091
4091
|
<input
|
|
4092
4092
|
id="formulaInput"
|
|
@@ -4228,6 +4228,10 @@
|
|
|
4228
4228
|
overflow: visible;
|
|
4229
4229
|
}
|
|
4230
4230
|
|
|
4231
|
+
th.trans {
|
|
4232
|
+
overflow: hidden;
|
|
4233
|
+
}
|
|
4234
|
+
|
|
4231
4235
|
th.vlabel>div {
|
|
4232
4236
|
justify-content: center;
|
|
4233
4237
|
}
|
|
@@ -4381,7 +4385,7 @@
|
|
|
4381
4385
|
.clc {
|
|
4382
4386
|
cursor: pointer;
|
|
4383
4387
|
}
|
|
4384
|
-
`;var Ux=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Gx extends Event{}let
|
|
4388
|
+
`;var Ux=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Gx extends Event{}let Yx=class extends En{constructor(){super(...arguments),this._rowMap=new Map,this._colMap=new Map,this.hideOuterBorder=!1,this.rowOffset=0,this.colOffset=0,this.zoom=1,this.nogrid=!1,this.renderAll=!1,this.getColumnByModelIndex=t=>this.getColumnByGridIndex(this.colMap.get(t)),this.getColumnByGridIndex=t=>this.colgroup.children[t+this.rowHeaderCount],this.getRowByModelIndex=t=>this.bRows[this.rowMap.get(t)],this.getRowByGridIndex=t=>this.bRows[t],this.getCellByGridIndex=(t,e)=>this.bRows[e].children[t+this.rowHeaderCount],this.getCellByModelIndex=(t,e)=>this.getRowByModelIndex(e)?.children[this.colMap.get(t)+this.rowHeaderCount],this.getCellByCellModel=t=>this.getCellByModelIndex(t.c,t.r),this.resetFreezeLeft=()=>this._freezeLeft=null,this._highlightedColHeaderCells=[],this._highlightedRowHeaderCells=[],this.render=()=>ln`
|
|
4385
4389
|
<style>
|
|
4386
4390
|
table {
|
|
4387
4391
|
font-size: ${this.model?.options.fontSize||Ax.FONT_SIZE}px;
|
|
@@ -4393,7 +4397,7 @@
|
|
|
4393
4397
|
</style>
|
|
4394
4398
|
|
|
4395
4399
|
${this.table}
|
|
4396
|
-
`,this.clearHeaderCache=()=>{this.resetFreezeLeft(),this.hCache=new Dx(this.model.columns.length,this.columnHeaderCount),this.hCache.disabled=!this.model.options.cellCache},this.clearBodyCache=()=>{this.bCache=new Dx(this.model.columns.length,this.model.rows.length),this.bCache.disabled=!this.model.options.cellCache},this.cellRenderSchedules=new WeakMap}get thead(){return this._thead?this._thead:this._thead=yt("thead")}get tbody(){return this._tbody?this._tbody:this._tbody=yt("tbody")}get colgroup(){return this._colgroup?this._colgroup:this._colgroup=yt("colgroup")}get table(){return this._table||(this._table=yt("table"),this._table.appendChild(this.colgroup),this._table.appendChild(this.thead),this._table.appendChild(this.tbody)),this._table}get colMap(){return this._colMap}get rowMap(){return this._rowMap}get freezeLeft(){if(null==this._freezeLeft){const t=this.model.options.freezeLeft;if(t>=this.model.columns.length)this._freezeLeft=0;else if(this.offsetWidth>0){let e=0;for(let i=0;i<t;i++)e+=this.model.columns[i].width;this._freezeLeft=e<this.offsetWidth/2?t:0}else this._freezeLeft=t}return this._freezeLeft}get freezeTop(){return null==this._freezeTop&&(this._freezeTop=this.model.options.freezeTop),this._freezeTop}previewZoom(t){Jt(this.table,t)}highlightColHeaderCells(t){if(!this.model.options.colLetters)return;this._highlightedColHeaderCells.forEach((t=>t.className="hlabel")),this._highlightedColHeaderCells=[];const e=this.rowHeaderCount;t.forEach((t=>{const i=this.hRows[this.model.hasColumnTreeEnabled?1:0].children[this.colMap.get(t)+e];i&&(this._highlightedColHeaderCells.push(i),i.className="hlabel selected")}))}highlightRowHeaderCells(t){this.model.options.rowNumbers&&0!=this.model.rows.length&&(this._highlightedRowHeaderCells.forEach((t=>t.className="vlabel")),this._highlightedRowHeaderCells=[],t.forEach((t=>{const e=this.getRowByModelIndex(t)?.children[this.model.hasRowTreeEnabled?1:0];e&&(this._highlightedRowHeaderCells.push(e),e.className="vlabel selected")})))}get columnHeaderCount(){return this.model.headerCount+(this.model.hasColumnTreeEnabled?1:0)+(this.model.hasFilter?1:0)+(this.model.options.colLetters?1:0)}get rowHeaderCount(){return(this.model.hasRowTreeEnabled?1:0)+(this.model.options.rowNumbers?1:0)}get renderRowCount(){return this.renderAll?this.model.visibleRows.length:Math.round(Math.min(this.clientHeight/Ax.MIN_ROW_HEIGHT,this.model.rows.length))}get renderColCount(){return this.renderAll?this.model.visibleColumns.length+this.rowHeaderCount:Math.round(Math.min(this.clientWidth/Ax.MIN_COL_WIDTH||5,this.model.columns.length+this.rowHeaderCount))}get totalHeaderHeight(){let t=0,e=0;this.model.hasColumnTreeEnabled&&(t+=this.treeHeaderHeight,++e),this.model.options.colLetters&&(t+=this.thead.children[e].offsetHeight||this.model.options.rowHeight,++e);for(let i=0;i<this.model.headerCount;i++)t+=this.thead.children[e+i].offsetHeight||this.model.options.rowHeight;return this.model.hasFilter&&(t+=this.model.options.rowHeight),t}get treeHeaderWidth(){return this.model.hasRowTreeEnabled?15*this.model.maxRowLevel+20:0}get treeHeaderHeight(){return this.model.hasColumnTree?15*this.model.maxColumnLevel+20:0}get totalHeaderWidth(){let t=0;return this.model.options.rowNumbers&&(t+=Ax.ROW_HEADER_WIDTH),t+=this.treeHeaderWidth,t}get viewportSize(){return this._viewportSize||(this._viewportSize=this.renderAll?{w:1/0,h:1/0}:{w:(this.clientWidth-this.totalHeaderWidth-Ax.SLIDER_SIZE)/this.zoom,h:(this.clientHeight-this.totalHeaderHeight-Ax.SLIDER_SIZE)/this.zoom}),this._viewportSize}get viewport(){return this._viewport||(this._viewport=this.model.getViewport({c:this.colOffset,r:this.rowOffset},this.viewportSize,{t:this.model.options.freezeTop,l:this.freezeLeft,b:this.model.options.freezeBottom,r:this.model.options.freezeRight})),this._viewport}get viewportRange(){return 0==this.viewport.columns.length||0==this.viewport.rows.length?null:new Ev(this.viewport.columns[0].index,this.viewport.rows[0].index,this.viewport.columns[this.viewport.columns.length-1].index,this.viewport.rows[this.viewport.rows.length-1].index)}findColumnIndexByOffset(t){let e=0;const i=this.colgroup.children;for(let o=0;o<i.length;o++)if(e+=i[o].offsetWidth,e>=t)return o;return-1}findRowByOffset(t){const e=(t>this.thead.offsetHeight?this.tbody:this.thead).children;t>this.thead.offsetHeight&&(t-=this.thead.offsetHeight);let i=0;for(let o=0;o<e.length;o++){const r=e[o];if(i+=r.offsetHeight,i>=t)return r}return null}findTableCellByOffset(t,e){t/=this.zoom,e/=this.zoom;const i=this.findRowByOffset(e),o=this.findColumnIndexByOffset(t),r=i&&o>-1?i.children[o]:null;return r&&!Ct(r)?r:null}findNearestTableCellByOffset(t,e){let i,o;t/=this.zoom,e/=this.zoom;const r=this.findRowByOffset(e),s=this.findColumnIndexByOffset(t);i=e<0?this.tbody.children[0]:e>this.tbody.offsetHeight+this.thead.offsetHeight?this.tbody.children[this.viewport.rows.length-1]:r,o=t<0?this.rowHeaderCount:t>=this.tbody.offsetWidth?this.viewport.columns.length+this.rowHeaderCount-1:s;let n=i&&o>-1?i.children[o]:null;for(;n&&Ct(n);)n=n.previousElementSibling;return[n,r&&s>-1?r.children[s]:null]}connectedCallback(){super.connectedCallback(),this.grid=Et(this,"og-grid")}willUpdate(){this._viewport=null,this._viewportSize=null,this.model&&(this.clearHeaderCache(),this.clearBodyCache())}updated(){this.model&&(this.createColumns(),this.createHeaderRows(),this.createBodyRows(),this.renderCells())}refresh(){this.clearHeaderCache(),this.clearBodyCache(),this.requestUpdate()}createColumns(){this._freezeLeft=null;const t=this.renderColCount;if(!this.cols||this.cols.length!=t){this.cols=new Array(t);for(let e=0;e<t;e++)this.cols[e]=yt("col"),this.cols.forEach((()=>this.colgroup.appendChild(this.cols[e])))}}createHeaderRows(){const t=this.columnHeaderCount,e=this.renderColCount;if(St(this.thead),!this.hRows||this.hRows.length!=t||!this.hRows[0]||this.hRows[0].children.length!=e){this.hRows=new Array(t);for(let i=0;i<t;i++){this.hRows[i]=yt("tr");for(let t=0;t<e;t++)this.hRows[i].appendChild(yt("th"))}}St(this.thead),this.hRows.forEach((t=>this.thead.appendChild(t)))}createBodyRows(){const t=this.renderRowCount,e=this.renderColCount,i=this.rowHeaderCount;if(!this.bRows||0==this.bRows.length||this.bRows.length!=t||this.bRows[0].children.length!=e)if(0==t&&this.grid.options.emptyPlaceholder)this.bRows=[yt("tr")],this.bRows[0].appendChild(yt("td"));else{this.bRows=new Array(t);for(let o=0;o<t;o++){this.bRows[o]=yt("tr");for(let t=0;t<i;t++)this.bRows[o].appendChild(yt("th"));for(let t=i;t<e;t++)this.bRows[o].appendChild(yt("td"))}}St(this.tbody),this.bRows.forEach((t=>this.tbody.appendChild(t)))}renderCells(t={vertical:!0,horizontal:!0}){this.table&&(t.vertical||t.horizontal)&&(this._viewport=null,t.horizontal&&this.renderHeader(),this.model.rows.length>0?(this.renderBody(),t.vertical&&this.renderRowTree()):this.model.options.emptyPlaceholder&&(this.renderEmptyBody(),this.table.appendChild(this.tbody)),this.dispatchEvent(new Gx("rendercells")))}renderEmptyBody(){const t=this.bRows[0].children[0];t.innerHTML="no data",t.className="empty-placeholder",t.colSpan=this.viewport.columns.length+this.rowHeaderCount}renderHeader(){let t;this.colMap.clear();const e=this.rowHeaderCount,i=this.viewport;this.model.hasRowTreeEnabled&&Nt(this.colgroup.children[0],{w:this.treeHeaderWidth},!0),this.model.options.rowNumbers&&Nt(this.colgroup.children[e-1],{w:Ax.ROW_HEADER_WIDTH},!0);for(let o=0;o<i.columns.length;o++)t=i.columns[o],this.model.autofitColumns.has(t.index)&&(this.grid.rendering.autofitColumn(t.index,!0,!1),this.model.autofitColumns.delete(t.index)),this.colMap.set(t.index,o),Nt(this.colgroup.children[o+e],{w:t.width}),jt(this.colgroup.children[o+e],{w:t.width}),Pt(this.colgroup.children[o+e],{w:t.width});let o=0;this.model.hasColumnTreeEnabled&&(this.renderHeaderRowTree(this.hRows[o],o),++o),this.model.options.colLetters&&(Nt(this.hRows[o],{h:this.model.options.rowHeight}),this.renderHeaderRowLetters(this.hRows[o],o),++o);for(let t=0;t<this.model.headerCount;t++)this.renderHeaderRowLabels(this.hRows[o+t],o+t,t);o+=this.model.headerCount,this.model.hasFilter&&(Nt(this.hRows[o],{h:this.model.options.rowHeight}),this.renderHeaderRowFilters(this.hRows[o],o))}renderHeaderRowLetters(t,e){let i,o;const r=this.viewport,s=e-this.columnHeaderCount;let n=0;if(Nt(t,{h:this.model.options.rowHeight}),(this.model.hasRowTree||this.model.options.rowNumbers)&&!this.model.hasColumnTreeEnabled){i=t.children[n],i.colSpan=this.rowHeaderCount,i.rowSpan=this.columnHeaderCount;const e=n-this.rowHeaderCount,o=this.model.options.levelButtonCell;(!o||s==o.r&&e==o.c)&&this.renderHeaderRowCornerCell(i),n++}for(let e=n;e<this.rowHeaderCount;e++)_t(t.children[e]),n++;for(let e=n;e<t.children.length;e++)o=e-n,i=t.children[e],i.className="hlabel",r.columns.length>o?(i.innerHTML=r.columns[o].address,i.c=r.columns[o].index,Mt(i)):_t(i)}renderHeaderRowTree(t,e){if(!this.model.hasColumnTreeEnabled)return;let i,o,r=0;const s=e-this.columnHeaderCount,n=this.viewport,a=this.model.options.rowNumbers,l=this.model.hasRowTreeEnabled;if(Nt(t,{h:this.treeHeaderHeight}),i=t.children[r],!i)return;i.rowSpan=a||l?this.columnHeaderCount:1,i.colSpan=this.rowHeaderCount;const c=r-this.rowHeaderCount,h=this.model.options.levelButtonCell;let d=null;(!h&&(a||l)||h&&s==h.r&&c==h.c)&&(d=c,this.renderHeaderRowCornerCell(i)),(a||l)&&++r;for(let s=r;s<t.children.length;s++)o=s-r,i=t.children[s],n.columns.length>o?(d!=s&&(i.innerHTML="",i.className="htree",this.renderHeaderRowTreeCell(t,e,n.columns[o],i)),Mt(i)):_t(i)}renderHeaderRowTreeCell(t,e,i,o){let r=this.hCache.get(i.index,e);if(!r){r=yt("div"),this.hCache.set(i.index,e,r);const t=i.width+1,o=this.treeHeaderHeight/this.model.maxColumnLevel;if(i.hasChildren){const e=new qu;e.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(i.index))),r.expander=e,r.appendChild(e),Ht(e,{l:t/2-Ax.EXPANDER_SIZE/2,t:i.level*o+o/2-Ax.EXPANDER_SIZE/2}),r.expanderLine=this.createExpanderLine("h"),r.appendChild(r.expanderLine),Ht(r.expanderLine,{l:this.model.options.columnTree.reversed?0:t/2,t:i.level*o+o/2}),Nt(r.expanderLine,{h:o/2,w:t/2+1})}if(i.hasParent){let e=i;for(;e.hasParent;){e=e.parent;const i=this.createExpanderLine("h");r.appendChild(i),Nt(i,{h:o/2,w:t-1}),Ht(i,{l:0,t:e.level*o+o/2})}}}r.expander&&(r.expander.state=i.collapsed?"closed":"open"),o.appendChild(r)}createExpanderLine(t){const e=yt("div");return e.className=`${t}tree-line`,e}renderHeaderRowLabels(t,e,i){let o,r,s,n,a=0;const l=this.viewport,c=e-this.columnHeaderCount,h=this.model.options.levelButtonCell;let d;this.model.hasRowTreeEnabled&&(r=t.children[a],r.innerHTML="",this.model.hasColumnTreeEnabled||this.model.options.colLetters||i>0?_t(r):(r.rowSpan=this.columnHeaderCount,r.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(r)),++a),this.model.options.rowNumbers&&(r=t.children[a],r.innerHTML="",this.model.hasRowTreeEnabled||this.model.options.colLetters||this.model.hasColumnTreeEnabled||i>0?_t(r):(r.rowSpan=this.columnHeaderCount,r.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(r)),++a);for(let u=a;u<t.children.length;u++)if(n=u-a,r=t.children[u],r.className="hlabel",r.innerHTML="",l.columns.length>n)if(o=l.columns[n],s=o.header[i],s.height&&(d=Math.max(s.height,d||0)),r.colSpan=1,r.rowSpan=1,r.c=o.index,r.r=i,s?.hidden)if(n==this.freezeLeft){let t=o.prevVisible,s=0;for(;t&&t.header[i]?.hidden;)t=t.prevVisible,++s;t&&t.header[i].cs?(Mt(r),r.colSpan=t.header[i].cs-s-1,r.rowSpan=t.header[i].rs||1,this.renderHeaderRowLabelCell(r,t,e,i)):_t(r)}else _t(r);else{if(o.header&&o.header[i]){const t=o.header[i].cs||1;r.colSpan=t>1?o.calculateRealColspan(t):1,r.rowSpan=o.header[i].rs||1}Mt(r),this.renderHeaderRowLabelCell(r,o,e,i),h&&h.r==c&&h.c==o.index&&this.renderHeaderRowCornerCell(r)}else _t(r);Nt(t,{h:d??this.model.options.rowHeight})}renderHeaderRowLabelCell(t,e,i,o){let r=this.hCache.get(e.index,i);const s=e.header[o];if(r||(r=yt("div"),s?s.html?r.innerHTML=s.label??"":r.innerText=s.label??"":r.innerHTML="",s&&null!=s._style&&bC(r,xw(this.model.styles.get(s._style))),this.hCache.set(e.index,i,r)),this.model.options.columnHeaderTreeButtons&&e.hasChildren&&o==e.level){let t=r.expander;t||(t=new qu,t.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(e.index))),r.expander=t,r.prepend(t),Ht(t,{l:4,t:4})),t.state=e.collapsed?"closed":"open"}if(e.sorting&&o==e.header.length-1&&(t.className+=" sort",r.sortingArrow||(r.sortingArrow=yt("og-sortingarrow"),r.appendChild(r.sortingArrow),Ht(r.sortingArrow,{t:2,r:5})),r.sortingArrow.sortSettings=this.model.sorting.get(e.index)),e.hasHeaderTooltip(o)){const t=yt("div");t.className="crn",r.appendChild(t),r.classList.add("tt")}t.appendChild(r)}renderHeaderRowFilters(t,e){let i,o,r=0;const s=this.viewport;this.model.hasRowTreeEnabled&&(i=t.children[r],i.innerHTML="",this.model.columnHeaderCount>1?_t(i):i.colSpan=this.model.columnHeaderCount,++r),this.model.options.rowNumbers&&(i=t.children[r],i.innerHTML="",this.model.hasRowTreeEnabled||this.model.options.colLetters||this.model.hasColumnTreeEnabled||this.model.headerCount>0?_t(i):(i.rowSpan=this.columnHeaderCount,i.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(i)),++r);for(let n=r;n<t.children.length;n++)if(o=n-r,i=t.children[n],s.columns.length>o){Mt(i);const r=s.columns[o];r.hasFilter?this.renderHeaderRowFilterCell(t,e,r,i):i.innerHTML=""}else _t(i)}renderHeaderRowFilterCell(t,e,i,o){o.innerHTML="",o.className="filter",o.c=i.index;let r=this.hCache.get(i.index,e);r||(r=yt("div"),r.filter=yt("og-filter-label"),r.appendChild(r.filter),this.hCache.set(i.index,e,r));const s=this.model.filter.get(i.index)?.term;r.filter.value=Array.isArray(s)?s.map((t=>t.value??t.key)).join(", "):s,o.appendChild(r)}renderHeaderRowCornerCell(t){this.cornerDiv=yt("div");const e=Math.max((this.treeHeaderWidth||Ax.EXPANDER_SIZE+2)/(this.model.maxRowLevel+1),Ax.EXPANDER_SIZE+2);if(this.model.hasRowTree)for(let t=0;t<=this.model.maxRowLevel;t++){const i=new Yu;i.level=t,this.cornerDiv.appendChild(i),Ht(i,{l:t*e+e/2-Ax.EXPANDER_SIZE/2,b:3}),i.addEventListener("mousedown",(t=>t.stopPropagation())),i.addEventListener("toggle",(t=>{this.model.columns.filter((t=>t.levelButtons)).forEach((t=>this.bCache.deleteColumn(t.index))),this.grid.rendering.setRowExpandLevel(t.level)}))}if(this.model.hasColumnTree){const i=(this.model.hasColumnTree?this.treeHeaderHeight:t.clientHeight)/(this.model.maxColumnLevel+1),o=15*this.model.maxColumnLevel+20<=t.clientHeight;for(let t=0;t<=this.model.maxColumnLevel;t++){const r=new Yu;r.level=t,this.cornerDiv.appendChild(r),Ht(r,o?{t:t*i+i/2-Ax.EXPANDER_SIZE/2,r:3}:{r:t*e+e/2-Ax.EXPANDER_SIZE/2,b:3}),r.addEventListener("mousedown",(t=>t.stopPropagation())),r.addEventListener("toggle",(t=>{this.grid.rendering.setColumnExpandLevel(t.level)}))}}St(t),t.appendChild(this.cornerDiv)}renderBody(){let t,e,i,o,r,s,n,a,l;const c=this.freezeLeft||0,h=this.rowHeaderCount,d=this.model.merges,u=this.model.options.rowNumbers,p=this.viewport,g=this.viewportRange;if(!g)return;const m=new Ev(this.colOffset+c,this.rowOffset,g.c2,g.r2);this.rowMap.clear();for(let c=0;c<this.bRows.length;c++)if(t=this.bRows[c],c<p.rows.length){i=p.rows[c],o=i.index,this.model.autofitRows.has(o)&&(this.grid.rendering.autofitRow(o,!1,!1),this.model.autofitRows.delete(o)),Nt(t,{h:i.height}),i.height<this.model.options.rowHeight&&Vt(t,i.height),this.rowMap.set(o,c),u&&(e=t.children[h-1],e.className="vlabel",e.r=o,e.c=-1,e.innerHTML=`<div>${Lv(o)}</div>`);for(let c=h;c<t.children.length;c++)if(e=t.children[c],c-h<p.columns.length){if(s=p.columns[c-h],r=s.index,e.r=o,e.c=r,n=i.cell(r),a=n.address,l=d.getMergeState(a),l==zx.HIDDEN){const t=d.hiddenCells.get(n.address),i=m.intersect(new Ev(t.c,t.r,t.c+t.cs-1,t.r+t.rs-1));if(!i||n.c!=i.c1||n.r!=i.r1){_t(e);continue}n=this.model.rows[t.r].cell(t.c),e.colSpan=i.size.columns,e.rowSpan=i.size.rows,e.c=n.c,e.r=n.r}else if(l==zx.MERGED){const t=n.merge;e.colSpan=t.cs,e.rowSpan=t.rs}else e.colSpan=1,e.rowSpan=1;Mt(e),this.renderBodyCell(n,e)}else _t(e);t.style.display="table-row",t.className=i.filterState>1?"filtered":""}else t.style.display="none"}scheduleRenderBodyCell(t,e){this.cellRenderSchedules.has(e)&&(window.clearTimeout(this.cellRenderSchedules.get(e)),this.cellRenderSchedules.delete(e)),this.cellRenderSchedules.set(e,window.setTimeout((()=>this.renderBodyCell(t,e))))}fixCellBorders(t,e){"none"==e.bottom?.style&&(t.style.borderBottomColor="transparent"),"none"==e.top?.style&&(t.style.borderTop="transparent"),"none"==e.right?.style&&(t.style.borderRight="transparent"),"none"==e.left?.style&&(t.style.borderLeft="transparent")}renderBodyCell(t,e){const i=!e;if(e=e||this.getCellByCellModel(t)){let o=i?null:this.bCache.get(t.c,t.r);if(o||(o=yt("div"),IC(t).call(this,o,t),this.bCache.set(t.c,t.r,o)),this.renderAll){const i=t.composedStyle;i&&this.fixCellBorders(e,i)}St(e),e.appendChild(o)}else this.bCache.delete(t.c,t.r)}mergeBodyCells(t){let e;const i=new Set;for(const o of t)if(e=this.bRows[o.r].cells[o.c],e&&!i.has(e))for(let t=o.r;t<o.r+o.rs;t++)for(let r=o.c;r<o.c+o.cs;r++)e=this.bRows[t].cells[r],e&&(t==o.r&&r==o.c?(e.colSpan=o.cs,e.rowSpan=o.rs):(i.add(e),_t(e)))}renderRowTree(){if(!this.model.hasRowTreeEnabled)return;let t;const e=this.viewport,i=-this.rowHeaderCount;for(let o=0;o<this.bRows.length;o++)t=this.bRows[o].children[0],t.innerHTML="",o<e.rows.length&&(t.className="vtree",this.renderRowTreeCell(i,e.rows[o],t))}renderRowTreeCell(t,e,i){let o=this.bCache.get(t,e.index);if(!o){o=yt("div"),this.bCache.set(t,e.index,o);const r=e.height+1,s=this.treeHeaderWidth/this.model.maxRowLevel;if(e.hasChildren){const t=new qu;t.addEventListener("toggle",(()=>this.grid.rendering.toggleRow(e.index))),i.parentElement.expander=t,o.expander=t,o.appendChild(t),Ht(t,{t:r/2-Ax.EXPANDER_SIZE/2,l:e.level*s+s/2-Ax.EXPANDER_SIZE/2});const n=this.createExpanderLine("v");o.appendChild(n),Ht(n,{t:this.model.options.rowTree.reversed?0:r/2,l:e.level*s+s/2}),Nt(n,{w:s/2,h:r/2+1})}if(e.hasParent){let t=e;for(;t.hasParent;){t=t.parent;const e=this.createExpanderLine("v");o.appendChild(e),Nt(e,{w:s/2,h:r+2}),Ht(e,{t:-1,l:t.level*s+s/2})}}}o.expander&&(o.expander.state=e.collapsed?"closed":"open"),i.appendChild(o)}};qx.styles=[Vx],Ux([$n({type:Object})],qx.prototype,"model",void 0),Ux([$n({type:Boolean,reflect:!0})],qx.prototype,"hideOuterBorder",void 0),Ux([$n({type:Number,hasChanged:()=>!1})],qx.prototype,"rowOffset",void 0),Ux([$n({type:Number,hasChanged:()=>!1})],qx.prototype,"colOffset",void 0),Ux([$n({type:Number,reflect:!0})],qx.prototype,"zoom",void 0),Ux([$n({type:Boolean,reflect:!0})],qx.prototype,"nogrid",void 0),Ux([$n({type:Boolean,reflect:!0})],qx.prototype,"renderAll",void 0),qx=Ux([In("og-table")],qx);const Yx=["F5","F12"];class Zx extends Event{constructor(t){super("grid.error",{bubbles:!0,composed:!0}),this.error=t}}class Xx extends Event{get selection(){return this.grid.selecting.selection}get activeCell(){return this.selection.activeCell}constructor(t,e){super(`grid.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e),this.cell&&(this.row=this.cell.row,this.column=this.cell.column)}}class Qx extends Xx{constructor(t){super("edit",t)}}class Kx extends Sp{constructor(t,e,i){super(`grid.${t}`,i),this.grid=e}}class Jx extends Kx{constructor(t,e,i,o){super(t,e,o),this.column=i}}class tk extends Kx{constructor(t,e,i,o){super(t,e,o),this.row=i}}class ek{get model(){return this.grid.model}get selection(){return this.grid.selection}get table(){return this.grid.table}constructor(t){this.grid=t,this.clickDisabled=!1,this.editDisabled=!1,this.clicked=!1,this.startOffset={x:0,y:0},this.suspendClick=()=>this.clickDisabled=!0,this.resumeClick=(t=!1)=>{this.isSliding||(t?setTimeout((()=>this.clickDisabled=!1),100):this.clickDisabled=!1)},this._onKeyDown=t=>{switch(Yx.includes(t.key)||t.preventDefault(),t.key){case"Tab":t.preventDefault(),this.grid.selecting.shiftActiveCell(t.shiftKey?-1:1,!0);break;case"ArrowRight":this.grid.selecting.debounceMoveSelector(1,0);break;case"ArrowLeft":this.grid.selecting.debounceMoveSelector(-1,0);break;case"ArrowDown":this.grid.selecting.debounceMoveSelector(0,1);break;case"ArrowUp":this.grid.selecting.debounceMoveSelector(0,-1);break;case"PageUp":this.grid.selecting.debounceMoveSelector(0,-this.table.viewport.rows.length);break;case"PageDown":this.grid.selecting.debounceMoveSelector(0,this.table.viewport.rows.length);break;case"Home":this.grid.selecting.debounceMoveSelector(-this.selection.range.c1,t.ctrlKey?-this.selection.range.r1:0);break;case"End":this.grid.selecting.debounceMoveSelector(this.model.gridRange.c2-this.selection.range.c1,t.ctrlKey?this.model.gridRange.r2-this.selection.range.r1:0);break;case"Enter":this.grid.selecting.enter();break;case"Escape":this.grid.selecting.hideCopySelector();break;case"c":case"C":t.ctrlKey&&this.grid.editing.copySelection();break;case"v":case"V":t.ctrlKey&&this.grid.editing.paste();break;case"z":case"Z":if(!this.grid.options.undoRedo)return;t.ctrlKey&&this.grid.editing.undo();break;case"y":case"Y":if(!this.grid.options.undoRedo)return;t.ctrlKey&&this.grid.editing.redo();break;case"F2":t.preventDefault(),this.grid.editing.startEdit();break;case"Delete":t.preventDefault(),this.grid.objects.delete(),this.grid.editing.clearSelection();break;case"Backspace":t.preventDefault(),this.grid.editing.clearSelection();break;case"F1":if(!this.grid.options.commandWindow)return;t.preventDefault(),this.grid.openCommands()}1!=t.key.length||t.ctrlKey||this.grid.editing.startEdit(t.key)},this._onMouseMove=t=>{if(!this.model)return;let e=!0,i=!0;const o=this.grid.hSizer,r=this.grid.vSizer,{offsetX:s,offsetY:n}=t;let a=this.model.options.scrolling.scrollbarVisibilityTreshold;a<=0&&(a=Math.max(this.grid.clientWidth,this.grid.clientHeight)),s>this.grid.clientWidth-a?this.grid.vSlider.show():this.grid.vSlider.hide(),n>this.grid.clientHeight-a?this.grid.hSlider.show():this.grid.hSlider.hide();const[l,c]=this.table.findNearestTableCellByOffset(s,n);if(c&&"TH"==c.tagName){const i=Ct(c)&&l||c;if(this.model.options.columnResize&&!o.resizing&&i.classList.contains("hlabel")?i.offsetWidth-t.offsetX+i.offsetLeft<Ax.RESIZE_TRESHOLD?(o.snap(i,this.grid),this.grid.rendering.currentResizedColumn=this.model.columns[c.c]):kt(o):this.model.options.rowResize&&!r.resizing&&i.classList.contains("vlabel")&&(i.offsetHeight-t.offsetY+i.offsetTop<Ax.RESIZE_TRESHOLD?(r.snap(i,this.grid),this.grid.rendering.currentResizedRow=this.model.rows[c.r]):kt(r)),null!=c.c){const t=this.model.columns[c.c];t?.hasHeaderTooltip(c.r)&&(e=!1,this.grid.tooltip.attachToCell(c,t.header[c.r],"bottom"))}}if(l&&"TH"==l.tagName)this.grid.selecting.isSelecting&&(this.suspendClick(),this.grid.selecting.updateSelecting(l.c,l.r)),i=!1;else if(l&&"TD"==l.tagName)if(this.grid.selecting.isSelectorOperationActive||this.grid.selecting.isFormulaSelectorOperationActive){const{top:e,left:i}=Tt(l,this.grid);this.grid.rendering.autoscroll({x:i-this.table.totalHeaderWidth+t.offsetX-l.offsetLeft,y:e-this.table.thead.clientHeight+t.offsetY-l.offsetTop}),this.grid.selecting.isSelecting&&this.suspendClick(),this.grid.selecting.updateSelecting(l.c,l.r)}else{const t=this.model.rows[l.r]?.cell(l.c);t&&t.hasTooltip&&(e=!1,this.grid.tooltip.attachToCell(l,t)),t&&t.hasComment&&(e=!1,this.grid.comment.attachedTo!==l&&this.grid.comment.attachTo(l,t))}e&&(this.grid.tooltip.deatach(),this.grid.comment.deatach(this.model.options.comments.hideTimeout)),i&&(kt(o),kt(r))},this._onMouseDown=t=>{if(!(1&t.buttons))return;this.grid.setPointerCapture(t.pointerId),this.startOffset={x:t.offsetX,y:t.offsetY};const e=t.shiftKey;for(const i of t.composedPath()){if("TD"==i.tagName){const t=i;this.grid.selecting.startCellSelecting(new Ev(t.c,t.r),e);break}if("TH"==i.tagName){const t=i;i.matches(".sort")?this.grid.sorting.sort(t.c):t.classList.contains("filter")?this.grid.filtering.openFilter(this.model.columns[t.c],t):t.classList.contains("hlabel")?this.grid.selecting.startColumnSelecting(t.c,e):t.classList.contains("vlabel")&&this.grid.selecting.startRowSelecting(t.r,e);break}}},this._onMouseUp=t=>{if(0!=t.buttons)return;const e=Math.abs(this.startOffset.x-t.offsetX),i=Math.abs(this.startOffset.y-t.offsetY);Math.sqrt(Math.pow(e,2)+Math.pow(i,2))<this.model.options.events.click.mouseMoveTreshold&&this.resumeClick(),this.grid.releasePointerCapture(t.pointerId),this.grid.selecting.stopSelectOperations()},this._onClick=t=>{if(this.clickDisabled)return;if(this.grid.clientHeight-t.offsetY<this.grid.hSlider.offsetHeight)return;if(this.grid.clientWidth-t.offsetX<this.grid.vSlider.offsetWidth)return;const e=this.table.findTableCellByOffset(t.offsetX,t.offsetY),i="TD"==e?.tagName?this.model.rows[e.r]?.cell(e.c):null;this.grid.dispatchEvent(new Xx("click",{grid:this.grid,cell:i}))},this._onContextMenu=t=>{t.preventDefault();for(const e of t.composedPath())if("TD"==e.tagName){const i=e;this.grid.menus.openCellMenu(this.model.rows[i.r].cell(i.c),{x:t.pageX,y:t.pageY})}else if("TH"==e.tagName){const i=e;i.classList.contains("hlabel")?this.grid.menus.openColumnMenu(this.model.columns[i.c],{x:t.pageX,y:t.pageY}):i.classList.contains("vlabel")&&this.grid.menus.openRowMenu(this.model.rows[i.r],{x:t.pageX,y:t.pageY})}},this._onVerticalSlide=t=>{this.table.rowOffset=Math.min(t.value,this.model.visibleRows.length-1),this.grid.rendering.requireVerticalUpdate=!0,this.grid.rendering.renderCells()},this._onHorizontalSlide=t=>{this.table.colOffset=Math.min(t.value,this.model.visibleColumns.length-1),this.grid.rendering.requireHorizontalUpdate=!0,this.grid.rendering.renderCells()},this._onSlideStart=()=>{this.suspendClick()},this._onSlideStop=()=>{this.resumeClick(!0)},this._denbounceHorizontalScroll=q((t=>this.grid.rendering.scrollHorizontalByPixels(t)),50),this._onWheel=t=>{t.ctrlKey||(0!=t.deltaY&&this.grid.rendering.scrollVerticalByPixels(t.deltaY),0!=t.deltaX&&this._denbounceHorizontalScroll(Math.sign(t.deltaX)*Math.min(100,Math.abs(t.deltaX))))},this._onTouchStart=t=>{this.grid.rendering.touchStartX=t.touches[0],this.grid.rendering.touchStartY=t.touches[0]},this._onTouchEnd=t=>{this.grid.rendering.touchStartX=t.touches[0],this.grid.rendering.touchStartY=t.touches[0]},this._onTouchMove=t=>{const e=this.grid.rendering;if(e.touchStartY){const i=e.touchStartY.clientY-t.touches[0].clientY;Math.abs(i)>this.model.options.rowHeight&&this.table.viewport.rows.length>0&&(e.scrollVerticalByPixels(i),e.touchStartY=t.touches[0])}if(e.touchStartX){const i=e.touchStartX.clientX-t.touches[0].clientX;Math.abs(i)>this.model.options.columnWidth&&this.table.viewport.columns.length>0&&(e.scrollHorizontalByPixels(i),e.touchStartX=t.touches[0])}},this._onHorizontalResizeStart=()=>{this.grid.rendering.resizing=!0,this.grid.rendering.currentResizedColumnWidth=this.grid.rendering.currentResizedColumn.width},this._onHorizontalResizeStop=t=>{this.suspendClick(),this.grid.rendering.resizing=!1,this.table.clearHeaderCache(),this.table.renderCells({horizontal:!0}),this.grid.dispatchEvent(new Jx("column.resize",this.grid,this.grid.rendering.currentResizedColumn,t))},this._onHorizontalResize=t=>{const e=this.grid.rendering;e.currentResizedColumn.width=e.currentResizedColumnWidth+t.deltaX,Nt(this.table.getColumnByModelIndex(e.currentResizedColumn.index),{w:e.currentResizedColumn.width},!0),this.grid.selecting.updateSelector()},this._onVerticalResizeStart=()=>{this.grid.rendering.resizing=!0,this.grid.rendering.currentResizedRowHeight=this.grid.rendering.currentResizedRow.height},this._onVerticalResizeStop=t=>{this.suspendClick(),this.grid.rendering.resizing=!1,this.table.clearBodyCache(),this.table.renderCells({vertical:!0}),this.grid.dispatchEvent(new tk("row.resize",this.grid,this.grid.rendering.currentResizedRow,t))},this._onVerticalResize=t=>{const e=this.grid.rendering;e.currentResizedRow.height=e.currentResizedRowHeight+t.deltaY,Nt(this.table.getRowByModelIndex(e.currentResizedRow.index),{h:e.currentResizedRow.height},!1),this.grid.selecting.updateSelector()},this._onCommentCommit=t=>{this.grid.model.comments.set(t.cell.address,t.items),t.cell.invalidateStyle(),this.grid.rendering.updateCells([t.cell])},this._onAutofill=t=>{if(this.suspendClick(),this.grid.selection.range.equals(t.selector.autofillRange))return;const{cells:e,oldValues:i}=lw(this.model,this.grid.selection.range,t.selector.autofillRange,t.selector.autofillDirection);this.grid.rendering.updateCells(e,!0),this.grid.selection.setRange(this.grid.selection.range.unite(t.selector.autofillRange)),this.grid.selecting.updateSelector(),this.grid.dispatchEvent(new Qx({grid:this.grid,editType:"autofill",cells:e,oldValues:i,newValues:e.map((t=>t.value2))}))},this._onEdit=t=>{if(t.fromHistory)return;const e=[],i=[],o=this.model.names.rangeMap;let r=[],s=[],n=[],a=[];switch(t.editType){case"value":r=t.newValues,s=t.newProps,n=t.oldValues,a=t.oldProps,t.cells.forEach((t=>{const r=t.address;e.push(r),i.push(o.get(r))}));break;case"insert_column":case"insert_row":t.newValues.forEach((t=>{const s=t.address;e.push(s),i.push(o.get(s)),r.push(t.getSourceData())}))}this.grid.history.push({type:t.editType,addresses:e,names:i,oldValues:n,oldProps:a,newValues:r,newProps:s})},this._onSelectorMove=t=>{this.suspendClick(),this.selection.setRange(t.toRange),t.fromRange.isRow?this.grid.editing.moveRows({index:t.fromRange.r1,count:t.fromRange.size.rows,targetIndex:t.toRange.r1}):t.fromRange.isColumn?this.grid.editing.moveColumns({index:t.fromRange.c1,count:t.fromRange.size.columns,targetIndex:t.toRange.c1}):console.log(t)},this._onMouseLeave=()=>{this.grid.rendering.hideSliders()},this.debounceHideSliders=q((()=>this.grid.rendering.hideSliders()),1e3,{isImmediate:!1}),this._onRender=()=>{const t=this.grid;t.selecting.updateSelectors(),t.dispatchEvent(new Xx("render",{grid:this.grid})),t.adapter&&t.options.pageSize&&t.rendering.isLastRowInViewport()&&t.rendering.loadNextPage(),t.rendering.updateSliderVisibility(),this.model.options.scrolling.scrollbarVisibilityTreshold>0&&this.debounceHideSliders()},this._onHorizontalSizerDblClick=t=>{t.stopPropagation(),this.editDisabled=!0,this.grid.rendering.autofitColumn(this.grid.rendering.currentResizedColumn.index),this.grid.dispatchEvent(new Jx("column.resize",this.grid,this.grid.rendering.currentResizedColumn,t))},this._onVerticalSizerDblClick=t=>{t.stopPropagation(),this.editDisabled=!0,this.grid.rendering.autofitRow(this.grid.rendering.currentResizedRow.index),this.grid.dispatchEvent(new tk("row.resize",this.grid,this.grid.rendering.currentResizedRow,t))},this._onDblClick=()=>{this.editDisabled?this.editDisabled=!1:this.grid.editing.startEdit()}}get isSliding(){return this.grid.hSlider.sliding||this.grid.vSlider.sliding}async init(){await this.grid.updateComplete,await this.table.updateComplete;const t=this.grid;t.addEventListener("wheel",this._onWheel,{passive:!0}),t.addEventListener("touchstart",this._onTouchStart,{passive:!0}),t.addEventListener("touchend",this._onTouchEnd,{passive:!0}),t.addEventListener("touchmove",this._onTouchMove,{passive:!0}),t.hSizer.addEventListener("resizestart",this._onHorizontalResizeStart),t.hSizer.addEventListener("resizestop",this._onHorizontalResizeStop),t.hSizer.addEventListener("resize",this._onHorizontalResize),t.hSizer.addEventListener("dblclick",this._onHorizontalSizerDblClick),t.vSizer.addEventListener("resizestart",this._onVerticalResizeStart),t.vSizer.addEventListener("resizestop",this._onVerticalResizeStop),t.vSizer.addEventListener("resize",this._onVerticalResize),t.vSizer.addEventListener("dblclick",this._onVerticalSizerDblClick),t.comment.addEventListener("comment.commit",this._onCommentCommit),t.addEventListener("keydown",this._onKeyDown),t.addEventListener("click",this._onClick),t.addEventListener("contextmenu",this._onContextMenu),t.addEventListener("toggle",(()=>t.rendering.debounceCalculateViewport())),t.addEventListener("pointerup",this._onMouseUp),t.addEventListener("pointerdown",this._onMouseDown);const e=q(this._onMouseMove,20,{maxWait:50,isImmediate:!0});t.addEventListener("pointermove",e),t.addEventListener("mouseleave",this._onMouseLeave),t.table.addEventListener("rendercells",this._onRender),t.selector.addEventListener("grid.selector.autofill",this._onAutofill),t.selector.addEventListener("grid.selector.move",this._onSelectorMove),t.addEventListener("dblclick",this._onDblClick),t.addEventListener("grid.edit",this._onEdit)}}class ik{get vScrolling(){return this._vScrolling}get hScrolling(){return this._hScrolling}get model(){return this.grid.model}get selection(){return this.grid.selection}get table(){return this.grid.table}constructor(t){this.grid=t,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!1,this.resizing=!1,this._vScrolling=!0,this._hScrolling=!0,this.debounceRenderCells=q(this.renderCells,50,{isImmediate:!1,maxWait:100}),this.debounceCalculateViewport=q(this.calculateViewport,200)}isLastRowInViewport(){const t=this.grid.table.viewport.rows,e=this.model.visibleRows;return t[t.length-1]==e[e.length-1]}renderCells(t){t=t||{vertical:this.requireVerticalUpdate,horizontal:this.requireHorizontalUpdate},this.grid.comment.deatach(),this.grid.table.renderCells(t),this.requireHorizontalUpdate=!1,this.requireVerticalUpdate=!1,this.debounceCalculateViewport(),this.grid.objects.updatePostions()}renderAll(t=!1){this.grid.group?this.grid.group.grids.forEach((e=>e.rendering.render(t))):this.render(t)}async render(t=!1){this.grid.table&&this.model&&(this.grid.table.clearHeaderCache(),this.grid.table.clearBodyCache(),this.grid.table.isConnected&&(t&&(this.grid.table.requestUpdate(),await this.grid.table.updateComplete),this.grid.table.renderCells({horizontal:!0,vertical:!0}),this.calculateViewport()))}updateRange(t,e=!1){for(const i of this.model.getRangeIterator(t))this.updateCells([i],e)}updateCell(t,e=!1){this.updateCells([t],e)}updateSpilledCells(t){let e;t.prevSpillRange&&(e=new Set,this.model.getRangeIterator(t.prevSpillRange).forEach((t=>e.add(t)))),t.spillRange&&(e=e||new Set,this.model.getRangeIterator(t.spillRange).forEach((t=>e.add(t)))),e?.size>0&&this.updateCells(e)}updateCells(t,e=!1){if(e)for(const e of t)e.invalidateStyle(),e.invalidateValue(),this.model.calculations.clearDependecies(e).evaluate(e),this.updateSpilledCells(e);const i=this.grid.table;for(const e of t)i.renderBodyCell(e);e&&(this.model.calculations.invalidateDependants(t).forEach(((t,e)=>{t?this.grid.group.getGrid(t)?.table.renderBodyCell(e):i.renderBodyCell(e),this.updateSpilledCells(e)})),this.grid.dispatchGridEvent("calculate",{cells:Array.from(t)}))}updateHeaders(){this.model.indexVisibleColumns(),this.table.clearHeaderCache(),this.table.createHeaderRows(),this.table.renderHeader()}calculateViewport(t=!1){this.grid.logger.info("calculate viwport"),this.updateCells(this.model.calculateViewport(),t)}updateSliders(){const t=this.table.viewportSize;this.grid.vSlider.maxValue=this.model.visibleRows.length,this.grid.vSlider.pageSize=t.h/this.model.options.rowHeight,this.grid.vSlider.value=this.table.rowOffset,this.grid.hSlider.maxValue=this.model.visibleColumns.length,this.grid.hSlider.pageSize=t.w/this.model.options.columnWidth,this.grid.hSlider.value=this.table.colOffset}isVerticalScrollingEnabled(){return!1!==this.grid.options.scrolling.verticalOverscroll||this.table.viewport.rows.length<this.model.visibleRows.length}isHorizontalScrollingEnabled(){return!1!==this.grid.options.scrolling.horizontalOverscroll||this.table.viewport.columns.length<this.model.visibleColumns.length}updateSliderVisibility(){this._vScrolling=this.isVerticalScrollingEnabled(),this._vScrolling?(this.grid.vSlider.show(),xt(this.grid.vSlider)):(this.grid.vSlider.hide(),kt(this.grid.vSlider)),this._hScrolling=this.isHorizontalScrollingEnabled(),this._hScrolling?(this.grid.hSlider.show(),xt(this.grid.hSlider)):(this.grid.hSlider.hide(),kt(this.grid.hSlider))}hideSliders(){this.grid.vSlider.hide(),this.grid.hSlider.hide()}scrollVerticalByPixels(t){if(!this.vScrolling)return;let e,i=this.table.rowOffset,o=0,r=0;if(t>0){for(;o<t&&i+r<this.model.visibleRows.length;)o+=this.model.visibleRows[i+r++].height+2;i+=r}else if(t<0){for(t=Math.abs(t);o<t&&i+r>=0;)e=this.model.visibleRows[Math.min(this.model.visibleRows.length-1,i+r--)],o+=(e?e.height:0)+2;i+=r}i>=this.model.visibleRows.length&&(i=this.model.visibleRows.length-1),this.requireVerticalUpdate=!0,this.table.rowOffset=Math.max(0,i),this.debounceRenderCells(),this.updateSliders()}scrollHorizontalByPixels(t){if(!this.hScrolling)return;let e=this.table.colOffset,i=0,o=0;if(t>0){for(;i<t&&e+o<this.model.visibleColumns.length;)i+=this.model.visibleColumns[e+o++].width+2;e+=o}else if(t<0){for(t=Math.abs(t);i<t&&e+o>=0;)i+=this.model.visibleColumns[Math.min(this.model.visibleColumns.length-1,e+o--)].width+2;e+=o}e>=this.model.visibleColumns.length&&(e=this.model.visibleColumns.length-1),this.requireHorizontalUpdate=!0,this.table.colOffset=Math.max(0,e),this.debounceRenderCells(),this.updateSliders()}updateCellSelectionRange(){const t=this.table;for(const e of this.model.getRangeIterator(this.selection.range,!1))t.renderBodyCell(e)}getAdapterRequestFilters(){return{offset:0,filter:this.model?.filter?Array.from(this.model.filter.settings.values()):null,order:this.model?.sorting?.settings}}async toggleRow(t,e=!0){const i=this.model.rows[t];if(i.isLoaded||i.isPartialyLoaded)i.toggleCollapse(!1,this.model.options.unhideRowAfterExpand),this.table.renderCells({vertical:!0});else if(this.grid.adapter){const e=this.table.getRowByModelIndex(t);e&&e.expander&&(e.expander.state="waiting"),i.collapsed=!1;const o=Object.assign(this.getAdapterRequestFilters(),{parent:{r:i.index,props:i.properties}}),[r]=await Promise.all([this.grid.adapter.getRows(o)]);this.model.insertRowData(i,0,r),o.rows=r;const[s]=await Promise.all([this.grid.adapter.getCells(o)]);s?.map((t=>this.model.getCellByCoords(t.r,t.c)?.update(t))),this.table.requestUpdate()}this.updateSliders(),e&&this.grid.dispatchEvent(new Xx("row.toggle",{grid:this.grid,row:i}))}toggleColumn(t,e=!0){const i=this.model.columns[t];i.toggleCollapse(!1,this.model.options.unhideColumnAfterExpand),this.table.renderCells({horizontal:!0}),this.updateSliders(),e&&this.grid.dispatchEvent(new Xx("column.toggle",{grid:this.grid,column:i}))}setRowExpandLevel(t){this.model.setRowExpandLevel(t),this.table.rowOffset=0,this.table.renderCells({vertical:!0}),this.updateSliders(),this.grid.dispatchEvent(new Xx("row.toggle",{grid:this.grid}))}setColumnExpandLevel(t){this.model.setColumnExpandLevel(t),this.table.colOffset=0,this.table.renderCells({horizontal:!0}),this.updateSliders(),this.grid.dispatchEvent(new Xx("column.toggle",{grid:this.grid}))}async exportHTML(){const t=yt("div");kt(t),document.body.appendChild(t);const e=yt("og-table");e.grid=this.grid,e.model=this.model,e.renderAll=!0,t.appendChild(e),await e.updateComplete;const i=this.model.options?.print?.rowBreaks,o=e.table,r=i&&i.length>0;if(r){const t=o.querySelector("colgroup"),r=[...o.tBodies[0].rows],s=this.model.options?.print?.rowTitles?Ev.fromA1(this.model.options?.print?.rowTitles):null,n=s?Array.from({length:s.r2-s.r1+1},((t,i)=>r[e.rowMap.get(s.r1+i)])):[];for(let o=0;o<i.length;o++){const s=yt("table");s.appendChild(t.cloneNode(!0));const a=yt("tbody");s.appendChild(a);const l=e.rowMap.get(i[o]),c=o<i.length-1?e.rowMap.get(i[o+1]):this.model.visibleRows.length-1;n.forEach((t=>a.appendChild(t.cloneNode(!0))));for(let t=l;t<=c;t++)a.appendChild(r[t]);e.shadowRoot.appendChild(s)}t.cloneNode(!0)}const s=`\n\t\t\t<style>\n\t\t\t\thtml {\n\t\t\t\t\t${Ua(Ja().themes.get("og-light")).cssText}\n\t\t\t\t}\n\t\t\t\t${r?"table {break-after: page}":""}\n\t\t\t\t${qx.styles.map((t=>t.cssText)).join("\n")}\n\t\t\t</style>\n\n\t\t`,n=s+e.shadowRoot.innerHTML.replace(/<!---->/g,"");return t.remove(),n}stopAutoscroll(){this.autoscrollTimer&&window.clearInterval(this.autoscrollTimer)}startAutoscroll(){this.stopAutoscroll(),this.autoscrollTimer=window.setInterval((()=>{if(0==this.autoscrollValue)return this.stopAutoscroll();const t=Math.pow(this.autoscrollValue,av.AUTOSCROLL_RATIO);switch(this.autoscrollDirection){case"down":this.scrollVerticalByPixels(t);break;case"up":this.scrollVerticalByPixels(-t);break;case"left":this.scrollHorizontalByPixels(-t);break;case"right":this.scrollHorizontalByPixels(t)}}),av.AUTOSCROLL_INTERVAL)}autoscroll(t){const{x:e,y:i}=t,o=this.table.clientWidth/this.table.zoom-this.table.totalHeaderWidth,r=this.table.clientHeight/this.table.zoom-this.table.totalHeaderHeight;let s,n=0;e<av.AUTOSCROLL_TRESHOLD&&e<i&&e<r-i?(s="left",n=av.AUTOSCROLL_TRESHOLD-e):o-e<av.AUTOSCROLL_TRESHOLD&&o-e<i&&o-e<r-i?(s="right",n=av.AUTOSCROLL_TRESHOLD-o+e):i<av.AUTOSCROLL_TRESHOLD?(s="up",n=av.AUTOSCROLL_TRESHOLD-i):r-i<av.AUTOSCROLL_TRESHOLD&&(s="down",n=av.AUTOSCROLL_TRESHOLD-r+i),this.autoscrollDirection=s,this.autoscrollValue=n,this.stopAutoscroll(),n>0&&this.startAutoscroll()}async load(t){t=t||this.getAdapterRequestFilters();const e=t.parent?.r??null,i=null!=e?this.model.rows[e]:this.model.rowRoot,[o]=await Promise.all([this.grid.adapter.getRows(t)]);o.length>0&&null===e&&this.model.insertRowData(i,t.offset,o);const[r]=await Promise.all([this.grid.adapter.getCells(t)]);r?.map((t=>this.model.getCellByCoords(t.r,t.c)?.update(t))),this.table.requestUpdate(),o.length>=this.model.options.pageSize?i.count=1/0:i.count=i.children.length,this.grid.logger.info(`loaded ${o.length} rows`),this.grid.loading=!1,this.grid.dispatchEvent(new Xx("afterLoad",{grid:this.grid}))}async loadNextPage(t=null,e=!1){if(this.grid.loading)return;const i=null!=t?this.model.rows[t]:this.model.rowRoot;if(!e&&i.isLoaded)return;this.grid.dispatchEvent(new Xx("beforeLoad",{grid:this.grid})),this.grid.loading=!0;const o=this.model.rows.length;this.grid.logger.info(`loading rows offset = ${o}`),await this.load(Object.assign(this.getAdapterRequestFilters(),{offset:o,parent:{r:t,props:null}}))}get totalSize(){return{width:this.table.totalHeaderWidth+this.model.visibleColumns.reduce(((t,e)=>t+e.width),0),height:this.table.thead.offsetHeight+this.model.visibleRows.reduce(((t,e)=>t+e.height),0)}}autofitColumn(t,e=!1,i=!0){const o="number"==typeof t?this.model.columns[t]:t,r=this.autofitDiv??(this.autofitDiv=yt("div"));r.style.position="absolute",r.style.zIndex="100000",Ht(r,{l:-1e3,t:-1e3}),this.grid.shadowRoot.appendChild(r);let s=0;for(const t of this.model.getRangeIterator(Ev.fromA1(o.address),!!e)){const e=IC(t).call(this.table,r,t)||r;e.style.width="auto",s=Math.max(s,e.offsetWidth)}if(o.header){for(const t of o.header)t&&(t.html?r.innerHTML=t.label??"":r.innerText=t.label??"",s=Math.max(s,r.offsetWidth));r.innerHTML=""}o.width=s+22,i&&this.table.renderCells({horizontal:!0})}autofitColumns(t=!1){this.model.columns.forEach((e=>this.autofitColumn(e,t,!1))),this.table.renderCells({horizontal:!0})}autofitRow(t,e=!1,i=!0){const o="number"==typeof t?this.model.rows[t]:t,r=this.autofitDiv??(this.autofitDiv=yt("div"));r.style.position="absolute",r.style.zIndex="100000",Ht(r,{l:-1e3,t:-1e3}),this.grid.shadowRoot.appendChild(r);let s=0;for(const t of this.model.getRangeIterator(Ev.fromA1(o.address),!!e)){const e=IC(t).call(this.table,r,t)||r;e.style.height="auto",s=Math.max(s,e.offsetHeight)}o.height=s+8,i&&this.table.renderCells({vertical:!0})}autofitRows(t=!1){this.model.rows.forEach((e=>this.autofitRow(e,t,!1))),this.table.renderCells({vertical:!0})}scrollTo(t,e=0){let i;i=Q(t)?Ev.fromA1(t):new Ev(e,t),this.table.rowOffset=i.r1,this.table.colOffset=i.c1,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!0,this.debounceRenderCells(),this.updateSliders()}}class ok{get model(){return this.grid.model}get selection(){return this.grid.editing.isFormulaMode?this.formulaSelection:this.grid.selection}get selector(){return this.grid.editing.isFormulaMode?this.grid.formulaSelector:this.grid.selector}get formulaSelection(){return this._formulaSelection}get events(){return this.grid.events}get table(){return this.grid.table}get isSelecting(){return this.isCellSelecting||this.columnSelecting||this.rowSelecting}get isCellSelecting(){return this.selector.isSelecting}get isAutofilling(){return this.selector.isAutofilling}get isMoving(){return this.selector.isMoving}get isSelectorOperationActive(){return this.selector.isSelectorOperationActive}get isFormulaSelectorOperationActive(){if(!this.grid.editing.isFormulaMode)return!1;for(const t of this.formulaSelectors.values())if(t.isSelectorOperationActive)return!0;return!1}get activeCell(){const{c:t,r:e}=this.selection.activeCellCoords;return this.model.rows[e]?.cell(t)}constructor(t){this.grid=t,this.columnSelecting=!1,this.rowSelecting=!1,this._formulaSelection=new $x(0,0,0,0),this.formulaSelectors=new Map,this.debounceMoveSelector=q(((t,e)=>this.moveSelector(t,e)),10)}moveToSelection(){const t=new Ev(this.selection.range.c1,this.selection.range.r1);this.table.viewportRange.contains(t)}select(t,e=!1){this.selection.setRange(t),this.updateSelector(),e&&this.grid.dispatchEvent(new Xx("select",{grid:this.grid}))}canExtend(){const{enabled:t,multiSelect:e}=this.model.options.selecting;return t&&e&&this.selector?.isVisible}startCellSelecting(t,e=!1){this.grid.style.cursor="cell",e&&this.canExtend()?(this.columnSelecting=!1,this.rowSelecting=!1,this.selection.range.c2=t.c1,this.selection.range.r2=t.r1,this.startSelectingRange=t.clone(),this.selector.startSelecting(this.selection.range.clone()),this.grid.editing.isFormulaMode?this.updateFormulaSelector():this.updateSelector(),this.grid.dispatchEvent(new Xx("select",{grid:this.grid}))):(this.startSelectingRange=t.clone(),this.select(t,!0),this.selector.startSelecting(t))}startColumnSelecting(t,e=!1){if(e&&this.canExtend()&&!this.selection.range.isRow)this.columnSelecting=!0,this.rowSelecting=!1,this.selection.range.r1=0,this.selection.range.r2=1/0,this.selection.range.c2=t,this.startSelectingRange=new Ev(t,null,t,null),this.updateSelector(),this.grid.dispatchEvent(new Xx("select",{grid:this.grid}));else{this.columnSelecting=!0;const e=new Ev(t,null,t,null);this.startSelectingRange=e.clone(),this.select(e,!0)}}startRowSelecting(t,e=!1){if(e&&this.canExtend()&&!this.selection.range.isColumn)this.rowSelecting=!0,this.columnSelecting=!1,this.selection.range.c1=0,this.selection.range.c2=1/0,this.selection.range.r2=t,this.startSelectingRange=new Ev(null,t,null,t),this.updateSelector(),this.grid.dispatchEvent(new Xx("select",{grid:this.grid}));else{this.rowSelecting=!0;const e=new Ev(null,t,null,t);this.startSelectingRange=e.clone(),this.select(e,!0)}}updateSelecting(t,e){const i=this.model.options.selecting.multiSelect;(this.isCellSelecting||this.rowSelecting)&&(i||(this.selection.range.r1=e),this.selection.range.r2=e),(this.isCellSelecting||this.columnSelecting)&&(i||(this.selection.range.c1=t),this.selection.range.c2=t),this.grid.editing.isFormulaMode?(this.updateFormulaSelector(),this.formulaSelectors.forEach((i=>i.updateMovingOperations(t,e)))):(this.updateSelector(),this.hideFormulaSelector(),this.selector.updateMovingOperations(t,e))}stopSelecting(){this.grid.rendering.stopAutoscroll(),this.isSelecting&&!this.selection.range.equals(this.startSelectingRange)&&this.grid.dispatchEvent(new Xx("select",{grid:this.grid})),this.columnSelecting=!1,this.rowSelecting=!1,this.startSelectingRange=null,this.selector.stopSelectorOperations()}highlightSelection(){const t=this.selection.range,[e,i]=[Math.min(t.c1,t.c2),Math.max(t.c1,t.c2)],[o,r]=[Math.min(t.r1,t.r2),Math.max(t.r1,t.r2)],s=i-e+1,n=r-o+1;this.table.highlightColHeaderCells(s<1/0?Array.from(new Array(s),((t,i)=>i+e)):[]),this.table.highlightRowHeaderCells(n<1/0?Array.from(new Array(n),((t,e)=>e+o)):[])}updateSelector(t=!0){this.model.options.selecting.enabled?(this.showSelector(t),this.highlightSelection()):this.hideSelector(),this.grid.editing.isFormulaMode||this.grid.editing.endEdit()}showSelector(t=!0){this.selector&&(this.selector.show(),this.selector.select(this.selection.range,t))}hideSelector(){this.selector.hide()}moveSelector(t,e){if(this.selection.move(t,e,this.model.columns.length,this.model.rows.length),0!=e&&!this.model.rows[this.selection.range.r1].visible){const t=e>0?this.model.rows[this.selection.range.r1].nextVisible:this.model.rows[this.selection.range.r1].prevVisible;t&&(this.selection.range.r1=t.index,this.selection.range.r2=t.index)}if(0!=t&&!this.model.columns[this.selection.range.c1].visible){const e=t>0?this.model.columns[this.selection.range.c1].nextVisible:this.model.columns[this.selection.range.c1].prevVisible;e&&(this.selection.range.c1=e.index,this.selection.range.c2=e.index)}this.selector.selection=this.selection.range,this.selector.updatePosition();const i={c:0,r:0};(e>0&&this.selector.offsetTop+this.selector.offsetHeight>this.grid.clientHeight||e<0&&this.selector.offsetTop<this.table.totalHeaderHeight-1||e>=this.table.viewport.rows.length)&&(i.r+=e),(t>0&&this.selector.offsetLeft+this.selector.offsetWidth>this.grid.clientWidth||t<0&&this.selector.offsetLeft<this.table.totalHeaderWidth-1)&&(i.c+=t),0==i.c&&0==i.r||(this.table.colOffset=Math.max(0,this.table.colOffset+i.c),this.table.rowOffset=Math.min(Math.max(0,this.table.rowOffset+i.r),this.model.visibleRows.length-1),this.table.renderCells({horizontal:0!=i.c,vertical:0!=i.r}),this.grid.rendering.updateSliders()),this.grid.editing.isFormulaMode||this.grid.editing.endEdit(),this.highlightSelection(),this.grid.dispatchEvent(new Xx("select",{grid:this.grid}))}shiftActiveCell(t,e=!1){this.selection.moveActiveCell(t,0),this.selector.updatePosition(),e&&this.grid.dispatchEvent(new Xx("select",{grid:this.grid}))}updateFormulaSelector(t=!0){this.grid.editing.isFormulaMode?this.showFormulaSelector(t):this.hideFormulaSelector()}showFormulaSelector(t=!0){this.grid.formulaSelector.show(),this.grid.formulaSelector?.select(this.formulaSelection.range,t)}hideFormulaSelector(){this.grid.formulaSelector.hide()}updateFormulaSelectors(){this.formulaSelectors.forEach((t=>t.updatePosition()))}highlightColorItem(t){const e=$x.fromRange(Ev.fromA1(t.address)),i=yt("og-selector");this.grid.shadowRoot.appendChild(i),i.addEventListener("grid.selector.move",(t=>this.select(t.selector.selection.clone()))),i.addEventListener("grid.selector.resize",(t=>this.select(t.selector.selection.clone()))),i.grid=this.grid,i.color=t.color,i.subselector=!1,i.movable=!0,i.resizable=!0,i.index=t.tokenIndex,this.formulaSelectors.set(t.tokenIndex,i),i.select(e.range.clone(),!1),i.show()}highlightFormula(t){this.removeFormulaHighlight(),this.formulaSelectors.clear();const e=new Set;t.colors.forEach((t=>{if(null==t.sheet||t.sheet==this.model.name)this.highlightColorItem(t);else if(this.grid.group){const i=this.grid.group.getGrid(t.sheet);if(!i)return;e.has(i)||(e.add(i),i.selecting.removeFormulaHighlight()),i.isConnected&&i.selecting.highlightColorItem(t)}}))}removeFormulaHighlight(){this.formulaSelectors?.forEach((t=>zt(t))),this.formulaSelectors.clear()}updateCopySelector(){this.grid.copySelector.isVisible&&this.grid.copySelector.updatePosition()}showCopySelector(){this.grid.copySelector.show(),this.grid.copySelector?.select(this.selection.range.clone(),!1)}hideCopySelector(){this.grid.copySelector.hide()}updateSelectors(){this.updateSelector(!1),this.updateCopySelector(),this.updateFormulaSelectors()}stopSelectOperations(){this.stopSelecting(),this.formulaSelectors.forEach((t=>t.stopSelectorOperations())),this.grid.style.removeProperty("cursor")}enter(){const t=this.grid.group;if(this.grid.editing.isFormulaMode&&t){const e=t.formulaModeGrid;e.editing.commitEdit(),t.activateGrid(e.model.name)}else this.debounceMoveSelector(0,1)}}class rk extends Event{}class sk extends En{get isOpen(){return this._open}get isValid(){return this._valid}validate(){return this._valid=!0,this.activeCell&&(this._valid=hw(this.activeCellModel,this.getValue())),this.classList.toggle("invalid",!this._valid),this._valid}constructor(){super(),this.cancel=!1,this._open=!1,this._valid=!0,this.init()}getDisplayValue(){return null}init(){this.addEventListener("keydown",(t=>{"Enter"==t.key?this.close():"Escape"==t.key?(this.cancel=!0,this.close()):t.stopPropagation()}))}connectedCallback(){super.connectedCallback(),this.performUpdate()}alignWithCell(){if(!this.activeCell)return;const t=Tt(this.activeCell,this.grid);Ht(this,{t:t.top*this.grid.zoom,l:t.left*this.grid.zoom}),Nt(this,{w:this.activeCell.offsetWidth,h:this.activeCell.offsetHeight})}open(t,e=null,i=!0){this._valid=!0,this.initialValue=e,this._open=!0,this.grid=t;const o=t.selecting.activeCell;return this.activeCellModel=o,this.activeCell=this.grid.table.getCellByModelIndex(o.c,o.r),this.grid.selector.hide(),xt(this),i&&this.alignWithCell(),this.activate(o),null!==e&&this.setValue(e),Jt(this,this.grid.zoom),this}commit(){this._open&&!this.cancel&&this.activeCellModel&&(this.grid.editing.updateCell(this.activeCellModel,{v:this.getValue(),dv:this.getDisplayValue()}),this.grid.rendering.updateCell(this.activeCellModel,!0)),this.cancel=!1}close(){this._open&&(this.deactivate(),kt(this),this.grid.table.renderBodyCell(this.activeCellModel),this.grid.selecting.showSelector(),this.grid.focus(),this._open=!1,this.grid.editing.endEdit()),this.cancel=!1}activate(t){this.activeCellModel=t,this.dispatchEvent(new rk("activate"))}deactivate(){this.dispatchEvent(new rk("deactivate"))}}sk.baseStyles=ks`
|
|
4400
|
+
`,this.clearHeaderCache=()=>{this.resetFreezeLeft(),this.hCache=new Dx(this.model.columns.length,this.columnHeaderCount),this.hCache.disabled=!this.model.options.cellCache},this.clearBodyCache=()=>{this.bCache=new Dx(this.model.columns.length,this.model.rows.length),this.bCache.disabled=!this.model.options.cellCache},this.cellRenderSchedules=new WeakMap}get thead(){return this._thead?this._thead:this._thead=yt("thead")}get tbody(){return this._tbody?this._tbody:this._tbody=yt("tbody")}get colgroup(){return this._colgroup?this._colgroup:this._colgroup=yt("colgroup")}get table(){return this._table||(this._table=yt("table"),this._table.appendChild(this.colgroup),this._table.appendChild(this.thead),this._table.appendChild(this.tbody)),this._table}get colMap(){return this._colMap}get rowMap(){return this._rowMap}get freezeLeft(){if(null==this._freezeLeft){const t=this.model.options.freezeLeft;if(t>=this.model.columns.length)this._freezeLeft=0;else if(this.offsetWidth>0){let e=0;for(let i=0;i<t;i++)e+=this.model.columns[i].width;this._freezeLeft=e<this.offsetWidth/2?t:0}else this._freezeLeft=t}return this._freezeLeft}get freezeTop(){return null==this._freezeTop&&(this._freezeTop=this.model.options.freezeTop),this._freezeTop}previewZoom(t){Jt(this.table,t)}highlightColHeaderCells(t){if(!this.model.options.colLetters)return;this._highlightedColHeaderCells.forEach((t=>t.className="hlabel")),this._highlightedColHeaderCells=[];const e=this.rowHeaderCount;t.forEach((t=>{const i=this.hRows[this.model.hasColumnTreeEnabled?1:0].children[this.colMap.get(t)+e];i&&(this._highlightedColHeaderCells.push(i),i.className="hlabel selected")}))}highlightRowHeaderCells(t){this.model.options.rowNumbers&&0!=this.model.rows.length&&(this._highlightedRowHeaderCells.forEach((t=>t.className="vlabel")),this._highlightedRowHeaderCells=[],t.forEach((t=>{const e=this.getRowByModelIndex(t)?.children[this.model.hasRowTreeEnabled?1:0];e&&(this._highlightedRowHeaderCells.push(e),e.className="vlabel selected")})))}get columnHeaderCount(){return this.model.headerCount+(this.model.hasColumnTreeEnabled?1:0)+(this.model.hasFilter?1:0)+(this.model.options.colLetters?1:0)}get rowHeaderCount(){return(this.model.hasRowTreeEnabled?1:0)+(this.model.options.rowNumbers?1:0)}get renderRowCount(){return this.renderAll?this.model.visibleRows.length:Math.round(Math.min(this.clientHeight/Ax.MIN_ROW_HEIGHT,this.model.rows.length))}get renderColCount(){return this.renderAll?this.model.visibleColumns.length+this.rowHeaderCount:Math.round(Math.min(this.clientWidth/Ax.MIN_COL_WIDTH||5,this.model.columns.length+this.rowHeaderCount))}get totalHeaderHeight(){let t=0,e=0;this.model.hasColumnTreeEnabled&&(t+=this.treeHeaderHeight,++e),this.model.options.colLetters&&(t+=this.thead.children[e].offsetHeight||this.model.options.rowHeight,++e);for(let i=0;i<this.model.headerCount;i++)t+=this.thead.children[e+i].offsetHeight||this.model.options.rowHeight;return this.model.hasFilter&&(t+=this.model.options.rowHeight),t}get treeHeaderWidth(){return this.model.hasRowTreeEnabled?15*this.model.maxRowLevel+20:0}get treeHeaderHeight(){return this.model.hasColumnTree?15*this.model.maxColumnLevel+20:0}get totalHeaderWidth(){let t=0;return this.model.options.rowNumbers&&(t+=Ax.ROW_HEADER_WIDTH),t+=this.treeHeaderWidth,t}get viewportSize(){return this._viewportSize||(this._viewportSize=this.renderAll?{w:1/0,h:1/0}:{w:(this.clientWidth-this.totalHeaderWidth-Ax.SLIDER_SIZE)/this.zoom,h:(this.clientHeight-this.totalHeaderHeight-Ax.SLIDER_SIZE)/this.zoom}),this._viewportSize}get viewport(){return this._viewport||(this._viewport=this.model.getViewport({c:this.colOffset,r:this.rowOffset},this.viewportSize,{t:this.model.options.freezeTop,l:this.freezeLeft,b:this.model.options.freezeBottom,r:this.model.options.freezeRight})),this._viewport}get viewportRange(){return 0==this.viewport.columns.length||0==this.viewport.rows.length?null:new Ev(this.viewport.columns[0].index,this.viewport.rows[0].index,this.viewport.columns[this.viewport.columns.length-1].index,this.viewport.rows[this.viewport.rows.length-1].index)}findColumnIndexByOffset(t){let e=0;const i=this.colgroup.children;for(let o=0;o<i.length;o++)if(e+=i[o].offsetWidth,e>=t)return o;return-1}findRowByOffset(t){const e=(t>this.thead.offsetHeight?this.tbody:this.thead).children;t>this.thead.offsetHeight&&(t-=this.thead.offsetHeight);let i=0;for(let o=0;o<e.length;o++){const r=e[o];if(i+=r.offsetHeight,i>=t)return r}return null}findTableCellByOffset(t,e){t/=this.zoom,e/=this.zoom;const i=this.findRowByOffset(e),o=this.findColumnIndexByOffset(t),r=i&&o>-1?i.children[o]:null;return r&&!Ct(r)?r:null}findNearestTableCellByOffset(t,e){let i,o;t/=this.zoom,e/=this.zoom;const r=this.findRowByOffset(e),s=this.findColumnIndexByOffset(t);i=e<0?this.tbody.children[0]:e>this.tbody.offsetHeight+this.thead.offsetHeight?this.tbody.children[this.viewport.rows.length-1]:r,o=t<0?this.rowHeaderCount:t>=this.tbody.offsetWidth?this.viewport.columns.length+this.rowHeaderCount-1:s;let n=i&&o>-1?i.children[o]:null;for(;n&&Ct(n);)n=n.previousElementSibling;return[n,r&&s>-1?r.children[s]:null]}connectedCallback(){super.connectedCallback(),this.grid=Et(this,"og-grid")}willUpdate(){this._viewport=null,this._viewportSize=null,this.model&&(this.clearHeaderCache(),this.clearBodyCache())}updated(){this.model&&(this.createColumns(),this.createHeaderRows(),this.createBodyRows(),this.renderCells())}refresh(){this.clearHeaderCache(),this.clearBodyCache(),this.requestUpdate()}createColumns(){this._freezeLeft=null;const t=this.renderColCount;if(!this.cols||this.cols.length!=t){this.cols=new Array(t);for(let e=0;e<t;e++)this.cols[e]=yt("col"),this.cols.forEach((()=>this.colgroup.appendChild(this.cols[e])))}}createHeaderRows(){const t=this.columnHeaderCount,e=this.renderColCount;if(St(this.thead),!this.hRows||this.hRows.length!=t||!this.hRows[0]||this.hRows[0].children.length!=e){this.hRows=new Array(t);for(let i=0;i<t;i++){this.hRows[i]=yt("tr");for(let t=0;t<e;t++)this.hRows[i].appendChild(yt("th"))}}St(this.thead),this.hRows.forEach((t=>this.thead.appendChild(t)))}createBodyRows(){const t=this.renderRowCount,e=this.renderColCount,i=this.rowHeaderCount;if(!this.bRows||0==this.bRows.length||this.bRows.length!=t||this.bRows[0].children.length!=e)if(0==t&&this.grid.options.emptyPlaceholder)this.bRows=[yt("tr")],this.bRows[0].appendChild(yt("td"));else{this.bRows=new Array(t);for(let o=0;o<t;o++){this.bRows[o]=yt("tr");for(let t=0;t<i;t++)this.bRows[o].appendChild(yt("th"));for(let t=i;t<e;t++)this.bRows[o].appendChild(yt("td"))}}St(this.tbody),this.bRows.forEach((t=>this.tbody.appendChild(t)))}renderCells(t={vertical:!0,horizontal:!0}){this.table&&(t.vertical||t.horizontal)&&(this._viewport=null,t.horizontal&&this.renderHeader(),this.model.rows.length>0?(this.renderBody(),t.vertical&&this.renderRowTree()):this.model.options.emptyPlaceholder&&(this.renderEmptyBody(),this.table.appendChild(this.tbody)),this.dispatchEvent(new Gx("rendercells")))}renderEmptyBody(){const t=this.bRows[0].children[0];t.innerHTML="no data",t.className="empty-placeholder",t.colSpan=this.viewport.columns.length+this.rowHeaderCount}renderHeader(){let t;this.colMap.clear();const e=this.rowHeaderCount,i=this.viewport;this.model.hasRowTreeEnabled&&Nt(this.colgroup.children[0],{w:this.treeHeaderWidth},!0),this.model.options.rowNumbers&&Nt(this.colgroup.children[e-1],{w:Ax.ROW_HEADER_WIDTH},!0);for(let o=0;o<i.columns.length;o++)t=i.columns[o],this.model.autofitColumns.has(t.index)&&(this.grid.rendering.autofitColumn(t.index,!0,!1),this.model.autofitColumns.delete(t.index)),this.colMap.set(t.index,o),Nt(this.colgroup.children[o+e],{w:t.width}),jt(this.colgroup.children[o+e],{w:t.width}),Pt(this.colgroup.children[o+e],{w:t.width});let o=0;this.model.hasColumnTreeEnabled&&(this.renderHeaderRowTree(this.hRows[o],o),++o),this.model.options.colLetters&&(Nt(this.hRows[o],{h:this.model.options.rowHeight}),this.renderHeaderRowLetters(this.hRows[o],o),++o);for(let t=0;t<this.model.headerCount;t++)this.renderHeaderRowLabels(this.hRows[o+t],o+t,t);o+=this.model.headerCount,this.model.hasFilter&&(Nt(this.hRows[o],{h:this.model.options.rowHeight}),this.renderHeaderRowFilters(this.hRows[o],o))}renderHeaderRowLetters(t,e){let i,o;const r=this.viewport,s=e-this.columnHeaderCount;let n=0;if(Nt(t,{h:this.model.options.rowHeight}),(this.model.hasRowTree||this.model.options.rowNumbers)&&!this.model.hasColumnTreeEnabled){i=t.children[n],i.colSpan=this.rowHeaderCount,i.rowSpan=this.columnHeaderCount;const e=n-this.rowHeaderCount,o=this.model.options.levelButtonCell;(!o||s==o.r&&e==o.c)&&this.renderHeaderRowCornerCell(i),n++}for(let e=n;e<this.rowHeaderCount;e++)_t(t.children[e]),n++;for(let e=n;e<t.children.length;e++)o=e-n,i=t.children[e],i.className="hlabel",r.columns.length>o?(i.innerHTML=r.columns[o].address,i.c=r.columns[o].index,Mt(i)):_t(i)}renderHeaderRowTree(t,e){if(!this.model.hasColumnTreeEnabled)return;let i,o,r=0;const s=e-this.columnHeaderCount,n=this.viewport,a=this.model.options.rowNumbers,l=this.model.hasRowTreeEnabled;if(Nt(t,{h:this.treeHeaderHeight}),i=t.children[r],!i)return;i.rowSpan=a||l?this.columnHeaderCount:1,i.colSpan=this.rowHeaderCount;const c=r-this.rowHeaderCount,h=this.model.options.levelButtonCell;let d=null;(!h&&(a||l)||h&&s==h.r&&c==h.c)&&(d=c,this.renderHeaderRowCornerCell(i)),(a||l)&&++r;for(let s=r;s<t.children.length;s++)o=s-r,i=t.children[s],n.columns.length>o?(d!=s&&(i.innerHTML="",i.className="htree",this.renderHeaderRowTreeCell(t,e,n.columns[o],i)),Mt(i)):_t(i)}renderHeaderRowTreeCell(t,e,i,o){let r=this.hCache.get(i.index,e);if(!r){r=yt("div"),this.hCache.set(i.index,e,r);const t=i.width+1,o=this.treeHeaderHeight/this.model.maxColumnLevel;if(i.hasChildren){const e=new Yu;e.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(i.index))),r.expander=e,r.appendChild(e),Ht(e,{l:t/2-Ax.EXPANDER_SIZE/2,t:i.level*o+o/2-Ax.EXPANDER_SIZE/2}),r.expanderLine=this.createExpanderLine("h"),r.appendChild(r.expanderLine),Ht(r.expanderLine,{l:this.model.options.columnTree.reversed?0:t/2,t:i.level*o+o/2}),Nt(r.expanderLine,{h:o/2,w:t/2+1})}if(i.hasParent){let e=i;for(;e.hasParent;){e=e.parent;const i=this.createExpanderLine("h");r.appendChild(i),Nt(i,{h:o/2,w:t-1}),Ht(i,{l:0,t:e.level*o+o/2})}}}r.expander&&(r.expander.state=i.collapsed?"closed":"open"),o.appendChild(r)}createExpanderLine(t){const e=yt("div");return e.className=`${t}tree-line`,e}renderHeaderRowLabels(t,e,i){let o,r,s,n,a=0;const l=this.viewport,c=e-this.columnHeaderCount,h=this.model.options.levelButtonCell;let d;this.model.hasRowTreeEnabled&&(r=t.children[a],r.innerHTML="",this.model.hasColumnTreeEnabled||this.model.options.colLetters||i>0?_t(r):(r.rowSpan=this.columnHeaderCount,r.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(r)),++a),this.model.options.rowNumbers&&(r=t.children[a],r.innerHTML="",this.model.hasRowTreeEnabled||this.model.options.colLetters||this.model.hasColumnTreeEnabled||i>0?_t(r):(r.rowSpan=this.columnHeaderCount,r.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(r)),++a);for(let u=a;u<t.children.length;u++)if(n=u-a,r=t.children[u],r.className="hlabel",r.innerHTML="",l.columns.length>n)if(o=l.columns[n],s=o.header[i],s.height&&(d=Math.max(s.height,d||0)),r.colSpan=1,r.rowSpan=1,r.c=o.index,r.r=i,s?.hidden)if(n==this.freezeLeft){let t=o.prevVisible,s=0;for(;t&&t.header[i]?.hidden;)t=t.prevVisible,++s;t&&t.header[i].cs?(Mt(r),r.colSpan=t.header[i].cs-s-1,r.rowSpan=t.header[i].rs||1,this.renderHeaderRowLabelCell(r,t,e,i)):_t(r)}else _t(r);else{if(o.header&&o.header[i]){const t=o.header[i].cs||1;r.colSpan=t>1?o.calculateRealColspan(t):1,r.rowSpan=o.header[i].rs||1}Mt(r),this.renderHeaderRowLabelCell(r,o,e,i),h&&h.r==c&&h.c==o.index&&this.renderHeaderRowCornerCell(r)}else _t(r);Nt(t,{h:d??this.model.options.rowHeight})}renderHeaderRowLabelCell(t,e,i,o){let r=this.hCache.get(e.index,i);const s=e.header[o];if(r||(r=yt("div"),s?s.html?r.innerHTML=s.label??"":r.innerText=s.label??"":r.innerHTML="",s&&null!=s._style&&bC(r,xw(this.model.styles.get(s._style))),this.hCache.set(e.index,i,r)),t.classList.toggle("trans",!!r.style.transform),this.model.options.columnHeaderTreeButtons&&e.hasChildren&&o==e.level){let t=r.expander;t||(t=new Yu,t.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(e.index))),r.expander=t,r.prepend(t),Ht(t,{l:4,t:4})),t.state=e.collapsed?"closed":"open"}if(e.sorting&&o==e.header.length-1&&(t.className+=" sort",r.sortingArrow||(r.sortingArrow=yt("og-sortingarrow"),r.appendChild(r.sortingArrow),Ht(r.sortingArrow,{t:2,r:5})),r.sortingArrow.sortSettings=this.model.sorting.get(e.index)),e.hasHeaderTooltip(o)){const t=yt("div");t.className="crn",r.appendChild(t),r.classList.add("tt")}t.appendChild(r)}renderHeaderRowFilters(t,e){let i,o,r=0;const s=this.viewport;this.model.hasRowTreeEnabled&&(i=t.children[r],i.innerHTML="",this.model.columnHeaderCount>1?_t(i):i.colSpan=this.model.columnHeaderCount,++r),this.model.options.rowNumbers&&(i=t.children[r],i.innerHTML="",this.model.hasRowTreeEnabled||this.model.options.colLetters||this.model.hasColumnTreeEnabled||this.model.headerCount>0?_t(i):(i.rowSpan=this.columnHeaderCount,i.colSpan=this.rowHeaderCount,this.renderHeaderRowCornerCell(i)),++r);for(let n=r;n<t.children.length;n++)if(o=n-r,i=t.children[n],s.columns.length>o){Mt(i);const r=s.columns[o];r.hasFilter?this.renderHeaderRowFilterCell(t,e,r,i):i.innerHTML=""}else _t(i)}renderHeaderRowFilterCell(t,e,i,o){o.innerHTML="",o.className="filter",o.c=i.index;let r=this.hCache.get(i.index,e);r||(r=yt("div"),r.filter=yt("og-filter-label"),r.appendChild(r.filter),this.hCache.set(i.index,e,r));const s=this.model.filter.get(i.index)?.term;r.filter.value=Array.isArray(s)?s.map((t=>t.value??t.key)).join(", "):s,o.appendChild(r)}renderHeaderRowCornerCell(t){this.cornerDiv=yt("div");const e=Math.max((this.treeHeaderWidth||Ax.EXPANDER_SIZE+2)/(this.model.maxRowLevel+1),Ax.EXPANDER_SIZE+2);if(this.model.hasRowTree)for(let t=0;t<=this.model.maxRowLevel;t++){const i=new qu;i.level=t,this.cornerDiv.appendChild(i),Ht(i,{l:t*e+e/2-Ax.EXPANDER_SIZE/2,b:3}),i.addEventListener("mousedown",(t=>t.stopPropagation())),i.addEventListener("toggle",(t=>{this.model.columns.filter((t=>t.levelButtons)).forEach((t=>this.bCache.deleteColumn(t.index))),this.grid.rendering.setRowExpandLevel(t.level)}))}if(this.model.hasColumnTree){const i=(this.model.hasColumnTree?this.treeHeaderHeight:t.clientHeight)/(this.model.maxColumnLevel+1),o=15*this.model.maxColumnLevel+20<=t.clientHeight;for(let t=0;t<=this.model.maxColumnLevel;t++){const r=new qu;r.level=t,this.cornerDiv.appendChild(r),Ht(r,o?{t:t*i+i/2-Ax.EXPANDER_SIZE/2,r:3}:{r:t*e+e/2-Ax.EXPANDER_SIZE/2,b:3}),r.addEventListener("mousedown",(t=>t.stopPropagation())),r.addEventListener("toggle",(t=>{this.grid.rendering.setColumnExpandLevel(t.level)}))}}St(t),t.appendChild(this.cornerDiv)}renderBody(){let t,e,i,o,r,s,n,a,l;const c=this.freezeLeft||0,h=this.rowHeaderCount,d=this.model.merges,u=this.model.options.rowNumbers,p=this.viewport,g=this.viewportRange;if(!g)return;const m=new Ev(this.colOffset+c,this.rowOffset,g.c2,g.r2);this.rowMap.clear();for(let c=0;c<this.bRows.length;c++)if(t=this.bRows[c],c<p.rows.length){i=p.rows[c],o=i.index,this.model.autofitRows.has(o)&&(this.grid.rendering.autofitRow(o,!1,!1),this.model.autofitRows.delete(o)),Nt(t,{h:i.height}),i.height<this.model.options.rowHeight&&Vt(t,i.height),this.rowMap.set(o,c),u&&(e=t.children[h-1],e.className="vlabel",e.r=o,e.c=-1,e.innerHTML=`<div>${Lv(o)}</div>`);for(let c=h;c<t.children.length;c++)if(e=t.children[c],c-h<p.columns.length){if(s=p.columns[c-h],r=s.index,e.r=o,e.c=r,n=i.cell(r),a=n.address,l=d.getMergeState(a),l==zx.HIDDEN){const t=d.hiddenCells.get(n.address),i=m.intersect(new Ev(t.c,t.r,t.c+t.cs-1,t.r+t.rs-1));if(!i||n.c!=i.c1||n.r!=i.r1){_t(e);continue}n=this.model.rows[t.r].cell(t.c),e.colSpan=i.size.columns,e.rowSpan=i.size.rows,e.c=n.c,e.r=n.r}else if(l==zx.MERGED){const t=n.merge;e.colSpan=t.cs,e.rowSpan=t.rs}else e.colSpan=1,e.rowSpan=1;Mt(e),this.renderBodyCell(n,e)}else _t(e);t.style.display="table-row",t.className=i.filterState>1?"filtered":""}else t.style.display="none"}scheduleRenderBodyCell(t,e){this.cellRenderSchedules.has(e)&&(window.clearTimeout(this.cellRenderSchedules.get(e)),this.cellRenderSchedules.delete(e)),this.cellRenderSchedules.set(e,window.setTimeout((()=>this.renderBodyCell(t,e))))}fixCellBorders(t,e){"none"==e.bottom?.style&&(t.style.borderBottomColor="transparent"),"none"==e.top?.style&&(t.style.borderTop="transparent"),"none"==e.right?.style&&(t.style.borderRight="transparent"),"none"==e.left?.style&&(t.style.borderLeft="transparent")}renderBodyCell(t,e){const i=!e;if(e=e||this.getCellByCellModel(t)){let o=i?null:this.bCache.get(t.c,t.r);if(o||(o=yt("div"),IC(t).call(this,o,t),this.bCache.set(t.c,t.r,o)),this.renderAll){const i=t.composedStyle;i&&this.fixCellBorders(e,i)}St(e),e.appendChild(o)}else this.bCache.delete(t.c,t.r)}mergeBodyCells(t){let e;const i=new Set;for(const o of t)if(e=this.bRows[o.r].cells[o.c],e&&!i.has(e))for(let t=o.r;t<o.r+o.rs;t++)for(let r=o.c;r<o.c+o.cs;r++)e=this.bRows[t].cells[r],e&&(t==o.r&&r==o.c?(e.colSpan=o.cs,e.rowSpan=o.rs):(i.add(e),_t(e)))}renderRowTree(){if(!this.model.hasRowTreeEnabled)return;let t;const e=this.viewport,i=-this.rowHeaderCount;for(let o=0;o<this.bRows.length;o++)t=this.bRows[o].children[0],t.innerHTML="",o<e.rows.length&&(t.className="vtree",this.renderRowTreeCell(i,e.rows[o],t))}renderRowTreeCell(t,e,i){let o=this.bCache.get(t,e.index);if(!o){o=yt("div"),this.bCache.set(t,e.index,o);const r=e.height+1,s=this.treeHeaderWidth/this.model.maxRowLevel;if(e.hasChildren){const t=new Yu;t.addEventListener("toggle",(()=>this.grid.rendering.toggleRow(e.index))),i.parentElement.expander=t,o.expander=t,o.appendChild(t),Ht(t,{t:r/2-Ax.EXPANDER_SIZE/2,l:e.level*s+s/2-Ax.EXPANDER_SIZE/2});const n=this.createExpanderLine("v");o.appendChild(n),Ht(n,{t:this.model.options.rowTree.reversed?0:r/2,l:e.level*s+s/2}),Nt(n,{w:s/2,h:r/2+1})}if(e.hasParent){let t=e;for(;t.hasParent;){t=t.parent;const e=this.createExpanderLine("v");o.appendChild(e),Nt(e,{w:s/2,h:r+2}),Ht(e,{t:-1,l:t.level*s+s/2})}}}o.expander&&(o.expander.state=e.collapsed?"closed":"open"),i.appendChild(o)}};Yx.styles=[Vx],Ux([$n({type:Object})],Yx.prototype,"model",void 0),Ux([$n({type:Boolean,reflect:!0})],Yx.prototype,"hideOuterBorder",void 0),Ux([$n({type:Number,hasChanged:()=>!1})],Yx.prototype,"rowOffset",void 0),Ux([$n({type:Number,hasChanged:()=>!1})],Yx.prototype,"colOffset",void 0),Ux([$n({type:Number,reflect:!0})],Yx.prototype,"zoom",void 0),Ux([$n({type:Boolean,reflect:!0})],Yx.prototype,"nogrid",void 0),Ux([$n({type:Boolean,reflect:!0})],Yx.prototype,"renderAll",void 0),Yx=Ux([In("og-table")],Yx);const qx=["F5","F12"];class Zx extends Event{constructor(t){super("grid.error",{bubbles:!0,composed:!0}),this.error=t}}class Xx extends Event{get selection(){return this.grid.selecting.selection}get activeCell(){return this.selection.activeCell}constructor(t,e){super(`grid.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e),this.cell&&(this.row=this.cell.row,this.column=this.cell.column)}}class Qx extends Xx{constructor(t){super("edit",t)}}class Kx extends Sp{constructor(t,e,i){super(`grid.${t}`,i),this.grid=e}}class Jx extends Kx{constructor(t,e,i,o){super(t,e,o),this.column=i}}class tk extends Kx{constructor(t,e,i,o){super(t,e,o),this.row=i}}class ek{get model(){return this.grid.model}get selection(){return this.grid.selection}get table(){return this.grid.table}constructor(t){this.grid=t,this.clickDisabled=!1,this.editDisabled=!1,this.clicked=!1,this.startOffset={x:0,y:0},this.suspendClick=()=>this.clickDisabled=!0,this.resumeClick=(t=!1)=>{this.isSliding||(t?setTimeout((()=>this.clickDisabled=!1),100):this.clickDisabled=!1)},this._onKeyDown=t=>{switch(qx.includes(t.key)||t.preventDefault(),t.key){case"Tab":t.preventDefault(),this.grid.selecting.shiftActiveCell(t.shiftKey?-1:1,!0);break;case"ArrowRight":this.grid.selecting.debounceMoveSelector(1,0);break;case"ArrowLeft":this.grid.selecting.debounceMoveSelector(-1,0);break;case"ArrowDown":this.grid.selecting.debounceMoveSelector(0,1);break;case"ArrowUp":this.grid.selecting.debounceMoveSelector(0,-1);break;case"PageUp":this.grid.selecting.debounceMoveSelector(0,-this.table.viewport.rows.length);break;case"PageDown":this.grid.selecting.debounceMoveSelector(0,this.table.viewport.rows.length);break;case"Home":this.grid.selecting.debounceMoveSelector(-this.selection.range.c1,t.ctrlKey?-this.selection.range.r1:0);break;case"End":this.grid.selecting.debounceMoveSelector(this.model.gridRange.c2-this.selection.range.c1,t.ctrlKey?this.model.gridRange.r2-this.selection.range.r1:0);break;case"Enter":this.grid.selecting.enter();break;case"Escape":this.grid.selecting.hideCopySelector();break;case"c":case"C":t.ctrlKey&&this.grid.editing.copySelection();break;case"v":case"V":t.ctrlKey&&this.grid.editing.paste();break;case"z":case"Z":if(!this.grid.options.undoRedo)return;t.ctrlKey&&this.grid.editing.undo();break;case"y":case"Y":if(!this.grid.options.undoRedo)return;t.ctrlKey&&this.grid.editing.redo();break;case"F2":t.preventDefault(),this.grid.editing.startEdit();break;case"Delete":t.preventDefault(),this.grid.objects.delete(),this.grid.editing.clearSelection();break;case"Backspace":t.preventDefault(),this.grid.editing.clearSelection();break;case"F1":if(!this.grid.options.commandWindow)return;t.preventDefault(),this.grid.openCommands()}1!=t.key.length||t.ctrlKey||this.grid.editing.startEdit(t.key)},this._onMouseMove=t=>{if(!this.model)return;let e=!0,i=!0;const o=this.grid.hSizer,r=this.grid.vSizer,{offsetX:s,offsetY:n}=t;let a=this.model.options.scrolling.scrollbarVisibilityTreshold;a<=0&&(a=Math.max(this.grid.clientWidth,this.grid.clientHeight)),s>this.grid.clientWidth-a?this.grid.vSlider.show():this.grid.vSlider.hide(),n>this.grid.clientHeight-a?this.grid.hSlider.show():this.grid.hSlider.hide();const[l,c]=this.table.findNearestTableCellByOffset(s,n);if(c&&"TH"==c.tagName){const i=Ct(c)&&l||c;if(this.model.options.columnResize&&!o.resizing&&i.classList.contains("hlabel")?i.offsetWidth-t.offsetX+i.offsetLeft<Ax.RESIZE_TRESHOLD?(o.snap(i,this.grid),this.grid.rendering.currentResizedColumn=this.model.columns[c.c]):kt(o):this.model.options.rowResize&&!r.resizing&&i.classList.contains("vlabel")&&(i.offsetHeight-t.offsetY+i.offsetTop<Ax.RESIZE_TRESHOLD?(r.snap(i,this.grid),this.grid.rendering.currentResizedRow=this.model.rows[c.r]):kt(r)),null!=c.c){const t=this.model.columns[c.c];t?.hasHeaderTooltip(c.r)&&(e=!1,this.grid.tooltip.attachToCell(c,t.header[c.r],"bottom"))}}if(l&&"TH"==l.tagName)this.grid.selecting.isSelecting&&(this.suspendClick(),this.grid.selecting.updateSelecting(l.c,l.r)),i=!1;else if(l&&"TD"==l.tagName)if(this.grid.selecting.isSelectorOperationActive||this.grid.selecting.isFormulaSelectorOperationActive){const{top:e,left:i}=Tt(l,this.grid);this.grid.rendering.autoscroll({x:i-this.table.totalHeaderWidth+t.offsetX-l.offsetLeft,y:e-this.table.thead.clientHeight+t.offsetY-l.offsetTop}),this.grid.selecting.isSelecting&&this.suspendClick(),this.grid.selecting.updateSelecting(l.c,l.r)}else{const t=this.model.rows[l.r]?.cell(l.c);t&&t.hasTooltip&&(e=!1,this.grid.tooltip.attachToCell(l,t)),t&&t.hasComment&&(e=!1,this.grid.comment.attachedTo!==l&&this.grid.comment.attachTo(l,t))}e&&(this.grid.tooltip.deatach(),this.grid.comment.deatach(this.model.options.comments.hideTimeout)),i&&(kt(o),kt(r))},this._onMouseDown=t=>{if(!(1&t.buttons))return;this.grid.setPointerCapture(t.pointerId),this.startOffset={x:t.offsetX,y:t.offsetY};const e=t.shiftKey;for(const i of t.composedPath()){if("TD"==i.tagName){const t=i;this.grid.selecting.startCellSelecting(new Ev(t.c,t.r),e);break}if("TH"==i.tagName){const t=i;i.matches(".sort")?this.grid.sorting.sort(t.c):t.classList.contains("filter")?this.grid.filtering.openFilter(this.model.columns[t.c],t):t.classList.contains("hlabel")?this.grid.selecting.startColumnSelecting(t.c,e):t.classList.contains("vlabel")&&this.grid.selecting.startRowSelecting(t.r,e);break}}},this._onMouseUp=t=>{if(0!=t.buttons)return;const e=Math.abs(this.startOffset.x-t.offsetX),i=Math.abs(this.startOffset.y-t.offsetY);Math.sqrt(Math.pow(e,2)+Math.pow(i,2))<this.model.options.events.click.mouseMoveTreshold&&this.resumeClick(),this.grid.releasePointerCapture(t.pointerId),this.grid.selecting.stopSelectOperations()},this._onClick=t=>{if(this.clickDisabled)return;if(this.grid.clientHeight-t.offsetY<this.grid.hSlider.offsetHeight)return;if(this.grid.clientWidth-t.offsetX<this.grid.vSlider.offsetWidth)return;const e=this.table.findTableCellByOffset(t.offsetX,t.offsetY),i="TD"==e?.tagName?this.model.rows[e.r]?.cell(e.c):null;this.grid.dispatchEvent(new Xx("click",{grid:this.grid,cell:i}))},this._onContextMenu=t=>{t.preventDefault();for(const e of t.composedPath())if("TD"==e.tagName){const i=e;this.grid.menus.openCellMenu(this.model.rows[i.r].cell(i.c),{x:t.pageX,y:t.pageY})}else if("TH"==e.tagName){const i=e;i.classList.contains("hlabel")?this.grid.menus.openColumnMenu(this.model.columns[i.c],{x:t.pageX,y:t.pageY}):i.classList.contains("vlabel")&&this.grid.menus.openRowMenu(this.model.rows[i.r],{x:t.pageX,y:t.pageY})}},this._onVerticalSlide=t=>{this.table.rowOffset=Math.min(t.value,this.model.visibleRows.length-1),this.grid.rendering.requireVerticalUpdate=!0,this.grid.rendering.renderCells()},this._onHorizontalSlide=t=>{this.table.colOffset=Math.min(t.value,this.model.visibleColumns.length-1),this.grid.rendering.requireHorizontalUpdate=!0,this.grid.rendering.renderCells()},this._onSlideStart=()=>{this.suspendClick()},this._onSlideStop=()=>{this.resumeClick(!0)},this._denbounceHorizontalScroll=Y((t=>this.grid.rendering.scrollHorizontalByPixels(t)),50),this._onWheel=t=>{t.ctrlKey||(0!=t.deltaY&&this.grid.rendering.scrollVerticalByPixels(t.deltaY),0!=t.deltaX&&this._denbounceHorizontalScroll(Math.sign(t.deltaX)*Math.min(100,Math.abs(t.deltaX))))},this._onTouchStart=t=>{this.grid.rendering.touchStartX=t.touches[0],this.grid.rendering.touchStartY=t.touches[0]},this._onTouchEnd=t=>{this.grid.rendering.touchStartX=t.touches[0],this.grid.rendering.touchStartY=t.touches[0]},this._onTouchMove=t=>{const e=this.grid.rendering;if(e.touchStartY){const i=e.touchStartY.clientY-t.touches[0].clientY;Math.abs(i)>this.model.options.rowHeight&&this.table.viewport.rows.length>0&&(e.scrollVerticalByPixels(i),e.touchStartY=t.touches[0])}if(e.touchStartX){const i=e.touchStartX.clientX-t.touches[0].clientX;Math.abs(i)>this.model.options.columnWidth&&this.table.viewport.columns.length>0&&(e.scrollHorizontalByPixels(i),e.touchStartX=t.touches[0])}},this._onHorizontalResizeStart=()=>{this.grid.rendering.resizing=!0,this.grid.rendering.currentResizedColumnWidth=this.grid.rendering.currentResizedColumn.width},this._onHorizontalResizeStop=t=>{this.suspendClick(),this.grid.rendering.resizing=!1,this.table.clearHeaderCache(),this.table.renderCells({horizontal:!0}),this.grid.dispatchEvent(new Jx("column.resize",this.grid,this.grid.rendering.currentResizedColumn,t))},this._onHorizontalResize=t=>{const e=this.grid.rendering;e.currentResizedColumn.width=e.currentResizedColumnWidth+t.deltaX,Nt(this.table.getColumnByModelIndex(e.currentResizedColumn.index),{w:e.currentResizedColumn.width},!0),this.grid.selecting.updateSelector()},this._onVerticalResizeStart=()=>{this.grid.rendering.resizing=!0,this.grid.rendering.currentResizedRowHeight=this.grid.rendering.currentResizedRow.height},this._onVerticalResizeStop=t=>{this.suspendClick(),this.grid.rendering.resizing=!1,this.table.clearBodyCache(),this.table.renderCells({vertical:!0}),this.grid.dispatchEvent(new tk("row.resize",this.grid,this.grid.rendering.currentResizedRow,t))},this._onVerticalResize=t=>{const e=this.grid.rendering;e.currentResizedRow.height=e.currentResizedRowHeight+t.deltaY,Nt(this.table.getRowByModelIndex(e.currentResizedRow.index),{h:e.currentResizedRow.height},!1),this.grid.selecting.updateSelector()},this._onCommentCommit=t=>{this.grid.model.comments.set(t.cell.address,t.items),t.cell.invalidateStyle(),this.grid.rendering.updateCells([t.cell])},this._onAutofill=t=>{if(this.suspendClick(),this.grid.selection.range.equals(t.selector.autofillRange))return;const{cells:e,oldValues:i}=lw(this.model,this.grid.selection.range,t.selector.autofillRange,t.selector.autofillDirection);this.grid.rendering.updateCells(e,!0),this.grid.selection.setRange(this.grid.selection.range.unite(t.selector.autofillRange)),this.grid.selecting.updateSelector(),this.grid.dispatchEvent(new Qx({grid:this.grid,editType:"autofill",cells:e,oldValues:i,newValues:e.map((t=>t.value2))}))},this._onEdit=t=>{if(t.fromHistory)return;const e=[],i=[],o=this.model.names.rangeMap;let r=[],s=[],n=[],a=[];switch(t.editType){case"value":r=t.newValues,s=t.newProps,n=t.oldValues,a=t.oldProps,t.cells.forEach((t=>{const r=t.address;e.push(r),i.push(o.get(r))}));break;case"insert_column":case"insert_row":t.newValues.forEach((t=>{const s=t.address;e.push(s),i.push(o.get(s)),r.push(t.getSourceData())}))}this.grid.history.push({type:t.editType,addresses:e,names:i,oldValues:n,oldProps:a,newValues:r,newProps:s})},this._onSelectorMove=t=>{this.suspendClick(),this.selection.setRange(t.toRange),t.fromRange.isRow?this.grid.editing.moveRows({index:t.fromRange.r1,count:t.fromRange.size.rows,targetIndex:t.toRange.r1}):t.fromRange.isColumn?this.grid.editing.moveColumns({index:t.fromRange.c1,count:t.fromRange.size.columns,targetIndex:t.toRange.c1}):console.log(t)},this._onMouseLeave=()=>{this.grid.rendering.hideSliders()},this.debounceHideSliders=Y((()=>this.grid.rendering.hideSliders()),1e3,{isImmediate:!1}),this._onRender=()=>{const t=this.grid;t.selecting.updateSelectors(),t.dispatchEvent(new Xx("render",{grid:this.grid})),t.adapter&&t.options.pageSize&&t.rendering.isLastRowInViewport()&&t.rendering.loadNextPage(),t.rendering.updateSliderVisibility(),this.model.options.scrolling.scrollbarVisibilityTreshold>0&&this.debounceHideSliders()},this._onHorizontalSizerDblClick=t=>{t.stopPropagation(),this.editDisabled=!0,this.grid.rendering.autofitColumn(this.grid.rendering.currentResizedColumn.index),this.grid.dispatchEvent(new Jx("column.resize",this.grid,this.grid.rendering.currentResizedColumn,t))},this._onVerticalSizerDblClick=t=>{t.stopPropagation(),this.editDisabled=!0,this.grid.rendering.autofitRow(this.grid.rendering.currentResizedRow.index),this.grid.dispatchEvent(new tk("row.resize",this.grid,this.grid.rendering.currentResizedRow,t))},this._onDblClick=()=>{this.editDisabled?this.editDisabled=!1:this.grid.editing.startEdit()}}get isSliding(){return this.grid.hSlider.sliding||this.grid.vSlider.sliding}async init(){await this.grid.updateComplete,await this.table.updateComplete;const t=this.grid;t.addEventListener("wheel",this._onWheel,{passive:!0}),t.addEventListener("touchstart",this._onTouchStart,{passive:!0}),t.addEventListener("touchend",this._onTouchEnd,{passive:!0}),t.addEventListener("touchmove",this._onTouchMove,{passive:!0}),t.hSizer.addEventListener("resizestart",this._onHorizontalResizeStart),t.hSizer.addEventListener("resizestop",this._onHorizontalResizeStop),t.hSizer.addEventListener("resize",this._onHorizontalResize),t.hSizer.addEventListener("dblclick",this._onHorizontalSizerDblClick),t.vSizer.addEventListener("resizestart",this._onVerticalResizeStart),t.vSizer.addEventListener("resizestop",this._onVerticalResizeStop),t.vSizer.addEventListener("resize",this._onVerticalResize),t.vSizer.addEventListener("dblclick",this._onVerticalSizerDblClick),t.comment.addEventListener("comment.commit",this._onCommentCommit),t.addEventListener("keydown",this._onKeyDown),t.addEventListener("click",this._onClick),t.addEventListener("contextmenu",this._onContextMenu),t.addEventListener("toggle",(()=>t.rendering.debounceCalculateViewport())),t.addEventListener("pointerup",this._onMouseUp),t.addEventListener("pointerdown",this._onMouseDown);const e=Y(this._onMouseMove,20,{maxWait:50,isImmediate:!0});t.addEventListener("pointermove",e),t.addEventListener("mouseleave",this._onMouseLeave),t.table.addEventListener("rendercells",this._onRender),t.selector.addEventListener("grid.selector.autofill",this._onAutofill),t.selector.addEventListener("grid.selector.move",this._onSelectorMove),t.addEventListener("dblclick",this._onDblClick),t.addEventListener("grid.edit",this._onEdit)}}class ik{get vScrolling(){return this._vScrolling}get hScrolling(){return this._hScrolling}get model(){return this.grid.model}get selection(){return this.grid.selection}get table(){return this.grid.table}constructor(t){this.grid=t,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!1,this.resizing=!1,this._vScrolling=!0,this._hScrolling=!0,this.debounceRenderCells=Y(this.renderCells,50,{isImmediate:!1,maxWait:100}),this.debounceCalculateViewport=Y(this.calculateViewport,200)}isLastRowInViewport(){const t=this.grid.table.viewport.rows,e=this.model.visibleRows;return t[t.length-1]==e[e.length-1]}renderCells(t){t=t||{vertical:this.requireVerticalUpdate,horizontal:this.requireHorizontalUpdate},this.grid.comment.deatach(),this.grid.table.renderCells(t),this.requireHorizontalUpdate=!1,this.requireVerticalUpdate=!1,this.debounceCalculateViewport(),this.grid.objects.updatePostions()}renderAll(t=!1){this.grid.group?this.grid.group.grids.forEach((e=>e.rendering.render(t))):this.render(t)}async render(t=!1){this.grid.table&&this.model&&(this.grid.table.clearHeaderCache(),this.grid.table.clearBodyCache(),this.grid.table.isConnected&&(t&&(this.grid.table.requestUpdate(),await this.grid.table.updateComplete),this.grid.table.renderCells({horizontal:!0,vertical:!0}),this.calculateViewport()))}updateRange(t,e=!1){for(const i of this.model.getRangeIterator(t))this.updateCells([i],e)}updateCell(t,e=!1){this.updateCells([t],e)}updateSpilledCells(t){let e;t.prevSpillRange&&(e=new Set,this.model.getRangeIterator(t.prevSpillRange).forEach((t=>e.add(t)))),t.spillRange&&(e=e||new Set,this.model.getRangeIterator(t.spillRange).forEach((t=>e.add(t)))),e?.size>0&&this.updateCells(e)}updateCells(t,e=!1){if(e)for(const e of t)e.invalidateStyle(),e.invalidateValue(),this.model.calculations.clearDependecies(e).evaluate(e),this.updateSpilledCells(e);const i=this.grid.table;for(const e of t)i.renderBodyCell(e);e&&(this.model.calculations.invalidateDependants(t).forEach(((t,e)=>{t?this.grid.group.getGrid(t)?.table.renderBodyCell(e):i.renderBodyCell(e),this.updateSpilledCells(e)})),this.grid.dispatchGridEvent("calculate",{cells:Array.from(t)}))}updateHeaders(){this.model.indexVisibleColumns(),this.table.clearHeaderCache(),this.table.createHeaderRows(),this.table.renderHeader()}calculateViewport(t=!1){this.grid.logger.info("calculate viwport"),this.updateCells(this.model.calculateViewport(),t)}updateSliders(){const t=this.table.viewportSize;this.grid.vSlider.maxValue=this.model.visibleRows.length,this.grid.vSlider.pageSize=t.h/this.model.options.rowHeight,this.grid.vSlider.value=this.table.rowOffset,this.grid.hSlider.maxValue=this.model.visibleColumns.length,this.grid.hSlider.pageSize=t.w/this.model.options.columnWidth,this.grid.hSlider.value=this.table.colOffset}isVerticalScrollingEnabled(){return!1!==this.grid.options.scrolling.verticalOverscroll||this.table.viewport.rows.length<this.model.visibleRows.length}isHorizontalScrollingEnabled(){return!1!==this.grid.options.scrolling.horizontalOverscroll||this.table.viewport.columns.length<this.model.visibleColumns.length}updateSliderVisibility(){this._vScrolling=this.isVerticalScrollingEnabled(),this._vScrolling?(this.grid.vSlider.show(),xt(this.grid.vSlider)):(this.grid.vSlider.hide(),kt(this.grid.vSlider)),this._hScrolling=this.isHorizontalScrollingEnabled(),this._hScrolling?(this.grid.hSlider.show(),xt(this.grid.hSlider)):(this.grid.hSlider.hide(),kt(this.grid.hSlider))}hideSliders(){this.grid.vSlider.hide(),this.grid.hSlider.hide()}scrollVerticalByPixels(t){if(!this.vScrolling)return;let e,i=this.table.rowOffset,o=0,r=0;if(t>0){for(;o<t&&i+r<this.model.visibleRows.length;)o+=this.model.visibleRows[i+r++].height+2;i+=r}else if(t<0){for(t=Math.abs(t);o<t&&i+r>=0;)e=this.model.visibleRows[Math.min(this.model.visibleRows.length-1,i+r--)],o+=(e?e.height:0)+2;i+=r}i>=this.model.visibleRows.length&&(i=this.model.visibleRows.length-1),this.requireVerticalUpdate=!0,this.table.rowOffset=Math.max(0,i),this.debounceRenderCells(),this.updateSliders()}scrollHorizontalByPixels(t){if(!this.hScrolling)return;let e=this.table.colOffset,i=0,o=0;if(t>0){for(;i<t&&e+o<this.model.visibleColumns.length;)i+=this.model.visibleColumns[e+o++].width+2;e+=o}else if(t<0){for(t=Math.abs(t);i<t&&e+o>=0;)i+=this.model.visibleColumns[Math.min(this.model.visibleColumns.length-1,e+o--)].width+2;e+=o}e>=this.model.visibleColumns.length&&(e=this.model.visibleColumns.length-1),this.requireHorizontalUpdate=!0,this.table.colOffset=Math.max(0,e),this.debounceRenderCells(),this.updateSliders()}updateCellSelectionRange(){const t=this.table;for(const e of this.model.getRangeIterator(this.selection.range,!1))t.renderBodyCell(e)}getAdapterRequestFilters(){return{offset:0,filter:this.model?.filter?Array.from(this.model.filter.settings.values()):null,order:this.model?.sorting?.settings}}async toggleRow(t,e=!0){const i=this.model.rows[t];if(i.isLoaded||i.isPartialyLoaded)i.toggleCollapse(!1,this.model.options.unhideRowAfterExpand),this.table.renderCells({vertical:!0});else if(this.grid.adapter){const e=this.table.getRowByModelIndex(t);e&&e.expander&&(e.expander.state="waiting"),i.collapsed=!1;const o=Object.assign(this.getAdapterRequestFilters(),{parent:{r:i.index,props:i.properties}}),[r]=await Promise.all([this.grid.adapter.getRows(o)]);this.model.insertRowData(i,0,r),o.rows=r;const[s]=await Promise.all([this.grid.adapter.getCells(o)]);s?.map((t=>this.model.getCellByCoords(t.r,t.c)?.update(t))),this.table.requestUpdate()}this.updateSliders(),e&&this.grid.dispatchEvent(new Xx("row.toggle",{grid:this.grid,row:i}))}toggleColumn(t,e=!0){const i=this.model.columns[t];i.toggleCollapse(!1,this.model.options.unhideColumnAfterExpand),this.table.renderCells({horizontal:!0}),this.updateSliders(),e&&this.grid.dispatchEvent(new Xx("column.toggle",{grid:this.grid,column:i}))}setRowExpandLevel(t){this.model.setRowExpandLevel(t),this.table.rowOffset=0,this.table.renderCells({vertical:!0}),this.updateSliders(),this.grid.dispatchEvent(new Xx("row.toggle",{grid:this.grid}))}setColumnExpandLevel(t){this.model.setColumnExpandLevel(t),this.table.colOffset=0,this.table.renderCells({horizontal:!0}),this.updateSliders(),this.grid.dispatchEvent(new Xx("column.toggle",{grid:this.grid}))}async exportHTML(){const t=yt("div");kt(t),document.body.appendChild(t);const e=yt("og-table");e.grid=this.grid,e.model=this.model,e.renderAll=!0,t.appendChild(e),await e.updateComplete;const i=this.model.options?.print?.rowBreaks,o=e.table,r=i&&i.length>0;if(r){const t=o.querySelector("colgroup"),r=[...o.tBodies[0].rows],s=this.model.options?.print?.rowTitles?Ev.fromA1(this.model.options?.print?.rowTitles):null,n=s?Array.from({length:s.r2-s.r1+1},((t,i)=>r[e.rowMap.get(s.r1+i)])):[];for(let o=0;o<i.length;o++){const s=yt("table");s.appendChild(t.cloneNode(!0));const a=yt("tbody");s.appendChild(a);const l=e.rowMap.get(i[o]),c=o<i.length-1?e.rowMap.get(i[o+1]):this.model.visibleRows.length-1;n.forEach((t=>a.appendChild(t.cloneNode(!0))));for(let t=l;t<=c;t++)a.appendChild(r[t]);e.shadowRoot.appendChild(s)}t.cloneNode(!0)}const s=`\n\t\t\t<style>\n\t\t\t\thtml {\n\t\t\t\t\t${Ua(Ja().themes.get("og-light")).cssText}\n\t\t\t\t}\n\t\t\t\t${r?"table {break-after: page}":""}\n\t\t\t\t${Yx.styles.map((t=>t.cssText)).join("\n")}\n\t\t\t</style>\n\n\t\t`,n=s+e.shadowRoot.innerHTML.replace(/<!---->/g,"");return t.remove(),n}stopAutoscroll(){this.autoscrollTimer&&window.clearInterval(this.autoscrollTimer)}startAutoscroll(){this.stopAutoscroll(),this.autoscrollTimer=window.setInterval((()=>{if(0==this.autoscrollValue)return this.stopAutoscroll();const t=Math.pow(this.autoscrollValue,av.AUTOSCROLL_RATIO);switch(this.autoscrollDirection){case"down":this.scrollVerticalByPixels(t);break;case"up":this.scrollVerticalByPixels(-t);break;case"left":this.scrollHorizontalByPixels(-t);break;case"right":this.scrollHorizontalByPixels(t)}}),av.AUTOSCROLL_INTERVAL)}autoscroll(t){const{x:e,y:i}=t,o=this.table.clientWidth/this.table.zoom-this.table.totalHeaderWidth,r=this.table.clientHeight/this.table.zoom-this.table.totalHeaderHeight;let s,n=0;e<av.AUTOSCROLL_TRESHOLD&&e<i&&e<r-i?(s="left",n=av.AUTOSCROLL_TRESHOLD-e):o-e<av.AUTOSCROLL_TRESHOLD&&o-e<i&&o-e<r-i?(s="right",n=av.AUTOSCROLL_TRESHOLD-o+e):i<av.AUTOSCROLL_TRESHOLD?(s="up",n=av.AUTOSCROLL_TRESHOLD-i):r-i<av.AUTOSCROLL_TRESHOLD&&(s="down",n=av.AUTOSCROLL_TRESHOLD-r+i),this.autoscrollDirection=s,this.autoscrollValue=n,this.stopAutoscroll(),n>0&&this.startAutoscroll()}async load(t){t=t||this.getAdapterRequestFilters();const e=t.parent?.r??null,i=null!=e?this.model.rows[e]:this.model.rowRoot,[o]=await Promise.all([this.grid.adapter.getRows(t)]);o.length>0&&null===e&&this.model.insertRowData(i,t.offset,o);const[r]=await Promise.all([this.grid.adapter.getCells(t)]);r?.map((t=>this.model.getCellByCoords(t.r,t.c)?.update(t))),this.table.requestUpdate(),o.length>=this.model.options.pageSize?i.count=1/0:i.count=i.children.length,this.grid.logger.info(`loaded ${o.length} rows`),this.grid.loading=!1,this.grid.dispatchEvent(new Xx("afterLoad",{grid:this.grid}))}async loadNextPage(t=null,e=!1){if(this.grid.loading)return;const i=null!=t?this.model.rows[t]:this.model.rowRoot;if(!e&&i.isLoaded)return;this.grid.dispatchEvent(new Xx("beforeLoad",{grid:this.grid})),this.grid.loading=!0;const o=this.model.rows.length;this.grid.logger.info(`loading rows offset = ${o}`),await this.load(Object.assign(this.getAdapterRequestFilters(),{offset:o,parent:{r:t,props:null}}))}get totalSize(){return{width:this.table.totalHeaderWidth+this.model.visibleColumns.reduce(((t,e)=>t+e.width),0),height:this.table.thead.offsetHeight+this.model.visibleRows.reduce(((t,e)=>t+e.height),0)}}autofitColumn(t,e=!1,i=!0){const o="number"==typeof t?this.model.columns[t]:t,r=this.autofitDiv??(this.autofitDiv=yt("div"));r.style.position="absolute",r.style.zIndex="100000",Ht(r,{l:-1e3,t:-1e3}),this.grid.shadowRoot.appendChild(r);let s=0;for(const t of this.model.getRangeIterator(Ev.fromA1(o.address),!!e)){const e=IC(t).call(this.table,r,t)||r;e.style.width="auto",s=Math.max(s,e.offsetWidth)}if(o.header){for(const t of o.header)t&&(t.html?r.innerHTML=t.label??"":r.innerText=t.label??"",s=Math.max(s,r.offsetWidth));r.innerHTML=""}o.width=s+22,i&&this.table.renderCells({horizontal:!0})}autofitColumns(t=!1){this.model.columns.forEach((e=>this.autofitColumn(e,t,!1))),this.table.renderCells({horizontal:!0})}autofitRow(t,e=!1,i=!0){const o="number"==typeof t?this.model.rows[t]:t,r=this.autofitDiv??(this.autofitDiv=yt("div"));r.style.position="absolute",r.style.zIndex="100000",Ht(r,{l:-1e3,t:-1e3}),this.grid.shadowRoot.appendChild(r);let s=0;for(const t of this.model.getRangeIterator(Ev.fromA1(o.address),!!e)){const e=IC(t).call(this.table,r,t)||r;e.style.height="auto",s=Math.max(s,e.offsetHeight)}o.height=s+8,i&&this.table.renderCells({vertical:!0})}autofitRows(t=!1){this.model.rows.forEach((e=>this.autofitRow(e,t,!1))),this.table.renderCells({vertical:!0})}scrollTo(t,e=0){let i;i=Q(t)?Ev.fromA1(t):new Ev(e,t),this.table.rowOffset=i.r1,this.table.colOffset=i.c1,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!0,this.debounceRenderCells(),this.updateSliders()}}class ok{get model(){return this.grid.model}get selection(){return this.grid.editing.isFormulaMode?this.formulaSelection:this.grid.selection}get selector(){return this.grid.editing.isFormulaMode?this.grid.formulaSelector:this.grid.selector}get formulaSelection(){return this._formulaSelection}get events(){return this.grid.events}get table(){return this.grid.table}get isSelecting(){return this.isCellSelecting||this.columnSelecting||this.rowSelecting}get isCellSelecting(){return this.selector.isSelecting}get isAutofilling(){return this.selector.isAutofilling}get isMoving(){return this.selector.isMoving}get isSelectorOperationActive(){return this.selector.isSelectorOperationActive}get isFormulaSelectorOperationActive(){if(!this.grid.editing.isFormulaMode)return!1;for(const t of this.formulaSelectors.values())if(t.isSelectorOperationActive)return!0;return!1}get activeCell(){const{c:t,r:e}=this.selection.activeCellCoords;return this.model.rows[e]?.cell(t)}constructor(t){this.grid=t,this.columnSelecting=!1,this.rowSelecting=!1,this._formulaSelection=new $x(0,0,0,0),this.formulaSelectors=new Map,this.debounceMoveSelector=Y(((t,e)=>this.moveSelector(t,e)),10)}moveToSelection(){const t=new Ev(this.selection.range.c1,this.selection.range.r1);this.table.viewportRange.contains(t)}select(t,e=!1){this.selection.setRange(t),this.updateSelector(),e&&this.grid.dispatchEvent(new Xx("select",{grid:this.grid}))}canExtend(){const{enabled:t,multiSelect:e}=this.model.options.selecting;return t&&e&&this.selector?.isVisible}startCellSelecting(t,e=!1){this.grid.style.cursor="cell",e&&this.canExtend()?(this.columnSelecting=!1,this.rowSelecting=!1,this.selection.range.c2=t.c1,this.selection.range.r2=t.r1,this.startSelectingRange=t.clone(),this.selector.startSelecting(this.selection.range.clone()),this.grid.editing.isFormulaMode?this.updateFormulaSelector():this.updateSelector(),this.grid.dispatchEvent(new Xx("select",{grid:this.grid}))):(this.startSelectingRange=t.clone(),this.select(t,!0),this.selector.startSelecting(t))}startColumnSelecting(t,e=!1){if(e&&this.canExtend()&&!this.selection.range.isRow)this.columnSelecting=!0,this.rowSelecting=!1,this.selection.range.r1=0,this.selection.range.r2=1/0,this.selection.range.c2=t,this.startSelectingRange=new Ev(t,null,t,null),this.updateSelector(),this.grid.dispatchEvent(new Xx("select",{grid:this.grid}));else{this.columnSelecting=!0;const e=new Ev(t,null,t,null);this.startSelectingRange=e.clone(),this.select(e,!0)}}startRowSelecting(t,e=!1){if(e&&this.canExtend()&&!this.selection.range.isColumn)this.rowSelecting=!0,this.columnSelecting=!1,this.selection.range.c1=0,this.selection.range.c2=1/0,this.selection.range.r2=t,this.startSelectingRange=new Ev(null,t,null,t),this.updateSelector(),this.grid.dispatchEvent(new Xx("select",{grid:this.grid}));else{this.rowSelecting=!0;const e=new Ev(null,t,null,t);this.startSelectingRange=e.clone(),this.select(e,!0)}}updateSelecting(t,e){const i=this.model.options.selecting.multiSelect;(this.isCellSelecting||this.rowSelecting)&&(i||(this.selection.range.r1=e),this.selection.range.r2=e),(this.isCellSelecting||this.columnSelecting)&&(i||(this.selection.range.c1=t),this.selection.range.c2=t),this.grid.editing.isFormulaMode?(this.updateFormulaSelector(),this.formulaSelectors.forEach((i=>i.updateMovingOperations(t,e)))):(this.updateSelector(),this.hideFormulaSelector(),this.selector.updateMovingOperations(t,e))}stopSelecting(){this.grid.rendering.stopAutoscroll(),this.isSelecting&&!this.selection.range.equals(this.startSelectingRange)&&this.grid.dispatchEvent(new Xx("select",{grid:this.grid})),this.columnSelecting=!1,this.rowSelecting=!1,this.startSelectingRange=null,this.selector.stopSelectorOperations()}highlightSelection(){const t=this.selection.range,[e,i]=[Math.min(t.c1,t.c2),Math.max(t.c1,t.c2)],[o,r]=[Math.min(t.r1,t.r2),Math.max(t.r1,t.r2)],s=i-e+1,n=r-o+1;this.table.highlightColHeaderCells(s<1/0?Array.from(new Array(s),((t,i)=>i+e)):[]),this.table.highlightRowHeaderCells(n<1/0?Array.from(new Array(n),((t,e)=>e+o)):[])}updateSelector(t=!0){this.model.options.selecting.enabled?(this.showSelector(t),this.highlightSelection()):this.hideSelector(),this.grid.editing.isFormulaMode||this.grid.editing.endEdit()}showSelector(t=!0){this.selector&&(this.selector.show(),this.selector.select(this.selection.range,t))}hideSelector(){this.selector.hide()}moveSelector(t,e){if(this.selection.move(t,e,this.model.columns.length,this.model.rows.length),0!=e&&!this.model.rows[this.selection.range.r1].visible){const t=e>0?this.model.rows[this.selection.range.r1].nextVisible:this.model.rows[this.selection.range.r1].prevVisible;t&&(this.selection.range.r1=t.index,this.selection.range.r2=t.index)}if(0!=t&&!this.model.columns[this.selection.range.c1].visible){const e=t>0?this.model.columns[this.selection.range.c1].nextVisible:this.model.columns[this.selection.range.c1].prevVisible;e&&(this.selection.range.c1=e.index,this.selection.range.c2=e.index)}this.selector.selection=this.selection.range,this.selector.updatePosition();const i={c:0,r:0};(e>0&&this.selector.offsetTop+this.selector.offsetHeight>this.grid.clientHeight||e<0&&this.selector.offsetTop<this.table.totalHeaderHeight-1||e>=this.table.viewport.rows.length)&&(i.r+=e),(t>0&&this.selector.offsetLeft+this.selector.offsetWidth>this.grid.clientWidth||t<0&&this.selector.offsetLeft<this.table.totalHeaderWidth-1)&&(i.c+=t),0==i.c&&0==i.r||(this.table.colOffset=Math.max(0,this.table.colOffset+i.c),this.table.rowOffset=Math.min(Math.max(0,this.table.rowOffset+i.r),this.model.visibleRows.length-1),this.table.renderCells({horizontal:0!=i.c,vertical:0!=i.r}),this.grid.rendering.updateSliders()),this.grid.editing.isFormulaMode||this.grid.editing.endEdit(),this.highlightSelection(),this.grid.dispatchEvent(new Xx("select",{grid:this.grid}))}shiftActiveCell(t,e=!1){this.selection.moveActiveCell(t,0),this.selector.updatePosition(),e&&this.grid.dispatchEvent(new Xx("select",{grid:this.grid}))}updateFormulaSelector(t=!0){this.grid.editing.isFormulaMode?this.showFormulaSelector(t):this.hideFormulaSelector()}showFormulaSelector(t=!0){this.grid.formulaSelector.show(),this.grid.formulaSelector?.select(this.formulaSelection.range,t)}hideFormulaSelector(){this.grid.formulaSelector.hide()}updateFormulaSelectors(){this.formulaSelectors.forEach((t=>t.updatePosition()))}highlightColorItem(t){const e=$x.fromRange(Ev.fromA1(t.address)),i=yt("og-selector");this.grid.shadowRoot.appendChild(i),i.addEventListener("grid.selector.move",(t=>this.select(t.selector.selection.clone()))),i.addEventListener("grid.selector.resize",(t=>this.select(t.selector.selection.clone()))),i.grid=this.grid,i.color=t.color,i.subselector=!1,i.movable=!0,i.resizable=!0,i.index=t.tokenIndex,this.formulaSelectors.set(t.tokenIndex,i),i.select(e.range.clone(),!1),i.show()}highlightFormula(t){this.removeFormulaHighlight(),this.formulaSelectors.clear();const e=new Set;t.colors.forEach((t=>{if(null==t.sheet||t.sheet==this.model.name)this.highlightColorItem(t);else if(this.grid.group){const i=this.grid.group.getGrid(t.sheet);if(!i)return;e.has(i)||(e.add(i),i.selecting.removeFormulaHighlight()),i.isConnected&&i.selecting.highlightColorItem(t)}}))}removeFormulaHighlight(){this.formulaSelectors?.forEach((t=>zt(t))),this.formulaSelectors.clear()}updateCopySelector(){this.grid.copySelector.isVisible&&this.grid.copySelector.updatePosition()}showCopySelector(){this.grid.copySelector.show(),this.grid.copySelector?.select(this.selection.range.clone(),!1)}hideCopySelector(){this.grid.copySelector.hide()}updateSelectors(){this.updateSelector(!1),this.updateCopySelector(),this.updateFormulaSelectors()}stopSelectOperations(){this.stopSelecting(),this.formulaSelectors.forEach((t=>t.stopSelectorOperations())),this.grid.style.removeProperty("cursor")}enter(){const t=this.grid.group;if(this.grid.editing.isFormulaMode&&t){const e=t.formulaModeGrid;e.editing.commitEdit(),t.activateGrid(e.model.name)}else this.debounceMoveSelector(0,1)}}class rk extends Event{}class sk extends En{get isOpen(){return this._open}get isValid(){return this._valid}validate(){return this._valid=!0,this.activeCell&&(this._valid=hw(this.activeCellModel,this.getValue())),this.classList.toggle("invalid",!this._valid),this._valid}constructor(){super(),this.cancel=!1,this._open=!1,this._valid=!0,this.init()}getDisplayValue(){return null}init(){this.addEventListener("keydown",(t=>{"Enter"==t.key?this.close():"Escape"==t.key?(this.cancel=!0,this.close()):t.stopPropagation()}))}connectedCallback(){super.connectedCallback(),this.performUpdate()}alignWithCell(){if(!this.activeCell)return;const t=Tt(this.activeCell,this.grid);Ht(this,{t:t.top*this.grid.zoom,l:t.left*this.grid.zoom}),Nt(this,{w:this.activeCell.offsetWidth,h:this.activeCell.offsetHeight})}open(t,e=null,i=!0){this._valid=!0,this.initialValue=e,this._open=!0,this.grid=t;const o=t.selecting.activeCell;return this.activeCellModel=o,this.activeCell=this.grid.table.getCellByModelIndex(o.c,o.r),this.grid.selector.hide(),xt(this),i&&this.alignWithCell(),this.activate(o),null!==e&&this.setValue(e),Jt(this,this.grid.zoom),this}commit(){this._open&&!this.cancel&&this.activeCellModel&&(this.grid.editing.updateCell(this.activeCellModel,{v:this.getValue(),dv:this.getDisplayValue()}),this.grid.rendering.updateCell(this.activeCellModel,!0)),this.cancel=!1}close(){this._open&&(this.deactivate(),kt(this),this.grid.table.renderBodyCell(this.activeCellModel),this.grid.selecting.showSelector(),this.grid.focus(),this._open=!1,this.grid.editing.endEdit()),this.cancel=!1}activate(t){this.activeCellModel=t,this.dispatchEvent(new rk("activate"))}deactivate(){this.dispatchEvent(new rk("deactivate"))}}sk.baseStyles=ks`
|
|
4397
4401
|
* { box-sizing: border-box }
|
|
4398
4402
|
|
|
4399
4403
|
:host {
|
|
@@ -4666,7 +4670,7 @@
|
|
|
4666
4670
|
`;var jk=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};class Hk extends Xx{constructor(t,e){super(`object.${t}`,e),Object.assign(this,e)}}let Fk=class extends En{constructor(){super(),this.active=!1,this.updatePosition=()=>{if(this.model){if(this.model.location){const{x:t,y:e}=this.model.location,i=this.grid.table.viewport.columns[0],o=this.grid.table.viewport.rows[0],r=this.grid.model.calculateCellOffset(o.cell(i.index).range);Ht(this,{l:t-r.x+this.grid.table.totalHeaderWidth,t:e-r.y+this.grid.table.totalHeaderHeight})}this.model.size&&Nt(this,this.model.size)}},this._onHeadMouseDown=t=>{if(0!==t.button)return;const e=this.getBoundingClientRect(),i=t.clientX-e.left,o=t.clientY-e.top;let{top:r,left:s}=Tt(this.grid,document.body);s+=this.grid.table.totalHeaderWidth,r+=this.grid.table.totalHeaderHeight;const n=t=>{this.model.location={x:t.clientX-i-s,y:t.clientY-o-r},this.updatePosition()},a=()=>{document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",a),this.dispatchEvent(this.grid.createEvent("moveend",{object:this.model,host:this},Hk))};document.addEventListener("mousemove",n),document.addEventListener("mouseup",a)},this.render=()=>ln`
|
|
4667
4671
|
<div id="head" @mousedown="${this._onHeadMouseDown}"></div>
|
|
4668
4672
|
<div id="body"></div>
|
|
4669
|
-
`,this.addEventListener("pointerdown",(t=>t.stopImmediatePropagation())),this.addEventListener("click",(t=>t.stopImmediatePropagation()));const t=
|
|
4673
|
+
`,this.addEventListener("pointerdown",(t=>t.stopImmediatePropagation())),this.addEventListener("click",(t=>t.stopImmediatePropagation()));const t=Y((()=>this.layout()),1);this.resizeObserver=new ResizeObserver((()=>{this.model.size={w:this.offsetWidth,h:this.offsetHeight},t()}))}connectedCallback(){super.connectedCallback(),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this)}async getComponent(){return this.component||(this.component=await this.createComponent()),this.component}async updated(t){St(this.body),this.body.appendChild(await this.getComponent()),this.layout(),t.has("active")&&this.layout()}layout(){this.component&&this.component.layout&&this.component.layout()}};Fk.styles=[Pk],jk([$n({type:Boolean,reflect:!0})],Fk.prototype,"active",void 0),jk([$n({type:Object})],Fk.prototype,"model",void 0),jk([On("#body")],Fk.prototype,"body",void 0),Fk=jk([In("og-object-host")],Fk);class Bk{get model(){return this.grid.model}get hosts(){return this._hosts}get activeObject(){return this._activeObject}constructor(t){this.grid=t,this._maxZIndex=999,this._hosts=new Set,this._onHostMouseDown=(t,e)=>{if(t.active)return e.stopImmediatePropagation();this.hosts.forEach(((e,i)=>{i==t?(i.active=!0,this._activeObject=i,this.bringToFront(i),setTimeout((()=>document.addEventListener("mousedown",(()=>{t.active&&(t.active=!1,t.dispatchEvent(new Hk("deactivate",{host:t,object:t.model,grid:this.grid})))}),{once:!0})),100)):i.active&&(i.active=!1,i.dispatchEvent(new Hk("deactivate",{host:i,object:i.model,grid:this.grid})))})),t.dispatchEvent(new Hk("activate",{host:t,object:t.model,grid:this.grid}))},t.addEventListener("grid.object.deactivate",(t=>{t.host==this._activeObject&&(this._activeObject=null)}))}bringToFront(t){t.model.zIndex!=this._maxZIndex&&(this._maxZIndex++,this.hosts.add(t),Yt(t,this._maxZIndex))}add(t){const e=yt("og-object-host");e.grid=this.grid,e.model=t.model,e.createComponent=t.createComponent,e.addEventListener("mousedown",(t=>this._onHostMouseDown(e,t)));const i=t.model.zIndex||this._maxZIndex+1;return this._maxZIndex=Math.max(this._maxZIndex,i),Yt(e,i),this.hosts.add(e),e.updatePosition(),this.grid.shadowRoot.appendChild(e),e}delete(t){}updatePostions(){this.hosts.forEach(((t,e)=>e.updatePosition()))}}class Wk extends Xx{constructor(t){super("sort",t)}}class Vk{get model(){return this.grid.model}get selection(){return this.grid.selection}get selector(){return this.grid.selector}get events(){return this.grid.events}get table(){return this.grid.table}constructor(t){this.grid=t}clearCache(){this.table.clearBodyCache(),this.table.renderCells({vertical:!0,horizontal:!0})}sort(t,e=null){const i=this.grid.adapter&&!this.model.rowRoot.isLoaded&&this.model.options.pageSize>0;this.grid.model.sorting.sort(t,e,i),this.clearCache(),i&&(this.model.clearRows(),this.model.rowRoot.count=1/0,this.grid.rendering.loadNextPage()),this.grid.dispatchEvent(new Wk({column:this.model.columns[t],sortedColumn:t,sortOrder:e,sortSettings:this.model.sorting.settings}))}resetSort(){this.grid.model.sorting.resetSort(),this.clearCache(),this.grid.dispatchEvent(new Wk({sortSettings:this.model.sorting.settings}))}init(){}}class Uk extends Xx{constructor(t,e){super(`menu.${t}`,e)}}class Gk{get model(){return this.grid.model}get selection(){return this.grid.selection}get selector(){return this.grid.selector}get events(){return this.grid.events}get table(){return this.grid.table}get contextMenu(){return this.grid.contextMenu}constructor(t){this.grid=t,this._onContextMenuClick=t=>{const e=this.grid;switch(this.currentMenuItems[t.index].key){case"insertColumn":e.editing.insertColumns({index:this.currentColumn.index,count:1});break;case"insertColumnAfter":e.editing.insertColumns({index:this.currentColumn.index,count:1,after:!0});break;case"deleteColumn":e.editing.deleteColumns({index:this.currentColumn.index,count:1});break;case"insertRow":e.editing.insertRows({index:this.currentRow.index,count:1});break;case"insertRowAfter":e.editing.insertRows({index:this.currentRow.index,count:1,after:!0});break;case"deleteRow":e.editing.deleteRows({index:this.currentRow.index,count:1});break;case"comment":this.grid.editing.openComments(this.currentCell)}this.grid.dispatchEvent(new Uk("click",{grid:this.grid,cell:this.currentCell,row:this.currentRow,column:this.currentColumn,item:this.currentMenuItems[t.index]}))},this._onOutlineLevelChange=(t,e)=>{const i=t.target.value;e instanceof cx?(this.model.getRowIterator(this.grid.selection.range).forEach((t=>t.level=i)),this.model.rebuildRowTree()):(this.model.getColumnIterator(this.grid.selection.range).forEach((t=>t.level=i)),this.model.rebuildColumnTree()),this.grid.rendering.render(!0)},this.renderOutlineMenuItem=t=>ln`
|
|
4670
4674
|
<div
|
|
4671
4675
|
style="display: flex; flex-direction: row; align-items: center;"
|
|
4672
4676
|
@mousedown="${t=>t.stopPropagation()}"
|
|
@@ -4679,7 +4683,7 @@
|
|
|
4679
4683
|
@change="${e=>this._onOutlineLevelChange(e,t)}">
|
|
4680
4684
|
</og-numericinput>
|
|
4681
4685
|
</div>
|
|
4682
|
-
`}init(){this.contextMenu.addEventListener("select",this._onContextMenuClick)}openMenu(t){this.currentMenuItems.length>0&&(this.contextMenu.items=this.currentMenuItems,this.contextMenu.openAt(t.x,t.y))}openColumnMenu(t,e){const i=this.grid.options,o=i.menus?.column;let r=[];this.currentColumn=t,o?.replace||(i.editable&&i.editing.colInsertion&&(r.push({key:"insertColumn",value:"Insert column",icon:"plus"}),r.push({key:"insertColumnAfter",value:"Insert column (after)",icon:"plus"})),i.editable&&i.editing.colDeletion&&r.push({key:"deleteColumn",value:"Delete column",icon:"minus"}),i.editable&&i.editing.colOutline&&r.push({key:"colLevel",icon:"list-tree",renderer:()=>this.renderOutlineMenuItem(t)})),o&&(r.length>0&&(r[r.length-1].divider=!0),r=[...r,...o.items.filter((e=>!e.hidden||!e.hidden(t)))]),this.currentMenuItems=r,this.openMenu(e)}openRowMenu(t,e){const i=this.grid.options,o=i.menus?.row;let r=[];this.currentRow=t,o?.replace||(i.editable&&i.editing.rowInsertion&&(r.push({key:"insertRow",value:"Insert row",icon:"plus"}),r.push({key:"insertRowAfter",value:"Insert row (after)",icon:"plus"})),i.editable&&i.editing.rowDeletion&&r.push({key:"deleteRow",value:"Delete row",icon:"minus"}),i.editable&&i.editing.rowOutline&&r.push({key:"rowLevel",icon:"list-tree",renderer:()=>this.renderOutlineMenuItem(t)})),o&&(r.length>0&&(r[r.length-1].divider=!0),r=[...r,...o.items.filter((e=>!e.hidden||!e.hidden(t)))]),this.currentMenuItems=r,this.openMenu(e)}openCellMenu(t,e){const i=this.grid.options,o=i.menus?.cell;let r=[];this.currentCell=t,o?.replace||t.commentable&&r.push({key:"comment",value:$o("Comment"),icon:"comment"}),o&&(r.length>0&&(r[r.length-1].divider=!0),r=[...r,...o.items.filter((e=>!e.hidden||!e.hidden(t)))]),this.currentMenuItems=r,this.openMenu(e)}}function
|
|
4686
|
+
`}init(){this.contextMenu.addEventListener("select",this._onContextMenuClick)}openMenu(t){this.currentMenuItems.length>0&&(this.contextMenu.items=this.currentMenuItems,this.contextMenu.openAt(t.x,t.y))}openColumnMenu(t,e){const i=this.grid.options,o=i.menus?.column;let r=[];this.currentColumn=t,o?.replace||(i.editable&&i.editing.colInsertion&&(r.push({key:"insertColumn",value:"Insert column",icon:"plus"}),r.push({key:"insertColumnAfter",value:"Insert column (after)",icon:"plus"})),i.editable&&i.editing.colDeletion&&r.push({key:"deleteColumn",value:"Delete column",icon:"minus"}),i.editable&&i.editing.colOutline&&r.push({key:"colLevel",icon:"list-tree",renderer:()=>this.renderOutlineMenuItem(t)})),o&&(r.length>0&&(r[r.length-1].divider=!0),r=[...r,...o.items.filter((e=>!e.hidden||!e.hidden(t)))]),this.currentMenuItems=r,this.openMenu(e)}openRowMenu(t,e){const i=this.grid.options,o=i.menus?.row;let r=[];this.currentRow=t,o?.replace||(i.editable&&i.editing.rowInsertion&&(r.push({key:"insertRow",value:"Insert row",icon:"plus"}),r.push({key:"insertRowAfter",value:"Insert row (after)",icon:"plus"})),i.editable&&i.editing.rowDeletion&&r.push({key:"deleteRow",value:"Delete row",icon:"minus"}),i.editable&&i.editing.rowOutline&&r.push({key:"rowLevel",icon:"list-tree",renderer:()=>this.renderOutlineMenuItem(t)})),o&&(r.length>0&&(r[r.length-1].divider=!0),r=[...r,...o.items.filter((e=>!e.hidden||!e.hidden(t)))]),this.currentMenuItems=r,this.openMenu(e)}openCellMenu(t,e){const i=this.grid.options,o=i.menus?.cell;let r=[];this.currentCell=t,o?.replace||t.commentable&&r.push({key:"comment",value:$o("Comment"),icon:"comment"}),o&&(r.length>0&&(r[r.length-1].divider=!0),r=[...r,...o.items.filter((e=>!e.hidden||!e.hidden(t)))]),this.currentMenuItems=r,this.openMenu(e)}}function Yk(t){return[{section:"group",name:"focus sheet",requiredParams:1,fn:t=>{console.log(t)}}]}function qk(t,e){t.selecting.select(e,!0),t.table.rowOffset=Math.max(0,t.selection.range.r1-t.options.freezeTop),t.table.colOffset=Math.max(0,t.selection.range.c1-t.options.freezeLeft),t.rendering.renderCells({vertical:!0,horizontal:!0}),t.rendering.updateSliders()}function Zk(t){t.commands.clear(),function(t){return[{group:"grid",name:"set column width",next:{mode:"input",text:"Enter column width in pixels",commands:wg("apply",((e,i)=>{for(let e=t.selection.range.c1;e<=t.selection.range.c2;e++)t.model.columns[e].width=parseInt(i);t.rendering.renderCells({horizontal:!0})}))}},{group:"grid",name:"set all columns widths",next:{mode:"input",text:"Enter column width in pixels",commands:wg("apply",((e,i)=>{const o=parseInt(i);t.model.columns.forEach((t=>t.width=o)),t.rendering.renderCells({horizontal:!0})}))}},{group:"grid",name:"set columns widths to the right",next:{mode:"input",text:"Enter column width in pixels",commands:wg("apply",((e,i)=>{for(let e=t.selection.range.c1;e<t.model.columns.length;e++)t.model.columns[e].width=parseInt(i);t.rendering.renderCells({horizontal:!0})}))}},{group:"grid",name:"copy column widths",exec:()=>{const e=t.model.columns[t.selection.range.c1].width;t.model.columns.forEach((t=>t.width=e)),t.rendering.renderCells({horizontal:!0})}},{group:"grid",name:"copy column widths to the right",exec:()=>{const e=t.model.columns[t.selection.range.c1].width;for(let i=t.selection.range.c1;i<t.model.columns.length;i++)t.model.columns[i].width=e;t.rendering.renderCells({horizontal:!0})}},{group:"grid",name:"set values",next:{mode:"input",text:"Enter value",commands:wg("apply",((e,i)=>{for(const e of t.model.getRangeIterator(t.selection.range))e.value=i,t.table.renderBodyCell(e)}))}}]}(t).forEach((e=>t.commands.add(e))),function(t){const e=[];return e.push({group:"grid",name:"goto",next:{mode:"input",text:"Enter cell address",commands:wg("ok",((e,i)=>{qk(t,i)}))}}),e.push({group:"grid",name:"goto first cell",exec:()=>{qk(t,"A1")}}),e.push({group:"grid",name:"sort ascending",next:{mode:"input",text:"Enter column name",commands:wg("ok",((e,i)=>{t.sorting.sort(isNaN(Number(i))?Tv(i.toUpperCase()):Number(i),Ew.Asc)}))}}),e.push({group:"grid",name:"sort descending",next:{mode:"input",text:"Enter column name",commands:wg("ok",((e,i)=>{t.sorting.sort(isNaN(Number(i))?Tv(i.toUpperCase()):Number(i),Ew.Desc)}))}}),e.push({group:"grid",name:"sort ascending by current column",exec:()=>{t.sorting.sort(t.selection.range.c1,Ew.Asc)}}),e.push({group:"grid",name:"sort descending by current column",exec:()=>{t.sorting.sort(t.selection.range.c1,Ew.Desc)}}),e.push({group:"grid",name:"reset sorting",exec:()=>{t.sorting.resetSort(),t.table.clearBodyCache(),t.table.renderCells({vertical:!0,horizontal:!0})}}),t.model.maxRowLevel>0&&(e.push({group:"grid",name:"set row level",next:{mode:"input",text:"Enter row level",commands:wg("ok",((e,i)=>{t.rendering.setRowExpandLevel(parseInt(i))}))}}),[...Array(t.model.maxRowLevel).keys()].forEach((i=>e.push({group:"grid",name:`set row level ${i}`,exec:()=>{t.rendering.setRowExpandLevel(i)}})))),t.model.maxColumnLevel>0&&(e.push({group:"grid",name:"set column level",next:{mode:"input",text:"Enter column level",commands:wg("ok",((e,i)=>{t.rendering.setColumnExpandLevel(parseInt(i))}))}}),[...Array(t.model.maxColumnLevel).keys()].forEach((i=>e.push({group:"grid",name:`set column level ${i}`,exec:()=>{t.rendering.setColumnExpandLevel(i)}})))),e}(t).forEach((e=>t.commands.add(e)))}var Xk=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let Qk=class extends En{constructor(){super(...arguments),this.tableRef=Xd(),this.hSliderRef=Xd(),this.vSliderRef=Xd(),this.hSizerRef=Xd(),this.vSizerRef=Xd(),this.selectorRef=Xd(),this.copySelectorRef=Xd(),this.formulaSelectorRef=Xd(),this.contextMenuRef=Xd(),this.tooltipRef=Xd(),this.commentRef=Xd(),this.selection=new $x(0,0),this.options=lx(),this.logger=new Sr("Ωgrid"),this.zoom=1,this.rendering=new ik(this),this.selecting=new ok(this),this.events=new ek(this),this.editing=new bk(this),this.filtering=new Nk(this),this.sorting=new Vk(this),this.menus=new Gk(this),this.objects=new Bk(this),this.commands=new xg(this),this.plugins=new vu(this),this.loading=!1,this._debounceVerticalSlide=Y(this.events._onVerticalSlide,cu.SLIDE_DELAY,{isImmediate:!0,maxWait:50}),this._debounceHorizontalSlide=Y(this.events._onHorizontalSlide,cu.SLIDE_DELAY,{isImmediate:!0,maxWait:50}),this.render=()=>ln`
|
|
4683
4687
|
<og-table ${Jd(this.tableRef)}
|
|
4684
4688
|
.zoom="${this.zoom}"
|
|
4685
4689
|
.hideOuterBorder="${this.options.hideOuterBorder}">
|
|
@@ -4729,7 +4733,7 @@
|
|
|
4729
4733
|
<og-grid-tooltip ${Jd(this.tooltipRef)} style="display: none"></og-grid-tooltip>
|
|
4730
4734
|
|
|
4731
4735
|
<og-grid-comment ${Jd(this.commentRef)} style="display: none"></og-grid-comment>
|
|
4732
|
-
`,this.debounceInnerLayout=
|
|
4736
|
+
`,this.debounceInnerLayout=Y(this.innerLayout,100)}get table(){return this.tableRef.value}get hSlider(){return this.hSliderRef.value}get vSlider(){return this.vSliderRef.value}get hSizer(){return this.hSizerRef.value}get vSizer(){return this.vSizerRef.value}get selector(){return this.selectorRef.value}get copySelector(){return this.copySelectorRef.value}get formulaSelector(){return this.formulaSelectorRef.value}get contextMenu(){return this.contextMenuRef.value}get tooltip(){return this.tooltipRef.value}get comment(){return this.commentRef.value}get designMode(){return!!this.group&&this.group.designMode}connectedCallback(){super.connectedCallback(),this.logger.info("connected"),this.layout()}disconnectedCallback(){this.destroy()}destroy(){this.contextMenu&&zt(this.contextMenu),this.comment&&zt(this.comment)}async initAdapter(){this.adapter.attach(this),this.table&&(this.table.rowOffset=0),this.dispatchEvent(new Xx("beforeLoad",{grid:this}));const t=await this.adapter.getColumns(),e=this.rendering.getAdapterRequestFilters(),i=await this.adapter.getRows(e);e.rows=i;const o=await this.adapter.getCells(e),r=lx(await this.adapter.getOptions(),this.options),s=await this.adapter.getSparklines(),n=await this.adapter.getComments(),a=await this.adapter.getRules(),l=await this.adapter.getStyles();this.setSourceData({columns:t,rows:i,cells:o,options:r,sparklines:s,comments:n,rules:a,styles:l}),this.dispatchEvent(new Xx("afterLoad",{grid:this}))}updateOptions(t){this.options=lx(t,this.options),this.requestUpdate()}openCommands(){this.commands.open()}closeCommands(){this.commands.close()}async firstUpdated(){this.tabIndex=0,this.events.init(),this.menus.init(),await this.table.updateComplete,this.logger.info("init"),this.dispatchEvent(new Xx("init",{grid:this}))}async updated(t){if(Nt(this.table,{w:this.clientWidth,h:this.clientHeight}),t.has("adapter"))try{await this.initAdapter()}catch(t){this.logger.error("Error initializing adapter:",t),this.dispatchEvent(new Zx(t))}if(this.model){if(this.options&&(this.model.options=this.options),this.rendering.requireVerticalUpdate=!0,this.rendering.requireHorizontalUpdate=!0,this.table.model=this.model,t.has("model")&&(this.sorting.init(),this.model.options.firstCell)){const t=Ev.fromA1(this.model.options.firstCell);this.table.colOffset=t.c1,this.table.rowOffset=t.r1}await this.table.updateComplete,this.rendering.updateSliders(),this.rendering.debounceRenderCells(),Zk(this),this.dispatchEvent(new Xx("loadmodel",{grid:this}))}t.has("zoom")&&(t.get("zoom")||1)!==(this.zoom||1)&&(this.options.zoom=this.zoom,this.rendering.render(!0))}innerLayout(){Nt(this.table,{w:this.clientWidth,h:this.clientHeight}),this.table.requestUpdate()}layout(){this.table&&this.debounceInnerLayout()}setSourceData(t){t.options&&(this.options=lx(t.options,this.options)),this.model=new Ix(t,this.options,this.logger)}willUpdate(t){t.has("model")&&(this.options=lx(this.model.options,this.options),this.model.options=this.options,this.history=new Tx(this.model),this.filtering.init(),this.zoom=this.options.zoom||1)}focus(t){super.focus(t),this.editing.activeEditor?.focus()}async refresh(){this.adapter?(this.table.clearHeaderCache(),this.table.clearBodyCache(),await this.initAdapter()):await this.rendering.render(!0)}createEvent(t,e,i){return new(i??Xx)(t,{grid:this,...e})}dispatchGridEvent(t,e,i){this.dispatchEvent(this.createEvent(t,e,i))}getConnectedGrid(t){return this.group?.getGrid(t)}getSourceData(){const t=this.model?.getSourceData()??{},e=new Jr(t);return this.dispatchEvent(e),e.data}setTheme(t){this.model.theme=t,this.model.applyTheme(t,!0),this.refresh()}};Qk.styles=[Wx],Xk([$n({type:Object})],Qk.prototype,"model",void 0),Xk([$n({type:Object})],Qk.prototype,"adapter",void 0),Xk([$n({type:Object})],Qk.prototype,"selection",void 0),Xk([$n({type:Object})],Qk.prototype,"options",void 0),Xk([$n({type:Object})],Qk.prototype,"logger",void 0),Xk([$n({type:Number})],Qk.prototype,"zoom",void 0),Qk=Xk([In("og-grid")],Qk);var Kk=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const Jk={options:{rows:100,columns:20,editable:!0}},tC=()=>new Ix(Jk),eC={commandWindow:!0,showHiddenTabs:!1};class iC extends Event{constructor(t){super(`gridgroup.${t}`)}}let oC=class extends En{get commandWindow(){return this.commandWindowRef.value}get activeGrid(){return this._activeGrid}get formulaModeGrid(){return this._formulaModeGrid}get isFormulaMode(){return null!=this.formulaModeGrid}get gridModels(){const t=new Map;return this.containerModel.walk((e=>{const i=this.model.get(e.id);i&&t.set(i.name,t.size)})),Array.from(this.model.models).sort(((e,i)=>(t.get(e[0])??0)-(t.get(i[0])??0))).map((([t,e])=>e))}startFormulaMode(t){this._formulaModeGrid=t}endFormulaMode(){this.isFormulaMode&&(this._formulaModeGrid=null,this.grids.forEach((t=>t.editing.endFormulaMode(!1))))}activateGrid(t,e=!0){const i=this.grids.get(t);i&&this.activeGrid?.model?.name!=t&&(this.activeGrid&&e&&this.dispatchEvent(new iC("deactivate")),this._activeGrid=i,this.container.activate(t),setTimeout((()=>i.focus()),100),e&&this.dispatchEvent(new iC("activate")))}previewZoom(t){this.grids.forEach((e=>{e.isConnected&&e.table.previewZoom(t)}))}updateZoom(){this.grids.forEach((t=>{t.isConnected&&(t.zoom=this.zoom)}))}hideSelectors(){this.grids.forEach((t=>{t.isConnected&&t.selecting.hideSelector()}))}showSelectors(){this.grids.forEach((t=>{t.isConnected&&t.selecting.showSelector()}))}renameSheet(t,e){if(this.model.has(e))throw new Error(`Sheet '${e}' already exists`);this.grids.has(t)&&(this.grids.set(e,this.grids.get(t)),this.grids.delete(t)),this.model.rename(t,e),this.container.model.updateTab(t,{id:e,title:e}),this.updateTabs()}updateTabs(){this.containerModel.walk((t=>{const e=this.model.get(t.id);e&&(t.id=e.name,t.color=e.tab?.color,t.hidden=!this.options.showHiddenTabs&&e.tab?.hidden,t.icon=e.tab?.hidden?"eye-slash":null)})),this.container?.updateTabs()}updateContainer(){this.container?.splitContainer?.requestUpdate()}constructor(){super(),this.options=eC,this.designMode=!1,this.zoom=1,this.tabPosition="top",this.logger=new Sr("ΩgridGroup"),this.grids=new Map,this.commandWindowRef=Xd(),this.plugins=new vu(this),this._formulaModeGrid=null,this._isLoaded=!1,this._onGridSelect=t=>{t.grid&&(this.isFormulaMode||this.activateGrid(t.grid.model.name,!0))},this.createGrid=t=>new Promise((e=>{const i=t;let o=this.grids.get(i);if(o)return void e(o);const r=this.model.has(i)?this.model.get(i):this.model.add(tC());r.options.commandWindow=!1,o=yt("og-grid"),o.style.height="100%",o.model=r,o.options=r.options,o.group=this,o.zoom=this.zoom,this.grids.set(r.name,o),e(o)})),this._onTabSelect=t=>{if(t.tab&&this._isLoaded){const e=this.grids.get(t.tab.id);this._activeGrid!=e&&(this.activateGrid(e.model.name,!0),setTimeout((()=>this._activeGrid.focus()),100))}},this._onTabAdd=t=>{const e=this.model.add(tC());t.tabs?.container&&t.tabs.container.open({id:e.name,title:e.name})},this._onContainerLoad=()=>{this._isLoaded=!0,this.gridModels.length&&this.activateGrid(this.gridModels[0].name,!0)},this.render=()=>ln`
|
|
4733
4737
|
<og-tabsplitcontainer
|
|
4734
4738
|
?singleActive="${!0}"
|
|
4735
4739
|
?addButton="${!0}"
|
|
@@ -5072,7 +5076,7 @@
|
|
|
5072
5076
|
</div>
|
|
5073
5077
|
</og-container>
|
|
5074
5078
|
</div>
|
|
5075
|
-
`,this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("mouseover",this._onMouseOver)}add(){this.items.unshift(new $w({text:"",author:this.cellModel.model.options.user})),this.startEdit(0)}async startEdit(t){this.editIndex=t,this.requestUpdate(),await this.updateComplete,this.offsetHeight<this.container.inner.offsetHeight&&Nt(this,{h:this.container.inner.offsetHeight+this.head.offsetHeight+10})}endEdit(){this.commit(),this.editIndex=-1}delete(t){const e=this.items.splice(t,1);this.requestUpdate(),this.dispatchEvent(new fC("delete",this.items,e?e[0]:null,null,this.cellModel))}commit(){this.editItem&&this.editItem.text!=this.editBody.innerText&&(this.editItem.text=this.editBody.innerText,this.editItem.date=new Date,this.dispatchEvent(new fC("commit",this.items,this.editItem,this.editIndex,this.cellModel)))}disconnectedCallback(){this.destroy()}destroy(){this._connector?.parentElement&&this._connector.remove()}updated(){this.editBody&&(this.editBody.focus(),this.editBody.addEventListener("blur",(()=>this.endEdit()),{once:!0})),this.items?.forEach(((t,e)=>{const i=this.bodies[e];X(this.cellModel?.commentRenderer)?(i.style.whiteSpace="normal",this.cellModel?.commentRenderer(i,t,this.cellModel)):(i.style.whiteSpace="pre-wrap",i.textContent=t?.text??"")}))}canEdit(t){return this.cellModel?.commentable&&!this.items[t].readOnly}get canAdd(){return this.cellModel?.commentable}deatach(t=0){this.isAttached&&(this._hideTimerDisabled||this._hideTimer||(this._hideTimer=window.setTimeout((()=>{this._attachedTo=null,this.hide(),this._connector&&(this._connector.style.display="none"),this.parentElement&&this.parentElement.removeEventListener("mousemove",this._onParentMouseDown)}),t)))}get zIndex(){return this.cellModel?.model?.options?.comments?.zIndex??av.DEFAULT_OPTIONS.comments.zIndex}updateConnector(){if(!this.isAttached)return;this._connector||(this._connector=document.createElementNS("http://www.w3.org/2000/svg","svg"),document.body.appendChild(this._connector));const t=Tt(this.attachedTo,document.body),e=t.left+this._attachedTo.offsetWidth<this.offsetLeft+this.offsetWidth/2,i=t.top<this.offsetTop+this.offsetHeight/2,o=e?t.left+this._attachedTo.offsetWidth:this.offsetLeft+this.offsetWidth/2,r=i?t.top:this.offsetTop+this.offsetHeight/2,s=e?this.offsetLeft+this.offsetWidth/2:t.left+this._attachedTo.offsetWidth,n=i?this.offsetTop+this.offsetHeight/2:t.top;this._connector.setAttribute("width",(s-o).toString()),this._connector.setAttribute("height",(n-r).toString()),this._connector.style.pointerEvents="none",this._connector.style.zIndex=(this.zIndex-1).toString(),Ht(this._connector,{l:o,t:r}),this._connector.style.display="block",this._connector.innerHTML=`\n\t\t\t<line \n\t\t\t\tx1="${e?0:s-o}" y1="${i?0:n-r}" \n\t\t\t\tx2="${e?s-o:0}" y2="${i?n-r:0}" \n\t\t\t\tstroke="#8b7600" stroke-width="1"/>\n\t\t`}async setDefaultSize(){new Promise((t=>{setTimeout((()=>{const e=Math.max(av.MIN_COMMENT_AUTOHEIGHT,Math.min(av.MAX_COMMENT_AUTOHEIGHT,this.container.inner.offsetHeight));Nt(this,{h:this.head.offsetHeight+e}),t()}),100)}))}attachTo(t,e,i=!1){this._attachedTo=t,this.items=e.comments,this.cellModel=e,this._hideTimerDisabled=i,this._hideTimer&&window.clearTimeout(this._hideTimer),this._hideTimer=null,this.parentElement!=document.body&&document.body.appendChild(this),document.body.addEventListener("mousedown",this._onParentMouseDown),Ct(this)&&this.setDefaultSize(),this.show();const o=Tt(t,document.body);Ht(this,{l:o.left+t.offsetWidth+e.model.options.comments.offsetX,t:o.top+e.model.options.comments.offsetY}),this.style.zIndex=this.zIndex.toString(),this.setDefaultSize(),this.updateConnector(),i&&this.startEdit(0)}};vC.styles=[gC],mC([$n({type:Array})],vC.prototype,"items",void 0),mC([An()],vC.prototype,"cellModel",void 0),mC([An()],vC.prototype,"editIndex",void 0),mC([On("og-container")],vC.prototype,"container",void 0),mC([On(".head")],vC.prototype,"head",void 0),mC([Pn(".comment-body")],vC.prototype,"bodies",void 0),vC=mC([In("og-grid-comment")],vC);const bC=(t,e)=>{for(const i in e)t.style[i]=e[i]};function yC(t,e,i){e.hasError&&!e.error.handled&&(t.innerHTML=`<span style="color:#fff;background:#f00">!${e.error.message}</span>`),e.cssStyle&&bC(t,e.cssStyle),e.hasSparkline&&function(t,e){const i=yt("og-grid-sparkline");i.cell=e,t.appendChild(i)}(t,e);let o=e.calculatedIndent;if(o>0&&(o*=e.model.options.cellIndentFactor??1),e.column.levelButtons){if(e.row.hasChildren){const i=new
|
|
5079
|
+
`,this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("mouseover",this._onMouseOver)}add(){this.items.unshift(new $w({text:"",author:this.cellModel.model.options.user})),this.startEdit(0)}async startEdit(t){this.editIndex=t,this.requestUpdate(),await this.updateComplete,this.offsetHeight<this.container.inner.offsetHeight&&Nt(this,{h:this.container.inner.offsetHeight+this.head.offsetHeight+10})}endEdit(){this.commit(),this.editIndex=-1}delete(t){const e=this.items.splice(t,1);this.requestUpdate(),this.dispatchEvent(new fC("delete",this.items,e?e[0]:null,null,this.cellModel))}commit(){this.editItem&&this.editItem.text!=this.editBody.innerText&&(this.editItem.text=this.editBody.innerText,this.editItem.date=new Date,this.dispatchEvent(new fC("commit",this.items,this.editItem,this.editIndex,this.cellModel)))}disconnectedCallback(){this.destroy()}destroy(){this._connector?.parentElement&&this._connector.remove()}updated(){this.editBody&&(this.editBody.focus(),this.editBody.addEventListener("blur",(()=>this.endEdit()),{once:!0})),this.items?.forEach(((t,e)=>{const i=this.bodies[e];X(this.cellModel?.commentRenderer)?(i.style.whiteSpace="normal",this.cellModel?.commentRenderer(i,t,this.cellModel)):(i.style.whiteSpace="pre-wrap",i.textContent=t?.text??"")}))}canEdit(t){return this.cellModel?.commentable&&!this.items[t].readOnly}get canAdd(){return this.cellModel?.commentable}deatach(t=0){this.isAttached&&(this._hideTimerDisabled||this._hideTimer||(this._hideTimer=window.setTimeout((()=>{this._attachedTo=null,this.hide(),this._connector&&(this._connector.style.display="none"),this.parentElement&&this.parentElement.removeEventListener("mousemove",this._onParentMouseDown)}),t)))}get zIndex(){return this.cellModel?.model?.options?.comments?.zIndex??av.DEFAULT_OPTIONS.comments.zIndex}updateConnector(){if(!this.isAttached)return;this._connector||(this._connector=document.createElementNS("http://www.w3.org/2000/svg","svg"),document.body.appendChild(this._connector));const t=Tt(this.attachedTo,document.body),e=t.left+this._attachedTo.offsetWidth<this.offsetLeft+this.offsetWidth/2,i=t.top<this.offsetTop+this.offsetHeight/2,o=e?t.left+this._attachedTo.offsetWidth:this.offsetLeft+this.offsetWidth/2,r=i?t.top:this.offsetTop+this.offsetHeight/2,s=e?this.offsetLeft+this.offsetWidth/2:t.left+this._attachedTo.offsetWidth,n=i?this.offsetTop+this.offsetHeight/2:t.top;this._connector.setAttribute("width",(s-o).toString()),this._connector.setAttribute("height",(n-r).toString()),this._connector.style.pointerEvents="none",this._connector.style.zIndex=(this.zIndex-1).toString(),Ht(this._connector,{l:o,t:r}),this._connector.style.display="block",this._connector.innerHTML=`\n\t\t\t<line \n\t\t\t\tx1="${e?0:s-o}" y1="${i?0:n-r}" \n\t\t\t\tx2="${e?s-o:0}" y2="${i?n-r:0}" \n\t\t\t\tstroke="#8b7600" stroke-width="1"/>\n\t\t`}async setDefaultSize(){new Promise((t=>{setTimeout((()=>{const e=Math.max(av.MIN_COMMENT_AUTOHEIGHT,Math.min(av.MAX_COMMENT_AUTOHEIGHT,this.container.inner.offsetHeight));Nt(this,{h:this.head.offsetHeight+e}),t()}),100)}))}attachTo(t,e,i=!1){this._attachedTo=t,this.items=e.comments,this.cellModel=e,this._hideTimerDisabled=i,this._hideTimer&&window.clearTimeout(this._hideTimer),this._hideTimer=null,this.parentElement!=document.body&&document.body.appendChild(this),document.body.addEventListener("mousedown",this._onParentMouseDown),Ct(this)&&this.setDefaultSize(),this.show();const o=Tt(t,document.body);Ht(this,{l:o.left+t.offsetWidth+e.model.options.comments.offsetX,t:o.top+e.model.options.comments.offsetY}),this.style.zIndex=this.zIndex.toString(),this.setDefaultSize(),this.updateConnector(),i&&this.startEdit(0)}};vC.styles=[gC],mC([$n({type:Array})],vC.prototype,"items",void 0),mC([An()],vC.prototype,"cellModel",void 0),mC([An()],vC.prototype,"editIndex",void 0),mC([On("og-container")],vC.prototype,"container",void 0),mC([On(".head")],vC.prototype,"head",void 0),mC([Pn(".comment-body")],vC.prototype,"bodies",void 0),vC=mC([In("og-grid-comment")],vC);const bC=(t,e)=>{for(const i in e)t.style[i]=e[i]};function yC(t,e,i){e.hasError&&!e.error.handled&&(t.innerHTML=`<span style="color:#fff;background:#f00">!${e.error.message}</span>`),e.cssStyle&&bC(t,e.cssStyle),e.hasSparkline&&function(t,e){const i=yt("og-grid-sparkline");i.cell=e,t.appendChild(i)}(t,e);let o=e.calculatedIndent;if(o>0&&(o*=e.model.options.cellIndentFactor??1),e.column.levelButtons){if(e.row.hasChildren){const i=new Yu;i.state=e.row.collapsed?"closed":"open",i.addEventListener("toggle",(()=>this.grid.rendering.toggleRow(e.row.index))),i.addEventListener("click",(t=>t.stopPropagation())),t.appendChild(i),Ht(i,{l:4+o,t:(e.model.options.rowHeight||20)/2-6})}o+=20}if(o>0&&(t.style.paddingLeft=Dt(o)),(e.hasComment||e.hasTooltip||e.clickable&&(null!==e.value||e.model.options.emptyClickable))&&(!i||!i.export)){const i=yt("div");i.className="crn",t.appendChild(i),e.hasComment&&t.classList.add("cmt"),e.hasTooltip&&t.classList.add("tt"),e.clickable&&t.classList.add("clc")}if(e.composedStyle&&e.composedStyle.icon){const i=yt("og-icon");i.icon=e.composedStyle.icon,Ht(i,{l:4,t:2}),t.appendChild(i)}const r=e.afterRenderer;return r&&r(t,e),t}function wC(t,e,i,o){t.stopPropagation(),e.selecting.select(i.range),e.dispatchEvent(new Xx("action",{grid:e,cell:i,action:o.action}))}function xC(t,e){e.title?(t.tooltip.content=e.title,t.tooltip.attachToCursor()):kC(t)}function kC(t){t.tooltip?.hide()}function CC(t,e,i){(t=yC.call(this,t,e,i)).style.textAlign="center",t.innerHTML="";const o=yt("og-checkbox");return o.addEventListener("mousedown",(t=>{if(t.stopPropagation(),!e.editable)return;const i=this.grid,r="checked"!=o.value;i.editing.updateCell(e,r),o.value=r?"checked":"none"})),o.style.cursor="pointer",o.value=e.value?"checked":"none",t.appendChild(o),t}function MC(t,e,i){const o=e.model.options;try{t.textContent=e.value?o.dateFormatter(e.value,e.format):""}catch(e){t.textContent="!invalid format"}if(e.editable&&o.editing?.dateCalendarEditor){const e=yt("div");e.className="triangle-down",Ht(e,{t:8,r:8}),t.appendChild(e)}return yC.call(this,t,e,i)}function _C(t,e,i){if(!i||!1!==i.default)if(null!=e.displayValue)t.textContent=e.displayValue;else{const i=e.valueFormatter;t.textContent=(i?i(e.value):e.value)??""}const o=yt("div");return o.className="triangle-down",Ht(o,{t:8,r:8}),t.appendChild(o),yC.call(this,t,e,i)}function SC(t,e,i){e.cssStyle&&e.cssStyle.textAlign||(t.style.textAlign="right");try{t.innerHTML=e.formattedValue}catch(i){t.textContent=(e.value??"").toString()}return yC.call(this,t,e,i)}function zC(t,e,i){let o="";if(e.hasDisplayValue)o=e.displayValue;else if(null!=e.value){const t=e.valueFormatter;o=t?t(e.value):e.value??""}if(e.hyperlink){const i=yt("a");i.href=e.hyperlink,i.textContent=o,i.setAttribute("target","_blank"),St(t),t.appendChild(i),i.addEventListener("pointerdown",(t=>{t.stopPropagation()}))}else t.textContent=o;return"pre-wrap"!==(t=yC.call(this,t,e,i)).style.whiteSpace&&(t.style.whiteSpace="pre"),t}function EC(t,e,i){const o=e.value;return isNaN(o)||""===o?zC.call(this,t,e,i):SC.call(this,t,e,i)}const LC={n:SC,t:zC,tm:MC,d:MC,dt:MC,b:CC,s:_C,m:_C,g:EC,a:function(t,e){const i=(e.editorContent??e.value)||[];t.innerHTML="";const o=this.grid;return zn(ln`
|
|
5076
5080
|
<div class="actions">
|
|
5077
5081
|
${jn(i,(t=>rv(t.type||"button",[["button",()=>ln`
|
|
5078
5082
|
<og-button
|
|
@@ -5103,7 +5107,7 @@
|
|
|
5103
5107
|
</og-dropdown-menu>
|
|
5104
5108
|
`]])))}
|
|
5105
5109
|
</div>
|
|
5106
|
-
`,t),yC.call(this,t,e)},h:function(t,e,i){return t.innerHTML=e.value,yC.call(this,t,e,i)}};function IC(t){return t.renderer||LC[t.type]||EC}class RC extends hu{getCells(t){return null}getStyles(){return null}getRules(){return null}getComments(){return null}getSparklines(){return null}getOptions(){return null}}function TC(t,e){const i=de(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=ae(t),s=r.getDay(),n=6+(s<o?-7:0)-(s-o);return r.setDate(r.getDate()+n),r.setHours(23,59,59,999),r}const $C={minDate:new Date(1900,0,1,0,0,0),maxDate:new Date(2100,11,31,0,0,0),weekStart:1,todayButton:!0,highlightToday:!0,controlsPosition:"top"};function AC(t,e=null){const i={...ss(t,e),...$C,...e,...t};return i.minDate=bi(i.minDate,{weekStartsOn:i.weekStart}),i.maxDate=TC(i.maxDate,{weekStartsOn:i.weekStart}),i}function DC(t,e){const i=ae(t.start),o=ae(t.end);let r=+i>+o;const s=r?+i:+o,n=r?o:i;n.setHours(0,0,0,0);let a=e?.step??1;if(!a)return[];a<0&&(a=-a,r=!r);const l=[];for(;+n<=s;)l.push(ae(n)),n.setDate(n.getDate()+a),n.setHours(0,0,0,0);return r?l.reverse():l}function OC(t){return Math.ceil(uo(t.maxDate,t.minDate)/7)}function NC(t,e,i){return vf(i.minDate,{days:7*t+e})}function PC(t,e){return{row:Math.floor(uo(t,e.minDate)/7),column:uo(t,e.minDate)%7}}function jC(t,e){return+ae(t)==+ae(e)}const HC=t=>(t=>null!=t?._$litType$?.h)(t)?t._$litType$.h:t.strings,FC=Fn(class extends Bn{constructor(t){super(t),this.et=new WeakMap}render(t){return[t]}update(t,[e]){const i=Qn(this.it)?HC(this.it):null,o=Qn(e)?HC(e):null;if(null!==i&&(null===o||i!==o)){const e=ia(t).pop();let o=this.et.get(i);if(void 0===o){const t=document.createDocumentFragment();o=zn(dn,t),o.setConnected(!1),this.et.set(i,o)}ea(o,[e]),Jn(o,void 0,e)}if(null!==o){if(null===i||i!==o){const e=this.et.get(o);if(void 0!==e){const i=ia(e).pop();(t=>{t._$AR()})(t),Jn(t,void 0,i),ea(t,[i])}}this.it=e}else this.it=void 0;return this.render(e)}});var BC,WC,VC,UC,GC,qC,
|
|
5110
|
+
`,t),yC.call(this,t,e)},h:function(t,e,i){return t.innerHTML=e.value,yC.call(this,t,e,i)}};function IC(t){return t.renderer||LC[t.type]||EC}class RC extends hu{getCells(t){return null}getStyles(){return null}getRules(){return null}getComments(){return null}getSparklines(){return null}getOptions(){return null}}function TC(t,e){const i=de(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=ae(t),s=r.getDay(),n=6+(s<o?-7:0)-(s-o);return r.setDate(r.getDate()+n),r.setHours(23,59,59,999),r}const $C={minDate:new Date(1900,0,1,0,0,0),maxDate:new Date(2100,11,31,0,0,0),weekStart:1,todayButton:!0,highlightToday:!0,controlsPosition:"top"};function AC(t,e=null){const i={...ss(t,e),...$C,...e,...t};return i.minDate=bi(i.minDate,{weekStartsOn:i.weekStart}),i.maxDate=TC(i.maxDate,{weekStartsOn:i.weekStart}),i}function DC(t,e){const i=ae(t.start),o=ae(t.end);let r=+i>+o;const s=r?+i:+o,n=r?o:i;n.setHours(0,0,0,0);let a=e?.step??1;if(!a)return[];a<0&&(a=-a,r=!r);const l=[];for(;+n<=s;)l.push(ae(n)),n.setDate(n.getDate()+a),n.setHours(0,0,0,0);return r?l.reverse():l}function OC(t){return Math.ceil(uo(t.maxDate,t.minDate)/7)}function NC(t,e,i){return vf(i.minDate,{days:7*t+e})}function PC(t,e){return{row:Math.floor(uo(t,e.minDate)/7),column:uo(t,e.minDate)%7}}function jC(t,e){return+ae(t)==+ae(e)}const HC=t=>(t=>null!=t?._$litType$?.h)(t)?t._$litType$.h:t.strings,FC=Fn(class extends Bn{constructor(t){super(t),this.et=new WeakMap}render(t){return[t]}update(t,[e]){const i=Qn(this.it)?HC(this.it):null,o=Qn(e)?HC(e):null;if(null!==i&&(null===o||i!==o)){const e=ia(t).pop();let o=this.et.get(i);if(void 0===o){const t=document.createDocumentFragment();o=zn(dn,t),o.setConnected(!1),this.et.set(i,o)}ea(o,[e]),Jn(o,void 0,e)}if(null!==o){if(null===i||i!==o){const e=this.et.get(o);if(void 0!==e){const i=ia(e).pop();(t=>{t._$AR()})(t),Jn(t,void 0,i),ea(t,[i])}}this.it=e}else this.it=void 0;return this.render(e)}});var BC,WC,VC,UC,GC,YC,qC,ZC,XC,QC,KC,JC,tM,eM,iM=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n},oM=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},rM=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i};let sM=class extends pu{constructor(){super(...arguments),BC.add(this),this.date=le(new Date),this.year=(new Date).getFullYear(),this.month=(new Date).getMonth()+1,WC.set(this,void 0),VC.set(this,(()=>this.dispatchEvent(new Qr({value:this.date})))),UC.set(this,(()=>this.body.clientWidth/7)),GC.set(this,(()=>(this.body.clientHeight-iv.HEADER_HEIGHT)/6)),YC.set(this,void 0),qC.set(this,!1),ZC.set(this,void 0),XC.set(this,((t,e)=>{const i=NC(e.r,e.c,this.options);t.innerHTML=no(i,"d"),t.style.lineHeight=Ot(e.row.height),t.style.textAlign="center";const o=i.getMonth(),r=this.options.highlightToday&&(s=i,n=new Date,+le(s)==+le(n));var s,n;return null==oM(this,ZC,"f")&&(rM(this,ZC,(o+(i.getDate()<10?0:1))%12,"f"),this.month=oM(this,ZC,"f")+1,i.setDate(i.getDate()+10),this.year=i.getFullYear()),oM(this,ZC,"f")==o?t.style.backgroundColor="initial":t.style.backgroundColor="var(--og-background-color-3)",r&&(t.style.border="2px solid var(--og-border-color-3)",t.style.fontWeight="bold"),t})),JC.set(this,(t=>{const e=t.selection.range;if(t.selection.activeCell&&e.r1===e.r2&&e.c1===e.c2){const t=le(NC(e.r1,e.c1,this.options));jC(t,this.date)||(this.date=t),oM(this,VC,"f").call(this)}})),tM.set(this,(()=>rM(this,ZC,null,"f"))),eM.set(this,(async()=>{this.month=this.monthDropdown.value,this.year=this.yearDropdown.value,await this.updateComplete,this.gotoCurrentSelection()})),this.renderControls=()=>ln`
|
|
5107
5111
|
<div class="header">
|
|
5108
5112
|
${this.date?ln`
|
|
5109
5113
|
<og-button
|
|
@@ -5183,7 +5187,7 @@
|
|
|
5183
5187
|
</og-button>
|
|
5184
5188
|
`))}
|
|
5185
5189
|
</div>
|
|
5186
|
-
`,this.render=()=>im("top"!=this.options.controlsPosition?[FC(ln`<div class="body"></div>`),this.renderControls()]:[this.renderControls(),FC(ln`<div class="body"></div>`)],"")}get dateFormatter(){return oM(this,WC,"f")||rM(this,WC,Qo(this.options.locale,this.options.dateFormat),"f"),oM(this,WC,"f")}get formattedDate(){return this.date?this.dateFormatter(this.date):""}willUpdate(t){!t.has("options")&&this.options||(this.options=AC(this.options))}connectedCallback(){super.connectedCallback(),this.updateBody()}disconnectedCallback(){this.body&&St(this.body),rM(this,
|
|
5190
|
+
`,this.render=()=>im("top"!=this.options.controlsPosition?[FC(ln`<div class="body"></div>`),this.renderControls()]:[this.renderControls(),FC(ln`<div class="body"></div>`)],"")}get dateFormatter(){return oM(this,WC,"f")||rM(this,WC,Qo(this.options.locale,this.options.dateFormat),"f"),oM(this,WC,"f")}get formattedDate(){return this.date?this.dateFormatter(this.date):""}willUpdate(t){!t.has("options")&&this.options||(this.options=AC(this.options))}connectedCallback(){super.connectedCallback(),this.updateBody()}disconnectedCallback(){this.body&&St(this.body),rM(this,YC,null,"f")}updateBody(){this.body&&this.body.firstElementChild!=this.grid&&(St(this.body),this.grid.setSourceData(oM(this,BC,"m",QC).call(this)),this.body.appendChild(this.grid))}get grid(){return oM(this,YC,"f")||(rM(this,YC,yt("og-grid"),"f"),Ft(oM(this,YC,"f"),0),oM(this,YC,"f").addEventListener("grid.select",oM(this,JC,"f")),oM(this,YC,"f").addEventListener("grid.render",oM(this,tM,"f")),oM(this,YC,"f").addEventListener("grid.init",(()=>{const t=PC(this.date,this.options);this.grid?.selecting.select(new Ev(t.column,t.row)),this.goto(),rM(this,qC,!0,"f")}))),oM(this,YC,"f")}async layout(){await this.updateComplete;const t=oM(this,UC,"f").call(this),e=oM(this,GC,"f").call(this);this.grid.model.columns.forEach((e=>e.width=t)),this.grid.model.rows.forEach((t=>t.height=e)),this.grid.layout()}goto(t=null){rM(this,ZC,null,"f"),t=t??this.date??new Date,this.year=t.getFullYear(),this.month=t.getMonth()+1,oM(this,YC,"f").rendering.scrollTo(function(t,e){return Math.floor(uo(function(t){const e=ae(t);return e.setDate(1),e.setHours(0,0,0,0),e}(t),e.minDate)/7)}(t,this.options),0)}updated(t){if(this.updateBody(),t.has("options")&&this.grid?.setSourceData(oM(this,BC,"m",QC).call(this)),t.has("date")&&oM(this,qC,"f")){const t=PC(this.date,this.options);this.grid?.selecting.select(new Ev(t.column,t.row)),this.goto()}this.grid.updateComplete.then((()=>oM(this,BC,"m",KC).call(this,this.grid.table)))}updateDate(t,e=!0){jC(t=le(t),this.date)||(this.date=t,e&&oM(this,VC,"f").call(this))}gotoCurrentSelection(){this.goto(new Date(this.year,this.month-1,1,0,0,0))}addYear(t){this.year=Math.max(this.options.minDate.getFullYear(),Math.min(this.options.maxDate.getFullYear(),this.year+t)),this.gotoCurrentSelection()}addMonth(t){this.month+t>12?(this.month=1,this.addYear(1)):this.month+t<1?(this.month=12,this.addYear(-1)):(this.month+=t,this.gotoCurrentSelection())}};WC=new WeakMap,VC=new WeakMap,UC=new WeakMap,GC=new WeakMap,YC=new WeakMap,qC=new WeakMap,ZC=new WeakMap,XC=new WeakMap,JC=new WeakMap,tM=new WeakMap,eM=new WeakMap,BC=new WeakSet,QC=function(){return{columns:(t=this.options,DC({start:bi(new Date,{weekStartsOn:t.weekStart}),end:TC(new Date,{weekStartsOn:t.weekStart})}).map((e=>no(e,"cccccc",{locale:Ko(t.locale)})))).map((t=>({renderer:oM(this,XC,"f"),header:[{label:t,height:iv.HEADER_HEIGHT}]}))),options:{rows:OC(this.options),rowHeight:oM(this,GC,"f").call(this),columnWidth:oM(this,UC,"f").call(this),colLetters:!1,rowNumbers:!1,rowResize:!1,columnResize:!1,autofill:!1,cellCache:!1,singleCellModel:!0,selecting:{enabled:!0,multiSelect:!1},scrolling:{verticalOverscroll:!1,horizontalOverscroll:!1}}};var t},KC=function(t){t.dataset.init||(t.dataset.init="1",$t(t.shadowRoot,"td:hover>div { \n\t\t\tborder: 2px solid var(--og-accent-color) !important;\n\t\t\tcursor: pointer;\n\t\t}"))},sM.styles=[ov],iM([On(".body")],sM.prototype,"body",void 0),iM([$n({type:Object})],sM.prototype,"options",void 0),iM([$n({type:Object})],sM.prototype,"date",void 0),iM([$n({type:Number})],sM.prototype,"year",void 0),iM([$n({type:Number})],sM.prototype,"month",void 0),iM([On("og-dropdown-list.month")],sM.prototype,"monthDropdown",void 0),iM([On("og-dropdown-list.year")],sM.prototype,"yearDropdown",void 0),sM=iM([In("og-calendar")],sM);const nM=ks`
|
|
5187
5191
|
og-input {
|
|
5188
5192
|
flex: 1;
|
|
5189
5193
|
border: none;
|
|
@@ -5543,7 +5547,7 @@
|
|
|
5543
5547
|
og-calendar-dropdown {
|
|
5544
5548
|
height: 100%;
|
|
5545
5549
|
}
|
|
5546
|
-
`],UM=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n}([In("og-form-calendardateinput")],UM);var GM=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let
|
|
5550
|
+
`],UM=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n}([In("og-form-calendardateinput")],UM);var GM=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let YM=class extends OM{async validate(){await super.validate()}constructor(){super(),this._onChange=t=>{this.updateValue(parseFloat(t.target.value))},this.up=()=>this.updateValue((this.value??-1)+1),this.down=()=>this.updateValue((this.value??1)-1),this.render=()=>ln`
|
|
5547
5551
|
<og-numericinput
|
|
5548
5552
|
?buttons="${!0}"
|
|
5549
5553
|
?disabled="${this.readOnly}"
|
|
@@ -5553,7 +5557,7 @@
|
|
|
5553
5557
|
.placeholder="${this.model?.props.placeholder}"
|
|
5554
5558
|
@change="${this._onChange}">
|
|
5555
5559
|
</og-numericinput>
|
|
5556
|
-
`}async updateValue(t,e=!0){null!=t&&(t=isNaN(this.min)?t:Math.max(t,this.min),t=isNaN(this.max)?t:Math.min(t,this.max)),await super.updateValue(t,e),this.requestUpdate()}};
|
|
5560
|
+
`}async updateValue(t,e=!0){null!=t&&(t=isNaN(this.min)?t:Math.max(t,this.min),t=isNaN(this.max)?t:Math.min(t,this.max)),await super.updateValue(t,e),this.requestUpdate()}};YM.styles=[...OM.styles,ks`
|
|
5557
5561
|
og-numericinput {
|
|
5558
5562
|
border: 1px solid var(--og-accent-color);
|
|
5559
5563
|
background-color: var(--og-form-background-color);
|
|
@@ -5581,14 +5585,14 @@
|
|
|
5581
5585
|
:host(:hover) .buttons {
|
|
5582
5586
|
display: block;
|
|
5583
5587
|
}
|
|
5584
|
-
`],GM([$n({type:Number})],
|
|
5588
|
+
`],GM([$n({type:Number})],YM.prototype,"min",void 0),GM([$n({type:Number})],YM.prototype,"max",void 0),YM=GM([In("og-form-numericinput")],YM);let qM=class extends OM{constructor(){super(...arguments),this.render=()=>ln`
|
|
5585
5589
|
<og-fileinput ?disabled="${this.readOnly}" @change="${t=>this.updateValue(t.value)}"></og-fileinput>
|
|
5586
|
-
`}};
|
|
5590
|
+
`}};qM.styles=[...OM.styles,ks`
|
|
5587
5591
|
og-fileinput {
|
|
5588
5592
|
border-color: var(--og-accent-color);
|
|
5589
5593
|
width: 100%;
|
|
5590
5594
|
}
|
|
5591
|
-
`],
|
|
5595
|
+
`],qM=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n}([In("og-form-fileinput")],qM);let ZM=class extends OM{get isValid(){return!0}constructor(){super(),this.render=()=>ln`
|
|
5592
5596
|
<og-checkbox .value="${this.value?"checked":"none"}"></og-checkbox>
|
|
5593
5597
|
`,this.addEventListener("click",(()=>{this.readOnly||(this.updateValue(!this.value),this.requestUpdate())}))}};ZM.styles=[...OM.styles,ks`
|
|
5594
5598
|
:host {
|
|
@@ -5651,7 +5655,7 @@
|
|
|
5651
5655
|
width: 100%;
|
|
5652
5656
|
text-align: center;
|
|
5653
5657
|
}
|
|
5654
|
-
`],JM([$n({type:Object})],t_.prototype,"model",void 0),JM([$n({type:Object})],t_.prototype,"adapter",void 0),JM([$n({type:String})],t_.prototype,"value",void 0),t_=JM([In("og-form-button"),
|
|
5658
|
+
`],JM([$n({type:Object})],t_.prototype,"model",void 0),JM([$n({type:Object})],t_.prototype,"adapter",void 0),JM([$n({type:String})],t_.prototype,"value",void 0),t_=JM([In("og-form-button"),qa({props:["color","border","background"]})],t_);var e_=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const i_={type:yM.List,value:[],content:{sourceData:[{k:!0,v:"Visible",icon:"eye"},{k:!1,v:"Hidden",icon:"eye-slash"}],options:{allowEmpty:!1,checkboxes:!1,selectMode:Fm.Single,autoClose:!0}}},o_=[{caption:"Sheet Settings",controls:[{row:0,col:0,type:yM.Label,value:"Name"},{row:0,col:1,type:yM.TextInput,key:"name",pattern:lv},{row:1,col:0,type:yM.Label,value:"Sheet"},Object.assign({row:1,col:1,key:"visible"},i_),{row:2,col:0,type:yM.Label,value:"Color"},{row:2,col:1,type:yM.ColorInput,key:"color"},{row:3,col:0,type:yM.Label,value:"Grid"},Object.assign({row:3,col:1,key:"grid"},i_),{row:4,col:0,type:yM.Label,value:"Row numbers"},Object.assign({row:4,col:1,key:"rowNumbers"},i_),{row:5,col:0,type:yM.Label,value:"Column letters"},Object.assign({row:5,col:1,key:"colLetters"},i_)],columns:[{width:120},{width:null}]},{caption:"Workbook Settings",controls:[{row:0,col:0,type:yM.Label,value:"Hidden Sheets"},Object.assign({row:0,col:1,key:"hiddenSheetsVisible"},i_)],columns:[{width:120},{width:null}]}];let r_=class extends $M{connectedCallback(){super.connectedCallback(),this.setSourceData(o_)}firstUpdated(){this.addEventListener("form.change",(t=>{if(!t.valid)return;const e=this.forms[0].values,i=this.forms[1].values,o=this.model;if(o.options.grid=e.grid,o.options.rowNumbers=e.rowNumbers,o.options.colLetters=e.colLetters,o.name!=e.name)try{this.group.renameSheet(o.name,e.name)}catch(t){setTimeout((()=>this.forms[0].setValue("name",o.name)),100)}o.tab=o.tab||{},o.tab.color=e.color,o.tab.hidden=!e.visible,this.group.options.showHiddenTabs=!!i.hiddenSheetsVisible,this.group.updateTabs(),this.grid?.table.refresh()}))}async updated(){await this.forms[0].updateComplete,await this.forms[1].updateComplete,this.forms[0].values=this.model?{name:this.model.name,color:this.model.tab?.color,visible:!this.model.tab?.hidden,grid:this.model.options.grid,rowNumbers:this.model.options.rowNumbers,colLetters:this.model.options.colLetters}:{},this.forms[1].values=this.model?{hiddenSheetsVisible:!!this.group.options.showHiddenTabs}:{}}};r_.styles=[...$M.styles],e_([$n({type:Object})],r_.prototype,"model",void 0),e_([$n({type:Object})],r_.prototype,"grid",void 0),e_([$n({type:Object})],r_.prototype,"group",void 0),r_=e_([In("og-editor-form-config")],r_);const s_=ks`
|
|
5655
5659
|
:host {
|
|
5656
5660
|
box-sizing: border-box;
|
|
5657
5661
|
display: flex;
|
|
@@ -6214,7 +6218,7 @@
|
|
|
6214
6218
|
.size="${this.model.conditionalFormats.formats.length}">
|
|
6215
6219
|
</og-list>
|
|
6216
6220
|
</div>
|
|
6217
|
-
`:""}connectedCallback(){super.connectedCallback()}moveRuleUp(t){if(0==t)return;const e=this.model.conditionalFormats.formats;e.splice(t-1,0,e.splice(t,1)[0]),this.updateList()}moveRuleDown(t){const e=this.model.conditionalFormats.formats;t>=e.length||(e.splice(t+1,0,e.splice(t,1)[0]),this.updateList())}deleteRule(t){this.model.conditionalFormats.formats.splice(t,1),this.updateList()}toggleRuleStop(t){const e=this.getFormatByIndex(t);e.stop=!e.stop,this.updateList()}addRule(){this.model.conditionalFormats.formats.push({}),this.updateList()}_onInputChange(t,e){const i=t.target;switch(i.dataset.id){case"ranges":e.ranges=Ev.fromA1s(i.value);break;case"condition":e.condition=i.value}}_onStyleChange(t,e){e.style=this.model.styles.add(t.value)}getFormatByIndex(t){return this.model.conditionalFormats.formats[t]}changeType(t,e){this.getFormatByIndex(t).type=e,this.updateList()}};W_.styles=[j_],F_([$n({type:Object})],W_.prototype,"grid",void 0),F_([$n({type:Object})],W_.prototype,"model",void 0),F_([On("og-list")],W_.prototype,"list",void 0),W_=F_([In("og-editor-rules")],W_);var V_=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const U_=[{key:"auto",value:"automatic"},{key:"num",value:"number"},{key:"percent",value:"percent"}],G_={num:"#,##0.00",percent:'#,##0.00" %"'};let
|
|
6221
|
+
`:""}connectedCallback(){super.connectedCallback()}moveRuleUp(t){if(0==t)return;const e=this.model.conditionalFormats.formats;e.splice(t-1,0,e.splice(t,1)[0]),this.updateList()}moveRuleDown(t){const e=this.model.conditionalFormats.formats;t>=e.length||(e.splice(t+1,0,e.splice(t,1)[0]),this.updateList())}deleteRule(t){this.model.conditionalFormats.formats.splice(t,1),this.updateList()}toggleRuleStop(t){const e=this.getFormatByIndex(t);e.stop=!e.stop,this.updateList()}addRule(){this.model.conditionalFormats.formats.push({}),this.updateList()}_onInputChange(t,e){const i=t.target;switch(i.dataset.id){case"ranges":e.ranges=Ev.fromA1s(i.value);break;case"condition":e.condition=i.value}}_onStyleChange(t,e){e.style=this.model.styles.add(t.value)}getFormatByIndex(t){return this.model.conditionalFormats.formats[t]}changeType(t,e){this.getFormatByIndex(t).type=e,this.updateList()}};W_.styles=[j_],F_([$n({type:Object})],W_.prototype,"grid",void 0),F_([$n({type:Object})],W_.prototype,"model",void 0),F_([On("og-list")],W_.prototype,"list",void 0),W_=F_([In("og-editor-rules")],W_);var V_=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const U_=[{key:"auto",value:"automatic"},{key:"num",value:"number"},{key:"percent",value:"percent"}],G_={num:"#,##0.00",percent:'#,##0.00" %"'};let Y_=class extends En{constructor(){super(...arguments),this.first=!1,this.allowedTypes=["num","percent"],this._onTypeChange=t=>{"auto"===t.value?this.value=null:G_[t.value]&&(this.value={t:t.value,v:this.value?.v||0})},this._onChange=()=>{this.value={t:this.typeInput.value,v:this.valueInput.value},this.dispatchEvent(new Qr(this.value))},this.render=()=>ln`
|
|
6218
6222
|
<og-dropdown-list
|
|
6219
6223
|
id="type"
|
|
6220
6224
|
style="flex: 0; min-width: 100px"
|
|
@@ -6232,7 +6236,7 @@
|
|
|
6232
6236
|
@change="${this._onChange}"
|
|
6233
6237
|
style="flex: 1">
|
|
6234
6238
|
</og-numericinput>
|
|
6235
|
-
`}get isDisabled(){return this.first&&"percent"===this.value?.t||"auto"===(this.value?.t||"auto")}get format(){return this.value?G_[this.value.t]:"0"}};
|
|
6239
|
+
`}get isDisabled(){return this.first&&"percent"===this.value?.t||"auto"===(this.value?.t||"auto")}get format(){return this.value?G_[this.value.t]:"0"}};Y_.styles=ks`
|
|
6236
6240
|
* {
|
|
6237
6241
|
box-sizing: border-box;
|
|
6238
6242
|
}
|
|
@@ -6250,7 +6254,7 @@
|
|
|
6250
6254
|
og-form-numericinput {
|
|
6251
6255
|
height: 100%;
|
|
6252
6256
|
}
|
|
6253
|
-
`,V_([$n({type:Object})],
|
|
6257
|
+
`,V_([$n({type:Object})],Y_.prototype,"value",void 0),V_([$n({type:Boolean})],Y_.prototype,"first",void 0),V_([$n({type:Array})],Y_.prototype,"allowedTypes",void 0),V_([On("og-dropdown-list#type")],Y_.prototype,"typeInput",void 0),V_([On("og-numericinput#value")],Y_.prototype,"valueInput",void 0),Y_=V_([In("og-editor-rule-threshold")],Y_);var q_=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const Z_=[{type:"togglebutton",id:"bold",icon:{icon:"bold"}},{type:"togglebutton",id:"italic",icon:{icon:"italic"}},{type:"togglebutton",id:"underline",icon:{icon:"underline"}},{type:"dropdown-button",id:"alignment",icon:{icon:"align-center"},items:[[{type:"button",id:"alignTopLeft",icon:{icon:"align-left"}},{type:"button",id:"alignTopCenter",icon:{icon:"align-center"}},{type:"button",id:"alignTopRight",icon:{icon:"align-right"}}],[{type:"button",id:"alignCenterLeft",icon:{icon:"align-left"}},{type:"button",id:"alignCenterCenter",icon:{icon:"align-center"}},{type:"button",id:"alignCenterRight",icon:{icon:"align-right"}}],[{type:"button",id:"alignBottomLeft",icon:{icon:"align-left"}},{type:"button",id:"alignBottomCenter",icon:{icon:"align-center"}},{type:"button",id:"alignBottomRight",icon:{icon:"align-right"}}]]},{type:"color",id:"color",icon:{icon:"font"}},{type:"color",id:"fgColor",icon:{icon:"fill"}},{type:"dropdown-button",id:"border",icon:{icon:"align-center"},items:[[{type:"button",id:"borderLeft",value:{left:{style:"thin"}},content:k_("left")},{type:"button",id:"borderRight",value:{right:{style:"thin"}},content:k_("right")},{type:"button",id:"borderTop",value:{top:{style:"thin"}},content:k_("top")},{type:"button",id:"borderBottom",value:{bottom:{style:"thin"}},content:k_("bottom")}],[{type:"button",id:"borderNone",value:{left:null,top:null,right:null,bottom:null},content:k_("none")},{type:"button",id:"borderAll",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:k_("all")},{type:"button",id:"borderOutside",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:k_("outside")},{type:"button",id:"borderOutsideThick",value:{left:{style:"thick"},top:{style:"thick"},right:{style:"thick"},bottom:{style:"thick"}},content:k_("outside-thick")}],[{type:"button",id:"borderBottomDouble",value:{bottom:{style:"double"}},content:k_("bottom-double")},{type:"button",id:"borderBottomThick",value:{bottom:{style:"thick"}},content:k_("bottom-thick")},{type:"button",id:"borderTopBottom",value:{top:{style:"thin"},bottom:{style:"thin"}},content:k_("top-bottom")},{type:"button",id:"borderTopBottomThick",value:{top:{style:"thin"},bottom:{style:"thick"}},content:k_("top-bottom-thick")}],[{type:"color",id:"borderColor",colspan:4,icon:{icon:"fill"}}]]}];let X_=class extends En{constructor(){super(...arguments),this.data={},this._onAction=t=>{const e=t.action;if(/^preview/.test(e.type))return;const i=rt(this.data);switch(delete i.id,delete i.hash,e.key){case"bold":i.bold=!!e.value;break;case"italic":i.italic=!!e.value;break;case"underline":i.underline=!!e.value;break;case"color":i.color=e.value.substring(1);break;case"fgColor":i.fgColor=e.value.substring(1);break;case"alignCenterCenter":i.alignment={vertical:"center",horizontal:"center"};break;case"alignTopLeft":i.alignment={vertical:"top",horizontal:"left"};break;case"alignTopCenter":i.alignment={vertical:"top",horizontal:"center"};break;case"alignTopRight":i.alignment={vertical:"top",horizontal:"right"};break;case"alignCenterLeft":i.alignment={vertical:"center",horizontal:"left"};break;case"alignCenterRight":i.alignment={vertical:"center",horizontal:"right"};break;case"alignBottomLeft":i.alignment={vertical:"bottom",horizontal:"left"};break;case"alignBottomCenter":i.alignment={vertical:"bottom",horizontal:"center"};break;case"alignBottomRight":i.alignment={vertical:"bottom",horizontal:"right"}}this.data=i,this.dispatchEvent(new Qr({value:i}))},this.render=()=>ln`
|
|
6254
6258
|
<og-toolbar
|
|
6255
6259
|
.items="${Z_}"
|
|
6256
6260
|
.values="${this.styleToToolbarValues(this.data)}"
|
|
@@ -6270,7 +6274,7 @@
|
|
|
6270
6274
|
height: 24px;
|
|
6271
6275
|
padding: 0;
|
|
6272
6276
|
}
|
|
6273
|
-
`],
|
|
6277
|
+
`],q_([$n({type:Object})],X_.prototype,"data",void 0),q_([On("og-toolbar")],X_.prototype,"toolbar",void 0),X_=q_([In("og-editor-form-style")],X_);var Q_=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const K_=[{k:"auto",v:"auto"},{k:"common",v:"common"}],J_=[{type:"dropdown",id:"chartType",width:80,items:[{k:"column",v:"column",icon:"chart-column"},{k:"line",v:"line",icon:"chart-line"}]},{type:"color",id:"color",icon:{icon:"fill"}},{type:"text",id:"min",width:80,items:K_,placeholder:"<min>"},{type:"text",id:"max",width:80,items:K_,placeholder:"<max>"}];function tS(t){return""===t||null==t?"auto":"auto"==t||"common"==t?t:parseFloat(t)}let eS=class extends En{constructor(){super(...arguments),this.updateList=()=>{this._groupIndexMap=null,this.list.size=this.model.sparklines.groups.size,this.list.renderItems(!0)},this._onApplyClick=()=>{this.grid.model.refreshSparklines(),this.grid.rendering.render(!0)},this._onOptionsToolbarAction=(t,e)=>{const i=t.action,o=this.model.sparklines.groups.get(e);if(!/^preview/.test(i.type))switch(i.key){case"chartType":o.type=i.value;break;case"color":o.style.color=i.value.substring(1);break;case"min":o.minValue=tS(i.value);break;case"max":o.maxValue=tS(i.value)}},this._itemRenderer=(t,e)=>{const i=this.groupIndexMap.get(e),o=this.model.sparklines.groups.get(i);return ln`
|
|
6274
6278
|
<div class="item-content p">
|
|
6275
6279
|
<div class="item-form">
|
|
6276
6280
|
<div class="row item-header">
|
|
@@ -7981,7 +7985,7 @@ milkdown-block-handle {
|
|
|
7981
7985
|
flex: 0;
|
|
7982
7986
|
text-align: center;
|
|
7983
7987
|
}
|
|
7984
|
-
`,FS([$n({type:Object})],VS.prototype,"ctx",void 0),FS([$n({type:Object})],VS.prototype,"md",void 0),VS=FS([In("og-markdown-block-edit")],VS);class US{constructor(t,e){NS.set(this,void 0),PS.set(this,void 0),jS.set(this,void 0),this.update=()=>{BS(this,NS,"f").update()},this.destroy=()=>{BS(this,NS,"f").destroy()},HS.set(this,(()=>{const t=BS(this,PS,"f"),e=t.get(this.md.core.editorViewCtx);e.hasFocus()||e.focus();const{state:i,dispatch:o}=e,r=BS(this,NS,"f").active;if(!r)return;const s=r.$pos.pos+r.node.nodeSize;let n=i.tr.insert(s,this.md.presets.commonmark.paragraphSchema.type(t).create());if(n=n.setSelection(this.md.prose.state.TextSelection.near(n.doc.resolve(s))),o(n.scrollIntoView()),BS(this,NS,"f").hide(),BS(this,jS,"f").menu){const t=r.el.nextElementSibling;t&&BS(this,jS,"f").showMenu(t)}})),this.md=e,WS(this,PS,t,"f");const i=yt("og-markdown-block-edit");i.ctx=t,i.md=e,i.addEventListener("add",BS(this,HS,"f")),WS(this,jS,i,"f"),WS(this,NS,new e.plugins.block.BlockProvider({ctx:t,content:i,getOffset:()=>10,getPlacement:({active:t,blockDom:e})=>(Ht(e,{l:0}),Nt(e,{h:t.el.offsetHeight,w:40}),"left")}),"f"),this.update()}}NS=new WeakMap,PS=new WeakMap,jS=new WeakMap,HS=new WeakMap;const GS={mode:"preview"};let
|
|
7988
|
+
`,FS([$n({type:Object})],VS.prototype,"ctx",void 0),FS([$n({type:Object})],VS.prototype,"md",void 0),VS=FS([In("og-markdown-block-edit")],VS);class US{constructor(t,e){NS.set(this,void 0),PS.set(this,void 0),jS.set(this,void 0),this.update=()=>{BS(this,NS,"f").update()},this.destroy=()=>{BS(this,NS,"f").destroy()},HS.set(this,(()=>{const t=BS(this,PS,"f"),e=t.get(this.md.core.editorViewCtx);e.hasFocus()||e.focus();const{state:i,dispatch:o}=e,r=BS(this,NS,"f").active;if(!r)return;const s=r.$pos.pos+r.node.nodeSize;let n=i.tr.insert(s,this.md.presets.commonmark.paragraphSchema.type(t).create());if(n=n.setSelection(this.md.prose.state.TextSelection.near(n.doc.resolve(s))),o(n.scrollIntoView()),BS(this,NS,"f").hide(),BS(this,jS,"f").menu){const t=r.el.nextElementSibling;t&&BS(this,jS,"f").showMenu(t)}})),this.md=e,WS(this,PS,t,"f");const i=yt("og-markdown-block-edit");i.ctx=t,i.md=e,i.addEventListener("add",BS(this,HS,"f")),WS(this,jS,i,"f"),WS(this,NS,new e.plugins.block.BlockProvider({ctx:t,content:i,getOffset:()=>10,getPlacement:({active:t,blockDom:e})=>(Ht(e,{l:0}),Nt(e,{h:t.el.offsetHeight,w:40}),"left")}),"f"),this.update()}}NS=new WeakMap,PS=new WeakMap,jS=new WeakMap,HS=new WeakMap;const GS={mode:"preview"};let YS;const qS=()=>(YS||(YS=CS.utils.$ctx({...GS},"linkEditStateCtx")),YS),ZS={addLink:()=>{},editLink:()=>{},removeLink:()=>{}};let XS;const QS=()=>XS??(XS=CS.utils.$ctx({...ZS},"linkEditAPICtx")),KS={onCopyLink:()=>{},inputPlaceholder:"Paste link..."};let JS;var tz,ez,iz,oz=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i},rz=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};let sz=class extends En{get commonmark(){return this.md.presets.commonmark}get gfm(){return this.md.presets.gfm}constructor(){super(),this.isActive=t=>{if(!this.ctx)return!1;const e=this.ctx.get(this.md.core.editorViewCtx),{state:{doc:i,selection:o}}=e;return i.rangeHasMark(o.from,o.to,t)},this.render=()=>ln`
|
|
7985
7989
|
<div>
|
|
7986
7990
|
<og-button
|
|
7987
7991
|
.state="${this.isActive(this.commonmark.strongSchema.type(this.ctx))?"checked":"unchecked"}"
|
|
@@ -8143,7 +8147,7 @@ milkdown-block-handle {
|
|
|
8143
8147
|
color: var(--og-text-secondary-color, #999);
|
|
8144
8148
|
font-style: italic;
|
|
8145
8149
|
}
|
|
8146
|
-
`,Mz([$n({attribute:!1})],Sz.prototype,"headings",void 0),Mz([$n({attribute:!1})],Sz.prototype,"onHeadingClick",void 0),Sz=Mz([In("og-markdown-toc")],Sz);class zz{constructor(t,e,i,o,r){this.md=t,this.node=e,this.view=i,this.getPos=o,this.tocViews=r,this.dom=yt("og-markdown-toc"),this.updateHeadings(),this.tocViews.add(this)}updateHeadings(){const t=[];this.view.state.doc.descendants(((e,i)=>{"heading"===e.type.name&&e.textContent.trim().length>0&&t.push({level:e.attrs.level,text:e.textContent,pos:i,number:""})}));const e=_z(t);return t.forEach(((t,i)=>t.number=e[i])),this.dom.headings=t,this.dom.onHeadingClick=t=>{const e=this.view.nodeDOM(t);if(!e)return;const i=this.view.dom.parentElement;i&&(i.scrollTop=e.offsetTop)},t}update(t){return t.type===this.node.type&&(this.node=t,!0)}selectNode(){}deselectNode(){}stopEvent(){return!0}ignoreMutation(){return!0}destroy(){this.tocViews.delete(this)}}function Ez(t,e){if(t.children)for(let i=t.children.length-1;i>=0;i--)e(t.children[i],i,t),Ez(t.children[i],e)}function Lz(t){const e=new Set,i=t.utils.$ctx({},"tocBlockConfigCtx"),o=t.utils.$remark("remarkTocPlugin",(()=>()=>t=>{Ez(t,((t,e,i)=>{"paragraph"===t.type&&1===t.children?.length&&"text"===t.children[0].type&&"[toc]"===t.children[0].value?.trim().toLowerCase()&&(i.children[e]={type:"toc"})}))})),r=t.utils.$nodeSchema("toc",(()=>({atom:!0,group:"block",selectable:!0,draggable:!1,isolating:!0,attrs:{},toDOM:()=>["div",{"data-type":"toc"}],parseDOM:[{tag:'div[data-type="toc"]'}],parseMarkdown:{match:t=>"toc"===t.type,runner:(t,e,i)=>{t.addNode(i)}},toMarkdown:{match:t=>"toc"===t.type.name,runner:t=>{t.openNode("paragraph"),t.addNode("text",void 0,"[toc]"),t.closeNode()}}}))),s=t.utils.$view(r.node,(()=>(i,o,r)=>new zz(t,i,o,r,e))),n=t.utils.$prose((()=>new t.prose.state.Plugin({key:new t.prose.state.PluginKey("MARKDOWN_TOC_SYNC"),props:{decorations:e=>{const i=[];if(e.doc.descendants(((t,e)=>{"heading"===t.type.name&&t.textContent.trim().length>0&&i.push({pos:e,level:t.attrs.level,size:t.nodeSize})})),!i.length)return t.prose.view.DecorationSet.empty;const o=_z(i),r=i.map(((e,i)=>t.prose.view.Decoration.widget(e.pos+1,(()=>{const t=document.createElement("span");return t.className="toc-heading-number",t.textContent=o[i]+" ",t.style.cssText="color: var(--og-text-secondary-color, #999); margin-right: 4px;",t}),{side:-1})));return t.prose.view.DecorationSet.create(e.doc,r)}},view:()=>({update:(t,i)=>{if(!t.state.doc.eq(i.doc))for(const t of e)t.updateHeadings()}})}))),a=[...o,...r,s,n,i].flat();return{tocConfig:i,plugins:a}}var Iz,Rz,Tz,$z,Az,Dz,Oz,Nz,Pz,jz,Hz=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i},Fz=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};const Bz={from:-1,to:-1,mark:null};class Wz{constructor(t,e){this.ctx=t,Iz.set(this,void 0),Rz.set(this,void 0),Tz.set(this,void 0),$z.set(this,!1),Az.set(this,{...Bz}),this._onChange=t=>{const{from:e,to:i,mark:o}=Fz(this,Az,"f");if(null==t.value||""===t.value)this.ctx.get(QS().key).removeLink(e,i);else{const r=this.ctx.get(CS.core.editorViewCtx),s=CS.presets.commonmark.linkSchema.type(this.ctx);if(o&&o.attrs.href===t.value)return void Fz(this,jz,"f").call(this);const n=r.state.tr;o&&n.removeMark(e,i,o),n.addMark(e,i,s.create({href:t.value})),r.dispatch(n),Fz(this,jz,"f").call(this)}Fz(this,Dz,"f").call(this)},this.update=t=>{const{state:e}=t,{selection:i}=e;if(!(i instanceof CS.prose.state.TextSelection))return;const{from:o,to:r}=i;o===Fz(this,Az,"f").from&&r===Fz(this,Az,"f").to||Fz(this,jz,"f").call(this)},this.destroy=()=>{Fz(this,Iz,"f").destroy(),Fz(this,Tz,"f").remove()},this.show=(t,e,i,o)=>{Hz(this,Az,{from:e,to:i,mark:t},"f"),o.height=Fz(this,Tz,"f").offsetHeight||20,o.width=Fz(this,Tz,"f").offsetWidth||150,Fz(this,Iz,"f").show({getBoundingClientRect:()=>o}),Fz(this,Iz,"f").element.addEventListener("mouseenter",Fz(this,Oz,"f")),Fz(this,Iz,"f").element.addEventListener("mouseleave",Fz(this,Nz,"f")),Fz(this,Tz,"f").value=t?.attrs.href??"",xt(Fz(this,Tz,"f"))},this.hide=()=>{Fz(this,$z,"f")||Fz(this,Dz,"f").call(this)},Dz.set(this,(()=>{kt(Fz(this,Tz,"f")),Fz(this,Iz,"f").hide(),Fz(this,Iz,"f").element.removeEventListener("mouseenter",Fz(this,Oz,"f")),Fz(this,Iz,"f").element.removeEventListener("mouseleave",Fz(this,Nz,"f"))})),Oz.set(this,(()=>{Hz(this,$z,!0,"f")})),Nz.set(this,(()=>{Hz(this,$z,!1,"f")})),Pz.set(this,((t,e,i)=>{Fz(this,Tz,"f").value=t;const o=this.ctx.get(CS.core.editorViewCtx);this.show(null,e,i,CS.prose.posToDOMRect(o,e,i));const r=o.state.tr;o.dispatch(r.setSelection(CS.prose.state.TextSelection.create(o.state.doc,e,i)))})),jz.set(this,(()=>{Fz(this,Iz,"f").hide(),Hz(this,Az,{...Bz},"f")})),this.addLink=(t,e)=>{Hz(this,Az,{from:t,to:e,mark:null},"f"),console.log(this),Fz(this,Pz,"f").call(this,"",t,e)},this.editLink=(t,e,i)=>{Hz(this,Az,{from:e,to:i,mark:t},"f"),Fz(this,Pz,"f").call(this,t.attrs.href,e,i)},this.removeLink=(t,e)=>{const i=this.ctx.get(CS.core.editorViewCtx),o=i.state.tr;o.removeMark(t,e,CS.presets.commonmark.linkSchema.type(this.ctx)),i.dispatch(o),Fz(this,jz,"f").call(this)};const i=yt("og-markdown-linkedit");i.addEventListener("change",this._onChange),i.ctx=t,Hz(this,Tz,i,"f"),Hz(this,Iz,new CS.plugins.tooltip.TooltipProvider({content:Fz(this,Tz,"f"),offset:10,debounce:0,shouldShow:()=>!1}),"f"),Fz(this,Iz,"f").update(e),Hz(this,Rz,t.use(
|
|
8150
|
+
`,Mz([$n({attribute:!1})],Sz.prototype,"headings",void 0),Mz([$n({attribute:!1})],Sz.prototype,"onHeadingClick",void 0),Sz=Mz([In("og-markdown-toc")],Sz);class zz{constructor(t,e,i,o,r){this.md=t,this.node=e,this.view=i,this.getPos=o,this.tocViews=r,this.dom=yt("og-markdown-toc"),this.updateHeadings(),this.tocViews.add(this)}updateHeadings(){const t=[];this.view.state.doc.descendants(((e,i)=>{"heading"===e.type.name&&e.textContent.trim().length>0&&t.push({level:e.attrs.level,text:e.textContent,pos:i,number:""})}));const e=_z(t);return t.forEach(((t,i)=>t.number=e[i])),this.dom.headings=t,this.dom.onHeadingClick=t=>{const e=this.view.nodeDOM(t);if(!e)return;const i=this.view.dom.parentElement;i&&(i.scrollTop=e.offsetTop)},t}update(t){return t.type===this.node.type&&(this.node=t,!0)}selectNode(){}deselectNode(){}stopEvent(){return!0}ignoreMutation(){return!0}destroy(){this.tocViews.delete(this)}}function Ez(t,e){if(t.children)for(let i=t.children.length-1;i>=0;i--)e(t.children[i],i,t),Ez(t.children[i],e)}function Lz(t){const e=new Set,i=t.utils.$ctx({},"tocBlockConfigCtx"),o=t.utils.$remark("remarkTocPlugin",(()=>()=>t=>{Ez(t,((t,e,i)=>{"paragraph"===t.type&&1===t.children?.length&&"text"===t.children[0].type&&"[toc]"===t.children[0].value?.trim().toLowerCase()&&(i.children[e]={type:"toc"})}))})),r=t.utils.$nodeSchema("toc",(()=>({atom:!0,group:"block",selectable:!0,draggable:!1,isolating:!0,attrs:{},toDOM:()=>["div",{"data-type":"toc"}],parseDOM:[{tag:'div[data-type="toc"]'}],parseMarkdown:{match:t=>"toc"===t.type,runner:(t,e,i)=>{t.addNode(i)}},toMarkdown:{match:t=>"toc"===t.type.name,runner:t=>{t.openNode("paragraph"),t.addNode("text",void 0,"[toc]"),t.closeNode()}}}))),s=t.utils.$view(r.node,(()=>(i,o,r)=>new zz(t,i,o,r,e))),n=t.utils.$prose((()=>new t.prose.state.Plugin({key:new t.prose.state.PluginKey("MARKDOWN_TOC_SYNC"),props:{decorations:e=>{const i=[];if(e.doc.descendants(((t,e)=>{"heading"===t.type.name&&t.textContent.trim().length>0&&i.push({pos:e,level:t.attrs.level,size:t.nodeSize})})),!i.length)return t.prose.view.DecorationSet.empty;const o=_z(i),r=i.map(((e,i)=>t.prose.view.Decoration.widget(e.pos+1,(()=>{const t=document.createElement("span");return t.className="toc-heading-number",t.textContent=o[i]+" ",t.style.cssText="color: var(--og-text-secondary-color, #999); margin-right: 4px;",t}),{side:-1})));return t.prose.view.DecorationSet.create(e.doc,r)}},view:()=>({update:(t,i)=>{if(!t.state.doc.eq(i.doc))for(const t of e)t.updateHeadings()}})}))),a=[...o,...r,s,n,i].flat();return{tocConfig:i,plugins:a}}var Iz,Rz,Tz,$z,Az,Dz,Oz,Nz,Pz,jz,Hz=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i},Fz=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};const Bz={from:-1,to:-1,mark:null};class Wz{constructor(t,e){this.ctx=t,Iz.set(this,void 0),Rz.set(this,void 0),Tz.set(this,void 0),$z.set(this,!1),Az.set(this,{...Bz}),this._onChange=t=>{const{from:e,to:i,mark:o}=Fz(this,Az,"f");if(null==t.value||""===t.value)this.ctx.get(QS().key).removeLink(e,i);else{const r=this.ctx.get(CS.core.editorViewCtx),s=CS.presets.commonmark.linkSchema.type(this.ctx);if(o&&o.attrs.href===t.value)return void Fz(this,jz,"f").call(this);const n=r.state.tr;o&&n.removeMark(e,i,o),n.addMark(e,i,s.create({href:t.value})),r.dispatch(n),Fz(this,jz,"f").call(this)}Fz(this,Dz,"f").call(this)},this.update=t=>{const{state:e}=t,{selection:i}=e;if(!(i instanceof CS.prose.state.TextSelection))return;const{from:o,to:r}=i;o===Fz(this,Az,"f").from&&r===Fz(this,Az,"f").to||Fz(this,jz,"f").call(this)},this.destroy=()=>{Fz(this,Iz,"f").destroy(),Fz(this,Tz,"f").remove()},this.show=(t,e,i,o)=>{Hz(this,Az,{from:e,to:i,mark:t},"f"),o.height=Fz(this,Tz,"f").offsetHeight||20,o.width=Fz(this,Tz,"f").offsetWidth||150,Fz(this,Iz,"f").show({getBoundingClientRect:()=>o}),Fz(this,Iz,"f").element.addEventListener("mouseenter",Fz(this,Oz,"f")),Fz(this,Iz,"f").element.addEventListener("mouseleave",Fz(this,Nz,"f")),Fz(this,Tz,"f").value=t?.attrs.href??"",xt(Fz(this,Tz,"f"))},this.hide=()=>{Fz(this,$z,"f")||Fz(this,Dz,"f").call(this)},Dz.set(this,(()=>{kt(Fz(this,Tz,"f")),Fz(this,Iz,"f").hide(),Fz(this,Iz,"f").element.removeEventListener("mouseenter",Fz(this,Oz,"f")),Fz(this,Iz,"f").element.removeEventListener("mouseleave",Fz(this,Nz,"f"))})),Oz.set(this,(()=>{Hz(this,$z,!0,"f")})),Nz.set(this,(()=>{Hz(this,$z,!1,"f")})),Pz.set(this,((t,e,i)=>{Fz(this,Tz,"f").value=t;const o=this.ctx.get(CS.core.editorViewCtx);this.show(null,e,i,CS.prose.posToDOMRect(o,e,i));const r=o.state.tr;o.dispatch(r.setSelection(CS.prose.state.TextSelection.create(o.state.doc,e,i)))})),jz.set(this,(()=>{Fz(this,Iz,"f").hide(),Hz(this,Az,{...Bz},"f")})),this.addLink=(t,e)=>{Hz(this,Az,{from:t,to:e,mark:null},"f"),console.log(this),Fz(this,Pz,"f").call(this,"",t,e)},this.editLink=(t,e,i)=>{Hz(this,Az,{from:e,to:i,mark:t},"f"),Fz(this,Pz,"f").call(this,t.attrs.href,e,i)},this.removeLink=(t,e)=>{const i=this.ctx.get(CS.core.editorViewCtx),o=i.state.tr;o.removeMark(t,e,CS.presets.commonmark.linkSchema.type(this.ctx)),i.dispatch(o),Fz(this,jz,"f").call(this)};const i=yt("og-markdown-linkedit");i.addEventListener("change",this._onChange),i.ctx=t,Hz(this,Tz,i,"f"),Hz(this,Iz,new CS.plugins.tooltip.TooltipProvider({content:Fz(this,Tz,"f"),offset:10,debounce:0,shouldShow:()=>!1}),"f"),Fz(this,Iz,"f").update(e),Hz(this,Rz,t.use(qS().key),"f")}}let Vz;function Uz(){return Vz||(Vz=CS.plugins.tooltip.tooltipFactory("MARKDOWN_LINK_EDIT")),Vz}Iz=new WeakMap,Rz=new WeakMap,Tz=new WeakMap,$z=new WeakMap,Az=new WeakMap,Dz=new WeakMap,Oz=new WeakMap,Nz=new WeakMap,Pz=new WeakMap,jz=new WeakMap;var Gz=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let Yz=class extends En{constructor(){super(),this.value="",this.render=()=>ln`
|
|
8147
8151
|
<div class="inner">
|
|
8148
8152
|
<og-icon icon="link"></og-icon>
|
|
8149
8153
|
|
|
@@ -8158,7 +8162,7 @@ milkdown-block-handle {
|
|
|
8158
8162
|
<og-button icon="trash" color="red" @click="${()=>this.dispatchEvent(new Qr({value:null}))}">
|
|
8159
8163
|
</og-button>
|
|
8160
8164
|
</div>
|
|
8161
|
-
`,this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("mouseup",(t=>t.stopPropagation()))}};
|
|
8165
|
+
`,this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("mouseup",(t=>t.stopPropagation()))}};Yz.styles=ks`
|
|
8162
8166
|
* {
|
|
8163
8167
|
box-sizing: border-box;
|
|
8164
8168
|
}
|
|
@@ -8188,7 +8192,7 @@ milkdown-block-handle {
|
|
|
8188
8192
|
.inner > og-button {
|
|
8189
8193
|
flex: 0 20px;
|
|
8190
8194
|
}
|
|
8191
|
-
`,Gz([$n({type:String})],
|
|
8195
|
+
`,Gz([$n({type:String})],Yz.prototype,"value",void 0),Gz([On("og-input")],Yz.prototype,"input",void 0),Yz=Gz([In("og-markdown-linkedit")],Yz);const qz={configure:function(t){const e=qS();let i;t.update(QS().key,(t=>({...t,addLink:(t,e)=>{i?.addLink(t,e)},editLink:(t,e,o)=>{i?.editLink(t,e,o)},removeLink:(t,e)=>{i?.removeLink(t,e)}})));const o=Y(((o,r)=>{if(!i)return;if(!o.hasFocus())return;if("edit"===t.get(e.key).mode)return;const s=function(t,e,i){const o=e.posAtCoords({left:i.clientX,top:i.clientY});if(!o)return;const{pos:r}=o,s=e.state.doc.nodeAt(r);if(!s)return;const n=s.marks.find((e=>e.type===CS.presets.commonmark.linkSchema.mark.type(t)));return n?{show:!0,pos:r,node:s,mark:n}:void 0}(t,o,r);if(s){const t=o.state.doc.resolve(s.pos),e=function(t,e,i,o,r){let s={start:-1,end:-1};return i.nodesBetween(o,r,((i,o)=>{if(s.start>-1)return!1;-1===s.start&&t.isInSet(i.marks)&&e===i&&(s={start:o,end:o+Math.max(i.textContent.length,1)})})),s}(s.mark,s.node,o.state.doc,t.before(),t.after()),r=e.start,n=e.end;i.show(s.mark,r,n,CS.prose.posToDOMRect(o,r,n))}else i.hide()}),200);t.set(Uz().key,{props:{handleDOMEvents:{mousemove:o,mouseleave:()=>{setTimeout((()=>{i?.hide()}),200)}}},view:e=>(i=new Wz(t,e),i)})},getState:qS,getPlugin:()=>[qS(),QS(),JS??(JS=CS.utils.$ctx({...KS},"linkEditConfigCtx")),Uz()].flat()};var Zz,Xz,Qz,Kz,Jz,tE=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n},eE=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},iE=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i};let oE=class extends En{constructor(){super(...arguments),Zz.set(this,void 0),Xz.set(this,void 0),Qz.set(this,void 0),Kz.set(this,(t=>{if(!eE(this,Zz,"f")){const t=this.menuItems;iE(this,Zz,yt("og-menu"),"f"),eE(this,Zz,"f").dynamicWidth=!1,eE(this,Zz,"f").disabledFocus=!0,eE(this,Zz,"f").style.width="100%",eE(this,Zz,"f").style.height="100%",eE(this,Zz,"f").style.border="none",eE(this,Zz,"f").items=t,eE(this,Zz,"f").addEventListener("menu.select",(e=>{const i=t.find((t=>t.key===e.item.key));i?.onRun&&(i.onRun(this.ctx),this.dispatchEvent(new Event("run")))})),eE(this,Zz,"f").addEventListener("mousedown",(t=>{t.stopPropagation(),t.preventDefault()}))}return eE(this,Zz,"f")})),Jz.set(this,(t=>{if(eE(this,Zz,"f")?.list){const e=this.menuItems.findIndex((e=>e.key===t.tab.id));e>-1&&eE(this,Zz,"f").list.scrollToIndex(e)}})),this.render=()=>ln`
|
|
8192
8196
|
<og-tabcontainer
|
|
8193
8197
|
.createComponent="${eE(this,Kz,"f")}"
|
|
8194
8198
|
.items="${this.items}"
|
|
@@ -8212,7 +8216,7 @@ milkdown-block-handle {
|
|
|
8212
8216
|
width: 100%;
|
|
8213
8217
|
height: 100%;
|
|
8214
8218
|
}
|
|
8215
|
-
`,tE([$n({type:Object})],oE.prototype,"ctx",void 0),tE([$n({type:Object})],oE.prototype,"md",void 0),oE=tE([In("og-markdown-block-edit-menu")],oE),function(t){t.BlockEdit="block-edit",t.Cursor="cursor",t.CodeEditor="code-editor",t.LinkTooltip="link-tooltip",t.ImageBlock="image-block",t.Toolbar="toolbar",t.Placeholder="placeholder",t.Table="table",t.Html="html",t.Emoji="emoji",t.Toc="toc"}(nE||(nE={}));const aE=t=>e=>e?t(e):e;function lE(t,e,i){const o=i.modifyImageUrl?aE(i.modifyImageUrl):null;return new Map([[nE.BlockEdit,{default:!0,init:()=>{t.config((t=>{t.set(e.plugins.block.blockConfig.key,{filterNodes:t=>!e.prose.findParent((t=>["table","blockquote"].includes(t.type.name)))(t)}),t.set(e.plugins.block.block.key,{view:()=>new US(t,e)})})).use(e.plugins.block.block)}}],[nE.Cursor,{default:!0,init:()=>{t.config((t=>{t.update(e.plugins.cursor.dropCursorConfig.key,(()=>({class:"md-editor-drop-cursor",width:4})))})).use(e.plugins.cursor.cursor)}}],[nE.ImageBlock,{default:!0,init:()=>{t.config((t=>{t.update(e.components.imageInline.inlineImageConfig.key,(t=>({uploadButton:rE("upload","1em"),uploadPlaceholderText:$o("or paste link"),imageIcon:rE("image","20px"),confirmButton:$o("Confirm"),onUpload:i.onUpload,proxyDomURL:o}))),t.update(e.components.imageBlock.imageBlockConfig.key,(t=>({uploadButton:rE("upload","1em"),uploadPlaceholderText:$o("or paste link"),imageIcon:rE("image","20px"),confirmButton:$o("Confirm"),captionIcon:rE("comment","24px"),captionPlaceholderText:$o("Write Image Caption"),onUpload:i.onUpload,proxyDomURL:o})))})).use(e.components.imageBlock.imageBlockComponent).use(e.components.imageInline.imageInlineComponent)}}],[nE.LinkTooltip,{default:!0,init:()=>{const e=
|
|
8219
|
+
`,tE([$n({type:Object})],oE.prototype,"ctx",void 0),tE([$n({type:Object})],oE.prototype,"md",void 0),oE=tE([In("og-markdown-block-edit-menu")],oE),function(t){t.BlockEdit="block-edit",t.Cursor="cursor",t.CodeEditor="code-editor",t.LinkTooltip="link-tooltip",t.ImageBlock="image-block",t.Toolbar="toolbar",t.Placeholder="placeholder",t.Table="table",t.Html="html",t.Emoji="emoji",t.Toc="toc"}(nE||(nE={}));const aE=t=>e=>e?t(e):e;function lE(t,e,i){const o=i.modifyImageUrl?aE(i.modifyImageUrl):null;return new Map([[nE.BlockEdit,{default:!0,init:()=>{t.config((t=>{t.set(e.plugins.block.blockConfig.key,{filterNodes:t=>!e.prose.findParent((t=>["table","blockquote"].includes(t.type.name)))(t)}),t.set(e.plugins.block.block.key,{view:()=>new US(t,e)})})).use(e.plugins.block.block)}}],[nE.Cursor,{default:!0,init:()=>{t.config((t=>{t.update(e.plugins.cursor.dropCursorConfig.key,(()=>({class:"md-editor-drop-cursor",width:4})))})).use(e.plugins.cursor.cursor)}}],[nE.ImageBlock,{default:!0,init:()=>{t.config((t=>{t.update(e.components.imageInline.inlineImageConfig.key,(t=>({uploadButton:rE("upload","1em"),uploadPlaceholderText:$o("or paste link"),imageIcon:rE("image","20px"),confirmButton:$o("Confirm"),onUpload:i.onUpload,proxyDomURL:o}))),t.update(e.components.imageBlock.imageBlockConfig.key,(t=>({uploadButton:rE("upload","1em"),uploadPlaceholderText:$o("or paste link"),imageIcon:rE("image","20px"),confirmButton:$o("Confirm"),captionIcon:rE("comment","24px"),captionPlaceholderText:$o("Write Image Caption"),onUpload:i.onUpload,proxyDomURL:o})))})).use(e.components.imageBlock.imageBlockComponent).use(e.components.imageInline.imageInlineComponent)}}],[nE.LinkTooltip,{default:!0,init:()=>{const e=qz.getPlugin();t.config(qz.configure).use(e)}}],[nE.Toolbar,{default:!0,init:()=>{const i=e.plugins.tooltip.tooltipFactory("MARKDOWN_TOOLBAR");t.config((t=>{t.set(i.key,{view:i=>new nz(t,i,e)})})).use(i)}}],[nE.Placeholder,{default:!0,init:()=>{const{config:i,plugin:o}=uz(e);t.config((t=>{t.update(i.key,(t=>({...t})))})).use(o).use(i)}}],[nE.Table,{default:!0,init:()=>{t.config((t=>{t.update(e.components.tableBlock.tableBlockConfig.key,(t=>({renderButton:t=>{switch(t){case"add_row":case"add_col":return rE("plus","16px");case"delete_row":case"delete_col":return rE("trash","16px");case"align_col_left":return rE("align-left","16px");case"align_col_center":return rE("align-center","16px");case"align_col_right":return rE("align-right","16px");case"col_drag_handle":return rE("grip-lines-vertical","16px");case"row_drag_handle":return rE("grip-lines","16px")}}})))})).use(e.components.tableBlock.tableBlock)}}],[nE.CodeEditor,{default:!0,init:()=>{const i=function(t){return t.utils.$ctx(gz,"codeEditorConfigCtx")}(e),o=function(t){return t.utils.$view(t.presets.commonmark.codeBlockSchema.node,(e=>(e,i,o)=>new pz(t,e,i,o)))}(e);t.config((t=>{t.update(i.key,(t=>({})))})).use([o,i])}}],[nE.Html,{default:!0,init:()=>{const i=kz(e),o=Cz(e);t.config((t=>{t.update(i.key,(t=>({})))})).use([o,i])}}],[nE.Emoji,{default:!0,init:()=>{e.plugins.emoji&&t.use(e.plugins.emoji.emoji)}}],[nE.Toc,{default:!0,init:()=>{const i=Lz(e);t.config((t=>{t.update(i.tocConfig.key,(t=>({})))})).use(i.plugins)}}]])}const cE={STATUSBAR_HEIGHT:22,...G},hE=ks`
|
|
8216
8220
|
* {
|
|
8217
8221
|
box-sizing: border-box;
|
|
8218
8222
|
}
|
|
@@ -8548,7 +8552,7 @@ milkdown-block-handle {
|
|
|
8548
8552
|
height: 100%;
|
|
8549
8553
|
border-left: none;
|
|
8550
8554
|
}
|
|
8551
|
-
`],$E([$n({type:String,reflect:!0})],AE.prototype,"color",void 0),$E([$n({type:Object})],AE.prototype,"item",void 0),$E([$n({type:String})],AE.prototype,"value",void 0),$E([On("input")],AE.prototype,"input",void 0),AE=$E([In("og-toolbar-text"),
|
|
8555
|
+
`],$E([$n({type:String,reflect:!0})],AE.prototype,"color",void 0),$E([$n({type:Object})],AE.prototype,"item",void 0),$E([$n({type:String})],AE.prototype,"value",void 0),$E([On("input")],AE.prototype,"input",void 0),AE=$E([In("og-toolbar-text"),qa({props:["color","border","background"],selector:"input"})],AE);var DE=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};let OE=class extends En{constructor(){super(...arguments),this._onChange=t=>{this.button.style.backgroundColor=t.value,Gr(this,"toolbar",{type:"select",key:this.item.id,value:t.value}),this.dropdown.close()},this._onPreview=t=>{this.button.style.backgroundColor=t.color,Gr(this,"toolbar",{type:"preview",key:this.item.id,value:t.color})},this._onPreviewEnd=t=>{this.button.style.backgroundColor=t.color,Gr(this,"toolbar",{type:"previewEnd",key:this.item.id,value:t.color})},this.render=()=>ln`
|
|
8552
8556
|
<og-button
|
|
8553
8557
|
mode="toggle"
|
|
8554
8558
|
color="gray"
|
|
@@ -8605,7 +8609,7 @@ milkdown-block-handle {
|
|
|
8605
8609
|
border-left: none;
|
|
8606
8610
|
height: 100%;
|
|
8607
8611
|
}
|
|
8608
|
-
`],DE([$n({type:Object})],OE.prototype,"item",void 0),DE([$n({type:String})],OE.prototype,"value",void 0),DE([On("og-dropdown")],OE.prototype,"dropdown",void 0),DE([On("og-button")],OE.prototype,"button",void 0),DE([On(".btn-content")],OE.prototype,"btnContent",void 0),OE=DE([In("og-toolbar-colorpicker")],OE);class NE{static init(t){this.path=t}static async get(){return this.xlsx||(this.xlsx=await this.load()),this.xlsx}static getSync(){return this.xlsx}static load(){if(!cs.require)throw new Error("AMDLoader is not initialized");return cs.require.config({paths:{xlsx:this.path+"/xlsx.full.min"}}),new Promise((t=>cs.require(["xlsx"],(()=>t(self.XLSX)))))}}const PE="aaaaaa",jE={bottom:{style:"thin",color:PE},top:{style:"thin",color:PE},right:{style:"thin",color:PE},left:{style:"thin",color:PE}},HE={exportHiddenRows:!0,exportHiddenColumns:!0,gridLines:!0,defaultBorders:!1,dropdownCells:"value"},FE={alignment:{vertical:"center",horizontal:"center"},bold:!0},BE={g:"n",b:"b",t:"s",n:"n",d:"d",dt:"d",s:"s",m:"s",tm:"s",h:"s",a:"z"};function WE(t,e){return(e.exportHiddenColumns?t.columns:t.visibleColumns).map((e=>({level:e.level,wpx:e.width,hidden:null==e.visibleIndex||t.visibleColumns[e.visibleIndex]!=e})))}function VE(t,e){const i=e.exportHiddenRows?t.rows:t.visibleRows,o=t.headerCount,r=new Array(i.length+o);return[...Array(o).keys()].map((t=>r[t]={level:0})),i.map(((e,i)=>r[i+o]={level:e.level,hpt:.75*e.height,hidden:null==e.visibleIndex||t.visibleRows[e.visibleIndex]!=e})),r}function UE(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t=>t.c:e=>t.columns[e.c].visibleIndex,r=[];return t.merges.mergedCells.forEach((t=>{r.push({s:{c:o(t),r:t.r+i},e:{c:o(t)+t.cs-1,r:t.r+i+t.rs-1}})})),t.mergedHeaders.forEach((t=>{t.h?.hidden||r.push({s:{c:o(t),r:t.r},e:{c:o(t)+t.cs-1,r:t.r+t.rs-1}})})),r}function GE(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t.columns:t.visibleColumns,r=XE(e);return[...Array(i).keys()].map((e=>o.map((i=>{const o=i.header[e],s={t:o?"s":"z",s:FE};return o&&(o.html?s.h=`<span>${o.label}</span>`:null!=o.label?s.v=o.label:s.t="z"),r&&(s.s||(s.s={}),s.s=Object.assign({},r,s.s)),null!=o._style&&(s.s=Object.assign({},s.s,ZE(t.styles.get(o._style)))),s}))))}function qE(t){return{rgb:t}}function YE(t){return"none"==t.style?null:{style:t.style,color:qE(t.color)}}function ZE(t){const e={};return t.color&&(e.color=qE(t.color)),t.bgColor&&(e.bgColor=qE(t.bgColor)),t.fgColor&&(e.fgColor=qE(t.fgColor)),t.patternType&&(e.patternType=t.patternType),t.alignment&&(e.alignment=t.alignment),null!=t.bold&&(e.bold=t.bold),t.sz&&(e.sz=t.sz),t.bottom&&(e.bottom=YE(t.bottom)),t.top&&(e.top=YE(t.top)),t.right&&(e.right=YE(t.right)),t.left&&(e.left=YE(t.left)),null!=t.angle&&(e.angle=t.angle),t.stops&&(e.stops=t.stops.map((t=>({v:t.v,rgb:t.rgb})))),e}function XE(t){const e=!0===t.defaultBorders?jE:t.defaultBorders;return e?function(t){const e={};return t.bottom&&(e.bottom=YE(t.bottom)),t.top&&(e.top=YE(t.top)),t.right&&(e.right=YE(t.right)),t.left&&(e.left=YE(t.left)),e}(e):null}function QE(t,e){const i=NE.getSync();e=iL(e);const o=t.headerCount,r=new jw(t),s=new Array(o+t.rows.length),n=new Map,a=XE(e),l=t.options.dateFormat||"yyyy-MM-dd",c="displayValue"==e.dropdownCells;GE(t,e).forEach(((t,e)=>s[e]=t));const h=e.exportHiddenRows?t.rows:t.visibleRows,d=e.exportHiddenColumns?t.columns:t.visibleColumns;return h.forEach(((t,e)=>s[e+o]=d.map((e=>{const s=t.cell(e.index),h=s.type,d=BE[h],u={t:s.hasValue?d:"z"};s.hasFormula?(u.f=o>0?r.getFormula(s).clone().shift({index:0,offset:o,direction:"down"}).toExcelString():r?r.getFormula(s).toExcelString():s.formula,"d"==d&&(u.t="n",u.z=s.format??l)):s.hasValue&&!s.isSpilled&&("s"==u.t?u.v=c?s.formattedValue.toString():s.value.toString():"z"!=u.t&&(u.v=s.value),"g"==h?u.t=Q(u.v)?"s":"n":"d"==h?tt(u.v)&&(u.t="n"):"h"==h&&i.utils.html_to_rs&&(u.R=i.utils.html_to_rs(s.value)));const p=s.composedStyle;if(p&&(n.has(p.id)||n.set(p.id,ZE(p)),u.s={...n.get(p.id)}),function(t,e){const i=t.calculatedIndent;i>0&&(e.s||(e.s={}),e.s.alignment||(e.s.alignment={}),e.s.alignment.indent=i)}(s,u),s.hasComment){const t=s.model.comments.get(s.address),e=[];e.push({R:[]}),e.hidden=!0,e["!pos"]={x:0,y:0,w:400,h:200},t.forEach((t=>{if(!t.text)return;const i=t.author?t.author.name??t.author.id:null;let o="";i&&(o=i),t.date&&(o+=(o?" - ":"")+Zo(t.date,Yo({withTime:!0}))),o&&e[0].R.push({t:"s",v:o+"\n",s:{bold:!0}}),e[0].R.push({t:"s",v:t.text+"\n"})})),u.c=e}return"n"!=u.t&&"d"!=u.t||null!=u.z||(u.z=s.format??("d"==u.t?l:"General")),a&&(u.s||(u.s={}),u.s=Object.assign({},a,u.s)),u})))),s}function KE(t,e){return t||e?{t:(t=Object.assign({},e,t)).t,v:t.v,color:qE(t.color)}:null}function JE(t){const e=t.headerCount;return t.conditionalFormats.getSourceData().map((t=>({ref:Ev.fromA1s(t.ranges).map((t=>t.shiftDown(0,e,null,!0).A1)).join(" "),t:t.type,f:t.condition&&gv(t.condition[0])?"A1"+t.condition:t.condition??null,s:t.style?ZE(t.style):null,stop:t.stop,cmin:KE(t.cmin,"bar"==t.type?{t:"min",color:t.color}:null),cmid:t.cmid?KE(t.cmid,{v:50,t:"percentile"}):null,cmax:KE(t.cmax,"bar"==t.type?{t:"max",color:t.color}:null),color:qE(t.color),v:t.v,thresh:t.thresh})))}function tL(t){if(t.options.rowTree.reversed)return"below";const e=t.rows;if(e.length<2)return"above";for(let t=1;t<e.length;t++)if(e[t].level!=e[t-1].level)return e[t].parent==e[t-1]?"above":"below";return t.rows[0].level>t.rows[1].level?"below":"above"}function eL(t){return null==t.options.columnTree.reversed?t.columns.length<2?"left":t.columns[0].level>t.columns[1].level?"right":"left":t.options.columnTree.reversed?"right":"left"}const iL=t=>{const e=Object.assign({},HE,t);return e.defaultBorders&&(e.defaultBorders=jE),e},oL=t=>t/25.4;function rL(t){return t?{top:oL(t.top),bottom:oL(t.bottom),left:oL(t.left),right:oL(t.right),header:oL(t.header),footer:oL(t.footer)}:null}function sL(t,e){e=iL(e);const i={};i["!cols"]=WE(t,e),i["!rows"]=VE(t,e),i["!merges"]=UE(t,e),i["!condfmt"]=JE(t),i["!outline"]={above:"above"==tL(t),left:"left"==eL(t)},t.options.freezeLeft||t.options.freezeTop?i["!freeze"]=`${Rv(t.options.freezeLeft)}${t.headerCount+t.options.freezeTop+1}`:t.headerCount>0&&(i["!freeze"]=`A${t.headerCount+1}`),i["!gridlines"]=e.gridLines,i["!print"]=function(t,e){const i=t.options.print??{},o={props:{}};o.props.scale=i.scale?i.scale:function(t){const e=t.options.print??{},i=Q(e.paper)?ts[e.paper]??ts.A4:e.paper,o=oL(i.width-e.margins.left-e.margins.right),r=t.columns.reduce(((t,e)=>t+e.width),0)/96;return Math.round(o/r*100)-2}(t),o.props.paper=i.paper,o.props.orientation=i.orientation,i.margins&&(o.margins=rL(i.margins));const r=i.rowBreaks;if(r?.length>0){o.rowBreaks=r.map((i=>({R:e.exportHiddenRows?i:t.rows[i].visibleIndex})));const i=t.options?.print?.rowTitles?Ev.fromA1(t.options?.print?.rowTitles):null;i&&(o.titles={s:{r:i.r1,c:-1},e:{r:i.r2,c:-1}})}return o}(t,e);const o=function(t,e){const i=e.exportHiddenColumns?t.columns:t.visibleColumns,o=i.find((t=>t.filter?.enabled));return o?new Ev(o.index,t.headerCount-1,i.length-1,t.headerCount-1):null}(t,e);return o&&(i["!autofilter"]={ref:o.A1}),i}async function nL(t,e){const i=NE.get(),o=i instanceof Promise?await i:i;e=iL(e);const r=o.utils.book_new();return t.forEach(((t,i)=>{t.calculations.evaluateAll();const s={...e,...t.exportOptions},n=o.utils.sheet_add_aoa(sL(t,s),QE(t,s));let a=t.name||`Sheet${i+1}`;t.name=a,a.length>31&&(a=a.substring(0,31)),o.utils.book_append_sheet(r,n,a)})),r.Workbook=r.Workbook||{},t.forEach((t=>{const e=r.SheetNames.indexOf(t.name);e<0||(r.Workbook.Sheets||(r.Workbook.Sheets=[]),r.Workbook.Sheets[e]||(r.Workbook.Sheets[e]={}),t.tab?.hidden&&(r.Workbook.Sheets[e].Hidden=1))})),r}async function aL(t,e=null){const i=NE.get(),o=i instanceof Promise?await i:i;return e?o.writeFile(t,e,{cellStyles:!0,bookSST:!0}):o.writeXLSX(t,{cellStyles:!0,bookSST:!0,type:"buffer"})}const lL={b:"b",s:"t",n:"n",d:"d",z:"g",e:"t"};function cL(t){return t.rgb}function hL(t){return{color:cL(t.color),style:t.style}}function dL(t){const e={};return t.color&&(e.color=cL(t.color)),t.bgColor&&(e.bgColor=cL(t.bgColor)),t.fgColor&&(e.fgColor=cL(t.fgColor)),e.fgColor||"000000"!=e.color||(e.color=null),t.alignment&&(e.alignment=t.alignment),t.bold&&(e.bold=t.bold),t.sz&&(e.sz=t.sz),t.top&&(e.top=hL(t.top)),t.bottom&&(e.bottom=hL(t.bottom)),t.left&&(e.left=hL(t.left)),t.right&&(e.right=hL(t.right)),e}function uL(t,e){const i=t["!ref"]?Ev.fromA1(t["!ref"]):Ev.fromA1("A1:T100"),o={},r={};if(t["!freeze"]){const e=Ev.fromA1(t["!freeze"]);r.freezeLeft=e.c1,r.freezeTop=e.r1}return o.options=r,o.rows=function(t,e){const i=t["!rows"]??[],o=new Array(e);let r;for(let t=0;t<e;t++)r=i[t],o[t]={l:(r?r.level:0)||0,h:r?r.hpx:null};return o}(t,i.r2+1),o.columns=function(t,e){const i=t["!cols"]??[],o=new Array(e);let r;for(let t=0;t<e;t++)r=i[t],o[t]={l:(r?r.level:0)||0,w:r?r.wpx:null};return o}(t,i.c2+1),o.cells=function(t){const e=[],i=new Map;(t["!merges"]??[]).forEach((t=>{const e=new Ev(t.s.c,t.s.r);i.set(e.A1,{c:t.s.c,cs:t.e.c-t.s.c+1,r:t.s.r,rs:t.e.r-t.s.r+1})}));for(const o in t){if("!"==o[0])continue;const r=t[o],s=Ev.fromA1(o),n={r:s.r1,c:s.c1,t:lL[r.t]},a=i.get(o);a&&(n.cs=a.cs,n.rs=a.rs),r.s&&(n.s=dL(r.s)),r.f?n.f=Bv(r.f):n.v=r.v,["n","d"].includes(r.t)&&null!=r.z&&"General"!=r.z&&(n.z=yr(r.z,"d")),e.push(n)}return e}(t),o.names=e,o.rules=function(t){return t["!condfmt"]?.filter((t=>["formula","scale","bar"].includes(t.t))).map((t=>{const e={type:t.t,ranges:t.ref.toString().replace(/\s/g,";")};return e.style=t.s?dL(t.s):null,e.cmin=t.cmin?{t:t.cmin.t,color:t.cmin.color?cL(t.cmin.color):null}:null,e.cmid=t.cmid?{t:t.cmid.t,color:t.cmid.color?cL(t.cmid.color):null}:null,e.cmax=t.cmax?{t:t.cmax.t,color:t.cmax.color?cL(t.cmax.color):null}:null,e.color=t.color?cL(t.color):null,e.condition=t.f,e.stop=!0,e}))}(t),o}function pL(t){const e=new Map;return t.Workbook.Names.forEach((({Name:t,Ref:i})=>{const[o,r]=i.split("!");if(!r)return;let s=e.get(o);s||e.set(o,s=[]);const n=Ev.fromA1(r);n.c1Anchor&&!n.r1Anchor?(n.r1=0,n.r2=1/0):!n.c1Anchor&&n.r1Anchor&&(n.c1=0,n.c2=1/0),n.removeAnchors(),s.push({name:t,ref:n.A1})})),e}async function gL(t,e){return performance.mark("start_import"),fL(await t.arrayBuffer(),e)}function mL(t){const e=pL(t);performance.mark("sheets_start");const i={models:[],layout:{items:[{tabs:[]}]}};for(const o in t.Sheets)performance.mark(`sheet_start_${o}`),i.layout.items[0].tabs.push({id:o}),i.models.push({...uL(t.Sheets[o],e.get(o)),name:o}),performance.mark(`sheet_end_${o}`);return performance.mark("sheets_end"),i}async function fL(t,e){performance.mark("array_buffer");const i=t instanceof ArrayBuffer?new Uint8Array(t):t,o=(await NE.get()).read(i,Object.assign({cellNF:!0,cellText:!1,cellStyles:!0,type:"buffer"},e||{}));return performance.mark("wb_read"),mL(o)}class vL extends fu{init(t){NE.get(),t.commands.add({group:"plugin",name:"export xlsx",exec:async()=>{const e=t.getGridContainer().model.models;aL(await nL(Array.from(e,(t=>t[1]))),"export.xlsx")}}),t.addEventListener("drop",(async e=>{if(e.preventDefault(),e.dataTransfer.files.length){const i=e.dataTransfer.files[0];t.setSourceData(await gL(i))}}))}}vL.pluginName="xlsx";class bL{get dataRange(){return this._dataRange}set dataRange(t){this._dataRange=t,this.invalidateData()}get seriesRange(){return this._seriesRange}set seriesRange(t){this._seriesRange=t,this.invalidateData()}get categoriesRange(){return this._categoriesRange}set categoriesRange(t){this._categoriesRange=t,this.invalidateData()}get title(){return this._title}set title(t){this._title=t,this.invalidateData()}get size(){return this._size}set size(t){this._size=t}get location(){return this._location}set location(t){this._location=t,this.invalidateData()}get type(){return this._type}set type(t){this._type=t,this.invalidateData()}get grouping(){return this._grouping}set grouping(t){this._grouping=t,this.invalidateData()}get datasheetName(){return this.dataRange?.sheet}get dependencies(){if(this._dependencies)return this._dependencies;if(this._dependencies=new Set,this.seriesRange)for(const t of this.seriesRange.cells())this._dependencies.add(t.A1);if(this.categoriesRange)for(const t of this.categoriesRange.cells())this._dependencies.add(t.A1);if(this.dataRange)for(const t of this.dataRange.cells())this._dependencies.add(t.A1);return this._dependencies}invalidateData(){this._options=void 0,this._dependencies=void 0}constructor(t,e){this.model=t,this._inverted=!1,this.populate(e),this.init()}populate(t){this._dataRange=Ev.fromA1(t.dataRange),this._title=t.title,this._size=t.size,this._location=t.location,this._type=t.type,this._grouping=t.grouping,this.zIndex=t.zIndex,t.seriesRange&&(this._seriesRange=Ev.fromA1(t.seriesRange)),t.categoriesRange&&(this._categoriesRange=Ev.fromA1(t.categoriesRange))}getSourceData(){return{dataRange:this.dataRange.A1,seriesRange:this.seriesRange?.A1,categoriesRange:this.categoriesRange?.A1,title:this.title,size:this.size,location:this.location,type:this.type,grouping:this.grouping,zIndex:this.zIndex}}getSeriesData(t,e){return t.map(((t,i)=>{return{type:this.type,name:e[i],stacking:(o=this.grouping,"stacked"===o?"normal":"percentStacked"===o?"percent":void 0),data:t.map((t=>({y:t})))};var o}))}init(){if(this._options)return this._options;let t,e,i=this.model.getValueMatrix(this.dataRange);this.seriesRange&&(this._inverted=this.seriesRange.isColumn,t=this.model.getValueMatrix(this.seriesRange).flat()),this.categoriesRange&&(this._inverted=this.seriesRange.isRow,e=this.model.getValueMatrix(this.categoriesRange).flat()),this._inverted||(i=Zr(i));const o=i.length,r=i[0].length;return t||(t=Array.from({length:o},((t,e)=>`Series ${e+1}`))),e||(e=Array.from({length:r},((t,e)=>(e+1).toString()))),this._options={plotOptions:{},series:this.getSeriesData(i,t),xAxis:{categories:e}},"pie"==this.type&&(this._options.plotOptions.pie={dataLabels:{enabled:!1},showInLegend:!0},this._options.series[0].data.forEach(((t,i)=>{t.name=e[i]})),this._options.series=[this._options.series[0]]),this._options}getOptions(){return this._options||this.init(),this._options}}class yL extends fu{constructor(){super(...arguments),this.charts=new Map,this.dependencies=new Map,this.grids=new Set,this.getChartFactory=t=>()=>{const e=yt("og-plugin-chart");return e.model=t,this.charts.set(t.index,e),e},this._onEdit=t=>{if(!t.cells)return;const e=this.getAffectedModels(t.grid.model.name,t.cells.map((t=>t.address)));e.forEach((t=>this.charts.get(t)?.refresh()))}}get models(){return this.grid.model.otherModels[yL.pluginName]}getChartByModel(t){return this.charts.get(t.index)}getAffectedModels(t,e){const i=new Set;return e.forEach((e=>{const o=this.dependencies.get(t)?.get(e);o&&o.forEach((t=>i.add(t)))})),Array.from(i)}addModel(t){const e=new bL(this.grid.model,t);e.index=this.models.size;const i=e.datasheetName||this.grid.model.name,o=this.dependencies.get(i)??new Map;if(this.dependencies.set(i,o),null==e.title&&(e.title=`Chart #${this.models.size+1}`),e.dependencies.forEach((t=>{const i=o.get(t)||[];i.push(e.index),o.set(t,i)})),this.models.add(e),this.grid.objects.add({model:e,createComponent:this.getChartFactory(e)}),i){const t=this.grid.getConnectedGrid(i);this.grids.has(t)||(t.addEventListener("grid.edit",this._onEdit),this.grids.add(t))}return e}clear(){this.models.clear(),this.charts=new Map,this.dependencies=new Map}init(t){this.grid=t,t.model.otherModels[yL.pluginName]=new Set,t.addEventListener("grid.loadmodel",(t=>{this.clear(),t.grid.model.otherSourceData.charts&&t.grid.model.otherSourceData.charts.forEach((t=>this.addModel(t)))})),t.addEventListener("grid.edit",this._onEdit),this.grids.add(t)}}yL.pluginName="charts";class wL extends fu{constructor(){super(...arguments),this._onModelChange=t=>{this.getGridByModel(t.value).plugins.get("charts").getChartByModel(t.value).refresh()},this.openSidebar=()=>this.editor.rightSidebarComponent="charts",this.closeSidebar=()=>this.editor.rightSidebarComponent=null,this.toggleSidebar=(t=null)=>!1===(t??!1)||"charts"==this.editor.rightSidebarComponent?this.closeSidebar():this.openSidebar()}get editor(){return this._editor}getGridByModel(t){return this.editor.group.getGridByModel(t.model)}init(t){this._editor=t;const e=t.createComponent;t.createComponent=t=>"charts"===t?(this.chartList||(this.chartList=yt("og-plugin-chart-list"),this.chartList.addEventListener("change",this._onModelChange)),this.chartList.filter=this._filter,this._filter=null,this.chartList):e?e(t):null,t.addEventListener("editor.toolbar.init",(()=>{const e=t.toolbar.toolbar3Config.slice(),i=e.findIndex((t=>"sparklines"===t.id))||0;e.splice(i,0,{type:"togglebutton",id:"charts",icon:{icon:"chart-column"},title:"Charts"}),t.toolbar.toolbar3Config=e})),t.addEventListener("editor.toolbar.action",(t=>{"charts"===t.action.key&&this.toggleSidebar()})),t.addEventListener("grid.init",(t=>{t.grid.plugins.register(new yL)})),t.addEventListener("grid.object.activate",(t=>{t.object instanceof bL&&(this.openSidebar(),this.chartList?this.chartList.filter=t.object.title:this._filter=t.object.title)})),t.addEventListener("grid.object.deactivate",(()=>{this.chartList&&(this.chartList.filter=null)}))}}wL.pluginName="chartEditor";class xL{static init(t){"string"==typeof t?xL.path=t:xL.highcharts=t}static async get(){return this.highcharts||(this.highcharts=await this.load()),this.highcharts}static getSync(){return this.highcharts}static async load(){return window.Highcharts&&(xL.highcharts=window.Highcharts),xL.highcharts?xL.highcharts:this.loadViaScript()}static async loadViaScript(){const t=window.define,e=t&&t.amd;t&&(t.amd=void 0);try{const t=this.path.endsWith(".js")?this.path:`${this.path}/highcharts.js`;if(await hs.load(t),window.Highcharts)return xL.highcharts=window.Highcharts,window.Highcharts;throw new Error("Failed to load Highcharts")}catch(t){throw console.log(t),t}finally{t&&void 0!==e&&(t.amd=e)}}}const kL={chart:{styledMode:!0}};async function CL(t){const e=await xL.get(),i={chart:{type:"column",reflow:!1},title:{text:t.title},series:[{type:"column",name:"Corn",data:[387749,28e4,129e3,64300,54e3,34300]},{type:"column",name:"Wheat",data:[45321,14e4,1e4,140500,19500,113500]}]};return e.merge(i,t.getOptions())}async function ML(t,e){const i=await xL.get(),o=await CL(t);return i.chart(e,i.merge(o,kL,{chart:{}}))}const _L=ks`
|
|
8612
|
+
`],DE([$n({type:Object})],OE.prototype,"item",void 0),DE([$n({type:String})],OE.prototype,"value",void 0),DE([On("og-dropdown")],OE.prototype,"dropdown",void 0),DE([On("og-button")],OE.prototype,"button",void 0),DE([On(".btn-content")],OE.prototype,"btnContent",void 0),OE=DE([In("og-toolbar-colorpicker")],OE);class NE{static init(t){this.path=t}static async get(){return this.xlsx||(this.xlsx=await this.load()),this.xlsx}static getSync(){return this.xlsx}static load(){if(!cs.require)throw new Error("AMDLoader is not initialized");return cs.require.config({paths:{xlsx:this.path+"/xlsx.full.min"}}),new Promise((t=>cs.require(["xlsx"],(()=>t(self.XLSX)))))}}const PE="aaaaaa",jE={bottom:{style:"thin",color:PE},top:{style:"thin",color:PE},right:{style:"thin",color:PE},left:{style:"thin",color:PE}},HE={exportHiddenRows:!0,exportHiddenColumns:!0,gridLines:!0,defaultBorders:!1,dropdownCells:"value"},FE={alignment:{vertical:"center",horizontal:"center"},bold:!0},BE={g:"n",b:"b",t:"s",n:"n",d:"d",dt:"d",s:"s",m:"s",tm:"s",h:"s",a:"z"};function WE(t,e){return(e.exportHiddenColumns?t.columns:t.visibleColumns).map((e=>({level:e.level,wpx:e.width,hidden:null==e.visibleIndex||t.visibleColumns[e.visibleIndex]!=e})))}function VE(t,e){const i=e.exportHiddenRows?t.rows:t.visibleRows,o=t.headerCount,r=new Array(i.length+o);return[...Array(o).keys()].map((t=>r[t]={level:0})),i.map(((e,i)=>r[i+o]={level:e.level,hpt:.75*e.height,hidden:null==e.visibleIndex||t.visibleRows[e.visibleIndex]!=e})),r}function UE(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t=>t.c:e=>t.columns[e.c].visibleIndex,r=[];return t.merges.mergedCells.forEach((t=>{r.push({s:{c:o(t),r:t.r+i},e:{c:o(t)+t.cs-1,r:t.r+i+t.rs-1}})})),t.mergedHeaders.forEach((t=>{t.h?.hidden||r.push({s:{c:o(t),r:t.r},e:{c:o(t)+t.cs-1,r:t.r+t.rs-1}})})),r}function GE(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t.columns:t.visibleColumns,r=XE(e);return[...Array(i).keys()].map((e=>o.map((i=>{const o=i.header[e],s={t:o?"s":"z",s:FE};return o&&(o.html?s.h=`<span>${o.label}</span>`:null!=o.label?s.v=o.label:s.t="z"),r&&(s.s||(s.s={}),s.s=Object.assign({},r,s.s)),null!=o._style&&(s.s=Object.assign({},s.s,ZE(t.styles.get(o._style)))),s}))))}function YE(t){return{rgb:t}}function qE(t){return"none"==t.style?null:{style:t.style,color:YE(t.color)}}function ZE(t){const e={};if(t.color&&(e.color=YE(t.color)),t.bgColor&&(e.bgColor=YE(t.bgColor)),t.fgColor&&(e.fgColor=YE(t.fgColor)),t.patternType&&(e.patternType=t.patternType),t.alignment&&(e.alignment=t.alignment),null!=t.bold&&(e.bold=t.bold),t.sz&&(e.sz=t.sz),t.bottom&&(e.bottom=qE(t.bottom)),t.top&&(e.top=qE(t.top)),t.right&&(e.right=qE(t.right)),t.left&&(e.left=qE(t.left)),null!=t.angle&&(e.angle=t.angle),t.stops&&(e.stops=t.stops.map((t=>({v:t.v,rgb:t.rgb}))),e.stops.length<3))for(let t=e.stops.length;t<3;t++)e.stops.push({v:0,rgb:"000000"});return console.log(e.stops),e}function XE(t){const e=!0===t.defaultBorders?jE:t.defaultBorders;return e?function(t){const e={};return t.bottom&&(e.bottom=qE(t.bottom)),t.top&&(e.top=qE(t.top)),t.right&&(e.right=qE(t.right)),t.left&&(e.left=qE(t.left)),e}(e):null}function QE(t,e){const i=NE.getSync();e=iL(e);const o=t.headerCount,r=new jw(t),s=new Array(o+t.rows.length),n=new Map,a=XE(e),l=t.options.dateFormat||"yyyy-MM-dd",c="displayValue"==e.dropdownCells;GE(t,e).forEach(((t,e)=>s[e]=t));const h=e.exportHiddenRows?t.rows:t.visibleRows,d=e.exportHiddenColumns?t.columns:t.visibleColumns;return h.forEach(((t,e)=>s[e+o]=d.map((e=>{const s=t.cell(e.index),h=s.type,d=BE[h],u={t:s.hasValue?d:"z"};s.hasFormula?(u.f=o>0?r.getFormula(s).clone().shift({index:0,offset:o,direction:"down"}).toExcelString():r?r.getFormula(s).toExcelString():s.formula,"d"==d&&(u.t="n",u.z=s.format??l)):s.hasValue&&!s.isSpilled&&("s"==u.t?u.v=c?s.formattedValue.toString():s.value.toString():"z"!=u.t&&(u.v=s.value),"g"==h?u.t=Q(u.v)?"s":"n":"d"==h?tt(u.v)&&(u.t="n"):"h"==h&&i.utils.html_to_rs&&(u.R=i.utils.html_to_rs(s.value)));const p=s.composedStyle;if(p&&(n.has(p.id)||n.set(p.id,ZE(p)),u.s={...n.get(p.id)}),function(t,e){const i=t.calculatedIndent;i>0&&(e.s||(e.s={}),e.s.alignment||(e.s.alignment={}),e.s.alignment.indent=i)}(s,u),s.hasComment){const t=s.model.comments.get(s.address),e=[];e.push({R:[]}),e.hidden=!0,e["!pos"]={x:0,y:0,w:400,h:200},t.forEach((t=>{if(!t.text)return;const i=t.author?t.author.name??t.author.id:null;let o="";i&&(o=i),t.date&&(o+=(o?" - ":"")+Zo(t.date,qo({withTime:!0}))),o&&e[0].R.push({t:"s",v:o+"\n",s:{bold:!0}}),e[0].R.push({t:"s",v:t.text+"\n"})})),u.c=e}return"n"!=u.t&&"d"!=u.t||null!=u.z||(u.z=s.format??("d"==u.t?l:"General")),a&&(u.s||(u.s={}),u.s=Object.assign({},a,u.s)),u})))),s}function KE(t,e){return t||e?{t:(t=Object.assign({},e,t)).t,v:t.v,color:YE(t.color)}:null}function JE(t){const e=t.headerCount;return t.conditionalFormats.getSourceData().map((t=>({ref:Ev.fromA1s(t.ranges).map((t=>t.shiftDown(0,e,null,!0).A1)).join(" "),t:t.type,f:t.condition&&gv(t.condition[0])?"A1"+t.condition:t.condition??null,s:t.style?ZE(t.style):null,stop:t.stop,cmin:KE(t.cmin,"bar"==t.type?{t:"min",color:t.color}:null),cmid:t.cmid?KE(t.cmid,{v:50,t:"percentile"}):null,cmax:KE(t.cmax,"bar"==t.type?{t:"max",color:t.color}:null),color:YE(t.color),v:t.v,thresh:t.thresh})))}function tL(t){if(t.options.rowTree.reversed)return"below";const e=t.rows;if(e.length<2)return"above";for(let t=1;t<e.length;t++)if(e[t].level!=e[t-1].level)return e[t].parent==e[t-1]?"above":"below";return t.rows[0].level>t.rows[1].level?"below":"above"}function eL(t){return null==t.options.columnTree.reversed?t.columns.length<2?"left":t.columns[0].level>t.columns[1].level?"right":"left":t.options.columnTree.reversed?"right":"left"}const iL=t=>{const e=Object.assign({},HE,t);return e.defaultBorders&&(e.defaultBorders=jE),e},oL=t=>t/25.4;function rL(t){return t?{top:oL(t.top),bottom:oL(t.bottom),left:oL(t.left),right:oL(t.right),header:oL(t.header),footer:oL(t.footer)}:null}function sL(t,e){e=iL(e);const i={};i["!cols"]=WE(t,e),i["!rows"]=VE(t,e),i["!merges"]=UE(t,e),i["!condfmt"]=JE(t),i["!outline"]={above:"above"==tL(t),left:"left"==eL(t)},t.options.freezeLeft||t.options.freezeTop?i["!freeze"]=`${Rv(t.options.freezeLeft)}${t.headerCount+t.options.freezeTop+1}`:t.headerCount>0&&(i["!freeze"]=`A${t.headerCount+1}`),i["!gridlines"]=e.gridLines,i["!print"]=function(t,e){const i=t.options.print??{},o={props:{}};o.props.scale=i.scale?i.scale:function(t){const e=t.options.print??{},i=Q(e.paper)?ts[e.paper]??ts.A4:e.paper,o=oL(i.width-e.margins.left-e.margins.right),r=t.columns.reduce(((t,e)=>t+e.width),0)/96;return Math.round(o/r*100)-2}(t),o.props.paper=i.paper,o.props.orientation=i.orientation,i.margins&&(o.margins=rL(i.margins));const r=i.rowBreaks;if(r?.length>0){o.rowBreaks=r.map((i=>({R:e.exportHiddenRows?i:t.rows[i].visibleIndex})));const i=t.options?.print?.rowTitles?Ev.fromA1(t.options?.print?.rowTitles):null;i&&(o.titles={s:{r:i.r1,c:-1},e:{r:i.r2,c:-1}})}return o}(t,e);const o=function(t,e){const i=e.exportHiddenColumns?t.columns:t.visibleColumns,o=i.find((t=>t.filter?.enabled));return o?new Ev(o.index,t.headerCount-1,i.length-1,t.headerCount-1):null}(t,e);return o&&(i["!autofilter"]={ref:o.A1}),i}async function nL(t,e){const i=NE.get(),o=i instanceof Promise?await i:i;e=iL(e);const r=o.utils.book_new();return t.forEach(((t,i)=>{t.calculations.evaluateAll();const s={...e,...t.exportOptions},n=o.utils.sheet_add_aoa(sL(t,s),QE(t,s));let a=t.name||`Sheet${i+1}`;t.name=a,a.length>31&&(a=a.substring(0,31)),o.utils.book_append_sheet(r,n,a)})),r.Workbook=r.Workbook||{},t.forEach((t=>{const e=r.SheetNames.indexOf(t.name);e<0||(r.Workbook.Sheets||(r.Workbook.Sheets=[]),r.Workbook.Sheets[e]||(r.Workbook.Sheets[e]={}),t.tab?.hidden&&(r.Workbook.Sheets[e].Hidden=1))})),r}async function aL(t,e=null){const i=NE.get(),o=i instanceof Promise?await i:i;return e?o.writeFile(t,e,{cellStyles:!0,bookSST:!0}):o.writeXLSX(t,{cellStyles:!0,bookSST:!0,type:"buffer"})}const lL={b:"b",s:"t",n:"n",d:"d",z:"g",e:"t"};function cL(t){return t.rgb}function hL(t){return{color:cL(t.color),style:t.style}}function dL(t){const e={};return t.color&&(e.color=cL(t.color)),t.bgColor&&(e.bgColor=cL(t.bgColor)),t.fgColor&&(e.fgColor=cL(t.fgColor)),e.fgColor||"000000"!=e.color||(e.color=null),t.alignment&&(e.alignment=t.alignment),t.bold&&(e.bold=t.bold),t.sz&&(e.sz=t.sz),t.top&&(e.top=hL(t.top)),t.bottom&&(e.bottom=hL(t.bottom)),t.left&&(e.left=hL(t.left)),t.right&&(e.right=hL(t.right)),e}function uL(t,e){const i=t["!ref"]?Ev.fromA1(t["!ref"]):Ev.fromA1("A1:T100"),o={},r={};if(t["!freeze"]){const e=Ev.fromA1(t["!freeze"]);r.freezeLeft=e.c1,r.freezeTop=e.r1}return o.options=r,o.rows=function(t,e){const i=t["!rows"]??[],o=new Array(e);let r;for(let t=0;t<e;t++)r=i[t],o[t]={l:(r?r.level:0)||0,h:r?r.hpx:null};return o}(t,i.r2+1),o.columns=function(t,e){const i=t["!cols"]??[],o=new Array(e);let r;for(let t=0;t<e;t++)r=i[t],o[t]={l:(r?r.level:0)||0,w:r?r.wpx:null};return o}(t,i.c2+1),o.cells=function(t){const e=[],i=new Map;(t["!merges"]??[]).forEach((t=>{const e=new Ev(t.s.c,t.s.r);i.set(e.A1,{c:t.s.c,cs:t.e.c-t.s.c+1,r:t.s.r,rs:t.e.r-t.s.r+1})}));for(const o in t){if("!"==o[0])continue;const r=t[o],s=Ev.fromA1(o),n={r:s.r1,c:s.c1,t:lL[r.t]},a=i.get(o);a&&(n.cs=a.cs,n.rs=a.rs),r.s&&(n.s=dL(r.s)),r.f?n.f=Bv(r.f):n.v=r.v,["n","d"].includes(r.t)&&null!=r.z&&"General"!=r.z&&(n.z=yr(r.z,"d")),e.push(n)}return e}(t),o.names=e,o.rules=function(t){return t["!condfmt"]?.filter((t=>["formula","scale","bar"].includes(t.t))).map((t=>{const e={type:t.t,ranges:t.ref.toString().replace(/\s/g,";")};return e.style=t.s?dL(t.s):null,e.cmin=t.cmin?{t:t.cmin.t,color:t.cmin.color?cL(t.cmin.color):null}:null,e.cmid=t.cmid?{t:t.cmid.t,color:t.cmid.color?cL(t.cmid.color):null}:null,e.cmax=t.cmax?{t:t.cmax.t,color:t.cmax.color?cL(t.cmax.color):null}:null,e.color=t.color?cL(t.color):null,e.condition=t.f,e.stop=!0,e}))}(t),o}function pL(t){const e=new Map;return t.Workbook.Names.forEach((({Name:t,Ref:i})=>{const[o,r]=i.split("!");if(!r)return;let s=e.get(o);s||e.set(o,s=[]);const n=Ev.fromA1(r);n.c1Anchor&&!n.r1Anchor?(n.r1=0,n.r2=1/0):!n.c1Anchor&&n.r1Anchor&&(n.c1=0,n.c2=1/0),n.removeAnchors(),s.push({name:t,ref:n.A1})})),e}async function gL(t,e){return performance.mark("start_import"),fL(await t.arrayBuffer(),e)}function mL(t){const e=pL(t);performance.mark("sheets_start");const i={models:[],layout:{items:[{tabs:[]}]}};for(const o in t.Sheets)performance.mark(`sheet_start_${o}`),i.layout.items[0].tabs.push({id:o}),i.models.push({...uL(t.Sheets[o],e.get(o)),name:o}),performance.mark(`sheet_end_${o}`);return performance.mark("sheets_end"),i}async function fL(t,e){performance.mark("array_buffer");const i=t instanceof ArrayBuffer?new Uint8Array(t):t,o=(await NE.get()).read(i,Object.assign({cellNF:!0,cellText:!1,cellStyles:!0,type:"buffer"},e||{}));return performance.mark("wb_read"),mL(o)}class vL extends fu{init(t){NE.get(),t.commands.add({group:"plugin",name:"export xlsx",exec:async()=>{const e=t.getGridContainer().model.models;aL(await nL(Array.from(e,(t=>t[1]))),"export.xlsx")}}),t.addEventListener("drop",(async e=>{if(e.preventDefault(),e.dataTransfer.files.length){const i=e.dataTransfer.files[0];t.setSourceData(await gL(i))}}))}}vL.pluginName="xlsx";class bL{get dataRange(){return this._dataRange}set dataRange(t){this._dataRange=t,this.invalidateData()}get seriesRange(){return this._seriesRange}set seriesRange(t){this._seriesRange=t,this.invalidateData()}get categoriesRange(){return this._categoriesRange}set categoriesRange(t){this._categoriesRange=t,this.invalidateData()}get title(){return this._title}set title(t){this._title=t,this.invalidateData()}get size(){return this._size}set size(t){this._size=t}get location(){return this._location}set location(t){this._location=t,this.invalidateData()}get type(){return this._type}set type(t){this._type=t,this.invalidateData()}get grouping(){return this._grouping}set grouping(t){this._grouping=t,this.invalidateData()}get datasheetName(){return this.dataRange?.sheet}get dependencies(){if(this._dependencies)return this._dependencies;if(this._dependencies=new Set,this.seriesRange)for(const t of this.seriesRange.cells())this._dependencies.add(t.A1);if(this.categoriesRange)for(const t of this.categoriesRange.cells())this._dependencies.add(t.A1);if(this.dataRange)for(const t of this.dataRange.cells())this._dependencies.add(t.A1);return this._dependencies}invalidateData(){this._options=void 0,this._dependencies=void 0}constructor(t,e){this.model=t,this._inverted=!1,this.populate(e),this.init()}populate(t){this._dataRange=Ev.fromA1(t.dataRange),this._title=t.title,this._size=t.size,this._location=t.location,this._type=t.type,this._grouping=t.grouping,this.zIndex=t.zIndex,t.seriesRange&&(this._seriesRange=Ev.fromA1(t.seriesRange)),t.categoriesRange&&(this._categoriesRange=Ev.fromA1(t.categoriesRange))}getSourceData(){return{dataRange:this.dataRange.A1,seriesRange:this.seriesRange?.A1,categoriesRange:this.categoriesRange?.A1,title:this.title,size:this.size,location:this.location,type:this.type,grouping:this.grouping,zIndex:this.zIndex}}getSeriesData(t,e){return t.map(((t,i)=>{return{type:this.type,name:e[i],stacking:(o=this.grouping,"stacked"===o?"normal":"percentStacked"===o?"percent":void 0),data:t.map((t=>({y:t})))};var o}))}init(){if(this._options)return this._options;let t,e,i=this.model.getValueMatrix(this.dataRange);this.seriesRange&&(this._inverted=this.seriesRange.isColumn,t=this.model.getValueMatrix(this.seriesRange).flat()),this.categoriesRange&&(this._inverted=this.seriesRange.isRow,e=this.model.getValueMatrix(this.categoriesRange).flat()),this._inverted||(i=Zr(i));const o=i.length,r=i[0].length;return t||(t=Array.from({length:o},((t,e)=>`Series ${e+1}`))),e||(e=Array.from({length:r},((t,e)=>(e+1).toString()))),this._options={plotOptions:{},series:this.getSeriesData(i,t),xAxis:{categories:e}},"pie"==this.type&&(this._options.plotOptions.pie={dataLabels:{enabled:!1},showInLegend:!0},this._options.series[0].data.forEach(((t,i)=>{t.name=e[i]})),this._options.series=[this._options.series[0]]),this._options}getOptions(){return this._options||this.init(),this._options}}class yL extends fu{constructor(){super(...arguments),this.charts=new Map,this.dependencies=new Map,this.grids=new Set,this.getChartFactory=t=>()=>{const e=yt("og-plugin-chart");return e.model=t,this.charts.set(t.index,e),e},this._onEdit=t=>{if(!t.cells)return;const e=this.getAffectedModels(t.grid.model.name,t.cells.map((t=>t.address)));e.forEach((t=>this.charts.get(t)?.refresh()))}}get models(){return this.grid.model.otherModels[yL.pluginName]}getChartByModel(t){return this.charts.get(t.index)}getAffectedModels(t,e){const i=new Set;return e.forEach((e=>{const o=this.dependencies.get(t)?.get(e);o&&o.forEach((t=>i.add(t)))})),Array.from(i)}addModel(t){const e=new bL(this.grid.model,t);e.index=this.models.size;const i=e.datasheetName||this.grid.model.name,o=this.dependencies.get(i)??new Map;if(this.dependencies.set(i,o),null==e.title&&(e.title=`Chart #${this.models.size+1}`),e.dependencies.forEach((t=>{const i=o.get(t)||[];i.push(e.index),o.set(t,i)})),this.models.add(e),this.grid.objects.add({model:e,createComponent:this.getChartFactory(e)}),i){const t=this.grid.getConnectedGrid(i);this.grids.has(t)||(t.addEventListener("grid.edit",this._onEdit),this.grids.add(t))}return e}clear(){this.models.clear(),this.charts=new Map,this.dependencies=new Map}init(t){this.grid=t,t.model.otherModels[yL.pluginName]=new Set,t.addEventListener("grid.loadmodel",(t=>{this.clear(),t.grid.model.otherSourceData.charts&&t.grid.model.otherSourceData.charts.forEach((t=>this.addModel(t)))})),t.addEventListener("grid.edit",this._onEdit),this.grids.add(t)}}yL.pluginName="charts";class wL extends fu{constructor(){super(...arguments),this._onModelChange=t=>{this.getGridByModel(t.value).plugins.get("charts").getChartByModel(t.value).refresh()},this.openSidebar=()=>this.editor.rightSidebarComponent="charts",this.closeSidebar=()=>this.editor.rightSidebarComponent=null,this.toggleSidebar=(t=null)=>!1===(t??!1)||"charts"==this.editor.rightSidebarComponent?this.closeSidebar():this.openSidebar()}get editor(){return this._editor}getGridByModel(t){return this.editor.group.getGridByModel(t.model)}init(t){this._editor=t;const e=t.createComponent;t.createComponent=t=>"charts"===t?(this.chartList||(this.chartList=yt("og-plugin-chart-list"),this.chartList.addEventListener("change",this._onModelChange)),this.chartList.filter=this._filter,this._filter=null,this.chartList):e?e(t):null,t.addEventListener("editor.toolbar.init",(()=>{const e=t.toolbar.toolbar3Config.slice(),i=e.findIndex((t=>"sparklines"===t.id))||0;e.splice(i,0,{type:"togglebutton",id:"charts",icon:{icon:"chart-column"},title:"Charts"}),t.toolbar.toolbar3Config=e})),t.addEventListener("editor.toolbar.action",(t=>{"charts"===t.action.key&&this.toggleSidebar()})),t.addEventListener("grid.init",(t=>{t.grid.plugins.register(new yL)})),t.addEventListener("grid.object.activate",(t=>{t.object instanceof bL&&(this.openSidebar(),this.chartList?this.chartList.filter=t.object.title:this._filter=t.object.title)})),t.addEventListener("grid.object.deactivate",(()=>{this.chartList&&(this.chartList.filter=null)}))}}wL.pluginName="chartEditor";class xL{static init(t){"string"==typeof t?xL.path=t:xL.highcharts=t}static async get(){return this.highcharts||(this.highcharts=await this.load()),this.highcharts}static getSync(){return this.highcharts}static async load(){return window.Highcharts&&(xL.highcharts=window.Highcharts),xL.highcharts?xL.highcharts:this.loadViaScript()}static async loadViaScript(){const t=window.define,e=t&&t.amd;t&&(t.amd=void 0);try{const t=this.path.endsWith(".js")?this.path:`${this.path}/highcharts.js`;if(await hs.load(t),window.Highcharts)return xL.highcharts=window.Highcharts,window.Highcharts;throw new Error("Failed to load Highcharts")}catch(t){throw console.log(t),t}finally{t&&void 0!==e&&(t.amd=e)}}}const kL={chart:{styledMode:!0}};async function CL(t){const e=await xL.get(),i={chart:{type:"column",reflow:!1},title:{text:t.title},series:[{type:"column",name:"Corn",data:[387749,28e4,129e3,64300,54e3,34300]},{type:"column",name:"Wheat",data:[45321,14e4,1e4,140500,19500,113500]}]};return e.merge(i,t.getOptions())}async function ML(t,e){const i=await xL.get(),o=await CL(t);return i.chart(e,i.merge(o,kL,{chart:{}}))}const _L=ks`
|
|
8609
8613
|
* {
|
|
8610
8614
|
box-sizing: border-box;
|
|
8611
8615
|
}
|
|
@@ -9828,7 +9832,7 @@ milkdown-block-handle {
|
|
|
9828
9832
|
<og-input
|
|
9829
9833
|
id="search"
|
|
9830
9834
|
.value="${this.filter}"
|
|
9831
|
-
@input="${
|
|
9835
|
+
@input="${Y(this._onSearchInput,100)}">
|
|
9832
9836
|
</og-input>
|
|
9833
9837
|
</div>
|
|
9834
9838
|
<div class="body">
|
|
@@ -9955,4 +9959,4 @@ milkdown-block-handle {
|
|
|
9955
9959
|
`:null}
|
|
9956
9960
|
</div>
|
|
9957
9961
|
</og-panel>
|
|
9958
|
-
`:null,this.addEventListener("mousedown",(t=>t.stopPropagation()))}getTypeIndex(t){const e=this.types.findIndex((e=>e.type==t.type&&e.grouping==(t.grouping||"standard")));return e>-1?e:null}updateModel(){if(this.editTitle=!1,!this.model)return;this.titleInput&&(this.model.title=this.titleInput.value);const t=this.types[this.typeList.value];this.model.type=t.type,this.model.grouping=t.grouping,this.model.categoriesRange=this.categoryRangeInput?.value?Ev.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?Ev.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=Ev.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Qr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};AL.styles=[TL],$L([$n({type:Object})],AL.prototype,"model",void 0),$L([An()],AL.prototype,"editTitle",void 0),$L([On("#title")],AL.prototype,"titleInput",void 0),$L([On("#type")],AL.prototype,"typeList",void 0),$L([On("#dataRange")],AL.prototype,"dataRangeInput",void 0),$L([On("#seriesRange")],AL.prototype,"seriesRangeInput",void 0),$L([On("#categoryRange")],AL.prototype,"categoryRangeInput",void 0),AL=$L([In("og-plugin-chart-form")],AL);const DL=Ja().themes.get("og-dark");Object.assign(DL.definition,{"highcharts-title-font-size":"16px","highcharts-subtitle-font-size":"14px","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"rgb(48, 48, 48)","highcharts-neutral-color-100":"rgb(255, 255, 255)","highcharts-neutral-color-80":"rgb(214, 214, 214)","highcharts-neutral-color-60":"rgb(173, 173, 173)","highcharts-neutral-color-40":"rgb(133, 133, 133)","highcharts-neutral-color-20":"rgb(92, 92, 92)","highcharts-neutral-color-10":"rgb(71, 71, 71)","highcharts-neutral-color-5":"rgb(61, 61, 61)","highcharts-neutral-color-3":"rgb(57, 57, 57)","highcharts-highlight-color-100":"rgb(122, 167, 255)","highcharts-highlight-color-80":"rgb(108, 144, 214)","highcharts-highlight-color-60":"rgb(94, 121, 173)","highcharts-highlight-color-20":"rgb(65, 74, 92)","highcharts-highlight-color-10":"rgb(58, 63, 71)"});const OL=Ja().themes.get("og-light");Object.assign(OL.definition,{"highcharts-title-font-size":"16px","chart-background-color":"#2a2a2b","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"#ffffff","highcharts-neutral-color-100":"#000000","highcharts-neutral-color-80":"#333333","highcharts-neutral-color-60":"#666666","highcharts-neutral-color-40":"#999999","highcharts-neutral-color-20":"#cccccc","highcharts-neutral-color-10":"#e6e6e6","highcharts-neutral-color-5":"#f2f2f2","highcharts-neutral-color-3":"#f7f7f7","highcharts-highlight-color-100":"#0022ff","highcharts-highlight-color-80":"#334eff","highcharts-highlight-color-60":"#667aff","highcharts-highlight-color-20":"#ccd3ff","highcharts-highlight-color-10":"#e6e9ff","highcharts-positive-color":"#06b535","highcharts-negative-color":"#f21313","highcharts-annotation-color-0":"rgba(130, 170, 255, 0.4)","highcharts-annotation-color-1":"rgba(139, 191, 216, 0.4)","highcharts-annotation-color-2":"rgba(150, 216, 192, 0.4)","highcharts-annotation-color-3":"rgba(156, 229, 161, 0.4)","highcharts-annotation-color-4":"rgba(162, 241, 130, 0.4)","highcharts-annotation-color-5":"rgba(169, 255, 101, 0.4)"});var NL=i(6946),PL=i(6471),jL=i(4969),HL=i(9502),FL=i(7706),BL=i(1480),WL=i(2006),VL=i(7503),UL=i(7873),GL=i(8746),
|
|
9962
|
+
`:null,this.addEventListener("mousedown",(t=>t.stopPropagation()))}getTypeIndex(t){const e=this.types.findIndex((e=>e.type==t.type&&e.grouping==(t.grouping||"standard")));return e>-1?e:null}updateModel(){if(this.editTitle=!1,!this.model)return;this.titleInput&&(this.model.title=this.titleInput.value);const t=this.types[this.typeList.value];this.model.type=t.type,this.model.grouping=t.grouping,this.model.categoriesRange=this.categoryRangeInput?.value?Ev.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?Ev.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=Ev.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Qr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};AL.styles=[TL],$L([$n({type:Object})],AL.prototype,"model",void 0),$L([An()],AL.prototype,"editTitle",void 0),$L([On("#title")],AL.prototype,"titleInput",void 0),$L([On("#type")],AL.prototype,"typeList",void 0),$L([On("#dataRange")],AL.prototype,"dataRangeInput",void 0),$L([On("#seriesRange")],AL.prototype,"seriesRangeInput",void 0),$L([On("#categoryRange")],AL.prototype,"categoryRangeInput",void 0),AL=$L([In("og-plugin-chart-form")],AL);const DL=Ja().themes.get("og-dark");Object.assign(DL.definition,{"highcharts-title-font-size":"16px","highcharts-subtitle-font-size":"14px","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"rgb(48, 48, 48)","highcharts-neutral-color-100":"rgb(255, 255, 255)","highcharts-neutral-color-80":"rgb(214, 214, 214)","highcharts-neutral-color-60":"rgb(173, 173, 173)","highcharts-neutral-color-40":"rgb(133, 133, 133)","highcharts-neutral-color-20":"rgb(92, 92, 92)","highcharts-neutral-color-10":"rgb(71, 71, 71)","highcharts-neutral-color-5":"rgb(61, 61, 61)","highcharts-neutral-color-3":"rgb(57, 57, 57)","highcharts-highlight-color-100":"rgb(122, 167, 255)","highcharts-highlight-color-80":"rgb(108, 144, 214)","highcharts-highlight-color-60":"rgb(94, 121, 173)","highcharts-highlight-color-20":"rgb(65, 74, 92)","highcharts-highlight-color-10":"rgb(58, 63, 71)"});const OL=Ja().themes.get("og-light");Object.assign(OL.definition,{"highcharts-title-font-size":"16px","chart-background-color":"#2a2a2b","highcharts-color-0":"#2caffe","highcharts-color-1":"#544fc5","highcharts-color-2":"#00e272","highcharts-color-3":"#fe6a35","highcharts-color-4":"#6b8abc","highcharts-color-5":"#d568fb","highcharts-color-6":"#2ee0ca","highcharts-color-7":"#fa4b42","highcharts-color-8":"#feb56a","highcharts-color-9":"#91e8e1","highcharts-background-color":"#ffffff","highcharts-neutral-color-100":"#000000","highcharts-neutral-color-80":"#333333","highcharts-neutral-color-60":"#666666","highcharts-neutral-color-40":"#999999","highcharts-neutral-color-20":"#cccccc","highcharts-neutral-color-10":"#e6e6e6","highcharts-neutral-color-5":"#f2f2f2","highcharts-neutral-color-3":"#f7f7f7","highcharts-highlight-color-100":"#0022ff","highcharts-highlight-color-80":"#334eff","highcharts-highlight-color-60":"#667aff","highcharts-highlight-color-20":"#ccd3ff","highcharts-highlight-color-10":"#e6e9ff","highcharts-positive-color":"#06b535","highcharts-negative-color":"#f21313","highcharts-annotation-color-0":"rgba(130, 170, 255, 0.4)","highcharts-annotation-color-1":"rgba(139, 191, 216, 0.4)","highcharts-annotation-color-2":"rgba(150, 216, 192, 0.4)","highcharts-annotation-color-3":"rgba(156, 229, 161, 0.4)","highcharts-annotation-color-4":"rgba(162, 241, 130, 0.4)","highcharts-annotation-color-5":"rgba(169, 255, 101, 0.4)"});var NL=i(6946),PL=i(6471),jL=i(4969),HL=i(9502),FL=i(7706),BL=i(1480),WL=i(2006),VL=i(7503),UL=i(7873),GL=i(8746),YL=i(2570),qL=i(8815),ZL=i(6390),XL=i(6593),QL=i(895),KL=i(9083),JL=i(6093),tI=i(9685),eI=i(9849),iI=i(8268),oI=i(4693),rI=i(3599),sI=i(782),nI=i(754),aI=i(5700),lI=i(4731),cI=i(7291),hI=i(597),dI=i(1474),uI=i(6224),pI=i(6239),gI=i(6828),mI=i(2212),fI=i(863),vI=i(3602),bI=i(1985),yI=i(886),wI=i(7201),xI=i(9937),kI=i(8450),CI=i(9630),MI=i(9766),_I=i(388),SI=i(1903),zI=i(398),EI=i(6105),LI=i(6147),II=i(5722),RI=i(5576),TI=i(3131),$I=i(6308),AI=i(9645),DI=i(3199),OI=i(871),NI=i(5251),PI=i(6426),jI=i(2643),HI=i(8522),FI=i(6398),BI=i(2525),WI=i(8434),VI=i(6138),UI=i(5835),GI=i(5654),YI=i(6659),qI=i(2977),ZI=i(4480),XI=i(9886),QI=i(6815),KI=i(1582),JI=i(2968),tR=i(394),eR=i(7024),iR=i(7853),oR=i(8249),rR=i(2869),sR=i(486),nR=i(5735),aR=i(470),lR=i(4612),cR=i(4018),hR=i(1476),dR=i(3194),uR=i(3525),pR=i(7541),gR=i(4104),mR=i(6686),fR=i(7719),vR=i(3898),bR=i(8153),yR=i(3690),wR=i(1776),xR=i(4980),kR=i(5578),CR=i(9613),MR=i(1119),_R=i(8444),SR=i(2978),zR=i(9130),ER=i(2127),LR=i(2732),IR=i(4287),RR=i(4045),TR=i(7642),$R=i(1367),AR=i(320),DR=i(821),OR=i(102),NR=i(7683),PR=i(3980),jR=i(576),HR=i(654),FR=i(73),BR=i(140),WR=i(8129),VR=i(5087),UR=i(6992),GR=i(8247),YR=i(8038),qR=i(5286),ZR=i(9179),XR=i(1808),QR=i(9459),KR=i(2883),JR=i(9124),tT=i(7067),eT=i(1054),iT=i(7325),oT=i(1272),rT=i(3359),sT=i(6562),nT=i(4193),aT=i(6348),lT=i(2435),cT=i(7544),hT=i(4470),dT=i(9111),uT=i(9318),pT=i(7294),gT=i(4479),mT=i(2409),fT=i(3091),vT=i(5789),bT=i(5890),yT=i(3874),wT=i(2907),xT=i(1175),kT=i(1686),CT=i(703),MT=i(6606),_T=i(4194),ST=i(6228),zT=i(62),ET=i(2072),LT=i(9744),IT=i(25),RT=i(2618),TT=i(1988),$T=i(8013),AT=i(1133),DT=i(362),OT=i(6845),NT=i(6800),PT=i(1103),jT=i(4933),HT=i(7284),FT=i(2620),BT=i(2366),WT=i(7457),VT=i(2449),UT=i(2),GT=i(5697),YT=i(7069),qT=i(4716),ZT=i(4740),XT=i(4557),QT=i(1868),KT=i(8647),JT=i(5127),t$=i(4816),e$=i(4009),i$=i(5104),o$=i(2830),r$=i(3093),s$=i(5029),n$=i(3514),a$=i(2142),l$=i(4999),c$=i(7523),h$=i(346),d$=i(7917),u$=i(3976),p$=i(9801),g$=i(2464),m$=i(5511),f$=i(5210),v$=i(5815),b$=i(3339),y$=i(7472),w$=i(8811),x$=i(8548),k$=i(6880),C$=i(1840),M$=i(5547),_$=i(4788),S$=i(9467),z$=i(9187),E$=i(9217),L$=i(7897),I$=i(2644),R$=i(6204),T$=i(1472),$$=i(1247),A$=i(7406),D$=i(925),O$=i(7455),N$=i(3771),P$=i(1549),j$=i(3541),H$=i(3140),F$=i(9800),B$=i(229),W$=i(2677),V$=i(1844),U$=i(3245),G$=i(9056),Y$=i(7535),q$=i(2359),Z$=i(15),X$=i(5569),Q$=i(2014),K$=i(1599),J$=i(6521),tA=i(232),eA=i(9745),iA=i(9594),oA=i(6979),rA=i(4494),sA=i(312),nA=i(4983),aA=i(1258),lA=i(6313),cA=i(12),hA=i(8003),dA=i(7830),uA=i(8875),pA=i(3911),gA=i(1817),mA=i(478),fA=i(2585),vA=i(6564),bA=i(2884),yA=i(3825),wA=i(7348),xA=i(9277),kA=i(4118),CA=i(9200),MA=i(51),_A=i(2872),SA=i(4702),zA=i(9281),EA=i(1394),LA=i(7295),IA=i(2936),RA=i(3789),TA=i(3614),$A=i(4827),AA=i(9204),DA=i(9113),OA=i(4058),NA=i(9939),PA=i(1139);const jA=[NL.mw,PL.mw,jL.mw,HL.mw,FL.mw,BL.mw,WL.mw,VL.mw,GL.mw,qL.mw,YL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,tI.mw,eI.mw,iI.mw,oI.mw,rI.mw,sI.mw,nI.mw,aI.mw,lI.mw,cI.mw,hI.mw,dI.mw,uI.mw,gI.mw,mI.mw,fI.mw,vI.mw,bI.mw,yI.mw,wI.mw,xI.mw,kI.mw,CI.mw,MI.mw,_I.mw,SI.mw,EI.mw,zI.mw,LI.mw,II.mw,RI.mw,TI.mw,$I.mw,AI.mw,DI.mw,OI.mw,NI.mw,PI.mw,jI.mw,HI.mw,BI.mw,WI.mw,VI.mw,UI.mw,GI.mw,YI.mw,qI.mw,ZI.mw,XI.mw,QI.mw,KI.mw,JI.mw,tR.mw,eR.mw,iR.mw,oR.mw,rR.mw,sR.mw,nR.mw,FI.mw,aR.mw,lR.mw,cR.mw,hR.mw,dR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR.mw,vR.mw,bR.mw,yR.mw,wR.mw,xR.mw,kR.mw,CR.mw,MR.mw,_R.mw,SR.mw,zR.mw,ER.mw,LR.mw,IR.mw,RR.mw,TR.mw,$R.mw,AR.mw,DR.mw,OR.mw,NR.mw,PR.mw,jR.mw,HR.mw,FR.mw,BR.mw,WR.mw,VR.mw,UR.mw,GR.mw,YR.mw,pI.mw,qR.mw,ZR.mw,XR.mw,QR.mw,KR.mw,JR.mw,tT.mw,eT.mw,iT.mw,oT.mw,rT.mw,sT.mw,nT.mw,aT.mw,lT.mw,UL.mw,cT.mw,hT.mw],HA=[dT.mw,uT.mw,pT.mw,gT.mw,mT.mw,fT.mw,vT.mw,bT.mw,wT.mw,kT.mw,xT.mw,MT.mw,CT.mw,_T.mw,ST.mw,zT.mw,ET.mw,LT.mw,IT.mw,RT.mw,TT.mw,$T.mw,PT.mw,jT.mw,HT.mw,FT.mw,BT.mw,WT.mw,VT.mw,GT.mw,YT.mw,qT.mw,JT.mw,t$.mw,e$.mw,i$.mw,o$.mw,r$.mw,s$.mw,n$.mw,AT.mw,DT.mw,NT.mw,OT.mw,a$.mw,l$.mw,c$.mw,h$.mw,d$.mw,u$.mw,p$.mw,g$.mw,ZT.mw,XT.mw,QT.mw,KT.mw,f$.mw,v$.mw,b$.mw,y$.mw,w$.mw,x$.mw,k$.mw,C$.mw,M$.mw,_$.mw,S$.mw,z$.mw,E$.mw,L$.mw,I$.mw,R$.mw,T$.mw,$$.mw,A$.mw,m$.mw,D$.mw,O$.mw,N$.mw,P$.mw,j$.mw,H$.mw,F$.mw,B$.mw,W$.mw,V$.mw,U$.mw,G$.mw,Y$.mw,q$.mw,Z$.mw,X$.mw,Q$.mw,K$.mw,J$.mw,tA.mw,eA.mw,iA.mw,oA.mw,rA.mw,sA.mw,nA.mw,aA.mw,lA.mw,cA.mw,hA.mw,dA.mw,uA.mw,pA.mw,gA.mw,mA.mw,fA.mw,vA.mw,bA.mw,yA.mw,wA.mw,xA.mw,UT.mw,kA.mw,CA.mw,MA.mw,_A.mw,SA.mw,zA.mw,EA.mw,LA.mw,IA.mw,RA.mw,TA.mw,$A.mw,AA.mw,DA.mw,OA.mw,yT.mw,NA.mw,PA.mw],FA={xlsx:F,charts:B},BA={name:"@omegagrid/bundle",version:"0.10.53"};Ja().activate("light"),Wd.styleDefault="fal",Vd.add(jA),Vd.add(HA)})(),window.Omegagrid=o})();
|