@omegagrid/bundle 0.9.43 → 0.9.44
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 +189 -189
- 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:()=>O,code:()=>k,commands:()=>y,core:()=>v,dialog:()=>C,editor:()=>N,form:()=>D,grid:()=>$,localize:()=>s,markdown:()=>P,package:()=>a$,plugins:()=>n$,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:()=>$t,appendStyle:()=>At,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:()=>Ot,on:()=>Lt,px:()=>Dt,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:()=>Do,getLocale:()=>Lo,getRegionISOCode:()=>No,getSystemLocale:()=>Mo,hasLocale:()=>Io,msg:()=>Ao,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:()=>Ar,buildParentBasedTree:()=>$r,buildTree:()=>Or});var d={};i.r(d),i.d(d,{alpha:()=>Pr,contrastColor:()=>Fr,css:()=>Wr,darken:()=>Nr,getComplmentaryColor:()=>jr,lighten:()=>Dr,mix:()=>Hr,plainHex:()=>Br});var u={};i.r(u),i.d(u,{ActionEvent:()=>Vr,dispatchActionEvent:()=>Ur});var p={};i.r(p),i.d(p,{clone:()=>Zr,reverseColumns:()=>Gr,reverseRows:()=>qr,transpose:()=>Yr});var g={};i.r(g),i.d(g,{AddEvent:()=>Qr,ChangeEvent:()=>Xr,SerialzieEvent:()=>Kr});var m={};i.r(m),i.d(m,{PAPER_SIZES:()=>Jr});var f={};i.r(f),i.d(f,{detect:()=>ts});var v={};i.r(v),i.d(v,{AMD:()=>ls,Accordion:()=>wa,Alert:()=>_a,AlertEvent:()=>Ma,BaseElement:()=>za,Button:()=>qa,Checkbox:()=>jd,Close:()=>Ya,ColorPicker:()=>mu,ColorPickerEvent:()=>uu,ColorTypes:()=>xa,ComponentAdapter:()=>tu,ComponentEvent:()=>Sa,ComponentSlice:()=>su,ComponentStore:()=>ru,Container:()=>cu,Dropdown:()=>Cu,DropdownColorPicker:()=>_u,DropdownContainer:()=>ku,DropdownEvent:()=>xu,DropdownList:()=>$u,DropdownMenu:()=>Tu,ExpandEvent:()=>Pu,Expander:()=>Hu,FileInput:()=>ep,FloatingWindow:()=>Wu,Icon:()=>qu,Input:()=>Xu,Label:()=>Ku,LevelExpandEvent:()=>ju,LevelExpander:()=>Fu,LinkedList:()=>ds,LinkedListNode:()=>hs,List:()=>hp,ListPointerEvent:()=>cp,ListSelectEvent:()=>lp,ListSelectTrigger:()=>np,ListSortEvent:()=>Cp,Loader:()=>Ap,Menu:()=>Iu,MenuEvent:()=>Lu,NumericInput:()=>rp,OmegaComponent:()=>ou,Overlay:()=>gp,Panel:()=>vp,Plugin:()=>nu,Plugins:()=>au,ResizeEvent:()=>yp,ScriptLoader:()=>cs,ShortcutEvent:()=>us,ShortcutManager:()=>gs,Sizer:()=>wp,SlideEvent:()=>Kd,Slider:()=>Jd,SliderDirection:()=>Yd,SortableList:()=>Mp,SplitContainer:()=>Yn,SplitContainerEvent:()=>Gn,SplitContainerResizeEvent:()=>qn,Switch:()=>Lp,SwitchEvent:()=>Ep,ThemeChangeEvent:()=>Ha,ThemeManager:()=>Fa,Tooltip:()=>Tp,actions:()=>u,addThemeVariables:()=>Da,colorable:()=>Pa,colors:()=>d,constants:()=>G,createThemeVariables:()=>$a,createThemeVariablesCss:()=>Oa,csv:()=>l,dates:()=>n,detectThemeType:()=>Aa,device:()=>f,dom:()=>e,events:()=>g,getDefaultOptions:()=>os,getThemeManager:()=>Wa,html:()=>r,images:()=>Ou,initCommonOptions:()=>rs,initOptions:()=>rs,log:()=>c,matrix:()=>p,numbers:()=>a,paper:()=>m,setDefaultOptions:()=>is,themeable:()=>Na,tree:()=>h,utils:()=>t});var b={};i.r(b),i.d(b,{TabContainer:()=>Gp,TabEvent:()=>jp,TabSplitContainer:()=>Zp,TabSplitContainerModel:()=>$p,Tabs:()=>Fp});var y={};i.r(y),i.d(y,{Command:()=>Xp,CommandEvent:()=>sg,CommandGroup:()=>Qp,CommandManager:()=>pg,CommandWindow:()=>lg,Commands:()=>Kp,CommandsAdapter:()=>cg,CommandsFlowAdapter:()=>hg,commandFactories:()=>dg,createCommands:()=>ug,initOptions:()=>eg});var w={};i.r(w),i.d(w,{AlertEvent:()=>Ig,Bucket:()=>Sg,BucketAlert:()=>Rg,BucketButton:()=>Fg,BucketEvent:()=>_g,BucketPath:()=>Qg,BucketPathEvent:()=>Xg,BucketTop:()=>jg,ComponentHost:()=>Wg,ModalSidebar:()=>Gg,Sidebar:()=>Ag,Sidemenu:()=>Dg,commonMenus:()=>qg});var x={};i.r(x),i.d(x,{DateTreeAdapter:()=>Lf,ItemPropertyType:()=>$m,LevelSelectEvent:()=>of,NodeModel:()=>Rm,NodeSelectionStatus:()=>Om,SelectMode:()=>Am,Tree:()=>Xm,TreeAdapter:()=>Qm,TreeDropEvent:()=>Zm,TreeDropdown:()=>tf,TreeEvent:()=>qm,TreeMenu:()=>lf,TreeModel:()=>Tm,TreePointerEvent:()=>Ym,TreeSearchEvent:()=>nf,TreeSelectionModel:()=>Nm,normalizeSerializedValues:()=>Dm});var k={};i.r(k),i.d(k,{Code:()=>gm,CodeBlock:()=>Pf,CodeDiffEditor:()=>Im,CodeEvent:()=>Jg,CodeView:()=>Ff,MonacoLoader:()=>Kg,loader:()=>Kg});var C={};i.r(C),i.d(C,{Dialog:()=>qf,DialogEvent:()=>Gf});var M={};i.r(M),i.d(M,{SHEET_NAME_REGEX:()=>Jf,isSheetNameValid:()=>tv,sanitizeSheetName:()=>ev});var _={};i.r(_),i.d(_,{concat:()=>Bv,concatenate:()=>Wv,left:()=>jv,len:()=>Vv,lower:()=>Uv,mid:()=>Fv,right:()=>Hv,text:()=>Pv,upper:()=>Gv});var S={};i.r(S),i.d(S,{date:()=>tb,datevalue:()=>Zv,day:()=>ob,eomonth:()=>rb,isBlank:()=>Jv,isoweeknum:()=>sb,month:()=>ib,today:()=>Kv,weekday:()=>Xv,workday:()=>Qv,year:()=>eb});var z={};i.r(z),i.d(z,{PI:()=>xb,abs:()=>Eb,acos:()=>nb,acosh:()=>ab,acot:()=>lb,acoth:()=>cb,asin:()=>hb,asinh:()=>db,atan:()=>ub,atanh:()=>pb,ceiling:()=>Lb,cos:()=>gb,cosh:()=>mb,cot:()=>fb,coth:()=>vb,count:()=>oy,countblank:()=>ry,countif:()=>sy,countunique:()=>ny,csc:()=>bb,csch:()=>yb,degrees:()=>wb,even:()=>Ib,exp:()=>Rb,fact:()=>Tb,factdouble:()=>Ab,floor:()=>$b,isdecimal:()=>Ob,iseven:()=>Db,isodd:()=>Nb,ln:()=>Pb,log:()=>jb,log10:()=>Hb,mod:()=>Fb,odd:()=>Bb,power:()=>Wb,product:()=>Vb,quotient:()=>Ub,radians:()=>Gb,rand:()=>qb,randarray:()=>Yb,randbetween:()=>Zb,round:()=>Xb,rounddown:()=>Qb,roundup:()=>Kb,sec:()=>kb,sech:()=>Cb,sequence:()=>Jb,sign:()=>ty,sin:()=>Mb,sinh:()=>_b,sqrt:()=>ey,sqrtpi:()=>iy,sum:()=>ay,sumif:()=>ly,sumproduct:()=>hy,sumsq:()=>cy,tan:()=>Sb,tanh:()=>zb});var E={};i.r(E),i.d(E,{address:()=>uy,choose:()=>fy,column:()=>vy,columns:()=>yy,filter:()=>Sy,formulatext:()=>xy,hlookup:()=>gy,index:()=>ky,indirect:()=>Cy,lookup:()=>my,match:()=>My,offset:()=>_y,row:()=>by,rows:()=>wy,vlookup:()=>py});var L={};i.r(L),i.d(L,{erfc:()=>Ly});var I={};i.r(I),i.d(I,{_false:()=>Dy,_if:()=>$y,_switch:()=>Ay,_true:()=>Ny,and:()=>Iy,iferror:()=>Py,not:()=>Oy,or:()=>Ry,xor:()=>Ty});var R={};i.r(R),i.d(R,{avedev:()=>Uy,average:()=>Wy,average_weighted:()=>Vy,max:()=>qy,min:()=>Gy});var T={};i.r(T),i.d(T,{_map:()=>Zy,date:()=>S,logical:()=>I,lookup:()=>E,math:()=>z,special:()=>L,statistical:()=>R,text:()=>_});var A={};i.r(A),i.d(A,{BaseRenderer:()=>Xk,CheckboxRenderer:()=>Kk,DateTimeRenderer:()=>Jk,DropdownRenderer:()=>tC,GeneralRenderer:()=>oC,NumberRenderer:()=>eC,TextRenderer:()=>iC,applyStyle:()=>Zk,cellTypeRendererMap:()=>rC,getCellRenderer:()=>sC});var $={};i.r($),i.d($,{CalculationContext:()=>Xy,CalculationModel:()=>Iw,CellModel:()=>fw,CellRange:()=>yv,ColumnModel:()=>bw,Comment:()=>Yk,CommentEvent:()=>qk,CommentItem:()=>Mw,CommentModel:()=>_w,ConditionalFormats:()=>Nw,Dependencies:()=>zw,ElementCache:()=>Cx,ElementModel:()=>iw,FilterEvent:()=>Ww,FilterLabel:()=>_x,FilterModel:()=>Vw,Formula:()=>Nv,FormulaInput:()=>Lx,FormulaInputEvent:()=>Ex,Grid:()=>Ik,GridAdapter:()=>nC,GridColumnResizeEvent:()=>Bx,GridEditEvent:()=>Hx,GridEditing:()=>ak,GridErrorEvent:()=>Px,GridEvent:()=>jx,GridEvents:()=>Vx,GridFiltering:()=>vk,GridGroup:()=>Dk,GridGroupEvent:()=>Ok,GridModel:()=>bx,GridRendering:()=>Ux,GridResizeEvent:()=>Fx,GridRowResizeEvent:()=>Wx,GridSelecting:()=>Gx,GridSorting:()=>Ck,GridTooltip:()=>Vk,GroupModel:()=>yx,History:()=>wx,IterableAddressRange:()=>qw,IterableAxisRange:()=>Yw,IterableRange:()=>Gw,MergeCellState:()=>mx,Merges:()=>fx,NamingModel:()=>Zw,ObjectEvent:()=>wk,ObjectHost:()=>xk,RowModel:()=>Qw,SelectionModel:()=>xx,Selector:()=>Fk,SelectorEvent:()=>jk,SelectorMoveEvent:()=>Hk,SortOrder:()=>yw,SortingArrow:()=>Ax,SortingModel:()=>Cw,Sparkline:()=>Wk,Sparklines:()=>Uw,Table:()=>Dx,TableEvent:()=>Ox,TokenType:()=>hv,Tokenizer:()=>fv,addGradient:()=>dw,addPattern:()=>hw,alignmentToString:()=>sx,applyCellTheme:()=>dx,applyColumnTheme:()=>ux,applyRowTheme:()=>px,applyTheme:()=>gx,autofill:()=>Jy,borderCSSStyleMap:()=>sw,borderStyleCSSMap:()=>rw,borderToString:()=>rx,convertCSSBorder:()=>lw,convertCSSColor:()=>aw,convertCSSVerticalAlignment:()=>nw,convertToCSSBorder:()=>cw,createBoolMatcher:()=>jw,createCellMatcher:()=>Bw,createGroupCommands:()=>Sk,createMultiMatcher:()=>Hw,createMultiMultiMatcher:()=>Fw,createTextMatcher:()=>Pw,cssStyleFromString:()=>ow,cssStyleToStyle:()=>pw,decodeColumn:()=>Cv,decodeRow:()=>xv,encodeColumn:()=>kv,encodeRow:()=>wv,extrapolateFormulas:()=>Ky,extrapolateValues:()=>Qy,functions:()=>T,gridConstants:()=>Kf,hashStyle:()=>nx,iconSets:()=>Ow,initGridCommands:()=>Ek,initOptions:()=>Xw,isArythmeticOperator:()=>nv,isBool:()=>pv,isFormula:()=>Rv,isLetter:()=>gv,isLogicalOperator:()=>sv,isNumber:()=>uv,isOperand:()=>dv,isOperator:()=>av,matrixOperation:()=>cv,normalizeCellValidation:()=>tw,operatorMap:()=>rv,prefixFormula:()=>Tv,renderers:()=>A,scalarOperation:()=>lv,sortRanges:()=>Mv,stripFormulaPrefix:()=>Av,styleToCSStyle:()=>uw,utils:()=>M,validateValue:()=>ew});var O={};i.r(O),i.d(O,{Calendar:()=>AC,CalendarDropdown:()=>HC});var D={};i.r(D),i.d(D,{CalendarDateInput:()=>fM,Form:()=>eM,FormAdapter:()=>iM,FormButton:()=>_M,FormCheckbox:()=>wM,FormColorInput:()=>pM,FormContainer:()=>aM,FormControlModel:()=>YC,FormControlType:()=>qC,FormDateInput:()=>mM,FormEvent:()=>tM,FormFileInput:()=>yM,FormLabel:()=>xM,FormList:()=>CM,FormModel:()=>ZC,FormNumericInput:()=>bM,FormTextInput:()=>dM});var N={};i.r(N),i.d(N,{ConfigForm:()=>LM,Editor:()=>OM,EditorEvent:()=>$M,EditorFormula:()=>HM,EditorStatusbar:()=>GM,EditorToolbar:()=>t_,EditorZoom:()=>NM,GridStats:()=>BM,HeaderForm:()=>i_,HyperlinkEditor:()=>B_,NamesForm:()=>n_,RuleEditor:()=>N_,RuleForm:()=>c_,RuleList:()=>g_,RuleThreshold:()=>b_,SparklineForm:()=>S_,StyleEditor:()=>H_,StyleForm:()=>x_,ThemeEditor:()=>T_,ThemeEditorSidebar:()=>I_,ThemeItemEditor:()=>O_});var P={};i.r(P),i.d(P,{BlockEditMenu:()=>kz,EditorFeature:()=>_z,HtmlBlock:()=>US,HtmlBlockComponent:()=>VS,LinkEdit:()=>uz,MarkdownEditor:()=>rS,MarkdownLinkEvent:()=>oS,MarkdownView:()=>sS,configureFeatures:()=>Cz,createEditor:()=>X_,createHtmlBlockConfig:()=>qS,createHtmlBlockView:()=>YS,defaultCodeEditorConfig:()=>GS,getFeatures:()=>zz,loader:()=>Z_,markdownToHtml:()=>Q_});var j={};i.r(j),i.d(j,{Statusbar:()=>Rz});var H={};i.r(H),i.d(H,{Toolbar:()=>jz,ToolbarButton:()=>Fz,ToolbarColorPicker:()=>eE,ToolbarCustomDropdown:()=>Uz,ToolbarDropdown:()=>Wz,ToolbarDropdownButton:()=>qz,ToolbarDropdownMenu:()=>Zz,ToolbarGrid:()=>Qz,ToolbarText:()=>Jz});var F={};i.r(F),i.d(F,{SheetjsLoader:()=>iE,XlsxEditorPlugin:()=>DE,convertMargins:()=>CE,convertStyle:()=>gE,createModel:()=>AE,createModelFromArrayBuffer:()=>OE,createModelFromWorkbook:()=>$E,createWorkbook:()=>_E,createWorksheet:()=>ME,detectOutlineColumnDirection:()=>wE,detectOutlineRowDirection:()=>yE,exportXLSX:()=>SE,getWorkbookNames:()=>TE,getWorksheetCells:()=>fE,getWorksheetColumns:()=>lE,getWorksheetConditionalFormats:()=>bE,getWorksheetHeaderCells:()=>dE,getWorksheetMerges:()=>hE,getWorksheetRows:()=>cE,loader:()=>iE});var B={};i.r(B),i.d(B,{Chart:()=>GE,ChartEditorPlugin:()=>jE,ChartGridPlugin:()=>PE,ChartList:()=>XE,ChartModel:()=>NE,HighchartsLoader:()=>HE,RuleForm:()=>JE,createChartOptions:()=>BE,loader:()=>HE,renderChart:()=>WE});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 At(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 $t(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 Ot(t){return isNaN(t)?"0":t.toString()+"px"}const Dt=Ot;function Nt(t,e,i=!1){if(t)return null!=e.w&&(t.style[i?"minWidth":"width"]=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style[i?"minHeight":"height"]=Q(e.h)?e.h:Ot(e.h)),t}function Pt(t,e){return null!=e.w&&(t.style.maxWidth=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style.maxHeight=Q(e.h)?e.h:Ot(e.h)),t}function jt(t,e){return null!=e.w&&(t.style.minWidth=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style.minHeight=Q(e.h)?e.h:Ot(e.h)),t}function Ht(t,e){t.style.position="absolute",null!=e.r&&(t.style.right="string"==typeof e.r?e.r:Ot(e.r)),null!=e.b&&(t.style.bottom="string"==typeof e.b?e.b:Ot(e.b)),null!=e.l&&(t.style.left="string"==typeof e.l?e.l:Ot(e.l)),null!=e.t&&(t.style.top="string"==typeof e.t?e.t:Ot(e.t))}function Ft(t,e){t.style.position="absolute",t.style.inset=Ot(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=Ot(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=Ot(e.r)),void 0!==e.l&&(t.style.marginLeft=Ot(e.l)),void 0!==e.t&&(t.style.marginTop=Ot(e.t)),void 0!==e.b&&(t.style.marginBottom=Ot(e.b))}function Zt(t,e){void 0!==e.r&&(t.style.paddingRight=Ot(e.r)),void 0!==e.l&&(t.style.paddingLeft=Ot(e.l)),void 0!==e.t&&(t.style.paddingTop=Ot(e.t)),void 0!==e.b&&(t.style.paddingBottom=Ot(e.b))}function Xt(t,e,i={vertical:!0,horizontal:!0}){t.style.position="absolute",i.vertical&&(t.style.top=Ot(Math.round(e.clientHeight/2-t.offsetHeight/2))),i.horizontal&&(t.style.left=Ot(Math.round(e.clientWidth/2-t.offsetWidth/2)))}function Qt(t,e){null!=e.r&&(t.style.borderRightWidth=Ot(e.r)),null!=e.b&&(t.style.borderBottomWidth=Ot(e.b)),null!=e.l&&(t.style.borderLeftWidth=Ot(e.l)),null!=e.t&&(t.style.borderTopWidth=Ot(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 Ae 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 $e{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 Oe=6048e5,De=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/Oe)+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/Oe)+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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{priority=40;parse(t){return ui(t)}set(t,e,i){return[ce(t,1e3*i),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends $e{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,Ai=/^'([^]*?)'?$/,$i=/''/g,Oi=/\S/,Di=/[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 Ae],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(Di))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===r?r="'":"'"===n&&(r=r.match(Ai)[1].replace($i,"'")),0!==t.indexOf(r))return ce(i,NaN);t=t.slice(r.length)}}if(t.length>0&&Oi.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)/De)}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 Ao(t,e){if(Array.isArray(t))return t.map((t=>Ao(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 $o={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 Oo;function Do(t){if($o[t])return t;if(Oo&&Oo.has(t))return Oo.get(t);for(const e in $o)if($o[e].includes(t))return Oo=Oo??new Map,Oo.set(t,e),e;return null}function No(t){const e=Do(t);return e?$o[e]?$o[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 Ar(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 $r(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 Or(t,e){return t.length>0?null==t[0].level?$r(t,e):Ar(t,e):-1}function Dr(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){return t&&"#"==t[0]?t.substring(1):t}function Wr(t){return t&&"#"!=t[0]?"#"+t:t}class Vr 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 Ur(t,e,i,o=null,r=null){t.dispatchEvent(new Vr(e,i,o,Object.assign({common:!1},r))),t.dispatchEvent(new Vr(e,i,o,Object.assign({common:!0},r)))}function Gr(t){return t.map((t=>[...t].reverse()))}function qr(t){return t.map((t=>[...t])).reverse()}function Yr(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 Zr(t){return t.map((t=>[...t]))}class Xr extends Event{constructor(t={}){Z(t)?(super(t.type??"change"),this.value=t.value,this.oldValue=t.oldValue):(super("change"),this.value=t)}}class Qr extends Event{constructor(t={}){super("add"),Z(t)?Object.assign(this,t):this.value=t}}class Kr extends Event{constructor(t){super("serialize"),this.data=t}}const Jr={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 ts(){const t=window.innerWidth;return t<=768?"mobile":t>768&&t<=1024?"tablet":"desktop"}let es={};const is=t=>{t.locale&&Ro(t.locale),es=t},os=()=>ot({locale:Lo(),formatLocale:Lo(),dateFormat:Yo(),fontSize:G.FONT_SIZE,systemDecimalSeparator:wr(Lo()),user:{id:"0",name:"Anonymous"}},es);function rs(t,e=null){const i=ot({},os(),e,t);return i.dateFormatter=i.dateFormatter||Jo(i.locale,i.dateFormat),i}var ss,ns,as=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 ls{}class cs{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(as(this,ss,"f",ns)||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,ss,new Map,"f",ns),this.scripts||(this.scripts=new Map),!this.scripts.has(o))return new Promise(((i,r)=>{const s=as(this,ss,"f",ns).get(o)||[];if(s.push([i,r]),as(this,ss,"f",ns).set(o,s),s.length>1)return;const n=e.createElement("script");n.src=t,n.onload=()=>{as(this,ss,"f",ns).get(o).forEach((([t])=>t())),as(this,ss,"f",ns).delete(o)},n.onerror=t=>{const e=Q(t)?new Error(t):t;as(this,ss,"f",ns).get(o).forEach((([t,i])=>i(e))),as(this,ss,"f",ns).delete(o)},e.head.appendChild(n)}))}}ss=cs,ns={value:void 0};class hs{constructor(t){this.data=t,this.next=null,this.prev=null}}class ds{constructor(){this.head=null}insertAtEnd(t){const e=new hs(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 hs(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 us extends Event{constructor(t,e){super("shortcut",{cancelable:!0}),this.shortcut=t,this.action=e}}const ps={control:"ctrl"};class gs 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 ps&&(e=ps[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 us(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 ms=globalThis,fs=ms.ShadowRoot&&(void 0===ms.ShadyCSS||ms.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vs=Symbol(),bs=new WeakMap;class ys{constructor(t,e,i){if(this._$cssResult$=!0,i!==vs)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(fs&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=bs.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&bs.set(e,t))}return t}toString(){return this.cssText}}const ws=t=>new ys("string"==typeof t?t:t+"",void 0,vs),xs=(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 ys(i,t,vs)},ks=(t,e)=>{if(fs)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),o=ms.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}},Cs=fs?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return ws(e)})(t):t,{is:Ms,defineProperty:_s,getOwnPropertyDescriptor:Ss,getOwnPropertyNames:zs,getOwnPropertySymbols:Es,getPrototypeOf:Ls}=Object,Is=globalThis,Rs=Is.trustedTypes,Ts=Rs?Rs.emptyScript:"",As=Is.reactiveElementPolyfillSupport,$s=(t,e)=>t,Os={toAttribute(t,e){switch(e){case Boolean:t=t?Ts: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}},Ds=(t,e)=>!Ms(t,e),Ns={attribute:!0,type:String,converter:Os,reflect:!1,hasChanged:Ds};Symbol.metadata??=Symbol("metadata"),Is.litPropertyMetadata??=new WeakMap;class Ps 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=Ns){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&&_s(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:r}=Ss(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)??Ns}static _$Ei(){if(this.hasOwnProperty($s("elementProperties")))return;const t=Ls(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty($s("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($s("properties"))){const t=this.properties,e=[...zs(t),...Es(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(Cs(t))}else void 0!==t&&e.push(Cs(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 ks(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??Ds)(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){}}Ps.elementStyles=[],Ps.shadowRootOptions={mode:"open"},Ps[$s("elementProperties")]=new Map,Ps[$s("finalized")]=new Map,As?.({ReactiveElement:Ps}),(Is.reactiveElementVersions??=[]).push("2.0.4");const js=globalThis,Hs=js.trustedTypes,Fs=Hs?Hs.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bs="$lit$",Ws=`lit$${Math.random().toFixed(9).slice(2)}$`,Vs="?"+Ws,Us=`<${Vs}>`,Gs=document,qs=()=>Gs.createComment(""),Ys=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Zs=Array.isArray,Xs=t=>Zs(t)||"function"==typeof t?.[Symbol.iterator],Qs="[ \t\n\f\r]",Ks=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Js=/-->/g,tn=/>/g,en=RegExp(`>|${Qs}(?:([^\\s"'>=/]+)(${Qs}*=${Qs}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),on=/'/g,rn=/"/g,sn=/^(?:script|style|textarea|title)$/i,nn=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),an=nn(1),ln=nn(2),cn=Symbol.for("lit-noChange"),hn=Symbol.for("lit-nothing"),dn=new WeakMap,un=Gs.createTreeWalker(Gs,129);function pn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Fs?Fs.createHTML(e):e}const gn=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=Ks;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===Ks?"!--"===l[1]?n=Js:void 0!==l[1]?n=tn:void 0!==l[2]?(sn.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=en):void 0!==l[3]&&(n=en):n===en?">"===l[0]?(n=r??Ks,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?en:'"'===l[3]?rn:on):n===rn||n===on?n=en:n===Js||n===tn?n=Ks:(n=en,r=void 0);const d=n===en&&t[e+1].startsWith("/>")?" ":"";s+=n===Ks?i+Us:c>=0?(o.push(a),i.slice(0,c)+Bs+i.slice(c)+Ws+d):i+Ws+(-2===c?e:d)}return[pn(t,s+(t[i]||"<?>")+(2===e?"</svg>":"")),o]};class mn{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]=gn(t,e);if(this.el=mn.createElement(l,i),un.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=un.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(Bs)){const e=c[s++],i=o.getAttribute(t).split(Ws),n=/([.?@])?(.*)/.exec(e);a.push({type:1,index:r,name:n[2],strings:i,ctor:"."===n[1]?wn:"?"===n[1]?xn:"@"===n[1]?kn:yn}),o.removeAttribute(t)}else t.startsWith(Ws)&&(a.push({type:6,index:r}),o.removeAttribute(t));if(sn.test(o.tagName)){const t=o.textContent.split(Ws),e=t.length-1;if(e>0){o.textContent=Hs?Hs.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],qs()),un.nextNode(),a.push({type:2,index:++r});o.append(t[e],qs())}}}else if(8===o.nodeType)if(o.data===Vs)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(Ws,t+1));)a.push({type:7,index:r}),t+=Ws.length-1}r++}}static createElement(t,e){const i=Gs.createElement("template");return i.innerHTML=t,i}}function fn(t,e,i=t,o){if(e===cn)return e;let r=void 0!==o?i._$Co?.[o]:i._$Cl;const s=Ys(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=fn(t,r._$AS(t,e.values),r,o)),e}class vn{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??Gs).importNode(e,!0);un.currentNode=o;let r=un.nextNode(),s=0,n=0,a=i[0];for(;void 0!==a;){if(s===a.index){let e;2===a.type?e=new bn(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new Cn(r,this,t)),this._$AV.push(e),a=i[++n]}s!==a?.index&&(r=un.nextNode(),s++)}return un.currentNode=Gs,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 bn{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=hn,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=fn(this,t,e),Ys(t)?t===hn||null==t||""===t?(this._$AH!==hn&&this._$AR(),this._$AH=hn):t!==this._$AH&&t!==cn&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):Xs(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!==hn&&Ys(this._$AH)?this._$AA.nextSibling.data=t:this.T(Gs.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=mn.createElement(pn(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new vn(o,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=dn.get(t.strings);return void 0===e&&dn.set(t.strings,e=new mn(t)),e}k(t){Zs(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 bn(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 yn{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,r){this.type=1,this._$AH=hn,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=hn}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=fn(this,t,e,0),s=!Ys(t)||t!==this._$AH&&t!==cn,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=fn(this,o[i+n],e,n),a===cn&&(a=this._$AH[n]),s||=!Ys(a)||a!==this._$AH[n],a===hn?t=hn:t!==hn&&(t+=(a??"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===hn?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class wn extends yn{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===hn?void 0:t}}class xn extends yn{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==hn)}}class kn extends yn{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){if((t=fn(this,t,e,0)??hn)===cn)return;const i=this._$AH,o=t===hn&&i!==hn||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==hn&&(i===hn||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 Cn{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){fn(this,t)}}const Mn={P:Bs,A:Ws,C:Vs,M:1,L:gn,R:vn,D:Xs,V:fn,I:bn,H:yn,N:xn,U:kn,B:wn,F:Cn},_n=js.litHtmlPolyfillSupport;_n?.(mn,bn),(js.litHtmlVersions??=[]).push("3.1.3");const Sn=(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 bn(e.insertBefore(qs(),t),t,void 0,i??{})}return r._$AI(t),r};class zn extends Ps{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=Sn(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return cn}}zn._$litElement$=!0,zn.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:zn});const En=globalThis.litElementPolyfillSupport;En?.({LitElement:zn}),(globalThis.litElementVersions??=[]).push("4.0.5");const Ln=t=>(e,i)=>{void 0!==i?i.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},In={attribute:!0,type:String,converter:Os,reflect:!1,hasChanged:Ds},Rn=(t=In,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 Tn(t){return(e,i)=>"object"==typeof i?Rn(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 Tn({...t,state:!0,attribute:!1})}const $n=(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 $n(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 $n(i,o,{get(){return s(this)}})}}let Dn;function Nn(t){return(e,i)=>$n(e,i,{get(){return(this.renderRoot??(Dn??=document.createDocumentFragment())).querySelectorAll(t)}})}function*Pn(t,e){if(void 0!==t){let i=0;for(const o of t)yield e(o,i++)}}const jn=xs`
|
|
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:()=>O,code:()=>k,commands:()=>y,core:()=>v,dialog:()=>C,editor:()=>N,form:()=>D,grid:()=>$,localize:()=>s,markdown:()=>P,package:()=>l$,plugins:()=>a$,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:()=>$t,appendStyle:()=>At,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:()=>Ot,on:()=>Lt,px:()=>Dt,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:()=>Do,getLocale:()=>Lo,getRegionISOCode:()=>No,getSystemLocale:()=>Mo,hasLocale:()=>Io,msg:()=>Ao,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:()=>Ar,buildParentBasedTree:()=>$r,buildTree:()=>Or});var d={};i.r(d),i.d(d,{alpha:()=>Pr,contrastColor:()=>Fr,css:()=>Wr,darken:()=>Nr,getComplmentaryColor:()=>jr,lighten:()=>Dr,mix:()=>Hr,plainHex:()=>Br});var u={};i.r(u),i.d(u,{ActionEvent:()=>Vr,dispatchActionEvent:()=>Ur});var p={};i.r(p),i.d(p,{clone:()=>Zr,reverseColumns:()=>Gr,reverseRows:()=>qr,transpose:()=>Yr});var g={};i.r(g),i.d(g,{AddEvent:()=>Qr,ChangeEvent:()=>Xr,SerialzieEvent:()=>Kr});var m={};i.r(m),i.d(m,{PAPER_SIZES:()=>Jr});var f={};i.r(f),i.d(f,{detect:()=>ts});var v={};i.r(v),i.d(v,{AMD:()=>ls,Accordion:()=>wa,Alert:()=>_a,AlertEvent:()=>Ma,BaseElement:()=>za,Button:()=>qa,Checkbox:()=>jd,Close:()=>Ya,ColorPicker:()=>mu,ColorPickerEvent:()=>uu,ColorTypes:()=>xa,ComponentAdapter:()=>tu,ComponentEvent:()=>Sa,ComponentSlice:()=>su,ComponentStore:()=>ru,Container:()=>cu,Dropdown:()=>Cu,DropdownColorPicker:()=>_u,DropdownContainer:()=>ku,DropdownEvent:()=>xu,DropdownList:()=>$u,DropdownMenu:()=>Tu,ExpandEvent:()=>Pu,Expander:()=>Hu,FileInput:()=>ep,FloatingWindow:()=>Wu,Icon:()=>qu,Input:()=>Xu,Label:()=>Ku,LevelExpandEvent:()=>ju,LevelExpander:()=>Fu,LinkedList:()=>ds,LinkedListNode:()=>hs,List:()=>hp,ListPointerEvent:()=>cp,ListSelectEvent:()=>lp,ListSelectTrigger:()=>np,ListSortEvent:()=>Cp,Loader:()=>Ap,Menu:()=>Iu,MenuEvent:()=>Lu,NumericInput:()=>rp,OmegaComponent:()=>ou,Overlay:()=>gp,Panel:()=>vp,Plugin:()=>nu,Plugins:()=>au,ResizeEvent:()=>yp,ScriptLoader:()=>cs,ShortcutEvent:()=>us,ShortcutManager:()=>gs,Sizer:()=>wp,SlideEvent:()=>Kd,Slider:()=>Jd,SliderDirection:()=>Yd,SortableList:()=>Mp,SplitContainer:()=>Yn,SplitContainerEvent:()=>Gn,SplitContainerResizeEvent:()=>qn,Switch:()=>Lp,SwitchEvent:()=>Ep,ThemeChangeEvent:()=>Ha,ThemeManager:()=>Fa,Tooltip:()=>Tp,actions:()=>u,addThemeVariables:()=>Da,colorable:()=>Pa,colors:()=>d,constants:()=>G,createThemeVariables:()=>$a,createThemeVariablesCss:()=>Oa,csv:()=>l,dates:()=>n,detectThemeType:()=>Aa,device:()=>f,dom:()=>e,events:()=>g,getDefaultOptions:()=>os,getThemeManager:()=>Wa,html:()=>r,images:()=>Ou,initCommonOptions:()=>rs,initOptions:()=>rs,log:()=>c,matrix:()=>p,numbers:()=>a,paper:()=>m,setDefaultOptions:()=>is,themeable:()=>Na,tree:()=>h,utils:()=>t});var b={};i.r(b),i.d(b,{TabContainer:()=>Gp,TabEvent:()=>jp,TabSplitContainer:()=>Zp,TabSplitContainerModel:()=>$p,Tabs:()=>Fp});var y={};i.r(y),i.d(y,{Command:()=>Xp,CommandEvent:()=>sg,CommandGroup:()=>Qp,CommandManager:()=>pg,CommandWindow:()=>lg,Commands:()=>Kp,CommandsAdapter:()=>cg,CommandsFlowAdapter:()=>hg,commandFactories:()=>dg,createCommands:()=>ug,initOptions:()=>eg});var w={};i.r(w),i.d(w,{AlertEvent:()=>Ig,Bucket:()=>Sg,BucketAlert:()=>Rg,BucketButton:()=>Fg,BucketEvent:()=>_g,BucketPath:()=>Qg,BucketPathEvent:()=>Xg,BucketTop:()=>jg,ComponentHost:()=>Wg,ModalSidebar:()=>Gg,Sidebar:()=>Ag,Sidemenu:()=>Dg,commonMenus:()=>qg});var x={};i.r(x),i.d(x,{DateTreeAdapter:()=>Lf,ItemPropertyType:()=>$m,LevelSelectEvent:()=>of,NodeModel:()=>Rm,NodeSelectionStatus:()=>Om,SelectMode:()=>Am,Tree:()=>Xm,TreeAdapter:()=>Qm,TreeDropEvent:()=>Zm,TreeDropdown:()=>tf,TreeEvent:()=>qm,TreeMenu:()=>lf,TreeModel:()=>Tm,TreePointerEvent:()=>Ym,TreeSearchEvent:()=>nf,TreeSelectionModel:()=>Nm,normalizeSerializedValues:()=>Dm});var k={};i.r(k),i.d(k,{Code:()=>gm,CodeBlock:()=>Pf,CodeDiffEditor:()=>Im,CodeEvent:()=>Jg,CodeView:()=>Ff,MonacoLoader:()=>Kg,loader:()=>Kg});var C={};i.r(C),i.d(C,{Dialog:()=>qf,DialogEvent:()=>Gf});var M={};i.r(M),i.d(M,{SHEET_NAME_REGEX:()=>Jf,isSheetNameValid:()=>tv,sanitizeSheetName:()=>ev});var _={};i.r(_),i.d(_,{concat:()=>Bv,concatenate:()=>Wv,left:()=>jv,len:()=>Vv,lower:()=>Uv,mid:()=>Fv,right:()=>Hv,text:()=>Pv,upper:()=>Gv});var S={};i.r(S),i.d(S,{date:()=>tb,datevalue:()=>Zv,day:()=>ob,eomonth:()=>rb,isBlank:()=>Jv,isoweeknum:()=>sb,month:()=>ib,today:()=>Kv,weekday:()=>Xv,workday:()=>Qv,year:()=>eb});var z={};i.r(z),i.d(z,{PI:()=>xb,abs:()=>Eb,acos:()=>nb,acosh:()=>ab,acot:()=>lb,acoth:()=>cb,asin:()=>hb,asinh:()=>db,atan:()=>ub,atanh:()=>pb,ceiling:()=>Lb,cos:()=>gb,cosh:()=>mb,cot:()=>fb,coth:()=>vb,count:()=>oy,countblank:()=>ry,countif:()=>sy,countunique:()=>ny,csc:()=>bb,csch:()=>yb,degrees:()=>wb,even:()=>Ib,exp:()=>Rb,fact:()=>Tb,factdouble:()=>Ab,floor:()=>$b,isdecimal:()=>Ob,iseven:()=>Db,isodd:()=>Nb,ln:()=>Pb,log:()=>jb,log10:()=>Hb,mod:()=>Fb,odd:()=>Bb,power:()=>Wb,product:()=>Vb,quotient:()=>Ub,radians:()=>Gb,rand:()=>qb,randarray:()=>Yb,randbetween:()=>Zb,round:()=>Xb,rounddown:()=>Qb,roundup:()=>Kb,sec:()=>kb,sech:()=>Cb,sequence:()=>Jb,sign:()=>ty,sin:()=>Mb,sinh:()=>_b,sqrt:()=>ey,sqrtpi:()=>iy,sum:()=>ay,sumif:()=>ly,sumproduct:()=>hy,sumsq:()=>cy,tan:()=>Sb,tanh:()=>zb});var E={};i.r(E),i.d(E,{address:()=>uy,choose:()=>fy,column:()=>vy,columns:()=>yy,filter:()=>Sy,formulatext:()=>xy,hlookup:()=>gy,index:()=>ky,indirect:()=>Cy,lookup:()=>my,match:()=>My,offset:()=>_y,row:()=>by,rows:()=>wy,vlookup:()=>py});var L={};i.r(L),i.d(L,{erfc:()=>Ly});var I={};i.r(I),i.d(I,{_false:()=>Dy,_if:()=>$y,_switch:()=>Ay,_true:()=>Ny,and:()=>Iy,iferror:()=>Py,not:()=>Oy,or:()=>Ry,xor:()=>Ty});var R={};i.r(R),i.d(R,{avedev:()=>Uy,average:()=>Wy,average_weighted:()=>Vy,max:()=>qy,min:()=>Gy});var T={};i.r(T),i.d(T,{_map:()=>Zy,date:()=>S,logical:()=>I,lookup:()=>E,math:()=>z,special:()=>L,statistical:()=>R,text:()=>_});var A={};i.r(A),i.d(A,{BaseRenderer:()=>Qk,CheckboxRenderer:()=>Jk,DateTimeRenderer:()=>tC,DropdownRenderer:()=>eC,GeneralRenderer:()=>rC,NumberRenderer:()=>iC,TextRenderer:()=>oC,applyStyle:()=>Xk,cellTypeRendererMap:()=>sC,getCellRenderer:()=>nC});var $={};i.r($),i.d($,{CalculationContext:()=>Xy,CalculationModel:()=>Iw,CellModel:()=>fw,CellRange:()=>yv,ColumnModel:()=>bw,Comment:()=>Zk,CommentEvent:()=>Yk,CommentItem:()=>Mw,CommentModel:()=>_w,ConditionalFormats:()=>Nw,Dependencies:()=>zw,ElementCache:()=>Cx,ElementModel:()=>iw,FilterEvent:()=>Ww,FilterLabel:()=>_x,FilterModel:()=>Vw,Formula:()=>Nv,FormulaInput:()=>Lx,FormulaInputEvent:()=>Ex,Grid:()=>Rk,GridAdapter:()=>aC,GridColumnResizeEvent:()=>Bx,GridEditEvent:()=>Hx,GridEditing:()=>ak,GridErrorEvent:()=>Px,GridEvent:()=>jx,GridEvents:()=>Vx,GridFiltering:()=>vk,GridGroup:()=>Nk,GridGroupEvent:()=>Dk,GridModel:()=>bx,GridRendering:()=>Ux,GridResizeEvent:()=>Fx,GridRowResizeEvent:()=>Wx,GridSelecting:()=>Gx,GridSortEvent:()=>Ck,GridSorting:()=>Mk,GridTooltip:()=>Uk,GroupModel:()=>yx,History:()=>wx,IterableAddressRange:()=>qw,IterableAxisRange:()=>Yw,IterableRange:()=>Gw,MergeCellState:()=>mx,Merges:()=>fx,NamingModel:()=>Zw,ObjectEvent:()=>wk,ObjectHost:()=>xk,RowModel:()=>Qw,SelectionModel:()=>xx,Selector:()=>Bk,SelectorEvent:()=>Hk,SelectorMoveEvent:()=>Fk,SortOrder:()=>yw,SortingArrow:()=>Ax,SortingModel:()=>Cw,Sparkline:()=>Vk,Sparklines:()=>Uw,Table:()=>Dx,TableEvent:()=>Ox,TokenType:()=>hv,Tokenizer:()=>fv,addGradient:()=>dw,addPattern:()=>hw,alignmentToString:()=>sx,applyCellTheme:()=>dx,applyColumnTheme:()=>ux,applyRowTheme:()=>px,applyTheme:()=>gx,autofill:()=>Jy,borderCSSStyleMap:()=>sw,borderStyleCSSMap:()=>rw,borderToString:()=>rx,convertCSSBorder:()=>lw,convertCSSColor:()=>aw,convertCSSVerticalAlignment:()=>nw,convertToCSSBorder:()=>cw,createBoolMatcher:()=>jw,createCellMatcher:()=>Bw,createGroupCommands:()=>zk,createMultiMatcher:()=>Hw,createMultiMultiMatcher:()=>Fw,createTextMatcher:()=>Pw,cssStyleFromString:()=>ow,cssStyleToStyle:()=>pw,decodeColumn:()=>Cv,decodeRow:()=>xv,encodeColumn:()=>kv,encodeRow:()=>wv,extrapolateFormulas:()=>Ky,extrapolateValues:()=>Qy,functions:()=>T,gridConstants:()=>Kf,hashStyle:()=>nx,iconSets:()=>Ow,initGridCommands:()=>Lk,initOptions:()=>Xw,isArythmeticOperator:()=>nv,isBool:()=>pv,isFormula:()=>Rv,isLetter:()=>gv,isLogicalOperator:()=>sv,isNumber:()=>uv,isOperand:()=>dv,isOperator:()=>av,matrixOperation:()=>cv,normalizeCellValidation:()=>tw,operatorMap:()=>rv,prefixFormula:()=>Tv,renderers:()=>A,scalarOperation:()=>lv,sortRanges:()=>Mv,stripFormulaPrefix:()=>Av,styleToCSStyle:()=>uw,utils:()=>M,validateValue:()=>ew});var O={};i.r(O),i.d(O,{Calendar:()=>$C,CalendarDropdown:()=>FC});var D={};i.r(D),i.d(D,{CalendarDateInput:()=>vM,Form:()=>iM,FormAdapter:()=>oM,FormButton:()=>SM,FormCheckbox:()=>xM,FormColorInput:()=>gM,FormContainer:()=>lM,FormControlModel:()=>ZC,FormControlType:()=>YC,FormDateInput:()=>fM,FormEvent:()=>eM,FormFileInput:()=>wM,FormLabel:()=>kM,FormList:()=>MM,FormModel:()=>XC,FormNumericInput:()=>yM,FormTextInput:()=>uM});var N={};i.r(N),i.d(N,{ConfigForm:()=>IM,Editor:()=>DM,EditorEvent:()=>OM,EditorFormula:()=>FM,EditorStatusbar:()=>qM,EditorToolbar:()=>e_,EditorZoom:()=>PM,GridStats:()=>WM,HeaderForm:()=>o_,HyperlinkEditor:()=>W_,NamesForm:()=>a_,RuleEditor:()=>P_,RuleForm:()=>h_,RuleList:()=>m_,RuleThreshold:()=>y_,SparklineForm:()=>z_,StyleEditor:()=>F_,StyleForm:()=>k_,ThemeEditor:()=>A_,ThemeEditorSidebar:()=>R_,ThemeItemEditor:()=>D_});var P={};i.r(P),i.d(P,{BlockEditMenu:()=>Cz,EditorFeature:()=>Sz,HtmlBlock:()=>GS,HtmlBlockComponent:()=>US,LinkEdit:()=>pz,MarkdownEditor:()=>sS,MarkdownLinkEvent:()=>rS,MarkdownView:()=>nS,configureFeatures:()=>Mz,createEditor:()=>Q_,createHtmlBlockConfig:()=>YS,createHtmlBlockView:()=>ZS,defaultCodeEditorConfig:()=>qS,getFeatures:()=>Ez,loader:()=>X_,markdownToHtml:()=>K_});var j={};i.r(j),i.d(j,{Statusbar:()=>Tz});var H={};i.r(H),i.d(H,{Toolbar:()=>Hz,ToolbarButton:()=>Bz,ToolbarColorPicker:()=>iE,ToolbarCustomDropdown:()=>Gz,ToolbarDropdown:()=>Vz,ToolbarDropdownButton:()=>Yz,ToolbarDropdownMenu:()=>Xz,ToolbarGrid:()=>Kz,ToolbarText:()=>tE});var F={};i.r(F),i.d(F,{SheetjsLoader:()=>oE,XlsxEditorPlugin:()=>NE,convertMargins:()=>ME,convertStyle:()=>mE,createModel:()=>$E,createModelFromArrayBuffer:()=>DE,createModelFromWorkbook:()=>OE,createWorkbook:()=>SE,createWorksheet:()=>_E,detectOutlineColumnDirection:()=>xE,detectOutlineRowDirection:()=>wE,exportXLSX:()=>zE,getWorkbookNames:()=>AE,getWorksheetCells:()=>vE,getWorksheetColumns:()=>cE,getWorksheetConditionalFormats:()=>yE,getWorksheetHeaderCells:()=>uE,getWorksheetMerges:()=>dE,getWorksheetRows:()=>hE,loader:()=>oE});var B={};i.r(B),i.d(B,{Chart:()=>qE,ChartEditorPlugin:()=>HE,ChartGridPlugin:()=>jE,ChartList:()=>QE,ChartModel:()=>PE,HighchartsLoader:()=>FE,RuleForm:()=>tL,createChartOptions:()=>WE,loader:()=>FE,renderChart:()=>VE});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 At(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 $t(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 Ot(t){return isNaN(t)?"0":t.toString()+"px"}const Dt=Ot;function Nt(t,e,i=!1){if(t)return null!=e.w&&(t.style[i?"minWidth":"width"]=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style[i?"minHeight":"height"]=Q(e.h)?e.h:Ot(e.h)),t}function Pt(t,e){return null!=e.w&&(t.style.maxWidth=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style.maxHeight=Q(e.h)?e.h:Ot(e.h)),t}function jt(t,e){return null!=e.w&&(t.style.minWidth=Q(e.w)?e.w:Ot(e.w)),null!=e.h&&(t.style.minHeight=Q(e.h)?e.h:Ot(e.h)),t}function Ht(t,e){t.style.position="absolute",null!=e.r&&(t.style.right="string"==typeof e.r?e.r:Ot(e.r)),null!=e.b&&(t.style.bottom="string"==typeof e.b?e.b:Ot(e.b)),null!=e.l&&(t.style.left="string"==typeof e.l?e.l:Ot(e.l)),null!=e.t&&(t.style.top="string"==typeof e.t?e.t:Ot(e.t))}function Ft(t,e){t.style.position="absolute",t.style.inset=Ot(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=Ot(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=Ot(e.r)),void 0!==e.l&&(t.style.marginLeft=Ot(e.l)),void 0!==e.t&&(t.style.marginTop=Ot(e.t)),void 0!==e.b&&(t.style.marginBottom=Ot(e.b))}function Zt(t,e){void 0!==e.r&&(t.style.paddingRight=Ot(e.r)),void 0!==e.l&&(t.style.paddingLeft=Ot(e.l)),void 0!==e.t&&(t.style.paddingTop=Ot(e.t)),void 0!==e.b&&(t.style.paddingBottom=Ot(e.b))}function Xt(t,e,i={vertical:!0,horizontal:!0}){t.style.position="absolute",i.vertical&&(t.style.top=Ot(Math.round(e.clientHeight/2-t.offsetHeight/2))),i.horizontal&&(t.style.left=Ot(Math.round(e.clientWidth/2-t.offsetWidth/2)))}function Qt(t,e){null!=e.r&&(t.style.borderRightWidth=Ot(e.r)),null!=e.b&&(t.style.borderBottomWidth=Ot(e.b)),null!=e.l&&(t.style.borderLeftWidth=Ot(e.l)),null!=e.t&&(t.style.borderTopWidth=Ot(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 Ae 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 $e{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 Oe=6048e5,De=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/Oe)+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/Oe)+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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{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 $e{priority=40;parse(t){return ui(t)}set(t,e,i){return[ce(t,1e3*i),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends $e{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,Ai=/^'([^]*?)'?$/,$i=/''/g,Oi=/\S/,Di=/[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 Ae],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(Di))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===r?r="'":"'"===n&&(r=r.match(Ai)[1].replace($i,"'")),0!==t.indexOf(r))return ce(i,NaN);t=t.slice(r.length)}}if(t.length>0&&Oi.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)/De)}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 Ao(t,e){if(Array.isArray(t))return t.map((t=>Ao(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 $o={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 Oo;function Do(t){if($o[t])return t;if(Oo&&Oo.has(t))return Oo.get(t);for(const e in $o)if($o[e].includes(t))return Oo=Oo??new Map,Oo.set(t,e),e;return null}function No(t){const e=Do(t);return e?$o[e]?$o[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 Ar(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 $r(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 Or(t,e){return t.length>0?null==t[0].level?$r(t,e):Ar(t,e):-1}function Dr(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){return t&&"#"==t[0]?t.substring(1):t}function Wr(t){return t&&"#"!=t[0]?"#"+t:t}class Vr 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 Ur(t,e,i,o=null,r=null){t.dispatchEvent(new Vr(e,i,o,Object.assign({common:!1},r))),t.dispatchEvent(new Vr(e,i,o,Object.assign({common:!0},r)))}function Gr(t){return t.map((t=>[...t].reverse()))}function qr(t){return t.map((t=>[...t])).reverse()}function Yr(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 Zr(t){return t.map((t=>[...t]))}class Xr extends Event{constructor(t={}){Z(t)?(super(t.type??"change"),this.value=t.value,this.oldValue=t.oldValue):(super("change"),this.value=t)}}class Qr extends Event{constructor(t={}){super("add"),Z(t)?Object.assign(this,t):this.value=t}}class Kr extends Event{constructor(t){super("serialize"),this.data=t}}const Jr={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 ts(){const t=window.innerWidth;return t<=768?"mobile":t>768&&t<=1024?"tablet":"desktop"}let es={};const is=t=>{t.locale&&Ro(t.locale),es=t},os=()=>ot({locale:Lo(),formatLocale:Lo(),dateFormat:Yo(),fontSize:G.FONT_SIZE,systemDecimalSeparator:wr(Lo()),user:{id:"0",name:"Anonymous"}},es);function rs(t,e=null){const i=ot({},os(),e,t);return i.dateFormatter=i.dateFormatter||Jo(i.locale,i.dateFormat),i}var ss,ns,as=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 ls{}class cs{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(as(this,ss,"f",ns)||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,ss,new Map,"f",ns),this.scripts||(this.scripts=new Map),!this.scripts.has(o))return new Promise(((i,r)=>{const s=as(this,ss,"f",ns).get(o)||[];if(s.push([i,r]),as(this,ss,"f",ns).set(o,s),s.length>1)return;const n=e.createElement("script");n.src=t,n.onload=()=>{as(this,ss,"f",ns).get(o).forEach((([t])=>t())),as(this,ss,"f",ns).delete(o)},n.onerror=t=>{const e=Q(t)?new Error(t):t;as(this,ss,"f",ns).get(o).forEach((([t,i])=>i(e))),as(this,ss,"f",ns).delete(o)},e.head.appendChild(n)}))}}ss=cs,ns={value:void 0};class hs{constructor(t){this.data=t,this.next=null,this.prev=null}}class ds{constructor(){this.head=null}insertAtEnd(t){const e=new hs(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 hs(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 us extends Event{constructor(t,e){super("shortcut",{cancelable:!0}),this.shortcut=t,this.action=e}}const ps={control:"ctrl"};class gs 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 ps&&(e=ps[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 us(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 ms=globalThis,fs=ms.ShadowRoot&&(void 0===ms.ShadyCSS||ms.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vs=Symbol(),bs=new WeakMap;class ys{constructor(t,e,i){if(this._$cssResult$=!0,i!==vs)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(fs&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=bs.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&bs.set(e,t))}return t}toString(){return this.cssText}}const ws=t=>new ys("string"==typeof t?t:t+"",void 0,vs),xs=(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 ys(i,t,vs)},ks=(t,e)=>{if(fs)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),o=ms.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}},Cs=fs?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return ws(e)})(t):t,{is:Ms,defineProperty:_s,getOwnPropertyDescriptor:Ss,getOwnPropertyNames:zs,getOwnPropertySymbols:Es,getPrototypeOf:Ls}=Object,Is=globalThis,Rs=Is.trustedTypes,Ts=Rs?Rs.emptyScript:"",As=Is.reactiveElementPolyfillSupport,$s=(t,e)=>t,Os={toAttribute(t,e){switch(e){case Boolean:t=t?Ts: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}},Ds=(t,e)=>!Ms(t,e),Ns={attribute:!0,type:String,converter:Os,reflect:!1,hasChanged:Ds};Symbol.metadata??=Symbol("metadata"),Is.litPropertyMetadata??=new WeakMap;class Ps 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=Ns){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&&_s(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:r}=Ss(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)??Ns}static _$Ei(){if(this.hasOwnProperty($s("elementProperties")))return;const t=Ls(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty($s("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($s("properties"))){const t=this.properties,e=[...zs(t),...Es(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(Cs(t))}else void 0!==t&&e.push(Cs(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 ks(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??Ds)(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){}}Ps.elementStyles=[],Ps.shadowRootOptions={mode:"open"},Ps[$s("elementProperties")]=new Map,Ps[$s("finalized")]=new Map,As?.({ReactiveElement:Ps}),(Is.reactiveElementVersions??=[]).push("2.0.4");const js=globalThis,Hs=js.trustedTypes,Fs=Hs?Hs.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bs="$lit$",Ws=`lit$${Math.random().toFixed(9).slice(2)}$`,Vs="?"+Ws,Us=`<${Vs}>`,Gs=document,qs=()=>Gs.createComment(""),Ys=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Zs=Array.isArray,Xs=t=>Zs(t)||"function"==typeof t?.[Symbol.iterator],Qs="[ \t\n\f\r]",Ks=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Js=/-->/g,tn=/>/g,en=RegExp(`>|${Qs}(?:([^\\s"'>=/]+)(${Qs}*=${Qs}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),on=/'/g,rn=/"/g,sn=/^(?:script|style|textarea|title)$/i,nn=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),an=nn(1),ln=nn(2),cn=Symbol.for("lit-noChange"),hn=Symbol.for("lit-nothing"),dn=new WeakMap,un=Gs.createTreeWalker(Gs,129);function pn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Fs?Fs.createHTML(e):e}const gn=(t,e)=>{const i=t.length-1,o=[];let r,s=2===e?"<svg>":"",n=Ks;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===Ks?"!--"===l[1]?n=Js:void 0!==l[1]?n=tn:void 0!==l[2]?(sn.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=en):void 0!==l[3]&&(n=en):n===en?">"===l[0]?(n=r??Ks,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,a=l[1],n=void 0===l[3]?en:'"'===l[3]?rn:on):n===rn||n===on?n=en:n===Js||n===tn?n=Ks:(n=en,r=void 0);const d=n===en&&t[e+1].startsWith("/>")?" ":"";s+=n===Ks?i+Us:c>=0?(o.push(a),i.slice(0,c)+Bs+i.slice(c)+Ws+d):i+Ws+(-2===c?e:d)}return[pn(t,s+(t[i]||"<?>")+(2===e?"</svg>":"")),o]};class mn{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]=gn(t,e);if(this.el=mn.createElement(l,i),un.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=un.nextNode())&&a.length<n;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(Bs)){const e=c[s++],i=o.getAttribute(t).split(Ws),n=/([.?@])?(.*)/.exec(e);a.push({type:1,index:r,name:n[2],strings:i,ctor:"."===n[1]?wn:"?"===n[1]?xn:"@"===n[1]?kn:yn}),o.removeAttribute(t)}else t.startsWith(Ws)&&(a.push({type:6,index:r}),o.removeAttribute(t));if(sn.test(o.tagName)){const t=o.textContent.split(Ws),e=t.length-1;if(e>0){o.textContent=Hs?Hs.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],qs()),un.nextNode(),a.push({type:2,index:++r});o.append(t[e],qs())}}}else if(8===o.nodeType)if(o.data===Vs)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(Ws,t+1));)a.push({type:7,index:r}),t+=Ws.length-1}r++}}static createElement(t,e){const i=Gs.createElement("template");return i.innerHTML=t,i}}function fn(t,e,i=t,o){if(e===cn)return e;let r=void 0!==o?i._$Co?.[o]:i._$Cl;const s=Ys(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=fn(t,r._$AS(t,e.values),r,o)),e}class vn{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??Gs).importNode(e,!0);un.currentNode=o;let r=un.nextNode(),s=0,n=0,a=i[0];for(;void 0!==a;){if(s===a.index){let e;2===a.type?e=new bn(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new Cn(r,this,t)),this._$AV.push(e),a=i[++n]}s!==a?.index&&(r=un.nextNode(),s++)}return un.currentNode=Gs,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 bn{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=hn,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=fn(this,t,e),Ys(t)?t===hn||null==t||""===t?(this._$AH!==hn&&this._$AR(),this._$AH=hn):t!==this._$AH&&t!==cn&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):Xs(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!==hn&&Ys(this._$AH)?this._$AA.nextSibling.data=t:this.T(Gs.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=mn.createElement(pn(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new vn(o,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=dn.get(t.strings);return void 0===e&&dn.set(t.strings,e=new mn(t)),e}k(t){Zs(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 bn(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 yn{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,r){this.type=1,this._$AH=hn,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=hn}_$AI(t,e=this,i,o){const r=this.strings;let s=!1;if(void 0===r)t=fn(this,t,e,0),s=!Ys(t)||t!==this._$AH&&t!==cn,s&&(this._$AH=t);else{const o=t;let n,a;for(t=r[0],n=0;n<r.length-1;n++)a=fn(this,o[i+n],e,n),a===cn&&(a=this._$AH[n]),s||=!Ys(a)||a!==this._$AH[n],a===hn?t=hn:t!==hn&&(t+=(a??"")+r[n+1]),this._$AH[n]=a}s&&!o&&this.j(t)}j(t){t===hn?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class wn extends yn{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===hn?void 0:t}}class xn extends yn{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==hn)}}class kn extends yn{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){if((t=fn(this,t,e,0)??hn)===cn)return;const i=this._$AH,o=t===hn&&i!==hn||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==hn&&(i===hn||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 Cn{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){fn(this,t)}}const Mn={P:Bs,A:Ws,C:Vs,M:1,L:gn,R:vn,D:Xs,V:fn,I:bn,H:yn,N:xn,U:kn,B:wn,F:Cn},_n=js.litHtmlPolyfillSupport;_n?.(mn,bn),(js.litHtmlVersions??=[]).push("3.1.3");const Sn=(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 bn(e.insertBefore(qs(),t),t,void 0,i??{})}return r._$AI(t),r};class zn extends Ps{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=Sn(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return cn}}zn._$litElement$=!0,zn.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:zn});const En=globalThis.litElementPolyfillSupport;En?.({LitElement:zn}),(globalThis.litElementVersions??=[]).push("4.0.5");const Ln=t=>(e,i)=>{void 0!==i?i.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},In={attribute:!0,type:String,converter:Os,reflect:!1,hasChanged:Ds},Rn=(t=In,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 Tn(t){return(e,i)=>"object"==typeof i?Rn(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 Tn({...t,state:!0,attribute:!1})}const $n=(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 $n(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 $n(i,o,{get(){return s(this)}})}}let Dn;function Nn(t){return(e,i)=>$n(e,i,{get(){return(this.renderRoot??(Dn??=document.createDocumentFragment())).querySelectorAll(t)}})}function*Pn(t,e){if(void 0!==t){let i=0;for(const o of t)yield e(o,i++)}}const jn=xs`
|
|
3
3
|
* {
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
}
|
|
@@ -4176,7 +4176,7 @@
|
|
|
4176
4176
|
</style>
|
|
4177
4177
|
|
|
4178
4178
|
${this.table}
|
|
4179
|
-
`,this.clearHeaderCache=()=>{this.resetFreezeLeft(),this.hCache=new Cx(this.model.columns.length,this.columnHeaderCount),this.hCache.disabled=!this.model.options.cellCache},this.clearBodyCache=()=>{this.bCache=new Cx(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/kx.MIN_ROW_HEIGHT,this.model.rows.length))}get renderColCount(){return this.renderAll?this.model.visibleColumns.length+this.rowHeaderCount:Math.round(Math.min(this.clientWidth/kx.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+=kx.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-kx.SLIDER_SIZE)/this.zoom,h:(this.clientHeight-this.totalHeaderHeight-kx.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 yv(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;const a=r&&s>-1?r.children[s]:null;return[n,a&&!Ct(a)?a: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 Ox("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:kx.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,!1,!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 Hu;e.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(i.index))),r.expander=e,r.appendChild(e),Ht(e,{l:t/2-kx.EXPANDER_SIZE/2,t:i.level*o+o/2-kx.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&&Zk(r,uw(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 Hu,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=new Ax,r.appendChild(r.sortingArrow),Ht(r.sortingArrow,{t:0,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.grid.filtering.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||kx.EXPANDER_SIZE+2)/(this.model.maxRowLevel+1),kx.EXPANDER_SIZE+2);if(this.model.hasRowTree)for(let t=0;t<=this.model.maxRowLevel;t++){const i=new Fu;i.level=t,this.cornerDiv.appendChild(i),Ht(i,{l:t*e+e/2-kx.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 Fu;r.level=t,this.cornerDiv.appendChild(r),Ht(r,o?{t:t*i+i/2-kx.EXPANDER_SIZE/2,r:3}:{r:t*e+e/2-kx.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 yv(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>${wv(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==mx.HIDDEN){const t=d.hiddenCells.get(n.address),i=m.intersect(new yv(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==mx.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"),sC(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 Hu;t.addEventListener("toggle",(()=>this.grid.rendering.toggleRow(e.index))),i.parentElement.expander=t,o.expander=t,o.appendChild(t),Ht(t,{t:r/2-kx.EXPANDER_SIZE/2,l:e.level*s+s/2-kx.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)}};Dx.styles=[Rx],$x([Tn({type:Object})],Dx.prototype,"model",void 0),$x([Tn({type:Boolean,reflect:!0})],Dx.prototype,"hideOuterBorder",void 0),$x([Tn({type:Number,hasChanged:()=>!1})],Dx.prototype,"rowOffset",void 0),$x([Tn({type:Number,hasChanged:()=>!1})],Dx.prototype,"colOffset",void 0),$x([Tn({type:Number,reflect:!0})],Dx.prototype,"zoom",void 0),$x([Tn({type:Boolean,reflect:!0})],Dx.prototype,"nogrid",void 0),$x([Tn({type:Boolean,reflect:!0})],Dx.prototype,"renderAll",void 0),Dx=$x([Ln("og-table")],Dx);const Nx=["F5","F12"];class Px extends Event{constructor(t){super("grid.error",{bubbles:!0,composed:!0}),this.error=t}}class jx 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 Hx extends jx{constructor(t){super("edit",t)}}class Fx extends yp{constructor(t,e,i){super(`grid.${t}`,i),this.grid=e}}class Bx extends Fx{constructor(t,e,i,o){super(t,e,o),this.column=i}}class Wx extends Fx{constructor(t,e,i,o){super(t,e,o),this.row=i}}class Vx{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(Nx.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&&(this.model.options.columnResize&&!o.resizing&&c.classList.contains("hlabel")?c.offsetWidth-t.offsetX+c.offsetLeft<kx.RESIZE_TRESHOLD?(o.snap(c,this.grid),this.grid.rendering.currentResizedColumn=this.model.columns[c.c]):kt(o):this.model.options.rowResize&&!r.resizing&&c.classList.contains("vlabel")&&(c.offsetHeight-t.offsetY+c.offsetTop<kx.RESIZE_TRESHOLD?(r.snap(c,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){this.grid.setPointerCapture(t.pointerId),this.startOffset={x:t.offsetX,y:t.offsetY};for(const e of t.composedPath()){if("TD"==e.tagName){const t=e;this.grid.selecting.startCellSelecting(new yv(t.c,t.r));break}if("TH"==e.tagName){const t=e;e.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):t.classList.contains("vlabel")&&this.grid.selecting.startRowSelecting(t.r);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 jx("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 Bx("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 Wx("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}=Jy(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 Hx({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 jx("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 Bx("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 Wx("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 Ux{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.grid.filtering?.filter?Array.from(this.grid.filtering.filter.settings.values()):null,order:this.grid.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 jx("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 jx("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 jx("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 jx("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?yv.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${Oa(Wa().themes.get("light")).cssText}\n\t\t\t\t}\n\t\t\t\t${r?"table {break-after: page}":""}\n\t\t\t\t${Dx.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,Kf.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)}}),Kf.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<Kf.AUTOSCROLL_TRESHOLD&&e<i&&e<r-i?(s="left",n=Kf.AUTOSCROLL_TRESHOLD-e):o-e<Kf.AUTOSCROLL_TRESHOLD&&o-e<i&&o-e<r-i?(s="right",n=Kf.AUTOSCROLL_TRESHOLD-o+e):i<Kf.AUTOSCROLL_TRESHOLD?(s="up",n=Kf.AUTOSCROLL_TRESHOLD-i):r-i<Kf.AUTOSCROLL_TRESHOLD&&(s="down",n=Kf.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 jx("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 jx("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(yv.fromA1(o.address),!!e)){const e=sC(t).call(this.table,r,t)||r;e.style.width="auto",s=Math.max(s,e.offsetWidth)}o.width=s+10,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(yv.fromA1(o.address),!!e)){const e=sC(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)?yv.fromA1(t):new yv(e,t),this.table.rowOffset=i.r1,this.table.colOffset=i.c1,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!0,this.debounceRenderCells(),this.updateSliders()}}class Gx{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 xx(0,0,0,0),this.formulaSelectors=new Map,this.debounceMoveSelector=q(((t,e)=>this.moveSelector(t,e)),10)}moveToSelection(){const t=new yv(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 jx("select",{grid:this.grid}))}startCellSelecting(t){this.grid.style.cursor="cell",this.startSelectingRange=t.clone(),this.select(t,!0),this.selector.startSelecting(t)}startColumnSelecting(t){this.columnSelecting=!0;const e=new yv(t,null,t,null);this.startSelectingRange=e.clone(),this.select(e,!0)}startRowSelecting(t){this.rowSelecting=!0;const e=new yv(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 jx("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 jx("select",{grid:this.grid}))}shiftActiveCell(t,e=!1){this.selection.moveActiveCell(t,0),this.selector.updatePosition(),e&&this.grid.dispatchEvent(new jx("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=xx.fromRange(yv.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 qx extends Event{}class Yx extends zn{get isOpen(){return this._open}get isValid(){return this._valid}validate(){return this._valid=!0,this.activeCell&&(this._valid=ew(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 qx("activate"))}deactivate(){this.dispatchEvent(new qx("deactivate"))}}Yx.baseStyles=xs`
|
|
4179
|
+
`,this.clearHeaderCache=()=>{this.resetFreezeLeft(),this.hCache=new Cx(this.model.columns.length,this.columnHeaderCount),this.hCache.disabled=!this.model.options.cellCache},this.clearBodyCache=()=>{this.bCache=new Cx(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/kx.MIN_ROW_HEIGHT,this.model.rows.length))}get renderColCount(){return this.renderAll?this.model.visibleColumns.length+this.rowHeaderCount:Math.round(Math.min(this.clientWidth/kx.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+=kx.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-kx.SLIDER_SIZE)/this.zoom,h:(this.clientHeight-this.totalHeaderHeight-kx.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 yv(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;const a=r&&s>-1?r.children[s]:null;return[n,a&&!Ct(a)?a: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 Ox("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:kx.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,!1,!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 Hu;e.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(i.index))),r.expander=e,r.appendChild(e),Ht(e,{l:t/2-kx.EXPANDER_SIZE/2,t:i.level*o+o/2-kx.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&&Xk(r,uw(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 Hu,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=new Ax,r.appendChild(r.sortingArrow),Ht(r.sortingArrow,{t:0,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.grid.filtering.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||kx.EXPANDER_SIZE+2)/(this.model.maxRowLevel+1),kx.EXPANDER_SIZE+2);if(this.model.hasRowTree)for(let t=0;t<=this.model.maxRowLevel;t++){const i=new Fu;i.level=t,this.cornerDiv.appendChild(i),Ht(i,{l:t*e+e/2-kx.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 Fu;r.level=t,this.cornerDiv.appendChild(r),Ht(r,o?{t:t*i+i/2-kx.EXPANDER_SIZE/2,r:3}:{r:t*e+e/2-kx.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 yv(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>${wv(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==mx.HIDDEN){const t=d.hiddenCells.get(n.address),i=m.intersect(new yv(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==mx.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"),nC(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 Hu;t.addEventListener("toggle",(()=>this.grid.rendering.toggleRow(e.index))),i.parentElement.expander=t,o.expander=t,o.appendChild(t),Ht(t,{t:r/2-kx.EXPANDER_SIZE/2,l:e.level*s+s/2-kx.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)}};Dx.styles=[Rx],$x([Tn({type:Object})],Dx.prototype,"model",void 0),$x([Tn({type:Boolean,reflect:!0})],Dx.prototype,"hideOuterBorder",void 0),$x([Tn({type:Number,hasChanged:()=>!1})],Dx.prototype,"rowOffset",void 0),$x([Tn({type:Number,hasChanged:()=>!1})],Dx.prototype,"colOffset",void 0),$x([Tn({type:Number,reflect:!0})],Dx.prototype,"zoom",void 0),$x([Tn({type:Boolean,reflect:!0})],Dx.prototype,"nogrid",void 0),$x([Tn({type:Boolean,reflect:!0})],Dx.prototype,"renderAll",void 0),Dx=$x([Ln("og-table")],Dx);const Nx=["F5","F12"];class Px extends Event{constructor(t){super("grid.error",{bubbles:!0,composed:!0}),this.error=t}}class jx 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 Hx extends jx{constructor(t){super("edit",t)}}class Fx extends yp{constructor(t,e,i){super(`grid.${t}`,i),this.grid=e}}class Bx extends Fx{constructor(t,e,i,o){super(t,e,o),this.column=i}}class Wx extends Fx{constructor(t,e,i,o){super(t,e,o),this.row=i}}class Vx{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(Nx.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&&(this.model.options.columnResize&&!o.resizing&&c.classList.contains("hlabel")?c.offsetWidth-t.offsetX+c.offsetLeft<kx.RESIZE_TRESHOLD?(o.snap(c,this.grid),this.grid.rendering.currentResizedColumn=this.model.columns[c.c]):kt(o):this.model.options.rowResize&&!r.resizing&&c.classList.contains("vlabel")&&(c.offsetHeight-t.offsetY+c.offsetTop<kx.RESIZE_TRESHOLD?(r.snap(c,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){this.grid.setPointerCapture(t.pointerId),this.startOffset={x:t.offsetX,y:t.offsetY};for(const e of t.composedPath()){if("TD"==e.tagName){const t=e;this.grid.selecting.startCellSelecting(new yv(t.c,t.r));break}if("TH"==e.tagName){const t=e;e.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):t.classList.contains("vlabel")&&this.grid.selecting.startRowSelecting(t.r);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 jx("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 Bx("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 Wx("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}=Jy(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 Hx({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 jx("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 Bx("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 Wx("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 Ux{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.grid.filtering?.filter?Array.from(this.grid.filtering.filter.settings.values()):null,order:this.grid.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 jx("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 jx("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 jx("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 jx("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?yv.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${Oa(Wa().themes.get("light")).cssText}\n\t\t\t\t}\n\t\t\t\t${r?"table {break-after: page}":""}\n\t\t\t\t${Dx.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,Kf.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)}}),Kf.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<Kf.AUTOSCROLL_TRESHOLD&&e<i&&e<r-i?(s="left",n=Kf.AUTOSCROLL_TRESHOLD-e):o-e<Kf.AUTOSCROLL_TRESHOLD&&o-e<i&&o-e<r-i?(s="right",n=Kf.AUTOSCROLL_TRESHOLD-o+e):i<Kf.AUTOSCROLL_TRESHOLD?(s="up",n=Kf.AUTOSCROLL_TRESHOLD-i):r-i<Kf.AUTOSCROLL_TRESHOLD&&(s="down",n=Kf.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 jx("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 jx("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(yv.fromA1(o.address),!!e)){const e=nC(t).call(this.table,r,t)||r;e.style.width="auto",s=Math.max(s,e.offsetWidth)}o.width=s+10,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(yv.fromA1(o.address),!!e)){const e=nC(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)?yv.fromA1(t):new yv(e,t),this.table.rowOffset=i.r1,this.table.colOffset=i.c1,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!0,this.debounceRenderCells(),this.updateSliders()}}class Gx{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 xx(0,0,0,0),this.formulaSelectors=new Map,this.debounceMoveSelector=q(((t,e)=>this.moveSelector(t,e)),10)}moveToSelection(){const t=new yv(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 jx("select",{grid:this.grid}))}startCellSelecting(t){this.grid.style.cursor="cell",this.startSelectingRange=t.clone(),this.select(t,!0),this.selector.startSelecting(t)}startColumnSelecting(t){this.columnSelecting=!0;const e=new yv(t,null,t,null);this.startSelectingRange=e.clone(),this.select(e,!0)}startRowSelecting(t){this.rowSelecting=!0;const e=new yv(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 jx("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 jx("select",{grid:this.grid}))}shiftActiveCell(t,e=!1){this.selection.moveActiveCell(t,0),this.selector.updatePosition(),e&&this.grid.dispatchEvent(new jx("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=xx.fromRange(yv.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 qx extends Event{}class Yx extends zn{get isOpen(){return this._open}get isValid(){return this._valid}validate(){return this._valid=!0,this.activeCell&&(this._valid=ew(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 qx("activate"))}deactivate(){this.dispatchEvent(new qx("deactivate"))}}Yx.baseStyles=xs`
|
|
4180
4180
|
* { box-sizing: border-box }
|
|
4181
4181
|
|
|
4182
4182
|
:host {
|
|
@@ -4384,7 +4384,7 @@
|
|
|
4384
4384
|
`;var yk=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 wk extends jx{constructor(t,e){super(`object.${t}`,e),Object.assign(this,e)}}let xk=class extends zn{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},wk))};document.addEventListener("mousemove",n),document.addEventListener("mouseup",a)},this.render=()=>an`
|
|
4385
4385
|
<div id="head" @mousedown="${this._onHeadMouseDown}"></div>
|
|
4386
4386
|
<div id="body"></div>
|
|
4387
|
-
`,this.addEventListener("pointerdown",(t=>t.stopImmediatePropagation())),this.addEventListener("click",(t=>t.stopImmediatePropagation()));const t=q((()=>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()}};xk.styles=[bk],yk([Tn({type:Boolean,reflect:!0})],xk.prototype,"active",void 0),yk([Tn({type:Object})],xk.prototype,"model",void 0),yk([On("#body")],xk.prototype,"body",void 0),xk=yk([Ln("og-object-host")],xk);class kk{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 wk("deactivate",{host:t,object:t.model,grid:this.grid})))}),{once:!0})),100)):i.active&&(i.active=!1,i.dispatchEvent(new wk("deactivate",{host:i,object:i.model,grid:this.grid})))})),t.dispatchEvent(new wk("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),qt(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),qt(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 Ck{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())}resetSort(){this.grid.model.sorting.resetSort(),this.clearCache()}init(){}}class
|
|
4387
|
+
`,this.addEventListener("pointerdown",(t=>t.stopImmediatePropagation())),this.addEventListener("click",(t=>t.stopImmediatePropagation()));const t=q((()=>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()}};xk.styles=[bk],yk([Tn({type:Boolean,reflect:!0})],xk.prototype,"active",void 0),yk([Tn({type:Object})],xk.prototype,"model",void 0),yk([On("#body")],xk.prototype,"body",void 0),xk=yk([Ln("og-object-host")],xk);class kk{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 wk("deactivate",{host:t,object:t.model,grid:this.grid})))}),{once:!0})),100)):i.active&&(i.active=!1,i.dispatchEvent(new wk("deactivate",{host:i,object:i.model,grid:this.grid})))})),t.dispatchEvent(new wk("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),qt(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),qt(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 Ck extends jx{constructor(t){super("sort",t)}}class Mk{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 Ck({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 Ck({sortSettings:this.model.sorting.settings}))}init(){}}class _k extends jx{constructor(t,e){super(`menu.${t}`,e)}}class Sk{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 _k("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 Qw?(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=>an`
|
|
4388
4388
|
<div
|
|
4389
4389
|
style="display: flex; flex-direction: row; align-items: center;"
|
|
4390
4390
|
@mousedown="${t=>t.stopPropagation()}"
|
|
@@ -4397,7 +4397,7 @@
|
|
|
4397
4397
|
@change="${e=>this._onOutlineLevelChange(e,t)}">
|
|
4398
4398
|
</og-numericinput>
|
|
4399
4399
|
</div>
|
|
4400
|
-
`}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:Ao("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
|
|
4400
|
+
`}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:Ao("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 zk(t){return[{section:"group",name:"focus sheet",requiredParams:1,fn:t=>{console.log(t)}}]}function Ek(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 Lk(t){t.commands.clear(),function(t){return[{group:"grid",name:"set column width",next:{mode:"input",text:"Enter column width in pixels",commands:ug("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:ug("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:ug("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:ug("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:ug("ok",((e,i)=>{Ek(t,i)}))}}),e.push({group:"grid",name:"goto first cell",exec:()=>{Ek(t,"A1")}}),e.push({group:"grid",name:"sort ascending",next:{mode:"input",text:"Enter column name",commands:ug("ok",((e,i)=>{t.sorting.sort(isNaN(Number(i))?Cv(i.toUpperCase()):Number(i),yw.Asc)}))}}),e.push({group:"grid",name:"sort descending",next:{mode:"input",text:"Enter column name",commands:ug("ok",((e,i)=>{t.sorting.sort(isNaN(Number(i))?Cv(i.toUpperCase()):Number(i),yw.Desc)}))}}),e.push({group:"grid",name:"sort ascending by current column",exec:()=>{t.sorting.sort(t.selection.range.c1,yw.Asc)}}),e.push({group:"grid",name:"sort descending by current column",exec:()=>{t.sorting.sort(t.selection.range.c1,yw.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:ug("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:ug("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 Ik=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 Rk=class extends zn{constructor(){super(...arguments),this.tableRef=Hd(),this.hSliderRef=Hd(),this.vSliderRef=Hd(),this.hSizerRef=Hd(),this.vSizerRef=Hd(),this.selectorRef=Hd(),this.copySelectorRef=Hd(),this.formulaSelectorRef=Hd(),this.contextMenuRef=Hd(),this.tooltipRef=Hd(),this.commentRef=Hd(),this.selection=new xx(0,0),this.options=Xw(),this.logger=new Sr("Ωgrid"),this.zoom=1,this.rendering=new Ux(this),this.selecting=new Gx(this),this.events=new Vx(this),this.editing=new ak(this),this.filtering=new vk(this),this.sorting=new Mk(this),this.menus=new Sk(this),this.objects=new kk(this),this.commands=new pg(this),this.plugins=new au(this),this.loading=!1,this._debounceVerticalSlide=q(this.events._onVerticalSlide,Jd.SLIDE_DELAY,{isImmediate:!0,maxWait:50}),this._debounceHorizontalSlide=q(this.events._onHorizontalSlide,Jd.SLIDE_DELAY,{isImmediate:!0,maxWait:50}),this.render=()=>an`
|
|
4401
4401
|
<og-table ${Wd(this.tableRef)}
|
|
4402
4402
|
.zoom="${this.zoom}"
|
|
4403
4403
|
.hideOuterBorder="${this.options.hideOuterBorder}">
|
|
@@ -4447,7 +4447,7 @@
|
|
|
4447
4447
|
<og-grid-tooltip ${Wd(this.tooltipRef)} style="display: none"></og-grid-tooltip>
|
|
4448
4448
|
|
|
4449
4449
|
<og-grid-comment ${Wd(this.commentRef)} style="display: none"></og-grid-comment>
|
|
4450
|
-
`,this.debounceInnerLayout=q(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 jx("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=Xw(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 jx("afterLoad",{grid:this}))}updateOptions(t){this.options=Xw(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 jx("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 Px(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=yv.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(),
|
|
4450
|
+
`,this.debounceInnerLayout=q(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 jx("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=Xw(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 jx("afterLoad",{grid:this}))}updateOptions(t){this.options=Xw(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 jx("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 Px(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=yv.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(),Lk(this),this.dispatchEvent(new jx("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=Xw(t.options,this.options)),this.model=new bx(t,this.options,this.logger)}willUpdate(t){t.has("model")&&(this.options=Xw(this.model.options,this.options),this.model.options=this.options,this.history=new wx(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??jx)(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 Kr(t);return this.dispatchEvent(e),e.data}setTheme(t){this.model.theme=t,this.model.applyTheme(t,!0),this.refresh()}};Rk.styles=[Ix],Ik([Tn({type:Object})],Rk.prototype,"model",void 0),Ik([Tn({type:Object})],Rk.prototype,"adapter",void 0),Ik([Tn({type:Object})],Rk.prototype,"selection",void 0),Ik([Tn({type:Object})],Rk.prototype,"options",void 0),Ik([Tn({type:Object})],Rk.prototype,"logger",void 0),Ik([Tn({type:Number})],Rk.prototype,"zoom",void 0),Rk=Ik([Ln("og-grid")],Rk);var Tk=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 Ak={options:{rows:100,columns:20,editable:!0}},$k=()=>new bx(Ak),Ok={commandWindow:!0,showHiddenTabs:!1};class Dk extends Event{constructor(t){super(`gridgroup.${t}`)}}let Nk=class extends zn{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 Dk("deactivate")),this._activeGrid=i,this.container.activate(t),setTimeout((()=>i.focus()),100),e&&this.dispatchEvent(new Dk("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=Ok,this.designMode=!1,this.zoom=1,this.tabPosition="top",this.logger=new Sr("ΩgridGroup"),this.grids=new Map,this.commandWindowRef=Hd(),this.plugins=new au(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($k());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($k());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=()=>an`
|
|
4451
4451
|
<og-tabsplitcontainer
|
|
4452
4452
|
?singleActive="${!0}"
|
|
4453
4453
|
?addButton="${!0}"
|
|
@@ -4459,7 +4459,7 @@
|
|
|
4459
4459
|
.createComponent="${this.createGrid}"
|
|
4460
4460
|
.model="${this.containerModel}">
|
|
4461
4461
|
</og-tabsplitcontainer>
|
|
4462
|
-
`,this.model=new yx,this.model.add(
|
|
4462
|
+
`,this.model=new yx,this.model.add($k()),this.containerModel=new $p({items:[{size:null,tabs:Array.from(this.model.models).map((([t])=>({id:t,title:t})))}]}),this.addEventListener("grid.selector.select",this._onGridSelect),this.addEventListener("grid.object.activate",this._onGridSelect)}deleteModel(t){this.model.remove(t),this.containerModel.removeTab(t),this.updateContainer()}duplicateModel(t){const e=this.model.duplicate(t);this.containerModel.addTab({id:e.name,title:e.name},t),this.updateContainer()}connectedCallback(){super.connectedCallback(),this.tabIndex=0}layout(){this.container?.layout()}setSourceData(t){this.grids.clear(),this.model=new yx(t),this.containerModel=new $p(t.layout),this.model.errors.length&&this.logger&&this.model.errors.forEach((t=>this.logger.error(t.message))),this.fixLayout()}getSourceData(){const t=this.model.getSourceData();return t.layout=this.containerModel.getSourceData(),t}willUpdate(t){t.has("zoom")&&this.updateZoom(),this.model||(this.model=new yx),this.updateTabs()}getGrid(t){return this.grids.get(t)}getGridByModel(t){return this.getGrid(t.name)}fixLayout(){const t=new Set;this.model.models.forEach(((e,i)=>t.add(i)));let e=null;this.containerModel.walk(((i,o)=>{null==e&&(e=o),t.delete(i.id)})),e=e||this.containerModel,e.items=e.items||[],e.items.length||e.items.push({}),e.items[0].tabs||(e.items[0].tabs=[]);const i=e.items.find((t=>null==t.container&&null!=t.tabs));t.forEach((t=>i.tabs.push({id:t,title:t})))}};Nk.styles=xs`
|
|
4463
4463
|
* {
|
|
4464
4464
|
box-sizing: border-box;
|
|
4465
4465
|
}
|
|
@@ -4471,7 +4471,7 @@
|
|
|
4471
4471
|
og-tabsplitcontainer {
|
|
4472
4472
|
height: 100%;
|
|
4473
4473
|
}
|
|
4474
|
-
`,
|
|
4474
|
+
`,Tk([Tn({type:Object})],Nk.prototype,"options",void 0),Tk([Tn({type:Object})],Nk.prototype,"model",void 0),Tk([Tn({type:Object})],Nk.prototype,"containerModel",void 0),Tk([Tn({type:Boolean})],Nk.prototype,"designMode",void 0),Tk([Tn({type:Number})],Nk.prototype,"zoom",void 0),Tk([Tn({type:String,reflect:!0})],Nk.prototype,"tabPosition",void 0),Tk([Tn({type:Object})],Nk.prototype,"logger",void 0),Tk([An()],Nk.prototype,"grids",void 0),Tk([On("og-tabsplitcontainer")],Nk.prototype,"container",void 0),Nk=Tk([Ln("og-gridgroup")],Nk);const Pk=xs`
|
|
4475
4475
|
:host {
|
|
4476
4476
|
pointer-events: none;
|
|
4477
4477
|
position: absolute;
|
|
@@ -4574,7 +4574,7 @@
|
|
|
4574
4574
|
top: -4px;
|
|
4575
4575
|
cursor: ne-resize;
|
|
4576
4576
|
}
|
|
4577
|
-
`;var
|
|
4577
|
+
`;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 jx{constructor(t,e){super(`selector.${t}`,e)}}class Fk extends Hk{constructor(t){super("move",t)}}let Bk=class extends zn{constructor(){super(...arguments),this._animationTimer=null,this._autofilling=!1,this._moving=!1,this._resizing=!1,this._selecting=!1,this.subselector=!1,this.borderWidth=kx.SELECTOR_BORDER_WIDTH,this.animated=!1,this._isVisible=!1,this.hide=()=>{this._isVisible=!1,kt(this),this.stopSelectorOperations(),this.stopAnimation()},this.show=()=>{this._isVisible=!0,xt(this),this.startAnimation()},this._onMoveHandleMouseDown=(t,e)=>{const i=t.offsetX+t.target.offsetLeft+this.offsetLeft-this.table.totalHeaderWidth,o=t.offsetY+t.target.offsetTop+this.offsetTop-this.table.thead.clientHeight;let r=-1,s=0,n=0;for(;s<o&&this.table.bRows[++r];)s+=this.table.bRows[r].clientHeight;const a=this.table.bRows[r];if(a){for(r=-1;n<i&&a.children[++r];)n+="TD"==a.children[r].tagName?a.children[r].clientWidth:0;const t=a.children[Math.max(r,0)],{r:e,c:o}=t;this.startMoving(new yv(o,e))}},this._onResizeHandleMouseDown=(t,e)=>{t.stopImmediatePropagation(),this.startResizing(e)},this._onHandleMouseUp=t=>{0==t.button&&(this.stopMoving(),this.stopResizing())},this._onHandleMouseDown=()=>{this._autofilling=!0,this.autofillSelector=this.autofillSelector??this.createAutofillSelector(),kt(this.autofillSelector),wt(this.grid.shadowRoot,this.autofillSelector)},this.render=()=>an`
|
|
4578
4578
|
${this.subselector?an`<div id="subselector"></div>`:""}
|
|
4579
4579
|
${this.resizable?an`
|
|
4580
4580
|
<div id="handle-nw" class="handle-resize" style="${Vn({backgroundColor:this.color})}"
|
|
@@ -4612,18 +4612,18 @@
|
|
|
4612
4612
|
<rect width="100%" height="100%" fill="none" stroke-width="4" stroke-dasharray="6,14" stroke-dashoffset="0" stroke-linecap="square" />
|
|
4613
4613
|
</svg>
|
|
4614
4614
|
`:""}
|
|
4615
|
-
`}get autofillDirection(){return this._autofillDirection}get autofillRange(){return this._autofillRange}get isAutofilling(){return this._autofilling}get isMoving(){return this._moving}get isResizing(){return this._resizing}get isSelecting(){return this._selecting}get isSelectorOperationActive(){return this._resizing||this._moving||this._autofilling||this._selecting}get table(){return this.grid?.table}get isVisible(){return this._isVisible}highlightAutofillRange(){const t=this.table.getCellByModelIndex(this._autofillRange.c1,this._autofillRange.r1),e=this.table.getCellByModelIndex(this._autofillRange.c2,this._autofillRange.r1),i=this.table.getCellByModelIndex(this._autofillRange.c2,this._autofillRange.r2),o=this.table.getCellByModelIndex(this._autofillRange.c1,this._autofillRange.r2);let r=-100,s=-100,n=this.table.offsetWidth+100,a=this.table.offsetHeight+100;if(t){const e=Tt(t,this.table);s=e.top,r=e.left}if(e){const t=Tt(e,this.table);s=t.top,n=t.left+i.offsetWidth}if(o){const t=Tt(o,this.table);a=t.top+o.offsetHeight,r=t.left}if(i){const t=Tt(i,this.table);a=t.top+i.offsetHeight,n=t.left+i.offsetWidth}Ht(this.autofillSelector,{l:r,t:s}),Nt(this.autofillSelector,{w:n-r,h:a-s}),xt(this.autofillSelector)}createAutofillSelector(){const t=yt("div");return t.className="autofill",t.style.border="1px solid var(--og-accent-color)",t.style.zIndex="100",t.style.pointerEvents="none",t}stopAutofilling(t=!0){this.isAutofilling&&(this._autofilling=!1,t&&this.dispatchEvent(new jk("autofill",{selector:this,grid:this.grid})),this.autofillSelector.remove())}updateAutofilling(t,e){const{c1:i,r1:o,c2:r,r2:s}=this.selection;this._autofillRange=null,e>s&&t-r<=e-s?(this._autofillDirection="down",this._autofillRange=new yv(i,s+1,r,e)):e<o&&i-t<=o-e?(this._autofillDirection="up",this._autofillRange=new yv(i,e,r,o-1)):t>r&&t-r>e-s?(this._autofillDirection="right",this._autofillRange=new yv(r+1,o,t,s)):t<i&&i-t>o-e&&(this._autofillDirection="left",this._autofillRange=new yv(t,o,i-1,s)),this._autofillRange&&this.highlightAutofillRange()}getMoveSelector(){return this.moveSelector||(this.moveSelector=yt("og-selector"),this.moveSelector.grid=this.grid,this.moveSelector.style.borderStyle="dotted",this.moveSelector.subselector=!1,this.moveSelector.selection=this.selection.clone(),this.grid.shadowRoot.appendChild(this.moveSelector)),this.moveSelector}startMoving(t){this.baseCell=t,this._moving=!0}updateMoving(t,e){t=this.selection.isRow?0:t-this.baseCell.c1,e=this.selection.isColumn?0:e-this.baseCell.r1;const i=this.getMoveSelector();i.selection.setCoords(this.selection.c1+t,this.selection.r1+e,this.selection.c2+t,this.selection.r2+e),i.select(i.selection),xt(this.moveSelector)}stopMoving(t=!0){if(this._moving&&(this._moving=!1,kt(this.moveSelector),this.moveSelector)){const e=this.selection.clone(),i=this.moveSelector.selection.clone();e.equals(i)||(this.selection=i,t&&this.dispatchEvent(new Hk({fromRange:e,toRange:i,selector:this,grid:this.grid})))}}startResizing(t){this._resizing=!0,this._resizingDirection=t}updateResizing(t,e){const{c1:i,r1:o,c2:r,r2:s}=this.selection,n=this.selection.clone();switch(this._resizingDirection){case"nw":e<=s&&t<=r&&(n.r1=e,n.c1=t);break;case"ne":e<=s&&t>=i&&(n.r1=e,n.c2=t);break;case"sw":e>=o&&t<=r&&(n.r2=e,n.c1=t);break;case"se":e>=o&&t>=i&&(n.r2=e,n.c2=t)}this.selection.equals(n)||(this.selection.r1=n.r1,this.selection.r2=n.r2,this.selection.c1=n.c1,this.selection.c2=n.c2,this.updatePosition())}stopResizing(t=!0){this._resizing&&(this._resizing=!1,t&&this.dispatchEvent(new jk("resize",{selector:this,grid:this.grid})))}startSelecting(t){this.baseCell=t,this._selecting=!0,this.select(t)}select(t,e=!0){this.selection=t.clone(),e&&this.dispatchEvent(new jk("select",{selector:this,grid:this.grid}))}stopSelecting(t=!0){this._selecting=!1,this.baseCell=null}updateMovingOperations(t,e){this.isAutofilling&&this.updateAutofilling(t,e),this.isMoving&&this.updateMoving(t,e),this.isResizing&&this.updateResizing(t,e)}stopSelectorOperations(t=!0){this.stopAutofilling(t),this.stopMoving(t),this.stopResizing(t),this.stopSelecting(t)}startAnimation(){if(!this.animated||null!=this._animationTimer||!this.isVisible)return;let t=0;this._animationTimer=window.setInterval((()=>{t+=2,t=20==t?0:t,this.svgAnimation.firstElementChild.setAttribute("stroke-dashoffset",t.toString())}),50)}stopAnimation(){null!=this._animationTimer&&window.clearInterval(this._animationTimer),this._animationTimer=null}connectedCallback(){super.connectedCallback(),this.grid=Et(this,"og-grid")}disconnectedCallback(){this.stopAnimation()}willUpdate(){this.color&&(this.style.borderColor=this.color)}updated(){this.updatePosition(),this.animated||null==this._animationTimer?this.animated&&null==this._animationTimer&&this.startAnimation():this.stopAnimation()}updatePosition(){if(!this.table?.model)return;const t=this.table.zoom;Jt(this,t);let e=-1e3,i=-1e3,o=0,r=0,s=-1e3,n=-1e3,a=0,l=0;const c=this.table.model.options;if(this.selection){const t=Math.min(this.selection.c1,this.selection.c2),h=Math.max(this.selection.c1,this.selection.c2),d=Math.min(this.selection.r1,this.selection.r2),u=Math.max(this.selection.r1,this.selection.r2);if(this.topLeftCell=this.table.getCellByModelIndex(t,d),this.topRightCell=this.table.getCellByModelIndex(h,d),this.bottomLeftCell=this.table.getCellByModelIndex(t,u),this.bottomRightCell=this.table.getCellByModelIndex(h,u),(this.topLeftCell||this.topRightCell||this.bottomLeftCell||this.bottomRightCell)&&(Qt(this,{r:this.topRightCell||this.bottomRightCell?this.borderWidth:0,b:this.bottomRightCell||this.bottomLeftCell?this.borderWidth:0,l:this.topLeftCell||this.bottomLeftCell?this.borderWidth:0,t:this.topRightCell||this.topLeftCell?this.borderWidth:0}),e=this.topLeftCell||this.topRightCell?Tt(this.topLeftCell||this.topRightCell,this.table).top:Tt(this.table.getCellByGridIndex(0,c.freezeTop),this.table).top,r=(this.bottomRightCell||this.bottomLeftCell?Tt(this.bottomRightCell||this.bottomLeftCell,this.table).top-e+(this.bottomRightCell||this.bottomLeftCell).offsetHeight:u<=this.table.rowOffset?Tt(this.table.getCellByGridIndex(0,c.freezeTop),this.table).top-e:this.table.offsetHeight-e)+1,i=this.topLeftCell||this.bottomLeftCell?Tt(this.topLeftCell||this.bottomLeftCell,this.table).left:Tt(this.table.getCellByGridIndex(c.freezeLeft,0),this.table).left,o=(this.topRightCell||this.bottomRightCell?Tt(this.topRightCell||this.bottomRightCell,this.table).left-i+(this.topRightCell||this.bottomRightCell).offsetWidth:h<=this.table.colOffset?Tt(this.table.getCellByGridIndex(c.freezeLeft,0),this.table).left-i:this.table.offsetWidth-i)+1,this.activeCellRange&&(this.activeCell=this.table.getCellByModelIndex(t+this.activeCellRange.c1,d+this.activeCellRange.r1),this.activeCell))){const t=Tt(this.activeCell,this.table);n=t.left-i,s=t.top-e,a=this.activeCell.offsetWidth,l=this.activeCell.offsetHeight}}Ht(this,{l:i*t,t:e*t}),Nt(this,{w:o,h:r}),this.subselectorElm&&(this.activeCellRange?(Ht(this.subselectorElm,{l:n-kx.SELECTOR_BORDER_WIDTH,t:s-kx.SELECTOR_BORDER_WIDTH}),Nt(this.subselectorElm,{w:a-1,h:l-1})):kt(this.subselectorElm)),this.svgAnimation&&(this.svgAnimation.setAttribute("width",(this.clientWidth+4).toString()),this.svgAnimation.setAttribute("height",(this.clientHeight+4).toString()))}};Fk.styles=[Nk],Pk([Tn({type:Boolean})],Fk.prototype,"autofill",void 0),Pk([Tn({type:Boolean,reflect:!0})],Fk.prototype,"movable",void 0),Pk([Tn({type:Boolean,reflect:!0})],Fk.prototype,"resizable",void 0),Pk([Tn({type:Boolean,reflect:!0})],Fk.prototype,"subselector",void 0),Pk([Tn({type:String})],Fk.prototype,"color",void 0),Pk([Tn({type:Number})],Fk.prototype,"borderWidth",void 0),Pk([Tn({type:Boolean,reflect:!0})],Fk.prototype,"animated",void 0),Pk([Tn({type:Object})],Fk.prototype,"selection",void 0),Pk([Tn({type:Object})],Fk.prototype,"activeCellRange",void 0),Pk([On("#handle")],Fk.prototype,"handleElm",void 0),Pk([On("#svgAnimation")],Fk.prototype,"svgAnimation",void 0),Pk([On("#handle-left")],Fk.prototype,"moveHandleLeftElm",void 0),Pk([On("#handle-top")],Fk.prototype,"moveHandleTopElm",void 0),Pk([On("#handle-right")],Fk.prototype,"moveHandleRightElm",void 0),Pk([On("#handle-bottom")],Fk.prototype,"moveHandleBottomElm",void 0),Pk([On("#subselector")],Fk.prototype,"subselectorElm",void 0),Fk=Pk([Ln("og-selector")],Fk);var Bk=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 Wk=class extends zn{createSVGElement(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}renderLines(t,e){let i=[];t.forEach(((o,r)=>{if(o&&i.push(o),(!o||t.length==r+1)&&i.length>0){const t=this.createSVGElement("polyline");t.setAttribute("points",i.map((t=>t.join(","))).join(" ")),t.setAttribute("stroke",`#${e.style.color}`),t.setAttribute("stroke-width","2"),this.svg.appendChild(t),i=[]}})),e.marker&&t.forEach((t=>{if(t){const i=this.createSVGElement("circle");i.setAttribute("r","3"),i.setAttribute("fill",`#${e.marker.color}`),i.setAttribute("cx",t[0].toString()),i.setAttribute("cy",t[1].toString()),this.svg.appendChild(i)}}))}renderColumns(t,e){const i=(this.clientWidth-2*kx.SPARKLINE_GAP)/t.length-kx.SPARKLINE_GAP;t.forEach((t=>{if(t&&i>0){const o=this.createSVGElement("rect");o.setAttribute("width",i.toString()),o.setAttribute("height",(this.clientHeight-t[1]).toString()),o.setAttribute("fill",`#${e.style.color}`),o.setAttribute("x",(t[0]-i/2).toString()),o.setAttribute("y",t[1].toString()),this.svg.appendChild(o)}}))}renderSparkline(){if(this.cell&&this.cell.hasSparkline){const t=this.cell.address,e=this.cell.model.sparklines,i=e.getValues(t),[o,r]=e.getExtremes(t);if(null!=r){const s=(this.clientWidth-2*kx.SPARKLINE_GAP)/i.length,n=r-o,a=[];let l,c;this.svg=this.createSVGElement("svg"),this.svg.setAttribute("width",this.clientWidth.toString()),this.svg.setAttribute("height",this.clientHeight.toString()),this.shadowRoot.appendChild(this.svg),i.forEach(((t,e)=>{null==t||isNaN(t)?a.push(null):(l=kx.SPARKLINE_GAP+e*s+s/2,c=(this.clientHeight-2*kx.SPARKLINE_GAP)*(r-t)/n+kx.SPARKLINE_GAP,a.push([l,c]))}));const h=e.groups.get(e.get(t)[0]);"line"==h.type?this.renderLines(a,h):this.renderColumns(a,h)}}}updated(){this.shadowRoot.innerHTML="",this.timeout&&window.clearInterval(this.timeout),this.timeout=window.setTimeout((()=>{this.renderSparkline(),this.timeout=null}),1)}};Wk.styles=xs`
|
|
4615
|
+
`}get autofillDirection(){return this._autofillDirection}get autofillRange(){return this._autofillRange}get isAutofilling(){return this._autofilling}get isMoving(){return this._moving}get isResizing(){return this._resizing}get isSelecting(){return this._selecting}get isSelectorOperationActive(){return this._resizing||this._moving||this._autofilling||this._selecting}get table(){return this.grid?.table}get isVisible(){return this._isVisible}highlightAutofillRange(){const t=this.table.getCellByModelIndex(this._autofillRange.c1,this._autofillRange.r1),e=this.table.getCellByModelIndex(this._autofillRange.c2,this._autofillRange.r1),i=this.table.getCellByModelIndex(this._autofillRange.c2,this._autofillRange.r2),o=this.table.getCellByModelIndex(this._autofillRange.c1,this._autofillRange.r2);let r=-100,s=-100,n=this.table.offsetWidth+100,a=this.table.offsetHeight+100;if(t){const e=Tt(t,this.table);s=e.top,r=e.left}if(e){const t=Tt(e,this.table);s=t.top,n=t.left+i.offsetWidth}if(o){const t=Tt(o,this.table);a=t.top+o.offsetHeight,r=t.left}if(i){const t=Tt(i,this.table);a=t.top+i.offsetHeight,n=t.left+i.offsetWidth}Ht(this.autofillSelector,{l:r,t:s}),Nt(this.autofillSelector,{w:n-r,h:a-s}),xt(this.autofillSelector)}createAutofillSelector(){const t=yt("div");return t.className="autofill",t.style.border="1px solid var(--og-accent-color)",t.style.zIndex="100",t.style.pointerEvents="none",t}stopAutofilling(t=!0){this.isAutofilling&&(this._autofilling=!1,t&&this.dispatchEvent(new Hk("autofill",{selector:this,grid:this.grid})),this.autofillSelector.remove())}updateAutofilling(t,e){const{c1:i,r1:o,c2:r,r2:s}=this.selection;this._autofillRange=null,e>s&&t-r<=e-s?(this._autofillDirection="down",this._autofillRange=new yv(i,s+1,r,e)):e<o&&i-t<=o-e?(this._autofillDirection="up",this._autofillRange=new yv(i,e,r,o-1)):t>r&&t-r>e-s?(this._autofillDirection="right",this._autofillRange=new yv(r+1,o,t,s)):t<i&&i-t>o-e&&(this._autofillDirection="left",this._autofillRange=new yv(t,o,i-1,s)),this._autofillRange&&this.highlightAutofillRange()}getMoveSelector(){return this.moveSelector||(this.moveSelector=yt("og-selector"),this.moveSelector.grid=this.grid,this.moveSelector.style.borderStyle="dotted",this.moveSelector.subselector=!1,this.moveSelector.selection=this.selection.clone(),this.grid.shadowRoot.appendChild(this.moveSelector)),this.moveSelector}startMoving(t){this.baseCell=t,this._moving=!0}updateMoving(t,e){t=this.selection.isRow?0:t-this.baseCell.c1,e=this.selection.isColumn?0:e-this.baseCell.r1;const i=this.getMoveSelector();i.selection.setCoords(this.selection.c1+t,this.selection.r1+e,this.selection.c2+t,this.selection.r2+e),i.select(i.selection),xt(this.moveSelector)}stopMoving(t=!0){if(this._moving&&(this._moving=!1,kt(this.moveSelector),this.moveSelector)){const e=this.selection.clone(),i=this.moveSelector.selection.clone();e.equals(i)||(this.selection=i,t&&this.dispatchEvent(new Fk({fromRange:e,toRange:i,selector:this,grid:this.grid})))}}startResizing(t){this._resizing=!0,this._resizingDirection=t}updateResizing(t,e){const{c1:i,r1:o,c2:r,r2:s}=this.selection,n=this.selection.clone();switch(this._resizingDirection){case"nw":e<=s&&t<=r&&(n.r1=e,n.c1=t);break;case"ne":e<=s&&t>=i&&(n.r1=e,n.c2=t);break;case"sw":e>=o&&t<=r&&(n.r2=e,n.c1=t);break;case"se":e>=o&&t>=i&&(n.r2=e,n.c2=t)}this.selection.equals(n)||(this.selection.r1=n.r1,this.selection.r2=n.r2,this.selection.c1=n.c1,this.selection.c2=n.c2,this.updatePosition())}stopResizing(t=!0){this._resizing&&(this._resizing=!1,t&&this.dispatchEvent(new Hk("resize",{selector:this,grid:this.grid})))}startSelecting(t){this.baseCell=t,this._selecting=!0,this.select(t)}select(t,e=!0){this.selection=t.clone(),e&&this.dispatchEvent(new Hk("select",{selector:this,grid:this.grid}))}stopSelecting(t=!0){this._selecting=!1,this.baseCell=null}updateMovingOperations(t,e){this.isAutofilling&&this.updateAutofilling(t,e),this.isMoving&&this.updateMoving(t,e),this.isResizing&&this.updateResizing(t,e)}stopSelectorOperations(t=!0){this.stopAutofilling(t),this.stopMoving(t),this.stopResizing(t),this.stopSelecting(t)}startAnimation(){if(!this.animated||null!=this._animationTimer||!this.isVisible)return;let t=0;this._animationTimer=window.setInterval((()=>{t+=2,t=20==t?0:t,this.svgAnimation.firstElementChild.setAttribute("stroke-dashoffset",t.toString())}),50)}stopAnimation(){null!=this._animationTimer&&window.clearInterval(this._animationTimer),this._animationTimer=null}connectedCallback(){super.connectedCallback(),this.grid=Et(this,"og-grid")}disconnectedCallback(){this.stopAnimation()}willUpdate(){this.color&&(this.style.borderColor=this.color)}updated(){this.updatePosition(),this.animated||null==this._animationTimer?this.animated&&null==this._animationTimer&&this.startAnimation():this.stopAnimation()}updatePosition(){if(!this.table?.model)return;const t=this.table.zoom;Jt(this,t);let e=-1e3,i=-1e3,o=0,r=0,s=-1e3,n=-1e3,a=0,l=0;const c=this.table.model.options;if(this.selection){const t=Math.min(this.selection.c1,this.selection.c2),h=Math.max(this.selection.c1,this.selection.c2),d=Math.min(this.selection.r1,this.selection.r2),u=Math.max(this.selection.r1,this.selection.r2);if(this.topLeftCell=this.table.getCellByModelIndex(t,d),this.topRightCell=this.table.getCellByModelIndex(h,d),this.bottomLeftCell=this.table.getCellByModelIndex(t,u),this.bottomRightCell=this.table.getCellByModelIndex(h,u),(this.topLeftCell||this.topRightCell||this.bottomLeftCell||this.bottomRightCell)&&(Qt(this,{r:this.topRightCell||this.bottomRightCell?this.borderWidth:0,b:this.bottomRightCell||this.bottomLeftCell?this.borderWidth:0,l:this.topLeftCell||this.bottomLeftCell?this.borderWidth:0,t:this.topRightCell||this.topLeftCell?this.borderWidth:0}),e=this.topLeftCell||this.topRightCell?Tt(this.topLeftCell||this.topRightCell,this.table).top:Tt(this.table.getCellByGridIndex(0,c.freezeTop),this.table).top,r=(this.bottomRightCell||this.bottomLeftCell?Tt(this.bottomRightCell||this.bottomLeftCell,this.table).top-e+(this.bottomRightCell||this.bottomLeftCell).offsetHeight:u<=this.table.rowOffset?Tt(this.table.getCellByGridIndex(0,c.freezeTop),this.table).top-e:this.table.offsetHeight-e)+1,i=this.topLeftCell||this.bottomLeftCell?Tt(this.topLeftCell||this.bottomLeftCell,this.table).left:Tt(this.table.getCellByGridIndex(c.freezeLeft,0),this.table).left,o=(this.topRightCell||this.bottomRightCell?Tt(this.topRightCell||this.bottomRightCell,this.table).left-i+(this.topRightCell||this.bottomRightCell).offsetWidth:h<=this.table.colOffset?Tt(this.table.getCellByGridIndex(c.freezeLeft,0),this.table).left-i:this.table.offsetWidth-i)+1,this.activeCellRange&&(this.activeCell=this.table.getCellByModelIndex(t+this.activeCellRange.c1,d+this.activeCellRange.r1),this.activeCell))){const t=Tt(this.activeCell,this.table);n=t.left-i,s=t.top-e,a=this.activeCell.offsetWidth,l=this.activeCell.offsetHeight}}Ht(this,{l:i*t,t:e*t}),Nt(this,{w:o,h:r}),this.subselectorElm&&(this.activeCellRange?(Ht(this.subselectorElm,{l:n-kx.SELECTOR_BORDER_WIDTH,t:s-kx.SELECTOR_BORDER_WIDTH}),Nt(this.subselectorElm,{w:a-1,h:l-1})):kt(this.subselectorElm)),this.svgAnimation&&(this.svgAnimation.setAttribute("width",(this.clientWidth+4).toString()),this.svgAnimation.setAttribute("height",(this.clientHeight+4).toString()))}};Bk.styles=[Pk],jk([Tn({type:Boolean})],Bk.prototype,"autofill",void 0),jk([Tn({type:Boolean,reflect:!0})],Bk.prototype,"movable",void 0),jk([Tn({type:Boolean,reflect:!0})],Bk.prototype,"resizable",void 0),jk([Tn({type:Boolean,reflect:!0})],Bk.prototype,"subselector",void 0),jk([Tn({type:String})],Bk.prototype,"color",void 0),jk([Tn({type:Number})],Bk.prototype,"borderWidth",void 0),jk([Tn({type:Boolean,reflect:!0})],Bk.prototype,"animated",void 0),jk([Tn({type:Object})],Bk.prototype,"selection",void 0),jk([Tn({type:Object})],Bk.prototype,"activeCellRange",void 0),jk([On("#handle")],Bk.prototype,"handleElm",void 0),jk([On("#svgAnimation")],Bk.prototype,"svgAnimation",void 0),jk([On("#handle-left")],Bk.prototype,"moveHandleLeftElm",void 0),jk([On("#handle-top")],Bk.prototype,"moveHandleTopElm",void 0),jk([On("#handle-right")],Bk.prototype,"moveHandleRightElm",void 0),jk([On("#handle-bottom")],Bk.prototype,"moveHandleBottomElm",void 0),jk([On("#subselector")],Bk.prototype,"subselectorElm",void 0),Bk=jk([Ln("og-selector")],Bk);var Wk=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 Vk=class extends zn{createSVGElement(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}renderLines(t,e){let i=[];t.forEach(((o,r)=>{if(o&&i.push(o),(!o||t.length==r+1)&&i.length>0){const t=this.createSVGElement("polyline");t.setAttribute("points",i.map((t=>t.join(","))).join(" ")),t.setAttribute("stroke",`#${e.style.color}`),t.setAttribute("stroke-width","2"),this.svg.appendChild(t),i=[]}})),e.marker&&t.forEach((t=>{if(t){const i=this.createSVGElement("circle");i.setAttribute("r","3"),i.setAttribute("fill",`#${e.marker.color}`),i.setAttribute("cx",t[0].toString()),i.setAttribute("cy",t[1].toString()),this.svg.appendChild(i)}}))}renderColumns(t,e){const i=(this.clientWidth-2*kx.SPARKLINE_GAP)/t.length-kx.SPARKLINE_GAP;t.forEach((t=>{if(t&&i>0){const o=this.createSVGElement("rect");o.setAttribute("width",i.toString()),o.setAttribute("height",(this.clientHeight-t[1]).toString()),o.setAttribute("fill",`#${e.style.color}`),o.setAttribute("x",(t[0]-i/2).toString()),o.setAttribute("y",t[1].toString()),this.svg.appendChild(o)}}))}renderSparkline(){if(this.cell&&this.cell.hasSparkline){const t=this.cell.address,e=this.cell.model.sparklines,i=e.getValues(t),[o,r]=e.getExtremes(t);if(null!=r){const s=(this.clientWidth-2*kx.SPARKLINE_GAP)/i.length,n=r-o,a=[];let l,c;this.svg=this.createSVGElement("svg"),this.svg.setAttribute("width",this.clientWidth.toString()),this.svg.setAttribute("height",this.clientHeight.toString()),this.shadowRoot.appendChild(this.svg),i.forEach(((t,e)=>{null==t||isNaN(t)?a.push(null):(l=kx.SPARKLINE_GAP+e*s+s/2,c=(this.clientHeight-2*kx.SPARKLINE_GAP)*(r-t)/n+kx.SPARKLINE_GAP,a.push([l,c]))}));const h=e.groups.get(e.get(t)[0]);"line"==h.type?this.renderLines(a,h):this.renderColumns(a,h)}}}updated(){this.shadowRoot.innerHTML="",this.timeout&&window.clearInterval(this.timeout),this.timeout=window.setTimeout((()=>{this.renderSparkline(),this.timeout=null}),1)}};Vk.styles=xs`
|
|
4616
4616
|
:host {
|
|
4617
4617
|
display: block;
|
|
4618
4618
|
z-index: 0;
|
|
4619
4619
|
position: absolute;
|
|
4620
4620
|
inset: 0;
|
|
4621
4621
|
}
|
|
4622
|
-
`,
|
|
4622
|
+
`,Wk([Tn({type:Object})],Vk.prototype,"cell",void 0),Vk=Wk([Ln("og-grid-sparkline")],Vk);let Uk=class extends Tp{constructor(){super()}connectedCallback(){super.connectedCallback()}attachToCell(t,e,i="right"){this.content=e.tooltip,this.attachTo(t,i)}};Uk.styles=[...Tp.styles,xs`
|
|
4623
4623
|
:host {
|
|
4624
4624
|
max-width: 250px;
|
|
4625
4625
|
}
|
|
4626
|
-
`],
|
|
4626
|
+
`],Uk=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}([Ln("og-grid-tooltip")],Uk);const Gk=xs`
|
|
4627
4627
|
* {
|
|
4628
4628
|
box-sizing: border-box;
|
|
4629
4629
|
}
|
|
@@ -4728,7 +4728,7 @@
|
|
|
4728
4728
|
.comment:last-child {
|
|
4729
4729
|
border-bottom: none;
|
|
4730
4730
|
}
|
|
4731
|
-
`;var
|
|
4731
|
+
`;var qk=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 Yk extends Event{constructor(t,e,i,o,r){super(`comment.${t}`,{bubbles:!0,composed:!0}),this.items=e,this.comment=i,this.index=o,this.cell=r}}let Zk=class extends zn{get editBody(){return this.bodies[this.editIndex]}get editing(){return this.editIndex>-1}get editItem(){return this.items[this.editIndex]}get globalOptions(){return this.cellModel?.model.options.comments}get attachedTo(){return this._attachedTo}get isAttached(){return!!this._attachedTo}constructor(){super(),this.editIndex=-1,this._hideTimer=null,this._hideTimerDisabled=!1,this._movingOffset=null,this.hide=()=>kt(this),this.show=()=>xt(this),this._onMouseDown=t=>{t.stopPropagation()},this._onMouseOver=()=>{this._hideTimerDisabled=!0,this._hideTimer&&(window.clearTimeout(this._hideTimer),this._hideTimer=null)},this._onParentMouseDown=()=>{this._hideTimerDisabled=!1,this.deatach(0)},this._onParentMouseUp=()=>{this.parentElement.removeEventListener("mouseup",this._onParentMouseUp),this.parentElement.removeEventListener("mousemove",this._onParentMouseMove)},this._onHeaderMouseDown=t=>{this._movingOffset={x:t.offsetX,y:t.offsetY},this.parentElement.addEventListener("mouseup",this._onParentMouseUp),this.parentElement.addEventListener("mousemove",this._onParentMouseMove)},this._onParentMouseMove=t=>{Ht(this,{l:t.pageX-this._movingOffset.x,t:t.pageY-this._movingOffset.y}),this.updateConnector()},this.renderItemHeader=(t,e)=>t?.author||t?.date||this.canEdit(e)?an`
|
|
4732
4732
|
<div class="comment-title">
|
|
4733
4733
|
<div class="author">${t.author?.name??t.author?.id??""}</div>
|
|
4734
4734
|
${t?.date?an`
|
|
@@ -4768,15 +4768,15 @@
|
|
|
4768
4768
|
</div>
|
|
4769
4769
|
</og-container>
|
|
4770
4770
|
</div>
|
|
4771
|
-
`,this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("mouseover",this._onMouseOver)}add(){this.items.unshift(new Mw({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
|
|
4771
|
+
`,this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("mouseover",this._onMouseOver)}add(){this.items.unshift(new Mw({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 Yk("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 Yk("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??Kf.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(Kf.MIN_COMMENT_AUTOHEIGHT,Math.min(Kf.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)}};Zk.styles=[Gk],qk([Tn({type:Array})],Zk.prototype,"items",void 0),qk([An()],Zk.prototype,"cellModel",void 0),qk([An()],Zk.prototype,"editIndex",void 0),qk([On("og-container")],Zk.prototype,"container",void 0),qk([On(".head")],Zk.prototype,"head",void 0),qk([Nn(".comment-body")],Zk.prototype,"bodies",void 0),Zk=qk([Ln("og-grid-comment")],Zk);const Xk=(t,e)=>{for(const i in e)t.style[i]=e[i]};function Qk(t,e,i){e.hasError&&!e.error.handled&&(t.innerHTML=`<span style="color:#fff;background:#f00">!${e.error.message}</span>`),e.cssStyle&&Xk(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 Hu;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=Ot(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 Kk(t){t.tooltip?.hide()}function Jk(t,e,i){(t=Qk.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 tC(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 Qk.call(this,t,e,i)}function eC(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),Qk.call(this,t,e,i)}function iC(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 Qk.call(this,t,e,i)}function oC(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=Qk.call(this,t,e,i)).style.whiteSpace&&(t.style.whiteSpace="pre"),t}function rC(t,e,i){const o=e.value;return isNaN(o)||""===o?oC.call(this,t,e,i):iC.call(this,t,e,i)}const sC={n:iC,t:oC,tm:tC,d:tC,dt:tC,b:Jk,s:eC,m:eC,g:rC,a:function(t,e){const i=(e.editorContent??e.value)||[];t.innerHTML="";const o=this.grid;return Sn(an`
|
|
4772
4772
|
<div class="actions">
|
|
4773
4773
|
${Pn(i,(t=>an`
|
|
4774
4774
|
<og-button
|
|
4775
4775
|
@pointermove="${t=>t.stopPropagation()}"
|
|
4776
4776
|
@pointerdown="${t=>t.stopPropagation()}"
|
|
4777
4777
|
@click="${i=>function(t,e,i,o){t.stopPropagation(),e.selecting.select(i.range),e.dispatchEvent(new jx("action",{grid:e,cell:i,action:o.action}))}(i,o,e,t)}"
|
|
4778
|
-
@mouseenter="${()=>function(t,e){e.title?(t.tooltip.content=e.title,t.tooltip.attachToCursor()):
|
|
4779
|
-
@mouseout="${()=>
|
|
4778
|
+
@mouseenter="${()=>function(t,e){e.title?(t.tooltip.content=e.title,t.tooltip.attachToCursor()):Kk(t)}(o,t)}"
|
|
4779
|
+
@mouseout="${()=>Kk(o)}"
|
|
4780
4780
|
.icon="${t.icon}"
|
|
4781
4781
|
.text="${t.text}"
|
|
4782
4782
|
.color="${t.color}"
|
|
@@ -4784,7 +4784,7 @@
|
|
|
4784
4784
|
</og-button>
|
|
4785
4785
|
`))}
|
|
4786
4786
|
</div>
|
|
4787
|
-
`,t),
|
|
4787
|
+
`,t),Qk.call(this,t,e)},h:function(t,e,i){return t.innerHTML=e.value,Qk.call(this,t,e,i)}};function nC(t){return t.renderer||sC[t.type]||rC}class aC extends tu{getCells(t){return null}getStyles(){return null}getRules(){return null}getComments(){return null}getSparklines(){return null}getOptions(){return null}}function lC(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 cC={minDate:new Date(1900,0,1,0,0,0),maxDate:new Date(2100,11,31,0,0,0),weekStart:1,todayButton:!0,controlsPosition:"top"};function hC(t,e=null){const i={...rs(t,e),...cC,...e,...t};return i.minDate=bi(i.minDate,{weekStartsOn:i.weekStart}),i.maxDate=lC(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 uC(t){return Math.ceil(uo(t.maxDate,t.minDate)/7)}function pC(t,e,i){return cf(i.minDate,{days:7*t+e})}function gC(t,e){return{row:Math.floor(uo(t,e.minDate)/7),column:uo(t,e.minDate)%7}}const mC=t=>(t=>null!=t?._$litType$?.h)(t)?t._$litType$.h:t.strings,fC=Hn(class extends Fn{constructor(t){super(t),this.et=new WeakMap}render(t){return[t]}update(t,[e]){const i=Xn(this.it)?mC(this.it):null,o=Xn(e)?mC(e):null;if(null!==i&&(null===o||i!==o)){const e=ea(t).pop();let o=this.et.get(i);if(void 0===o){const t=document.createDocumentFragment();o=Sn(hn,t),o.setConnected(!1),this.et.set(i,o)}ta(o,[e]),Kn(o,void 0,e)}if(null!==o){if(null===i||i!==o){const e=this.et.get(o);if(void 0!==e){const i=ea(e).pop();(t=>{t._$AR()})(t),Kn(t,void 0,i),ta(t,[i])}}this.it=e}else this.it=void 0;return this.render(e)}});var vC,bC,yC,wC,xC,kC,CC,MC,_C,SC,zC,EC,LC,IC,RC=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},TC=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)},AC=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 $C=class extends ou{constructor(){super(...arguments),vC.add(this),this.date=le(new Date),this.year=(new Date).getFullYear(),this.month=(new Date).getMonth()+1,bC.set(this,void 0),yC.set(this,(()=>this.dispatchEvent(new Xr({value:this.date})))),wC.set(this,(()=>this.body.clientWidth/7)),xC.set(this,(()=>(this.body.clientHeight-Yf.HEADER_HEIGHT)/6)),kC.set(this,void 0),CC.set(this,!1),MC.set(this,void 0),_C.set(this,((t,e)=>{const i=pC(e.r,e.c,this.options);t.innerHTML=no(i,"d"),t.style.lineHeight=Dt(e.row.height),t.style.textAlign="center";const o=i.getMonth();return null==TC(this,MC,"f")&&(AC(this,MC,(o+(i.getDate()<10?0:1))%12,"f"),this.month=TC(this,MC,"f")+1,i.setDate(i.getDate()+10),this.year=i.getFullYear()),TC(this,MC,"f")==o?t.style.backgroundColor="initial":t.style.backgroundColor="var(--og-background-color-3)",t})),EC.set(this,(t=>{t.selection.activeCell&&this.updateDate(pC(t.selection.range.r1,t.selection.range.c1,this.options))})),LC.set(this,(()=>AC(this,MC,null,"f"))),IC.set(this,(async()=>{this.month=this.monthDropdown.value,this.year=this.yearDropdown.value,await this.updateComplete,this.gotoCurrentSelection()})),this.renderControls=()=>an`
|
|
4788
4788
|
<div class="header">
|
|
4789
4789
|
${this.date?an`
|
|
4790
4790
|
<og-button
|
|
@@ -4821,7 +4821,7 @@
|
|
|
4821
4821
|
color="accent"
|
|
4822
4822
|
width="70"
|
|
4823
4823
|
style="width: 60px; text-align: center"
|
|
4824
|
-
@change="${
|
|
4824
|
+
@change="${TC(this,IC,"f")}"
|
|
4825
4825
|
.value="${this.month?.toString()}"
|
|
4826
4826
|
.items="${(t=this.options,[...new Array(12).keys()].map((e=>no(new Date(2e3,e,1),"LLLL",{locale:Ko(t.locale)})))).map(((t,e)=>({key:(e+1).toString(),value:t})))}">
|
|
4827
4827
|
</og-dropdown-list>
|
|
@@ -4850,7 +4850,7 @@
|
|
|
4850
4850
|
color="accent"
|
|
4851
4851
|
style="min-width: 35px; text-align: center"
|
|
4852
4852
|
alignment="left"
|
|
4853
|
-
@change="${
|
|
4853
|
+
@change="${TC(this,IC,"f")}"
|
|
4854
4854
|
.value="${this.year.toString()}"
|
|
4855
4855
|
.items="${function(t){const e=[];for(let i=t.minDate.getFullYear();i<=t.maxDate.getFullYear();i++)e.push(i);return e}(this.options).map((t=>({key:t.toString(),value:t.toString()})))}">
|
|
4856
4856
|
</og-dropdown-list>
|
|
@@ -4864,7 +4864,7 @@
|
|
|
4864
4864
|
</og-button>
|
|
4865
4865
|
`))}
|
|
4866
4866
|
</div>
|
|
4867
|
-
`,this.render=()=>Yg("top"!=this.options.controlsPosition?[
|
|
4867
|
+
`,this.render=()=>Yg("top"!=this.options.controlsPosition?[fC(an`<div class="body"></div>`),this.renderControls()]:[this.renderControls(),fC(an`<div class="body"></div>`)],"")}get dateFormatter(){return TC(this,bC,"f")||AC(this,bC,Qo(this.options.locale,this.options.dateFormat),"f"),TC(this,bC,"f")}get formattedDate(){return this.date?this.dateFormatter(this.date):""}willUpdate(t){!t.has("options")&&this.options||(this.options=hC(this.options))}connectedCallback(){super.connectedCallback(),this.updateBody()}disconnectedCallback(){this.body&&St(this.body),AC(this,kC,null,"f")}updateBody(){this.body&&this.body.firstElementChild!=this.grid&&(St(this.body),this.grid.setSourceData(TC(this,vC,"m",SC).call(this)),this.body.appendChild(this.grid))}get grid(){return TC(this,kC,"f")||(AC(this,kC,yt("og-grid"),"f"),Ft(TC(this,kC,"f"),0),TC(this,kC,"f").addEventListener("grid.select",TC(this,EC,"f")),TC(this,kC,"f").addEventListener("grid.render",TC(this,LC,"f")),TC(this,kC,"f").addEventListener("grid.init",(()=>{const t=gC(this.date,this.options);this.grid?.selecting.select(new yv(t.column,t.row)),this.goto(),AC(this,CC,!0,"f")}))),TC(this,kC,"f")}async layout(){await this.updateComplete;const t=TC(this,wC,"f").call(this),e=TC(this,xC,"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){AC(this,MC,null,"f"),t=t??this.date??new Date,this.year=t.getFullYear(),this.month=t.getMonth()+1,TC(this,kC,"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(TC(this,vC,"m",SC).call(this)),t.has("date")&&TC(this,CC,"f")){const t=gC(this.date,this.options);this.grid?.selecting.select(new yv(t.column,t.row)),this.goto()}this.grid.updateComplete.then((()=>TC(this,vC,"m",zC).call(this,this.grid.table)))}updateDate(t,e=!0){var i,o;i=t=le(t),o=this.date,+ae(i)==+ae(o)||(this.date=t,e&&TC(this,yC,"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())}};bC=new WeakMap,yC=new WeakMap,wC=new WeakMap,xC=new WeakMap,kC=new WeakMap,CC=new WeakMap,MC=new WeakMap,_C=new WeakMap,EC=new WeakMap,LC=new WeakMap,IC=new WeakMap,vC=new WeakSet,SC=function(){return{columns:(t=this.options,dC({start:bi(new Date,{weekStartsOn:t.weekStart}),end:lC(new Date,{weekStartsOn:t.weekStart})}).map((e=>no(e,"cccccc",{locale:Ko(t.locale)})))).map((t=>({renderer:TC(this,_C,"f"),header:[{label:t,height:Yf.HEADER_HEIGHT}]}))),options:{rows:uC(this.options),rowHeight:TC(this,xC,"f").call(this),columnWidth:TC(this,wC,"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},zC=function(t){t.dataset.init||(t.dataset.init="1",At(t.shadowRoot,"td:hover>div { \n\t\t\tborder: 2px solid var(--og-accent-color);\n\t\t\tcursor: pointer;\n\t\t}"))},$C.styles=[Zf],RC([On(".body")],$C.prototype,"body",void 0),RC([Tn({type:Object})],$C.prototype,"options",void 0),RC([Tn({type:Object})],$C.prototype,"date",void 0),RC([Tn({type:Number})],$C.prototype,"year",void 0),RC([Tn({type:Number})],$C.prototype,"month",void 0),RC([On("og-dropdown-list.month")],$C.prototype,"monthDropdown",void 0),RC([On("og-dropdown-list.year")],$C.prototype,"yearDropdown",void 0),$C=RC([Ln("og-calendar")],$C);const OC=xs`
|
|
4868
4868
|
og-input {
|
|
4869
4869
|
flex: 1;
|
|
4870
4870
|
border: none;
|
|
@@ -4903,7 +4903,7 @@
|
|
|
4903
4903
|
.content {
|
|
4904
4904
|
display: flex;
|
|
4905
4905
|
}
|
|
4906
|
-
`;var
|
|
4906
|
+
`;var DC,NC,PC=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},jC=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)},HC=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 FC=class extends Cu{constructor(){super(...arguments),this.calendarOptions=hC({controlsPosition:"bottom"}),this.buttonInput=!1,DC.set(this,void 0),this.cross=!1,NC.set(this,void 0),this._onInputFocus=()=>{this.open()},this._onInputBlur=()=>{const t=this.parseDate(this.input.value);null==t&&(this.input.value=""),t?.getTime()!==jC(this,DC,"f")?.getTime()&&(HC(this,DC,t,"f"),this.dispatchEvent(new Xr({value:this.value})))},this._onInput=()=>{const t=this.parseDate(this.input.value);t&&(jC(this,NC,"f").date=t)},this._onInputKeydown=t=>{"Enter"===t.key&&(this.input.blur(),this.close())},this.render=()=>an`
|
|
4907
4907
|
${this.buttonInput?an`
|
|
4908
4908
|
<og-input
|
|
4909
4909
|
@keydown="${this._onInputKeydown}"
|
|
@@ -4935,7 +4935,7 @@
|
|
|
4935
4935
|
`:""}
|
|
4936
4936
|
|
|
4937
4937
|
${this.renderDropdown()}
|
|
4938
|
-
`}get value(){return
|
|
4938
|
+
`}get value(){return jC(this,DC,"f")}set value(t){HC(this,DC,t,"f"),jC(this,NC,"f")&&(jC(this,NC,"f").date=t,this.requestUpdate())}get hasCrossButton(){return this.cross&&null!=jC(this,DC,"f")}get calendar(){return jC(this,NC,"f")||(HC(this,NC,yt("og-calendar"),"f"),jC(this,NC,"f").date=jC(this,DC,"f"),jC(this,NC,"f").options=this.calendarOptions,jC(this,NC,"f").slot="inner-content",jC(this,NC,"f").addEventListener("change",(t=>{HC(this,DC,t.value,"f"),this.close(),this.dispatchEvent(new Xr({value:t.value})),this.requestUpdate()}))),jC(this,NC,"f")}async open(t=null){null!=t&&(this.input.value=t),await super.open(),this.calendar.parentElement!=this.dropdown&&this.dropdown.appendChild(this.calendar),this.layout()}clearValue(t=!0){this.value=null,this.close(),t&&this.dispatchEvent(new Xr({value:null}))}parseDate(t){return Xo(t,this.calendarOptions.locale)}layout(){super.layout(),this.calendar?.layout()}};DC=new WeakMap,NC=new WeakMap,FC.styles=[...Cu.styles,OC],PC([Tn({type:Object})],FC.prototype,"calendarOptions",void 0),PC([Tn({type:Boolean})],FC.prototype,"buttonInput",void 0),PC([Tn({type:Object,noAccessor:!0})],FC.prototype,"value",null),PC([Tn({type:Boolean,reflect:!0})],FC.prototype,"cross",void 0),PC([On("og-input")],FC.prototype,"input",void 0),FC=PC([Ln("og-calendar-dropdown")],FC);const BC=Symbol.for(""),WC=t=>{if(t?.r===BC)return t?._$litStatic$},VC=(t,...e)=>({_$litStatic$:e.reduce(((e,i,o)=>e+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(i)+t[o+1]),t[0]),r:BC}),UC=new Map,GC=t=>(e,...i)=>{const o=i.length;let r,s;const n=[],a=[];let l,c=0,h=!1;for(;c<o;){for(l=e[c];c<o&&void 0!==(s=i[c],r=WC(s));)l+=r+e[++c],h=!0;c!==o&&a.push(s),n.push(l),c++}if(c===o&&n.push(e[o]),h){const t=n.join("$$lit$$");void 0===(e=UC.get(t))&&(n.raw=n,UC.set(t,e=n)),i=a}return t(e,...i)},qC=GC(an);var YC;GC(ln),function(t){t.TextInput="text",t.Button="button",t.NumericInput="number",t.DateInput="date",t.CalendarDateInput="calendar",t.Checkbox="checkbox",t.Label="label",t.List="list",t.ColorInput="color",t.FileInput="file"}(YC||(YC={}));class ZC{constructor(t){this.props=t,this.dependencies=[],this.errors=[]}get key(){return this.props.key}}class XC{get rowCount(){return this._rowCount}get colCount(){return this._colCount}get(t){return this.controlMap.get(t)}constructor(t){this._rowCount=0,this._colCount=0,this.controlMap=new Map,this.populate(t)}populate(t){this.options=t.options??{},this.controlMap.clear(),this.controls=[],this.rows=t.rows||[],this.columns=t.columns||[],this._rowCount=this.rows.length,this._colCount=this.columns.length,t.controls.forEach((t=>{this._rowCount=Math.max(this._rowCount,t.row+1),this._colCount=Math.max(this._colCount,t.col+1),this._rowCount>this.rows.length&&this.rows.push({}),this._colCount>this.columns.length&&this.columns.push({}),t.key=t.key??(t.row*this._colCount+t.col).toString(),this.controlMap.set(t.key,new ZC(t))})),this.controls=[...Array(this.rowCount)].map((()=>Array(this.colCount))),this.controlMap.forEach((t=>{this.controls[t.props.row][t.props.col]=t,t.props.dependsOn&&this.controlMap.get(t.props.dependsOn).dependencies.push(t),t.props.for&&this.controlMap.get(t.props.for)?.props.required&&(t.props.required=!0)}))}}const QC={DEFAULT_FORM_CELL_PADDING:2,DEFAULT_FORM_ROW_HEIGHT:24,DEFAULT_FORM_LINE_HEIGHT:22,BUTTON_CONFIG:new Map([["save",{text:"Save",color:xa.Accent,default:!0}],["reset",{text:"Reset",color:xa.Gray}],["validate",{text:"Validate",color:xa.Gray}],["storno",{text:"Storno",color:xa.Gray}],["close",{text:"Close",color:xa.Gray}]]),...G},KC=xs`
|
|
4939
4939
|
:host {
|
|
4940
4940
|
display: block;
|
|
4941
4941
|
font-size: var(--og-font-size);
|
|
@@ -4957,11 +4957,11 @@
|
|
|
4957
4957
|
}
|
|
4958
4958
|
|
|
4959
4959
|
table tr td {
|
|
4960
|
-
height: ${
|
|
4960
|
+
height: ${QC.DEFAULT_FORM_ROW_HEIGHT}px;
|
|
4961
4961
|
}
|
|
4962
4962
|
|
|
4963
4963
|
table td {
|
|
4964
|
-
padding: ${
|
|
4964
|
+
padding: ${QC.DEFAULT_FORM_CELL_PADDING}px;
|
|
4965
4965
|
overflow: hidden;
|
|
4966
4966
|
}
|
|
4967
4967
|
|
|
@@ -4976,12 +4976,12 @@
|
|
|
4976
4976
|
og-overlay {
|
|
4977
4977
|
min-height: 200px;
|
|
4978
4978
|
}
|
|
4979
|
-
`;var
|
|
4979
|
+
`;var JC=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 tM=new Map([[YC.Label,VC`og-form-label`],[YC.TextInput,VC`og-form-textinput`],[YC.ColorInput,VC`og-form-colorinput`],[YC.Checkbox,VC`og-form-checkbox`],[YC.List,VC`og-form-list`],[YC.Button,VC`og-form-button`],[YC.NumericInput,VC`og-form-numericinput`],[YC.FileInput,VC`og-form-fileinput`],[YC.DateInput,VC`og-form-dateinput`],[YC.CalendarDateInput,VC`og-form-calendardateinput`]]);class eM extends Event{constructor(t,e){super(`form.${t}`,{bubbles:!0,cancelable:!0,composed:!0}),Object.assign(this,e||{})}}let iM=class extends zn{constructor(){super(...arguments),this.values={},this.errorCounts={},this.showOverlay=()=>this.overlay?.show(this),this.hideOverlay=()=>this.overlay?.hide(),this.render=()=>{const t=qC`<og-overlay defaultLoader></og-overlay>`;if(!this.model)return t;const e=Pn(this.model.columns,(t=>{const e=Vn({width:t?.width?Ot(t.width):"auto"});return qC`<col style="${e}">`})),i=Pn(this.model.controls,((t,e)=>{const i=Vn({height:this.model.rows&&this.model.rows[e]&&this.model.rows[e].height?Ot(this.model.rows[e].height):null});return qC`
|
|
4980
4980
|
<tr class="row">
|
|
4981
|
-
${Pn(t,(t=>
|
|
4981
|
+
${Pn(t,(t=>qC`
|
|
4982
4982
|
<td colspan="${t?.props.cs||1}" rowspan="${t?.props.rs||1}" style="${i}">
|
|
4983
|
-
${t?
|
|
4984
|
-
<${
|
|
4983
|
+
${t?qC`
|
|
4984
|
+
<${tM.get(t.props.type)}
|
|
4985
4985
|
id="${t.props.key}"
|
|
4986
4986
|
@change=${this._onValueChange}
|
|
4987
4987
|
class="control"
|
|
@@ -4989,24 +4989,24 @@
|
|
|
4989
4989
|
.model="${t}"
|
|
4990
4990
|
.formModel="${this.model}"
|
|
4991
4991
|
.adapter="${t.props.adapter||this.model.options.treeAdapter}">
|
|
4992
|
-
</${
|
|
4993
|
-
${Pn(t.errors,(t=>
|
|
4992
|
+
</${tM.get(t.props.type)}>
|
|
4993
|
+
${Pn(t.errors,(t=>qC`
|
|
4994
4994
|
<div class="error">${Ao(t)}</div>
|
|
4995
4995
|
`))}
|
|
4996
4996
|
`:""}
|
|
4997
4997
|
</td>
|
|
4998
4998
|
`))}
|
|
4999
4999
|
</tr>
|
|
5000
|
-
`}));return
|
|
5000
|
+
`}));return qC`
|
|
5001
5001
|
${t}
|
|
5002
|
-
${this.caption?
|
|
5003
|
-
<div class="body">${this.model?
|
|
5002
|
+
${this.caption?qC`<div class="title">${this.caption}</div>`:""}
|
|
5003
|
+
<div class="body">${this.model?qC`
|
|
5004
5004
|
<table>
|
|
5005
5005
|
<colgroup>${e}</colgroup>
|
|
5006
5006
|
<tbody>${i}</tbody>
|
|
5007
5007
|
</table>
|
|
5008
5008
|
`:""}</div>
|
|
5009
|
-
`}}setSourceData(t){this.model=new
|
|
5009
|
+
`}}setSourceData(t){this.model=new XC(t)}resetValues(){const t={};this.model?.controlMap.forEach((e=>t[e.key]=e.props.value)),this.values=t}setValue(t,e){this.values[t]=e,this.shadowRoot.querySelector(`#${t}`).value=e}async reset(){this.resetValues(),this.controls.forEach((t=>t.reset()))}validate(){this.controls.forEach((t=>t.validate())),this.requestUpdate()}isValid(){this.validate();for(const t of this.controlNodes)if(!t.isValid)return!1;return!0}async initAdapter(){this.showOverlay(),this.model=new XC({rows:await this.adapter.getRows(this.key),columns:await this.adapter.getColumns(this.key),controls:await this.adapter.getControls(this.key)}),this.hideOverlay()}async updated(t){t.has("adapter")&&(this.adapter?.attach(this),await this.initAdapter()),t.has("model")&&this.resetValues(),this.controls=new Map,this.controlNodes.forEach((t=>this.controls.set(t.id,t))),this.model?.controls.forEach(((t,e)=>t.forEach(((t,i)=>{const o=t.props.cs||1,r=t.props.rs||1;if(o>1||r>1)for(let t=e;t<=e+r-1;t++)for(let r=i;r<=i+o-1;r++){const o=this.rowElms[t].children[r];o&&(r!=i||t!=e?_t(o):Mt(o))}else Mt(this.rowElms[e].children[i])}))))}_onValueChange(t){this.values[t.model.key]=t.value,this.errorCounts[t.model.key]!=t.model.errors.length&&this.requestUpdate(),this.errorCounts[t.model.key]=t.model.errors.length,this.dispatchEvent(new eM("change",{key:t.model.key,value:t.value,valid:0==t.model.errors.length}))}};iM.styles=[KC],JC([Tn()],iM.prototype,"key",void 0),JC([Tn({type:Object})],iM.prototype,"adapter",void 0),JC([Tn({type:Object})],iM.prototype,"model",void 0),JC([Tn({type:String})],iM.prototype,"caption",void 0),JC([Nn(".control")],iM.prototype,"controlNodes",void 0),JC([Nn(".row")],iM.prototype,"rowElms",void 0),JC([On("og-overlay")],iM.prototype,"overlay",void 0),JC([Tn({type:Object})],iM.prototype,"values",void 0),iM=JC([Ln("og-form")],iM);class oM extends tu{getForms(){return[{key:0}]}getRows(t){return[]}getColumns(t){return[]}save(t){return!0}getOptions(){return{}}onAction(t){}}const rM={caption:null,buttonsPosition:"bottom",alertsPosition:"bottom",buttons:[],closeAfterSave:!0};function sM(t,e=null){return{...rs(t,e),...rM,...e,...t}}const nM=xs`
|
|
5010
5010
|
* {
|
|
5011
5011
|
box-sizing: border-box;
|
|
5012
5012
|
}
|
|
@@ -5042,7 +5042,7 @@
|
|
|
5042
5042
|
min-width: 80px;
|
|
5043
5043
|
text-align: center;
|
|
5044
5044
|
}
|
|
5045
|
-
`;var
|
|
5045
|
+
`;var aM=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 lM=class extends zn{constructor(){super(),this.options=sM(),this.collapsibleForms=!1,this._saving=!1,this.showOverlay=()=>this.overlay?.show(this),this.hideOverlay=()=>this.overlay?.hide(),this._onButtonClick=t=>{switch(t.key){case"save":this.save();break;case"reset":this.reset();break;case"close":this.dispatchEvent(new Event("close"));break;default:this.adapter?.onAction(t.key),this.dispatchEvent(new Vr("form",{key:t.key},null,{bubbles:!0,composed:!0,common:!0}))}},this.renderButton=t=>{const e=Z(t)?t:QC.BUTTON_CONFIG.get(t);return e.key=e.key??(Q(t)?t:null),e.color=e.color||xa.Gray,an`
|
|
5046
5046
|
<og-button
|
|
5047
5047
|
.text="${e.text}"
|
|
5048
5048
|
.color="${e.color}"
|
|
@@ -5064,7 +5064,7 @@
|
|
|
5064
5064
|
slot="body"
|
|
5065
5065
|
key=${t.key??e.toString()}
|
|
5066
5066
|
.adapter=${this.adapter}
|
|
5067
|
-
.model=${null==this.adapter?new
|
|
5067
|
+
.model=${null==this.adapter?new XC(t):null}
|
|
5068
5068
|
.rows=${t.rows}
|
|
5069
5069
|
.columns=${t.columns}>
|
|
5070
5070
|
</og-form>
|
|
@@ -5080,7 +5080,7 @@
|
|
|
5080
5080
|
</og-container>
|
|
5081
5081
|
${"bottom"==this.options.alertsPosition?e:""}
|
|
5082
5082
|
${"bottom"==this.options.buttonsPosition?t:""}
|
|
5083
|
-
`},this.addEventListener("keydown",(t=>{"Enter"==t.key&&this.save()}))}connectedCallback(){super.connectedCallback(),this.tabIndex=0}get values(){const t=new Map;return this.forms.forEach(((e,i)=>t.set(this.config[i].key??i,e.values))),t}setSourceData(t,e){this.config=t,this.options=
|
|
5083
|
+
`},this.addEventListener("keydown",(t=>{"Enter"==t.key&&this.save()}))}connectedCallback(){super.connectedCallback(),this.tabIndex=0}get values(){const t=new Map;return this.forms.forEach(((e,i)=>t.set(this.config[i].key??i,e.values))),t}setSourceData(t,e){this.config=t,this.options=sM(e,this.options)}reset(t=!0){this.forms.forEach((t=>t.reset())),t&&this.dispatchEvent(new eM("reset"))}isValid(){return Array.from(this.forms.values()).every((t=>t.isValid()))}async save(t=!0){if(this._saving)return!1;if(!this.isValid())return!1;if(this._saving=!0,this.adapter){this.showOverlay();let e=!0;try{const t=await this.adapter.save(this.values);!1===t?e=!1:Array.isArray(t)&&(this.alerts=t)}catch(t){e=!1,this.alerts=[{text:t.message,type:"danger"}]}this.hideOverlay(),t&&e&&(this.dispatchEvent(new eM("save")),this.options.closeAfterSave&&this.dispatchEvent(new Event("close")))}else t&&this.dispatchEvent(new eM("save"));return this._saving=!1,!0}async initAdapter(){this.showOverlay(),this.config=await this.adapter.getForms(),this.options=sM(await this.adapter.getOptions(),this.options),this.hideOverlay()}async updated(t){t.has("adapter")&&await this.initAdapter()}};lM.styles=[nM],aM([Tn({type:Array})],lM.prototype,"config",void 0),aM([Tn({type:Object})],lM.prototype,"options",void 0),aM([Tn({type:Boolean})],lM.prototype,"collapsibleForms",void 0),aM([Tn({type:Object})],lM.prototype,"adapter",void 0),aM([Tn({type:Array})],lM.prototype,"alerts",void 0),aM([On("og-overlay")],lM.prototype,"overlay",void 0),aM([Nn("og-form")],lM.prototype,"forms",void 0),lM=aM([Ln("og-form-container")],lM);var cM=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 hM extends Event{constructor(t,e,i){super(t,{bubbles:!0,cancelable:!0,composed:!0}),this.model=e,this.value=i}}class dM extends zn{constructor(){super(...arguments),this._value=null,this.required=!1}get value(){return this._value}set value(t){const e=this._value;this._value=t,e!==t&&this.requestUpdate("value",e)}updateValue(t,e=!0){this._value=t,this.validate(),e&&this.dispatchEvent(new hM("change",this.model,t))}willUpdate(t){t.has("model")&&(null===this.value&&(this.value=this.model.props.value),this.required=this.model.props.required)}reset(){this.updateValue(this.model.props.value)}validate(){this.model&&(!this.required||null!=this.value&&""!==this.value?this.model.errors=[]:this.model.errors=["this field is required"])}get isValid(){return 0==this.model.errors.length}}dM.styles=[xs`
|
|
5084
5084
|
:host {
|
|
5085
5085
|
display: block;
|
|
5086
5086
|
box-sizing: border-box;
|
|
@@ -5094,7 +5094,7 @@
|
|
|
5094
5094
|
border: 2px solid var(--og-accent-color);
|
|
5095
5095
|
border-radius: var(--og-base-radius);
|
|
5096
5096
|
}
|
|
5097
|
-
`],
|
|
5097
|
+
`],cM([Tn({type:Object})],dM.prototype,"model",void 0),cM([Tn({type:Object})],dM.prototype,"formModel",void 0),cM([Tn({type:Object})],dM.prototype,"adapter",void 0),cM([Tn({type:Object})],dM.prototype,"value",null),cM([Tn({type:Boolean,reflect:!0})],dM.prototype,"required",void 0);let uM=class extends dM{constructor(){super(...arguments),this._onChange=t=>{this.updateValue(t.target.value)},this._onKeyDown=t=>{"Enter"==t.key&&this.updateValue(t.target.value)},this.render=()=>an`
|
|
5098
5098
|
<input
|
|
5099
5099
|
type="text"
|
|
5100
5100
|
.value="${null==this.value?"":this.value}"
|
|
@@ -5102,14 +5102,14 @@
|
|
|
5102
5102
|
@change="${this._onChange}"
|
|
5103
5103
|
@keydown="${this._onKeyDown}"
|
|
5104
5104
|
>
|
|
5105
|
-
`}validate(){super.validate(),this.model&&this.model.props.pattern&&!this.model.props.pattern.test(this.value??"")&&this.model.errors.push("invalid value")}};
|
|
5105
|
+
`}validate(){super.validate(),this.model&&this.model.props.pattern&&!this.model.props.pattern.test(this.value??"")&&this.model.errors.push("invalid value")}};uM.styles=[...dM.styles,xs`
|
|
5106
5106
|
input {
|
|
5107
5107
|
border: 1px solid var(--og-accent-color);
|
|
5108
5108
|
background-color: var(--og-form-background-color);
|
|
5109
5109
|
color: var(--og-text-color);
|
|
5110
5110
|
font-size: var(--og-font-size);
|
|
5111
5111
|
height: 100%;
|
|
5112
|
-
line-height: ${
|
|
5112
|
+
line-height: ${QC.DEFAULT_FORM_ROW_HEIGHT}px;
|
|
5113
5113
|
outline: none;
|
|
5114
5114
|
width: 100%;
|
|
5115
5115
|
border-radius: var(--og-base-radius);
|
|
@@ -5118,7 +5118,7 @@
|
|
|
5118
5118
|
:host([required]) input {
|
|
5119
5119
|
border: none;
|
|
5120
5120
|
}
|
|
5121
|
-
`],
|
|
5121
|
+
`],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}([Ln("og-form-textinput")],uM);var pM=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 gM=class extends dM{constructor(){super(...arguments),this._onChange=t=>{this.dropdown.close(),this.updateValue(null==t.value?null:nt(t.value,"#")),this.requestUpdate()},this.render=()=>an`
|
|
5122
5122
|
<og-dropdown style="${Vn({backgroundColor:this.value?`#${this.value}`:null})}">
|
|
5123
5123
|
<div
|
|
5124
5124
|
slot="label"
|
|
@@ -5132,7 +5132,7 @@
|
|
|
5132
5132
|
@mousedown="${t=>t.stopPropagation()}">
|
|
5133
5133
|
</og-colorpicker>
|
|
5134
5134
|
</og-dropdown>
|
|
5135
|
-
`}};
|
|
5135
|
+
`}};gM.styles=[...dM.styles],pM([On("og-dropdown")],gM.prototype,"dropdown",void 0),gM=pM([Ln("og-form-colorinput")],gM);var mM;let fM=class extends dM{constructor(){super(...arguments),mM.set(this,void 0),this._onChange=t=>{if(!t.node)return;const e=t.node.key;this.updateValue(new Date(parseInt(e.substring(0,4)),parseInt(e.substring(4,6))-1,parseInt(e.substring(6,8)),0,0,0))},this.render=()=>an`
|
|
5136
5136
|
<og-tree-dropdown
|
|
5137
5137
|
@change="${this._onChange}"
|
|
5138
5138
|
.adapter="${this.dateAdapter}"
|
|
@@ -5142,11 +5142,11 @@
|
|
|
5142
5142
|
.caption="${this.model.props.caption}"
|
|
5143
5143
|
.placeholder="${this.model.props.placeholder}">
|
|
5144
5144
|
</og-tree-dropdown>
|
|
5145
|
-
`}get dateAdapter(){return 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)}(this,
|
|
5145
|
+
`}get dateAdapter(){return 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)}(this,mM,"f")??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}(this,mM,new Lf(this.model.props.options),"f")}get treeValue(){if(!this.value)return null;let t;return this.value instanceof Date?(t=this.value,this.value=[this.value.getFullYear(),(this.value.getMonth()+1).toString().padStart(2,"0"),this.value.getDate().toString().padStart(2,"0")].join("-")):t=Xo(this.value,Lo()),[[this.value,0,1,{value:Qo(Lo())(t)}]]}};mM=new WeakMap,fM.styles=[...dM.styles,xs`
|
|
5146
5146
|
og-tree-dropdown {
|
|
5147
5147
|
height: 100%;
|
|
5148
5148
|
}
|
|
5149
|
-
`],
|
|
5149
|
+
`],fM=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}([Ln("og-form-dateinput")],fM);let vM=class extends dM{constructor(){super(...arguments),this._onChange=t=>{this.updateValue(t.value)},this.render=()=>an`
|
|
5150
5150
|
<og-calendar-dropdown
|
|
5151
5151
|
@change="${this._onChange}"
|
|
5152
5152
|
.options="${{selectMode:"single",autoClose:!0,allowEmpty:!0}}"
|
|
@@ -5155,11 +5155,11 @@
|
|
|
5155
5155
|
.caption="${this.model.props.caption}"
|
|
5156
5156
|
.placeholder="${this.model.props.placeholder}">
|
|
5157
5157
|
</og-calendar-dropdown>
|
|
5158
|
-
`}get formattedValue(){return this.value?(this.value instanceof Date&&(this.value=[this.value.getFullYear(),(this.value.getMonth()+1).toString().padStart(2,"0"),this.value.getDate().toString().padStart(2,"0")].join("")),[[this.value,0,1]]):null}get date(){return Q(this.value)?(Xo(this.value,Lo()),new Date(this.value)):this.value instanceof Date?this.value:null}};
|
|
5158
|
+
`}get formattedValue(){return this.value?(this.value instanceof Date&&(this.value=[this.value.getFullYear(),(this.value.getMonth()+1).toString().padStart(2,"0"),this.value.getDate().toString().padStart(2,"0")].join("")),[[this.value,0,1]]):null}get date(){return Q(this.value)?(Xo(this.value,Lo()),new Date(this.value)):this.value instanceof Date?this.value:null}};vM.styles=[...dM.styles,xs`
|
|
5159
5159
|
og-calendar-dropdown {
|
|
5160
5160
|
height: 100%;
|
|
5161
5161
|
}
|
|
5162
|
-
`],
|
|
5162
|
+
`],vM=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}([Ln("og-form-calendardateinput")],vM);var bM=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 dM{validate(){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=()=>an`
|
|
5163
5163
|
<og-numericinput
|
|
5164
5164
|
?buttons="${!0}"
|
|
5165
5165
|
.min="${this.min}"
|
|
@@ -5168,13 +5168,13 @@
|
|
|
5168
5168
|
.placeholder="${this.model?.props.placeholder}"
|
|
5169
5169
|
@change="${this._onChange}">
|
|
5170
5170
|
</og-numericinput>
|
|
5171
|
-
`}updateValue(t){null!=t&&(t=isNaN(this.min)?t:Math.max(t,this.min),t=isNaN(this.max)?t:Math.min(t,this.max)),super.updateValue(t),this.requestUpdate()}};
|
|
5171
|
+
`}updateValue(t){null!=t&&(t=isNaN(this.min)?t:Math.max(t,this.min),t=isNaN(this.max)?t:Math.min(t,this.max)),super.updateValue(t),this.requestUpdate()}};yM.styles=[...dM.styles,xs`
|
|
5172
5172
|
og-numericinput {
|
|
5173
5173
|
border: 1px solid var(--og-accent-color);
|
|
5174
5174
|
background-color: var(--og-form-background-color);
|
|
5175
5175
|
color: var(--og-text-color);
|
|
5176
5176
|
height: 100%;
|
|
5177
|
-
line-height: ${
|
|
5177
|
+
line-height: ${QC.DEFAULT_FORM_LINE_HEIGHT}px;
|
|
5178
5178
|
width: 100%;
|
|
5179
5179
|
}
|
|
5180
5180
|
|
|
@@ -5196,16 +5196,16 @@
|
|
|
5196
5196
|
:host(:hover) .buttons {
|
|
5197
5197
|
display: block;
|
|
5198
5198
|
}
|
|
5199
|
-
`],
|
|
5199
|
+
`],bM([Tn({type:Number})],yM.prototype,"min",void 0),bM([Tn({type:Number})],yM.prototype,"max",void 0),yM=bM([Ln("og-form-numericinput")],yM);let wM=class extends dM{constructor(){super(...arguments),this.render=()=>an`
|
|
5200
5200
|
<og-fileinput @change="${t=>this.updateValue(t.value)}"></og-fileinput>
|
|
5201
|
-
`}};
|
|
5201
|
+
`}};wM.styles=[...dM.styles,xs`
|
|
5202
5202
|
og-fileinput {
|
|
5203
5203
|
border-color: var(--og-accent-color);
|
|
5204
5204
|
width: 100%;
|
|
5205
5205
|
}
|
|
5206
|
-
`],
|
|
5206
|
+
`],wM=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}([Ln("og-form-fileinput")],wM);let xM=class extends dM{get isValid(){return!0}constructor(){super(),this.render=()=>an`
|
|
5207
5207
|
<og-checkbox .value="${this.value?"checked":"none"}"></og-checkbox>
|
|
5208
|
-
`,this.addEventListener("click",(()=>{this.updateValue(!this.value),this.requestUpdate()}))}};
|
|
5208
|
+
`,this.addEventListener("click",(()=>{this.updateValue(!this.value),this.requestUpdate()}))}};xM.styles=[...dM.styles,xs`
|
|
5209
5209
|
:host {
|
|
5210
5210
|
display: inline-flex;
|
|
5211
5211
|
align-items: center;
|
|
@@ -5215,13 +5215,13 @@
|
|
|
5215
5215
|
og-checkbox {
|
|
5216
5216
|
cursor: pointer;
|
|
5217
5217
|
}
|
|
5218
|
-
`],
|
|
5218
|
+
`],xM=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}([Ln("og-form-checkbox")],xM);let kM=class extends dM{constructor(){super(...arguments),this.render=()=>an`
|
|
5219
5219
|
<label
|
|
5220
5220
|
for="${this.model.props.for}"
|
|
5221
5221
|
class="${Ua({required:this.model.props.required})}">
|
|
5222
5222
|
${this.value}
|
|
5223
5223
|
</label>
|
|
5224
|
-
`}};
|
|
5224
|
+
`}};kM.styles=[...dM.styles,xs`
|
|
5225
5225
|
:host {
|
|
5226
5226
|
width: 100%;
|
|
5227
5227
|
border: none !important;
|
|
@@ -5246,7 +5246,7 @@
|
|
|
5246
5246
|
}
|
|
5247
5247
|
*/
|
|
5248
5248
|
|
|
5249
|
-
`],
|
|
5249
|
+
`],kM=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}([Ln("og-form-label")],kM);var CM=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 MM=class extends dM{constructor(){super(...arguments),this._firstOpen=!0,this._onChange=t=>{const e=t.component.selection.serialize(["v"]);this.dropdown.tree.options.selectMode==Am.Single?this.updateValue(e.length>0?e[0][0]:null,!0):this.updateValue(e,!0)},this._onDropdownOpen=()=>{this._firstOpen?this._firstOpen=!1:this.adapter?.attach(this.dropdown.tree)},this.render=()=>an`
|
|
5250
5250
|
<og-tree-dropdown
|
|
5251
5251
|
@change="${this._onChange}"
|
|
5252
5252
|
@dropdown.open="${this._onDropdownOpen}"
|
|
@@ -5256,16 +5256,16 @@
|
|
|
5256
5256
|
.caption="${this.model.props.caption}"
|
|
5257
5257
|
.placeholder="${this.model.props.placeholder}">
|
|
5258
5258
|
</og-tree-dropdown>
|
|
5259
|
-
`}get isValid(){return!0}formatValue(t){return Array.isArray(t)?t:null==t?null:[[t,0,1]]}reset(){super.reset(),this.dropdown&&(this.dropdown.value=null,this.dropdown.value=this.formatValue(this.model.props.value))}getAdapter(){return this.adapter??this.formModel.options?.treeAdapter}async willUpdate(){if(this.value){const t=this.getAdapter();if(t){const[e]=await Promise.all([t.getOptions()]);e&&e.selectMode==Am.Single&&this.updateValue(Array.isArray(this.value)&&this.value.length>0?this.value[0][0]:this.value)}}}async updated(){if(this.model.props.content){const t=this.model.props.content;this.dropdown.setSourceData(t.sourceData,t.options)}}};
|
|
5259
|
+
`}get isValid(){return!0}formatValue(t){return Array.isArray(t)?t:null==t?null:[[t,0,1]]}reset(){super.reset(),this.dropdown&&(this.dropdown.value=null,this.dropdown.value=this.formatValue(this.model.props.value))}getAdapter(){return this.adapter??this.formModel.options?.treeAdapter}async willUpdate(){if(this.value){const t=this.getAdapter();if(t){const[e]=await Promise.all([t.getOptions()]);e&&e.selectMode==Am.Single&&this.updateValue(Array.isArray(this.value)&&this.value.length>0?this.value[0][0]:this.value)}}}async updated(){if(this.model.props.content){const t=this.model.props.content;this.dropdown.setSourceData(t.sourceData,t.options)}}};MM.styles=[...dM.styles,xs`
|
|
5260
5260
|
og-tree-dropdown {
|
|
5261
5261
|
height: 100%;
|
|
5262
5262
|
}
|
|
5263
|
-
`],
|
|
5263
|
+
`],CM([On("og-tree-dropdown")],MM.prototype,"dropdown",void 0),MM=CM([Ln("og-form-list")],MM);var _M=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 SM=class extends qa{constructor(){super(),this.value=null,this.addEventListener("click",(()=>{this.updateValue(this.value)}))}updateValue(t,e=!0){this.model&&(this.value=t,this.validate(),e&&this.dispatchEvent(new hM("change",this.model,t)))}willUpdate(t){t.has("model")&&(null===this.value&&(this.value=this.model.props.value),this.model.props.options&&Object.assign(this,this.model.props.options)),"toggle"==this.type&&null==this.state&&(this.state="unchecked"),this.icon&&(Z(this.icon)?this.buttonIcon=this.icon:this.icon?this.buttonIcon={icon:this.icon}:this.buttonIcon=null),this.text=this.value}reset(){this.updateValue(this.model.props.value)}validate(){this.model.errors=[]}get isValid(){return 0===this.model.errors.length}};SM.styles=[...qa.styles,xs`
|
|
5264
5264
|
:host {
|
|
5265
5265
|
width: 100%;
|
|
5266
5266
|
text-align: center;
|
|
5267
5267
|
}
|
|
5268
|
-
`],
|
|
5268
|
+
`],_M([Tn({type:Object})],SM.prototype,"model",void 0),_M([Tn({type:Object})],SM.prototype,"adapter",void 0),_M([Tn({type:String})],SM.prototype,"value",void 0),SM=_M([Ln("og-form-button"),Pa({props:["color","border","background"]})],SM);var zM=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 EM={type:YC.List,value:[],content:{sourceData:[{k:!0,v:"Visible",icon:"eye"},{k:!1,v:"Hidden",icon:"eye-slash"}],options:{allowEmpty:!1,checkboxes:!1,selectMode:Am.Single,autoClose:!0}}},LM=[{caption:"Sheet Settings",controls:[{row:0,col:0,type:YC.Label,value:"Name"},{row:0,col:1,type:YC.TextInput,key:"name",pattern:Jf},{row:1,col:0,type:YC.Label,value:"Sheet"},Object.assign({row:1,col:1,key:"visible"},EM),{row:2,col:0,type:YC.Label,value:"Color"},{row:2,col:1,type:YC.ColorInput,key:"color"},{row:3,col:0,type:YC.Label,value:"Grid"},Object.assign({row:3,col:1,key:"grid"},EM),{row:4,col:0,type:YC.Label,value:"Row numbers"},Object.assign({row:4,col:1,key:"rowNumbers"},EM),{row:5,col:0,type:YC.Label,value:"Column letters"},Object.assign({row:5,col:1,key:"colLetters"},EM)],columns:[{width:120},{width:null}]},{caption:"Workbook Settings",controls:[{row:0,col:0,type:YC.Label,value:"Hidden Sheets"},Object.assign({row:0,col:1,key:"hiddenSheetsVisible"},EM)],columns:[{width:120},{width:null}]}];let IM=class extends lM{connectedCallback(){super.connectedCallback(),this.setSourceData(LM)}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}:{}}};IM.styles=[...lM.styles],zM([Tn({type:Object})],IM.prototype,"model",void 0),zM([Tn({type:Object})],IM.prototype,"grid",void 0),zM([Tn({type:Object})],IM.prototype,"group",void 0),IM=zM([Ln("og-editor-form-config")],IM);const RM=xs`
|
|
5269
5269
|
:host {
|
|
5270
5270
|
box-sizing: border-box;
|
|
5271
5271
|
display: flex;
|
|
@@ -5300,7 +5300,7 @@
|
|
|
5300
5300
|
left: 0;
|
|
5301
5301
|
//pointer-events: none;
|
|
5302
5302
|
}
|
|
5303
|
-
`,
|
|
5303
|
+
`,TM={commandWindow:!0,editing:{headers:!0,conditionalStyles:!0,names:!0,sparklines:!0}};function AM(t,e=null){return ot({},TM,rs(t,e))}var $M=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 OM extends Event{constructor(t,e){super(`editor.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e)}}let DM=class extends zn{get group(){return this.gridContainer}get commandWindow(){return this.commandWindowRef.value}get tabMenu(){return this.tabMenuRef.value}constructor(){var t;super(),this.enableDrag=!0,this.toolbarDisabled=!1,this.statusbarDisabled=!1,this.formulabarDisabled=!1,this.options=AM(),this.commandWindowRef=Hd(),this.tabMenuRef=Hd(),this.plugins=new au(this),this.commands=new pg(this),this.shortcuts=new gs(this),this.sidebarComponents=new ru((async t=>{let e;switch(t){case"config":e=yt("og-editor-form-config");break;case"headers":e=yt("og-editor-form-headers");break;case"rules":e=yt("og-editor-rules");break;case"sparklines":e=yt("og-editor-form-sparklines");break;case"names":e=yt("og-editor-form-names");break;case"themes":e=yt("og-editor-themesidebar");break;default:e=this.createComponent?await this.createComponent(t):null}return e?(this.activeGrid&&(e.grid=this.activeGrid,e.range=this.activeGrid.selection.range),this.activeModel&&(e.model=this.activeModel),this.gridContainer&&(e.group=this.gridContainer),e):null})),this._onDragover=t=>{this.enableDrag&&(t.preventDefault(),t.stopPropagation(),"Files"==t.dataTransfer.types[0]&&(t.dataTransfer.dropEffect="move",this.overlay.text="drop file",this.overlay.show(this)))},this._onGridSelect=async t=>{if(!this.gridContainer.isFormulaMode){if(this.activateGrid(t.composedPath().find((t=>t instanceof Rk))),"headers"==this.rightSidebarComponent){const t=await this.sidebarComponents.get("headers");t.grid=this.activeGrid,t.range=this.activeGrid.selection.range.clone()}this.updateSelectedRange(t.selection.range)}},this._onGridEdit=t=>{switch(t.editType){case"delete_column":case"delete_row":case"insert_column":case"insert_row":this.updateSelectedRange(t.selection.range)}},this._onTabContextMenu=t=>{const e=t.uiEvent;this.activeMenuSheet=t.tab.id,this.tabMenu.openAt(e.pageX,e.pageY+1)},this.createGridContainer=()=>{const t=yt("og-gridgroup");return t.tabPosition="bottom",t.designMode=!0,t.model=this.model,t.options.commandWindow=!1,t.addEventListener("gridgroup.activate",(()=>{this.gridContainer.isFormulaMode||(this.activateGrid(this.gridContainer.activeGrid),this.updateCommands(),this.updateComponents())})),t.addEventListener("tab.contextmenu",this._onTabContextMenu),t.addEventListener("grid.select",this._onGridSelect),t.addEventListener("grid.edit",this._onGridEdit),t},this.createDefaultComponent=t=>0==t?this.getGridContainer():1==t?this.sidebarComponents.get(this.rightSidebarComponent):void 0,this._onToolbarAction=t=>{},this._onCommandsOpen=()=>{},this._onTabMenuItemSelect=t=>{switch(this.tabMenu.items[t.index].key){case"properties":this.activateGrid(this.gridContainer.grids.get(this.activeMenuSheet)),this.rightSidebarComponent="config";break;case"delete":this.gridContainer.deleteModel(this.activeMenuSheet);break;case"duplicate":this.gridContainer.duplicateModel(this.activeMenuSheet)}},this.render=()=>an`
|
|
5304
5304
|
${this.toolbarDisabled?"":an`
|
|
5305
5305
|
<og-editor-toolbar
|
|
5306
5306
|
.grid="${this.activeGrid}"
|
|
@@ -5336,7 +5336,7 @@
|
|
|
5336
5336
|
</og-menu>
|
|
5337
5337
|
|
|
5338
5338
|
<og-overlay striped></og-overlay>
|
|
5339
|
-
`,this.addEventListener("dragover",this._onDragover),this.addEventListener("dragleave",(()=>this.overlay.hide())),this.addEventListener("drop",(()=>this.overlay.hide())),(t=this).commands.clear(),function(t){return[{group:"editor",name:"show controls",exec:()=>{t.toolbarDisabled=!1,t.formulabarDisabled=!1}},{group:"editor",name:"hide controls",exec:()=>{t.toolbarDisabled=!0,t.formulabarDisabled=!0}},{group:"editor",name:"show statusbar",exec:()=>{t.statusbarDisabled=!1}},{group:"editor",name:"hide statusbar",exec:()=>{t.statusbarDisabled=!0}}]}(t).forEach((e=>t.commands.add(e))),this.shortcuts.register("F1","open_commands"),this.shortcuts.addEventListener("shortcut",(t=>{"open_commands"==t.action&&this.commands.open()}))}updateOptions(t){this.options=
|
|
5339
|
+
`,this.addEventListener("dragover",this._onDragover),this.addEventListener("dragleave",(()=>this.overlay.hide())),this.addEventListener("drop",(()=>this.overlay.hide())),(t=this).commands.clear(),function(t){return[{group:"editor",name:"show controls",exec:()=>{t.toolbarDisabled=!1,t.formulabarDisabled=!1}},{group:"editor",name:"hide controls",exec:()=>{t.toolbarDisabled=!0,t.formulabarDisabled=!0}},{group:"editor",name:"show statusbar",exec:()=>{t.statusbarDisabled=!1}},{group:"editor",name:"hide statusbar",exec:()=>{t.statusbarDisabled=!0}}]}(t).forEach((e=>t.commands.add(e))),this.shortcuts.register("F1","open_commands"),this.shortcuts.addEventListener("shortcut",(t=>{"open_commands"==t.action&&this.commands.open()}))}updateOptions(t){this.options=AM(t,this.options),this.requestUpdate()}connectedCallback(){super.connectedCallback(),this.tabIndex=0}willUpdate(t){this.hasUpdated||this.dispatchEvent(new OM("init",{editor:this})),t.has("model")&&(this.gridContainer=null)}updated(t){this.updateComponents(),(t.has("toolbarDisabled")||t.has("formulabarDisabled"))&&this.layout()}updateComponents(){this.sidebarComponents.items.forEach((t=>{t.grid=this.activeGrid,t.model=this.activeModel,t.group=this.gridContainer,t.range=this.activeGrid?.selection?.range.clone()}))}setSourceData(t){const e=this.getGridContainer();t.models?.forEach((t=>{t.options??(t.options={}),t.options.commandWindow=!1})),e.setSourceData(t),this.activeGrid=this.gridContainer?.grids?.entries().next().value,this.activeModel=this.activeGrid?.model}updateCommands(){this.activeGrid.commands.commands.forEach((t=>this.commands.add(t)))}layout(){this.container?.layout()}updateSelectedRange(t){const e=this.activeGrid.model;t.isColumn?this.gridElements=[...Array(t.size.columns).keys()].map((i=>e.columns[i+t.c1])):t.isRow?this.gridElements=[...Array(t.size.rows).keys()].map((i=>e.rows[i+t.r1])):this.gridElements=e.getCellArray(this.activeGrid.selection.range),this.statusbar.grid=this.activeGrid,this.statusbar.range=t.clone()}activateGrid(t){t&&(this.activeGrid=t,this.activeModel=t.model)}registerPlugin(t){this.plugins.register(t)}getGridContainer(){return this.gridContainer??(this.gridContainer=this.createGridContainer())}};DM.styles=[RM],$M([On("og-editor-formula")],DM.prototype,"formulaBar",void 0),$M([On("og-splitcontainer")],DM.prototype,"container",void 0),$M([On("og-editor-toolbar")],DM.prototype,"toolbar",void 0),$M([On("og-editor-statusbar")],DM.prototype,"statusbar",void 0),$M([On("og-overlay")],DM.prototype,"overlay",void 0),$M([Tn({type:Boolean})],DM.prototype,"enableDrag",void 0),$M([Tn({type:Object})],DM.prototype,"model",void 0),$M([Tn({attribute:!1})],DM.prototype,"createComponent",void 0),$M([Tn({type:Boolean})],DM.prototype,"toolbarDisabled",void 0),$M([Tn({type:Boolean})],DM.prototype,"statusbarDisabled",void 0),$M([Tn({type:Boolean})],DM.prototype,"formulabarDisabled",void 0),$M([Tn({type:Object})],DM.prototype,"options",void 0),$M([Tn({type:String})],DM.prototype,"rightSidebarComponent",void 0),$M([An()],DM.prototype,"gridElements",void 0),$M([An()],DM.prototype,"activeRange",void 0),$M([An()],DM.prototype,"activeGrid",void 0),$M([An()],DM.prototype,"activeModel",void 0),DM=$M([Ln("og-editor")],DM);var NM=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 PM=class extends zn{constructor(){super(...arguments),this._onSlideStart=t=>{this.group.hideSelectors()},this._onSlide=t=>{this.updateText(t.value),this.group.previewZoom(this.translateValue(t.value))},this._onSlideEnd=t=>{this.group.showSelectors(),this.slider.value=10*Math.round(t.value/10),this.updateText(this.slider.value),this.group.zoom=this.translateValue(this.slider.value)},this.render=()=>an`
|
|
5340
5340
|
<div id="inner">
|
|
5341
5341
|
<og-slider
|
|
5342
5342
|
cursor="ew-resize"
|
|
@@ -5348,7 +5348,7 @@
|
|
|
5348
5348
|
@slideEnd="${this._onSlideEnd}">
|
|
5349
5349
|
</og-slider>
|
|
5350
5350
|
</div>
|
|
5351
|
-
`}translateValue(t){return Math.round(t<100?50+t/2:t)/100}updateText(t){this.slider.setText(`${Math.round(100*this.translateValue(t)).toString()}%`)}async updated(){let t=1;this.group&&(await this.group.updateComplete,t=this.group.zoom),await this.updateComplete,this.slider.value=100*t,this.updateText(this.slider.value)}};
|
|
5351
|
+
`}translateValue(t){return Math.round(t<100?50+t/2:t)/100}updateText(t){this.slider.setText(`${Math.round(100*this.translateValue(t)).toString()}%`)}async updated(){let t=1;this.group&&(await this.group.updateComplete,t=this.group.zoom),await this.updateComplete,this.slider.value=100*t,this.updateText(this.slider.value)}};PM.styles=[xs`
|
|
5352
5352
|
:host {
|
|
5353
5353
|
display: block;
|
|
5354
5354
|
}
|
|
@@ -5363,7 +5363,7 @@
|
|
|
5363
5363
|
width: 200px;
|
|
5364
5364
|
height: 100%;
|
|
5365
5365
|
}
|
|
5366
|
-
`],
|
|
5366
|
+
`],NM([Tn({type:Object})],PM.prototype,"group",void 0),NM([On("og-slider")],PM.prototype,"slider",void 0),PM=NM([Ln("og-editor-zoom")],PM);const jM=xs`
|
|
5367
5367
|
* {
|
|
5368
5368
|
box-sizing: border-box;
|
|
5369
5369
|
}
|
|
@@ -5408,7 +5408,7 @@
|
|
|
5408
5408
|
display: block;
|
|
5409
5409
|
padding: 0;
|
|
5410
5410
|
}
|
|
5411
|
-
`;var
|
|
5411
|
+
`;var HM=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 FM=class extends zn{constructor(){super(...arguments),this.isInputActive=!1,this._onGridSelectorUpdate=t=>{if(!this.isInputActive)return;if(null==t.selector?.index)return;const e=t.selector.selection.clone();t.selector.grid!=this.grid&&(e.sheet=t.selector.grid.model.name),this.formulaInput.setRange(e,t.selector.index)},this._onGridSelect=t=>{if(t.grid.editing.isFormulaMode){if(!this.isInputActive)return;const e=t.selection.range.clone();t.grid!=this.grid&&(e.sheet=t.grid.model.name),this.formulaInput.setRange(e)}else t.selection.range.isCell?this.gridElement=t.grid.selecting.activeCell:t.selection.range.isColumn?this.gridElement=t.grid.selecting.activeCell.column:t.selection.range.isRow&&(this.gridElement=t.grid.selecting.activeCell.row),this.formulaInput&&(this.formulaInput.value=this.gridElementValue)},this._onInputPreview=t=>{this.grid.selecting.removeFormulaHighlight(),t.formula&&this.grid.selecting.highlightFormula(t.formula)},this._onInputCommit=()=>{this.commit()},this._onInputDiscard=()=>{this.formulaInput.isDiscarded||this.commit(),this.grid.editing.endFormulaMode(),this.grid.focus(),this.isInputActive=!1,this.formulaInput.value=(this.gridElement?this.gridElement.value2??"":"").toString()},this._onAddressFocus=()=>{const t=this.grid?.selection.range,e=this.gridElement?.name;this.addressInput.selectionStart=e?t.A1.length+2:0,this.addressInput.selectionEnd=e?this.addressInput.selectionStart+e.length:t.A1.length},this._onInputFocus=()=>{this.isInputActive=!0,Rv(this.formulaInput.inputValue)&&this.grid.editing.startFormulaMode()},this._onInput=()=>{Rv(this.formulaInput.inputValue)&&this.grid.editing.startFormulaMode()},this.render=()=>{const t=this.grid?.selection.range;return an`
|
|
5412
5412
|
<div id="address">
|
|
5413
5413
|
<input id="addressInput"
|
|
5414
5414
|
type="text"
|
|
@@ -5426,13 +5426,13 @@
|
|
|
5426
5426
|
@formula.commit="${this._onInputCommit}"
|
|
5427
5427
|
@formula.discard="${this._onInputDiscard}">
|
|
5428
5428
|
</og-grid-formula>
|
|
5429
|
-
`}}get gridElementValue(){return(this.gridElement?.value2??"").toString()}willUpdate(t){if(t.has("grid")&&this.grid){const t=this.grid.group?this.grid.group:this.grid;t.removeEventListener("grid.selector.resize",this._onGridSelectorUpdate),t.removeEventListener("grid.selector.move",this._onGridSelectorUpdate),t.removeEventListener("grid.select",this._onGridSelect),t.addEventListener("grid.selector.resize",this._onGridSelectorUpdate),t.addEventListener("grid.selector.move",this._onGridSelectorUpdate),t.addEventListener("grid.select",this._onGridSelect)}}commit(){if(this.formulaInput.isDiscarded)return;const t=this.gridElement,e=this.formulaInput.value;t instanceof fw?(t.value=e,this.grid.rendering.updateCell(t,!0)):t&&Rv(e)?(t.formula=e,this.grid.rendering.calculateViewport(!0),this.grid.rendering.render(!1)):t&&(t.formula=null,this.grid.rendering.calculateViewport(!0),this.grid.rendering.render(!1)),this.grid.editing.endFormulaMode(),this.grid.focus(),this.isInputActive=!1}};
|
|
5429
|
+
`}}get gridElementValue(){return(this.gridElement?.value2??"").toString()}willUpdate(t){if(t.has("grid")&&this.grid){const t=this.grid.group?this.grid.group:this.grid;t.removeEventListener("grid.selector.resize",this._onGridSelectorUpdate),t.removeEventListener("grid.selector.move",this._onGridSelectorUpdate),t.removeEventListener("grid.select",this._onGridSelect),t.addEventListener("grid.selector.resize",this._onGridSelectorUpdate),t.addEventListener("grid.selector.move",this._onGridSelectorUpdate),t.addEventListener("grid.select",this._onGridSelect)}}commit(){if(this.formulaInput.isDiscarded)return;const t=this.gridElement,e=this.formulaInput.value;t instanceof fw?(t.value=e,this.grid.rendering.updateCell(t,!0)):t&&Rv(e)?(t.formula=e,this.grid.rendering.calculateViewport(!0),this.grid.rendering.render(!1)):t&&(t.formula=null,this.grid.rendering.calculateViewport(!0),this.grid.rendering.render(!1)),this.grid.editing.endFormulaMode(),this.grid.focus(),this.isInputActive=!1}};FM.styles=[jM],HM([Tn({type:Object})],FM.prototype,"grid",void 0),HM([An()],FM.prototype,"gridElement",void 0),HM([On("#addressInput")],FM.prototype,"addressInput",void 0),HM([On("#formulaInput")],FM.prototype,"formulaInput",void 0),FM=HM([Ln("og-editor-formula")],FM);var BM=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 WM=class extends zn{constructor(){super(...arguments),this.stats=[],this.render=()=>an`
|
|
5430
5430
|
${Pn(this.stats,(t=>an`
|
|
5431
5431
|
<div class="item">
|
|
5432
5432
|
<span>${t[0]}</span>: <span>${t[1]}</span>
|
|
5433
5433
|
</div>
|
|
5434
5434
|
`))}
|
|
5435
|
-
`}willUpdate(t){if((t.has("grid")||t.has("range"))&&this.range&&this.grid?.model){const t=[],e=this.grid.model.getValuesInRange(yv.fromA1(this.range.A1)),i=gr(this.grid.options.locale,"#,0.###"),o=Zy.get("AVERAGE")(e);o&&t.push(["avg",i(o)]);const r=Zy.get("COUNT")(e);r&&t.push(["cnt",r.toString()]);const s=Zy.get("SUM")(e);s&&t.push(["sum",i(s)]),this.stats=t}}};
|
|
5435
|
+
`}willUpdate(t){if((t.has("grid")||t.has("range"))&&this.range&&this.grid?.model){const t=[],e=this.grid.model.getValuesInRange(yv.fromA1(this.range.A1)),i=gr(this.grid.options.locale,"#,0.###"),o=Zy.get("AVERAGE")(e);o&&t.push(["avg",i(o)]);const r=Zy.get("COUNT")(e);r&&t.push(["cnt",r.toString()]);const s=Zy.get("SUM")(e);s&&t.push(["sum",i(s)]),this.stats=t}}};WM.styles=[xs`
|
|
5436
5436
|
:host {
|
|
5437
5437
|
display: flex;
|
|
5438
5438
|
flex-direction: row;
|
|
@@ -5444,17 +5444,17 @@
|
|
|
5444
5444
|
.item {
|
|
5445
5445
|
flex: 1;
|
|
5446
5446
|
}
|
|
5447
|
-
`],
|
|
5447
|
+
`],BM([Tn({type:Object})],WM.prototype,"grid",void 0),BM([Tn({type:Object})],WM.prototype,"range",void 0),BM([An()],WM.prototype,"stats",void 0),WM=BM([Ln("og-editor-gridstats")],WM);var VM=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 UM=[{type:"custom",id:"stats"},{type:"custom",id:"zoom"}],GM=new Map([["stats",t=>{const e=yt("og-editor-gridstats");return e.group=t,e}],["zoom",t=>{const e=yt("og-editor-zoom");return e.group=t,e}]]);let qM=class extends zn{constructor(){super(...arguments),this.components=new Map,this._onGridEdit=t=>{},this.createComponent=t=>(this.components.has(t)||this.components.set(t,GM.get(t)(this.group)),this.components.get(t)),this.render=()=>an`
|
|
5448
5448
|
<og-statusbar
|
|
5449
|
-
.rightItems="${
|
|
5449
|
+
.rightItems="${UM}"
|
|
5450
5450
|
.createComponent="${this.createComponent}">
|
|
5451
5451
|
</og-statusbar>
|
|
5452
|
-
`}willUpdate(t){this.components.forEach((t=>{t.group=this.group,t.grid=this.grid,t.range=this.range}))}};
|
|
5452
|
+
`}willUpdate(t){this.components.forEach((t=>{t.group=this.group,t.grid=this.grid,t.range=this.range}))}};VM([Tn({type:Object})],qM.prototype,"group",void 0),VM([Tn({type:Object})],qM.prototype,"grid",void 0),VM([Tn({type:Object})],qM.prototype,"range",void 0),qM=VM([Ln("og-editor-statusbar")],qM);const YM=t=>{const e=["outside-thick","bottom-thick"].indexOf(t)>-1?"2px":"1.5px",i={boxSizing:"border-box",width:"15px",height:"15px",marginLeft:"2px",borderWidth:"1px",borderColor:"var(--og-text-color-2)",borderStyle:"dotted",position:"relative"};"top"!=t&&"top-bottom"!=t&&"top-bottom-thick"!=t&&"all"!=t&&"outside"!=t&&"outside-thick"!=t||(i.borderTopStyle="solid",i.borderTopWidth=e),"right"!=t&&"all"!=t&&"outside"!=t&&"outside-thick"!=t||(i.borderRightStyle="solid",i.borderRightWidth=e),"bottom"!=t&&"top-bottom"!=t&&"all"!=t&&"outside"!=t&&"outside-thick"!=t||(i.borderBottomStyle="solid",i.borderBottomWidth=e),"bottom-double"==t&&(i.borderBottomStyle="double",i.borderBottomWidth="2px"),"bottom-thick"!=t&&"top-bottom-thick"!=t||(i.borderBottomStyle="solid",i.borderBottomWidth="2px"),"left"!=t&&"all"!=t&&"outside"!=t&&"outside-thick"!=t||(i.borderLeftStyle="solid",i.borderLeftWidth=e),i.position="relative",i.left="-2px";const o={position:"absolute",width:"100%",height:"50%",top:"0",left:"0",borderColor:"var(--og-text-color-2)",borderWidth:"all"==t?e:"1px",borderBottomStyle:"all"==t?"solid":"dotted"},r={position:"absolute",width:"50%",height:"100%",top:"0",left:"0",borderColor:"var(--og-text-color-2)",borderWidth:"all"==t?e:"1px",borderRightStyle:"all"==t?"solid":"dotted"};return an`
|
|
5453
5453
|
<div style="${Vn(i)}">
|
|
5454
5454
|
<div style="${Vn(o)}"></div>
|
|
5455
5455
|
<div style="${Vn(r)}"></div>
|
|
5456
5456
|
</div>
|
|
5457
|
-
`},
|
|
5457
|
+
`},ZM=[{type:"button",id:"undo",icon:{icon:"rotate-left"}},{type:"button",id:"redo",icon:{icon:"rotate-right"}},{type:"togglebutton",id:"bold",icon:{icon:"bold"}},{type:"togglebutton",id:"italic",icon:{icon:"italic"}},{type:"togglebutton",id:"underline",icon:{icon:"underline"}},{type:"text",id:"sz",width:40,items:[8,9,10,11,12,14,16,18,20,22,24,26].map((t=>({k:t.toString(),v:t.toString()}))),placeholder:""},{type:"dropdown-button",id:"alignment",items:[[{type:"button",id:"alignTopLeft",value:{vertical:"top",horizontal:"left"},icon:{icon:"align-right",rotation:180}},{type:"button",id:"alignTopCenter",value:{vertical:"top",horizontal:"center"},icon:{icon:"align-center"}},{type:"button",id:"alignTopRight",value:{vertical:"top",horizontal:"right"},icon:{icon:"align-left",rotation:180}}],[{type:"button",id:"alignCenterLeft",value:{vertical:"center",horizontal:"left"},icon:{icon:"align-left"}},{type:"button",id:"alignCenterCenter",value:{vertical:"center",horizontal:"center"},icon:{icon:"align-center"}},{type:"button",id:"alignCenterRight",value:{vertical:"center",horizontal:"right"},default:!0,icon:{icon:"align-right"}}],[{type:"button",id:"alignBottomLeft",value:{vertical:"bottom",horizontal:"left"},icon:{icon:"align-left"}},{type:"button",id:"alignBottomCenter",value:{vertical:"bottom",horizontal:"center"},icon:{icon:"align-center"}},{type:"button",id:"alignBottomRight",value:{vertical:"bottom",horizontal:"right"},icon:{icon:"align-right"}}]]},{type:"dropdown",id:"type",width:80,items:[["General","g"],["Text","t"],["Number","n"],["Date","d"],["DateTime","dt"],["Time","tm"],["Checkbox","b"]].map((([t,e])=>({k:e,v:t})))},{type:"text",id:"format",width:100,items:["#,0.0","#,0.00","#,0.000","0%","0.0%","0.00%","0.000%"].map((t=>({k:t,v:t}))),placeholder:"<format>"},{type:"color",id:"color",icon:{icon:"font"}},{type:"color",id:"fgColor",icon:{icon:"fill"}},{type:"togglebutton",id:"merge",title:"Merge",icon:{icon:"object-union"}},{type:"togglebutton",id:"wrap",title:"Word wrap",icon:{icon:"text",statusIcon:"arrow-turn-down"}},{type:"dropdown-button",id:"border",icon:{icon:"align-center"},items:[[{type:"button",id:"borderLeft",value:{left:{style:"thin"}},content:YM("left")},{type:"button",id:"borderRight",value:{right:{style:"thin"}},content:YM("right")},{type:"button",id:"borderTop",value:{top:{style:"thin"}},content:YM("top")},{type:"button",id:"borderBottom",value:{bottom:{style:"thin"}},content:YM("bottom")}],[{type:"button",id:"borderNone",value:{left:null,top:null,right:null,bottom:null},content:YM("none")},{type:"button",id:"borderAll",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:YM("all")},{type:"button",id:"borderOutside",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:YM("outside")},{type:"button",id:"borderOutsideThick",value:{left:{style:"thick"},top:{style:"thick"},right:{style:"thick"},bottom:{style:"thick"}},content:YM("outside-thick")}],[{type:"button",id:"borderBottomDouble",value:{bottom:{style:"double"}},content:YM("bottom-double")},{type:"button",id:"borderBottomThick",value:{bottom:{style:"thick"}},content:YM("bottom-thick")},{type:"button",id:"borderTopBottom",value:{top:{style:"thin"},bottom:{style:"thin"}},content:YM("top-bottom")},{type:"button",id:"borderTopBottomThick",value:{top:{style:"thin"},bottom:{style:"thick"}},content:YM("top-bottom-thick")}],[{type:"color",id:"borderColor",colspan:4,icon:{icon:"fill"}}]]},{type:"dropdown-custom",id:"hyperlink",title:"Hyperlink",icon:{icon:"link"},createComponent:(t,e)=>yt("og-hyperlinkeditor",{href:e})}],XM=[{type:"dropdown",id:"theme",width:80,items:[]},{type:"togglebutton",id:"themes",icon:{icon:"palette"},title:"Themes"}],QM=[{type:"togglebutton",id:"headers",icon:{icon:"heading"},title:"Headers"},{type:"togglebutton",id:"rules",icon:{icon:"paintbrush-pencil"},title:"Conditional formatting"},{type:"togglebutton",id:"sparklines",icon:{icon:"chart-simple"},title:"Sparklines"},{type:"togglebutton",id:"names",icon:{icon:"table-cells",statusIcon:"input-text"},title:"Named ranges"}],KM=[{type:"togglebutton",id:"config",icon:{icon:"gear"}}],JM=xs`
|
|
5458
5458
|
* {
|
|
5459
5459
|
box-sizing: border-box;
|
|
5460
5460
|
}
|
|
@@ -5473,7 +5473,7 @@
|
|
|
5473
5473
|
width: 10px;
|
|
5474
5474
|
background-color: var(--og-background-color-2);
|
|
5475
5475
|
}
|
|
5476
|
-
`;var
|
|
5476
|
+
`;var t_=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 e_=class extends zn{constructor(){super(...arguments),this.toolbar1Config=ZM,this.toolbar2Config=XM,this.toolbar3Config=QM,this.toolbar4Config=KM,this._borderColor="ff0000",this._onGridEdit=t=>{this.updateToolbar()},this._onToolbarAction=t=>{if(!this.grid)return;let{key:e,value:i}=t.action;e=e??"";let o=!1,r=!1;const s="preview"==t.action.type,n="previewEnd"==t.action.type;if("theme"==e)return this.grid.model.applyTheme(this.editor.gridContainer.model.themes.get(i),!0),void this.grid.refresh();if("undo"==e)return this.grid.editing.undo(),void this.updateToolbar();if("redo"==e)return this.grid.editing.redo(),void this.updateToolbar();if("merge"==e?i?this.grid.editing.merge():this.grid.editing.unmerge():"wrap"==e?r=!0:["color","fgColor","bgColor"].indexOf(e)>-1?(i=i?i.substring(1):"",o=!0,r=!0):["bold","italic","underline"].indexOf(e)>-1?r=!0:e.startsWith("borderColor")?this._borderColor=i:e.startsWith("align")?r=!0:e.startsWith("border")?(r=!0,o=!0):"sz"==e&&(r=!0),s||n)for(const e of this.grid.model.getRangeIterator(this.grid.selection.range,s))this.applyProperty(e,t.action,i,r);else this.gridElements?.forEach((e=>this.applyProperty(e,t.action,i,r)));s&&o?this.grid.selecting.hideSelector():n?this.grid.selecting.showSelector():this.updateToolbar(),this.grid.rendering.updateCellSelectionRange(),this.grid.focus(),"config"==e?(this.editor.rightSidebarComponent=i?"config":null,this.updateToolbar()):"headers"==e?(this.editor.rightSidebarComponent=i?"headers":null,this.updateToolbar()):"rules"==e?(this.editor.rightSidebarComponent=i?"rules":null,this.updateToolbar()):"sparklines"==e?(this.editor.rightSidebarComponent=i?"sparklines":null,this.updateToolbar()):"names"==e?(this.editor.rightSidebarComponent=i?"names":null,this.updateToolbar()):"themes"==e&&(this.editor.rightSidebarComponent=i?"themes":null,this.updateToolbar()),this.dispatchEvent(new Vr("editor.toolbar",t.action))},this.render=()=>{const t=this.getToolbar1Config(),e=this.getToolbar2Config(),i=this.getToolbar3Config(),o=this.getToolbar4Config();return an`
|
|
5477
5477
|
${t.length>0?an`
|
|
5478
5478
|
<og-toolbar
|
|
5479
5479
|
id="toolbar1"
|
|
@@ -5515,9 +5515,9 @@
|
|
|
5515
5515
|
@toolbar.action="${this._onToolbarAction}">
|
|
5516
5516
|
</og-toolbar>
|
|
5517
5517
|
`:""}
|
|
5518
|
-
`}}get gridElement(){return this.gridElements?.length>0?this.gridElements[0]:null}filterToolbarItems(t){return t.filter((t=>{switch(t.id){case"undo":case"redo":return this.grid?.history;case"headers":return this.editor?.options.editing.headers;case"rules":return this.editor?.options.editing.conditionalStyles;case"sparklines":return this.editor?.options.editing.sparklines;case"names":return this.editor?.options.editing.names;case"theme":case"themes":return this.editor?.gridContainer?.model?.themes.size>0;default:return!0}}))}getToolbar1Config(){return
|
|
5518
|
+
`}}get gridElement(){return this.gridElements?.length>0?this.gridElements[0]:null}filterToolbarItems(t){return t.filter((t=>{switch(t.id){case"undo":case"redo":return this.grid?.history;case"headers":return this.editor?.options.editing.headers;case"rules":return this.editor?.options.editing.conditionalStyles;case"sparklines":return this.editor?.options.editing.sparklines;case"names":return this.editor?.options.editing.names;case"theme":case"themes":return this.editor?.gridContainer?.model?.themes.size>0;default:return!0}}))}getToolbar1Config(){return ZM[0].disabled=!this.grid?.history||0==this.grid.history.stack.length,ZM[1].disabled=!this.grid?.history||0==this.grid.history.restack.length,this.filterToolbarItems(this.toolbar1Config)}getToolbar2Config(){const t=this.filterToolbarItems(this.toolbar2Config);if(t.length>0){const e=this.editor.gridContainer.model.themes;t[0].items=Array.from(e.values()).map((t=>({k:t.name,v:t.name})))}return t}getToolbar3Config(){return this.filterToolbarItems(this.toolbar3Config)}getToolbar4Config(){return this.filterToolbarItems(this.toolbar4Config)}willUpdate(t){t.has("editor")&&(t.get("editor")?.removeEventListener("grid.edit",this._onGridEdit),this.editor?.addEventListener("grid.edit",this._onGridEdit))}firstUpdated(){this.dispatchEvent(new OM("toolbar.init",{editor:this.editor}))}getToolbarValues(){const t=Object.assign({},this.gridElement?.composedStyle);return t.color&&(t.color="#"+t.color),t.fgColor&&(t.fgColor="#"+t.fgColor),t.bgColor&&(t.bgColor="#"+t.bgColor),t.alignment&&t.alignment.wrapText&&(t.wrap=!0),this.gridElement&&(t.type=this.gridElement.type,t.merge=this.gridElement instanceof fw&&this.gridElement.merge,t.format=this.gridElement.format,t.hyperlink=this.gridElement instanceof fw?this.gridElement.hyperlink:null),t.config="config"==this.editor?.rightSidebarComponent,t.headers="headers"==this.editor?.rightSidebarComponent,t.rules="rules"==this.editor?.rightSidebarComponent,t.sparklines="sparklines"==this.editor?.rightSidebarComponent,t.names="names"==this.editor?.rightSidebarComponent,t.themes="themes"==this.editor?.rightSidebarComponent,t}getCellBorderStyles(t,e,i,o){const r=this._borderColor.length>6?this._borderColor.substring(1):this._borderColor,s={};return i.top&&(i.top.color=r),i.right&&(i.right.color=r),i.bottom&&(i.bottom.color=r),i.left&&(i.left.color=r),s.bottom=i.bottom&&(t instanceof fw&&t.r==e.r2||"borderAll"==o)?i.bottom:null,s.top=i.top&&(t instanceof fw&&t.r==e.r1||"borderAll"==o)?i.top:null,s.left=i.left&&(t instanceof fw&&t.c==e.c1||"borderAll"==o)?i.left:null,s.right=i.right&&(t instanceof fw&&t.c==e.c2||"borderAll"==o)?i.right:null,s}applyProperty(t,e,i,o){let{key:r}=e;const s="preview"==e.type;if(s&&t instanceof fw&&t.invalidateStyle(),r.startsWith("align")?(i=Object.assign(this.gridElement?.composedStyle?.alignment??{},i),r="alignment"):"type"==r?t.type=i:"format"==r?t.format=i:"hyperlink"==r?t.hyperlink=i:"wrap"==r&&(i=Object.assign(this.gridElement?.composedStyle?.alignment??{},{wrapText:!!i}),r="alignment"),o)if("previewEnd"==e.type)t instanceof fw&&t.invalidateStyle();else if(r.startsWith("border")){const e=this.getCellBorderStyles(t,this.grid.selection.range,i,r);s?t instanceof fw&&t.previewStyleProperties(e):t.setStyleProperties(e)}else s?t instanceof fw&&t.previewStyleProperties({[r]:i}):t.setStyleProperties({[r]:i})}async updateToolbar(){this.requestUpdate()}};e_.styles=[JM],t_([On("#toolbar1")],e_.prototype,"toolbar1",void 0),t_([On("#toolbar2")],e_.prototype,"toolbar2",void 0),t_([On("#toolbar3")],e_.prototype,"toolbar3",void 0),t_([On("#toolbar4")],e_.prototype,"toolbar4",void 0),t_([Tn({type:Object})],e_.prototype,"grid",void 0),t_([Tn({type:Object})],e_.prototype,"editor",void 0),t_([Tn({type:Array})],e_.prototype,"gridElements",void 0),t_([Tn({type:Array})],e_.prototype,"toolbar1Config",void 0),t_([Tn({type:Array})],e_.prototype,"toolbar2Config",void 0),t_([Tn({type:Array})],e_.prototype,"toolbar3Config",void 0),t_([Tn({type:Array})],e_.prototype,"toolbar4Config",void 0),e_=t_([Ln("og-editor-toolbar")],e_);var i_=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 o_=class extends zn{connectedCallback(){super.connectedCallback()}getGridColumn(){return this.grid.model.columns[this.range.c1]}getFormContainerConfig(){const t={caption:"Headers",controls:[],columns:[{width:null},{width:60},{width:60},{width:20}]};if(this.range){this.headerCount>0&&(t.controls.push({row:0,col:0,type:YC.Label,value:"Label"}),t.controls.push({row:0,col:1,type:YC.Label,value:"Colspan"}),t.controls.push({row:0,col:2,type:YC.Label,value:"Rowspan"}));const e=this.getGridColumn();for(let i=0;i<this.headerCount;i++){const o=i+1;t.controls.push({row:o,col:0,type:YC.TextInput,key:`label-${i}`,value:e.header[i]?.label}),t.controls.push({row:o,col:1,type:YC.NumericInput,key:`colspan-${i}`,value:e.header[i]?.cs||1}),t.controls.push({row:o,col:2,type:YC.NumericInput,key:`rowspan-${i}`,value:e.header[i]?.rs||1}),t.controls.push({row:o,col:3,type:YC.Button,key:`remove-${i}`,options:{color:"red",icon:"trash"}})}t.controls.push({row:this.headerCount+1,col:0,type:YC.Button,key:"add",value:"+",cs:3})}return[t]}constructor(){super(),this.render=()=>an`
|
|
5519
5519
|
<og-form-container></og-form-container>
|
|
5520
|
-
`,this.addEventListener("form.change",(t=>{if("add"==t.key)++this.headerCount;else if(t.key.startsWith("remove-")){const e=parseInt(t.key.substring(7));this.grid.model.removeHeader(e),this.grid.rendering.updateHeaders(),--this.headerCount}else{const t=this.formContainer.forms[0].values,e=this.getGridColumn(),i=[];for(let o=0;o<this.headerCount;o++)i.push(Object.assign(e.header[o]||{},{label:t[`label-${o}`],cs:t[`colspan-${o}`],rs:t[`rowspan-${o}`]}));e.header=i,this.grid.rendering.updateHeaders()}}))}willUpdate(t){t.has("range")&&!t.has("headerCount")&&(this.headerCount=this.grid?this.grid.model.headerCount:0)}updated(t){(t.has("range")||t.has("headerCount"))&&this.formContainer.setSourceData(this.getFormContainerConfig())}};
|
|
5520
|
+
`,this.addEventListener("form.change",(t=>{if("add"==t.key)++this.headerCount;else if(t.key.startsWith("remove-")){const e=parseInt(t.key.substring(7));this.grid.model.removeHeader(e),this.grid.rendering.updateHeaders(),--this.headerCount}else{const t=this.formContainer.forms[0].values,e=this.getGridColumn(),i=[];for(let o=0;o<this.headerCount;o++)i.push(Object.assign(e.header[o]||{},{label:t[`label-${o}`],cs:t[`colspan-${o}`],rs:t[`rowspan-${o}`]}));e.header=i,this.grid.rendering.updateHeaders()}}))}willUpdate(t){t.has("range")&&!t.has("headerCount")&&(this.headerCount=this.grid?this.grid.model.headerCount:0)}updated(t){(t.has("range")||t.has("headerCount"))&&this.formContainer.setSourceData(this.getFormContainerConfig())}};i_([Tn({type:Object})],o_.prototype,"grid",void 0),i_([Tn({type:Object})],o_.prototype,"range",void 0),i_([On("og-form-container")],o_.prototype,"formContainer",void 0),i_([An()],o_.prototype,"headerCount",void 0),o_=i_([Ln("og-editor-form-headers")],o_);const r_=xs`
|
|
5521
5521
|
* {
|
|
5522
5522
|
box-sizing: border-box;
|
|
5523
5523
|
}
|
|
@@ -5549,7 +5549,7 @@
|
|
|
5549
5549
|
og-list {
|
|
5550
5550
|
height: 100%;
|
|
5551
5551
|
}
|
|
5552
|
-
`,
|
|
5552
|
+
`,s_=xs`
|
|
5553
5553
|
.p {
|
|
5554
5554
|
padding: 5px;
|
|
5555
5555
|
}
|
|
@@ -5607,7 +5607,7 @@
|
|
|
5607
5607
|
width: 24px;
|
|
5608
5608
|
display: block;
|
|
5609
5609
|
}
|
|
5610
|
-
`;var
|
|
5610
|
+
`;var n_=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 a_=class extends zn{constructor(){super(...arguments),this.updateList=()=>{this._items=null,this.list.size=this.items.length,this.list.renderItems(!0)},this._onApplyClick=()=>{this.grid.rendering.render(!1)},this._itemRenderer=(t,e)=>{const i=this.items[e];return an`
|
|
5611
5611
|
<div class="item-content p">
|
|
5612
5612
|
<div class="item-form">
|
|
5613
5613
|
<div class="row item-header">
|
|
@@ -5652,12 +5652,12 @@
|
|
|
5652
5652
|
<div class="body">
|
|
5653
5653
|
<og-list ?nativeHeight="${!0}"
|
|
5654
5654
|
itemHeight="120"
|
|
5655
|
-
.customStyle=${
|
|
5655
|
+
.customStyle=${s_}
|
|
5656
5656
|
.itemRenderer="${this._itemRenderer}"
|
|
5657
5657
|
.size="${this.model.names.names.size}">
|
|
5658
5658
|
</og-list>
|
|
5659
5659
|
</div>
|
|
5660
|
-
`:""}get items(){return this._items??(this._items=Array.from(this.model.names.names))}connectedCallback(){super.connectedCallback()}deleteName(t){this.model.names.delete(this.items[t][0]),this.updateList()}addName(){const t=this.grid.selection.range.clone();this.model.names.set(`${t.bounds[0][0].A1}_${t.bounds[1][1].A1}`,t),this.updateList()}_onInputChange(t,e){const i=this.model.sparklines,o=i.groups.get(e),r=t.target;switch(r.dataset.id){case"locRange":i.update(e,r.value?yv.fromA1(r.value):null,o.dataRanges);break;case"dataRange":i.update(e,o.locRange,r.value?yv.fromA1s(r.value).map((t=>[t,null])):null)}}updated(){this.updateList()}};
|
|
5660
|
+
`:""}get items(){return this._items??(this._items=Array.from(this.model.names.names))}connectedCallback(){super.connectedCallback()}deleteName(t){this.model.names.delete(this.items[t][0]),this.updateList()}addName(){const t=this.grid.selection.range.clone();this.model.names.set(`${t.bounds[0][0].A1}_${t.bounds[1][1].A1}`,t),this.updateList()}_onInputChange(t,e){const i=this.model.sparklines,o=i.groups.get(e),r=t.target;switch(r.dataset.id){case"locRange":i.update(e,r.value?yv.fromA1(r.value):null,o.dataRanges);break;case"dataRange":i.update(e,o.locRange,r.value?yv.fromA1s(r.value).map((t=>[t,null])):null)}}updated(){this.updateList()}};a_.styles=[r_],n_([Tn({type:Object})],a_.prototype,"grid",void 0),n_([Tn({type:Object})],a_.prototype,"model",void 0),n_([On("og-list")],a_.prototype,"list",void 0),a_=n_([Ln("og-editor-form-names")],a_);const l_=xs`
|
|
5661
5661
|
* {
|
|
5662
5662
|
box-sizing: border-box;
|
|
5663
5663
|
}
|
|
@@ -5704,7 +5704,7 @@
|
|
|
5704
5704
|
width: 24px;
|
|
5705
5705
|
display: block;
|
|
5706
5706
|
}
|
|
5707
|
-
`;var
|
|
5707
|
+
`;var c_=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 h_=class extends zn{constructor(){super(...arguments),this.render=()=>this.format?an`
|
|
5708
5708
|
<div class="row">${Ao("Range")}</div>
|
|
5709
5709
|
|
|
5710
5710
|
<div class="row">
|
|
@@ -5717,7 +5717,7 @@
|
|
|
5717
5717
|
</div>
|
|
5718
5718
|
|
|
5719
5719
|
<og-editor-ruleeditor .format="${this.format}"></og-editor-ruleeditor>
|
|
5720
|
-
`:null}updateFormat(){this.format&&(this.rangesInput?this.format.ranges=yv.fromA1s(this.rangesInput.value):this.format.ranges=null)}};
|
|
5720
|
+
`:null}updateFormat(){this.format&&(this.rangesInput?this.format.ranges=yv.fromA1s(this.rangesInput.value):this.format.ranges=null)}};h_.styles=[l_],c_([Tn({type:Object})],h_.prototype,"model",void 0),c_([Tn({type:Object})],h_.prototype,"format",void 0),c_([On("og-input#ranges")],h_.prototype,"rangesInput",void 0),c_([On("og-input#condition")],h_.prototype,"conditionInput",void 0),h_=c_([Ln("og-editor-form-rule")],h_);const d_=xs`
|
|
5721
5721
|
* {
|
|
5722
5722
|
box-sizing: border-box;
|
|
5723
5723
|
}
|
|
@@ -5749,7 +5749,7 @@
|
|
|
5749
5749
|
og-list {
|
|
5750
5750
|
height: 100%;
|
|
5751
5751
|
}
|
|
5752
|
-
`,
|
|
5752
|
+
`,u_=xs`
|
|
5753
5753
|
.item {
|
|
5754
5754
|
padding: 4px;
|
|
5755
5755
|
border-top: 1px solid var(--og-accent-color);
|
|
@@ -5782,14 +5782,14 @@
|
|
|
5782
5782
|
width: 20px;
|
|
5783
5783
|
}
|
|
5784
5784
|
|
|
5785
|
-
`;var
|
|
5785
|
+
`;var p_=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 g_={formula:"Formula",scale:"Scale",bar:"Data Bar",icon:"Icon Set"};let m_=class extends zn{constructor(){super(...arguments),this.updateList=()=>{this.list.size=this.model.conditionalFormats.formats.length,this.list.renderItems(!0)},this._onApplyClick=()=>{this.model.clearCalculatedStyles(),this.grid.rendering.render(!1)},this._itemRenderer=(t,e)=>an`
|
|
5786
5786
|
<div class="header" style="padding-right: ${G.SLIDER_SIZE}px">
|
|
5787
5787
|
<div>Rule #${e+1}</div>
|
|
5788
5788
|
|
|
5789
5789
|
<div>
|
|
5790
5790
|
<og-dropdown-list
|
|
5791
5791
|
.value = "${this.getFormatByIndex(e).type}"
|
|
5792
|
-
.items="${Object.entries(
|
|
5792
|
+
.items="${Object.entries(g_).map((t=>({key:t[0],value:t[1]})))}"
|
|
5793
5793
|
@change="${t=>this.changeType(e,t.value)}">
|
|
5794
5794
|
</og-dropdown-list>
|
|
5795
5795
|
</div>
|
|
@@ -5823,16 +5823,16 @@
|
|
|
5823
5823
|
dynamicItemHeight
|
|
5824
5824
|
?nativeHeight="${!0}"
|
|
5825
5825
|
itemHeight="170"
|
|
5826
|
-
.customStyle=${
|
|
5826
|
+
.customStyle=${u_}
|
|
5827
5827
|
.itemRenderer="${this._itemRenderer}"
|
|
5828
5828
|
.size="${this.model.conditionalFormats.formats.length}">
|
|
5829
5829
|
</og-list>
|
|
5830
5830
|
</div>
|
|
5831
|
-
`:""}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=yv.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()}};
|
|
5831
|
+
`:""}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=yv.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()}};m_.styles=[d_],p_([Tn({type:Object})],m_.prototype,"grid",void 0),p_([Tn({type:Object})],m_.prototype,"model",void 0),p_([On("og-list")],m_.prototype,"list",void 0),m_=p_([Ln("og-editor-rules")],m_);var f_=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 v_=[{key:"auto",value:"automatic"},{key:"num",value:"number"},{key:"percent",value:"percent"}],b_={num:"#,##0.00",percent:'#,##0.00" %"'};let y_=class extends zn{constructor(){super(...arguments),this.first=!1,this.allowedTypes=["num","percent"],this._onTypeChange=t=>{"auto"===t.value?this.value=null:b_[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 Xr(this.value))},this.render=()=>an`
|
|
5832
5832
|
<og-dropdown-list
|
|
5833
5833
|
id="type"
|
|
5834
5834
|
style="flex: 0; min-width: 100px"
|
|
5835
|
-
.items="${
|
|
5835
|
+
.items="${v_.filter((t=>this.allowedTypes.includes(t.key)))}"
|
|
5836
5836
|
.value="${this.value?.t||"auto"}"
|
|
5837
5837
|
@change="${this._onTypeChange}">
|
|
5838
5838
|
</og-dropdown-list>
|
|
@@ -5846,7 +5846,7 @@
|
|
|
5846
5846
|
@change="${this._onChange}"
|
|
5847
5847
|
style="flex: 1">
|
|
5848
5848
|
</og-numericinput>
|
|
5849
|
-
`}get isDisabled(){return this.first&&"percent"===this.value?.t||"auto"===(this.value?.t||"auto")}get format(){return this.value?
|
|
5849
|
+
`}get isDisabled(){return this.first&&"percent"===this.value?.t||"auto"===(this.value?.t||"auto")}get format(){return this.value?b_[this.value.t]:"0"}};y_.styles=xs`
|
|
5850
5850
|
* {
|
|
5851
5851
|
box-sizing: border-box;
|
|
5852
5852
|
}
|
|
@@ -5864,13 +5864,13 @@
|
|
|
5864
5864
|
og-form-numericinput {
|
|
5865
5865
|
height: 100%;
|
|
5866
5866
|
}
|
|
5867
|
-
`,
|
|
5867
|
+
`,f_([Tn({type:Object})],y_.prototype,"value",void 0),f_([Tn({type:Boolean})],y_.prototype,"first",void 0),f_([Tn({type:Array})],y_.prototype,"allowedTypes",void 0),f_([On("og-dropdown-list#type")],y_.prototype,"typeInput",void 0),f_([On("og-numericinput#value")],y_.prototype,"valueInput",void 0),y_=f_([Ln("og-editor-rule-threshold")],y_);var w_=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 x_=[{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:YM("left")},{type:"button",id:"borderRight",value:{right:{style:"thin"}},content:YM("right")},{type:"button",id:"borderTop",value:{top:{style:"thin"}},content:YM("top")},{type:"button",id:"borderBottom",value:{bottom:{style:"thin"}},content:YM("bottom")}],[{type:"button",id:"borderNone",value:{left:null,top:null,right:null,bottom:null},content:YM("none")},{type:"button",id:"borderAll",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:YM("all")},{type:"button",id:"borderOutside",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:YM("outside")},{type:"button",id:"borderOutsideThick",value:{left:{style:"thick"},top:{style:"thick"},right:{style:"thick"},bottom:{style:"thick"}},content:YM("outside-thick")}],[{type:"button",id:"borderBottomDouble",value:{bottom:{style:"double"}},content:YM("bottom-double")},{type:"button",id:"borderBottomThick",value:{bottom:{style:"thick"}},content:YM("bottom-thick")},{type:"button",id:"borderTopBottom",value:{top:{style:"thin"},bottom:{style:"thin"}},content:YM("top-bottom")},{type:"button",id:"borderTopBottomThick",value:{top:{style:"thin"},bottom:{style:"thick"}},content:YM("top-bottom-thick")}],[{type:"color",id:"borderColor",colspan:4,icon:{icon:"fill"}}]]}];let k_=class extends zn{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 Xr({value:i}))},this.render=()=>an`
|
|
5868
5868
|
<og-toolbar
|
|
5869
|
-
.items="${
|
|
5869
|
+
.items="${x_}"
|
|
5870
5870
|
.values="${this.styleToToolbarValues(this.data)}"
|
|
5871
5871
|
@toolbar.action="${this._onAction}">
|
|
5872
5872
|
</og-toolbar>
|
|
5873
|
-
`}styleToToolbarValues(t){const e={};return e.bold=t.bold,e.italic=t.italic,e.underline=t.underline,e.color=`#${t.color}`,e.fgColor=`#${t.fgColor||t.bgColor}`,e}connectedCallback(){super.connectedCallback()}};
|
|
5873
|
+
`}styleToToolbarValues(t){const e={};return e.bold=t.bold,e.italic=t.italic,e.underline=t.underline,e.color=`#${t.color}`,e.fgColor=`#${t.fgColor||t.bgColor}`,e}connectedCallback(){super.connectedCallback()}};k_.styles=[xs`
|
|
5874
5874
|
.row {
|
|
5875
5875
|
height: 30px;
|
|
5876
5876
|
line-height: 30px;
|
|
@@ -5884,7 +5884,7 @@
|
|
|
5884
5884
|
height: 24px;
|
|
5885
5885
|
padding: 0;
|
|
5886
5886
|
}
|
|
5887
|
-
`],
|
|
5887
|
+
`],w_([Tn({type:Object})],k_.prototype,"data",void 0),w_([On("og-toolbar")],k_.prototype,"toolbar",void 0),k_=w_([Ln("og-editor-form-style")],k_);var C_=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 M_=[{k:"auto",v:"auto"},{k:"common",v:"common"}],__=[{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:M_,placeholder:"<min>"},{type:"text",id:"max",width:80,items:M_,placeholder:"<max>"}];function S_(t){return""===t||null==t?"auto":"auto"==t||"common"==t?t:parseFloat(t)}let z_=class extends zn{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=S_(i.value);break;case"max":o.maxValue=S_(i.value)}},this._itemRenderer=(t,e)=>{const i=this.groupIndexMap.get(e),o=this.model.sparklines.groups.get(i);return an`
|
|
5888
5888
|
<div class="item-content p">
|
|
5889
5889
|
<div class="item-form">
|
|
5890
5890
|
<div class="row item-header">
|
|
@@ -5921,7 +5921,7 @@
|
|
|
5921
5921
|
<div class="row">Options</div>
|
|
5922
5922
|
<div class="row">
|
|
5923
5923
|
<og-toolbar
|
|
5924
|
-
.items="${
|
|
5924
|
+
.items="${__}"
|
|
5925
5925
|
.values="${this.getToolbarValues(o)}"
|
|
5926
5926
|
@toolbar.action="${t=>this._onOptionsToolbarAction(t,i)}">
|
|
5927
5927
|
</og-toolbar>
|
|
@@ -5938,12 +5938,12 @@
|
|
|
5938
5938
|
<div class="body">
|
|
5939
5939
|
<og-list ?nativeHeight="${!0}"
|
|
5940
5940
|
itemHeight="170"
|
|
5941
|
-
.customStyle=${
|
|
5941
|
+
.customStyle=${s_}
|
|
5942
5942
|
.itemRenderer="${this._itemRenderer}"
|
|
5943
5943
|
.size="${this.model.sparklines.groups.size}">
|
|
5944
5944
|
</og-list>
|
|
5945
5945
|
</div>
|
|
5946
|
-
`:""}get groupIndexMap(){if(!this._groupIndexMap){this._groupIndexMap=new Map;let t=0;this.model.sparklines.groups.forEach(((e,i)=>this._groupIndexMap.set(t++,i)))}return this._groupIndexMap}connectedCallback(){super.connectedCallback()}deleteGroup(t){this.model.sparklines.delete(t),this.updateList()}addGroup(){this.model.sparklines.add(null,null),this.updateList()}_onInputChange(t,e){const i=this.model.sparklines,o=i.groups.get(e),r=t.target;switch(r.dataset.id){case"locRange":i.update(e,r.value?yv.fromA1(r.value):null,o.dataRanges);break;case"dataRange":i.update(e,o.locRange,r.value?yv.fromA1s(r.value).map((t=>[t,null])):null)}}getToolbarValues(t){return{chartType:t.type,color:`#${t.style.color}`,min:t.minValue,max:t.maxValue}}};
|
|
5946
|
+
`:""}get groupIndexMap(){if(!this._groupIndexMap){this._groupIndexMap=new Map;let t=0;this.model.sparklines.groups.forEach(((e,i)=>this._groupIndexMap.set(t++,i)))}return this._groupIndexMap}connectedCallback(){super.connectedCallback()}deleteGroup(t){this.model.sparklines.delete(t),this.updateList()}addGroup(){this.model.sparklines.add(null,null),this.updateList()}_onInputChange(t,e){const i=this.model.sparklines,o=i.groups.get(e),r=t.target;switch(r.dataset.id){case"locRange":i.update(e,r.value?yv.fromA1(r.value):null,o.dataRanges);break;case"dataRange":i.update(e,o.locRange,r.value?yv.fromA1s(r.value).map((t=>[t,null])):null)}}getToolbarValues(t){return{chartType:t.type,color:`#${t.style.color}`,min:t.minValue,max:t.maxValue}}};z_.styles=[r_],C_([Tn({type:Object})],z_.prototype,"grid",void 0),C_([Tn({type:Object})],z_.prototype,"model",void 0),C_([On("og-list")],z_.prototype,"list",void 0),z_=C_([Ln("og-editor-form-sparklines")],z_);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};class L_ extends ou{}L_.styles=[ou.styles],E_([Tn({type:Object})],L_.prototype,"model",void 0),E_([Tn({type:Object})],L_.prototype,"grid",void 0),E_([Tn({type:Object})],L_.prototype,"group",void 0),E_([Tn({type:Object})],L_.prototype,"range",void 0);var I_=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 R_=class extends L_{constructor(){super(...arguments),this._onApplyClick=()=>{this.grid?.model.applyTheme(this.theme,!0),this.grid.refresh()},this.render=()=>an`
|
|
5947
5947
|
<div class="header">
|
|
5948
5948
|
<og-tree-dropdown
|
|
5949
5949
|
@change="${t=>{this.theme=t.node?this.group.model.themes.get(t.node.key):null}}"
|
|
@@ -5962,7 +5962,7 @@
|
|
|
5962
5962
|
<og-input .value="${this.theme?.name}" style="flex: 0 20px"></og-input>
|
|
5963
5963
|
<og-editor-theme .theme="${this.theme}" style="flex: 1"></og-editor-theme>
|
|
5964
5964
|
</div>
|
|
5965
|
-
`}willUpdate(){null==this.theme&&this.group?.model?.themes?.size&&(this.theme=[...this.group.model.themes.values()][0])}updated(){this.group?.model?.themes&&this.themeList.setSourceData([...this.group.model.themes.values()].map((t=>({k:t.name,v:t.name}))),{checkboxes:!1,selectMode:"single",autoClose:!0})}addTheme(){const t=this.group?.model;if(!t)return;let e=t.themes.size+1;for(;t.themes.has(`Theme ${e}`);)++e;const i={name:`Theme ${e}`};t.themes.set(i.name,i),this.theme=i}};
|
|
5965
|
+
`}willUpdate(){null==this.theme&&this.group?.model?.themes?.size&&(this.theme=[...this.group.model.themes.values()][0])}updated(){this.group?.model?.themes&&this.themeList.setSourceData([...this.group.model.themes.values()].map((t=>({k:t.name,v:t.name}))),{checkboxes:!1,selectMode:"single",autoClose:!0})}addTheme(){const t=this.group?.model;if(!t)return;let e=t.themes.size+1;for(;t.themes.has(`Theme ${e}`);)++e;const i={name:`Theme ${e}`};t.themes.set(i.name,i),this.theme=i}};R_.styles=[L_.styles,xs`
|
|
5966
5966
|
:host {
|
|
5967
5967
|
display: flex;
|
|
5968
5968
|
flex-direction: column;
|
|
@@ -5991,7 +5991,7 @@
|
|
|
5991
5991
|
og-input {
|
|
5992
5992
|
display: block;
|
|
5993
5993
|
}
|
|
5994
|
-
`],
|
|
5994
|
+
`],I_([On("og-tree-dropdown")],R_.prototype,"themeList",void 0),I_([Tn({type:Object})],R_.prototype,"theme",void 0),R_=I_([Ln("og-editor-themesidebar")],R_);var T_=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 A_=class extends ou{constructor(){super(...arguments),this.createItemEditor=t=>(e,i)=>{this.listItems=this.listItems||{},this.listItems[t]=this.listItems[t]||[];let o=this.listItems[t][i]?this.listItems[t][i]:null;o||(o=yt("og-editor-themeitem",{index:i,themeItem:this.theme[t][i],itemType:t,editor:this}),this.listItems[t][i]=o),St(e),e.appendChild(o)},this.createComponent=t=>{if(this.lists=this.lists||{},this.lists[t])return this.lists[t];const e=yt("og-sortablelist");return e.style.height="100%",e.style.overflow="hidden",e.scrollbarPadding=!0,e.disabledSelect=!0,e.customHandle=!0,e.dynamicItemHeight=!0,e.nativeHeight=!0,e.size=this.theme&&this.theme[t]?this.theme[t].length:0,e.itemRenderer=this.createItemEditor(t),e.addEventListener("list.sort",(e=>this.moveItem(e.fromIndex,e.toIndex,t))),this.lists[t]=e,e},this.render=()=>an`
|
|
5995
5995
|
<div style="display: flex; flex-direction: column; height: 100%">
|
|
5996
5996
|
<div style="flex: 1; overflow: hidden">
|
|
5997
5997
|
<og-tabcontainer
|
|
@@ -6010,11 +6010,11 @@
|
|
|
6010
6010
|
</og-button>
|
|
6011
6011
|
</div>
|
|
6012
6012
|
</div>
|
|
6013
|
-
`}willUpdate(t){this.theme=this.theme||{name:""},t.has("theme")&&(this.listItems={},this.lists={})}updated(t){t.has("theme")&&this.tabContainer?.refresh()}updateList(t){this.listItems[t]=[],this.lists[t].size=this.theme[t].length,this.lists[t].renderItems(!0)}moveItemUp(t,e){0!==t&&this.moveItem(t,t-1,e)}moveItemDown(t,e){t>=this.listItems[e].length-1||this.moveItem(t,t+1,e)}moveItem(t,e,i){const o=this.theme[i];if(!this.theme[i])return;const r=o.splice(t,1)[0];o.splice(e,0,r),this.updateList(i)}deleteItem(t,e){const i=this.theme[e];this.theme[e]&&(i.splice(t,1),this.theme[e]=i,this.updateList(e))}addItem(t){const e=this.theme[t]??[];e.push({}),this.theme[t]=e,this.updateList(t),this.lists[t].scrollToIndex(e.length-1)}};
|
|
6013
|
+
`}willUpdate(t){this.theme=this.theme||{name:""},t.has("theme")&&(this.listItems={},this.lists={})}updated(t){t.has("theme")&&this.tabContainer?.refresh()}updateList(t){this.listItems[t]=[],this.lists[t].size=this.theme[t].length,this.lists[t].renderItems(!0)}moveItemUp(t,e){0!==t&&this.moveItem(t,t-1,e)}moveItemDown(t,e){t>=this.listItems[e].length-1||this.moveItem(t,t+1,e)}moveItem(t,e,i){const o=this.theme[i];if(!this.theme[i])return;const r=o.splice(t,1)[0];o.splice(e,0,r),this.updateList(i)}deleteItem(t,e){const i=this.theme[e];this.theme[e]&&(i.splice(t,1),this.theme[e]=i,this.updateList(e))}addItem(t){const e=this.theme[t]??[];e.push({}),this.theme[t]=e,this.updateList(t),this.lists[t].scrollToIndex(e.length-1)}};A_.styles=[ou.styles,xs`
|
|
6014
6014
|
:host {
|
|
6015
6015
|
overflow: hidden;
|
|
6016
6016
|
}
|
|
6017
|
-
`],
|
|
6017
|
+
`],T_([Tn({type:Object})],A_.prototype,"theme",void 0),T_([On("og-tabcontainer")],A_.prototype,"tabContainer",void 0),A_=T_([Ln("og-editor-theme")],A_);var $_=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 O_=[{key:null,value:"Static style"},{key:"formula",value:"Formula"},{key:"scale",value:"Scale"},{key:"bar",value:"Data Bar"},{key:"icon",value:"Icon Set"}];let D_=class extends ou{constructor(){super(...arguments),this._onStyleChange=t=>{this.themeItem.style=t.value},this.render=()=>an`
|
|
6018
6018
|
<div class="header">
|
|
6019
6019
|
<div style="flex: 1" class="move-handle">${Ao("Rule")} #${this.index+1}</div>
|
|
6020
6020
|
|
|
@@ -6051,7 +6051,7 @@
|
|
|
6051
6051
|
<div class="row">
|
|
6052
6052
|
<og-dropdown-list
|
|
6053
6053
|
.value = "${this.themeItem?.type??null}"
|
|
6054
|
-
.items="${
|
|
6054
|
+
.items="${O_}"
|
|
6055
6055
|
@change="${t=>this.updateRuleType(t.value)}">
|
|
6056
6056
|
</og-dropdown-list>
|
|
6057
6057
|
</div>
|
|
@@ -6068,7 +6068,7 @@
|
|
|
6068
6068
|
</og-editor-styleeditor>
|
|
6069
6069
|
`}
|
|
6070
6070
|
</div>
|
|
6071
|
-
`}willUpdate(){this.themeItem=this.themeItem||{},this.updateRuleType(this.themeItem.type)}updateRuleType(t){this.themeItem.type=t,t?delete this.themeItem.style:this.themeItem.style=this.themeItem.style||{},this.requestUpdate(),this.ruleEditor?.requestUpdate()}};
|
|
6071
|
+
`}willUpdate(){this.themeItem=this.themeItem||{},this.updateRuleType(this.themeItem.type)}updateRuleType(t){this.themeItem.type=t,t?delete this.themeItem.style:this.themeItem.style=this.themeItem.style||{},this.requestUpdate(),this.ruleEditor?.requestUpdate()}};D_.styles=[ou.styles,xs`
|
|
6072
6072
|
:host {
|
|
6073
6073
|
line-height: 22px;
|
|
6074
6074
|
}
|
|
@@ -6113,7 +6113,7 @@
|
|
|
6113
6113
|
display: flex;
|
|
6114
6114
|
flex-direction: row;
|
|
6115
6115
|
}
|
|
6116
|
-
`]
|
|
6116
|
+
`],$_([Tn({type:Number})],D_.prototype,"index",void 0),$_([Tn({type:Object})],D_.prototype,"themeItem",void 0),$_([Tn({type:String})],D_.prototype,"itemType",void 0),$_([Tn({type:Object})],D_.prototype,"editor",void 0),$_([On(".move-handle")],D_.prototype,"moveHandle",void 0),$_([On("og-editor-ruleeditor")],D_.prototype,"ruleEditor",void 0),$_([On("og-editor-styleeditor")],D_.prototype,"styleEditor",void 0),D_=$_([Ln("og-editor-themeitem")],D_);var N_=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 P_=class extends ou{constructor(){super(...arguments),this.renderFormulaForm=()=>an`
|
|
6117
6117
|
<div class="row">${Ao("Condition")}</div>
|
|
6118
6118
|
|
|
6119
6119
|
<div class="row">
|
|
@@ -6222,15 +6222,15 @@
|
|
|
6222
6222
|
`))}
|
|
6223
6223
|
</div>
|
|
6224
6224
|
`:""}
|
|
6225
|
-
`,this.render=()=>((t,e,i)=>{for(const i of e)if(i[0]===t)return(0,i[1])()})(this.format?.type,[["formula",this.renderFormulaForm],["scale",this.renderScaleForm],["bar",this.renderBarForm],["icon",this.renderIconForm]])}updateFormat(){if(!this.format)return;let t=!1;this.conditionInput?this.format.condition=this.conditionInput.value:this.format.condition=null,this.styleForm?this.format.style=this.styleForm.data:this.format.style=null,this.cminColorInput?(this.format.cmin=this.format.cmin??{},this.format.cmin.t="min",this.format.cmin.color=Br(this.cminColorInput.value)):this.format.cmin=null,this.cmidColorInput?(this.format.cmid=this.format.cmid??{},this.format.cmid.color=Br(this.cmidColorInput.value)):this.format.cmid=null,this.cmaxColorInput?(this.format.cmax=this.format.cmax??{},this.format.cmax.t="max",this.format.cmax.color=Br(this.cmaxColorInput.value)):this.format.cmax=null,this.colorInput?this.format.color=Br(this.colorInput.value):this.format.color=null,this.iconList?(this.format.v!=this.iconList.value&&(t=!0),this.format.v=this.iconList.value):this.format.v=null,this.thresholds?this.format.thresh=Array.from(this.thresholds).map((t=>t.value)):this.format.thresh=null,this.cmin?this.format.cmin=this.cmin.value:this.format.cmin=null,this.cmid?this.format.cmid=this.cmid.value:this.format.cmid=null,this.cmax?this.format.cmax=this.cmax.value:this.format.cmax=null,t&&this.requestUpdate()}};
|
|
6225
|
+
`,this.render=()=>((t,e,i)=>{for(const i of e)if(i[0]===t)return(0,i[1])()})(this.format?.type,[["formula",this.renderFormulaForm],["scale",this.renderScaleForm],["bar",this.renderBarForm],["icon",this.renderIconForm]])}updateFormat(){if(!this.format)return;let t=!1;this.conditionInput?this.format.condition=this.conditionInput.value:this.format.condition=null,this.styleForm?this.format.style=this.styleForm.data:this.format.style=null,this.cminColorInput?(this.format.cmin=this.format.cmin??{},this.format.cmin.t="min",this.format.cmin.color=Br(this.cminColorInput.value)):this.format.cmin=null,this.cmidColorInput?(this.format.cmid=this.format.cmid??{},this.format.cmid.color=Br(this.cmidColorInput.value)):this.format.cmid=null,this.cmaxColorInput?(this.format.cmax=this.format.cmax??{},this.format.cmax.t="max",this.format.cmax.color=Br(this.cmaxColorInput.value)):this.format.cmax=null,this.colorInput?this.format.color=Br(this.colorInput.value):this.format.color=null,this.iconList?(this.format.v!=this.iconList.value&&(t=!0),this.format.v=this.iconList.value):this.format.v=null,this.thresholds?this.format.thresh=Array.from(this.thresholds).map((t=>t.value)):this.format.thresh=null,this.cmin?this.format.cmin=this.cmin.value:this.format.cmin=null,this.cmid?this.format.cmid=this.cmid.value:this.format.cmid=null,this.cmax?this.format.cmax=this.cmax.value:this.format.cmax=null,t&&this.requestUpdate()}};P_.styles=[ou.styles,xs`
|
|
6226
6226
|
|
|
6227
|
-
`],
|
|
6227
|
+
`],N_([Tn({type:Object})],P_.prototype,"format",void 0),N_([On("og-input#ranges")],P_.prototype,"rangesInput",void 0),N_([On("og-input#condition")],P_.prototype,"conditionInput",void 0),N_([On("og-dropdown-colorpicker#cminColor")],P_.prototype,"cminColorInput",void 0),N_([On("og-dropdown-colorpicker#cmidColor")],P_.prototype,"cmidColorInput",void 0),N_([On("og-dropdown-colorpicker#cmaxColor")],P_.prototype,"cmaxColorInput",void 0),N_([On("og-dropdown-colorpicker#color")],P_.prototype,"colorInput",void 0),N_([On("og-dropdown-list#icons")],P_.prototype,"iconList",void 0),N_([On("og-editor-styleeditor#style")],P_.prototype,"styleForm",void 0),N_([Nn("og-editor-rule-threshold.threshold")],P_.prototype,"thresholds",void 0),N_([On("og-editor-rule-threshold#cmin")],P_.prototype,"cmin",void 0),N_([On("og-editor-rule-threshold#cmid")],P_.prototype,"cmid",void 0),N_([On("og-editor-rule-threshold#cmax")],P_.prototype,"cmax",void 0),P_=N_([Ln("og-editor-ruleeditor")],P_);var j_=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 H_=[{type:"togglebutton",id:"bold",icon:{icon:"bold"}},{type:"togglebutton",id:"italic",icon:{icon:"italic"}},{type:"togglebutton",id:"underline",icon:{icon:"underline"}},{type:"text",id:"sz",width:40,items:[8,9,10,11,12,14,16,18,20,22,24,26].map((t=>({k:t.toString(),v:t.toString()}))),placeholder:""},{type:"dropdown-button",id:"alignment",icon:{icon:"align-center"},items:[[{type:"button",id:"alignTopLeft",icon:{icon:"align-right",rotation:180}},{type:"button",id:"alignTopCenter",icon:{icon:"align-center"}},{type:"button",id:"alignTopRight",icon:{icon:"align-left",rotation:180}}],[{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:YM("left")},{type:"button",id:"borderRight",value:{right:{style:"thin"}},content:YM("right")},{type:"button",id:"borderTop",value:{top:{style:"thin"}},content:YM("top")},{type:"button",id:"borderBottom",value:{bottom:{style:"thin"}},content:YM("bottom")}],[{type:"button",id:"borderNone",value:{left:null,top:null,right:null,bottom:null},content:YM("none")},{type:"button",id:"borderAll",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:YM("all")},{type:"button",id:"borderOutside",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:YM("outside")},{type:"button",id:"borderOutsideThick",value:{left:{style:"thick"},top:{style:"thick"},right:{style:"thick"},bottom:{style:"thick"}},content:YM("outside-thick")}],[{type:"button",id:"borderBottomDouble",value:{bottom:{style:"double"}},content:YM("bottom-double")},{type:"button",id:"borderBottomThick",value:{bottom:{style:"thick"}},content:YM("bottom-thick")},{type:"button",id:"borderTopBottom",value:{top:{style:"thin"},bottom:{style:"thin"}},content:YM("top-bottom")},{type:"button",id:"borderTopBottomThick",value:{top:{style:"thin"},bottom:{style:"thick"}},content:YM("top-bottom-thick")}],[{type:"color",id:"borderColor",colspan:4,icon:{icon:"fill"}}]]}];let F_=class extends zn{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"sz":i.sz=e.value?parseInt(e.value):null;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 Xr({value:i}))},this.render=()=>an`
|
|
6228
6228
|
<og-toolbar
|
|
6229
|
-
.items="${
|
|
6229
|
+
.items="${H_}"
|
|
6230
6230
|
.values="${this.styleToToolbarValues(this.data)}"
|
|
6231
6231
|
@toolbar.action="${this._onAction}">
|
|
6232
6232
|
</og-toolbar>
|
|
6233
|
-
`}styleToToolbarValues(t){const e={};return e.bold=t.bold,e.italic=t.italic,e.underline=t.underline,e.color=`#${t.color}`,e.fgColor=`#${t.fgColor||t.bgColor}`,e.sz=t.sz?t.sz.toString():null,e}connectedCallback(){super.connectedCallback()}};
|
|
6233
|
+
`}styleToToolbarValues(t){const e={};return e.bold=t.bold,e.italic=t.italic,e.underline=t.underline,e.color=`#${t.color}`,e.fgColor=`#${t.fgColor||t.bgColor}`,e.sz=t.sz?t.sz.toString():null,e}connectedCallback(){super.connectedCallback()}};F_.styles=[xs`
|
|
6234
6234
|
.row {
|
|
6235
6235
|
height: 30px;
|
|
6236
6236
|
line-height: 30px;
|
|
@@ -6244,7 +6244,7 @@
|
|
|
6244
6244
|
height: 24px;
|
|
6245
6245
|
padding: 0;
|
|
6246
6246
|
}
|
|
6247
|
-
`],
|
|
6247
|
+
`],j_([Tn({type:Object})],F_.prototype,"data",void 0),j_([On("og-toolbar")],F_.prototype,"toolbar",void 0),F_=j_([Ln("og-editor-styleeditor")],F_);var B_=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 W_=class extends ou{constructor(){super(...arguments),this.href="",this.render=()=>an`
|
|
6248
6248
|
<div>
|
|
6249
6249
|
<og-input
|
|
6250
6250
|
.value="${this.href||""}"
|
|
@@ -6258,7 +6258,7 @@
|
|
|
6258
6258
|
color="red">
|
|
6259
6259
|
</og-button>
|
|
6260
6260
|
</div>
|
|
6261
|
-
`}focus(){this.input?.focus(),this.input?.selectAll()}updateValue(t,e=!0){this.href=t,e&&this.dispatchEvent(new Xr({value:this.href}))}};
|
|
6261
|
+
`}focus(){this.input?.focus(),this.input?.selectAll()}updateValue(t,e=!0){this.href=t,e&&this.dispatchEvent(new Xr({value:this.href}))}};W_.styles=[ou.styles,xs`
|
|
6262
6262
|
:host {
|
|
6263
6263
|
width: 200px;
|
|
6264
6264
|
}
|
|
@@ -6276,7 +6276,7 @@
|
|
|
6276
6276
|
og-button {
|
|
6277
6277
|
flex: 0 20px;
|
|
6278
6278
|
}
|
|
6279
|
-
`],
|
|
6279
|
+
`],B_([Tn({type:String})],W_.prototype,"href",void 0),B_([On("og-input")],W_.prototype,"input",void 0),W_=B_([Ln("og-hyperlinkeditor")],W_);const V_=xs`
|
|
6280
6280
|
* {
|
|
6281
6281
|
box-sizing: border-box;
|
|
6282
6282
|
}
|
|
@@ -6496,7 +6496,7 @@
|
|
|
6496
6496
|
background-color: color-mix(in srgb, var(--markdown-color-outline), transparent 80%);
|
|
6497
6497
|
pointer-events: none;
|
|
6498
6498
|
}
|
|
6499
|
-
`,
|
|
6499
|
+
`,U_=[xs`
|
|
6500
6500
|
milkdown-block-handle {
|
|
6501
6501
|
transition: all 0.2s;
|
|
6502
6502
|
position: absolute;
|
|
@@ -7412,13 +7412,13 @@ milkdown-block-handle {
|
|
|
7412
7412
|
milkdown-table-block.readonly .handle {
|
|
7413
7413
|
display: none;
|
|
7414
7414
|
}
|
|
7415
|
-
`];var
|
|
7415
|
+
`];var G_,q_,Y_=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 Z_={};class X_{static init(t){G_.milkdownPath=t}static async get(){return Y_(this,G_,"f",q_)||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,G_,await this.load(),"f",q_),Object.assign(Z_,Y_(this,G_,"f",q_)),Y_(this,G_,"f",q_)}static getSync(){return Y_(this,G_,"f",q_)}static async load(){return window.Milkdown?window.Milkdown:new Promise(((t,e)=>cs.load(this.milkdownPath).then((()=>{window.Milkdown?t(window.Milkdown):e("Failed to load Milkdown")})).catch((t=>{console.error("Failed to load Milkdown",t),e(t)}))))}}async function Q_(t){const e=await X_.get(),i=e.core.Editor.make(),o=Array.from(Ez(i,e,t).entries()).filter((([t,e])=>e.default));return i.config(Mz(o.map((t=>t[0])),e)).config((i=>{t?.container&&i.set(e.core.rootCtx,t.container),t?.content&&i.set(e.core.defaultValueCtx,t.content),t?.readOnly&&i.update(e.core.editorViewOptionsCtx,(t=>({...t,editable:()=>!1}))),i.update(e.plugins.indent.indentConfig.key,(t=>({...t,size:4}))),i.get(e.plugins.listener.listenerCtx).markdownUpdated(((e,i,o)=>{t?.onChange&&i!==o&&t.onChange(i,o)}))})).use(e.presets.commonmark.commonmark).use(e.plugins.listener.listener).use(e.plugins.history.history).use(e.plugins.indent.indent).use(e.plugins.trailing.trailing).use(e.plugins.clipboard.clipboard).use(e.presets.gfm.gfm),o.forEach((t=>t[1].init())),await i.create(),i}async function K_(t,e){const i=await Q_(Object.assign({},e,{content:t,readOnly:!0})),o=X_.getSync(),r=document.createElement("div"),s=i.ctx.get(o.core.schemaCtx),n=i.ctx.get(o.core.editorViewCtx),a=o.prose.model.DOMSerializer.fromSchema(s).serializeFragment(n.state.doc.content);for(const t of a.querySelectorAll("img")){const i=t.getAttribute("src");if(i&&e?.modifyImageUrl){const o=e.modifyImageUrl(i);t.setAttribute("src","string"==typeof o?o:await o)}t.hasAttribute("ratio")&&(t.style.width=100*parseFloat(t.getAttribute("ratio"))+"%")}return r.appendChild(a),i.destroy(),r.innerHTML}G_=X_,q_={value:void 0};var J_,tS,eS=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},iS=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)},oS=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 rS extends Event{constructor(t){super("markdown.link",{bubbles:!0,composed:!0,cancelable:!0}),Object.assign(this,t)}}let sS=class extends zn{get content(){return iS(this,J_,"f")}set content(t){oS(this,J_,t,"f"),iS(this,tS,"f")?.destroy(),oS(this,tS,null,"f"),this.requestUpdate()}get milkdownElm(){return this.container.firstElementChild}get editor(){return iS(this,tS,"f")}constructor(){super(),J_.set(this,void 0),this.maxContentWidth=800,this.contentAlignment="left",this.readOnly=!1,tS.set(this,void 0),this._onChange=(t,e)=>{oS(this,J_,t,"f"),this.dispatchEvent(new Xr({value:t,oldValue:e}))},this.render=()=>an`
|
|
7416
7416
|
<style>
|
|
7417
7417
|
.ProseMirror.editor { max-width: ${this.maxContentWidth}px; }
|
|
7418
7418
|
</style>
|
|
7419
7419
|
<div id="container" spellcheck="false"></div>
|
|
7420
7420
|
<og-slider direction="vertical"></og-slider>
|
|
7421
|
-
`,Lt(this,"click","a",((t,e)=>{if(!this.dispatchEvent(new
|
|
7421
|
+
`,Lt(this,"click","a",((t,e)=>{if(!this.dispatchEvent(new rS({href:e.getAttribute("href"),a:e,origEvent:t})))return void t.preventDefault();const i=e.getAttribute("href");i&&i.startsWith("#")&&(t.preventDefault(),this.scrollToSelector(i))}))}scrollToSelector(t){const e=this.milkdownElm.querySelector(t);e&&(this.milkdownElm.scrollTop=e.offsetTop,this.slider.updatePosition())}connectedCallback(){super.connectedCallback(),this.requestUpdate()}updateWidth(){const t=Math.min(this.maxContentWidth,this.clientWidth);this.milkdownElm.style.width=`${t}px`}async updated(){iS(this,tS,"f")||(oS(this,tS,await Q_({container:this.container,content:this.content,readOnly:this.readOnly,onUpload:this.onUpload,onChange:this._onChange,modifyImageUrl:this.modifyImageUrl}),"f"),this.slider.attachElement(this.milkdownElm))}disconnectedCallback(){super.disconnectedCallback(),iS(this,tS,"f")?.destroy(),oS(this,tS,null,"f"),St(this.container)}layout(){}};J_=new WeakMap,tS=new WeakMap,sS.styles=[V_,...U_],eS([Tn({type:String})],sS.prototype,"content",null),eS([Tn({type:Number})],sS.prototype,"maxContentWidth",void 0),eS([Tn({type:String,reflect:!0})],sS.prototype,"contentAlignment",void 0),eS([Tn({type:Boolean,reflect:!0})],sS.prototype,"readOnly",void 0),eS([On("#container")],sS.prototype,"container",void 0),eS([On("og-slider")],sS.prototype,"slider",void 0),eS([Tn({type:Object})],sS.prototype,"onUpload",void 0),eS([Tn({type:Object})],sS.prototype,"modifyImageUrl",void 0),sS=eS([Ln("og-markdown-editor")],sS);let nS=class extends sS{constructor(){super(),this.readOnly=!0}};nS=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}([Ln("og-markdown-view")],nS);var aS,lS,cS,hS,dS,uS=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},pS=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)},gS=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 mS=class extends zn{constructor(){super(...arguments),aS.set(this,Hd()),this.render=()=>an`
|
|
7422
7422
|
<og-button
|
|
7423
7423
|
icon="plus"
|
|
7424
7424
|
color="transparent"
|
|
@@ -7427,14 +7427,14 @@ milkdown-block-handle {
|
|
|
7427
7427
|
|
|
7428
7428
|
<og-button icon="grip-vertical" color="transparent"></og-button>
|
|
7429
7429
|
|
|
7430
|
-
<og-markdown-block-edit-menu ${Wd(
|
|
7430
|
+
<og-markdown-block-edit-menu ${Wd(pS(this,aS,"f"))}
|
|
7431
7431
|
@mousedown=${t=>t.stopPropagation()}
|
|
7432
7432
|
style="display: none"
|
|
7433
7433
|
@run=${()=>this.hideMenu()}
|
|
7434
7434
|
.ctx="${this.ctx}"
|
|
7435
7435
|
.md="${this.md}">
|
|
7436
7436
|
</og-markdown-block-edit-menu>
|
|
7437
|
-
`,this.hideMenu=()=>kt(this.menu),this.showMenu=t=>{if(!this.menu)return;const e=this.menu.parentElement,i=Tt(t,e);xt(this.menu);let o=i.top+t.offsetHeight+4;o+this.menu.offsetHeight>e.clientHeight&&(o=i.top-this.menu.offsetHeight-4),Ht(this.menu,{t:o,l:i.left}),document.addEventListener("mousedown",(()=>kt(this.menu)),{once:!0})}}get menu(){return
|
|
7437
|
+
`,this.hideMenu=()=>kt(this.menu),this.showMenu=t=>{if(!this.menu)return;const e=this.menu.parentElement,i=Tt(t,e);xt(this.menu);let o=i.top+t.offsetHeight+4;o+this.menu.offsetHeight>e.clientHeight&&(o=i.top-this.menu.offsetHeight-4),Ht(this.menu,{t:o,l:i.left}),document.addEventListener("mousedown",(()=>kt(this.menu)),{once:!0})}}get menu(){return pS(this,aS,"f")?.value}updated(){this.menu.parentNode==this.shadowRoot&&document.body.appendChild(this.menu)}disconnectedCallback(){this.menu&&this.shadowRoot.appendChild(this.menu)}};aS=new WeakMap,mS.styles=xs`
|
|
7438
7438
|
* {
|
|
7439
7439
|
box-sizing: border-box;
|
|
7440
7440
|
}
|
|
@@ -7455,7 +7455,7 @@ milkdown-block-handle {
|
|
|
7455
7455
|
flex: 0;
|
|
7456
7456
|
text-align: center;
|
|
7457
7457
|
}
|
|
7458
|
-
`,
|
|
7458
|
+
`,uS([Tn({type:Object})],mS.prototype,"ctx",void 0),uS([Tn({type:Object})],mS.prototype,"md",void 0),mS=uS([Ln("og-markdown-block-edit")],mS);class fS{constructor(t,e){lS.set(this,void 0),cS.set(this,void 0),hS.set(this,void 0),this.update=()=>{pS(this,lS,"f").update()},this.destroy=()=>{pS(this,lS,"f").destroy()},dS.set(this,(()=>{const t=pS(this,cS,"f"),e=t.get(this.md.core.editorViewCtx);e.hasFocus()||e.focus();const{state:i,dispatch:o}=e,r=pS(this,lS,"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()),pS(this,lS,"f").hide(),pS(this,hS,"f").menu){const t=r.el.nextElementSibling;t&&pS(this,hS,"f").showMenu(t)}})),this.md=e,gS(this,cS,t,"f");const i=yt("og-markdown-block-edit");i.ctx=t,i.md=e,i.addEventListener("add",pS(this,dS,"f")),gS(this,hS,i,"f"),gS(this,lS,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()}}lS=new WeakMap,cS=new WeakMap,hS=new WeakMap,dS=new WeakMap;const vS={mode:"preview"};let bS;const yS=()=>(bS||(bS=Z_.utils.$ctx({...vS},"linkEditStateCtx")),bS),wS={addLink:()=>{},editLink:()=>{},removeLink:()=>{}};let xS;const kS=()=>xS??(xS=Z_.utils.$ctx({...wS},"linkEditAPICtx")),CS={onCopyLink:()=>{},inputPlaceholder:"Paste link..."};let MS;var _S,SS,zS,ES=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},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)};let IS=class extends zn{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=()=>an`
|
|
7459
7459
|
<div>
|
|
7460
7460
|
<og-button
|
|
7461
7461
|
.state="${this.isActive(this.commonmark.strongSchema.type(this.ctx))?"checked":"unchecked"}"
|
|
@@ -7489,10 +7489,10 @@ milkdown-block-handle {
|
|
|
7489
7489
|
.state="${this.isActive(this.commonmark.linkSchema.type(this.ctx))?"checked":"unchecked"}"
|
|
7490
7490
|
type="toggle"
|
|
7491
7491
|
icon="link"
|
|
7492
|
-
@click="${()=>{const t=this.ctx.get(this.md.core.editorViewCtx),{selection:e}=t.state;this.isActive(this.commonmark.linkSchema.type(this.ctx))?this.ctx.get(
|
|
7492
|
+
@click="${()=>{const t=this.ctx.get(this.md.core.editorViewCtx),{selection:e}=t.state;this.isActive(this.commonmark.linkSchema.type(this.ctx))?this.ctx.get(kS().key).removeLink(e.from,e.to):(this.ctx.get(kS().key).addLink(e.from,e.to),this.dispatchEvent(new Event("hide")))}}">
|
|
7493
7493
|
</og-button>
|
|
7494
7494
|
</div>
|
|
7495
|
-
`,this.addEventListener("click",(t=>{t.stopPropagation(),t.preventDefault()})),this.addEventListener("mousedown",(t=>{t.stopPropagation(),t.preventDefault()})),this.addEventListener("mouseup",(t=>{t.stopPropagation(),t.preventDefault()}))}command(t){this.ctx.get(this.md.core.commandsCtx).call(t)}};
|
|
7495
|
+
`,this.addEventListener("click",(t=>{t.stopPropagation(),t.preventDefault()})),this.addEventListener("mousedown",(t=>{t.stopPropagation(),t.preventDefault()})),this.addEventListener("mouseup",(t=>{t.stopPropagation(),t.preventDefault()}))}command(t){this.ctx.get(this.md.core.commandsCtx).call(t)}};IS.styles=xs`
|
|
7496
7496
|
* {
|
|
7497
7497
|
box-sizing: border-box;
|
|
7498
7498
|
}
|
|
@@ -7521,7 +7521,7 @@ milkdown-block-handle {
|
|
|
7521
7521
|
flex: 0;
|
|
7522
7522
|
text-align: center;
|
|
7523
7523
|
}
|
|
7524
|
-
`,
|
|
7524
|
+
`,IS=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}([Ln("og-markdown-toolbar")],IS);class RS{constructor(t,e,i){_S.set(this,void 0),SS.set(this,void 0),zS.set(this,void 0),this.update=(t,e)=>{LS(this,_S,"f").update(t,e)},this.destroy=()=>{LS(this,_S,"f").destroy(),LS(this,zS,"f").remove()},this.hide=()=>{LS(this,_S,"f").hide()},ES(this,SS,t,"f");const o=yt("og-markdown-toolbar");o.addEventListener("hide",(()=>LS(this,_S,"f").hide())),o.ctx=t,o.md=i,ES(this,zS,o,"f"),ES(this,_S,new i.plugins.tooltip.TooltipProvider({content:LS(this,zS,"f"),offset:10,debounce:20,shouldShow(t){const{doc:e,selection:r}=t.state,{empty:s,from:n,to:a}=r,l=!e.textBetween(n,a).length&&r instanceof i.prose.state.TextSelection,c=!(r instanceof i.prose.state.TextSelection),h=t.dom.getRootNode().activeElement,d=o.contains(h),u=!t.hasFocus()&&!d,p=!t.editable;return!(u||c||s||l||p)}}),"f"),LS(this,_S,"f").onShow=()=>{xt(LS(this,zS,"f")),LS(this,zS,"f").requestUpdate()},LS(this,_S,"f").onHide=()=>kt(LS(this,zS,"f")),this.update(e)}}function TS(t){const{$from:e,$to:i}=t.selection,o=e.pos-e.node().content.size;return o>=0&&(t=t.deleteRange(o,i.pos)),t}function AS(t,e,i=null){const o=e.createAndFill(i);return o?t.replaceSelectionWith(o):null}function $S(t,e=null){return(i,o)=>{if(o){const r=function(t,e,i=null){const{from:o,to:r}=t.selection;return t.setBlockType(o,r,e,i)}(TS(i.tr),t,e);o(r.scrollIntoView())}return!0}}function OS(t,e=null){return(i,o)=>{const r=function(t,e,i=null){const{$from:o,$to:r}=t.selection,s=o.blockRange(r),n=s&&X_.getSync().prose.transform.findWrapping(s,e,i);return n?t.wrap(s,n):null}(TS(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}function DS(t,e=null){return(i,o)=>{const r=AS(TS(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}_S=new WeakMap,SS=new WeakMap,zS=new WeakMap;const NS={text:"Please enter...",mode:"block"},PS=t=>{const e=t.utils.$ctx(NS,"placeholderConfigCtx"),i=t.utils.$prose((i=>new t.prose.state.Plugin({key:new t.prose.state.PluginKey("MARKDOWN_PLACEHOLDER"),props:{decorations:o=>{const r=i.get(e.key);if("doc"===r.mode&&(!((s=o.doc).childCount<=1)||s.firstChild?.content.size))return null;var s;if("code_block"===o.selection.$from.parent.type.name||function(t){const e=t.$from.node(t.$from.depth-1)?.type;return"list_item"===e?.name}(o.selection))return null;const n=r.text??"Please enter...",a=function(t,e,i){const{selection:o}=e;if(!o.empty)return null;const r=o.$anchor,s=r.parent;if(s.content.size>0)return null;const n=t.prose.findParent((t=>"table"===t.type.name))(r);if(n)return null;const a=r.before();return t.prose.view.Decoration.node(a,a+s.nodeSize,{class:"crepe-placeholder","data-placeholder":i})}(t,o,n);return a?t.prose.view.DecorationSet.create(o.doc,[a]):null}}})));return{plugin:i,config:e}};class jS{get editor(){return this.dom?.editor?.editor}get model(){return this.editor?.getModel()}constructor(t,e,i,o){this.md=t,this.node=e,this.view=i,this.getPos=o,this.updating=!1,this.languageName="plaintext",this._onChange=t=>{if(this.updating)return;const e=t.editor.getModel(),i=this.view.state.tr;this.view.dispatch(i.setNodeAttribute(this.getPos()??0,"content",e.getValue()))},this.setLanguage=t=>{this.view.dispatch(this.view.state.tr.setNodeAttribute(this.getPos()??0,"language",t))},this.dom=this.createComponent(),this.updateLanguage()}createComponent(){const t=this.view.editable?yt("og-code-block"):yt("og-code-view");return t.content=this.node.textContent,t instanceof Pf?(t.dynamicHeight=!0,t.editorOptions={minimap:{enabled:!1},stickyScroll:{enabled:!1}},t.addEventListener("code.change",this._onChange),t.addEventListener("changeLanguage",(t=>this.setLanguage(t.value)))):t.copy=!0,t}setSelection(t,e){if(!this.dom?.isConnected)return;this.dom.focus(),this.updating=!0;const i=this.model;if(i){const o=i.getPositionAt(t),r=i.getPositionAt(e);this.editor.setSelection({startLineNumber:o.lineNumber,startColumn:o.column,endLineNumber:r.lineNumber,endColumn:r.column})}this.updating=!1}update(t){return t.type===this.node.type&&(this.updating||(this.node=t,this.updateLanguage(),this.dom.content=t.textContent),!0)}selectNode(){this.dom.focus()}deselectNode(){}stopEvent(){return!0}destroy(){}updateLanguage(){this.languageName=this.node.attrs.language||"plaintext",this.dom.language=this.languageName}}const HS={};var FS,BS=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},WS=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)},VS=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 US=class extends zn{get content(){return WS(this,FS,"f")}set content(t){VS(this,FS,t,"f"),this.requestUpdate()}constructor(){super(),FS.set(this,""),this.editable=!1,this.editing=!1,this.startEdit=()=>{this.editing=!0},this.render=()=>this.editable?an`
|
|
7525
7525
|
<div class="title">Raw HTML</div>
|
|
7526
7526
|
<div class="body">
|
|
7527
7527
|
${this.editing?an`
|
|
@@ -7543,7 +7543,7 @@ milkdown-block-handle {
|
|
|
7543
7543
|
<div class="placeholder">${Ao("Insert HTML")}</div>
|
|
7544
7544
|
`}
|
|
7545
7545
|
</div>
|
|
7546
|
-
`:vu(this.content),this.addEventListener("click",(()=>this.startEdit()))}commit(){this.editing=!1,
|
|
7546
|
+
`:vu(this.content),this.addEventListener("click",(()=>this.startEdit()))}commit(){this.editing=!1,VS(this,FS,this.editor.model.getValue(),"f"),this.dispatchEvent(new Xr(WS(this,FS,"f")))}};FS=new WeakMap,US.styles=xs`
|
|
7547
7547
|
* {
|
|
7548
7548
|
box-sizing: border-box;
|
|
7549
7549
|
}
|
|
@@ -7572,7 +7572,7 @@ milkdown-block-handle {
|
|
|
7572
7572
|
og-code-view, .placeholder {
|
|
7573
7573
|
cursor: pointer;
|
|
7574
7574
|
}
|
|
7575
|
-
`,
|
|
7575
|
+
`,BS([Tn({type:String})],US.prototype,"content",null),BS([Tn({type:Boolean})],US.prototype,"editable",void 0),BS([Tn({type:Boolean})],US.prototype,"editing",void 0),BS([On("og-code-block")],US.prototype,"editor",void 0),US=BS([Ln("og-markdown-html-block")],US);class GS{constructor(t,e,i,o){this.md=t,this.node=e,this.view=i,this.getPos=o,this.updating=!1,this._onChange=t=>{if(this.updating)return;const e=this.view.state.tr;this.view.dispatch(e.setNodeAttribute(this.getPos()??0,"value",t.value))},this.dom=yt("og-markdown-html-block"),this.dom.editable=this.view.editable,this.dom.content=this.node.attrs?.value,this.dom.addEventListener("change",this._onChange)}update(t){return t.type===this.node.type&&(this.updating||(this.node=t,this.dom.content=this.node.attrs?.value),!0)}selectNode(){this.view.editable&&this.dom.startEdit(),this.dom.focus()}deselectNode(){}stopEvent(){return!0}destroy(){}}const qS={};function YS(t){return t.utils.$ctx(qS,"htmlEditorConfigCtx")}function ZS(t){return t.utils.$view(t.presets.commonmark.htmlSchema.node,(e=>(e,i,o)=>new GS(t,e,i,o)))}var XS,QS,KS,JS,tz,ez,iz,oz,rz,sz,nz=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},az=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 lz={from:-1,to:-1,mark:null};class cz{constructor(t,e){this.ctx=t,XS.set(this,void 0),QS.set(this,void 0),KS.set(this,void 0),JS.set(this,!1),tz.set(this,{...lz}),this._onChange=t=>{const{from:e,to:i,mark:o}=az(this,tz,"f");if(null==t.value||""===t.value)this.ctx.get(kS().key).removeLink(e,i);else{const r=this.ctx.get(Z_.core.editorViewCtx),s=Z_.presets.commonmark.linkSchema.type(this.ctx);if(o&&o.attrs.href===t.value)return void az(this,sz,"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),az(this,sz,"f").call(this)}az(this,ez,"f").call(this)},this.update=t=>{const{state:e}=t,{selection:i}=e;if(!(i instanceof Z_.prose.state.TextSelection))return;const{from:o,to:r}=i;o===az(this,tz,"f").from&&r===az(this,tz,"f").to||az(this,sz,"f").call(this)},this.destroy=()=>{az(this,XS,"f").destroy(),az(this,KS,"f").remove()},this.show=(t,e,i,o)=>{nz(this,tz,{from:e,to:i,mark:t},"f"),o.height=az(this,KS,"f").offsetHeight||20,o.width=az(this,KS,"f").offsetWidth||150,az(this,XS,"f").show({getBoundingClientRect:()=>o}),az(this,XS,"f").element.addEventListener("mouseenter",az(this,iz,"f")),az(this,XS,"f").element.addEventListener("mouseleave",az(this,oz,"f")),az(this,KS,"f").value=t?.attrs.href??"",xt(az(this,KS,"f"))},this.hide=()=>{az(this,JS,"f")||az(this,ez,"f").call(this)},ez.set(this,(()=>{kt(az(this,KS,"f")),az(this,XS,"f").hide(),az(this,XS,"f").element.removeEventListener("mouseenter",az(this,iz,"f")),az(this,XS,"f").element.removeEventListener("mouseleave",az(this,oz,"f"))})),iz.set(this,(()=>{nz(this,JS,!0,"f")})),oz.set(this,(()=>{nz(this,JS,!1,"f")})),rz.set(this,((t,e,i)=>{az(this,KS,"f").value=t;const o=this.ctx.get(Z_.core.editorViewCtx);this.show(null,e,i,Z_.prose.posToDOMRect(o,e,i));const r=o.state.tr;o.dispatch(r.setSelection(Z_.prose.state.TextSelection.create(o.state.doc,e,i)))})),sz.set(this,(()=>{az(this,XS,"f").hide(),nz(this,tz,{...lz},"f")})),this.addLink=(t,e)=>{nz(this,tz,{from:t,to:e,mark:null},"f"),console.log(this),az(this,rz,"f").call(this,"",t,e)},this.editLink=(t,e,i)=>{nz(this,tz,{from:e,to:i,mark:t},"f"),az(this,rz,"f").call(this,t.attrs.href,e,i)},this.removeLink=(t,e)=>{const i=this.ctx.get(Z_.core.editorViewCtx),o=i.state.tr;o.removeMark(t,e,Z_.presets.commonmark.linkSchema.type(this.ctx)),i.dispatch(o),az(this,sz,"f").call(this)};const i=yt("og-markdown-linkedit");i.addEventListener("change",this._onChange),i.ctx=t,nz(this,KS,i,"f"),nz(this,XS,new Z_.plugins.tooltip.TooltipProvider({content:az(this,KS,"f"),offset:10,debounce:0,shouldShow:()=>!1}),"f"),az(this,XS,"f").update(e),nz(this,QS,t.use(yS().key),"f")}}let hz;function dz(){return hz||(hz=Z_.plugins.tooltip.tooltipFactory("MARKDOWN_LINK_EDIT")),hz}XS=new WeakMap,QS=new WeakMap,KS=new WeakMap,JS=new WeakMap,tz=new WeakMap,ez=new WeakMap,iz=new WeakMap,oz=new WeakMap,rz=new WeakMap,sz=new WeakMap;var uz=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 pz=class extends zn{constructor(){super(),this.value="",this.render=()=>an`
|
|
7576
7576
|
<div class="inner">
|
|
7577
7577
|
<og-icon icon="link"></og-icon>
|
|
7578
7578
|
|
|
@@ -7587,7 +7587,7 @@ milkdown-block-handle {
|
|
|
7587
7587
|
<og-button icon="trash" color="red" @click="${()=>this.dispatchEvent(new Xr({value:null}))}">
|
|
7588
7588
|
</og-button>
|
|
7589
7589
|
</div>
|
|
7590
|
-
`,this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("mouseup",(t=>t.stopPropagation()))}};
|
|
7590
|
+
`,this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("mouseup",(t=>t.stopPropagation()))}};pz.styles=xs`
|
|
7591
7591
|
* {
|
|
7592
7592
|
box-sizing: border-box;
|
|
7593
7593
|
}
|
|
@@ -7617,13 +7617,13 @@ milkdown-block-handle {
|
|
|
7617
7617
|
.inner > og-button {
|
|
7618
7618
|
flex: 0 20px;
|
|
7619
7619
|
}
|
|
7620
|
-
`,
|
|
7620
|
+
`,uz([Tn({type:String})],pz.prototype,"value",void 0),uz([On("og-input")],pz.prototype,"input",void 0),pz=uz([Ln("og-markdown-linkedit")],pz);const gz={configure:function(t){const e=yS();let i;t.update(kS().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=q(((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===Z_.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,Z_.prose.posToDOMRect(o,r,n))}else i.hide()}),200);t.set(dz().key,{props:{handleDOMEvents:{mousemove:o,mouseleave:()=>{setTimeout((()=>{i?.hide()}),200)}}},view:e=>(i=new cz(t,e),i)})},getState:yS,getPlugin:()=>[yS(),kS(),MS??(MS=Z_.utils.$ctx({...CS},"linkEditConfigCtx")),dz()].flat()};var mz,fz,vz,bz,yz=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},wz=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)},xz=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};const kz=[{id:"sectionText",title:Ao("Text")},{id:"sectionList",title:Ao("List")},{id:"sectionAdvanced",title:Ao("Advanced")}];let Cz=class extends zn{constructor(){super(...arguments),mz.set(this,void 0),fz.set(this,void 0),vz.set(this,(t=>{if(!wz(this,mz,"f")){const t=this.menuItems;xz(this,mz,yt("og-menu"),"f"),wz(this,mz,"f").dynamicWidth=!1,wz(this,mz,"f").disabledFocus=!0,wz(this,mz,"f").style.width="100%",wz(this,mz,"f").style.height="100%",wz(this,mz,"f").style.border="none",wz(this,mz,"f").items=t,wz(this,mz,"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")))})),wz(this,mz,"f").addEventListener("mousedown",(t=>{t.stopPropagation(),t.preventDefault()}))}return wz(this,mz,"f")})),bz.set(this,(t=>{if(wz(this,mz,"f")?.list){const e=this.menuItems.findIndex((e=>e.key===t.tab.id));e>-1&&wz(this,mz,"f").list.scrollToIndex(e)}})),this.render=()=>an`
|
|
7621
7621
|
<og-tabcontainer
|
|
7622
|
-
.createComponent="${
|
|
7623
|
-
.items="${
|
|
7624
|
-
@tab.select="${
|
|
7622
|
+
.createComponent="${wz(this,vz,"f")}"
|
|
7623
|
+
.items="${kz}"
|
|
7624
|
+
@tab.select="${wz(this,bz,"f")}">
|
|
7625
7625
|
</og-tabcontainer>
|
|
7626
|
-
`}get menuItems(){return
|
|
7626
|
+
`}get menuItems(){return wz(this,fz,"f")??xz(this,fz,(t=>[{key:"sectionText",value:Ao("Text"),divider:!0,type:"label"},{key:"text",value:Ao("Text"),icon:"text",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;$S(t.presets.commonmark.paragraphSchema.type(e))(r,o)}},...new Array(6).fill(0).map(((e,i)=>({key:`square${i+1}`,value:Ao("Heading")+(i+1),icon:`square-${i+1}`,onRun:e=>{const o=e.get(t.core.editorViewCtx),{dispatch:r,state:s}=o;$S(t.presets.commonmark.headingSchema.type(e),{level:i+1})(s,r)}}))),{key:"quote",value:Ao("Quote"),icon:"quote-right",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;OS(t.presets.commonmark.blockquoteSchema.type(e))(r,o)}},{key:"divider",value:Ao("Divider"),icon:"horizontal-rule",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;DS(t.presets.commonmark.hrSchema.type(e))(r,o)}},{key:"sectionList",value:Ao("List"),divider:!0,type:"label"},{key:"bulletList",value:Ao("Bullet List"),icon:"list",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;OS(t.presets.commonmark.bulletListSchema.type(e))(r,o)}},{key:"orderedList",value:Ao("Ordered List"),icon:"list-ol",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;OS(t.presets.commonmark.orderedListSchema.type(e))(r,o)}},{key:"todoList",value:Ao("Todo List"),icon:"list-check",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;OS(t.presets.commonmark.listItemSchema.type(e),{checked:!1})(r,o)}},{key:"sectionAdvanced",value:Ao("Advanced"),divider:!0,type:"label"},{key:"image",value:Ao("Image"),icon:"image",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;DS(t.components.imageBlock.imageBlockSchema.type(e))(r,o)}},{key:"html",value:Ao("Raw HTML"),icon:"code",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i,s=AS(TS(r.tr),t.presets.commonmark.htmlSchema.type(e),null);o(s.scrollIntoView()),requestAnimationFrame((()=>{const t=i.domAtPos(s.selection.$anchor.pos)?.node;if(t){const e=t.querySelector("og-markdown-html-block");e?.startEdit()}}))}},{key:"code",value:Ao("Code"),icon:"code",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;DS(t.presets.commonmark.codeBlockSchema.type(e))(r,o)}},{key:"table",value:Ao("Table"),icon:"table",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i,s=TS(r.tr),n=t.presets.gfm.createTable(e,3,3);s.replaceSelectionWith(n);const{from:a}=s.selection,l=a-n.nodeSize+2;o(s),requestAnimationFrame((()=>{const e=t.prose.state.NodeSelection.create(i.state.tr.doc,l);o(i.state.tr.setSelection(e).scrollIntoView())}))}}])(this.md),"f")}};function Mz(t,e){return i=>{i.inject(e.ctx.createSlice([],"FeaturesCtx"),t)}}mz=new WeakMap,fz=new WeakMap,vz=new WeakMap,bz=new WeakMap,Cz.styles=xs`
|
|
7627
7627
|
* {
|
|
7628
7628
|
box-sizing: border-box;
|
|
7629
7629
|
}
|
|
@@ -7641,15 +7641,15 @@ milkdown-block-handle {
|
|
|
7641
7641
|
width: 100%;
|
|
7642
7642
|
height: 100%;
|
|
7643
7643
|
}
|
|
7644
|
-
`,
|
|
7644
|
+
`,yz([Tn({type:Object})],Cz.prototype,"ctx",void 0),yz([Tn({type:Object})],Cz.prototype,"md",void 0),Cz=yz([Ln("og-markdown-block-edit-menu")],Cz);const _z=(t,e)=>t.atomico.html`<og-icon icon=${e}></og-icon>`;var Sz;!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"}(Sz||(Sz={}));const zz=t=>async e=>{if(!e)return null;const i=t(e);return"string"==typeof e?i:await i};function Ez(t,e,i){const o=i.modifyImageUrl?zz(i.modifyImageUrl):null;return new Map([[Sz.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 fS(t,e)})})).use(e.plugins.block.block)}}],[Sz.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)}}],[Sz.ImageBlock,{default:!0,init:()=>{t.config((t=>{t.update(e.components.imageInline.inlineImageConfig.key,(t=>({uploadButton:()=>_z(e,"upload"),imageIcon:()=>_z(e,"image"),confirmButton:()=>_z(e,"check"),uploadPlaceholderText:"or paste link",onUpload:i.onUpload,proxyDomURL:o}))),t.update(e.components.imageBlock.imageBlockConfig.key,(t=>({uploadButton:()=>"Upload file",imageIcon:()=>_z(e,"image"),captionIcon:()=>_z(e,"comment"),confirmButton:()=>"Confirm",captionPlaceholderText:"Write Image Caption",uploadPlaceholderText:"or paste link",onUpload:i.onUpload,proxyDomURL:o})))})).use(e.components.imageBlock.imageBlockComponent).use(e.components.imageInline.imageInlineComponent)}}],[Sz.LinkTooltip,{default:!0,init:()=>{const e=gz.getPlugin();t.config(gz.configure).use(e)}}],[Sz.Toolbar,{default:!0,init:()=>{const i=e.plugins.tooltip.tooltipFactory("MARKDOWN_TOOLBAR");t.config((t=>{t.set(i.key,{view:i=>new RS(t,i,e)})})).use(i)}}],[Sz.Placeholder,{default:!0,init:()=>{const{config:i,plugin:o}=PS(e);t.config((t=>{t.update(i.key,(t=>({...t})))})).use(o).use(i)}}],[Sz.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 _z(e,"plus");case"delete_row":case"delete_col":return _z(e,"trash");case"align_col_left":return _z(e,"align-left");case"align_col_center":return _z(e,"align-center");case"align_col_right":return _z(e,"align-right");case"col_drag_handle":return _z(e,"grip-lines-vertical");case"row_drag_handle":return _z(e,"grip-lines")}}})))})).use(e.components.tableBlock.tableBlock)}}],[Sz.CodeEditor,{default:!0,init:()=>{const i=function(t){return t.utils.$ctx(HS,"codeEditorConfigCtx")}(e),o=function(t){return t.utils.$view(t.presets.commonmark.codeBlockSchema.node,(e=>(e,i,o)=>new jS(t,e,i,o)))}(e);t.config((t=>{t.update(i.key,(t=>({})))})).use([o,i])}}],[Sz.Html,{default:!0,init:()=>{const i=YS(e),o=ZS(e);t.config((t=>{t.update(i.key,(t=>({})))})).use([o,i])}}]])}const Lz={STATUSBAR_HEIGHT:22,...G},Iz=xs`
|
|
7645
7645
|
* {
|
|
7646
7646
|
box-sizing: border-box;
|
|
7647
7647
|
}
|
|
7648
7648
|
|
|
7649
7649
|
:host {
|
|
7650
7650
|
display: block;
|
|
7651
|
-
height: ${
|
|
7652
|
-
line-height: ${
|
|
7651
|
+
height: ${Lz.STATUSBAR_HEIGHT}px;
|
|
7652
|
+
line-height: ${Lz.STATUSBAR_HEIGHT}px;
|
|
7653
7653
|
background-color: var(--og-accent-color-alpha-70);
|
|
7654
7654
|
display: flex;
|
|
7655
7655
|
flex-direction: row;
|
|
@@ -7685,7 +7685,7 @@ milkdown-block-handle {
|
|
|
7685
7685
|
padding: 0 4px;
|
|
7686
7686
|
}
|
|
7687
7687
|
|
|
7688
|
-
`;var
|
|
7688
|
+
`;var Rz=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 Tz=class extends zn{constructor(){super(...arguments),this.components=new Map,this.render=()=>an`
|
|
7689
7689
|
<div id="left">
|
|
7690
7690
|
${Pn(this.leftItems,(t=>"button"==t.type?an`<div class="item"><og-button icon="${t.icon}" text="${t.text}" color="transparent"></og-button></div>`:an`<div class="item custom">${this.createComponent(t.id)}</div>`))}
|
|
7691
7691
|
</div>
|
|
@@ -7695,12 +7695,12 @@ milkdown-block-handle {
|
|
|
7695
7695
|
<div id="right">
|
|
7696
7696
|
${Pn(this.rightItems,(t=>"button"==t.type?an`<div class="item"><og-button icon="${t.icon}" text="${t.text}" color="transparent"></og-button></div>`:an`<div class="item custom">${this.createComponent(t.id)}</div>`))}
|
|
7697
7697
|
</div>
|
|
7698
|
-
`}layout(){}};
|
|
7698
|
+
`}layout(){}};Tz.styles=[Iz],Rz([Tn({type:Array})],Tz.prototype,"leftItems",void 0),Rz([Tn({type:Array})],Tz.prototype,"rightItems",void 0),Rz([Tn({type:Object})],Tz.prototype,"createComponent",void 0),Rz([Nn(".itemcustom")],Tz.prototype,"customComponents",void 0),Tz=Rz([Ln("og-statusbar")],Tz);const Az=new Map([["button",{}],["togglebutton",{}],["dropdown",{}],["dropdown-button",{width:"38px"}],["color",{width:"38px"}],["text",{width:"100px"}]]);function $z(t){const e={...Az.get(t.type)};return e.display=t.hidden?"none":null,t.width&&(e.width=Ot(t.width)),t.gap&&(e.marginLeft=Ot(t.gap)),e}const Oz=new Map([["button",t=>an`
|
|
7699
7699
|
<og-toolbar-button
|
|
7700
7700
|
data-id="${t.id}"
|
|
7701
7701
|
class="control"
|
|
7702
7702
|
.item="${t}"
|
|
7703
|
-
style="${Vn(
|
|
7703
|
+
style="${Vn($z(t))}">
|
|
7704
7704
|
</og-toolbar-button>
|
|
7705
7705
|
`],["togglebutton",(t,e)=>an`
|
|
7706
7706
|
<og-toolbar-button
|
|
@@ -7709,7 +7709,7 @@ milkdown-block-handle {
|
|
|
7709
7709
|
.item="${t}"
|
|
7710
7710
|
type="toggle"
|
|
7711
7711
|
state="${e?"checked":"unchecked"}"
|
|
7712
|
-
style="${Vn(
|
|
7712
|
+
style="${Vn($z(t))}">
|
|
7713
7713
|
</og-toolbar-button>
|
|
7714
7714
|
`],["dropdown",(t,e)=>an`
|
|
7715
7715
|
<og-toolbar-dropdown
|
|
@@ -7717,7 +7717,7 @@ milkdown-block-handle {
|
|
|
7717
7717
|
class="control"
|
|
7718
7718
|
.item="${t}"
|
|
7719
7719
|
.value="${e}"
|
|
7720
|
-
style="${Vn(
|
|
7720
|
+
style="${Vn($z(t))}">
|
|
7721
7721
|
</og-toolbar-dropdown>
|
|
7722
7722
|
`],["dropdown-custom",(t,e)=>an`
|
|
7723
7723
|
<og-toolbar-customdropdown
|
|
@@ -7725,21 +7725,21 @@ milkdown-block-handle {
|
|
|
7725
7725
|
class="control"
|
|
7726
7726
|
.item="${t}"
|
|
7727
7727
|
.value="${e}"
|
|
7728
|
-
style="${Vn(
|
|
7728
|
+
style="${Vn($z(t))}">
|
|
7729
7729
|
</og-toolbar-customdropdown>
|
|
7730
7730
|
`],["dropdown-button",t=>an`
|
|
7731
7731
|
<og-toolbar-dropdownbutton
|
|
7732
7732
|
data-id="${t.id}"
|
|
7733
7733
|
class="control"
|
|
7734
7734
|
.item="${t}"
|
|
7735
|
-
style="${Vn(
|
|
7735
|
+
style="${Vn($z(t))}">
|
|
7736
7736
|
</og-toolbar-dropdownbutton>
|
|
7737
7737
|
`],["dropdown-menu",t=>an`
|
|
7738
7738
|
<og-toolbar-dropdownmenu
|
|
7739
7739
|
data-id="${t.id}"
|
|
7740
7740
|
class="control"
|
|
7741
7741
|
.item="${t}"
|
|
7742
|
-
style="${Vn(
|
|
7742
|
+
style="${Vn($z(t))}">
|
|
7743
7743
|
</og-toolbar-dropdownmenu>
|
|
7744
7744
|
`],["color",(t,e)=>an`
|
|
7745
7745
|
<og-toolbar-colorpicker
|
|
@@ -7747,7 +7747,7 @@ milkdown-block-handle {
|
|
|
7747
7747
|
class="control"
|
|
7748
7748
|
.item="${t}"
|
|
7749
7749
|
.value="${e}"
|
|
7750
|
-
style="${Vn(
|
|
7750
|
+
style="${Vn($z(t))}">
|
|
7751
7751
|
</og-toolbar-colorpicker>
|
|
7752
7752
|
`],["text",(t,e)=>an`
|
|
7753
7753
|
<og-toolbar-text
|
|
@@ -7755,18 +7755,18 @@ milkdown-block-handle {
|
|
|
7755
7755
|
class="control"
|
|
7756
7756
|
.item="${t}"
|
|
7757
7757
|
.value="${e}"
|
|
7758
|
-
style="${Vn(
|
|
7758
|
+
style="${Vn($z(t))}">
|
|
7759
7759
|
</og-toolbar-text>
|
|
7760
7760
|
`],["label",(t,e)=>an`
|
|
7761
|
-
<label style="${Vn(
|
|
7762
|
-
`]]),
|
|
7761
|
+
<label style="${Vn($z(t))}">${e}</label>
|
|
7762
|
+
`]]),Dz={TOOLBAR_HEIGHT:30,TOOLBAR_COMPONENT_SIZE_BASE:24,TOOLBAR_TOOLTIP_DELAY:200,...G},Nz=(Dz.TOOLBAR_HEIGHT-Dz.TOOLBAR_COMPONENT_SIZE_BASE)/2,Pz=xs`
|
|
7763
7763
|
* {
|
|
7764
7764
|
box-sizing: border-box;
|
|
7765
7765
|
}
|
|
7766
7766
|
|
|
7767
7767
|
:host {
|
|
7768
7768
|
display: block;
|
|
7769
|
-
height: ${
|
|
7769
|
+
height: ${Dz.TOOLBAR_HEIGHT}px;
|
|
7770
7770
|
background-color: var(--og-background-color-2);
|
|
7771
7771
|
display: flex;
|
|
7772
7772
|
font-size: var(--og-font-size);
|
|
@@ -7780,8 +7780,8 @@ milkdown-block-handle {
|
|
|
7780
7780
|
display: flex;
|
|
7781
7781
|
flex-direction: row;
|
|
7782
7782
|
align-items: center;
|
|
7783
|
-
gap: ${
|
|
7784
|
-
padding-left: ${
|
|
7783
|
+
gap: ${Nz}px;
|
|
7784
|
+
padding-left: ${Nz}px;
|
|
7785
7785
|
}
|
|
7786
7786
|
|
|
7787
7787
|
.inner>* {
|
|
@@ -7795,31 +7795,31 @@ milkdown-block-handle {
|
|
|
7795
7795
|
og-button {
|
|
7796
7796
|
box-sizing: border-box;
|
|
7797
7797
|
display: block;
|
|
7798
|
-
width: ${
|
|
7799
|
-
height: ${
|
|
7800
|
-
max-height: ${
|
|
7801
|
-
line-height: ${
|
|
7802
|
-
min-width: ${
|
|
7798
|
+
width: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7799
|
+
height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7800
|
+
max-height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7801
|
+
line-height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7802
|
+
min-width: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7803
7803
|
padding: 0;
|
|
7804
7804
|
}
|
|
7805
7805
|
|
|
7806
7806
|
og-toolbar-dropdownbutton, og-toolbar-colorpicker {
|
|
7807
|
-
min-width: ${
|
|
7808
|
-
height: ${
|
|
7809
|
-
max-height: ${
|
|
7807
|
+
min-width: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE+14}px;
|
|
7808
|
+
height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7809
|
+
max-height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7810
7810
|
}
|
|
7811
7811
|
|
|
7812
7812
|
og-dropdown {
|
|
7813
7813
|
min-width: 100px;
|
|
7814
|
-
height: ${
|
|
7815
|
-
max-height: ${
|
|
7814
|
+
height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7815
|
+
max-height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7816
7816
|
}
|
|
7817
7817
|
|
|
7818
7818
|
label {
|
|
7819
7819
|
white-space: nowrap;
|
|
7820
7820
|
}
|
|
7821
7821
|
|
|
7822
|
-
`;var
|
|
7822
|
+
`;var jz=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 Hz=class extends zn{get tooltip(){return this.tooltipRef.value}constructor(){super(),this.values={},this.controls=new Map,this.tooltipRef=Hd(),this._onItemMouseEnter=t=>{const e=t.target;e.dataset.tooltip&&(this.tooltip.content=e.dataset.tooltip,this._tooltipTimeout=window.setTimeout((()=>this.tooltip.attachTo(e,"bottom")),Dz.TOOLBAR_TOOLTIP_DELAY))},this._onItemMouseLeave=()=>{this.tooltip.hide(),window.clearTimeout(this._tooltipTimeout)},this.render=()=>an`
|
|
7823
7823
|
<div class="inner">
|
|
7824
7824
|
${Pn(this.items,(t=>an`
|
|
7825
7825
|
<div
|
|
@@ -7827,21 +7827,21 @@ milkdown-block-handle {
|
|
|
7827
7827
|
data-tooltip="${Ao(t.title)}"
|
|
7828
7828
|
@mouseenter="${this._onItemMouseEnter}"
|
|
7829
7829
|
@mouseleave="${this._onItemMouseLeave}">
|
|
7830
|
-
${
|
|
7830
|
+
${Oz.get(t.type)(t,(this.values?this.values[t.id]:void 0)??t.value)}
|
|
7831
7831
|
</div>
|
|
7832
7832
|
`))}
|
|
7833
7833
|
|
|
7834
7834
|
<og-tooltip id="tooltip" style="display: none" color="accent" ${Wd(this.tooltipRef)}></og-tooltip>
|
|
7835
7835
|
</div>
|
|
7836
7836
|
<div class="empty"> </div>
|
|
7837
|
-
`,this.addEventListener("toolbar.action",(t=>{"change"==t.action.type&&(this.values=this.values||{},this.values[t.action.key]=t.action.value)}))}layout(){}updated(){this.controls.clear(),this.shadowRoot.querySelectorAll(".control").forEach((t=>this.controls.set(t.dataset.id,t)))}};
|
|
7837
|
+
`,this.addEventListener("toolbar.action",(t=>{"change"==t.action.type&&(this.values=this.values||{},this.values[t.action.key]=t.action.value)}))}layout(){}updated(){this.controls.clear(),this.shadowRoot.querySelectorAll(".control").forEach((t=>this.controls.set(t.dataset.id,t)))}};Hz.styles=[Pz],jz([Tn({type:Array})],Hz.prototype,"items",void 0),jz([Tn({type:Object})],Hz.prototype,"values",void 0),Hz=jz([Ln("og-toolbar")],Hz);var Fz=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 Bz=class extends qa{constructor(){super(),this.color=null}firstUpdated(){this.addEventListener("click",(()=>{Ur(this,"toolbar",{type:"change",key:this.item.id,value:"toggle"==this.type?"checked"==this.state:this.item.value})}))}willUpdate(t){t.has("item")&&this.item&&(this.icon=this.item.icon,this.text=this.item.text,this.color=this.item.color?this.item.color:"normal"==this.type?xa.Gray:xa.Accent,this.disabled=this.item.disabled||!1,this.item.content&&Sn(an`<div slot="content">${this.item.content}</div>`,this)),super.willUpdate(t)}};Bz.styles=[...qa.styles,xs`
|
|
7838
7838
|
:host {
|
|
7839
7839
|
box-sizing: border-box;
|
|
7840
7840
|
display: block;
|
|
7841
|
-
min-width: ${
|
|
7842
|
-
height: ${
|
|
7841
|
+
min-width: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7842
|
+
height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7843
7843
|
}
|
|
7844
|
-
`],
|
|
7844
|
+
`],Fz([Tn({type:Object})],Bz.prototype,"item",void 0),Bz=Fz([Ln("og-toolbar-button")],Bz);var Wz=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 Vz=class extends zn{constructor(){super(...arguments),this._onChange=()=>{this.tree.close();const t=this.tree.value;this.value=t&&t[0]&&t[0][0]?t[0][0]:null,Ur(this,"toolbar",{type:"change",key:this.item.id,value:this.value})},this.render=()=>an`
|
|
7845
7845
|
<og-tree-dropdown
|
|
7846
7846
|
color="gray"
|
|
7847
7847
|
?disabled="${!!this.item.disabled}"
|
|
@@ -7851,23 +7851,23 @@ milkdown-block-handle {
|
|
|
7851
7851
|
.caption="${this.item.caption}"
|
|
7852
7852
|
.value="${this.getValue()}">
|
|
7853
7853
|
</og-tree-dropdown>
|
|
7854
|
-
`}updated(){this.item.width&&Nt(this.tree,{w:this.item.width}),this.item.adapter||this.tree.setSourceData(this.item.items,{globalLevels:!1,selectMode:Am.Single,checkboxes:!1,expanders:!1})}getValue(){return Array.isArray(this.value)?this.value:null==this.value?null:[[this.value,0,1]]}};
|
|
7854
|
+
`}updated(){this.item.width&&Nt(this.tree,{w:this.item.width}),this.item.adapter||this.tree.setSourceData(this.item.items,{globalLevels:!1,selectMode:Am.Single,checkboxes:!1,expanders:!1})}getValue(){return Array.isArray(this.value)?this.value:null==this.value?null:[[this.value,0,1]]}};Vz.styles=[xs`
|
|
7855
7855
|
:host {
|
|
7856
7856
|
display: flex;
|
|
7857
7857
|
flex-direction: row;
|
|
7858
|
-
height: ${
|
|
7858
|
+
height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7859
7859
|
}
|
|
7860
7860
|
|
|
7861
7861
|
og-tree-dropdown {
|
|
7862
7862
|
height: 100%;
|
|
7863
7863
|
}
|
|
7864
|
-
`],
|
|
7864
|
+
`],Wz([On("og-tree-dropdown")],Vz.prototype,"tree",void 0),Wz([Tn({type:Object})],Vz.prototype,"item",void 0),Wz([Tn({type:String})],Vz.prototype,"value",void 0),Vz=Wz([Ln("og-toolbar-dropdown")],Vz);var Uz=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 Gz=class extends Cu{willUpdate(t){super.willUpdate(t),this.style.width=Ot(this.item.width||(this.item.text?null:23)),this.style.textAlign=this.item.text?"left":"center",this.icon=this.item.icon,this.color=xa.Gray,this.noCaret=!0}async getComponent(){if(!this.item.createComponent)return null;const t=await this.item.createComponent(this.item.id,this.value);return t.slot="inner-content",t.addEventListener("change",(t=>{this.close(),Ur(this,"toolbar",{type:"select",key:this.item.id,value:t.value})})),t}async open(){const t=await this.getComponent();t.parentElement!=this.dropdown&&(St(this.dropdown),this.dropdown.appendChild(t)),await super.open()}};Gz.styles=[...Cu.styles,xs`
|
|
7865
7865
|
:host {
|
|
7866
7866
|
display: flex;
|
|
7867
7867
|
flex-direction: row;
|
|
7868
|
-
height: ${
|
|
7868
|
+
height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7869
7869
|
}
|
|
7870
|
-
`],
|
|
7870
|
+
`],Uz([Tn({type:Object})],Gz.prototype,"item",void 0),Uz([Tn({type:String})],Gz.prototype,"value",void 0),Gz=Uz([Ln("og-toolbar-customdropdown")],Gz);var qz=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 zn{constructor(){super(...arguments),this.gridRef=Hd(),this.treeRef=Hd(),this.dropdownRef=Hd(),this.mode="button",this.render=()=>an`
|
|
7871
7871
|
${"button"==this.mode?an`
|
|
7872
7872
|
<og-toolbar-button
|
|
7873
7873
|
.item="${this.isGridDropdown?this.currentItem:this.item}">
|
|
@@ -7881,7 +7881,7 @@ milkdown-block-handle {
|
|
|
7881
7881
|
.width="${this.isGridDropdown?0:this.item.width}"
|
|
7882
7882
|
.color="${this.item.color||"gray"}"
|
|
7883
7883
|
.icon="${"button"==this.mode?null:this.item.icon}"
|
|
7884
|
-
.positionOffset="${this.isGridDropdown?-
|
|
7884
|
+
.positionOffset="${this.isGridDropdown?-Dz.TOOLBAR_COMPONENT_SIZE_BASE:0}">
|
|
7885
7885
|
${this.isGridDropdown?an`
|
|
7886
7886
|
<og-toolbar-grid ${Wd(this.gridRef)}
|
|
7887
7887
|
slot="content"
|
|
@@ -7894,18 +7894,18 @@ milkdown-block-handle {
|
|
|
7894
7894
|
</og-tree>
|
|
7895
7895
|
`}
|
|
7896
7896
|
</og-dropdown>
|
|
7897
|
-
`}get grid(){return this.gridRef.value}get tree(){return this.treeRef.value}get dropdown(){return this.dropdownRef.value}willUpdate(){if(!this.currentItem&&this.item?.items){const t=this.item.items;this.currentItem=t.flatMap((t=>t)).find((t=>t.default)),this.currentItem||(this.currentItem=t[0][0])}this.item?.options&&Object.assign(this,this.item.options)}firstUpdated(){if(this.grid){Lt(this.grid,"click","og-toolbar-button",((t,e)=>{this.currentItem=e.item,this.dropdown.close()}));let t=null;Lt(this.grid,"mousemove","og-toolbar-button",((e,i)=>{t!=i.item.id&&(t=i.item.id,Ur(this,"toolbar",{type:"preview",key:i.item.id,value:i.item.value}))})),this.grid.addEventListener("mouseleave",(()=>{Ur(this,"toolbar",{type:"previewEnd",key:t,value:null}),t=null})),this.grid.addEventListener("toolbar.action",(t=>{Ur(this,"toolbar",t.action)}))}else this.tree.setSourceData(this.item.items||[],{checkboxes:!1}),this.tree.addEventListener("select",(t=>{this.dropdown.close(),Ur(this,"toolbar",{type:"select",key:t.node.key,value:t.node.value})}));this.button?.addEventListener("click",(()=>{Ur(this,"toolbar",{type:"select",key:(this.currentItem||this.item).id,value:(this.currentItem||this.item).value})})),this.dropdown.addEventListener("mousedown",(t=>{t.stopPropagation()}))}adjustWidth(){const t=this.dropdown?.dropdown;if(this.tree?.list&&t){Nt(t,{w:this.offsetWidth});const e=Math.max(this.tree.list.calculateViewportMaxItemWidth(),this.offsetWidth);e>t.offsetWidth&&Nt(t,{w:e})}}get isGridDropdown(){return this.item?.items&&Array.isArray(this.item.items[0])&&this.item.items[0].length>1}};
|
|
7897
|
+
`}get grid(){return this.gridRef.value}get tree(){return this.treeRef.value}get dropdown(){return this.dropdownRef.value}willUpdate(){if(!this.currentItem&&this.item?.items){const t=this.item.items;this.currentItem=t.flatMap((t=>t)).find((t=>t.default)),this.currentItem||(this.currentItem=t[0][0])}this.item?.options&&Object.assign(this,this.item.options)}firstUpdated(){if(this.grid){Lt(this.grid,"click","og-toolbar-button",((t,e)=>{this.currentItem=e.item,this.dropdown.close()}));let t=null;Lt(this.grid,"mousemove","og-toolbar-button",((e,i)=>{t!=i.item.id&&(t=i.item.id,Ur(this,"toolbar",{type:"preview",key:i.item.id,value:i.item.value}))})),this.grid.addEventListener("mouseleave",(()=>{Ur(this,"toolbar",{type:"previewEnd",key:t,value:null}),t=null})),this.grid.addEventListener("toolbar.action",(t=>{Ur(this,"toolbar",t.action)}))}else this.tree.setSourceData(this.item.items||[],{checkboxes:!1}),this.tree.addEventListener("select",(t=>{this.dropdown.close(),Ur(this,"toolbar",{type:"select",key:t.node.key,value:t.node.value})}));this.button?.addEventListener("click",(()=>{Ur(this,"toolbar",{type:"select",key:(this.currentItem||this.item).id,value:(this.currentItem||this.item).value})})),this.dropdown.addEventListener("mousedown",(t=>{t.stopPropagation()}))}adjustWidth(){const t=this.dropdown?.dropdown;if(this.tree?.list&&t){Nt(t,{w:this.offsetWidth});const e=Math.max(this.tree.list.calculateViewportMaxItemWidth(),this.offsetWidth);e>t.offsetWidth&&Nt(t,{w:e})}}get isGridDropdown(){return this.item?.items&&Array.isArray(this.item.items[0])&&this.item.items[0].length>1}};Yz.styles=[xs`
|
|
7898
7898
|
:host {
|
|
7899
7899
|
display: flex;
|
|
7900
7900
|
flex-direction: row;
|
|
7901
|
-
max-height: ${
|
|
7901
|
+
max-height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7902
7902
|
}
|
|
7903
7903
|
|
|
7904
7904
|
og-toolbar-button {
|
|
7905
7905
|
flex: 1;
|
|
7906
7906
|
border-top-right-radius: 0;
|
|
7907
7907
|
border-bottom-right-radius: 0;
|
|
7908
|
-
min-width: ${
|
|
7908
|
+
min-width: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7909
7909
|
}
|
|
7910
7910
|
|
|
7911
7911
|
og-toolbar-button+og-dropdown {
|
|
@@ -7916,27 +7916,27 @@ milkdown-block-handle {
|
|
|
7916
7916
|
border-left: none;
|
|
7917
7917
|
height: 100%;
|
|
7918
7918
|
}
|
|
7919
|
-
`],
|
|
7919
|
+
`],qz([On("og-toolbar-button")],Yz.prototype,"button",void 0),qz([Tn({type:Object})],Yz.prototype,"item",void 0),qz([Tn({type:Object})],Yz.prototype,"currentItem",void 0),qz([Tn({type:String})],Yz.prototype,"mode",void 0),Yz=qz([Ln("og-toolbar-dropdownbutton")],Yz);var Zz=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 Xz=class extends Tu{willUpdate(t){super.willUpdate(t),this.style.width=Ot(this.item.width||(this.item.text?null:23)),this.style.textAlign=this.item.text?"left":"center",this.icon=this.item.icon,this.color=this.item.color||xa.Gray,this.label=this.item.caption??this.item.text,this.noCaret=!1,this.disabled=!!this.item.disabled,this.alignment=this.item.alignment||"right",this.items=this.item.items||[],this.dynamicWidth=!0,this.item?.options&&Object.assign(this,this.item.options)}constructor(){super(),this.addEventListener("menu.select",(t=>{Ur(this,"toolbar",{type:"select",key:(t.item.key??t.item.k)?.toString(),value:(t.item.value??t.item.v)?.toString()})}))}};Xz.styles=[...Tu.styles,xs`
|
|
7920
7920
|
:host {
|
|
7921
7921
|
display: flex;
|
|
7922
7922
|
flex-direction: row;
|
|
7923
|
-
height: ${
|
|
7923
|
+
height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7924
7924
|
}
|
|
7925
|
-
`],
|
|
7925
|
+
`],Zz([Tn({type:Object})],Xz.prototype,"item",void 0),Zz([Tn({type:String})],Xz.prototype,"value",void 0),Xz=Zz([Ln("og-toolbar-dropdownmenu")],Xz);var Qz=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 Kz=class extends zn{constructor(){super(...arguments),this.render=()=>an`
|
|
7926
7926
|
<table>
|
|
7927
7927
|
${Pn(this.items,(t=>an`
|
|
7928
7928
|
<tr>
|
|
7929
|
-
${Pn(t,(t=>an`<td colspan=${(t=>t??hn)(t.colspan)}>${
|
|
7929
|
+
${Pn(t,(t=>an`<td colspan=${(t=>t??hn)(t.colspan)}>${Oz.get(t.type)(t)}</td>`))}
|
|
7930
7930
|
</tr>
|
|
7931
7931
|
`))}
|
|
7932
7932
|
</table>
|
|
7933
|
-
`}};
|
|
7933
|
+
`}};Kz.styles=[xs`
|
|
7934
7934
|
:host {
|
|
7935
7935
|
box-sizing: border-box;
|
|
7936
7936
|
display: block;
|
|
7937
7937
|
background-color: var(--og-background-color);
|
|
7938
7938
|
}
|
|
7939
|
-
`],
|
|
7939
|
+
`],Qz([Tn({type:Array})],Kz.prototype,"items",void 0),Kz=Qz([Ln("og-toolbar-grid")],Kz);var Jz=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 tE=class extends zn{constructor(){super(...arguments),this.color="gray",this.dropdownRef=Hd(),this.listRef=Hd(),this._onSelect=t=>{this.dropdown.close(),this.value=this.item.items[t.index].k,Ur(this,"toolbar",{type:"change",key:this.item.id,value:this.value})},this._onKeyUp=()=>{this.value!=this.input.value&&(this.value=this.input.value,Ur(this,"toolbar",{type:"change",key:this.item.id,value:this.value}),this.input.focus())},this.render=()=>an`
|
|
7940
7940
|
<input
|
|
7941
7941
|
class="${this.item.items&&this.item.items.length>0?"has-dropdown":""}"
|
|
7942
7942
|
type="text"
|
|
@@ -7958,11 +7958,11 @@ milkdown-block-handle {
|
|
|
7958
7958
|
</og-list>
|
|
7959
7959
|
</og-dropdown>
|
|
7960
7960
|
`:""}
|
|
7961
|
-
`}get dropdown(){return this.dropdownRef.value}get list(){return this.listRef.value}updated(){this.list&&(this.list.itemRenderer=(t,e)=>(t.style.paddingLeft=Ot(5),this.item.items[e].v),Nt(this.list,{w:this.clientWidth}))}};
|
|
7961
|
+
`}get dropdown(){return this.dropdownRef.value}get list(){return this.listRef.value}updated(){this.list&&(this.list.itemRenderer=(t,e)=>(t.style.paddingLeft=Ot(5),this.item.items[e].v),Nt(this.list,{w:this.clientWidth}))}};tE.styles=[xs`
|
|
7962
7962
|
:host {
|
|
7963
7963
|
display: flex;
|
|
7964
7964
|
flex-direction: row;
|
|
7965
|
-
height: ${
|
|
7965
|
+
height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7966
7966
|
}
|
|
7967
7967
|
|
|
7968
7968
|
input {
|
|
@@ -7984,7 +7984,7 @@ milkdown-block-handle {
|
|
|
7984
7984
|
height: 100%;
|
|
7985
7985
|
border-left: none;
|
|
7986
7986
|
}
|
|
7987
|
-
`],
|
|
7987
|
+
`],Jz([Tn({type:String,reflect:!0})],tE.prototype,"color",void 0),Jz([Tn({type:Object})],tE.prototype,"item",void 0),Jz([Tn({type:String})],tE.prototype,"value",void 0),Jz([On("input")],tE.prototype,"input",void 0),tE=Jz([Ln("og-toolbar-text"),Pa({props:["color","border","background"],selector:"input"})],tE);var eE=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 iE=class extends zn{constructor(){super(...arguments),this._onChange=t=>{this.button.style.backgroundColor=t.value,Ur(this,"toolbar",{type:"select",key:this.item.id,value:t.value}),this.dropdown.close()},this._onPreview=t=>{this.button.style.backgroundColor=t.color,Ur(this,"toolbar",{type:"preview",key:this.item.id,value:t.color})},this._onPreviewEnd=t=>{this.button.style.backgroundColor=t.color,Ur(this,"toolbar",{type:"previewEnd",key:this.item.id,value:t.color})},this.render=()=>an`
|
|
7988
7988
|
<og-button
|
|
7989
7989
|
mode="toggle"
|
|
7990
7990
|
color="gray"
|
|
@@ -8000,7 +8000,7 @@ milkdown-block-handle {
|
|
|
8000
8000
|
color="gray"
|
|
8001
8001
|
alignment="left"
|
|
8002
8002
|
?disabled="${!!this.item.disabled}"
|
|
8003
|
-
.positionOffset="${-
|
|
8003
|
+
.positionOffset="${-Dz.TOOLBAR_COMPONENT_SIZE_BASE}">
|
|
8004
8004
|
<og-colorpicker
|
|
8005
8005
|
slot="content"
|
|
8006
8006
|
@change="${this._onChange}"
|
|
@@ -8009,21 +8009,21 @@ milkdown-block-handle {
|
|
|
8009
8009
|
@mousedown="${t=>t.stopPropagation()}">
|
|
8010
8010
|
</og-colorpicker>
|
|
8011
8011
|
</og-dropdown>
|
|
8012
|
-
`}};
|
|
8012
|
+
`}};iE.styles=[xs`
|
|
8013
8013
|
:host {
|
|
8014
8014
|
display: flex;
|
|
8015
8015
|
flex-direction: row;
|
|
8016
|
-
max-height: ${
|
|
8016
|
+
max-height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
8017
8017
|
}
|
|
8018
8018
|
|
|
8019
8019
|
og-button {
|
|
8020
8020
|
box-sizing: border-box;
|
|
8021
8021
|
display: block;
|
|
8022
|
-
width: ${
|
|
8023
|
-
height: ${
|
|
8024
|
-
max-height: ${
|
|
8025
|
-
min-width: ${
|
|
8026
|
-
line-height: ${
|
|
8022
|
+
width: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
8023
|
+
height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
8024
|
+
max-height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
8025
|
+
min-width: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
8026
|
+
line-height: ${Dz.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
8027
8027
|
padding: 0;
|
|
8028
8028
|
flex: 0;
|
|
8029
8029
|
border-top-right-radius: 0;
|
|
@@ -8044,7 +8044,7 @@ milkdown-block-handle {
|
|
|
8044
8044
|
border-left: none;
|
|
8045
8045
|
height: 100%;
|
|
8046
8046
|
}
|
|
8047
|
-
`],tE([Tn({type:Object})],eE.prototype,"item",void 0),tE([Tn({type:String})],eE.prototype,"value",void 0),tE([On("og-dropdown")],eE.prototype,"dropdown",void 0),tE([On("og-button")],eE.prototype,"button",void 0),tE([On(".btn-content")],eE.prototype,"btnContent",void 0),eE=tE([Ln("og-toolbar-colorpicker")],eE);class iE{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(!ls.require)throw new Error("AMDLoader is not initialized");return ls.require.config({paths:{xlsx:this.path+"/xlsx.full.min"}}),new Promise((t=>ls.require(["xlsx"],(()=>t(self.XLSX)))))}}const oE="aaaaaa",rE={bottom:{style:"thin",color:oE},top:{style:"thin",color:oE},right:{style:"thin",color:oE},left:{style:"thin",color:oE}},sE={exportHiddenRows:!0,exportHiddenColumns:!0,gridLines:!0,defaultBorders:!1,dropdownCells:"value"},nE={alignment:{vertical:"center",horizontal:"center"},bold:!0},aE={g:"n",b:"b",t:"s",n:"n",d:"d",dt:"d",s:"s",m:"s",tm:"s",h:"s",a:"z"};function lE(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 cE(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 hE(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 dE(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t.columns:t.visibleColumns,r=mE(e);return[...Array(i).keys()].map((e=>o.map((i=>{const o=i.header[e],s={t:o?"s":"z",s:nE};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,gE(t.styles.get(o._style)))),s}))))}function uE(t){return{rgb:t}}function pE(t){return"none"==t.style?null:{style:t.style,color:uE(t.color)}}function gE(t){const e={};return t.color&&(e.color=uE(t.color)),t.bgColor&&(e.bgColor=uE(t.bgColor)),t.fgColor&&(e.fgColor=uE(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=pE(t.bottom)),t.top&&(e.top=pE(t.top)),t.right&&(e.right=pE(t.right)),t.left&&(e.left=pE(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 mE(t){const e=!0===t.defaultBorders?rE:t.defaultBorders;return e?function(t){const e={};return t.bottom&&(e.bottom=pE(t.bottom)),t.top&&(e.top=pE(t.top)),t.right&&(e.right=pE(t.right)),t.left&&(e.left=pE(t.left)),e}(e):null}function fE(t,e){e=xE(e);const i=t.headerCount,o=new Iw(t),r=new Array(i+t.rows.length),s=new Map,n=mE(e),a=t.options.dateFormat||"yyyy-MM-dd",l="displayValue"==e.dropdownCells;dE(t,e).forEach(((t,e)=>r[e]=t));const c=e.exportHiddenRows?t.rows:t.visibleRows,h=e.exportHiddenColumns?t.columns:t.visibleColumns;return c.forEach(((t,e)=>r[e+i]=h.map((e=>{const r=t.cell(e.index),c=aE[r.type],h={t:r.hasValue?c:"z"};r.hasFormula?(h.f=i>0?o.getFormula(r).clone().shift({index:0,offset:i,direction:"down"}).toExcelString():o?o.getFormula(r).toExcelString():r.formula,"d"==r.type&&(h.t="n",h.z=r.format??a)):r.hasValue&&!r.isSpilled&&("s"==h.t?h.v=l?r.formattedValue.toString():r.value.toString():"z"!=h.t&&(h.v=r.value),"g"==r.type?h.t=Q(h.v)?"s":"n":"d"==r.type&&tt(h.v)&&(h.t="n"));const d=r.composedStyle;if(d&&(s.has(d.id)||s.set(d.id,gE(d)),h.s={...s.get(d.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)}(r,h),r.hasComment){const t=r.model.comments.get(r.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"})})),h.c=e,console.log(h)}return"n"!=h.t&&"d"!=h.t||null!=h.z||(h.z=r.format??("d"==h.t?a:"General")),n&&(h.s||(h.s={}),h.s=Object.assign({},n,h.s)),h})))),r}function vE(t,e){return t||e?{t:(t=Object.assign({},e,t)).t,v:t.v,color:uE(t.color)}:null}function bE(t){const e=t.headerCount;return t.conditionalFormats.getSourceData().map((t=>({ref:yv.fromA1s(t.ranges).map((t=>t.shiftDown(0,e,null,!0).A1)).join(" "),t:t.type,f:t.condition&&sv(t.condition[0])?"A1"+t.condition:t.condition??null,s:t.style?gE(t.style):null,stop:t.stop,cmin:vE(t.cmin,"bar"==t.type?{t:"min",color:t.color}:null),cmid:t.cmid?vE(t.cmid,{v:50,t:"percentile"}):null,cmax:vE(t.cmax,"bar"==t.type?{t:"max",color:t.color}:null),color:uE(t.color),v:t.v,thresh:t.thresh})))}function yE(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 wE(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 xE=t=>{const e=Object.assign({},sE,t);return e.defaultBorders&&(e.defaultBorders=rE),e},kE=t=>t/25.4;function CE(t){return t?{top:kE(t.top),bottom:kE(t.bottom),left:kE(t.left),right:kE(t.right),header:kE(t.header),footer:kE(t.footer)}:null}function ME(t,e){e=xE(e);const i={};return i["!cols"]=lE(t,e),i["!rows"]=cE(t,e),i["!merges"]=hE(t,e),i["!condfmt"]=bE(t),i["!outline"]={above:"above"==yE(t),left:"left"==wE(t)},t.options.freezeLeft||t.options.freezeTop?i["!freeze"]=`${kv(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)?Jr[e.paper]??Jr.A4:e.paper,o=kE(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=CE(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?yv.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),i}async function _E(t,e){const i=iE.get(),o=i instanceof Promise?await i:i;e=xE(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(ME(t,s),fE(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 SE(t,e=null){const i=iE.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 zE={b:"b",s:"t",n:"n",d:"d",z:"g",e:"t"};function EE(t){return t.rgb}function LE(t){return{color:EE(t.color),style:t.style}}function IE(t){const e={};return t.color&&(e.color=EE(t.color)),t.bgColor&&(e.bgColor=EE(t.bgColor)),t.fgColor&&(e.fgColor=EE(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=LE(t.top)),t.bottom&&(e.bottom=LE(t.bottom)),t.left&&(e.left=LE(t.left)),t.right&&(e.right=LE(t.right)),e}function RE(t,e){const i=t["!ref"]?yv.fromA1(t["!ref"]):yv.fromA1("A1:T100"),o={},r={};if(t["!freeze"]){const e=yv.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 yv(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=yv.fromA1(o),n={r:s.r1,c:s.c1,t:zE[r.t]},a=i.get(o);a&&(n.cs=a.cs,n.rs=a.rs),r.s&&(n.s=IE(r.s)),r.f?n.f=Av(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?IE(t.s):null,e.cmin=t.cmin?{t:t.cmin.t,color:t.cmin.color?EE(t.cmin.color):null}:null,e.cmid=t.cmid?{t:t.cmid.t,color:t.cmid.color?EE(t.cmid.color):null}:null,e.cmax=t.cmax?{t:t.cmax.t,color:t.cmax.color?EE(t.cmax.color):null}:null,e.color=t.color?EE(t.color):null,e.condition=t.f,e.stop=!0,e}))}(t),o}function TE(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=yv.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 AE(t,e){return performance.mark("start_import"),OE(await t.arrayBuffer(),e)}function $E(t){const e=TE(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({...RE(t.Sheets[o],e.get(o)),name:o}),performance.mark(`sheet_end_${o}`);return performance.mark("sheets_end"),i}async function OE(t,e){performance.mark("array_buffer");const i=t instanceof ArrayBuffer?new Uint8Array(t):t,o=(await iE.get()).read(i,Object.assign({cellNF:!0,cellText:!1,cellStyles:!0,type:"buffer"},e||{}));return performance.mark("wb_read"),$E(o)}class DE extends nu{init(t){iE.get(),t.commands.add({group:"plugin",name:"export xlsx",exec:async()=>{const e=t.getGridContainer().model.models;SE(await _E(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 AE(i))}}))}}DE.pluginName="xlsx";class NE{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=yv.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=yv.fromA1(t.seriesRange)),t.categoriesRange&&(this._categoriesRange=yv.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=Yr(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 PE extends nu{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[PE.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 NE(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[PE.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)}}PE.pluginName="charts";class jE extends nu{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 PE)})),t.addEventListener("grid.object.activate",(t=>{t.object instanceof NE&&(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)}))}}jE.pluginName="chartEditor";class HE{static init(t){"string"==typeof t?HE.path=t:HE.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&&(HE.highcharts=window.Highcharts),HE.highcharts?HE.highcharts:this.loadViaScript()}static async loadViaScript(){const t=window.define,e=t&&t.amd;t&&(t.amd=void 0);try{if(await cs.load(`${this.path}/highcharts.js`),window.Highcharts)return HE.highcharts=window.Highcharts,window.Highcharts;throw new Error("Failed to load Highcharts")}catch(t){throw console.error("Failed to load Highcharts",t),t}finally{t&&void 0!==e&&(t.amd=e)}}}const FE={chart:{styledMode:!0}};async function BE(t){const e=await HE.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 WE(t,e){const i=await HE.get(),o=await BE(t);return i.chart(e,i.merge(o,FE,{chart:{}}))}const VE=xs`
|
|
8047
|
+
`],eE([Tn({type:Object})],iE.prototype,"item",void 0),eE([Tn({type:String})],iE.prototype,"value",void 0),eE([On("og-dropdown")],iE.prototype,"dropdown",void 0),eE([On("og-button")],iE.prototype,"button",void 0),eE([On(".btn-content")],iE.prototype,"btnContent",void 0),iE=eE([Ln("og-toolbar-colorpicker")],iE);class oE{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(!ls.require)throw new Error("AMDLoader is not initialized");return ls.require.config({paths:{xlsx:this.path+"/xlsx.full.min"}}),new Promise((t=>ls.require(["xlsx"],(()=>t(self.XLSX)))))}}const rE="aaaaaa",sE={bottom:{style:"thin",color:rE},top:{style:"thin",color:rE},right:{style:"thin",color:rE},left:{style:"thin",color:rE}},nE={exportHiddenRows:!0,exportHiddenColumns:!0,gridLines:!0,defaultBorders:!1,dropdownCells:"value"},aE={alignment:{vertical:"center",horizontal:"center"},bold:!0},lE={g:"n",b:"b",t:"s",n:"n",d:"d",dt:"d",s:"s",m:"s",tm:"s",h:"s",a:"z"};function cE(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 hE(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 dE(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 uE(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t.columns:t.visibleColumns,r=fE(e);return[...Array(i).keys()].map((e=>o.map((i=>{const o=i.header[e],s={t:o?"s":"z",s:aE};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,mE(t.styles.get(o._style)))),s}))))}function pE(t){return{rgb:t}}function gE(t){return"none"==t.style?null:{style:t.style,color:pE(t.color)}}function mE(t){const e={};return t.color&&(e.color=pE(t.color)),t.bgColor&&(e.bgColor=pE(t.bgColor)),t.fgColor&&(e.fgColor=pE(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=gE(t.bottom)),t.top&&(e.top=gE(t.top)),t.right&&(e.right=gE(t.right)),t.left&&(e.left=gE(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 fE(t){const e=!0===t.defaultBorders?sE:t.defaultBorders;return e?function(t){const e={};return t.bottom&&(e.bottom=gE(t.bottom)),t.top&&(e.top=gE(t.top)),t.right&&(e.right=gE(t.right)),t.left&&(e.left=gE(t.left)),e}(e):null}function vE(t,e){e=kE(e);const i=t.headerCount,o=new Iw(t),r=new Array(i+t.rows.length),s=new Map,n=fE(e),a=t.options.dateFormat||"yyyy-MM-dd",l="displayValue"==e.dropdownCells;uE(t,e).forEach(((t,e)=>r[e]=t));const c=e.exportHiddenRows?t.rows:t.visibleRows,h=e.exportHiddenColumns?t.columns:t.visibleColumns;return c.forEach(((t,e)=>r[e+i]=h.map((e=>{const r=t.cell(e.index),c=lE[r.type],h={t:r.hasValue?c:"z"};r.hasFormula?(h.f=i>0?o.getFormula(r).clone().shift({index:0,offset:i,direction:"down"}).toExcelString():o?o.getFormula(r).toExcelString():r.formula,"d"==r.type&&(h.t="n",h.z=r.format??a)):r.hasValue&&!r.isSpilled&&("s"==h.t?h.v=l?r.formattedValue.toString():r.value.toString():"z"!=h.t&&(h.v=r.value),"g"==r.type?h.t=Q(h.v)?"s":"n":"d"==r.type&&tt(h.v)&&(h.t="n"));const d=r.composedStyle;if(d&&(s.has(d.id)||s.set(d.id,mE(d)),h.s={...s.get(d.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)}(r,h),r.hasComment){const t=r.model.comments.get(r.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"})})),h.c=e,console.log(h)}return"n"!=h.t&&"d"!=h.t||null!=h.z||(h.z=r.format??("d"==h.t?a:"General")),n&&(h.s||(h.s={}),h.s=Object.assign({},n,h.s)),h})))),r}function bE(t,e){return t||e?{t:(t=Object.assign({},e,t)).t,v:t.v,color:pE(t.color)}:null}function yE(t){const e=t.headerCount;return t.conditionalFormats.getSourceData().map((t=>({ref:yv.fromA1s(t.ranges).map((t=>t.shiftDown(0,e,null,!0).A1)).join(" "),t:t.type,f:t.condition&&sv(t.condition[0])?"A1"+t.condition:t.condition??null,s:t.style?mE(t.style):null,stop:t.stop,cmin:bE(t.cmin,"bar"==t.type?{t:"min",color:t.color}:null),cmid:t.cmid?bE(t.cmid,{v:50,t:"percentile"}):null,cmax:bE(t.cmax,"bar"==t.type?{t:"max",color:t.color}:null),color:pE(t.color),v:t.v,thresh:t.thresh})))}function wE(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 xE(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 kE=t=>{const e=Object.assign({},nE,t);return e.defaultBorders&&(e.defaultBorders=sE),e},CE=t=>t/25.4;function ME(t){return t?{top:CE(t.top),bottom:CE(t.bottom),left:CE(t.left),right:CE(t.right),header:CE(t.header),footer:CE(t.footer)}:null}function _E(t,e){e=kE(e);const i={};return i["!cols"]=cE(t,e),i["!rows"]=hE(t,e),i["!merges"]=dE(t,e),i["!condfmt"]=yE(t),i["!outline"]={above:"above"==wE(t),left:"left"==xE(t)},t.options.freezeLeft||t.options.freezeTop?i["!freeze"]=`${kv(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)?Jr[e.paper]??Jr.A4:e.paper,o=CE(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=ME(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?yv.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),i}async function SE(t,e){const i=oE.get(),o=i instanceof Promise?await i:i;e=kE(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(_E(t,s),vE(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 zE(t,e=null){const i=oE.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 EE={b:"b",s:"t",n:"n",d:"d",z:"g",e:"t"};function LE(t){return t.rgb}function IE(t){return{color:LE(t.color),style:t.style}}function RE(t){const e={};return t.color&&(e.color=LE(t.color)),t.bgColor&&(e.bgColor=LE(t.bgColor)),t.fgColor&&(e.fgColor=LE(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=IE(t.top)),t.bottom&&(e.bottom=IE(t.bottom)),t.left&&(e.left=IE(t.left)),t.right&&(e.right=IE(t.right)),e}function TE(t,e){const i=t["!ref"]?yv.fromA1(t["!ref"]):yv.fromA1("A1:T100"),o={},r={};if(t["!freeze"]){const e=yv.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 yv(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=yv.fromA1(o),n={r:s.r1,c:s.c1,t:EE[r.t]},a=i.get(o);a&&(n.cs=a.cs,n.rs=a.rs),r.s&&(n.s=RE(r.s)),r.f?n.f=Av(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?RE(t.s):null,e.cmin=t.cmin?{t:t.cmin.t,color:t.cmin.color?LE(t.cmin.color):null}:null,e.cmid=t.cmid?{t:t.cmid.t,color:t.cmid.color?LE(t.cmid.color):null}:null,e.cmax=t.cmax?{t:t.cmax.t,color:t.cmax.color?LE(t.cmax.color):null}:null,e.color=t.color?LE(t.color):null,e.condition=t.f,e.stop=!0,e}))}(t),o}function AE(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=yv.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 $E(t,e){return performance.mark("start_import"),DE(await t.arrayBuffer(),e)}function OE(t){const e=AE(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({...TE(t.Sheets[o],e.get(o)),name:o}),performance.mark(`sheet_end_${o}`);return performance.mark("sheets_end"),i}async function DE(t,e){performance.mark("array_buffer");const i=t instanceof ArrayBuffer?new Uint8Array(t):t,o=(await oE.get()).read(i,Object.assign({cellNF:!0,cellText:!1,cellStyles:!0,type:"buffer"},e||{}));return performance.mark("wb_read"),OE(o)}class NE extends nu{init(t){oE.get(),t.commands.add({group:"plugin",name:"export xlsx",exec:async()=>{const e=t.getGridContainer().model.models;zE(await SE(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 $E(i))}}))}}NE.pluginName="xlsx";class PE{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=yv.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=yv.fromA1(t.seriesRange)),t.categoriesRange&&(this._categoriesRange=yv.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=Yr(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 jE extends nu{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[jE.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 PE(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[jE.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)}}jE.pluginName="charts";class HE extends nu{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 jE)})),t.addEventListener("grid.object.activate",(t=>{t.object instanceof PE&&(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)}))}}HE.pluginName="chartEditor";class FE{static init(t){"string"==typeof t?FE.path=t:FE.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&&(FE.highcharts=window.Highcharts),FE.highcharts?FE.highcharts:this.loadViaScript()}static async loadViaScript(){const t=window.define,e=t&&t.amd;t&&(t.amd=void 0);try{if(await cs.load(`${this.path}/highcharts.js`),window.Highcharts)return FE.highcharts=window.Highcharts,window.Highcharts;throw new Error("Failed to load Highcharts")}catch(t){throw console.error("Failed to load Highcharts",t),t}finally{t&&void 0!==e&&(t.amd=e)}}}const BE={chart:{styledMode:!0}};async function WE(t){const e=await FE.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 VE(t,e){const i=await FE.get(),o=await WE(t);return i.chart(e,i.merge(o,BE,{chart:{}}))}const UE=xs`
|
|
8048
8048
|
* {
|
|
8049
8049
|
box-sizing: border-box;
|
|
8050
8050
|
}
|
|
@@ -9215,9 +9215,9 @@ milkdown-block-handle {
|
|
|
9215
9215
|
stroke: var(--og-highcharts-neutral-color-20);
|
|
9216
9216
|
stroke-width: 1px;
|
|
9217
9217
|
}
|
|
9218
|
-
`;var
|
|
9218
|
+
`;var GE=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 qE=class extends zn{constructor(){super(...arguments),this.render=()=>an`
|
|
9219
9219
|
<div id="chart">uninitialized chart</div>
|
|
9220
|
-
`}async updated(){this.model&&(this.chart=await
|
|
9220
|
+
`}async updated(){this.model&&(this.chart=await VE(this.model,this.chartWrapper))}refresh(){this.model&&(this.model.invalidateData(),this.requestUpdate())}layout(){this.chart?.reflow()}};qE.styles=[UE],GE([On("#chart")],qE.prototype,"chartWrapper",void 0),GE([Tn({type:Object})],qE.prototype,"model",void 0),qE=GE([Ln("og-plugin-chart")],qE);const YE=xs`
|
|
9221
9221
|
* {
|
|
9222
9222
|
box-sizing: border-box;
|
|
9223
9223
|
}
|
|
@@ -9250,7 +9250,7 @@ milkdown-block-handle {
|
|
|
9250
9250
|
og-list {
|
|
9251
9251
|
height: 100%;
|
|
9252
9252
|
}
|
|
9253
|
-
`;var
|
|
9253
|
+
`;var ZE=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 XE={w:300,h:200};let QE=class extends zn{get plugin(){return this.grid?.plugins.plugins.get("charts")}constructor(){super(),this._itemRenderer=(t,e)=>an`
|
|
9254
9254
|
<og-plugin-chart-form
|
|
9255
9255
|
@change="${t=>this.dispatchEvent(new Xr({value:t.value}))}"
|
|
9256
9256
|
.model="${this.items[e]}">
|
|
@@ -9280,7 +9280,7 @@ milkdown-block-handle {
|
|
|
9280
9280
|
.size="${this.items.length}">
|
|
9281
9281
|
</og-list>
|
|
9282
9282
|
</div>
|
|
9283
|
-
`,this.addEventListener("mousedown",(t=>t.stopPropagation()))}addChart(){const t=this.grid;if(!t)return;const e=t.selection.range,i=e.bounds[1][0],o=t.model.calculateCellOffset(i);o.y+=t.model.rows[i.r1].height;const r={type:"column",grouping:"standard",dataRange:e.A1,size:
|
|
9283
|
+
`,this.addEventListener("mousedown",(t=>t.stopPropagation()))}addChart(){const t=this.grid;if(!t)return;const e=t.selection.range,i=e.bounds[1][0],o=t.model.calculateCellOffset(i);o.y+=t.model.rows[i.r1].height;const r={type:"column",grouping:"standard",dataRange:e.A1,size:XE,location:o},s=this.plugin.addModel(r),n=[...this.items,s];this.items=n,this.filter=s.title,this.dispatchEvent(new Qr({value:s}))}willUpdate(t){this.items=Array.from(this.plugin.models).filter((t=>!this.filter||t.title.toLowerCase().includes(this.filter.toLowerCase()))),t.has("filter")&&this.list?.renderItems(!0)}};QE.styles=[YE],ZE([Tn({type:Object})],QE.prototype,"grid",void 0),ZE([On("og-input#search")],QE.prototype,"searchInput",void 0),ZE([On("og-list")],QE.prototype,"list",void 0),ZE([Tn({type:String})],QE.prototype,"filter",void 0),ZE([Tn({type:Array})],QE.prototype,"items",void 0),QE=ZE([Ln("og-plugin-chart-list")],QE);const KE=xs`
|
|
9284
9284
|
.row {
|
|
9285
9285
|
line-height: 22px;
|
|
9286
9286
|
max-height: 22px;
|
|
@@ -9333,7 +9333,7 @@ milkdown-block-handle {
|
|
|
9333
9333
|
gap: 2px;
|
|
9334
9334
|
}
|
|
9335
9335
|
|
|
9336
|
-
`;var
|
|
9336
|
+
`;var JE=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 tL=class extends zn{constructor(){super(),this.editTitle=!1,this.types=[{type:"column",name:`${Ao("Column")} - ${Ao("clustered")}`,grouping:"standard",icon:"chart-column"},{type:"column",name:`${Ao("Column")} - ${Ao("stacked")}`,grouping:"stacked",icon:"chart-column"},{type:"bar",name:`${Ao("Bar")} - ${Ao("clustered")}`,grouping:"standard",icon:"chart-bar"},{type:"bar",name:`${Ao("Bar")} - ${Ao("stacked")}`,grouping:"stacked",icon:"chart-bar"},{type:"line",name:`${Ao("Line")}`,grouping:"standard",icon:"chart-line"},{type:"pie",name:`${Ao("Pie")}`,grouping:"standard",icon:"chart-pie"}],this.render=()=>this.model?an`
|
|
9337
9337
|
<og-panel icon="chart-column">
|
|
9338
9338
|
<div slot="header">
|
|
9339
9339
|
${this.editTitle?an`
|
|
@@ -9394,4 +9394,4 @@ milkdown-block-handle {
|
|
|
9394
9394
|
`:null}
|
|
9395
9395
|
</div>
|
|
9396
9396
|
</og-panel>
|
|
9397
|
-
`: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?yv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?yv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=yv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Xr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};
|
|
9397
|
+
`: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?yv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?yv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=yv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Xr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};tL.styles=[KE],JE([Tn({type:Object})],tL.prototype,"model",void 0),JE([An()],tL.prototype,"editTitle",void 0),JE([On("#title")],tL.prototype,"titleInput",void 0),JE([On("#type")],tL.prototype,"typeList",void 0),JE([On("#dataRange")],tL.prototype,"dataRangeInput",void 0),JE([On("#seriesRange")],tL.prototype,"seriesRangeInput",void 0),JE([On("#categoryRange")],tL.prototype,"categoryRangeInput",void 0),tL=JE([Ln("og-plugin-chart-form")],tL);const eL=Wa().themes.get("dark");Object.assign(eL.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 iL=Wa().themes.get("light");Object.assign(iL.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 oL=i(6946),rL=i(6471),sL=i(4969),nL=i(9502),aL=i(7706),lL=i(1480),cL=i(2006),hL=i(7503),dL=i(7873),uL=i(8746),pL=i(2570),gL=i(8815),mL=i(6390),fL=i(6593),vL=i(895),bL=i(9083),yL=i(6093),wL=i(9685),xL=i(9849),kL=i(8268),CL=i(4693),ML=i(3599),_L=i(782),SL=i(754),zL=i(5700),EL=i(4731),LL=i(7291),IL=i(597),RL=i(1474),TL=i(6224),AL=i(6239),$L=i(6828),OL=i(2212),DL=i(863),NL=i(3602),PL=i(1985),jL=i(886),HL=i(7201),FL=i(9937),BL=i(8450),WL=i(9630),VL=i(9766),UL=i(388),GL=i(1903),qL=i(398),YL=i(6105),ZL=i(6147),XL=i(5722),QL=i(5576),KL=i(3131),JL=i(6308),tI=i(9645),eI=i(3199),iI=i(871),oI=i(5251),rI=i(6426),sI=i(2643),nI=i(8522),aI=i(6398),lI=i(2525),cI=i(8434),hI=i(6138),dI=i(5835),uI=i(5654),pI=i(6659),gI=i(2977),mI=i(4480),fI=i(9886),vI=i(6815),bI=i(1582),yI=i(2968),wI=i(394),xI=i(7024),kI=i(7853),CI=i(8249),MI=i(2869),_I=i(486),SI=i(5735),zI=i(470),EI=i(4612),LI=i(4018),II=i(1476),RI=i(3194),TI=i(3525),AI=i(7541),$I=i(4104),OI=i(6686),DI=i(7719),NI=i(3898),PI=i(8153),jI=i(3690),HI=i(1776),FI=i(4980),BI=i(5578),WI=i(9613),VI=i(1119),UI=i(8444),GI=i(2978),qI=i(9130),YI=i(2127),ZI=i(2732),XI=i(4287),QI=i(4045),KI=i(7642),JI=i(1367),tR=i(320),eR=i(821),iR=i(102),oR=i(7683),rR=i(3980),sR=i(576),nR=i(654),aR=i(73),lR=i(140),cR=i(8129),hR=i(5087),dR=i(6992),uR=i(8247),pR=i(8038),gR=i(5286),mR=i(9179),fR=i(1808),vR=i(9459),bR=i(2883),yR=i(9124),wR=i(7067),xR=i(1054),kR=i(7325),CR=i(1272),MR=i(3359),_R=i(6562),SR=i(4193),zR=i(6348),ER=i(2435),LR=i(7544),IR=i(4470),RR=i(9111),TR=i(9318),AR=i(7294),$R=i(4479),OR=i(2409),DR=i(3091),NR=i(5789),PR=i(5890),jR=i(3874),HR=i(2907),FR=i(1175),BR=i(1686),WR=i(703),VR=i(6606),UR=i(4194),GR=i(6228),qR=i(62),YR=i(2072),ZR=i(9744),XR=i(25),QR=i(2618),KR=i(1988),JR=i(8013),tT=i(1133),eT=i(362),iT=i(6845),oT=i(6800),rT=i(1103),sT=i(4933),nT=i(7284),aT=i(2620),lT=i(2366),cT=i(7457),hT=i(2449),dT=i(2),uT=i(5697),pT=i(7069),gT=i(4716),mT=i(4740),fT=i(4557),vT=i(1868),bT=i(8647),yT=i(5127),wT=i(4816),xT=i(4009),kT=i(5104),CT=i(2830),MT=i(3093),_T=i(5029),ST=i(3514),zT=i(2142),ET=i(4999),LT=i(7523),IT=i(346),RT=i(7917),TT=i(3976),AT=i(9801),$T=i(2464),OT=i(5511),DT=i(5210),NT=i(5815),PT=i(3339),jT=i(7472),HT=i(8811),FT=i(8548),BT=i(6880),WT=i(1840),VT=i(5547),UT=i(4788),GT=i(9467),qT=i(9187),YT=i(9217),ZT=i(7897),XT=i(2644),QT=i(6204),KT=i(1472),JT=i(1247),tA=i(7406),eA=i(925),iA=i(7455),oA=i(3771),rA=i(1549),sA=i(3541),nA=i(3140),aA=i(9800),lA=i(229),cA=i(2677),hA=i(1844),dA=i(3245),uA=i(9056),pA=i(7535),gA=i(2359),mA=i(15),fA=i(5569),vA=i(2014),bA=i(1599),yA=i(6521),wA=i(232),xA=i(9745),kA=i(9594),CA=i(6979),MA=i(4494),_A=i(312),SA=i(4983),zA=i(1258),EA=i(6313),LA=i(12),IA=i(8003),RA=i(7830),TA=i(8875),AA=i(3911),$A=i(1817),OA=i(478),DA=i(2585),NA=i(6564),PA=i(2884),jA=i(3825),HA=i(7348),FA=i(9277),BA=i(4118),WA=i(9200),VA=i(51),UA=i(2872),GA=i(4702),qA=i(9281),YA=i(1394),ZA=i(7295),XA=i(2936),QA=i(3789),KA=i(3614),JA=i(4827),t$=i(9204),e$=i(9113),i$=i(4058),o$=i(9939),r$=i(1139);const s$=[oL.mw,rL.mw,sL.mw,nL.mw,aL.mw,lL.mw,cL.mw,hL.mw,uL.mw,gL.mw,pL.mw,mL.mw,fL.mw,vL.mw,bL.mw,yL.mw,wL.mw,xL.mw,kL.mw,CL.mw,ML.mw,_L.mw,SL.mw,zL.mw,EL.mw,LL.mw,IL.mw,RL.mw,TL.mw,$L.mw,OL.mw,DL.mw,NL.mw,PL.mw,jL.mw,HL.mw,FL.mw,BL.mw,WL.mw,VL.mw,UL.mw,GL.mw,YL.mw,qL.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,lI.mw,cI.mw,hI.mw,dI.mw,uI.mw,pI.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,aI.mw,zI.mw,EI.mw,LI.mw,II.mw,RI.mw,TI.mw,AI.mw,$I.mw,OI.mw,DI.mw,NI.mw,PI.mw,jI.mw,HI.mw,FI.mw,BI.mw,WI.mw,VI.mw,UI.mw,GI.mw,qI.mw,YI.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,aR.mw,lR.mw,cR.mw,hR.mw,dR.mw,uR.mw,pR.mw,AL.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,dL.mw,LR.mw,IR.mw],n$=[RR.mw,TR.mw,AR.mw,$R.mw,OR.mw,DR.mw,NR.mw,PR.mw,HR.mw,BR.mw,FR.mw,VR.mw,WR.mw,UR.mw,GR.mw,qR.mw,YR.mw,ZR.mw,XR.mw,QR.mw,KR.mw,JR.mw,rT.mw,sT.mw,nT.mw,aT.mw,lT.mw,cT.mw,hT.mw,uT.mw,pT.mw,gT.mw,yT.mw,wT.mw,xT.mw,kT.mw,CT.mw,MT.mw,_T.mw,ST.mw,tT.mw,eT.mw,oT.mw,iT.mw,zT.mw,ET.mw,LT.mw,IT.mw,RT.mw,TT.mw,AT.mw,$T.mw,mT.mw,fT.mw,vT.mw,bT.mw,DT.mw,NT.mw,PT.mw,jT.mw,HT.mw,FT.mw,BT.mw,WT.mw,VT.mw,UT.mw,GT.mw,qT.mw,YT.mw,ZT.mw,XT.mw,QT.mw,KT.mw,JT.mw,tA.mw,OT.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,kA.mw,CA.mw,MA.mw,_A.mw,SA.mw,zA.mw,EA.mw,LA.mw,IA.mw,RA.mw,TA.mw,AA.mw,$A.mw,OA.mw,DA.mw,NA.mw,PA.mw,jA.mw,HA.mw,FA.mw,dT.mw,BA.mw,WA.mw,VA.mw,UA.mw,GA.mw,qA.mw,YA.mw,ZA.mw,XA.mw,QA.mw,KA.mw,JA.mw,t$.mw,e$.mw,i$.mw,jR.mw,o$.mw,r$.mw],a$={xlsx:F,charts:B},l$={name:"@omegagrid/bundle",version:"0.9.44"};Wa().activate("light"),Ad.styleDefault="fal",$d.add(s$),$d.add(n$)})(),window.Omegagrid=o})();
|