@omegagrid/bundle 0.9.12 → 0.9.14
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 +207 -213
- 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",n="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,n]},e.faArrowsRotate=e.definition,e.prefix="fal",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=n,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",n="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,n]},e.faFloppyDisk=e.definition,e.prefix="fal",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=n,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},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",n="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,n]},e.faArrowsRotate=e.definition,e.prefix="fas",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=n,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",n="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,n]},e.faFloppyDisk=e.definition,e.prefix="fas",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=n,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},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 n={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=n;for(const t of Object.keys(n)){if(!("channels"in n[t]))throw new Error("missing channels property: "+t);if(!("labels"in n[t]))throw new Error("missing channel labels property: "+t);if(n[t].labels.length!==n[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:i}=n[t];delete n[t].channels,delete n[t].labels,Object.defineProperty(n[t],"channels",{value:e}),Object.defineProperty(n[t],"labels",{value:i})}n.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,r=Math.min(e,i,o),n=Math.max(e,i,o),s=n-r;let a,l;n===r?a=0:e===n?a=(i-o)/s:i===n?a=2+(o-e)/s:o===n&&(a=4+(e-i)/s),a=Math.min(60*a,360),a<0&&(a+=360);const c=(r+n)/2;return l=n===r?0:c<=.5?s/(n+r):s/(2-n-r),[a,100*l,100*c]},n.rgb.hsv=function(t){let e,i,o,r,n;const s=t[0]/255,a=t[1]/255,l=t[2]/255,c=Math.max(s,a,l),h=c-Math.min(s,a,l),d=function(t){return(c-t)/6/h+.5};return 0===h?(r=0,n=0):(n=h/c,e=d(s),i=d(a),o=d(l),s===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*n,100*c]},n.rgb.hwb=function(t){const e=t[0],i=t[1];let o=t[2];const r=n.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(i,o));return o=1-1/255*Math.max(e,Math.max(i,o)),[r,100*s,100*o]},n.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]},n.rgb.keyword=function(t){const e=r[t];if(e)return e;let i,n=1/0;for(const e of Object.keys(o)){const r=(a=o[e],((s=t)[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2);r<n&&(n=r,i=e)}var s,a;return i},n.keyword.rgb=function(t){return o[t]},n.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)]},n.rgb.lab=function(t){const e=n.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)]},n.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;let r,n,s;if(0===i)return s=255*o,[s,s,s];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++)n=e+1/3*-(t-1),n<0&&n++,n>1&&n--,s=6*n<1?a+6*(r-a)*n:2*n<1?r:3*n<2?a+(r-a)*(2/3-n)*6:a,l[t]=255*s;return l},n.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,o=t[2]/100,r=i;const n=Math.max(o,.01);return o*=2,i*=o<=1?o:2-o,r*=n<=1?n:2-n,[e,100*(0===o?2*r/(n+r):2*i/(o+i)),(o+i)/2*100]},n.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let o=t[2]/100;const r=Math.floor(e)%6,n=e-Math.floor(e),s=255*o*(1-i),a=255*o*(1-i*n),l=255*o*(1-i*(1-n));switch(o*=255,r){case 0:return[o,l,s];case 1:return[a,o,s];case 2:return[s,o,l];case 3:return[s,a,o];case 4:return[l,s,o];case 5:return[o,s,a]}},n.hsv.hsl=function(t){const e=t[0],i=t[1]/100,o=t[2]/100,r=Math.max(o,.01);let n,s;s=(2-i)*o;const a=(2-i)*r;return n=i*r,n/=a<=1?a:2-a,n=n||0,s/=2,[e,100*n,100*s]},n.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,o=t[2]/100;const r=i+o;let n;r>1&&(i/=r,o/=r);const s=Math.floor(6*e),a=1-o;n=6*e-s,1&s&&(n=1-n);const l=i+n*(a-i);let c,h,d;switch(s){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]},n.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))]},n.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100;let r,n,s;return r=3.2406*e+-1.5372*i+-.4986*o,n=-.9689*e+1.8758*i+.0415*o,s=.0557*e+-.204*i+1.057*o,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,r=Math.min(Math.max(0,r),1),n=Math.min(Math.max(0,n),1),s=Math.min(Math.max(0,s),1),[255*r,255*n,255*s]},n.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)]},n.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,n=e**3,s=o**3;return i=r>.008856?r:(i-16/116)/7.787,e=n>.008856?n:(e-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,e*=95.047,i*=100,o*=108.883,[e,i,o]},n.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]},n.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)]},n.rgb.ansi16=function(t,e=null){const[i,o,r]=t;let s=null===e?n.rgb.hsv(t)[2]:e;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(r/255)<<2|Math.round(o/255)<<1|Math.round(i/255));return 2===s&&(a+=60),a},n.hsv.ansi16=function(t){return n.rgb.ansi16(n.hsv.rgb(t),t[2])},n.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)},n.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]},n.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]},n.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},n.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]},n.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),n=Math.min(Math.min(e,i),o),s=r-n;let a,l;return a=s<1?n/(1-s):0,l=s<=0?0:r===e?(i-o)/s%6:r===i?2+(o-e)/s:4+(e-i)/s,l/=6,l%=1,[360*l,100*s,100*a]},n.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]},n.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]},n.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],n=e%1*6,s=n%1,a=1-s;let l=0;switch(Math.floor(n)){case 0:r[0]=1,r[1]=s,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]=s;break;case 3:r[0]=0,r[1]=a,r[2]=1;break;case 4:r[0]=s,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)]},n.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]},n.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]},n.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)]},n.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]},n.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},n.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},n.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},n.gray.hsl=function(t){return[0,0,t[0]]},n.gray.hsv=n.gray.hsl,n.gray.hwb=function(t){return[0,100,t[0]]},n.gray.cmyk=function(t){return[0,0,0,t[0]]},n.gray.lab=function(t){return[t[0],0,0]},n.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},n.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),n={};Object.keys(o).forEach((t=>{n[t]={},Object.defineProperty(n[t],"channels",{value:o[t].channels}),Object.defineProperty(n[t],"labels",{value:o[t].labels});const e=r(t);Object.keys(e).forEach((i=>{const o=e[i];n[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),n[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=n},5920:(t,e,i)=>{const o=i(4560);function r(t,e){return function(i){return e(t(i))}}function n(t,e){const i=[e[t].parent,t];let n=o[e[t].parent][t],s=e[t].parent;for(;e[s].parent;)i.unshift(e[s].parent),n=r(o[e[s].parent][s],n),s=e[s].parent;return n.conversion=i,n}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,n=0;n<o;n++){const o=r[n],s=e[o];-1===s.distance&&(s.distance=e[t].distance+1,s.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]=n(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),n=["keyword","gray","hex"],s={};for(const t of Object.keys(r))s[[...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 n&&(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 s))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=s[o];const{labels:n}=r[this.model],a=[];for(i=0;i<n.length;i++)a.push(t[n[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,n=2*r-1,s=i.alpha()-o.alpha(),a=((n*s==-1?n:(n+s)/(1+n*s))+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(n.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),n=Object.hasOwnProperty,s=Object.create(null);for(var a in o)n.call(o,a)&&(s[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,s=[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;s[i]=parseInt(e.slice(a,a+2),16)}r&&(s[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++)s[i]=parseInt(e[i]+e[i],16);r&&(s[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++)s[i]=parseInt(e[i+1],0);e[4]&&(e[5]?s[3]=.01*parseFloat(e[4]):s[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]:n.call(o,e[1])?((s=o[e[1]])[3]=1,s):null:null;for(i=0;i<3;i++)s[i]=Math.round(2.55*parseFloat(e[i+1]));e[4]&&(e[5]?s[3]=.01*parseFloat(e[4]):s[3]=parseFloat(e[4]))}for(i=0;i<3;i++)s[i]=c(s[i],0,255);return s[3]=c(s[3],0,1),s},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 s[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],n=0;n<4;n++)8*o+6*n<=8*t.length?i.push(e.charAt(r>>>6*(3-n)&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,n,s;o=i(7250),r=i(4754).utf8,n=i(4754).bin,(s=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,n=[],s=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=s,p=a,g=l,m=c,f=h,v=0;v<80;v++){if(v<16)n[v]=e[d+v];else{var b=n[v-3]^n[v-8]^n[v-14]^n[v-16];n[v]=b<<1|b>>>31}var y=(s<<5|s>>>27)+h+(n[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=s,s=y}s+=u,a+=p,l+=g,c+=m,h+=f}return[s,a,l,c,h]}(t));return e&&e.asBytes?i:e&&e.asString?n.bytesToString(i):o.bytesToHex(i)})._blocksize=16,s._digestsize=20,t.exports=s},9311:(t,e,i)=>{"use strict";var o=i(8666),r=Array.prototype.concat,n=Array.prototype.slice,s=t.exports=function(t){for(var e=[],i=0,s=t.length;i<s;i++){var a=t[i];o(a)?e=r.call(e,n.call(a)):e.push(a)}return e};s.wrap=function(t){return function(){return t(s(arguments))}}},6565:(t,e,i)=>{"use strict";var o=i(2180);t.exports=function(t,e,i,r){var n,s,a;if(t<=0)return 0;if(1===t||0===r)return e+i[0];if(n=r<0?(1-t)*r:0,t<8){for(s=0,a=0;a<t;a++)s+=e+i[n],n+=r;return s}return o(t,e,i,r,n)}},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,n,s){var a,l,c,h,d,u,p,g,m,f,v,b,y;if(e<=0)return 0;if(1===e||0===n)return i+r[s];if(a=s,e<8){for(v=0,y=0;y<e;y++)v+=i+r[a],a+=n;return v}if(e<=128){for(l=i+r[a],c=i+r[a+n],h=i+r[a+2*n],d=i+r[a+3*n],u=i+r[a+4*n],p=i+r[a+5*n],g=i+r[a+6*n],m=i+r[a+7*n],a+=8*n,f=e%8,y=8;y<e-f;y+=8)l+=i+r[a],c+=i+r[a+n],h+=i+r[a+2*n],d+=i+r[a+3*n],u+=i+r[a+4*n],p+=i+r[a+5*n],g+=i+r[a+6*n],m+=i+r[a+7*n],a+=8*n;for(v=l+c+(h+d)+(u+p+(g+m));y<e;y++)v+=i+r[a],a+=n;return v}return b=o(e/2),t(b-=b%8,i,r,n,a)+t(e-b,i,r,n,a+b*n)}},9341:(t,e,i)=>{"use strict";var o=i(3465);t.exports=function(t,e,i){var r,n,s;if(t<=0)return 0;if(1===t||0===i)return e[0];if(r=i<0?(1-t)*i:0,t<8){for(n=0,s=0;s<t;s++)n+=e[r],r+=i;return n}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,n){var s,a,l,c,h,d,u,p,g,m,f,v,b;if(e<=0)return 0;if(1===e||0===r)return i[n];if(s=n,e<8){for(f=0,b=0;b<e;b++)f+=i[s],s+=r;return f}if(e<=128){for(a=i[s],l=i[s+r],c=i[s+2*r],h=i[s+3*r],d=i[s+4*r],u=i[s+5*r],p=i[s+6*r],g=i[s+7*r],s+=8*r,m=e%8,b=8;b<e-m;b+=8)a+=i[s],l+=i[s+r],c+=i[s+2*r],h+=i[s+3*r],d+=i[s+4*r],u+=i[s+5*r],p+=i[s+6*r],g+=i[s+7*r],s+=8*r;for(f=a+l+(c+h)+(d+u+(p+g));b<e;b++)f+=i[s],s+=r;return f}return v=o(e/2),t(v-=v%8,i,r,s)+t(e-v,i,r,s+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 n;return t<=0?NaN:1===t||0===i?e[0]:(n=o(t,e,i)/t)+r(t,-n,e,i)/t}},2510:(t,e,i)=>{"use strict";var o=i(1094).ndarray,r=i(5271).ndarray;t.exports=function(t,e,i,n){var s;return t<=0?NaN:1===t||0===i?e[n]:(s=o(t,e,i,n)/t)+r(t,-s,e,i,n)/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),n=i(6859),s=i(3509);o=r()?n:s,t.exports=o},3509:t=>{"use strict";var e=Object.prototype,i=e.toString,o=e.__defineGetter__,r=e.__defineSetter__,n=e.__lookupGetter__,s=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)&&(n.call(t,a)||s.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 n=e[o]={exports:{}};return t[o](n,n.exports,i),n.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:()=>$,code:()=>k,commands:()=>y,core:()=>v,dialog:()=>C,editor:()=>N,form:()=>D,grid:()=>O,localize:()=>n,markdown:()=>P,package:()=>XA,plugins:()=>ZA,statusbar:()=>j,tabs:()=>b,toolbar:()=>H,tree:()=>x});var t={};i.r(t),i.d(t,{bind:()=>mt,clone:()=>nt,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:()=>st});var e={};i.r(e),i.d(e,{appendElement:()=>wt,appendScript:()=>Ot,appendStyle:()=>At,createElement:()=>yt,createName:()=>ft,debounceOn:()=>It,empty:()=>St,findParent:()=>zt,fixElementPosition:()=>Wt,fixElementSize:()=>Vt,fixPosition:()=>Xt,getElementOffset:()=>Tt,hideCell:()=>_t,hideElement:()=>kt,isHidden:()=>Ct,measureText:()=>Jt,numToPixels:()=>$t,on:()=>Lt,px:()=>Dt,query:()=>te,register:()=>vt,remove:()=>Et,setBorderWidth:()=>Zt,setCenterPosition:()=>Yt,setClasses:()=>Rt,setInset:()=>Ft,setLineHeight:()=>Bt,setMargin:()=>Gt,setMaxSize:()=>Pt,setMinSize:()=>jt,setPadding:()=>qt,setPosition:()=>Ht,setSize:()=>Nt,setStyle:()=>bt,setZIndex:()=>Ut,showCell:()=>Mt,showElement:()=>xt,zoomElement:()=>Qt});var r={};i.r(r),i.d(r,{escapeHTML:()=>oe,highlightText:()=>re});var n={};i.r(n),i.d(n,{LocaleChangeEvent:()=>xo,createTranslateFunction:()=>Io,getISOCode:()=>Oo,getLocale:()=>Eo,getRegionISOCode:()=>$o,getSystemLocale:()=>ko,hasLocale:()=>zo,msg:()=>Ro,registerLocale:()=>So,setLocale:()=>Lo});var s={};i.r(s),i.d(s,{createDateFormatter:()=>Qo,dateToSerialDate:()=>or,detectDefaultFormat:()=>Uo,detectFormat:()=>Bo,format:()=>qo,getDateFormat:()=>Go,getDateFormatter:()=>Zo,getDateLocale:()=>Xo,getFiscalISOWeek:()=>ir,getFiscalQuarter:()=>Jo,getFiscalYear:()=>Ko,getFiscalYearBounds:()=>er,isISODate:()=>Wo,parse:()=>Yo,registerDateLocale:()=>jo,serialDateToDate:()=>rr,stripTime:()=>tr,workday:()=>nr});var a={};i.r(a),i.d(a,{createNumberFormatter:()=>pr,fixNumberFormat:()=>vr,getLocalDecimalSeparator:()=>br,getNumberFormatter:()=>ur,isExtendedNumberFormat:()=>sr,isNumberFormat:()=>hr,mod:()=>ar,romanize:()=>cr,stringFormatToNumberFormat:()=>mr});var l={};i.r(l),i.d(l,{CsvReader:()=>wr,DEFAULT_CSV_DESCRIPTION:()=>yr,arrayToCsv:()=>xr,csvToArray:()=>kr});var c={};i.r(c),i.d(c,{LogLevel:()=>Cr,Logger:()=>Mr,getLogger:()=>Er,registerLogger:()=>Sr});var h={};i.r(h),i.d(h,{FilterState:()=>zr,TreeNodeMixin:()=>Ir,buildLevelBasedTree:()=>Rr,buildParentBasedTree:()=>Tr,buildTree:()=>Ar});var d={};i.r(d),i.d(d,{alpha:()=>Dr,contrastColor:()=>jr,css:()=>Fr,darken:()=>$r,getComplmentaryColor:()=>Nr,lighten:()=>Or,mix:()=>Pr,plainHex:()=>Hr});var u={};i.r(u),i.d(u,{ActionEvent:()=>Br,dispatchActionEvent:()=>Wr});var p={};i.r(p),i.d(p,{clone:()=>qr,reverseColumns:()=>Vr,reverseRows:()=>Ur,transpose:()=>Gr});var g={};i.r(g),i.d(g,{AddEvent:()=>Zr,ChangeEvent:()=>Yr,SerialzieEvent:()=>Xr});var m={};i.r(m),i.d(m,{PAPER_SIZES:()=>Qr});var f={};i.r(f),i.d(f,{detect:()=>Kr});var v={};i.r(v),i.d(v,{AMD:()=>an,Accordion:()=>ba,Alert:()=>Ca,AlertEvent:()=>ka,BaseElement:()=>_a,Button:()=>Va,Checkbox:()=>$d,ColorPicker:()=>du,ColorPickerEvent:()=>lu,ColorTypes:()=>ya,ComponentAdapter:()=>Xd,ComponentEvent:()=>Ma,ComponentSlice:()=>eu,ComponentStore:()=>tu,Container:()=>nu,Dropdown:()=>yu,DropdownColorPicker:()=>xu,DropdownContainer:()=>bu,DropdownEvent:()=>vu,DropdownList:()=>Iu,DropdownMenu:()=>zu,ExpandEvent:()=>Ou,Expander:()=>Du,FileInput:()=>Zu,FloatingWindow:()=>ju,Icon:()=>Wu,Input:()=>Gu,LevelExpandEvent:()=>$u,LevelExpander:()=>Nu,LinkedList:()=>hn,LinkedListNode:()=>cn,List:()=>rp,ListPointerEvent:()=>op,ListSelectEvent:()=>ip,ListSelectTrigger:()=>tp,ListSortEvent:()=>vp,Loader:()=>Ep,Menu:()=>Su,MenuEvent:()=>_u,NumericInput:()=>Ku,OmegaComponent:()=>Jd,Overlay:()=>lp,Panel:()=>dp,Plugin:()=>iu,Plugins:()=>ou,ResizeEvent:()=>pp,ScriptLoader:()=>ln,ShortcutEvent:()=>dn,ShortcutManager:()=>pn,Sizer:()=>gp,SlideEvent:()=>Yd,Slider:()=>Zd,SliderDirection:()=>Vd,SortableList:()=>bp,SplitContainer:()=>Gs,SplitContainerEvent:()=>Vs,SplitContainerResizeEvent:()=>Us,Switch:()=>Cp,SwitchEvent:()=>kp,ThemeChangeEvent:()=>Na,ThemeManager:()=>Pa,Tooltip:()=>Sp,actions:()=>u,addThemeVariables:()=>Aa,colorable:()=>$a,colors:()=>d,constants:()=>G,createThemeVariables:()=>Ra,createThemeVariablesCss:()=>Ta,csv:()=>l,dates:()=>s,detectThemeType:()=>Ia,device:()=>f,dom:()=>e,events:()=>g,getDefaultOptions:()=>en,getThemeManager:()=>Ha,html:()=>r,images:()=>Ru,initCommonOptions:()=>on,initOptions:()=>on,log:()=>c,matrix:()=>p,numbers:()=>a,paper:()=>m,setDefaultOptions:()=>tn,themeable:()=>Oa,tree:()=>h,utils:()=>t});var b={};i.r(b),i.d(b,{TabContainer:()=>Hp,TabEvent:()=>Ap,TabSplitContainer:()=>Wp,TabSplitContainerModel:()=>zp,Tabs:()=>$p});var y={};i.r(y),i.d(y,{Command:()=>Vp,CommandEvent:()=>Jp,CommandGroup:()=>Up,CommandManager:()=>ag,CommandWindow:()=>ig,Commands:()=>Gp,CommandsAdapter:()=>og,CommandsFlowAdapter:()=>rg,commandFactories:()=>ng,createCommands:()=>sg,initOptions:()=>Zp});var w={};i.r(w),i.d(w,{AlertEvent:()=>Mg,Bucket:()=>wg,BucketAlert:()=>_g,BucketButton:()=>$g,BucketEvent:()=>yg,BucketPath:()=>Ug,BucketPathEvent:()=>Vg,BucketTop:()=>Ag,ComponentHost:()=>Ng,ModalSidebar:()=>Hg,Sidebar:()=>Eg,Sidemenu:()=>Ig,commonMenus:()=>Fg});var x={};i.r(x),i.d(x,{DateTreeAdapter:()=>Cf,ItemPropertyType:()=>zm,LevelSelectEvent:()=>Xm,NodeModel:()=>_m,NodeSelectionStatus:()=>Lm,SelectMode:()=>Em,Tree:()=>Vm,TreeAdapter:()=>Um,TreeDropEvent:()=>Wm,TreeDropdown:()=>Ym,TreeEvent:()=>Fm,TreeMenu:()=>ef,TreeModel:()=>Sm,TreePointerEvent:()=>Bm,TreeSearchEvent:()=>Jm,TreeSelectionModel:()=>Rm,normalizeSerializedValues:()=>Im});var k={};i.r(k),i.d(k,{Code:()=>lm,CodeBlock:()=>Tf,CodeDiffEditor:()=>Mm,CodeEvent:()=>qg,CodeView:()=>$f,MonacoLoader:()=>Gg,loader:()=>Gg});var C={};i.r(C),i.d(C,{Dialog:()=>Ff,DialogEvent:()=>Hf});var M={};i.r(M),i.d(M,{SHEET_NAME_REGEX:()=>qf,isSheetNameValid:()=>Yf,sanitizeSheetName:()=>Zf});var _={};i.r(_),i.d(_,{concat:()=>Dv,concatenate:()=>Nv,left:()=>Av,len:()=>Pv,lower:()=>jv,mid:()=>$v,right:()=>Ov,text:()=>Tv,upper:()=>Hv});var S={};i.r(S),i.d(S,{date:()=>Yv,datevalue:()=>Wv,day:()=>Qv,eomonth:()=>Kv,isBlank:()=>qv,isoweeknum:()=>Jv,month:()=>Xv,today:()=>Gv,weekday:()=>Vv,workday:()=>Uv,year:()=>Zv});var E={};i.r(E),i.d(E,{PI:()=>mb,abs:()=>kb,acos:()=>tb,acosh:()=>eb,acot:()=>ib,acoth:()=>ob,asin:()=>rb,asinh:()=>nb,atan:()=>sb,atanh:()=>ab,ceiling:()=>Cb,cos:()=>lb,cosh:()=>cb,cot:()=>hb,coth:()=>db,count:()=>Qb,countblank:()=>Kb,countif:()=>Jb,countunique:()=>ty,csc:()=>ub,csch:()=>pb,degrees:()=>gb,even:()=>Mb,exp:()=>_b,fact:()=>Sb,factdouble:()=>Eb,floor:()=>zb,isdecimal:()=>Lb,iseven:()=>Ib,isodd:()=>Rb,ln:()=>Tb,log:()=>Ab,log10:()=>Ob,mod:()=>$b,odd:()=>Db,power:()=>Nb,product:()=>Pb,quotient:()=>jb,radians:()=>Hb,rand:()=>Fb,randarray:()=>Bb,randbetween:()=>Wb,round:()=>Vb,rounddown:()=>Ub,roundup:()=>Gb,sec:()=>fb,sech:()=>vb,sequence:()=>qb,sign:()=>Yb,sin:()=>bb,sinh:()=>yb,sqrt:()=>Zb,sqrtpi:()=>Xb,sum:()=>ey,sumif:()=>iy,sumproduct:()=>ry,sumsq:()=>oy,tan:()=>wb,tanh:()=>xb});var z={};i.r(z),i.d(z,{address:()=>sy,choose:()=>hy,column:()=>dy,columns:()=>py,filter:()=>wy,formulatext:()=>my,hlookup:()=>ly,index:()=>fy,indirect:()=>vy,lookup:()=>cy,match:()=>by,offset:()=>yy,row:()=>uy,rows:()=>gy,vlookup:()=>ay});var L={};i.r(L),i.d(L,{erfc:()=>Cy});var I={};i.r(I),i.d(I,{_false:()=>Iy,_if:()=>zy,_switch:()=>Ey,_true:()=>Ry,and:()=>My,iferror:()=>Ty,not:()=>Ly,or:()=>_y,xor:()=>Sy});var R={};i.r(R),i.d(R,{avedev:()=>jy,average:()=>Ny,average_weighted:()=>Py,max:()=>Fy,min:()=>Hy});var T={};i.r(T),i.d(T,{_map:()=>Wy,date:()=>S,logical:()=>I,lookup:()=>z,math:()=>E,special:()=>L,statistical:()=>R,text:()=>_});var A={};i.r(A),i.d(A,{BaseRenderer:()=>Wk,CheckboxRenderer:()=>Uk,DateTimeRenderer:()=>Gk,DropdownRenderer:()=>qk,GeneralRenderer:()=>Xk,NumberRenderer:()=>Yk,TextRenderer:()=>Zk,applyStyle:()=>Bk,cellTypeRendererMap:()=>Qk,getCellRenderer:()=>Kk});var O={};i.r(O),i.d(O,{CalculationContext:()=>Vy,CalculationModel:()=>Mw,CellModel:()=>hw,CellRange:()=>pv,ColumnModel:()=>uw,Comment:()=>Fk,CommentEvent:()=>Hk,CommentItem:()=>bw,CommentModel:()=>yw,ConditionalFormats:()=>Rw,Dependencies:()=>xw,ElementCache:()=>vx,ElementModel:()=>Xy,FilterEvent:()=>Nw,FilterLabel:()=>yx,FilterModel:()=>Pw,Formula:()=>Rv,FormulaInput:()=>Cx,FormulaInputEvent:()=>kx,Grid:()=>Ck,GridAdapter:()=>Jk,GridColumnResizeEvent:()=>$x,GridEditEvent:()=>Ax,GridEditing:()=>tk,GridEvent:()=>Tx,GridEvents:()=>Nx,GridFiltering:()=>hk,GridGroup:()=>Lk,GridGroupEvent:()=>zk,GridModel:()=>ux,GridRendering:()=>Px,GridResizeEvent:()=>Ox,GridRowResizeEvent:()=>Dx,GridSelecting:()=>jx,GridSorting:()=>fk,GridTooltip:()=>Nk,GroupModel:()=>px,History:()=>gx,IterableAddressRange:()=>Fw,IterableAxisRange:()=>Bw,IterableRange:()=>Hw,MergeCellState:()=>cx,Merges:()=>hx,NamingModel:()=>Ww,ObjectEvent:()=>pk,ObjectHost:()=>gk,RowModel:()=>Uw,SelectionModel:()=>mx,Selector:()=>Ok,SelectorEvent:()=>Tk,SelectorMoveEvent:()=>Ak,SortOrder:()=>pw,SortingArrow:()=>Ex,SortingModel:()=>vw,Sparkline:()=>Dk,Sparklines:()=>jw,Table:()=>Ix,TableEvent:()=>Lx,TokenType:()=>rv,Tokenizer:()=>hv,addGradient:()=>nw,addPattern:()=>rw,alignmentToString:()=>Jw,applyCellTheme:()=>nx,applyColumnTheme:()=>sx,applyRowTheme:()=>ax,applyTheme:()=>lx,autofill:()=>qy,borderCSSStyleMap:()=>Jy,borderStyleCSSMap:()=>Ky,borderToString:()=>Kw,convertCSSBorder:()=>iw,convertCSSColor:()=>ew,convertCSSVerticalAlignment:()=>tw,convertToCSSBorder:()=>ow,createBoolMatcher:()=>Aw,createCellMatcher:()=>Dw,createGroupCommands:()=>yk,createMultiMatcher:()=>Ow,createMultiMultiMatcher:()=>$w,createTextMatcher:()=>Tw,cssStyleFromString:()=>Qy,cssStyleToStyle:()=>aw,decodeColumn:()=>vv,decodeRow:()=>mv,encodeColumn:()=>fv,encodeRow:()=>gv,extrapolateFormulas:()=>Gy,extrapolateValues:()=>Uy,functions:()=>T,gridConstants:()=>Gf,hashStyle:()=>tx,iconSets:()=>Lw,initGridCommands:()=>xk,initOptions:()=>Vw,isArythmeticOperator:()=>tv,isBool:()=>av,isFormula:()=>_v,isLetter:()=>lv,isLogicalOperator:()=>Jf,isNumber:()=>sv,isOperand:()=>nv,isOperator:()=>ev,matrixOperation:()=>ov,normalizeCellValidation:()=>Yy,operatorMap:()=>Kf,prefixFormula:()=>Sv,renderers:()=>A,scalarOperation:()=>iv,sortRanges:()=>bv,stripFormulaPrefix:()=>Ev,styleToCSStyle:()=>sw,utils:()=>M,validateValue:()=>Zy});var $={};i.r($),i.d($,{Calendar:()=>SC,CalendarDropdown:()=>AC});var D={};i.r(D),i.d(D,{CalendarDateInput:()=>cM,Form:()=>YC,FormAdapter:()=>ZC,FormButton:()=>bM,FormCheckbox:()=>pM,FormColorInput:()=>sM,FormContainer:()=>tM,FormControlModel:()=>FC,FormControlType:()=>HC,FormDateInput:()=>lM,FormEvent:()=>qC,FormFileInput:()=>uM,FormLabel:()=>gM,FormList:()=>fM,FormModel:()=>BC,FormNumericInput:()=>dM,FormTextInput:()=>rM});var N={};i.r(N),i.d(N,{ConfigForm:()=>kM,Editor:()=>zM,EditorEvent:()=>EM,EditorFormula:()=>AM,EditorStatusbar:()=>jM,EditorToolbar:()=>qM,EditorZoom:()=>IM,GridStats:()=>$M,HeaderForm:()=>ZM,HyperlinkEditor:()=>$_,NamesForm:()=>JM,RuleEditor:()=>I_,RuleForm:()=>i_,RuleList:()=>a_,RuleThreshold:()=>d_,SparklineForm:()=>y_,StyleEditor:()=>A_,StyleForm:()=>g_,ThemeEditor:()=>__,ThemeEditorSidebar:()=>C_,ThemeItemEditor:()=>z_});var P={};i.r(P),i.d(P,{BlockEditMenu:()=>mE,EditorFeature:()=>bE,HtmlBlock:()=>PS,HtmlBlockComponent:()=>NS,LinkEdit:()=>nE,MarkdownEditor:()=>Q_,MarkdownLinkEvent:()=>X_,MarkdownView:()=>K_,configureFeatures:()=>fE,createEditor:()=>W_,createHtmlBlockConfig:()=>HS,createHtmlBlockView:()=>FS,defaultCodeEditorConfig:()=>jS,getFeatures:()=>wE,loader:()=>B_,markdownToHtml:()=>V_});var j={};i.r(j),i.d(j,{Statusbar:()=>ME});var H={};i.r(H),i.d(H,{Toolbar:()=>TE,ToolbarButton:()=>OE,ToolbarColorPicker:()=>YE,ToolbarCustomDropdown:()=>PE,ToolbarDropdown:()=>DE,ToolbarDropdownButton:()=>HE,ToolbarDropdownMenu:()=>BE,ToolbarGrid:()=>VE,ToolbarText:()=>GE});var F={};i.r(F),i.d(F,{SheetjsLoader:()=>ZE,XlsxEditorPlugin:()=>Lz,convertMargins:()=>fz,convertStyle:()=>az,createModel:()=>Sz,createModelFromArrayBuffer:()=>zz,createModelFromWorkbook:()=>Ez,createWorkbook:()=>bz,createWorksheet:()=>vz,detectOutlineColumnDirection:()=>pz,detectOutlineRowDirection:()=>uz,exportXLSX:()=>yz,getWorkbookNames:()=>_z,getWorksheetCells:()=>cz,getWorksheetColumns:()=>ez,getWorksheetConditionalFormats:()=>dz,getWorksheetHeaderCells:()=>rz,getWorksheetMerges:()=>oz,getWorksheetRows:()=>iz,loader:()=>ZE});var B={};i.r(B),i.d(B,{Chart:()=>jz,ChartEditorPlugin:()=>Tz,ChartGridPlugin:()=>Rz,ChartList:()=>Wz,ChartModel:()=>Iz,HighchartsLoader:()=>Az,RuleForm:()=>Gz,createChartOptions:()=>$z,loader:()=>Az,renderChart:()=>Dz});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,n;void 0===e&&(e=50),void 0===i&&(i={});var s=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=s&&void 0===n;if(void 0!==n&&clearTimeout(n),n=setTimeout((function(){if(n=void 0,c=Date.now(),!s){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!==n&&clearTimeout(n),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 nt(t){return Object.assign({},t)}function st(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 Et(t){t.parentNode?.removeChild(t)}function zt(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 n=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=>n(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 Ot(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 $t(t){return isNaN(t)?"0":t.toString()+"px"}const Dt=$t;function Nt(t,e,i=!1){if(t)return null!=e.w&&(t.style[i?"minWidth":"width"]=Q(e.w)?e.w:$t(e.w)),null!=e.h&&(t.style[i?"minHeight":"height"]=Q(e.h)?e.h:$t(e.h)),t}function Pt(t,e){return null!=e.w&&(t.style.maxWidth=Q(e.w)?e.w:$t(e.w)),null!=e.h&&(t.style.maxHeight=Q(e.h)?e.h:$t(e.h)),t}function jt(t,e){return null!=e.w&&(t.style.minWidth=Q(e.w)?e.w:$t(e.w)),null!=e.h&&(t.style.minHeight=Q(e.h)?e.h:$t(e.h)),t}function Ht(t,e){t.style.position="absolute",null!=e.r&&(t.style.right=$t(e.r)),null!=e.b&&(t.style.bottom=$t(e.b)),null!=e.l&&(t.style.left=$t(e.l)),null!=e.t&&(t.style.top=$t(e.t))}function Ft(t,e){t.style.position="absolute",t.style.inset=$t(e)}function Bt(t,e){t.style.lineHeight=$t(e)}function Wt(t,e=null){const i=Tt(t,e=e||t.parentElement),o=Xt({x:i.left,y:i.top,w:t.offsetWidth,h:t.offsetHeight},e);Ht(t,{l:o.x,t:o.y})}function Vt(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 Ut(t,e){t.style.zIndex=e.toString()}function Gt(t,e){void 0!==e.r&&(t.style.marginRight=$t(e.r)),void 0!==e.l&&(t.style.marginLeft=$t(e.l)),void 0!==e.t&&(t.style.marginTop=$t(e.t)),void 0!==e.b&&(t.style.marginBottom=$t(e.b))}function qt(t,e){void 0!==e.r&&(t.style.paddingRight=$t(e.r)),void 0!==e.l&&(t.style.paddingLeft=$t(e.l)),void 0!==e.t&&(t.style.paddingTop=$t(e.t)),void 0!==e.b&&(t.style.paddingBottom=$t(e.b))}function Yt(t,e,i={vertical:!0,horizontal:!0}){t.style.position="absolute",i.vertical&&(t.style.top=$t(Math.round(e.clientHeight/2-t.offsetHeight/2))),i.horizontal&&(t.style.left=$t(Math.round(e.clientWidth/2-t.offsetWidth/2)))}function Zt(t,e){null!=e.r&&(t.style.borderRightWidth=$t(e.r)),null!=e.b&&(t.style.borderBottomWidth=$t(e.b)),null!=e.l&&(t.style.borderLeftWidth=$t(e.l)),null!=e.t&&(t.style.borderTopWidth=$t(e.t))}function Xt(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 Qt(t,e){t.style.transformOrigin="0% 0% 0px",t.style.transform=`scale(${e})`}let Kt;function Jt(t,e){Kt||(Kt=new Map);let i=Kt.get(e);return i||(i=document.createElement("canvas").getContext("2d"),i.font=e,Kt.set(e,i)),i.measureText(t)}function te(t,e=document){return e.querySelector(t)}const ee={"&":"&","<":"<",">":">"},ie=t=>ee[t]||t;function oe(t){return t.replace(/[&<>]/g,ie)}function re(t,e,i=G.DEFAULT_TEXT_HIGHLIGHT_COLOR){const o=[];let r=0,n=0;for(const s of e)r=s[0],n<r&&o.push(oe(t.substring(n,r))),n=s[1],o.push(`<span style="color:${i}">${oe(t.substring(r,n))}</span>`);return n<t.length&&o.push(oe(t.substring(n))),o.join("")}function ne(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 se(t){const e=ne(t);return e.setHours(0,0,0,0),e}function ae(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}let le={};function ce(){return le}const he={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 de(t){return(e={})=>{const i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const ue={date:de({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:de({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:de({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},pe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ge(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 me={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:ge({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ge({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:ge({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:ge({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:ge({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 fe(t){return(e,i={})=>{const o=i.width,r=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],n=e.match(r);if(!n)return null;const s=n[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(s))return e}(a):function(t,e){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&t[e].test(s))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(s.length)}}}function ve(t){return(e,i={})=>{const o=e.match(t.matchPattern);if(!o)return null;const r=o[0],n=e.match(t.parsePattern);if(!n)return null;let s=t.valueCallback?t.valueCallback(n[0]):n[0];return s=i.valueCallback?i.valueCallback(s):s,{value:s,rest:e.slice(r.length)}}}const be={ordinalNumber:ve({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:fe({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:fe({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:fe({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:fe({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:fe({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"})},ye={code:"en-US",formatDistance:(t,e,i)=>{let o;const r=he[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:ue,formatRelative:(t,e,i,o)=>pe[t],localize:me,match:be,options:{weekStartsOn:0,firstWeekContainsDate:1}},we=(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"})}},xe=(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"})}},ke={p:xe,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],o=i[1],r=i[2];if(!r)return we(t,e);let n;switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",we(o,e)).replace("{{time}}",xe(r,e))}},Ce=/^D+$/,Me=/^Y+$/,_e=["D","DD","YY","YYYY"];function Se(t){return Ce.test(t)}function Ee(t){return Me.test(t)}function ze(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),_e.includes(t))throw new RangeError(o)}class Le{subPriority=0;validate(t,e){return!0}}class Ie extends Le{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 Re extends Le{priority=10;subPriority=-1;set(t,e){return e.timestampIsSet?t:ae(t,function(t,e){const i=e instanceof Date?ae(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 Te{run(t,e,i,o){const r=this.parse(t,e,i,o);return r?{setter:new Ie(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 Ae=6048e5,Oe=864e5,$e=6e4,De=36e5,Ne=/^(1[0-2]|0?\d)/,Pe=/^(3[0-1]|[0-2]?\d)/,je=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,He=/^(5[0-3]|[0-4]?\d)/,Fe=/^(2[0-3]|[0-1]?\d)/,Be=/^(2[0-4]|[0-1]?\d)/,We=/^(1[0-1]|0?\d)/,Ve=/^(1[0-2]|0?\d)/,Ue=/^[0-5]?\d/,Ge=/^[0-5]?\d/,qe=/^\d/,Ye=/^\d{1,2}/,Ze=/^\d{1,3}/,Xe=/^\d{1,4}/,Qe=/^-?\d+/,Ke=/^-?\d/,Je=/^-?\d{1,2}/,ti=/^-?\d{1,3}/,ei=/^-?\d{1,4}/,ii=/^([+-])(\d{2})(\d{2})?|Z/,oi=/^([+-])(\d{2})(\d{2})|Z/,ri=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,ni=/^([+-])(\d{2}):(\d{2})|Z/,si=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ai(t,e){return t?{value:e(t.value),rest:t.rest}:t}function li(t,e){const i=e.match(t);return i?{value:parseInt(i[0],10),rest:e.slice(i[0].length)}:null}function ci(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,n=i[3]?parseInt(i[3],10):0,s=i[5]?parseInt(i[5],10):0;return{value:o*(r*De+n*$e+1e3*s),rest:e.slice(i[0].length)}}function hi(t){return li(Qe,t)}function di(t,e){switch(t){case 1:return li(qe,e);case 2:return li(Ye,e);case 3:return li(Ze,e);case 4:return li(Xe,e);default:return li(new RegExp("^\\d{1,"+t+"}"),e)}}function ui(t,e){switch(t){case 1:return li(Ke,e);case 2:return li(Je,e);case 3:return li(ti,e);case 4:return li(ei,e);default:return li(new RegExp("^-?\\d{1,"+t+"}"),e)}}function pi(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function gi(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 mi(t){return t%400==0||t%4==0&&t%100!=0}function fi(t,e){const i=ce(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=ne(t),n=r.getDay(),s=(n<o?7:0)+n-o;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function vi(t,e){const i=ne(t),o=i.getFullYear(),r=ce(),n=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=ae(t,0);s.setFullYear(o+1,0,n),s.setHours(0,0,0,0);const a=fi(s,e),l=ae(t,0);l.setFullYear(o,0,n),l.setHours(0,0,0,0);const c=fi(l,e);return i.getTime()>=a.getTime()?o+1:i.getTime()>=c.getTime()?o:o-1}function bi(t){return fi(t,{weekStartsOn:1})}function yi(t,e){const i=ne(t),o=+fi(i,e)-+function(t,e){const i=ce(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,r=vi(t,e),n=ae(t,0);return n.setFullYear(r,0,o),n.setHours(0,0,0,0),fi(n,e)}(i,e);return Math.round(o/Ae)+1}function wi(t){const e=ne(t),i=e.getFullYear(),o=ae(t,0);o.setFullYear(i+1,0,4),o.setHours(0,0,0,0);const r=bi(o),n=ae(t,0);n.setFullYear(i,0,4),n.setHours(0,0,0,0);const s=bi(n);return e.getTime()>=r.getTime()?i+1:e.getTime()>=s.getTime()?i:i-1}function xi(t){const e=ne(t),i=+bi(e)-+function(t){const e=wi(t),i=ae(t,0);return i.setFullYear(e,0,4),i.setHours(0,0,0,0),bi(i)}(e);return Math.round(i/Ae)+1}const ki=[31,28,31,30,31,30,31,31,30,31,30,31],Ci=[31,29,31,30,31,30,31,31,30,31,30,31];function Mi(t,e){const i=ne(t);return isNaN(e)?ae(t,NaN):e?(i.setDate(i.getDate()+e),i):i}function _i(t,e,i){const o=ce(),r=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,n=ne(t),s=n.getDay(),a=7-r;return Mi(n,e<0||e>6?e-(s+a)%7:((e%7+7)%7+a)%7-(s+a)%7)}function Si(t){let e=ne(t).getDay();return 0===e&&(e=7),e}function Ei(t){const e=ne(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 zi={G:new class extends Te{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 Te{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 ai(di(4,t),o);case"yo":return ai(i.ordinalNumber(t,{unit:"year"}),o);default:return ai(di(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=gi(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 Te{priority=130;parse(t,e,i){const o=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return ai(di(4,t),o);case"Yo":return ai(i.ordinalNumber(t,{unit:"year"}),o);default:return ai(di(e.length,t),o)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i,o){const r=vi(t,o);if(i.isTwoDigitYear){const e=gi(i.year,r);return t.setFullYear(e,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),fi(t,o)}const n="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(n,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),fi(t,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends Te{priority=130;parse(t,e){return ui("R"===e?4:e.length,t)}set(t,e,i){const o=ae(t,0);return o.setFullYear(i,0,4),o.setHours(0,0,0,0),bi(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends Te{priority=130;parse(t,e){return ui("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 Te{priority=120;parse(t,e,i){switch(e){case"Q":case"QQ":return di(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 Te{priority=120;parse(t,e,i){switch(e){case"q":case"qq":return di(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 Te{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 ai(li(Ne,t),o);case"MM":return ai(di(2,t),o);case"Mo":return ai(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 Te{priority=110;parse(t,e,i){const o=t=>t-1;switch(e){case"L":return ai(li(Ne,t),o);case"LL":return ai(di(2,t),o);case"Lo":return ai(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 Te{priority=100;parse(t,e,i){switch(e){case"w":return li(He,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return di(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i,o){return fi(function(t,e,i){const o=ne(t),r=yi(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 Te{priority=100;parse(t,e,i){switch(e){case"I":return li(He,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return di(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i){return bi(function(t,e){const i=ne(t),o=xi(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 Te{priority=90;subPriority=1;parse(t,e,i){switch(e){case"d":return li(Pe,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return di(e.length,t)}}validate(t,e){const i=mi(t.getFullYear()),o=t.getMonth();return i?e>=1&&e<=Ci[o]:e>=1&&e<=ki[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 Te{priority=90;subpriority=1;parse(t,e,i){switch(e){case"D":case"DD":return li(je,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return di(e.length,t)}}validate(t,e){return mi(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 Te{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=_i(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends Te{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 ai(di(e.length,t),r);case"eo":return ai(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=_i(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 Te{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 ai(di(e.length,t),r);case"co":return ai(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=_i(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 Te{priority=90;parse(t,e,i){const o=t=>0===t?7:t;switch(e){case"i":case"ii":return di(e.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return ai(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 ai(i.day(t,{width:"narrow",context:"formatting"}),o);case"iiiiii":return ai(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o);default:return ai(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=ne(t);return Mi(i,e-Si(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 Te{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(pi(i),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends Te{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(pi(i),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends Te{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(pi(i),0,0,0),t}incompatibleTokens=["a","b","t","T"]},h:new class extends Te{priority=70;parse(t,e,i){switch(e){case"h":return li(Ve,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return di(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 Te{priority=70;parse(t,e,i){switch(e){case"H":return li(Fe,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return di(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 Te{priority=70;parse(t,e,i){switch(e){case"K":return li(We,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return di(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 Te{priority=70;parse(t,e,i){switch(e){case"k":return li(Be,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return di(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 Te{priority=60;parse(t,e,i){switch(e){case"m":return li(Ue,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return di(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 Te{priority=50;parse(t,e,i){switch(e){case"s":return li(Ge,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return di(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 Te{priority=30;parse(t,e){return ai(di(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 Te{priority=10;parse(t,e){switch(e){case"X":return ci(ii,t);case"XX":return ci(oi,t);case"XXXX":return ci(ri,t);case"XXXXX":return ci(si,t);default:return ci(ni,t)}}set(t,e,i){return e.timestampIsSet?t:ae(t,t.getTime()-Ei(t)-i)}incompatibleTokens=["t","T","x"]},x:new class extends Te{priority=10;parse(t,e){switch(e){case"x":return ci(ii,t);case"xx":return ci(oi,t);case"xxxx":return ci(ri,t);case"xxxxx":return ci(si,t);default:return ci(ni,t)}}set(t,e,i){return e.timestampIsSet?t:ae(t,t.getTime()-Ei(t)-i)}incompatibleTokens=["t","T","X"]},t:new class extends Te{priority=40;parse(t){return hi(t)}set(t,e,i){return[ae(t,1e3*i),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends Te{priority=20;parse(t){return hi(t)}set(t,e,i){return[ae(t,i),{timestampIsSet:!0}]}incompatibleTokens="*"}},Li=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ii=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ri=/^'([^]*?)'?$/,Ti=/''/g,Ai=/\S/,Oi=/[a-zA-Z]/;function $i(t,e,i,o){const r=Object.assign({},ce()),n=o?.locale??r.locale??ye,s=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?ne(i):ae(i,NaN);const l={firstWeekContainsDate:s,weekStartsOn:a,locale:n},c=[new Re],h=e.match(Ii).map((t=>{const e=t[0];return e in ke?(0,ke[e])(t,n.formatLong):t})).join("").match(Li),d=[];for(let r of h){!o?.useAdditionalWeekYearTokens&&Ee(r)&&ze(r,e,t),!o?.useAdditionalDayOfYearTokens&&Se(r)&&ze(r,e,t);const s=r[0],a=zi[s];if(a){const{incompatibleTokens:e}=a;if(Array.isArray(e)){const t=d.find((t=>e.includes(t.token)||t.token===s));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:s,fullToken:r});const o=a.run(t,r,n.match,l);if(!o)return ae(i,NaN);c.push(o.setter),t=o.rest}else{if(s.match(Oi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+s+"`");if("''"===r?r="'":"'"===s&&(r=r.match(Ri)[1].replace(Ti,"'")),0!==t.indexOf(r))return ae(i,NaN);t=t.slice(r.length)}}if(t.length>0&&Ai.test(t))return ae(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=ne(i);if(isNaN(p.getTime()))return ae(i,NaN);const g={};for(const t of u){if(!t.validate(p,l))return ae(i,NaN);const e=t.set(p,g,l);Array.isArray(e)?(p=e[0],Object.assign(g,e[1])):p=e}return ae(i,p)}const Di={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Ni=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Pi=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,ji=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Hi(t){return t?parseInt(t):1}function Fi(t){return t&&parseFloat(t.replace(",","."))||0}const Bi=[31,null,31,30,31,30,31,31,30,31,30,31];function Wi(t){return t%400==0||t%4==0&&t%100!=0}function Vi(t,e){const i=se(t),o=se(e),r=+i-Ei(i),n=+o-Ei(o);return Math.round((r-n)/Oe)}function Ui(t){const e=ne(t),i=ae(t,0);return i.setFullYear(e.getFullYear(),0,1),i.setHours(0,0,0,0),i}function Gi(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const qi={y(t,e){const i=t.getFullYear(),o=i>0?i:1-i;return Gi("yy"===e?o%100:o,e.length)},M(t,e){const i=t.getMonth();return"M"===e?String(i+1):Gi(i+1,2)},d:(t,e)=>Gi(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)=>Gi(t.getHours()%12||12,e.length),H:(t,e)=>Gi(t.getHours(),e.length),m:(t,e)=>Gi(t.getMinutes(),e.length),s:(t,e)=>Gi(t.getSeconds(),e.length),S(t,e){const i=e.length,o=t.getMilliseconds();return Gi(Math.trunc(o*Math.pow(10,i-3)),e.length)}},Yi={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 qi.y(t,e)},Y:function(t,e,i,o){const r=vi(t,o),n=r>0?r:1-r;return"YY"===e?Gi(n%100,2):"Yo"===e?i.ordinalNumber(n,{unit:"year"}):Gi(n,e.length)},R:function(t,e){return Gi(wi(t),e.length)},u:function(t,e){return Gi(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 Gi(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 Gi(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 qi.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 Gi(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=yi(t,o);return"wo"===e?i.ordinalNumber(r,{unit:"week"}):Gi(r,e.length)},I:function(t,e,i){const o=xi(t);return"Io"===e?i.ordinalNumber(o,{unit:"week"}):Gi(o,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getDate(),{unit:"date"}):qi.d(t,e)},D:function(t,e,i){const o=function(t){const e=ne(t);return Vi(e,Ui(e))+1}(t);return"Do"===e?i.ordinalNumber(o,{unit:"dayOfYear"}):Gi(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(),n=(r-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(n);case"ee":return Gi(n,2);case"eo":return i.ordinalNumber(n,{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(),n=(r-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(n);case"cc":return Gi(n,e.length);case"co":return i.ordinalNumber(n,{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 Gi(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 qi.h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getHours(),{unit:"hour"}):qi.H(t,e)},K:function(t,e,i){const o=t.getHours()%12;return"Ko"===e?i.ordinalNumber(o,{unit:"hour"}):Gi(o,e.length)},k:function(t,e,i){let o=t.getHours();return 0===o&&(o=24),"ko"===e?i.ordinalNumber(o,{unit:"hour"}):Gi(o,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):qi.m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getSeconds(),{unit:"second"}):qi.s(t,e)},S:function(t,e){return qi.S(t,e)},X:function(t,e,i){const o=t.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return Xi(o);case"XXXX":case"XX":return Qi(o);default:return Qi(o,":")}},x:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"x":return Xi(o);case"xxxx":case"xx":return Qi(o);default:return Qi(o,":")}},O:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Zi(o,":");default:return"GMT"+Qi(o,":")}},z:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Zi(o,":");default:return"GMT"+Qi(o,":")}},t:function(t,e,i){return Gi(Math.trunc(t.getTime()/1e3),e.length)},T:function(t,e,i){return Gi(t.getTime(),e.length)}};function Zi(t,e=""){const i=t>0?"-":"+",o=Math.abs(t),r=Math.trunc(o/60),n=o%60;return 0===n?i+String(r):i+String(r)+e+Gi(n,2)}function Xi(t,e){return t%60==0?(t>0?"-":"+")+Gi(Math.abs(t)/60,2):Qi(t,e)}function Qi(t,e=""){const i=t>0?"-":"+",o=Math.abs(t);return i+Gi(Math.trunc(o/60),2)+e+Gi(o%60,2)}function Ki(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=ne(t);return!isNaN(Number(i))}const Ji=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,to=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eo=/^'([^]*?)'?$/,io=/''/g,oo=/[a-zA-Z]/;function ro(t,e,i){const o=ce(),r=i?.locale??o.locale??ye,n=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,s=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,a=ne(t);if(!Ki(a))throw new RangeError("Invalid time value");let l=e.match(to).map((t=>{const e=t[0];return"p"===e||"P"===e?(0,ke[e])(t,r.formatLong):t})).join("").match(Ji).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:no(t)};if(Yi[e])return{isToken:!0,value:t};if(e.match(oo))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:n,weekStartsOn:s,locale:r};return l.map((o=>{if(!o.isToken)return o.value;const n=o.value;return(!i?.useAdditionalWeekYearTokens&&Ee(n)||!i?.useAdditionalDayOfYearTokens&&Se(n))&&ze(n,e,String(t)),(0,Yi[n[0]])(a,n,r.localize,c)})).join("")}function no(t){const e=t.match(eo);return e?e[1].replace(io,"'"):t}function so(t,e){const i=ne(t);if(isNaN(e))return ae(t,NaN);if(!e)return i;const o=i.getDate(),r=ae(t,i.getTime());return r.setMonth(i.getMonth()+e+1,0),o>=r.getDate()?r:(i.setFullYear(r.getFullYear(),r.getMonth(),o),i)}function ao(t,e){return function(t,e){return so(t,12*e)}(t,-e)}function lo(t){const e=ne(t),i=e.getMonth();return e.setFullYear(e.getFullYear(),i+1,0),e.setHours(23,59,59,999),e}function co(t,e){const i=ne(t),o=ne(e),r=ho(i,o),n=Math.abs(Vi(i,o));i.setDate(i.getDate()-r*n);const s=r*(n-Number(ho(i,o)===-r));return 0===s?0:s}function ho(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 uo(t,e){return Mi(t,-e)}function po(t,e){return so(t,-e)}const go={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ů"}}},mo={date:de({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:de({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:de({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},fo=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],vo={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 "+fo[e]+" o' p"},other:"P"},bo={ordinalNumber:(t,e)=>Number(t)+".",era:ge({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:ge({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:ge({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:ge({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:ge({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"})},yo={ordinalNumber:ve({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:fe({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:fe({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:fe({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:fe({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:fe({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"})},wo={code:"cs",formatDistance:(t,e,i)=>{let o;const r=go[t];o="other"===r.type?r.other:1===e?r.one:e>1&&e<5?r.few:r.many;const n=!0===i?.addSuffix,s=i?.comparison;let a;return a=n&&-1===s?o.past:n&&1===s?o.future:o.regular,a.replace("{{count}}",String(e))},formatLong:mo,formatRelative:(t,e)=>{const i=vo[t];return"function"==typeof i?i(e):i},localize:bo,match:yo,options:{weekStartsOn:1,firstWeekContainsDate:4}};class xo extends Event{constructor(t){super("localechange"),this.locale=t}}function ko(){return"undefined"!=typeof navigator?navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language:"en"}const Co=new Map,Mo=new Map;let _o=ko();function So(t,e){(Array.isArray(t)?t:[t]).forEach((t=>Co.set(t,e)))}function Eo(){return _o}function zo(t){return Co.has(t)}function Lo(t){if(!Co.has(t)){let t=_o;null==t&&(Co.has("en")?t="en":Co.size>0&&(t=Co.keys().next().value))}Mo.has(t)||Mo.set(t,new Map);const e=Mo.get(t);Co.get(t)?.forEach((t=>e.set(t.source,t))),_o!==t&&(_o=t,document.dispatchEvent(new xo(t)))}function Io(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 n of e){o+=t.slice(r,n.start);const e=i[n.name];o+=null!=e?String(e):"",r=n.end}return o+t.slice(r)}}function Ro(t,e){if(Array.isArray(t))return t.map((t=>Ro(t,e))).join(e?.separator??" ");if(null==t||""===t)return"";const i=t.toLowerCase();let o=Mo.get(_o);o||(o=new Map,Mo.set(_o,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=Io(r.target)),!r)return t;let n=r.translate?r.translate(e?.data):r.target;return null==n||""===n?"":(t.length>0&&t[0]===t[0].toUpperCase()&&(n=n[0].toUpperCase()+n.slice(1)),n)}const To={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 Ao;function Oo(t){if(To[t])return t;if(Ao&&Ao.has(t))return Ao.get(t);for(const e in To)if(To[e].includes(t))return Ao=Ao??new Map,Ao.set(t,e),e;return null}function $o(t){const e=Oo(t);return e?To[e]?To[e][0]:t:null}const Do=[{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"}],No=[{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",Do],["en",Do],["cs-CZ",No],["cs",No],["sk",No]].forEach((([t,e])=>So(t,e)));const Po=new Map;function jo(t){Po.set(t.code,t)}jo(ye),jo(wo);const Ho=new Map,Fo=/^(\d{1,2})[./](\d{1,2})[./](\d{4})$/;function Bo(t,e){return Fo.test(t.replace(/\s/g,""))?e.startsWith("en")&&"/"===t[2]?"MM/dd/yyyy":"dd.MM.yyyy":"yyyy-MM-dd"}function Wo(t){return t.length>=10&&"-"===t[4]&&"-"===t[7]}let Vo;function Uo(t){if(t=t??Eo(),Vo=Vo??new Map,Vo.has(t))return Vo.get(t);let e;try{const i=$o(t);e=Bo(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(ne(t))}(se(new Date),{locale:i}),i)}catch(t){e="yyyy-MM-dd"}return Vo.set(t,e),e}function Go(t){let e=Uo(t?.locale);return t?.withTime&&(e+=" HH:mm:ss"),e}function qo(t,e,i){return Zo(i??Eo(),e)(t)}function Yo(t,e){const i=$i(t,Bo(t,e),new Date);return isNaN(i.getTime())?null:i}function Zo(t,e){e=e??Uo(t);const i=Ho.has(t)?Ho.get(t):Ho.set(t,new Map).get(t);return i.has(e)||i.set(e,Qo(t,e)),i.get(e)}function Xo(t){return Po.has(t)?Po.get(t):(t=t.split("-")[0],Po.has(t)?Po.get(t):Po.get("en-US"))}function Qo(t,e){return e=e??Uo(t),(i,o)=>(Q(i)?i=Wo(i)?function(t,e){const i=e?.additionalDigits??2,o=function(t){const e={},i=t.split(Di.dateTimeDelimiter);let o;if(i.length>2)return e;if(/:/.test(i[0])?o=i[0]:(e.date=i[0],o=i[1],Di.timeZoneDelimiter.test(e.date)&&(e.date=t.split(Di.timeZoneDelimiter)[0],o=t.substr(e.date.length,t.length))),o){const t=Di.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,n=o[2]?parseInt(o[2]):null;return{year:null===n?r:100*n,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(Ni);if(!i)return new Date(NaN);const o=!!i[4],r=Hi(i[1]),n=Hi(i[2])-1,s=Hi(i[3]),a=Hi(i[4]),l=Hi(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<=(Bi[e]||(Wi(t)?29:28))}(e,n,s)&&function(t,e){return e>=1&&e<=(Wi(t)?366:365)}(e,r)?(t.setUTCFullYear(e,n,Math.max(r,s)),t):new Date(NaN)}}(t.restDateString,t.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const n=r.getTime();let s,a=0;if(o.time&&(a=function(t){const e=t.match(Pi);if(!e)return NaN;const i=Fi(e[1]),o=Fi(e[2]),r=Fi(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*De+o*$e+1e3*r:NaN}(o.time),isNaN(a)))return new Date(NaN);if(!o.timezone){const t=new Date(n+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 s=function(t){if("Z"===t)return 0;const e=t.match(ji);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*De+r*$e):NaN}(o.timezone),isNaN(s)?new Date(NaN):new Date(n+a+s)}(i):Yo(i,t):i instanceof Date||isNaN(i)||(i=rr(i)),null==i?"":ro(i,o||e,{locale:Xo(t)}))}function Ko(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 Jo(t,e){const i=ar(t.getMonth()-e,12);return Math.floor(i/3)+1}function tr(t){return t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t}function er(t,e){let i=new Date(t.getFullYear(),ar(e,12),1);return function(t,e){const i=ne(t),o=ne(e),r=i.getTime()-o.getTime();return r<0?-1:r>0?1:r}(t,i)<0&&(i=ao(i,1)),[i,tr(lo(so(new Date(i),11)))]}function ir(t,e=0,i=1){const[o,r]=er(t,e),n=co(t,o)+1,s=(Si(t)+i-2)%7+1;let a=Ko(t,e),l=Math.floor((10+n-s)/7);if(0==l){const t=uo(o,4),e=co(t,po(o,12))+1,r=(Si(t)+i-1)%7;l=Math.floor((10+e-r)/7),--a}else if(l>52){const t=uo(r,3),e=co(t,o)+1,n=(Si(t)+i-1)%7;l>Math.floor((10+e-n)/7)&&(l=1,++a)}return[l,a]}function or(t){return 25569+(t.getTime()-60*t.getTimezoneOffset()*1e3)/864e5}function rr(t){return new Date(Date.UTC(0,0,t-1))}function nr(t,e,i){let o=rr(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 sr=t=>t.text||t.color||t.brackets||t.empty;function ar(t,e){let i=t%e;return i<0&&(i+=Math.abs(e)),i}const lr=["","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 cr(t){if(isNaN(t))return NaN;const e=String(+t).split("");let i="",o=3;for(;o--;)i=(lr[+e.pop()+10*o]||"")+i;return Array(+e.join("")+1).join("M")+i}function hr(t){return["0","#"].includes(t[0])}const dr=new Map;function ur(t,e="",i){const o=dr.has(t)?dr.get(t):dr.set(t,new Map).get(t);return o.has(e)||o.set(e,pr(t,e,i)),o.get(e)}function pr(t,e="",i){const o=(e?mr(i?vr(e,"n"):e):[{maximumFractionDigits:3}]).map((e=>Z(e)?sr(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:Zo(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 gr={useGrouping:!1,maximumFractionDigits:0,signDisplay:"negative",empty:!0};function mr(t){const e=[];let i,o,r,n=Object.assign({},gr),s=!1,a=0;for(;a<t.length;)switch(i=t.charAt(a),";"!=i&&n.empty&&delete n.empty,i.toLowerCase()){case"(":n.brackets=!0,++a;break;case"[":for(n.color="";++a<t.length&&(i=t.charAt(a),"]"!==i);)n.color+=i;break;case";":e.push(n),n=Object.assign({},gr),1==e.length&&(n.signDisplay="never"),s=!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;n.useGrouping=!0}++a}s?(null!==o&&(n.minimumFractionDigits=o,null==r&&(n.maximumFractionDigits=o)),null!==r&&(n.maximumFractionDigits=r+(o||0))):null!==o&&(n.minimumIntegerDigits=o);break;case'"':for(n.text="";++a<t.length&&(i=t.charAt(a),'"'!==i);)n.text+=i;++a;break;case".":s=!0,++a;break;case"+":n.signDisplay="exceptZero",++a;break;case"-":1==e.length&&(n.signDisplay="always"),++a;break;case"$":n.style="currency",++a;break;case"%":n.style="percent",++a;break;default:if(et(i)){let o=i;for(n=null;++a<t.length;){if(i=t.charAt(a),";"===i){n=Object.assign({},gr);break}o+=i}e.push(o)}++a}return n&&e.push(n),e}const fr={d:[[/\\/g,""],[/m/g,"M"],[/ddd/g,"eee"]],n:[[/0,/g,"#,"]]};function vr(t,e){return fr[e].forEach((([e,i])=>t=t.replace(e,i))),t}function br(t){return Intl.NumberFormat(t,{minimumIntegerDigits:1,minimumFractionDigits:1}).format(1.1).charAt(1)}const yr={delimiter:"\t",quote:"",encoding:"utf-8",decimalSeparator:".",header:!1};class wr{constructor(t,e){this.csv=t,this.offset=0,this.length=t.length,this.description=Object.assign({},yr,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=st(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 xr(t,e){e=Object.assign({},yr,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 kr(t,e){const i=[];let o;const r=new wr(t,e);for(;!r.eof;)o=r.readLine(),o&&o.length>0&&i.push(o);return i}var Cr;!function(t){t.Info="i",t.Warn="w",t.Error="e",t.Debug="d",t.Trace="t"}(Cr||(Cr={}));class Mr{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=Cr.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,Cr.Info),...this.styles)}warn(t){console.info(this.format(t,Cr.Warn),...this.styles)}error(t,e){console.error(this.format(t,Cr.Error),...this.errorStyles),e&&console.error(e)}debug(t){console.info(this.format(t,Cr.Debug),...this.styles)}trace(t){console.trace(this.format(t,Cr.Trace),...this.styles)}}const _r=new Map;function Sr(t,e){return _r.has(t)||_r.set(t,new Mr(t,e)),_r.get(t)}function Er(t){return null==t&&null==(t=_r.size>0?Array.from(_r.keys())[0]:null)?Sr("omega","Ω"):Sr(t)}var zr;!function(t){t[t.Filtered=0]="Filtered",t[t.Matched=1]="Matched",t[t.ChildMatched=2]="ChildMatched",t[t.ParentMatched=3]="ParentMatched"}(zr||(zr={}));class Lr{populate(t){}getSourceData(){return{}}}function Ir(t=Lr){return class extends t{constructor(){super(...arguments),this._children=[],this._filterState=zr.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 Rr(t,e,i){const o=[[e,-1]];let r,n=-1,s=-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&&n<a&&o.push([r,n]);o[o.length-1][1]>=a;)o.pop();n=a,o[o.length-1][0].addChild(t),s=Math.max(s,t.level+(t.hasChildren?1:0)),r=t})),s}function Tr(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 Ar(t,e){return t.length>0?null==t[0].level?Tr(t,e):Rr(t,e):-1}function Or(t,e=.15){return V()(t).lighten(e).hex().toString()}function $r(t,e=.15){return V()(t).darken(e).hex().toString()}function Dr(t,e=.15){return V()(t).alpha(e).hexa().toString()}function Nr(t){const e=V()(t);return e.red(255-e.red()).green(255-e.green()).blue(255-e.red()).hex().toString()}function Pr(t,e,i=.15){return V()(t).mix(V()(e),i).hex().toString()}function jr(t){const e=V()(t);return.299*e.red()+.587*e.green()+.114*e.blue()>128?"#000000":"#FFFFFF"}function Hr(t){return t&&"#"==t[0]?t.substring(1):t}function Fr(t){return t&&"#"!=t[0]?"#"+t:t}class Br 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 Wr(t,e,i,o=null,r=null){t.dispatchEvent(new Br(e,i,o,Object.assign({common:!1},r))),t.dispatchEvent(new Br(e,i,o,Object.assign({common:!0},r)))}function Vr(t){return t.map((t=>[...t].reverse()))}function Ur(t){return t.map((t=>[...t])).reverse()}function Gr(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 qr(t){return t.map((t=>[...t]))}class Yr extends Event{constructor(t={}){Z(t)?(super(t.type??"change"),this.value=t.value,this.oldValue=t.oldValue):(super("change"),this.value=t)}}class Zr extends Event{constructor(t={}){super("add"),Z(t)?Object.assign(this,t):this.value=t}}class Xr extends Event{constructor(t){super("serialize"),this.data=t}}const Qr={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 Kr(){const t=window.innerWidth;return t<=768?"mobile":t>768&&t<=1024?"tablet":"desktop"}let Jr={};const tn=t=>{t.locale&&Lo(t.locale),Jr=t},en=()=>ot({locale:Eo(),formatLocale:Eo(),dateFormat:Go(),fontSize:G.FONT_SIZE,systemDecimalSeparator:br(Eo()),user:{id:"0",name:"Anonymous"}},Jr);function on(t,e=null){const i=ot({},en(),e,t);return i.dateFormatter=i.dateFormatter||Qo(i.locale,i.dateFormat),i}var rn,nn,sn=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 an{}class ln{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(sn(this,rn,"f",nn)||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,rn,new Map,"f",nn),this.scripts||(this.scripts=new Map),!this.scripts.has(o))return new Promise(((i,r)=>{const n=sn(this,rn,"f",nn).get(o)||[];if(n.push([i,r]),sn(this,rn,"f",nn).set(o,n),n.length>1)return;const s=e.createElement("script");s.src=t,s.onload=()=>{sn(this,rn,"f",nn).get(o).forEach((([t])=>t())),sn(this,rn,"f",nn).delete(o)},s.onerror=t=>{const e=Q(t)?new Error(t):t;sn(this,rn,"f",nn).get(o).forEach((([t,i])=>i(e))),sn(this,rn,"f",nn).delete(o)},e.head.appendChild(s)}))}}rn=ln,nn={value:void 0};class cn{constructor(t){this.data=t,this.next=null,this.prev=null}}class hn{constructor(){this.head=null}insertAtEnd(t){const e=new cn(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 cn(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 dn extends Event{constructor(t,e){super("shortcut",{cancelable:!0}),this.shortcut=t,this.action=e}}const un={control:"ctrl"};class pn 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 un&&(e=un[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 dn(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 gn=globalThis,mn=gn.ShadowRoot&&(void 0===gn.ShadyCSS||gn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fn=Symbol(),vn=new WeakMap;class bn{constructor(t,e,i){if(this._$cssResult$=!0,i!==fn)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(mn&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=vn.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&vn.set(e,t))}return t}toString(){return this.cssText}}const yn=t=>new bn("string"==typeof t?t:t+"",void 0,fn),wn=(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 bn(i,t,fn)},xn=(t,e)=>{if(mn)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),o=gn.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}},kn=mn?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return yn(e)})(t):t,{is:Cn,defineProperty:Mn,getOwnPropertyDescriptor:_n,getOwnPropertyNames:Sn,getOwnPropertySymbols:En,getPrototypeOf:zn}=Object,Ln=globalThis,In=Ln.trustedTypes,Rn=In?In.emptyScript:"",Tn=Ln.reactiveElementPolyfillSupport,An=(t,e)=>t,On={toAttribute(t,e){switch(e){case Boolean:t=t?Rn: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}},$n=(t,e)=>!Cn(t,e),Dn={attribute:!0,type:String,converter:On,reflect:!1,hasChanged:$n};Symbol.metadata??=Symbol("metadata"),Ln.litPropertyMetadata??=new WeakMap;class Nn 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=Dn){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&&Mn(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:r}=_n(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const n=o?.call(this);r.call(this,e),this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Dn}static _$Ei(){if(this.hasOwnProperty(An("elementProperties")))return;const t=zn(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(An("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(An("properties"))){const t=this.properties,e=[...Sn(t),...En(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(kn(t))}else void 0!==t&&e.push(kn(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 xn(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:On).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:On;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??$n)(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){}}Nn.elementStyles=[],Nn.shadowRootOptions={mode:"open"},Nn[An("elementProperties")]=new Map,Nn[An("finalized")]=new Map,Tn?.({ReactiveElement:Nn}),(Ln.reactiveElementVersions??=[]).push("2.0.4");const Pn=globalThis,jn=Pn.trustedTypes,Hn=jn?jn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Fn="$lit$",Bn=`lit$${Math.random().toFixed(9).slice(2)}$`,Wn="?"+Bn,Vn=`<${Wn}>`,Un=document,Gn=()=>Un.createComment(""),qn=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yn=Array.isArray,Zn=t=>Yn(t)||"function"==typeof t?.[Symbol.iterator],Xn="[ \t\n\f\r]",Qn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kn=/-->/g,Jn=/>/g,ts=RegExp(`>|${Xn}(?:([^\\s"'>=/]+)(${Xn}*=${Xn}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),es=/'/g,is=/"/g,os=/^(?:script|style|textarea|title)$/i,rs=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),ns=rs(1),ss=rs(2),as=Symbol.for("lit-noChange"),ls=Symbol.for("lit-nothing"),cs=new WeakMap,hs=Un.createTreeWalker(Un,129);function ds(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Hn?Hn.createHTML(e):e}const us=(t,e)=>{const i=t.length-1,o=[];let r,n=2===e?"<svg>":"",s=Qn;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(s.lastIndex=h,l=s.exec(i),null!==l);)h=s.lastIndex,s===Qn?"!--"===l[1]?s=Kn:void 0!==l[1]?s=Jn:void 0!==l[2]?(os.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=ts):void 0!==l[3]&&(s=ts):s===ts?">"===l[0]?(s=r??Qn,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?ts:'"'===l[3]?is:es):s===is||s===es?s=ts:s===Kn||s===Jn?s=Qn:(s=ts,r=void 0);const d=s===ts&&t[e+1].startsWith("/>")?" ":"";n+=s===Qn?i+Vn:c>=0?(o.push(a),i.slice(0,c)+Fn+i.slice(c)+Bn+d):i+Bn+(-2===c?e:d)}return[ds(t,n+(t[i]||"<?>")+(2===e?"</svg>":"")),o]};class ps{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0;const s=t.length-1,a=this.parts,[l,c]=us(t,e);if(this.el=ps.createElement(l,i),hs.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=hs.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(Fn)){const e=c[n++],i=o.getAttribute(t).split(Bn),s=/([.?@])?(.*)/.exec(e);a.push({type:1,index:r,name:s[2],strings:i,ctor:"."===s[1]?bs:"?"===s[1]?ys:"@"===s[1]?ws:vs}),o.removeAttribute(t)}else t.startsWith(Bn)&&(a.push({type:6,index:r}),o.removeAttribute(t));if(os.test(o.tagName)){const t=o.textContent.split(Bn),e=t.length-1;if(e>0){o.textContent=jn?jn.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],Gn()),hs.nextNode(),a.push({type:2,index:++r});o.append(t[e],Gn())}}}else if(8===o.nodeType)if(o.data===Wn)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(Bn,t+1));)a.push({type:7,index:r}),t+=Bn.length-1}r++}}static createElement(t,e){const i=Un.createElement("template");return i.innerHTML=t,i}}function gs(t,e,i=t,o){if(e===as)return e;let r=void 0!==o?i._$Co?.[o]:i._$Cl;const n=qn(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,i,o)),void 0!==o?(i._$Co??=[])[o]=r:i._$Cl=r),void 0!==r&&(e=gs(t,r._$AS(t,e.values),r,o)),e}class ms{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??Un).importNode(e,!0);hs.currentNode=o;let r=hs.nextNode(),n=0,s=0,a=i[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new fs(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new xs(r,this,t)),this._$AV.push(e),a=i[++s]}n!==a?.index&&(r=hs.nextNode(),n++)}return hs.currentNode=Un,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 fs{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=ls,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=gs(this,t,e),qn(t)?t===ls||null==t||""===t?(this._$AH!==ls&&this._$AR(),this._$AH=ls):t!==this._$AH&&t!==as&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):Zn(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!==ls&&qn(this._$AH)?this._$AA.nextSibling.data=t:this.T(Un.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=ps.createElement(ds(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new ms(o,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=cs.get(t.strings);return void 0===e&&cs.set(t.strings,e=new ps(t)),e}k(t){Yn(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 fs(this.S(Gn()),this.S(Gn()),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 vs{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,r){this.type=1,this._$AH=ls,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=ls}_$AI(t,e=this,i,o){const r=this.strings;let n=!1;if(void 0===r)t=gs(this,t,e,0),n=!qn(t)||t!==this._$AH&&t!==as,n&&(this._$AH=t);else{const o=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=gs(this,o[i+s],e,s),a===as&&(a=this._$AH[s]),n||=!qn(a)||a!==this._$AH[s],a===ls?t=ls:t!==ls&&(t+=(a??"")+r[s+1]),this._$AH[s]=a}n&&!o&&this.j(t)}j(t){t===ls?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class bs extends vs{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===ls?void 0:t}}class ys extends vs{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==ls)}}class ws extends vs{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){if((t=gs(this,t,e,0)??ls)===as)return;const i=this._$AH,o=t===ls&&i!==ls||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==ls&&(i===ls||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 xs{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){gs(this,t)}}const ks={P:Fn,A:Bn,C:Wn,M:1,L:us,R:ms,D:Zn,V:gs,I:fs,H:vs,N:ys,U:ws,B:bs,F:xs},Cs=Pn.litHtmlPolyfillSupport;Cs?.(ps,fs),(Pn.litHtmlVersions??=[]).push("3.1.3");const Ms=(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 fs(e.insertBefore(Gn(),t),t,void 0,i??{})}return r._$AI(t),r};class _s extends Nn{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=Ms(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return as}}_s._$litElement$=!0,_s.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:_s});const Ss=globalThis.litElementPolyfillSupport;Ss?.({LitElement:_s}),(globalThis.litElementVersions??=[]).push("4.0.5");const Es=t=>(e,i)=>{void 0!==i?i.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},zs={attribute:!0,type:String,converter:On,reflect:!1,hasChanged:$n},Ls=(t=zs,e,i)=>{const{kind:o,metadata:r}=i;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.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 Is(t){return(e,i)=>"object"==typeof i?Ls(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 Rs(t){return Is({...t,state:!0,attribute:!1})}const Ts=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i);function As(t,e){return(i,o,r)=>{const n=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 Ts(i,o,{get(){let i=t.call(this);return void 0===i&&(i=n(this),(null!==i||this.hasUpdated)&&e.call(this,i)),i}})}return Ts(i,o,{get(){return n(this)}})}}let Os;function $s(t){return(e,i)=>Ts(e,i,{get(){return(this.renderRoot??(Os??=document.createDocumentFragment())).querySelectorAll(t)}})}function*Ds(t,e){if(void 0!==t){let i=0;for(const o of t)yield e(o,i++)}}const Ns=wn`
|
|
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",n="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,n]},e.faArrowsRotate=e.definition,e.prefix="fal",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=n,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",n="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,n]},e.faFloppyDisk=e.definition,e.prefix="fal",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=n,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},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",n="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,n]},e.faArrowsRotate=e.definition,e.prefix="fas",e.iconName=i,e.width=512,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=n,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",n="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,n]},e.faFloppyDisk=e.definition,e.prefix="fas",e.iconName=i,e.width=448,e.height=512,e.ligatures=o,e.unicode=r,e.svgPathData=n,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},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 n={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=n;for(const t of Object.keys(n)){if(!("channels"in n[t]))throw new Error("missing channels property: "+t);if(!("labels"in n[t]))throw new Error("missing channel labels property: "+t);if(n[t].labels.length!==n[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:i}=n[t];delete n[t].channels,delete n[t].labels,Object.defineProperty(n[t],"channels",{value:e}),Object.defineProperty(n[t],"labels",{value:i})}n.rgb.hsl=function(t){const e=t[0]/255,i=t[1]/255,o=t[2]/255,r=Math.min(e,i,o),n=Math.max(e,i,o),s=n-r;let a,l;n===r?a=0:e===n?a=(i-o)/s:i===n?a=2+(o-e)/s:o===n&&(a=4+(e-i)/s),a=Math.min(60*a,360),a<0&&(a+=360);const c=(r+n)/2;return l=n===r?0:c<=.5?s/(n+r):s/(2-n-r),[a,100*l,100*c]},n.rgb.hsv=function(t){let e,i,o,r,n;const s=t[0]/255,a=t[1]/255,l=t[2]/255,c=Math.max(s,a,l),h=c-Math.min(s,a,l),d=function(t){return(c-t)/6/h+.5};return 0===h?(r=0,n=0):(n=h/c,e=d(s),i=d(a),o=d(l),s===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*n,100*c]},n.rgb.hwb=function(t){const e=t[0],i=t[1];let o=t[2];const r=n.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(i,o));return o=1-1/255*Math.max(e,Math.max(i,o)),[r,100*s,100*o]},n.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]},n.rgb.keyword=function(t){const e=r[t];if(e)return e;let i,n=1/0;for(const e of Object.keys(o)){const r=(a=o[e],((s=t)[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2);r<n&&(n=r,i=e)}var s,a;return i},n.keyword.rgb=function(t){return o[t]},n.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)]},n.rgb.lab=function(t){const e=n.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)]},n.hsl.rgb=function(t){const e=t[0]/360,i=t[1]/100,o=t[2]/100;let r,n,s;if(0===i)return s=255*o,[s,s,s];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++)n=e+1/3*-(t-1),n<0&&n++,n>1&&n--,s=6*n<1?a+6*(r-a)*n:2*n<1?r:3*n<2?a+(r-a)*(2/3-n)*6:a,l[t]=255*s;return l},n.hsl.hsv=function(t){const e=t[0];let i=t[1]/100,o=t[2]/100,r=i;const n=Math.max(o,.01);return o*=2,i*=o<=1?o:2-o,r*=n<=1?n:2-n,[e,100*(0===o?2*r/(n+r):2*i/(o+i)),(o+i)/2*100]},n.hsv.rgb=function(t){const e=t[0]/60,i=t[1]/100;let o=t[2]/100;const r=Math.floor(e)%6,n=e-Math.floor(e),s=255*o*(1-i),a=255*o*(1-i*n),l=255*o*(1-i*(1-n));switch(o*=255,r){case 0:return[o,l,s];case 1:return[a,o,s];case 2:return[s,o,l];case 3:return[s,a,o];case 4:return[l,s,o];case 5:return[o,s,a]}},n.hsv.hsl=function(t){const e=t[0],i=t[1]/100,o=t[2]/100,r=Math.max(o,.01);let n,s;s=(2-i)*o;const a=(2-i)*r;return n=i*r,n/=a<=1?a:2-a,n=n||0,s/=2,[e,100*n,100*s]},n.hwb.rgb=function(t){const e=t[0]/360;let i=t[1]/100,o=t[2]/100;const r=i+o;let n;r>1&&(i/=r,o/=r);const s=Math.floor(6*e),a=1-o;n=6*e-s,1&s&&(n=1-n);const l=i+n*(a-i);let c,h,d;switch(s){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]},n.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))]},n.xyz.rgb=function(t){const e=t[0]/100,i=t[1]/100,o=t[2]/100;let r,n,s;return r=3.2406*e+-1.5372*i+-.4986*o,n=-.9689*e+1.8758*i+.0415*o,s=.0557*e+-.204*i+1.057*o,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,r=Math.min(Math.max(0,r),1),n=Math.min(Math.max(0,n),1),s=Math.min(Math.max(0,s),1),[255*r,255*n,255*s]},n.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)]},n.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,n=e**3,s=o**3;return i=r>.008856?r:(i-16/116)/7.787,e=n>.008856?n:(e-16/116)/7.787,o=s>.008856?s:(o-16/116)/7.787,e*=95.047,i*=100,o*=108.883,[e,i,o]},n.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]},n.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)]},n.rgb.ansi16=function(t,e=null){const[i,o,r]=t;let s=null===e?n.rgb.hsv(t)[2]:e;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(r/255)<<2|Math.round(o/255)<<1|Math.round(i/255));return 2===s&&(a+=60),a},n.hsv.ansi16=function(t){return n.rgb.ansi16(n.hsv.rgb(t),t[2])},n.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)},n.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]},n.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]},n.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},n.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]},n.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),n=Math.min(Math.min(e,i),o),s=r-n;let a,l;return a=s<1?n/(1-s):0,l=s<=0?0:r===e?(i-o)/s%6:r===i?2+(o-e)/s:4+(e-i)/s,l/=6,l%=1,[360*l,100*s,100*a]},n.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]},n.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]},n.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],n=e%1*6,s=n%1,a=1-s;let l=0;switch(Math.floor(n)){case 0:r[0]=1,r[1]=s,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]=s;break;case 3:r[0]=0,r[1]=a,r[2]=1;break;case 4:r[0]=s,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)]},n.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]},n.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]},n.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)]},n.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]},n.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},n.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},n.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},n.gray.hsl=function(t){return[0,0,t[0]]},n.gray.hsv=n.gray.hsl,n.gray.hwb=function(t){return[0,100,t[0]]},n.gray.cmyk=function(t){return[0,0,0,t[0]]},n.gray.lab=function(t){return[t[0],0,0]},n.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},n.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),n={};Object.keys(o).forEach((t=>{n[t]={},Object.defineProperty(n[t],"channels",{value:o[t].channels}),Object.defineProperty(n[t],"labels",{value:o[t].labels});const e=r(t);Object.keys(e).forEach((i=>{const o=e[i];n[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),n[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=n},5920:(t,e,i)=>{const o=i(4560);function r(t,e){return function(i){return e(t(i))}}function n(t,e){const i=[e[t].parent,t];let n=o[e[t].parent][t],s=e[t].parent;for(;e[s].parent;)i.unshift(e[s].parent),n=r(o[e[s].parent][s],n),s=e[s].parent;return n.conversion=i,n}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,n=0;n<o;n++){const o=r[n],s=e[o];-1===s.distance&&(s.distance=e[t].distance+1,s.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]=n(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),n=["keyword","gray","hex"],s={};for(const t of Object.keys(r))s[[...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 n&&(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 s))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=s[o];const{labels:n}=r[this.model],a=[];for(i=0;i<n.length;i++)a.push(t[n[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,n=2*r-1,s=i.alpha()-o.alpha(),a=((n*s==-1?n:(n+s)/(1+n*s))+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(n.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),n=Object.hasOwnProperty,s=Object.create(null);for(var a in o)n.call(o,a)&&(s[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,s=[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;s[i]=parseInt(e.slice(a,a+2),16)}r&&(s[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++)s[i]=parseInt(e[i]+e[i],16);r&&(s[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++)s[i]=parseInt(e[i+1],0);e[4]&&(e[5]?s[3]=.01*parseFloat(e[4]):s[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]:n.call(o,e[1])?((s=o[e[1]])[3]=1,s):null:null;for(i=0;i<3;i++)s[i]=Math.round(2.55*parseFloat(e[i+1]));e[4]&&(e[5]?s[3]=.01*parseFloat(e[4]):s[3]=parseFloat(e[4]))}for(i=0;i<3;i++)s[i]=c(s[i],0,255);return s[3]=c(s[3],0,1),s},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 s[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],n=0;n<4;n++)8*o+6*n<=8*t.length?i.push(e.charAt(r>>>6*(3-n)&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,n,s;o=i(7250),r=i(4754).utf8,n=i(4754).bin,(s=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,n=[],s=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=s,p=a,g=l,m=c,f=h,v=0;v<80;v++){if(v<16)n[v]=e[d+v];else{var b=n[v-3]^n[v-8]^n[v-14]^n[v-16];n[v]=b<<1|b>>>31}var y=(s<<5|s>>>27)+h+(n[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=s,s=y}s+=u,a+=p,l+=g,c+=m,h+=f}return[s,a,l,c,h]}(t));return e&&e.asBytes?i:e&&e.asString?n.bytesToString(i):o.bytesToHex(i)})._blocksize=16,s._digestsize=20,t.exports=s},9311:(t,e,i)=>{"use strict";var o=i(8666),r=Array.prototype.concat,n=Array.prototype.slice,s=t.exports=function(t){for(var e=[],i=0,s=t.length;i<s;i++){var a=t[i];o(a)?e=r.call(e,n.call(a)):e.push(a)}return e};s.wrap=function(t){return function(){return t(s(arguments))}}},6565:(t,e,i)=>{"use strict";var o=i(2180);t.exports=function(t,e,i,r){var n,s,a;if(t<=0)return 0;if(1===t||0===r)return e+i[0];if(n=r<0?(1-t)*r:0,t<8){for(s=0,a=0;a<t;a++)s+=e+i[n],n+=r;return s}return o(t,e,i,r,n)}},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,n,s){var a,l,c,h,d,u,p,g,m,f,v,b,y;if(e<=0)return 0;if(1===e||0===n)return i+r[s];if(a=s,e<8){for(v=0,y=0;y<e;y++)v+=i+r[a],a+=n;return v}if(e<=128){for(l=i+r[a],c=i+r[a+n],h=i+r[a+2*n],d=i+r[a+3*n],u=i+r[a+4*n],p=i+r[a+5*n],g=i+r[a+6*n],m=i+r[a+7*n],a+=8*n,f=e%8,y=8;y<e-f;y+=8)l+=i+r[a],c+=i+r[a+n],h+=i+r[a+2*n],d+=i+r[a+3*n],u+=i+r[a+4*n],p+=i+r[a+5*n],g+=i+r[a+6*n],m+=i+r[a+7*n],a+=8*n;for(v=l+c+(h+d)+(u+p+(g+m));y<e;y++)v+=i+r[a],a+=n;return v}return b=o(e/2),t(b-=b%8,i,r,n,a)+t(e-b,i,r,n,a+b*n)}},9341:(t,e,i)=>{"use strict";var o=i(3465);t.exports=function(t,e,i){var r,n,s;if(t<=0)return 0;if(1===t||0===i)return e[0];if(r=i<0?(1-t)*i:0,t<8){for(n=0,s=0;s<t;s++)n+=e[r],r+=i;return n}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,n){var s,a,l,c,h,d,u,p,g,m,f,v,b;if(e<=0)return 0;if(1===e||0===r)return i[n];if(s=n,e<8){for(f=0,b=0;b<e;b++)f+=i[s],s+=r;return f}if(e<=128){for(a=i[s],l=i[s+r],c=i[s+2*r],h=i[s+3*r],d=i[s+4*r],u=i[s+5*r],p=i[s+6*r],g=i[s+7*r],s+=8*r,m=e%8,b=8;b<e-m;b+=8)a+=i[s],l+=i[s+r],c+=i[s+2*r],h+=i[s+3*r],d+=i[s+4*r],u+=i[s+5*r],p+=i[s+6*r],g+=i[s+7*r],s+=8*r;for(f=a+l+(c+h)+(d+u+(p+g));b<e;b++)f+=i[s],s+=r;return f}return v=o(e/2),t(v-=v%8,i,r,s)+t(e-v,i,r,s+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 n;return t<=0?NaN:1===t||0===i?e[0]:(n=o(t,e,i)/t)+r(t,-n,e,i)/t}},2510:(t,e,i)=>{"use strict";var o=i(1094).ndarray,r=i(5271).ndarray;t.exports=function(t,e,i,n){var s;return t<=0?NaN:1===t||0===i?e[n]:(s=o(t,e,i,n)/t)+r(t,-s,e,i,n)/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),n=i(6859),s=i(3509);o=r()?n:s,t.exports=o},3509:t=>{"use strict";var e=Object.prototype,i=e.toString,o=e.__defineGetter__,r=e.__defineSetter__,n=e.__lookupGetter__,s=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)&&(n.call(t,a)||s.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 n=e[o]={exports:{}};return t[o](n,n.exports,i),n.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:()=>$,code:()=>k,commands:()=>y,core:()=>v,dialog:()=>C,editor:()=>N,form:()=>D,grid:()=>O,localize:()=>n,markdown:()=>P,package:()=>QA,plugins:()=>XA,statusbar:()=>j,tabs:()=>b,toolbar:()=>H,tree:()=>x});var t={};i.r(t),i.d(t,{bind:()=>mt,clone:()=>nt,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:()=>st});var e={};i.r(e),i.d(e,{appendElement:()=>wt,appendScript:()=>Ot,appendStyle:()=>At,createElement:()=>yt,createName:()=>ft,debounceOn:()=>It,empty:()=>St,findParent:()=>zt,fixElementPosition:()=>Wt,fixElementSize:()=>Vt,fixPosition:()=>Xt,getElementOffset:()=>Tt,hideCell:()=>_t,hideElement:()=>kt,isHidden:()=>Ct,measureText:()=>Jt,numToPixels:()=>$t,on:()=>Lt,px:()=>Dt,query:()=>te,register:()=>vt,remove:()=>Et,setBorderWidth:()=>Zt,setCenterPosition:()=>Yt,setClasses:()=>Rt,setInset:()=>Ft,setLineHeight:()=>Bt,setMargin:()=>Gt,setMaxSize:()=>Pt,setMinSize:()=>jt,setPadding:()=>qt,setPosition:()=>Ht,setSize:()=>Nt,setStyle:()=>bt,setZIndex:()=>Ut,showCell:()=>Mt,showElement:()=>xt,zoomElement:()=>Qt});var r={};i.r(r),i.d(r,{escapeHTML:()=>oe,highlightText:()=>re});var n={};i.r(n),i.d(n,{LocaleChangeEvent:()=>xo,createTranslateFunction:()=>Io,getISOCode:()=>Oo,getLocale:()=>Eo,getRegionISOCode:()=>$o,getSystemLocale:()=>ko,hasLocale:()=>zo,msg:()=>Ro,registerLocale:()=>So,setLocale:()=>Lo});var s={};i.r(s),i.d(s,{createDateFormatter:()=>Qo,dateToSerialDate:()=>or,detectDefaultFormat:()=>Uo,detectFormat:()=>Bo,format:()=>qo,getDateFormat:()=>Go,getDateFormatter:()=>Zo,getDateLocale:()=>Xo,getFiscalISOWeek:()=>ir,getFiscalQuarter:()=>Jo,getFiscalYear:()=>Ko,getFiscalYearBounds:()=>er,isISODate:()=>Wo,parse:()=>Yo,registerDateLocale:()=>jo,serialDateToDate:()=>rr,stripTime:()=>tr,workday:()=>nr});var a={};i.r(a),i.d(a,{createNumberFormatter:()=>pr,fixNumberFormat:()=>vr,getLocalDecimalSeparator:()=>br,getNumberFormatter:()=>ur,isExtendedNumberFormat:()=>sr,isNumberFormat:()=>hr,mod:()=>ar,romanize:()=>cr,stringFormatToNumberFormat:()=>mr});var l={};i.r(l),i.d(l,{CsvReader:()=>wr,DEFAULT_CSV_DESCRIPTION:()=>yr,arrayToCsv:()=>xr,csvToArray:()=>kr});var c={};i.r(c),i.d(c,{LogLevel:()=>Cr,Logger:()=>Mr,getLogger:()=>Er,registerLogger:()=>Sr});var h={};i.r(h),i.d(h,{FilterState:()=>zr,TreeNodeMixin:()=>Ir,buildLevelBasedTree:()=>Rr,buildParentBasedTree:()=>Tr,buildTree:()=>Ar});var d={};i.r(d),i.d(d,{alpha:()=>Dr,contrastColor:()=>jr,css:()=>Fr,darken:()=>$r,getComplmentaryColor:()=>Nr,lighten:()=>Or,mix:()=>Pr,plainHex:()=>Hr});var u={};i.r(u),i.d(u,{ActionEvent:()=>Br,dispatchActionEvent:()=>Wr});var p={};i.r(p),i.d(p,{clone:()=>qr,reverseColumns:()=>Vr,reverseRows:()=>Ur,transpose:()=>Gr});var g={};i.r(g),i.d(g,{AddEvent:()=>Zr,ChangeEvent:()=>Yr,SerialzieEvent:()=>Xr});var m={};i.r(m),i.d(m,{PAPER_SIZES:()=>Qr});var f={};i.r(f),i.d(f,{detect:()=>Kr});var v={};i.r(v),i.d(v,{AMD:()=>an,Accordion:()=>ba,Alert:()=>Ca,AlertEvent:()=>ka,BaseElement:()=>_a,Button:()=>Va,Checkbox:()=>$d,ColorPicker:()=>du,ColorPickerEvent:()=>lu,ColorTypes:()=>ya,ComponentAdapter:()=>Xd,ComponentEvent:()=>Ma,ComponentSlice:()=>eu,ComponentStore:()=>tu,Container:()=>nu,Dropdown:()=>yu,DropdownColorPicker:()=>xu,DropdownContainer:()=>bu,DropdownEvent:()=>vu,DropdownList:()=>Iu,DropdownMenu:()=>zu,ExpandEvent:()=>Ou,Expander:()=>Du,FileInput:()=>Zu,FloatingWindow:()=>ju,Icon:()=>Wu,Input:()=>Gu,LevelExpandEvent:()=>$u,LevelExpander:()=>Nu,LinkedList:()=>hn,LinkedListNode:()=>cn,List:()=>rp,ListPointerEvent:()=>op,ListSelectEvent:()=>ip,ListSelectTrigger:()=>tp,ListSortEvent:()=>vp,Loader:()=>Ep,Menu:()=>Su,MenuEvent:()=>_u,NumericInput:()=>Ku,OmegaComponent:()=>Jd,Overlay:()=>lp,Panel:()=>dp,Plugin:()=>iu,Plugins:()=>ou,ResizeEvent:()=>pp,ScriptLoader:()=>ln,ShortcutEvent:()=>dn,ShortcutManager:()=>pn,Sizer:()=>gp,SlideEvent:()=>Yd,Slider:()=>Zd,SliderDirection:()=>Vd,SortableList:()=>bp,SplitContainer:()=>Gs,SplitContainerEvent:()=>Vs,SplitContainerResizeEvent:()=>Us,Switch:()=>Cp,SwitchEvent:()=>kp,ThemeChangeEvent:()=>Na,ThemeManager:()=>Pa,Tooltip:()=>Sp,actions:()=>u,addThemeVariables:()=>Aa,colorable:()=>$a,colors:()=>d,constants:()=>G,createThemeVariables:()=>Ra,createThemeVariablesCss:()=>Ta,csv:()=>l,dates:()=>s,detectThemeType:()=>Ia,device:()=>f,dom:()=>e,events:()=>g,getDefaultOptions:()=>en,getThemeManager:()=>Ha,html:()=>r,images:()=>Ru,initCommonOptions:()=>on,initOptions:()=>on,log:()=>c,matrix:()=>p,numbers:()=>a,paper:()=>m,setDefaultOptions:()=>tn,themeable:()=>Oa,tree:()=>h,utils:()=>t});var b={};i.r(b),i.d(b,{TabContainer:()=>Hp,TabEvent:()=>Ap,TabSplitContainer:()=>Wp,TabSplitContainerModel:()=>zp,Tabs:()=>$p});var y={};i.r(y),i.d(y,{Command:()=>Vp,CommandEvent:()=>Jp,CommandGroup:()=>Up,CommandManager:()=>ag,CommandWindow:()=>ig,Commands:()=>Gp,CommandsAdapter:()=>og,CommandsFlowAdapter:()=>rg,commandFactories:()=>ng,createCommands:()=>sg,initOptions:()=>Zp});var w={};i.r(w),i.d(w,{AlertEvent:()=>Mg,Bucket:()=>wg,BucketAlert:()=>_g,BucketButton:()=>$g,BucketEvent:()=>yg,BucketPath:()=>Ug,BucketPathEvent:()=>Vg,BucketTop:()=>Ag,ComponentHost:()=>Ng,ModalSidebar:()=>Hg,Sidebar:()=>Eg,Sidemenu:()=>Ig,commonMenus:()=>Fg});var x={};i.r(x),i.d(x,{DateTreeAdapter:()=>Cf,ItemPropertyType:()=>zm,LevelSelectEvent:()=>Xm,NodeModel:()=>_m,NodeSelectionStatus:()=>Lm,SelectMode:()=>Em,Tree:()=>Vm,TreeAdapter:()=>Um,TreeDropEvent:()=>Wm,TreeDropdown:()=>Ym,TreeEvent:()=>Fm,TreeMenu:()=>ef,TreeModel:()=>Sm,TreePointerEvent:()=>Bm,TreeSearchEvent:()=>Jm,TreeSelectionModel:()=>Rm,normalizeSerializedValues:()=>Im});var k={};i.r(k),i.d(k,{Code:()=>lm,CodeBlock:()=>Tf,CodeDiffEditor:()=>Mm,CodeEvent:()=>qg,CodeView:()=>$f,MonacoLoader:()=>Gg,loader:()=>Gg});var C={};i.r(C),i.d(C,{Dialog:()=>Ff,DialogEvent:()=>Hf});var M={};i.r(M),i.d(M,{SHEET_NAME_REGEX:()=>qf,isSheetNameValid:()=>Yf,sanitizeSheetName:()=>Zf});var _={};i.r(_),i.d(_,{concat:()=>Dv,concatenate:()=>Nv,left:()=>Av,len:()=>Pv,lower:()=>jv,mid:()=>$v,right:()=>Ov,text:()=>Tv,upper:()=>Hv});var S={};i.r(S),i.d(S,{date:()=>Yv,datevalue:()=>Wv,day:()=>Qv,eomonth:()=>Kv,isBlank:()=>qv,isoweeknum:()=>Jv,month:()=>Xv,today:()=>Gv,weekday:()=>Vv,workday:()=>Uv,year:()=>Zv});var E={};i.r(E),i.d(E,{PI:()=>mb,abs:()=>kb,acos:()=>tb,acosh:()=>eb,acot:()=>ib,acoth:()=>ob,asin:()=>rb,asinh:()=>nb,atan:()=>sb,atanh:()=>ab,ceiling:()=>Cb,cos:()=>lb,cosh:()=>cb,cot:()=>hb,coth:()=>db,count:()=>Qb,countblank:()=>Kb,countif:()=>Jb,countunique:()=>ty,csc:()=>ub,csch:()=>pb,degrees:()=>gb,even:()=>Mb,exp:()=>_b,fact:()=>Sb,factdouble:()=>Eb,floor:()=>zb,isdecimal:()=>Lb,iseven:()=>Ib,isodd:()=>Rb,ln:()=>Tb,log:()=>Ab,log10:()=>Ob,mod:()=>$b,odd:()=>Db,power:()=>Nb,product:()=>Pb,quotient:()=>jb,radians:()=>Hb,rand:()=>Fb,randarray:()=>Bb,randbetween:()=>Wb,round:()=>Vb,rounddown:()=>Ub,roundup:()=>Gb,sec:()=>fb,sech:()=>vb,sequence:()=>qb,sign:()=>Yb,sin:()=>bb,sinh:()=>yb,sqrt:()=>Zb,sqrtpi:()=>Xb,sum:()=>ey,sumif:()=>iy,sumproduct:()=>ry,sumsq:()=>oy,tan:()=>wb,tanh:()=>xb});var z={};i.r(z),i.d(z,{address:()=>sy,choose:()=>hy,column:()=>dy,columns:()=>py,filter:()=>wy,formulatext:()=>my,hlookup:()=>ly,index:()=>fy,indirect:()=>vy,lookup:()=>cy,match:()=>by,offset:()=>yy,row:()=>uy,rows:()=>gy,vlookup:()=>ay});var L={};i.r(L),i.d(L,{erfc:()=>Cy});var I={};i.r(I),i.d(I,{_false:()=>Iy,_if:()=>zy,_switch:()=>Ey,_true:()=>Ry,and:()=>My,iferror:()=>Ty,not:()=>Ly,or:()=>_y,xor:()=>Sy});var R={};i.r(R),i.d(R,{avedev:()=>jy,average:()=>Ny,average_weighted:()=>Py,max:()=>Fy,min:()=>Hy});var T={};i.r(T),i.d(T,{_map:()=>Wy,date:()=>S,logical:()=>I,lookup:()=>z,math:()=>E,special:()=>L,statistical:()=>R,text:()=>_});var A={};i.r(A),i.d(A,{BaseRenderer:()=>Vk,CheckboxRenderer:()=>Gk,DateTimeRenderer:()=>qk,DropdownRenderer:()=>Yk,GeneralRenderer:()=>Qk,NumberRenderer:()=>Zk,TextRenderer:()=>Xk,applyStyle:()=>Wk,cellTypeRendererMap:()=>Kk,getCellRenderer:()=>Jk});var O={};i.r(O),i.d(O,{CalculationContext:()=>Vy,CalculationModel:()=>Mw,CellModel:()=>hw,CellRange:()=>pv,ColumnModel:()=>uw,Comment:()=>Bk,CommentEvent:()=>Fk,CommentItem:()=>bw,CommentModel:()=>yw,ConditionalFormats:()=>Rw,Dependencies:()=>xw,ElementCache:()=>vx,ElementModel:()=>Xy,FilterEvent:()=>Nw,FilterLabel:()=>yx,FilterModel:()=>Pw,Formula:()=>Rv,FormulaInput:()=>Cx,FormulaInputEvent:()=>kx,Grid:()=>Mk,GridAdapter:()=>tC,GridColumnResizeEvent:()=>Dx,GridEditEvent:()=>Ox,GridEditing:()=>ek,GridErrorEvent:()=>Tx,GridEvent:()=>Ax,GridEvents:()=>Px,GridFiltering:()=>dk,GridGroup:()=>Ik,GridGroupEvent:()=>Lk,GridModel:()=>ux,GridRendering:()=>jx,GridResizeEvent:()=>$x,GridRowResizeEvent:()=>Nx,GridSelecting:()=>Hx,GridSorting:()=>vk,GridTooltip:()=>Pk,GroupModel:()=>px,History:()=>gx,IterableAddressRange:()=>Fw,IterableAxisRange:()=>Bw,IterableRange:()=>Hw,MergeCellState:()=>cx,Merges:()=>hx,NamingModel:()=>Ww,ObjectEvent:()=>gk,ObjectHost:()=>mk,RowModel:()=>Uw,SelectionModel:()=>mx,Selector:()=>$k,SelectorEvent:()=>Ak,SelectorMoveEvent:()=>Ok,SortOrder:()=>pw,SortingArrow:()=>Ex,SortingModel:()=>vw,Sparkline:()=>Nk,Sparklines:()=>jw,Table:()=>Ix,TableEvent:()=>Lx,TokenType:()=>rv,Tokenizer:()=>hv,addGradient:()=>nw,addPattern:()=>rw,alignmentToString:()=>Jw,applyCellTheme:()=>nx,applyColumnTheme:()=>sx,applyRowTheme:()=>ax,applyTheme:()=>lx,autofill:()=>qy,borderCSSStyleMap:()=>Jy,borderStyleCSSMap:()=>Ky,borderToString:()=>Kw,convertCSSBorder:()=>iw,convertCSSColor:()=>ew,convertCSSVerticalAlignment:()=>tw,convertToCSSBorder:()=>ow,createBoolMatcher:()=>Aw,createCellMatcher:()=>Dw,createGroupCommands:()=>wk,createMultiMatcher:()=>Ow,createMultiMultiMatcher:()=>$w,createTextMatcher:()=>Tw,cssStyleFromString:()=>Qy,cssStyleToStyle:()=>aw,decodeColumn:()=>vv,decodeRow:()=>mv,encodeColumn:()=>fv,encodeRow:()=>gv,extrapolateFormulas:()=>Gy,extrapolateValues:()=>Uy,functions:()=>T,gridConstants:()=>Gf,hashStyle:()=>tx,iconSets:()=>Lw,initGridCommands:()=>kk,initOptions:()=>Vw,isArythmeticOperator:()=>tv,isBool:()=>av,isFormula:()=>_v,isLetter:()=>lv,isLogicalOperator:()=>Jf,isNumber:()=>sv,isOperand:()=>nv,isOperator:()=>ev,matrixOperation:()=>ov,normalizeCellValidation:()=>Yy,operatorMap:()=>Kf,prefixFormula:()=>Sv,renderers:()=>A,scalarOperation:()=>iv,sortRanges:()=>bv,stripFormulaPrefix:()=>Ev,styleToCSStyle:()=>sw,utils:()=>M,validateValue:()=>Zy});var $={};i.r($),i.d($,{Calendar:()=>EC,CalendarDropdown:()=>OC});var D={};i.r(D),i.d(D,{CalendarDateInput:()=>hM,Form:()=>ZC,FormAdapter:()=>XC,FormButton:()=>yM,FormCheckbox:()=>gM,FormColorInput:()=>aM,FormContainer:()=>eM,FormControlModel:()=>BC,FormControlType:()=>FC,FormDateInput:()=>cM,FormEvent:()=>YC,FormFileInput:()=>pM,FormLabel:()=>mM,FormList:()=>vM,FormModel:()=>WC,FormNumericInput:()=>uM,FormTextInput:()=>nM});var N={};i.r(N),i.d(N,{ConfigForm:()=>CM,Editor:()=>LM,EditorEvent:()=>zM,EditorFormula:()=>OM,EditorStatusbar:()=>HM,EditorToolbar:()=>YM,EditorZoom:()=>RM,GridStats:()=>DM,HeaderForm:()=>XM,HyperlinkEditor:()=>D_,NamesForm:()=>t_,RuleEditor:()=>R_,RuleForm:()=>o_,RuleList:()=>l_,RuleThreshold:()=>u_,SparklineForm:()=>w_,StyleEditor:()=>O_,StyleForm:()=>m_,ThemeEditor:()=>S_,ThemeEditorSidebar:()=>M_,ThemeItemEditor:()=>L_});var P={};i.r(P),i.d(P,{BlockEditMenu:()=>fE,EditorFeature:()=>yE,HtmlBlock:()=>jS,HtmlBlockComponent:()=>PS,LinkEdit:()=>sE,MarkdownEditor:()=>K_,MarkdownLinkEvent:()=>Q_,MarkdownView:()=>J_,configureFeatures:()=>vE,createEditor:()=>V_,createHtmlBlockConfig:()=>FS,createHtmlBlockView:()=>BS,defaultCodeEditorConfig:()=>HS,getFeatures:()=>xE,loader:()=>W_,markdownToHtml:()=>U_});var j={};i.r(j),i.d(j,{Statusbar:()=>_E});var H={};i.r(H),i.d(H,{Toolbar:()=>AE,ToolbarButton:()=>$E,ToolbarColorPicker:()=>ZE,ToolbarCustomDropdown:()=>jE,ToolbarDropdown:()=>NE,ToolbarDropdownButton:()=>FE,ToolbarDropdownMenu:()=>WE,ToolbarGrid:()=>UE,ToolbarText:()=>qE});var F={};i.r(F),i.d(F,{SheetjsLoader:()=>XE,XlsxEditorPlugin:()=>Iz,convertMargins:()=>vz,convertStyle:()=>lz,createModel:()=>Ez,createModelFromArrayBuffer:()=>Lz,createModelFromWorkbook:()=>zz,createWorkbook:()=>yz,createWorksheet:()=>bz,detectOutlineColumnDirection:()=>gz,detectOutlineRowDirection:()=>pz,exportXLSX:()=>wz,getWorkbookNames:()=>Sz,getWorksheetCells:()=>hz,getWorksheetColumns:()=>iz,getWorksheetConditionalFormats:()=>uz,getWorksheetHeaderCells:()=>nz,getWorksheetMerges:()=>rz,getWorksheetRows:()=>oz,loader:()=>XE});var B={};i.r(B),i.d(B,{Chart:()=>Hz,ChartEditorPlugin:()=>Az,ChartGridPlugin:()=>Tz,ChartList:()=>Vz,ChartModel:()=>Rz,HighchartsLoader:()=>Oz,RuleForm:()=>qz,createChartOptions:()=>Dz,loader:()=>Oz,renderChart:()=>Nz});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,n;void 0===e&&(e=50),void 0===i&&(i={});var s=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=s&&void 0===n;if(void 0!==n&&clearTimeout(n),n=setTimeout((function(){if(n=void 0,c=Date.now(),!s){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!==n&&clearTimeout(n),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 nt(t){return Object.assign({},t)}function st(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 Et(t){t.parentNode?.removeChild(t)}function zt(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 n=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=>n(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 Ot(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 $t(t){return isNaN(t)?"0":t.toString()+"px"}const Dt=$t;function Nt(t,e,i=!1){if(t)return null!=e.w&&(t.style[i?"minWidth":"width"]=Q(e.w)?e.w:$t(e.w)),null!=e.h&&(t.style[i?"minHeight":"height"]=Q(e.h)?e.h:$t(e.h)),t}function Pt(t,e){return null!=e.w&&(t.style.maxWidth=Q(e.w)?e.w:$t(e.w)),null!=e.h&&(t.style.maxHeight=Q(e.h)?e.h:$t(e.h)),t}function jt(t,e){return null!=e.w&&(t.style.minWidth=Q(e.w)?e.w:$t(e.w)),null!=e.h&&(t.style.minHeight=Q(e.h)?e.h:$t(e.h)),t}function Ht(t,e){t.style.position="absolute",null!=e.r&&(t.style.right=$t(e.r)),null!=e.b&&(t.style.bottom=$t(e.b)),null!=e.l&&(t.style.left=$t(e.l)),null!=e.t&&(t.style.top=$t(e.t))}function Ft(t,e){t.style.position="absolute",t.style.inset=$t(e)}function Bt(t,e){t.style.lineHeight=$t(e)}function Wt(t,e=null){const i=Tt(t,e=e||t.parentElement),o=Xt({x:i.left,y:i.top,w:t.offsetWidth,h:t.offsetHeight},e);Ht(t,{l:o.x,t:o.y})}function Vt(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 Ut(t,e){t.style.zIndex=e.toString()}function Gt(t,e){void 0!==e.r&&(t.style.marginRight=$t(e.r)),void 0!==e.l&&(t.style.marginLeft=$t(e.l)),void 0!==e.t&&(t.style.marginTop=$t(e.t)),void 0!==e.b&&(t.style.marginBottom=$t(e.b))}function qt(t,e){void 0!==e.r&&(t.style.paddingRight=$t(e.r)),void 0!==e.l&&(t.style.paddingLeft=$t(e.l)),void 0!==e.t&&(t.style.paddingTop=$t(e.t)),void 0!==e.b&&(t.style.paddingBottom=$t(e.b))}function Yt(t,e,i={vertical:!0,horizontal:!0}){t.style.position="absolute",i.vertical&&(t.style.top=$t(Math.round(e.clientHeight/2-t.offsetHeight/2))),i.horizontal&&(t.style.left=$t(Math.round(e.clientWidth/2-t.offsetWidth/2)))}function Zt(t,e){null!=e.r&&(t.style.borderRightWidth=$t(e.r)),null!=e.b&&(t.style.borderBottomWidth=$t(e.b)),null!=e.l&&(t.style.borderLeftWidth=$t(e.l)),null!=e.t&&(t.style.borderTopWidth=$t(e.t))}function Xt(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 Qt(t,e){t.style.transformOrigin="0% 0% 0px",t.style.transform=`scale(${e})`}let Kt;function Jt(t,e){Kt||(Kt=new Map);let i=Kt.get(e);return i||(i=document.createElement("canvas").getContext("2d"),i.font=e,Kt.set(e,i)),i.measureText(t)}function te(t,e=document){return e.querySelector(t)}const ee={"&":"&","<":"<",">":">"},ie=t=>ee[t]||t;function oe(t){return t.replace(/[&<>]/g,ie)}function re(t,e,i=G.DEFAULT_TEXT_HIGHLIGHT_COLOR){const o=[];let r=0,n=0;for(const s of e)r=s[0],n<r&&o.push(oe(t.substring(n,r))),n=s[1],o.push(`<span style="color:${i}">${oe(t.substring(r,n))}</span>`);return n<t.length&&o.push(oe(t.substring(n))),o.join("")}function ne(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 se(t){const e=ne(t);return e.setHours(0,0,0,0),e}function ae(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}let le={};function ce(){return le}const he={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 de(t){return(e={})=>{const i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const ue={date:de({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:de({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:de({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},pe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ge(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 me={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:ge({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ge({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:ge({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:ge({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:ge({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 fe(t){return(e,i={})=>{const o=i.width,r=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],n=e.match(r);if(!n)return null;const s=n[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(s))return e}(a):function(t,e){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&t[e].test(s))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(s.length)}}}function ve(t){return(e,i={})=>{const o=e.match(t.matchPattern);if(!o)return null;const r=o[0],n=e.match(t.parsePattern);if(!n)return null;let s=t.valueCallback?t.valueCallback(n[0]):n[0];return s=i.valueCallback?i.valueCallback(s):s,{value:s,rest:e.slice(r.length)}}}const be={ordinalNumber:ve({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:fe({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:fe({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:fe({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:fe({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:fe({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"})},ye={code:"en-US",formatDistance:(t,e,i)=>{let o;const r=he[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:ue,formatRelative:(t,e,i,o)=>pe[t],localize:me,match:be,options:{weekStartsOn:0,firstWeekContainsDate:1}},we=(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"})}},xe=(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"})}},ke={p:xe,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],o=i[1],r=i[2];if(!r)return we(t,e);let n;switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",we(o,e)).replace("{{time}}",xe(r,e))}},Ce=/^D+$/,Me=/^Y+$/,_e=["D","DD","YY","YYYY"];function Se(t){return Ce.test(t)}function Ee(t){return Me.test(t)}function ze(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),_e.includes(t))throw new RangeError(o)}class Le{subPriority=0;validate(t,e){return!0}}class Ie extends Le{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 Re extends Le{priority=10;subPriority=-1;set(t,e){return e.timestampIsSet?t:ae(t,function(t,e){const i=e instanceof Date?ae(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 Te{run(t,e,i,o){const r=this.parse(t,e,i,o);return r?{setter:new Ie(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 Ae=6048e5,Oe=864e5,$e=6e4,De=36e5,Ne=/^(1[0-2]|0?\d)/,Pe=/^(3[0-1]|[0-2]?\d)/,je=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,He=/^(5[0-3]|[0-4]?\d)/,Fe=/^(2[0-3]|[0-1]?\d)/,Be=/^(2[0-4]|[0-1]?\d)/,We=/^(1[0-1]|0?\d)/,Ve=/^(1[0-2]|0?\d)/,Ue=/^[0-5]?\d/,Ge=/^[0-5]?\d/,qe=/^\d/,Ye=/^\d{1,2}/,Ze=/^\d{1,3}/,Xe=/^\d{1,4}/,Qe=/^-?\d+/,Ke=/^-?\d/,Je=/^-?\d{1,2}/,ti=/^-?\d{1,3}/,ei=/^-?\d{1,4}/,ii=/^([+-])(\d{2})(\d{2})?|Z/,oi=/^([+-])(\d{2})(\d{2})|Z/,ri=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,ni=/^([+-])(\d{2}):(\d{2})|Z/,si=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ai(t,e){return t?{value:e(t.value),rest:t.rest}:t}function li(t,e){const i=e.match(t);return i?{value:parseInt(i[0],10),rest:e.slice(i[0].length)}:null}function ci(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,n=i[3]?parseInt(i[3],10):0,s=i[5]?parseInt(i[5],10):0;return{value:o*(r*De+n*$e+1e3*s),rest:e.slice(i[0].length)}}function hi(t){return li(Qe,t)}function di(t,e){switch(t){case 1:return li(qe,e);case 2:return li(Ye,e);case 3:return li(Ze,e);case 4:return li(Xe,e);default:return li(new RegExp("^\\d{1,"+t+"}"),e)}}function ui(t,e){switch(t){case 1:return li(Ke,e);case 2:return li(Je,e);case 3:return li(ti,e);case 4:return li(ei,e);default:return li(new RegExp("^-?\\d{1,"+t+"}"),e)}}function pi(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function gi(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 mi(t){return t%400==0||t%4==0&&t%100!=0}function fi(t,e){const i=ce(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=ne(t),n=r.getDay(),s=(n<o?7:0)+n-o;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function vi(t,e){const i=ne(t),o=i.getFullYear(),r=ce(),n=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=ae(t,0);s.setFullYear(o+1,0,n),s.setHours(0,0,0,0);const a=fi(s,e),l=ae(t,0);l.setFullYear(o,0,n),l.setHours(0,0,0,0);const c=fi(l,e);return i.getTime()>=a.getTime()?o+1:i.getTime()>=c.getTime()?o:o-1}function bi(t){return fi(t,{weekStartsOn:1})}function yi(t,e){const i=ne(t),o=+fi(i,e)-+function(t,e){const i=ce(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,r=vi(t,e),n=ae(t,0);return n.setFullYear(r,0,o),n.setHours(0,0,0,0),fi(n,e)}(i,e);return Math.round(o/Ae)+1}function wi(t){const e=ne(t),i=e.getFullYear(),o=ae(t,0);o.setFullYear(i+1,0,4),o.setHours(0,0,0,0);const r=bi(o),n=ae(t,0);n.setFullYear(i,0,4),n.setHours(0,0,0,0);const s=bi(n);return e.getTime()>=r.getTime()?i+1:e.getTime()>=s.getTime()?i:i-1}function xi(t){const e=ne(t),i=+bi(e)-+function(t){const e=wi(t),i=ae(t,0);return i.setFullYear(e,0,4),i.setHours(0,0,0,0),bi(i)}(e);return Math.round(i/Ae)+1}const ki=[31,28,31,30,31,30,31,31,30,31,30,31],Ci=[31,29,31,30,31,30,31,31,30,31,30,31];function Mi(t,e){const i=ne(t);return isNaN(e)?ae(t,NaN):e?(i.setDate(i.getDate()+e),i):i}function _i(t,e,i){const o=ce(),r=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,n=ne(t),s=n.getDay(),a=7-r;return Mi(n,e<0||e>6?e-(s+a)%7:((e%7+7)%7+a)%7-(s+a)%7)}function Si(t){let e=ne(t).getDay();return 0===e&&(e=7),e}function Ei(t){const e=ne(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 zi={G:new class extends Te{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 Te{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 ai(di(4,t),o);case"yo":return ai(i.ordinalNumber(t,{unit:"year"}),o);default:return ai(di(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=gi(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 Te{priority=130;parse(t,e,i){const o=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return ai(di(4,t),o);case"Yo":return ai(i.ordinalNumber(t,{unit:"year"}),o);default:return ai(di(e.length,t),o)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,i,o){const r=vi(t,o);if(i.isTwoDigitYear){const e=gi(i.year,r);return t.setFullYear(e,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),fi(t,o)}const n="era"in e&&1!==e.era?1-i.year:i.year;return t.setFullYear(n,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),fi(t,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends Te{priority=130;parse(t,e){return ui("R"===e?4:e.length,t)}set(t,e,i){const o=ae(t,0);return o.setFullYear(i,0,4),o.setHours(0,0,0,0),bi(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends Te{priority=130;parse(t,e){return ui("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 Te{priority=120;parse(t,e,i){switch(e){case"Q":case"QQ":return di(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 Te{priority=120;parse(t,e,i){switch(e){case"q":case"qq":return di(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 Te{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 ai(li(Ne,t),o);case"MM":return ai(di(2,t),o);case"Mo":return ai(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 Te{priority=110;parse(t,e,i){const o=t=>t-1;switch(e){case"L":return ai(li(Ne,t),o);case"LL":return ai(di(2,t),o);case"Lo":return ai(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 Te{priority=100;parse(t,e,i){switch(e){case"w":return li(He,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return di(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i,o){return fi(function(t,e,i){const o=ne(t),r=yi(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 Te{priority=100;parse(t,e,i){switch(e){case"I":return li(He,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return di(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,i){return bi(function(t,e){const i=ne(t),o=xi(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 Te{priority=90;subPriority=1;parse(t,e,i){switch(e){case"d":return li(Pe,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return di(e.length,t)}}validate(t,e){const i=mi(t.getFullYear()),o=t.getMonth();return i?e>=1&&e<=Ci[o]:e>=1&&e<=ki[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 Te{priority=90;subpriority=1;parse(t,e,i){switch(e){case"D":case"DD":return li(je,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return di(e.length,t)}}validate(t,e){return mi(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 Te{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=_i(t,i,o)).setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends Te{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 ai(di(e.length,t),r);case"eo":return ai(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=_i(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 Te{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 ai(di(e.length,t),r);case"co":return ai(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=_i(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 Te{priority=90;parse(t,e,i){const o=t=>0===t?7:t;switch(e){case"i":case"ii":return di(e.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return ai(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 ai(i.day(t,{width:"narrow",context:"formatting"}),o);case"iiiiii":return ai(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),o);default:return ai(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=ne(t);return Mi(i,e-Si(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 Te{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(pi(i),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends Te{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(pi(i),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends Te{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(pi(i),0,0,0),t}incompatibleTokens=["a","b","t","T"]},h:new class extends Te{priority=70;parse(t,e,i){switch(e){case"h":return li(Ve,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return di(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 Te{priority=70;parse(t,e,i){switch(e){case"H":return li(Fe,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return di(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 Te{priority=70;parse(t,e,i){switch(e){case"K":return li(We,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return di(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 Te{priority=70;parse(t,e,i){switch(e){case"k":return li(Be,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return di(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 Te{priority=60;parse(t,e,i){switch(e){case"m":return li(Ue,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return di(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 Te{priority=50;parse(t,e,i){switch(e){case"s":return li(Ge,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return di(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 Te{priority=30;parse(t,e){return ai(di(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 Te{priority=10;parse(t,e){switch(e){case"X":return ci(ii,t);case"XX":return ci(oi,t);case"XXXX":return ci(ri,t);case"XXXXX":return ci(si,t);default:return ci(ni,t)}}set(t,e,i){return e.timestampIsSet?t:ae(t,t.getTime()-Ei(t)-i)}incompatibleTokens=["t","T","x"]},x:new class extends Te{priority=10;parse(t,e){switch(e){case"x":return ci(ii,t);case"xx":return ci(oi,t);case"xxxx":return ci(ri,t);case"xxxxx":return ci(si,t);default:return ci(ni,t)}}set(t,e,i){return e.timestampIsSet?t:ae(t,t.getTime()-Ei(t)-i)}incompatibleTokens=["t","T","X"]},t:new class extends Te{priority=40;parse(t){return hi(t)}set(t,e,i){return[ae(t,1e3*i),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends Te{priority=20;parse(t){return hi(t)}set(t,e,i){return[ae(t,i),{timestampIsSet:!0}]}incompatibleTokens="*"}},Li=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ii=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ri=/^'([^]*?)'?$/,Ti=/''/g,Ai=/\S/,Oi=/[a-zA-Z]/;function $i(t,e,i,o){const r=Object.assign({},ce()),n=o?.locale??r.locale??ye,s=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?ne(i):ae(i,NaN);const l={firstWeekContainsDate:s,weekStartsOn:a,locale:n},c=[new Re],h=e.match(Ii).map((t=>{const e=t[0];return e in ke?(0,ke[e])(t,n.formatLong):t})).join("").match(Li),d=[];for(let r of h){!o?.useAdditionalWeekYearTokens&&Ee(r)&&ze(r,e,t),!o?.useAdditionalDayOfYearTokens&&Se(r)&&ze(r,e,t);const s=r[0],a=zi[s];if(a){const{incompatibleTokens:e}=a;if(Array.isArray(e)){const t=d.find((t=>e.includes(t.token)||t.token===s));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:s,fullToken:r});const o=a.run(t,r,n.match,l);if(!o)return ae(i,NaN);c.push(o.setter),t=o.rest}else{if(s.match(Oi))throw new RangeError("Format string contains an unescaped latin alphabet character `"+s+"`");if("''"===r?r="'":"'"===s&&(r=r.match(Ri)[1].replace(Ti,"'")),0!==t.indexOf(r))return ae(i,NaN);t=t.slice(r.length)}}if(t.length>0&&Ai.test(t))return ae(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=ne(i);if(isNaN(p.getTime()))return ae(i,NaN);const g={};for(const t of u){if(!t.validate(p,l))return ae(i,NaN);const e=t.set(p,g,l);Array.isArray(e)?(p=e[0],Object.assign(g,e[1])):p=e}return ae(i,p)}const Di={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Ni=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Pi=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,ji=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Hi(t){return t?parseInt(t):1}function Fi(t){return t&&parseFloat(t.replace(",","."))||0}const Bi=[31,null,31,30,31,30,31,31,30,31,30,31];function Wi(t){return t%400==0||t%4==0&&t%100!=0}function Vi(t,e){const i=se(t),o=se(e),r=+i-Ei(i),n=+o-Ei(o);return Math.round((r-n)/Oe)}function Ui(t){const e=ne(t),i=ae(t,0);return i.setFullYear(e.getFullYear(),0,1),i.setHours(0,0,0,0),i}function Gi(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const qi={y(t,e){const i=t.getFullYear(),o=i>0?i:1-i;return Gi("yy"===e?o%100:o,e.length)},M(t,e){const i=t.getMonth();return"M"===e?String(i+1):Gi(i+1,2)},d:(t,e)=>Gi(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)=>Gi(t.getHours()%12||12,e.length),H:(t,e)=>Gi(t.getHours(),e.length),m:(t,e)=>Gi(t.getMinutes(),e.length),s:(t,e)=>Gi(t.getSeconds(),e.length),S(t,e){const i=e.length,o=t.getMilliseconds();return Gi(Math.trunc(o*Math.pow(10,i-3)),e.length)}},Yi={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 qi.y(t,e)},Y:function(t,e,i,o){const r=vi(t,o),n=r>0?r:1-r;return"YY"===e?Gi(n%100,2):"Yo"===e?i.ordinalNumber(n,{unit:"year"}):Gi(n,e.length)},R:function(t,e){return Gi(wi(t),e.length)},u:function(t,e){return Gi(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 Gi(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 Gi(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 qi.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 Gi(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=yi(t,o);return"wo"===e?i.ordinalNumber(r,{unit:"week"}):Gi(r,e.length)},I:function(t,e,i){const o=xi(t);return"Io"===e?i.ordinalNumber(o,{unit:"week"}):Gi(o,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getDate(),{unit:"date"}):qi.d(t,e)},D:function(t,e,i){const o=function(t){const e=ne(t);return Vi(e,Ui(e))+1}(t);return"Do"===e?i.ordinalNumber(o,{unit:"dayOfYear"}):Gi(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(),n=(r-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(n);case"ee":return Gi(n,2);case"eo":return i.ordinalNumber(n,{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(),n=(r-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(n);case"cc":return Gi(n,e.length);case"co":return i.ordinalNumber(n,{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 Gi(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 qi.h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getHours(),{unit:"hour"}):qi.H(t,e)},K:function(t,e,i){const o=t.getHours()%12;return"Ko"===e?i.ordinalNumber(o,{unit:"hour"}):Gi(o,e.length)},k:function(t,e,i){let o=t.getHours();return 0===o&&(o=24),"ko"===e?i.ordinalNumber(o,{unit:"hour"}):Gi(o,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):qi.m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getSeconds(),{unit:"second"}):qi.s(t,e)},S:function(t,e){return qi.S(t,e)},X:function(t,e,i){const o=t.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return Xi(o);case"XXXX":case"XX":return Qi(o);default:return Qi(o,":")}},x:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"x":return Xi(o);case"xxxx":case"xx":return Qi(o);default:return Qi(o,":")}},O:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Zi(o,":");default:return"GMT"+Qi(o,":")}},z:function(t,e,i){const o=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Zi(o,":");default:return"GMT"+Qi(o,":")}},t:function(t,e,i){return Gi(Math.trunc(t.getTime()/1e3),e.length)},T:function(t,e,i){return Gi(t.getTime(),e.length)}};function Zi(t,e=""){const i=t>0?"-":"+",o=Math.abs(t),r=Math.trunc(o/60),n=o%60;return 0===n?i+String(r):i+String(r)+e+Gi(n,2)}function Xi(t,e){return t%60==0?(t>0?"-":"+")+Gi(Math.abs(t)/60,2):Qi(t,e)}function Qi(t,e=""){const i=t>0?"-":"+",o=Math.abs(t);return i+Gi(Math.trunc(o/60),2)+e+Gi(o%60,2)}function Ki(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=ne(t);return!isNaN(Number(i))}const Ji=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,to=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eo=/^'([^]*?)'?$/,io=/''/g,oo=/[a-zA-Z]/;function ro(t,e,i){const o=ce(),r=i?.locale??o.locale??ye,n=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,s=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,a=ne(t);if(!Ki(a))throw new RangeError("Invalid time value");let l=e.match(to).map((t=>{const e=t[0];return"p"===e||"P"===e?(0,ke[e])(t,r.formatLong):t})).join("").match(Ji).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:no(t)};if(Yi[e])return{isToken:!0,value:t};if(e.match(oo))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:n,weekStartsOn:s,locale:r};return l.map((o=>{if(!o.isToken)return o.value;const n=o.value;return(!i?.useAdditionalWeekYearTokens&&Ee(n)||!i?.useAdditionalDayOfYearTokens&&Se(n))&&ze(n,e,String(t)),(0,Yi[n[0]])(a,n,r.localize,c)})).join("")}function no(t){const e=t.match(eo);return e?e[1].replace(io,"'"):t}function so(t,e){const i=ne(t);if(isNaN(e))return ae(t,NaN);if(!e)return i;const o=i.getDate(),r=ae(t,i.getTime());return r.setMonth(i.getMonth()+e+1,0),o>=r.getDate()?r:(i.setFullYear(r.getFullYear(),r.getMonth(),o),i)}function ao(t,e){return function(t,e){return so(t,12*e)}(t,-e)}function lo(t){const e=ne(t),i=e.getMonth();return e.setFullYear(e.getFullYear(),i+1,0),e.setHours(23,59,59,999),e}function co(t,e){const i=ne(t),o=ne(e),r=ho(i,o),n=Math.abs(Vi(i,o));i.setDate(i.getDate()-r*n);const s=r*(n-Number(ho(i,o)===-r));return 0===s?0:s}function ho(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 uo(t,e){return Mi(t,-e)}function po(t,e){return so(t,-e)}const go={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ů"}}},mo={date:de({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:de({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:de({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},fo=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],vo={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 "+fo[e]+" o' p"},other:"P"},bo={ordinalNumber:(t,e)=>Number(t)+".",era:ge({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:ge({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:ge({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:ge({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:ge({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"})},yo={ordinalNumber:ve({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:fe({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:fe({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:fe({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:fe({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:fe({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"})},wo={code:"cs",formatDistance:(t,e,i)=>{let o;const r=go[t];o="other"===r.type?r.other:1===e?r.one:e>1&&e<5?r.few:r.many;const n=!0===i?.addSuffix,s=i?.comparison;let a;return a=n&&-1===s?o.past:n&&1===s?o.future:o.regular,a.replace("{{count}}",String(e))},formatLong:mo,formatRelative:(t,e)=>{const i=vo[t];return"function"==typeof i?i(e):i},localize:bo,match:yo,options:{weekStartsOn:1,firstWeekContainsDate:4}};class xo extends Event{constructor(t){super("localechange"),this.locale=t}}function ko(){return"undefined"!=typeof navigator?navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language:"en"}const Co=new Map,Mo=new Map;let _o=ko();function So(t,e){(Array.isArray(t)?t:[t]).forEach((t=>Co.set(t,e)))}function Eo(){return _o}function zo(t){return Co.has(t)}function Lo(t){if(!Co.has(t)){let t=_o;null==t&&(Co.has("en")?t="en":Co.size>0&&(t=Co.keys().next().value))}Mo.has(t)||Mo.set(t,new Map);const e=Mo.get(t);Co.get(t)?.forEach((t=>e.set(t.source,t))),_o!==t&&(_o=t,document.dispatchEvent(new xo(t)))}function Io(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 n of e){o+=t.slice(r,n.start);const e=i[n.name];o+=null!=e?String(e):"",r=n.end}return o+t.slice(r)}}function Ro(t,e){if(Array.isArray(t))return t.map((t=>Ro(t,e))).join(e?.separator??" ");if(null==t||""===t)return"";const i=t.toLowerCase();let o=Mo.get(_o);o||(o=new Map,Mo.set(_o,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=Io(r.target)),!r)return t;let n=r.translate?r.translate(e?.data):r.target;return null==n||""===n?"":(t.length>0&&t[0]===t[0].toUpperCase()&&(n=n[0].toUpperCase()+n.slice(1)),n)}const To={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 Ao;function Oo(t){if(To[t])return t;if(Ao&&Ao.has(t))return Ao.get(t);for(const e in To)if(To[e].includes(t))return Ao=Ao??new Map,Ao.set(t,e),e;return null}function $o(t){const e=Oo(t);return e?To[e]?To[e][0]:t:null}const Do=[{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"}],No=[{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",Do],["en",Do],["cs-CZ",No],["cs",No],["sk",No]].forEach((([t,e])=>So(t,e)));const Po=new Map;function jo(t){Po.set(t.code,t)}jo(ye),jo(wo);const Ho=new Map,Fo=/^(\d{1,2})[./](\d{1,2})[./](\d{4})$/;function Bo(t,e){return Fo.test(t.replace(/\s/g,""))?e.startsWith("en")&&"/"===t[2]?"MM/dd/yyyy":"dd.MM.yyyy":"yyyy-MM-dd"}function Wo(t){return t.length>=10&&"-"===t[4]&&"-"===t[7]}let Vo;function Uo(t){if(t=t??Eo(),Vo=Vo??new Map,Vo.has(t))return Vo.get(t);let e;try{const i=$o(t);e=Bo(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(ne(t))}(se(new Date),{locale:i}),i)}catch(t){e="yyyy-MM-dd"}return Vo.set(t,e),e}function Go(t){let e=Uo(t?.locale);return t?.withTime&&(e+=" HH:mm:ss"),e}function qo(t,e,i){return Zo(i??Eo(),e)(t)}function Yo(t,e){const i=$i(t,Bo(t,e),new Date);return isNaN(i.getTime())?null:i}function Zo(t,e){e=e??Uo(t);const i=Ho.has(t)?Ho.get(t):Ho.set(t,new Map).get(t);return i.has(e)||i.set(e,Qo(t,e)),i.get(e)}function Xo(t){return Po.has(t)?Po.get(t):(t=t.split("-")[0],Po.has(t)?Po.get(t):Po.get("en-US"))}function Qo(t,e){return e=e??Uo(t),(i,o)=>(Q(i)?i=Wo(i)?function(t,e){const i=e?.additionalDigits??2,o=function(t){const e={},i=t.split(Di.dateTimeDelimiter);let o;if(i.length>2)return e;if(/:/.test(i[0])?o=i[0]:(e.date=i[0],o=i[1],Di.timeZoneDelimiter.test(e.date)&&(e.date=t.split(Di.timeZoneDelimiter)[0],o=t.substr(e.date.length,t.length))),o){const t=Di.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,n=o[2]?parseInt(o[2]):null;return{year:null===n?r:100*n,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(Ni);if(!i)return new Date(NaN);const o=!!i[4],r=Hi(i[1]),n=Hi(i[2])-1,s=Hi(i[3]),a=Hi(i[4]),l=Hi(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<=(Bi[e]||(Wi(t)?29:28))}(e,n,s)&&function(t,e){return e>=1&&e<=(Wi(t)?366:365)}(e,r)?(t.setUTCFullYear(e,n,Math.max(r,s)),t):new Date(NaN)}}(t.restDateString,t.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const n=r.getTime();let s,a=0;if(o.time&&(a=function(t){const e=t.match(Pi);if(!e)return NaN;const i=Fi(e[1]),o=Fi(e[2]),r=Fi(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*De+o*$e+1e3*r:NaN}(o.time),isNaN(a)))return new Date(NaN);if(!o.timezone){const t=new Date(n+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 s=function(t){if("Z"===t)return 0;const e=t.match(ji);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*De+r*$e):NaN}(o.timezone),isNaN(s)?new Date(NaN):new Date(n+a+s)}(i):Yo(i,t):i instanceof Date||isNaN(i)||(i=rr(i)),null==i?"":ro(i,o||e,{locale:Xo(t)}))}function Ko(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 Jo(t,e){const i=ar(t.getMonth()-e,12);return Math.floor(i/3)+1}function tr(t){return t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t}function er(t,e){let i=new Date(t.getFullYear(),ar(e,12),1);return function(t,e){const i=ne(t),o=ne(e),r=i.getTime()-o.getTime();return r<0?-1:r>0?1:r}(t,i)<0&&(i=ao(i,1)),[i,tr(lo(so(new Date(i),11)))]}function ir(t,e=0,i=1){const[o,r]=er(t,e),n=co(t,o)+1,s=(Si(t)+i-2)%7+1;let a=Ko(t,e),l=Math.floor((10+n-s)/7);if(0==l){const t=uo(o,4),e=co(t,po(o,12))+1,r=(Si(t)+i-1)%7;l=Math.floor((10+e-r)/7),--a}else if(l>52){const t=uo(r,3),e=co(t,o)+1,n=(Si(t)+i-1)%7;l>Math.floor((10+e-n)/7)&&(l=1,++a)}return[l,a]}function or(t){return 25569+(t.getTime()-60*t.getTimezoneOffset()*1e3)/864e5}function rr(t){return new Date(Date.UTC(0,0,t-1))}function nr(t,e,i){let o=rr(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 sr=t=>t.text||t.color||t.brackets||t.empty;function ar(t,e){let i=t%e;return i<0&&(i+=Math.abs(e)),i}const lr=["","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 cr(t){if(isNaN(t))return NaN;const e=String(+t).split("");let i="",o=3;for(;o--;)i=(lr[+e.pop()+10*o]||"")+i;return Array(+e.join("")+1).join("M")+i}function hr(t){return["0","#"].includes(t[0])}const dr=new Map;function ur(t,e="",i){const o=dr.has(t)?dr.get(t):dr.set(t,new Map).get(t);return o.has(e)||o.set(e,pr(t,e,i)),o.get(e)}function pr(t,e="",i){const o=(e?mr(i?vr(e,"n"):e):[{maximumFractionDigits:3}]).map((e=>Z(e)?sr(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:Zo(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 gr={useGrouping:!1,maximumFractionDigits:0,signDisplay:"negative",empty:!0};function mr(t){const e=[];let i,o,r,n=Object.assign({},gr),s=!1,a=0;for(;a<t.length;)switch(i=t.charAt(a),";"!=i&&n.empty&&delete n.empty,i.toLowerCase()){case"(":n.brackets=!0,++a;break;case"[":for(n.color="";++a<t.length&&(i=t.charAt(a),"]"!==i);)n.color+=i;break;case";":e.push(n),n=Object.assign({},gr),1==e.length&&(n.signDisplay="never"),s=!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;n.useGrouping=!0}++a}s?(null!==o&&(n.minimumFractionDigits=o,null==r&&(n.maximumFractionDigits=o)),null!==r&&(n.maximumFractionDigits=r+(o||0))):null!==o&&(n.minimumIntegerDigits=o);break;case'"':for(n.text="";++a<t.length&&(i=t.charAt(a),'"'!==i);)n.text+=i;++a;break;case".":s=!0,++a;break;case"+":n.signDisplay="exceptZero",++a;break;case"-":1==e.length&&(n.signDisplay="always"),++a;break;case"$":n.style="currency",++a;break;case"%":n.style="percent",++a;break;default:if(et(i)){let o=i;for(n=null;++a<t.length;){if(i=t.charAt(a),";"===i){n=Object.assign({},gr);break}o+=i}e.push(o)}++a}return n&&e.push(n),e}const fr={d:[[/\\/g,""],[/m/g,"M"],[/ddd/g,"eee"]],n:[[/0,/g,"#,"]]};function vr(t,e){return fr[e].forEach((([e,i])=>t=t.replace(e,i))),t}function br(t){return Intl.NumberFormat(t,{minimumIntegerDigits:1,minimumFractionDigits:1}).format(1.1).charAt(1)}const yr={delimiter:"\t",quote:"",encoding:"utf-8",decimalSeparator:".",header:!1};class wr{constructor(t,e){this.csv=t,this.offset=0,this.length=t.length,this.description=Object.assign({},yr,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=st(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 xr(t,e){e=Object.assign({},yr,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 kr(t,e){const i=[];let o;const r=new wr(t,e);for(;!r.eof;)o=r.readLine(),o&&o.length>0&&i.push(o);return i}var Cr;!function(t){t.Info="i",t.Warn="w",t.Error="e",t.Debug="d",t.Trace="t"}(Cr||(Cr={}));class Mr{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=Cr.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,Cr.Info),...this.styles)}warn(t){console.info(this.format(t,Cr.Warn),...this.styles)}error(t,e){console.error(this.format(t,Cr.Error),...this.errorStyles),e&&console.error(e)}debug(t){console.info(this.format(t,Cr.Debug),...this.styles)}trace(t){console.trace(this.format(t,Cr.Trace),...this.styles)}}const _r=new Map;function Sr(t,e){return _r.has(t)||_r.set(t,new Mr(t,e)),_r.get(t)}function Er(t){return null==t&&null==(t=_r.size>0?Array.from(_r.keys())[0]:null)?Sr("omega","Ω"):Sr(t)}var zr;!function(t){t[t.Filtered=0]="Filtered",t[t.Matched=1]="Matched",t[t.ChildMatched=2]="ChildMatched",t[t.ParentMatched=3]="ParentMatched"}(zr||(zr={}));class Lr{populate(t){}getSourceData(){return{}}}function Ir(t=Lr){return class extends t{constructor(){super(...arguments),this._children=[],this._filterState=zr.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 Rr(t,e,i){const o=[[e,-1]];let r,n=-1,s=-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&&n<a&&o.push([r,n]);o[o.length-1][1]>=a;)o.pop();n=a,o[o.length-1][0].addChild(t),s=Math.max(s,t.level+(t.hasChildren?1:0)),r=t})),s}function Tr(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 Ar(t,e){return t.length>0?null==t[0].level?Tr(t,e):Rr(t,e):-1}function Or(t,e=.15){return V()(t).lighten(e).hex().toString()}function $r(t,e=.15){return V()(t).darken(e).hex().toString()}function Dr(t,e=.15){return V()(t).alpha(e).hexa().toString()}function Nr(t){const e=V()(t);return e.red(255-e.red()).green(255-e.green()).blue(255-e.red()).hex().toString()}function Pr(t,e,i=.15){return V()(t).mix(V()(e),i).hex().toString()}function jr(t){const e=V()(t);return.299*e.red()+.587*e.green()+.114*e.blue()>128?"#000000":"#FFFFFF"}function Hr(t){return t&&"#"==t[0]?t.substring(1):t}function Fr(t){return t&&"#"!=t[0]?"#"+t:t}class Br 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 Wr(t,e,i,o=null,r=null){t.dispatchEvent(new Br(e,i,o,Object.assign({common:!1},r))),t.dispatchEvent(new Br(e,i,o,Object.assign({common:!0},r)))}function Vr(t){return t.map((t=>[...t].reverse()))}function Ur(t){return t.map((t=>[...t])).reverse()}function Gr(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 qr(t){return t.map((t=>[...t]))}class Yr extends Event{constructor(t={}){Z(t)?(super(t.type??"change"),this.value=t.value,this.oldValue=t.oldValue):(super("change"),this.value=t)}}class Zr extends Event{constructor(t={}){super("add"),Z(t)?Object.assign(this,t):this.value=t}}class Xr extends Event{constructor(t){super("serialize"),this.data=t}}const Qr={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 Kr(){const t=window.innerWidth;return t<=768?"mobile":t>768&&t<=1024?"tablet":"desktop"}let Jr={};const tn=t=>{t.locale&&Lo(t.locale),Jr=t},en=()=>ot({locale:Eo(),formatLocale:Eo(),dateFormat:Go(),fontSize:G.FONT_SIZE,systemDecimalSeparator:br(Eo()),user:{id:"0",name:"Anonymous"}},Jr);function on(t,e=null){const i=ot({},en(),e,t);return i.dateFormatter=i.dateFormatter||Qo(i.locale,i.dateFormat),i}var rn,nn,sn=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 an{}class ln{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(sn(this,rn,"f",nn)||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,rn,new Map,"f",nn),this.scripts||(this.scripts=new Map),!this.scripts.has(o))return new Promise(((i,r)=>{const n=sn(this,rn,"f",nn).get(o)||[];if(n.push([i,r]),sn(this,rn,"f",nn).set(o,n),n.length>1)return;const s=e.createElement("script");s.src=t,s.onload=()=>{sn(this,rn,"f",nn).get(o).forEach((([t])=>t())),sn(this,rn,"f",nn).delete(o)},s.onerror=t=>{const e=Q(t)?new Error(t):t;sn(this,rn,"f",nn).get(o).forEach((([t,i])=>i(e))),sn(this,rn,"f",nn).delete(o)},e.head.appendChild(s)}))}}rn=ln,nn={value:void 0};class cn{constructor(t){this.data=t,this.next=null,this.prev=null}}class hn{constructor(){this.head=null}insertAtEnd(t){const e=new cn(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 cn(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 dn extends Event{constructor(t,e){super("shortcut",{cancelable:!0}),this.shortcut=t,this.action=e}}const un={control:"ctrl"};class pn 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 un&&(e=un[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 dn(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 gn=globalThis,mn=gn.ShadowRoot&&(void 0===gn.ShadyCSS||gn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fn=Symbol(),vn=new WeakMap;class bn{constructor(t,e,i){if(this._$cssResult$=!0,i!==fn)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(mn&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=vn.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&vn.set(e,t))}return t}toString(){return this.cssText}}const yn=t=>new bn("string"==typeof t?t:t+"",void 0,fn),wn=(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 bn(i,t,fn)},xn=(t,e)=>{if(mn)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),o=gn.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}},kn=mn?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return yn(e)})(t):t,{is:Cn,defineProperty:Mn,getOwnPropertyDescriptor:_n,getOwnPropertyNames:Sn,getOwnPropertySymbols:En,getPrototypeOf:zn}=Object,Ln=globalThis,In=Ln.trustedTypes,Rn=In?In.emptyScript:"",Tn=Ln.reactiveElementPolyfillSupport,An=(t,e)=>t,On={toAttribute(t,e){switch(e){case Boolean:t=t?Rn: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}},$n=(t,e)=>!Cn(t,e),Dn={attribute:!0,type:String,converter:On,reflect:!1,hasChanged:$n};Symbol.metadata??=Symbol("metadata"),Ln.litPropertyMetadata??=new WeakMap;class Nn 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=Dn){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&&Mn(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){const{get:o,set:r}=_n(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const n=o?.call(this);r.call(this,e),this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Dn}static _$Ei(){if(this.hasOwnProperty(An("elementProperties")))return;const t=zn(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(An("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(An("properties"))){const t=this.properties,e=[...Sn(t),...En(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(kn(t))}else void 0!==t&&e.push(kn(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 xn(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:On).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:On;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??$n)(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){}}Nn.elementStyles=[],Nn.shadowRootOptions={mode:"open"},Nn[An("elementProperties")]=new Map,Nn[An("finalized")]=new Map,Tn?.({ReactiveElement:Nn}),(Ln.reactiveElementVersions??=[]).push("2.0.4");const Pn=globalThis,jn=Pn.trustedTypes,Hn=jn?jn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Fn="$lit$",Bn=`lit$${Math.random().toFixed(9).slice(2)}$`,Wn="?"+Bn,Vn=`<${Wn}>`,Un=document,Gn=()=>Un.createComment(""),qn=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yn=Array.isArray,Zn=t=>Yn(t)||"function"==typeof t?.[Symbol.iterator],Xn="[ \t\n\f\r]",Qn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kn=/-->/g,Jn=/>/g,ts=RegExp(`>|${Xn}(?:([^\\s"'>=/]+)(${Xn}*=${Xn}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),es=/'/g,is=/"/g,os=/^(?:script|style|textarea|title)$/i,rs=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),ns=rs(1),ss=rs(2),as=Symbol.for("lit-noChange"),ls=Symbol.for("lit-nothing"),cs=new WeakMap,hs=Un.createTreeWalker(Un,129);function ds(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Hn?Hn.createHTML(e):e}const us=(t,e)=>{const i=t.length-1,o=[];let r,n=2===e?"<svg>":"",s=Qn;for(let e=0;e<i;e++){const i=t[e];let a,l,c=-1,h=0;for(;h<i.length&&(s.lastIndex=h,l=s.exec(i),null!==l);)h=s.lastIndex,s===Qn?"!--"===l[1]?s=Kn:void 0!==l[1]?s=Jn:void 0!==l[2]?(os.test(l[2])&&(r=RegExp("</"+l[2],"g")),s=ts):void 0!==l[3]&&(s=ts):s===ts?">"===l[0]?(s=r??Qn,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?ts:'"'===l[3]?is:es):s===is||s===es?s=ts:s===Kn||s===Jn?s=Qn:(s=ts,r=void 0);const d=s===ts&&t[e+1].startsWith("/>")?" ":"";n+=s===Qn?i+Vn:c>=0?(o.push(a),i.slice(0,c)+Fn+i.slice(c)+Bn+d):i+Bn+(-2===c?e:d)}return[ds(t,n+(t[i]||"<?>")+(2===e?"</svg>":"")),o]};class ps{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let r=0,n=0;const s=t.length-1,a=this.parts,[l,c]=us(t,e);if(this.el=ps.createElement(l,i),hs.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=hs.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(Fn)){const e=c[n++],i=o.getAttribute(t).split(Bn),s=/([.?@])?(.*)/.exec(e);a.push({type:1,index:r,name:s[2],strings:i,ctor:"."===s[1]?bs:"?"===s[1]?ys:"@"===s[1]?ws:vs}),o.removeAttribute(t)}else t.startsWith(Bn)&&(a.push({type:6,index:r}),o.removeAttribute(t));if(os.test(o.tagName)){const t=o.textContent.split(Bn),e=t.length-1;if(e>0){o.textContent=jn?jn.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],Gn()),hs.nextNode(),a.push({type:2,index:++r});o.append(t[e],Gn())}}}else if(8===o.nodeType)if(o.data===Wn)a.push({type:2,index:r});else{let t=-1;for(;-1!==(t=o.data.indexOf(Bn,t+1));)a.push({type:7,index:r}),t+=Bn.length-1}r++}}static createElement(t,e){const i=Un.createElement("template");return i.innerHTML=t,i}}function gs(t,e,i=t,o){if(e===as)return e;let r=void 0!==o?i._$Co?.[o]:i._$Cl;const n=qn(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,i,o)),void 0!==o?(i._$Co??=[])[o]=r:i._$Cl=r),void 0!==r&&(e=gs(t,r._$AS(t,e.values),r,o)),e}class ms{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??Un).importNode(e,!0);hs.currentNode=o;let r=hs.nextNode(),n=0,s=0,a=i[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new fs(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new xs(r,this,t)),this._$AV.push(e),a=i[++s]}n!==a?.index&&(r=hs.nextNode(),n++)}return hs.currentNode=Un,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 fs{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,o){this.type=2,this._$AH=ls,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=gs(this,t,e),qn(t)?t===ls||null==t||""===t?(this._$AH!==ls&&this._$AR(),this._$AH=ls):t!==this._$AH&&t!==as&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):Zn(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!==ls&&qn(this._$AH)?this._$AA.nextSibling.data=t:this.T(Un.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=ps.createElement(ds(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new ms(o,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=cs.get(t.strings);return void 0===e&&cs.set(t.strings,e=new ps(t)),e}k(t){Yn(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 fs(this.S(Gn()),this.S(Gn()),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 vs{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,o,r){this.type=1,this._$AH=ls,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=ls}_$AI(t,e=this,i,o){const r=this.strings;let n=!1;if(void 0===r)t=gs(this,t,e,0),n=!qn(t)||t!==this._$AH&&t!==as,n&&(this._$AH=t);else{const o=t;let s,a;for(t=r[0],s=0;s<r.length-1;s++)a=gs(this,o[i+s],e,s),a===as&&(a=this._$AH[s]),n||=!qn(a)||a!==this._$AH[s],a===ls?t=ls:t!==ls&&(t+=(a??"")+r[s+1]),this._$AH[s]=a}n&&!o&&this.j(t)}j(t){t===ls?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class bs extends vs{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===ls?void 0:t}}class ys extends vs{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==ls)}}class ws extends vs{constructor(t,e,i,o,r){super(t,e,i,o,r),this.type=5}_$AI(t,e=this){if((t=gs(this,t,e,0)??ls)===as)return;const i=this._$AH,o=t===ls&&i!==ls||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==ls&&(i===ls||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 xs{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){gs(this,t)}}const ks={P:Fn,A:Bn,C:Wn,M:1,L:us,R:ms,D:Zn,V:gs,I:fs,H:vs,N:ys,U:ws,B:bs,F:xs},Cs=Pn.litHtmlPolyfillSupport;Cs?.(ps,fs),(Pn.litHtmlVersions??=[]).push("3.1.3");const Ms=(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 fs(e.insertBefore(Gn(),t),t,void 0,i??{})}return r._$AI(t),r};class _s extends Nn{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=Ms(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return as}}_s._$litElement$=!0,_s.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:_s});const Ss=globalThis.litElementPolyfillSupport;Ss?.({LitElement:_s}),(globalThis.litElementVersions??=[]).push("4.0.5");const Es=t=>(e,i)=>{void 0!==i?i.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},zs={attribute:!0,type:String,converter:On,reflect:!1,hasChanged:$n},Ls=(t=zs,e,i)=>{const{kind:o,metadata:r}=i;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.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 Is(t){return(e,i)=>"object"==typeof i?Ls(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 Rs(t){return Is({...t,state:!0,attribute:!1})}const Ts=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i);function As(t,e){return(i,o,r)=>{const n=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 Ts(i,o,{get(){let i=t.call(this);return void 0===i&&(i=n(this),(null!==i||this.hasUpdated)&&e.call(this,i)),i}})}return Ts(i,o,{get(){return n(this)}})}}let Os;function $s(t){return(e,i)=>Ts(e,i,{get(){return(this.renderRoot??(Os??=document.createDocumentFragment())).querySelectorAll(t)}})}function*Ds(t,e){if(void 0!==t){let i=0;for(const o of t)yield e(o,i++)}}const Ns=wn`
|
|
3
3
|
* {
|
|
4
4
|
box-sizing: border-box;
|
|
5
5
|
}
|
|
@@ -4085,7 +4085,7 @@
|
|
|
4085
4085
|
position: relative;
|
|
4086
4086
|
right: -4px;
|
|
4087
4087
|
}
|
|
4088
|
-
`,Sx([Is({type:Object,hasChanged:()=>!0})],Ex.prototype,"sortSettings",void 0),Ex=Sx([Es("og-sortingarrow")],Ex);var zx=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Lx extends Event{}let Ix=class extends _s{constructor(){super(...arguments),this._rowMap=new Map,this._colMap=new Map,this.rowOffset=0,this.colOffset=0,this.zoom=1,this.nogrid=!1,this.renderAll=!1,this.
|
|
4088
|
+
`,Sx([Is({type:Object,hasChanged:()=>!0})],Ex.prototype,"sortSettings",void 0),Ex=Sx([Es("og-sortingarrow")],Ex);var zx=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Lx extends Event{}let Ix=class extends _s{constructor(){super(...arguments),this._rowMap=new Map,this._colMap=new Map,this.rowOffset=0,this.colOffset=0,this.zoom=1,this.nogrid=!1,this.renderAll=!1,this.getColumnByModelIndex=t=>this.getColumnByGridIndex(this.colMap.get(t)),this.getColumnByGridIndex=t=>this.colgroup.children[t+this.rowHeaderCount],this.getRowByModelIndex=t=>this.bRows[this.rowMap.get(t)],this.getRowByGridIndex=t=>this.bRows[t],this.getCellByGridIndex=(t,e)=>this.bRows[e].children[t+this.rowHeaderCount],this.getCellByModelIndex=(t,e)=>this.getRowByModelIndex(e)?.children[this.colMap.get(t)+this.rowHeaderCount],this.getCellByCellModel=t=>this.getCellByModelIndex(t.c,t.r),this.resetFreezeLeft=()=>this._freezeLeft=null,this._highlightedColHeaderCells=[],this._highlightedRowHeaderCells=[],this.render=()=>ns`
|
|
4089
4089
|
<style>
|
|
4090
4090
|
table {
|
|
4091
4091
|
font-size: ${this.model?.options.fontSize||12}px;
|
|
@@ -4096,14 +4096,8 @@
|
|
|
4096
4096
|
}
|
|
4097
4097
|
</style>
|
|
4098
4098
|
|
|
4099
|
-
|
|
4100
|
-
class="${this.model?.options.grid?"":"nogrid"}"
|
|
4101
|
-
style="transform: scale(${this.zoom})">
|
|
4102
|
-
<colgroup ${jd(this.colgroupRef)}></colgroup>
|
|
4103
|
-
<thead ${jd(this.theadRef)}></thead>
|
|
4104
|
-
<tbody ${jd(this.tbodyRef)}></tbody>
|
|
4105
|
-
</table>
|
|
4106
|
-
`,this.clearHeaderCache=()=>{this.resetFreezeLeft(),this.hCache=new vx(this.model.columns.length,this.columnHeaderCount),this.hCache.disabled=!this.model.options.cellCache},this.clearBodyCache=()=>{this.bCache=new vx(this.model.columns.length,this.model.rows.length),this.bCache.disabled=!this.model.options.cellCache},this.cellRenderSchedules=new WeakMap}get table(){return this.tableRef.value}get colgroup(){return this.colgroupRef.value}get thead(){return this.theadRef.value}get tbody(){return this.tbodyRef.value}get colMap(){return this._colMap}get rowMap(){return this._rowMap}get freezeLeft(){if(null==this._freezeLeft)if(this.offsetWidth>0){let t=0;for(let e=0;e<this.model.options.freezeLeft;e++)t+=this.model.columns[e].width;this._freezeLeft=t<this.offsetWidth/2?this.model.options.freezeLeft:0}else this._freezeLeft=this.model.options.freezeLeft;return this._freezeLeft}get freezeTop(){return null==this._freezeTop&&(this._freezeTop=this.model.options.freezeTop),this._freezeTop}previewZoom(t){Qt(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/fx.MIN_ROW_HEIGHT,this.model.rows.length))}get renderColCount(){return this.renderAll?this.model.visibleColumns.length+this.rowHeaderCount:Math.round(Math.min(this.clientWidth/fx.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+=fx.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-fx.SLIDER_SIZE)/this.zoom,h:(this.clientHeight-this.totalHeaderHeight-fx.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 pv(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),n=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:n;let s=i&&o>-1?i.children[o]:null;for(;s&&Ct(s);)s=s.previousElementSibling;const a=r&&n>-1?r.children[n]:null;return[s,a&&!Ct(a)?a:null]}connectedCallback(){super.connectedCallback(),this.grid=zt(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 Lx("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:fx.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,n=e-this.columnHeaderCount;let s=0;if(Nt(t,{h:this.model.options.rowHeight}),(this.model.hasRowTree||this.model.options.rowNumbers)&&!this.model.hasColumnTreeEnabled){i=t.children[s],i.colSpan=this.rowHeaderCount,i.rowSpan=this.columnHeaderCount;const e=s-this.rowHeaderCount,o=this.model.options.levelButtonCell;(!o||n==o.r&&e==o.c)&&this.renderHeaderRowCornerCell(i),s++}for(let e=s;e<this.rowHeaderCount;e++)_t(t.children[e]),s++;for(let e=s;e<t.children.length;e++)o=e-s,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 n=e-this.columnHeaderCount,s=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&&n==h.r&&c==h.c)&&(d=c,this.renderHeaderRowCornerCell(i)),(a||l)&&++r;for(let n=r;n<t.children.length;n++)o=n-r,i=t.children[n],s.columns.length>o?(d!=n&&(i.innerHTML="",i.className="htree",this.renderHeaderRowTreeCell(t,e,s.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 Du;e.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(i.index))),r.expander=e,r.appendChild(e),Ht(e,{l:t/2-fx.EXPANDER_SIZE/2,t:i.level*o+o/2-fx.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,n,s,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(s=u-a,r=t.children[u],r.className="hlabel",r.innerHTML="",l.columns.length>s)if(o=l.columns[s],n=o.header[i],n.height&&(d=Math.max(n.height,d||0)),r.colSpan=1,r.rowSpan=1,r.c=o.index,r.r=i,n?.hidden)if(s==this.freezeLeft){let t=o.prevVisible,n=0;for(;t&&t.header[i]?.hidden;)t=t.prevVisible,++n;t&&t.header[i].cs?(Mt(r),r.colSpan=t.header[i].cs-n-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 n=e.header[o];if(r||(r=yt("div"),n?n.html?r.innerHTML=n.label??"":r.innerText=n.label??"":r.innerHTML="",n&&null!=n._style&&Bk(r,sw(this.model.styles.get(n._style))),this.hCache.set(e.index,i,r)),this.model.options.columnHeaderTreeButtons&&e.hasChildren&&o==e.level){let t=r.expander;t||(t=new Du,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"}e.sorting&&o==e.header.length-1&&(t.className+=" sort",r.sortingArrow||(r.sortingArrow=new Ex,r.appendChild(r.sortingArrow),Ht(r.sortingArrow,{t:0,r:5})),r.sortingArrow.sortSettings=this.model.sorting.get(e.index)),t.appendChild(r)}renderHeaderRowFilters(t,e){let i,o,r=0;const n=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 s=r;s<t.children.length;s++)if(o=s-r,i=t.children[s],n.columns.length>o){Mt(i);const r=n.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 n=this.grid.filtering.filter.get(i.index)?.term;r.filter.value=Array.isArray(n)?n.map((t=>t.value??t.key)).join(", "):n,o.appendChild(r)}renderHeaderRowCornerCell(t){this.cornerDiv=yt("div");const e=Math.max((this.treeHeaderWidth||fx.EXPANDER_SIZE+2)/(this.model.maxRowLevel+1),fx.EXPANDER_SIZE+2);if(this.model.hasRowTree)for(let t=0;t<=this.model.maxRowLevel;t++){const i=new Nu;i.level=t,this.cornerDiv.appendChild(i),Ht(i,{l:t*e+e/2-fx.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 Nu;r.level=t,this.cornerDiv.appendChild(r),Ht(r,o?{t:t*i+i/2-fx.EXPANDER_SIZE/2,r:3}:{r:t*e+e/2-fx.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,n,s,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 pv(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&&Bt(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>${gv(o)}</div>`);for(let c=h;c<t.children.length;c++)if(e=t.children[c],c-h<p.columns.length){if(n=p.columns[c-h],r=n.index,e.r=o,e.c=r,s=i.cell(r),a=s.address,l=d.getMergeState(a),l==cx.HIDDEN){const t=d.hiddenCells.get(s.address),i=m.intersect(new pv(t.c,t.r,t.c+t.cs-1,t.r+t.rs-1));if(!i||s.c!=i.c1||s.r!=i.r1){_t(e);continue}s=this.model.rows[t.r].cell(t.c),e.colSpan=i.size.columns,e.rowSpan=i.size.rows,e.c=s.c,e.r=s.r}else if(l==cx.MERGED){const t=s.merge;e.colSpan=t.cs,e.rowSpan=t.rs}else e.colSpan=1,e.rowSpan=1;Mt(e),this.renderBodyCell(s,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"),Kk(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,n=this.treeHeaderWidth/this.model.maxRowLevel;if(e.hasChildren){const t=new Du;t.addEventListener("toggle",(()=>this.grid.rendering.toggleRow(e.index))),i.parentElement.expander=t,o.expander=t,o.appendChild(t),Ht(t,{t:r/2-fx.EXPANDER_SIZE/2,l:e.level*n+n/2-fx.EXPANDER_SIZE/2});const s=this.createExpanderLine("v");o.appendChild(s),Ht(s,{t:this.model.options.rowTree.reversed?0:r/2,l:e.level*n+n/2}),Nt(s,{w:n/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:n/2,h:r+2}),Ht(e,{t:-1,l:t.level*n+n/2})}}}o.expander&&(o.expander.state=e.collapsed?"closed":"open"),i.appendChild(o)}};Ix.styles=[_x],zx([Is({type:Object})],Ix.prototype,"model",void 0),zx([Is({type:Number,hasChanged:()=>!1})],Ix.prototype,"rowOffset",void 0),zx([Is({type:Number,hasChanged:()=>!1})],Ix.prototype,"colOffset",void 0),zx([Is({type:Number,reflect:!0})],Ix.prototype,"zoom",void 0),zx([Is({type:Boolean,reflect:!0})],Ix.prototype,"nogrid",void 0),zx([Is({type:Boolean,reflect:!0})],Ix.prototype,"renderAll",void 0),Ix=zx([Es("og-table")],Ix);const Rx=["F5","F12"];class Tx 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 Ax extends Tx{constructor(t){super("edit",t)}}class Ox extends pp{constructor(t,e,i){super(`grid.${t}`,i),this.grid=e}}class $x extends Ox{constructor(t,e,i,o){super(t,e,o),this.column=i}}class Dx extends Ox{constructor(t,e,i,o){super(t,e,o),this.row=i}}class Nx{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(Rx.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=>{let e=!0;const i=this.grid.hSizer,o=this.grid.vSizer,{offsetX:r,offsetY:n}=t;let s=this.model.options.scrolling.scrollbarVisibilityTreshold;s<=0&&(s=Math.max(this.grid.clientWidth,this.grid.clientHeight)),r>this.grid.clientWidth-s?this.grid.vSlider.show():this.grid.vSlider.hide(),n>this.grid.clientHeight-s?this.grid.hSlider.show():this.grid.hSlider.hide();const[a,l]=this.table.findNearestTableCellByOffset(r,n);if(l&&"TH"==l.tagName&&(this.model.options.columnResize&&!i.resizing&&l.classList.contains("hlabel")?l.offsetWidth-t.offsetX+l.offsetLeft<fx.RESIZE_TRESHOLD?(i.snap(l,this.grid),this.grid.rendering.currentResizedColumn=this.model.columns[l.c]):kt(i):this.model.options.rowResize&&!o.resizing&&l.classList.contains("vlabel")&&(l.offsetHeight-t.offsetY+l.offsetTop<fx.RESIZE_TRESHOLD?(o.snap(l,this.grid),this.grid.rendering.currentResizedRow=this.model.rows[l.r]):kt(o))),a&&"TH"==a.tagName)this.grid.selecting.isSelecting&&(this.suspendClick(),this.grid.selecting.updateSelecting(a.c,a.r));else{if(a&&"TD"==a.tagName)if(this.grid.selecting.isSelectorOperationActive||this.grid.selecting.isFormulaSelectorOperationActive){const{top:e,left:i}=Tt(a,this.grid);this.grid.rendering.autoscroll({x:i-this.table.totalHeaderWidth+t.offsetX-a.offsetLeft,y:e-this.table.thead.clientHeight+t.offsetY-a.offsetTop}),this.grid.selecting.isSelecting&&this.suspendClick(),this.grid.selecting.updateSelecting(a.c,a.r)}else{const t=this.model.rows[a.r]?.cell(a.c);t&&t.hasTooltip&&(e=!1,this.grid.tooltip.attachToCell(a,t)),t&&t.hasComment&&(e=!1,this.grid.comment.attachedTo!==a&&this.grid.comment.attachTo(a,t))}e&&(this.grid.tooltip.deatach(),this.grid.comment.deatach(this.model.options.comments.hideTimeout)),kt(i),kt(o)}},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 pv(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 Tx("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 $x("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 Dx("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}=qy(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 Ax({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=[],n=[],s=[],a=[];switch(t.editType){case"value":r=t.newValues,n=t.newProps,s=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 n=t.address;e.push(n),i.push(o.get(n)),r.push(t.getSourceData())}))}this.grid.history.push({type:t.editType,addresses:e,names:i,oldValues:s,oldProps:a,newValues:r,newProps:n})},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 Tx("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 $x("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 Dx("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 Px{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[n]=await Promise.all([this.grid.adapter.getCells(o)]);n?.map((t=>this.model.getCellByCoords(t.r,t.c)?.update(t))),this.table.requestUpdate()}this.updateSliders(),e&&this.grid.dispatchEvent(new Tx("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 Tx("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 Tx("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 Tx("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],n=this.model.options?.print?.rowTitles?pv.fromA1(this.model.options?.print?.rowTitles):null,s=n?Array.from({length:n.r2-n.r1+1},((t,i)=>r[e.rowMap.get(n.r1+i)])):[];for(let o=0;o<i.length;o++){const n=yt("table");n.appendChild(t.cloneNode(!0));const a=yt("tbody");n.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;s.forEach((t=>a.appendChild(t.cloneNode(!0))));for(let t=l;t<=c;t++)a.appendChild(r[t]);e.shadowRoot.appendChild(n)}t.cloneNode(!0)}const n=`\n\t\t\t<style>\n\t\t\t\thtml {\n\t\t\t\t\t${Ta(Ha().themes.get("light")).cssText}\n\t\t\t\t}\n\t\t\t\t${r?"table {break-after: page}":""}\n\t\t\t\t${Ix.styles.map((t=>t.cssText)).join("\n")}\n\t\t\t</style>\n\n\t\t`,s=n+e.shadowRoot.innerHTML.replace(/<!---->/g,"");return t.remove(),s}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,Gf.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)}}),Gf.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 n,s=0;e<Gf.AUTOSCROLL_TRESHOLD&&e<i&&e<r-i?(n="left",s=Gf.AUTOSCROLL_TRESHOLD-e):o-e<Gf.AUTOSCROLL_TRESHOLD&&o-e<i&&o-e<r-i?(n="right",s=Gf.AUTOSCROLL_TRESHOLD-o+e):i<Gf.AUTOSCROLL_TRESHOLD?(n="up",s=Gf.AUTOSCROLL_TRESHOLD-i):r-i<Gf.AUTOSCROLL_TRESHOLD&&(n="down",s=Gf.AUTOSCROLL_TRESHOLD-r+i),this.autoscrollDirection=n,this.autoscrollValue=s,this.stopAutoscroll(),s>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 Tx("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 Tx("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 n=0;for(const t of this.model.getRangeIterator(pv.fromA1(o.address),!!e)){const e=Kk(t).call(this.table,r,t)||r;e.style.width="auto",n=Math.max(n,e.offsetWidth)}o.width=n+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 n=0;for(const t of this.model.getRangeIterator(pv.fromA1(o.address),!!e)){const e=Kk(t).call(this.table,r,t)||r;e.style.height="auto",n=Math.max(n,e.offsetHeight)}o.height=n+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)?pv.fromA1(t):new pv(e,t),this.table.rowOffset=i.r1,this.table.colOffset=i.c1,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!0,this.debounceRenderCells(),this.updateSliders()}}class jx{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 mx(0,0,0,0),this.formulaSelectors=new Map,this.debounceMoveSelector=q(((t,e)=>this.moveSelector(t,e)),10)}moveToSelection(){const t=new pv(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 Tx("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 pv(t,null,t,null);this.startSelectingRange=e.clone(),this.select(e,!0)}startRowSelecting(t){this.rowSelecting=!0;const e=new pv(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 Tx("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)],n=i-e+1,s=r-o+1;this.table.highlightColHeaderCells(n<1/0?Array.from(new Array(n),((t,i)=>i+e)):[]),this.table.highlightRowHeaderCells(s<1/0?Array.from(new Array(s),((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 Tx("select",{grid:this.grid}))}shiftActiveCell(t,e=!1){this.selection.moveActiveCell(t,0),this.selector.updatePosition(),e&&this.grid.dispatchEvent(new Tx("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=mx.fromRange(pv.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=>Et(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 Hx extends Event{}class Fx extends _s{get isOpen(){return this._open}get isValid(){return this._valid}validate(){return this._valid=!0,this.activeCell&&(this._valid=Zy(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),Qt(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 Hx("activate"))}deactivate(){this.dispatchEvent(new Hx("deactivate"))}}Fx.baseStyles=wn`
|
|
4099
|
+
${this.table}
|
|
4100
|
+
`,this.clearHeaderCache=()=>{this.resetFreezeLeft(),this.hCache=new vx(this.model.columns.length,this.columnHeaderCount),this.hCache.disabled=!this.model.options.cellCache},this.clearBodyCache=()=>{this.bCache=new vx(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)if(this.offsetWidth>0){let t=0;for(let e=0;e<this.model.options.freezeLeft;e++)t+=this.model.columns[e].width;this._freezeLeft=t<this.offsetWidth/2?this.model.options.freezeLeft:0}else this._freezeLeft=this.model.options.freezeLeft;return this._freezeLeft}get freezeTop(){return null==this._freezeTop&&(this._freezeTop=this.model.options.freezeTop),this._freezeTop}previewZoom(t){Qt(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/fx.MIN_ROW_HEIGHT,this.model.rows.length))}get renderColCount(){return this.renderAll?this.model.visibleColumns.length+this.rowHeaderCount:Math.round(Math.min(this.clientWidth/fx.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+=fx.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-fx.SLIDER_SIZE)/this.zoom,h:(this.clientHeight-this.totalHeaderHeight-fx.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 pv(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),n=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:n;let s=i&&o>-1?i.children[o]:null;for(;s&&Ct(s);)s=s.previousElementSibling;const a=r&&n>-1?r.children[n]:null;return[s,a&&!Ct(a)?a:null]}connectedCallback(){super.connectedCallback(),this.grid=zt(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 Lx("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:fx.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,n=e-this.columnHeaderCount;let s=0;if(Nt(t,{h:this.model.options.rowHeight}),(this.model.hasRowTree||this.model.options.rowNumbers)&&!this.model.hasColumnTreeEnabled){i=t.children[s],i.colSpan=this.rowHeaderCount,i.rowSpan=this.columnHeaderCount;const e=s-this.rowHeaderCount,o=this.model.options.levelButtonCell;(!o||n==o.r&&e==o.c)&&this.renderHeaderRowCornerCell(i),s++}for(let e=s;e<this.rowHeaderCount;e++)_t(t.children[e]),s++;for(let e=s;e<t.children.length;e++)o=e-s,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 n=e-this.columnHeaderCount,s=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&&n==h.r&&c==h.c)&&(d=c,this.renderHeaderRowCornerCell(i)),(a||l)&&++r;for(let n=r;n<t.children.length;n++)o=n-r,i=t.children[n],s.columns.length>o?(d!=n&&(i.innerHTML="",i.className="htree",this.renderHeaderRowTreeCell(t,e,s.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 Du;e.addEventListener("toggle",(()=>this.grid.rendering.toggleColumn(i.index))),r.expander=e,r.appendChild(e),Ht(e,{l:t/2-fx.EXPANDER_SIZE/2,t:i.level*o+o/2-fx.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,n,s,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(s=u-a,r=t.children[u],r.className="hlabel",r.innerHTML="",l.columns.length>s)if(o=l.columns[s],n=o.header[i],n.height&&(d=Math.max(n.height,d||0)),r.colSpan=1,r.rowSpan=1,r.c=o.index,r.r=i,n?.hidden)if(s==this.freezeLeft){let t=o.prevVisible,n=0;for(;t&&t.header[i]?.hidden;)t=t.prevVisible,++n;t&&t.header[i].cs?(Mt(r),r.colSpan=t.header[i].cs-n-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 n=e.header[o];if(r||(r=yt("div"),n?n.html?r.innerHTML=n.label??"":r.innerText=n.label??"":r.innerHTML="",n&&null!=n._style&&Wk(r,sw(this.model.styles.get(n._style))),this.hCache.set(e.index,i,r)),this.model.options.columnHeaderTreeButtons&&e.hasChildren&&o==e.level){let t=r.expander;t||(t=new Du,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"}e.sorting&&o==e.header.length-1&&(t.className+=" sort",r.sortingArrow||(r.sortingArrow=new Ex,r.appendChild(r.sortingArrow),Ht(r.sortingArrow,{t:0,r:5})),r.sortingArrow.sortSettings=this.model.sorting.get(e.index)),t.appendChild(r)}renderHeaderRowFilters(t,e){let i,o,r=0;const n=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 s=r;s<t.children.length;s++)if(o=s-r,i=t.children[s],n.columns.length>o){Mt(i);const r=n.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 n=this.grid.filtering.filter.get(i.index)?.term;r.filter.value=Array.isArray(n)?n.map((t=>t.value??t.key)).join(", "):n,o.appendChild(r)}renderHeaderRowCornerCell(t){this.cornerDiv=yt("div");const e=Math.max((this.treeHeaderWidth||fx.EXPANDER_SIZE+2)/(this.model.maxRowLevel+1),fx.EXPANDER_SIZE+2);if(this.model.hasRowTree)for(let t=0;t<=this.model.maxRowLevel;t++){const i=new Nu;i.level=t,this.cornerDiv.appendChild(i),Ht(i,{l:t*e+e/2-fx.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 Nu;r.level=t,this.cornerDiv.appendChild(r),Ht(r,o?{t:t*i+i/2-fx.EXPANDER_SIZE/2,r:3}:{r:t*e+e/2-fx.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,n,s,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 pv(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&&Bt(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>${gv(o)}</div>`);for(let c=h;c<t.children.length;c++)if(e=t.children[c],c-h<p.columns.length){if(n=p.columns[c-h],r=n.index,e.r=o,e.c=r,s=i.cell(r),a=s.address,l=d.getMergeState(a),l==cx.HIDDEN){const t=d.hiddenCells.get(s.address),i=m.intersect(new pv(t.c,t.r,t.c+t.cs-1,t.r+t.rs-1));if(!i||s.c!=i.c1||s.r!=i.r1){_t(e);continue}s=this.model.rows[t.r].cell(t.c),e.colSpan=i.size.columns,e.rowSpan=i.size.rows,e.c=s.c,e.r=s.r}else if(l==cx.MERGED){const t=s.merge;e.colSpan=t.cs,e.rowSpan=t.rs}else e.colSpan=1,e.rowSpan=1;Mt(e),this.renderBodyCell(s,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"),Jk(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,n=this.treeHeaderWidth/this.model.maxRowLevel;if(e.hasChildren){const t=new Du;t.addEventListener("toggle",(()=>this.grid.rendering.toggleRow(e.index))),i.parentElement.expander=t,o.expander=t,o.appendChild(t),Ht(t,{t:r/2-fx.EXPANDER_SIZE/2,l:e.level*n+n/2-fx.EXPANDER_SIZE/2});const s=this.createExpanderLine("v");o.appendChild(s),Ht(s,{t:this.model.options.rowTree.reversed?0:r/2,l:e.level*n+n/2}),Nt(s,{w:n/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:n/2,h:r+2}),Ht(e,{t:-1,l:t.level*n+n/2})}}}o.expander&&(o.expander.state=e.collapsed?"closed":"open"),i.appendChild(o)}};Ix.styles=[_x],zx([Is({type:Object})],Ix.prototype,"model",void 0),zx([Is({type:Number,hasChanged:()=>!1})],Ix.prototype,"rowOffset",void 0),zx([Is({type:Number,hasChanged:()=>!1})],Ix.prototype,"colOffset",void 0),zx([Is({type:Number,reflect:!0})],Ix.prototype,"zoom",void 0),zx([Is({type:Boolean,reflect:!0})],Ix.prototype,"nogrid",void 0),zx([Is({type:Boolean,reflect:!0})],Ix.prototype,"renderAll",void 0),Ix=zx([Es("og-table")],Ix);const Rx=["F5","F12"];class Tx extends Event{constructor(t){super("grid.error",{bubbles:!0,composed:!0}),this.error=t}}class Ax 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 Ox extends Ax{constructor(t){super("edit",t)}}class $x extends pp{constructor(t,e,i){super(`grid.${t}`,i),this.grid=e}}class Dx extends $x{constructor(t,e,i,o){super(t,e,o),this.column=i}}class Nx extends $x{constructor(t,e,i,o){super(t,e,o),this.row=i}}class Px{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(Rx.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;const i=this.grid.hSizer,o=this.grid.vSizer,{offsetX:r,offsetY:n}=t;let s=this.model.options.scrolling.scrollbarVisibilityTreshold;s<=0&&(s=Math.max(this.grid.clientWidth,this.grid.clientHeight)),r>this.grid.clientWidth-s?this.grid.vSlider.show():this.grid.vSlider.hide(),n>this.grid.clientHeight-s?this.grid.hSlider.show():this.grid.hSlider.hide();const[a,l]=this.table.findNearestTableCellByOffset(r,n);if(l&&"TH"==l.tagName&&(this.model.options.columnResize&&!i.resizing&&l.classList.contains("hlabel")?l.offsetWidth-t.offsetX+l.offsetLeft<fx.RESIZE_TRESHOLD?(i.snap(l,this.grid),this.grid.rendering.currentResizedColumn=this.model.columns[l.c]):kt(i):this.model.options.rowResize&&!o.resizing&&l.classList.contains("vlabel")&&(l.offsetHeight-t.offsetY+l.offsetTop<fx.RESIZE_TRESHOLD?(o.snap(l,this.grid),this.grid.rendering.currentResizedRow=this.model.rows[l.r]):kt(o))),a&&"TH"==a.tagName)this.grid.selecting.isSelecting&&(this.suspendClick(),this.grid.selecting.updateSelecting(a.c,a.r));else{if(a&&"TD"==a.tagName)if(this.grid.selecting.isSelectorOperationActive||this.grid.selecting.isFormulaSelectorOperationActive){const{top:e,left:i}=Tt(a,this.grid);this.grid.rendering.autoscroll({x:i-this.table.totalHeaderWidth+t.offsetX-a.offsetLeft,y:e-this.table.thead.clientHeight+t.offsetY-a.offsetTop}),this.grid.selecting.isSelecting&&this.suspendClick(),this.grid.selecting.updateSelecting(a.c,a.r)}else{const t=this.model.rows[a.r]?.cell(a.c);t&&t.hasTooltip&&(e=!1,this.grid.tooltip.attachToCell(a,t)),t&&t.hasComment&&(e=!1,this.grid.comment.attachedTo!==a&&this.grid.comment.attachTo(a,t))}e&&(this.grid.tooltip.deatach(),this.grid.comment.deatach(this.model.options.comments.hideTimeout)),kt(i),kt(o)}},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 pv(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 Ax("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 Dx("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 Nx("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}=qy(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 Ox({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=[],n=[],s=[],a=[];switch(t.editType){case"value":r=t.newValues,n=t.newProps,s=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 n=t.address;e.push(n),i.push(o.get(n)),r.push(t.getSourceData())}))}this.grid.history.push({type:t.editType,addresses:e,names:i,oldValues:s,oldProps:a,newValues:r,newProps:n})},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 Ax("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 Dx("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 Nx("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 jx{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[n]=await Promise.all([this.grid.adapter.getCells(o)]);n?.map((t=>this.model.getCellByCoords(t.r,t.c)?.update(t))),this.table.requestUpdate()}this.updateSliders(),e&&this.grid.dispatchEvent(new Ax("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 Ax("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 Ax("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 Ax("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],n=this.model.options?.print?.rowTitles?pv.fromA1(this.model.options?.print?.rowTitles):null,s=n?Array.from({length:n.r2-n.r1+1},((t,i)=>r[e.rowMap.get(n.r1+i)])):[];for(let o=0;o<i.length;o++){const n=yt("table");n.appendChild(t.cloneNode(!0));const a=yt("tbody");n.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;s.forEach((t=>a.appendChild(t.cloneNode(!0))));for(let t=l;t<=c;t++)a.appendChild(r[t]);e.shadowRoot.appendChild(n)}t.cloneNode(!0)}const n=`\n\t\t\t<style>\n\t\t\t\thtml {\n\t\t\t\t\t${Ta(Ha().themes.get("light")).cssText}\n\t\t\t\t}\n\t\t\t\t${r?"table {break-after: page}":""}\n\t\t\t\t${Ix.styles.map((t=>t.cssText)).join("\n")}\n\t\t\t</style>\n\n\t\t`,s=n+e.shadowRoot.innerHTML.replace(/<!---->/g,"");return t.remove(),s}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,Gf.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)}}),Gf.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 n,s=0;e<Gf.AUTOSCROLL_TRESHOLD&&e<i&&e<r-i?(n="left",s=Gf.AUTOSCROLL_TRESHOLD-e):o-e<Gf.AUTOSCROLL_TRESHOLD&&o-e<i&&o-e<r-i?(n="right",s=Gf.AUTOSCROLL_TRESHOLD-o+e):i<Gf.AUTOSCROLL_TRESHOLD?(n="up",s=Gf.AUTOSCROLL_TRESHOLD-i):r-i<Gf.AUTOSCROLL_TRESHOLD&&(n="down",s=Gf.AUTOSCROLL_TRESHOLD-r+i),this.autoscrollDirection=n,this.autoscrollValue=s,this.stopAutoscroll(),s>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 Ax("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 Ax("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 n=0;for(const t of this.model.getRangeIterator(pv.fromA1(o.address),!!e)){const e=Jk(t).call(this.table,r,t)||r;e.style.width="auto",n=Math.max(n,e.offsetWidth)}o.width=n+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 n=0;for(const t of this.model.getRangeIterator(pv.fromA1(o.address),!!e)){const e=Jk(t).call(this.table,r,t)||r;e.style.height="auto",n=Math.max(n,e.offsetHeight)}o.height=n+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)?pv.fromA1(t):new pv(e,t),this.table.rowOffset=i.r1,this.table.colOffset=i.c1,this.requireVerticalUpdate=!0,this.requireHorizontalUpdate=!0,this.debounceRenderCells(),this.updateSliders()}}class Hx{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 mx(0,0,0,0),this.formulaSelectors=new Map,this.debounceMoveSelector=q(((t,e)=>this.moveSelector(t,e)),10)}moveToSelection(){const t=new pv(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 Ax("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 pv(t,null,t,null);this.startSelectingRange=e.clone(),this.select(e,!0)}startRowSelecting(t){this.rowSelecting=!0;const e=new pv(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 Ax("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)],n=i-e+1,s=r-o+1;this.table.highlightColHeaderCells(n<1/0?Array.from(new Array(n),((t,i)=>i+e)):[]),this.table.highlightRowHeaderCells(s<1/0?Array.from(new Array(s),((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 Ax("select",{grid:this.grid}))}shiftActiveCell(t,e=!1){this.selection.moveActiveCell(t,0),this.selector.updatePosition(),e&&this.grid.dispatchEvent(new Ax("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=mx.fromRange(pv.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=>Et(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 Fx extends Event{}class Bx extends _s{get isOpen(){return this._open}get isValid(){return this._valid}validate(){return this._valid=!0,this.activeCell&&(this._valid=Zy(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),Qt(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 Fx("activate"))}deactivate(){this.dispatchEvent(new Fx("deactivate"))}}Bx.baseStyles=wn`
|
|
4107
4101
|
* { box-sizing: border-box }
|
|
4108
4102
|
|
|
4109
4103
|
:host {
|
|
@@ -4118,12 +4112,12 @@
|
|
|
4118
4112
|
color: #ff0000;
|
|
4119
4113
|
border: 1px solid #ff0000;
|
|
4120
4114
|
}
|
|
4121
|
-
`;let
|
|
4115
|
+
`;let Wx=class extends Bx{constructor(){super(...arguments),this.value=!1}activate(t){super.activate(t),this.value=!t.value,this.commit(),this.close()}getValue(){return this.value}setValue(t){t=t.toLowerCase(),this.value=["0","false","no","n"].indexOf(t)>-1}};Wx=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-grid-checkboxeditor")],Wx);var Vx;let Ux=Vx=class extends Bx{constructor(){super(...arguments),this.inputRef=Dd()}get input(){return this.inputRef.value}_onBlur(){this.commit(),this.close()}_onKeyUp(){_v(this.input.value)?(this.cancel=!0,this.close(),this.grid.editing.startEdit(this.input.value)):this.validate()}render(){return ns`
|
|
4122
4116
|
<input ${jd(this.inputRef)}
|
|
4123
4117
|
type="text"
|
|
4124
4118
|
@blur="${this._onBlur}"
|
|
4125
4119
|
@keyup="${this._onKeyUp}">
|
|
4126
|
-
`}activate(t){super.activate(t),this.input.value=null==t.value?"":t.value.toString(),this.input.focus()}getValue(){return this.input.value}setValue(t){this.input.value=Q(t)?t:null==t?"":t.toString()}};
|
|
4120
|
+
`}activate(t){super.activate(t),this.input.value=null==t.value?"":t.value.toString(),this.input.focus()}getValue(){return this.input.value}setValue(t){this.input.value=Q(t)?t:null==t?"":t.toString()}};Ux.styles=[Vx.baseStyles,wn`
|
|
4127
4121
|
input {
|
|
4128
4122
|
outline: none;
|
|
4129
4123
|
border: 1px solid var(--og-accent-color, ${yn(fx.DEFAULT_ACCENT_COLOR)});
|
|
@@ -4136,7 +4130,7 @@
|
|
|
4136
4130
|
font-size: var(--og-font-size);
|
|
4137
4131
|
box-sizing: border-box;
|
|
4138
4132
|
}
|
|
4139
|
-
`],Vx=
|
|
4133
|
+
`],Ux=Vx=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-grid-texteditor")],Ux);let Gx=class extends Ux{validateNumber(t){return t=t.replace(",","."),_v(t)||!isNaN(Number(t))||"-"==t}_onKey(t){1===t.key.length&&(this.validateNumber(this.input.value+t.key)||t.preventDefault())}setValue(t){this.input.value=this.validateNumber(t)?t:""}firstUpdated(){this.input.addEventListener("keydown",(t=>this._onKey(t))),this.input.addEventListener("keypress",(t=>this._onKey(t)))}getValue(){return""===this.input.value?null:this.input.value.replace(",",".")}};Gx=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-grid-numbereditor")],Gx);var qx=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let Yx=class extends Bx{constructor(){super(),this.searchCommitted=!1,this.searchUsed=!1,this._onChange=t=>{if("s"==this.activeCellModel.type){this.currentValue=null,this.currentDisplayValue=null;for(const[t,e]of this.dropdown.selectedItems){this.currentValue=t,this.currentDisplayValue=e.value;break}}else this.currentValue=this.dropdown.selection.serialize(),this.currentDisplayValue=this.dropdown.getSelectionText();this.commit(),"s"==this.activeCellModel.type&&(this.dropdown.close(),this.close())},this._onBlur=()=>this.commitSearchValue(),this.render=()=>ns`
|
|
4140
4134
|
<og-tree-dropdown
|
|
4141
4135
|
cross
|
|
4142
4136
|
buttonInput
|
|
@@ -4146,24 +4140,24 @@
|
|
|
4146
4140
|
@tree.filter="${()=>this.searchUsed=!0}"
|
|
4147
4141
|
@blur="${this._onBlur}">
|
|
4148
4142
|
</og-tree-dropdown>
|
|
4149
|
-
`}commitSearchValue(){this.searchCommitted||this.searchUsed&&null!=this.dropdown?.searchTerm&&this.activeCellModel?.validation?.allowInvalid&&(this.currentValue=this.dropdown.searchTerm,this.currentDisplayValue=this.currentValue,this.activeCellModel.displayValue=this.currentDisplayValue,this.commit(),this.searchCommitted=!0)}init(){this.addEventListener("keydown",(t=>{"Enter"==t.key&&this.commitSearchValue()})),super.init()}async activate(t){if(super.activate(t),this.currentValue=null,this.searchCommitted=!1,this.searchUsed=!1,await this.dropdown.updateComplete,this.dropdown.updateOptions({selectMode:"s"==t.type?Em.Single:Em.Multiple}),t.editorContent){let e=t.editorContent;e&&0!=e.length||(e=t.hasValue?[{k:t.value,v:t.value}]:[]),this.dropdown.value=null,this.dropdown.adapter=null,this.dropdown.setSourceData(e)}else t.adapter&&(this.dropdown.adapter=t.adapter);await this.dropdown.open(),this.setValue(this.currentValue??t.value)}getValue(){return this.currentValue}getDisplayValue(){return this.currentDisplayValue}setValue(t){this.currentValue=t,null==t?this.dropdown.value=null:"s"==this.activeCellModel.type?this.dropdown.value=this.activeCellModel.value==t&&null!=this.activeCellModel.displayValue?[[t,null,null,{value:this.activeCellModel.displayValue}]]:[[t]]:Array.isArray(t)?this.dropdown.value=Im(t):this.dropdown.value=null,null!=this.initialValue&&this.dropdown.filter(t.toString())}close(){this.currentValue=null,super.close(),this.dropdown.close()}};
|
|
4143
|
+
`}commitSearchValue(){this.searchCommitted||this.searchUsed&&null!=this.dropdown?.searchTerm&&this.activeCellModel?.validation?.allowInvalid&&(this.currentValue=this.dropdown.searchTerm,this.currentDisplayValue=this.currentValue,this.activeCellModel.displayValue=this.currentDisplayValue,this.commit(),this.searchCommitted=!0)}init(){this.addEventListener("keydown",(t=>{"Enter"==t.key&&this.commitSearchValue()})),super.init()}async activate(t){if(super.activate(t),this.currentValue=null,this.searchCommitted=!1,this.searchUsed=!1,await this.dropdown.updateComplete,this.dropdown.updateOptions({selectMode:"s"==t.type?Em.Single:Em.Multiple}),t.editorContent){let e=t.editorContent;e&&0!=e.length||(e=t.hasValue?[{k:t.value,v:t.value}]:[]),this.dropdown.value=null,this.dropdown.adapter=null,this.dropdown.setSourceData(e)}else t.adapter&&(this.dropdown.adapter=t.adapter);await this.dropdown.open(),this.setValue(this.currentValue??t.value)}getValue(){return this.currentValue}getDisplayValue(){return this.currentDisplayValue}setValue(t){this.currentValue=t,null==t?this.dropdown.value=null:"s"==this.activeCellModel.type?this.dropdown.value=this.activeCellModel.value==t&&null!=this.activeCellModel.displayValue?[[t,null,null,{value:this.activeCellModel.displayValue}]]:[[t]]:Array.isArray(t)?this.dropdown.value=Im(t):this.dropdown.value=null,null!=this.initialValue&&this.dropdown.filter(t.toString())}close(){this.currentValue=null,super.close(),this.dropdown.close()}};Yx.styles=[Bx.baseStyles,wn`
|
|
4150
4144
|
og-tree-dropdown {
|
|
4151
4145
|
width: 100%;
|
|
4152
4146
|
height: 100%;
|
|
4153
4147
|
}
|
|
4154
|
-
`],
|
|
4148
|
+
`],qx([As("og-tree-dropdown")],Yx.prototype,"dropdown",void 0),Yx=qx([Es("og-grid-dropdowneditor")],Yx);let Zx=class extends Ux{setValue(t){if(null!=t)try{this.input.value=Zo(Eo(),"yyyy-MM-dd")(t)}catch(e){this.input.value=t??""}else this.input.value=""}getValue(){const t=Yo(this.input.value,Eo());return t?or(t):null}activate(t){super.activate(t),this.setValue(t.value)}};Zx=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-grid-dateeditor")],Zx);var Xx=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let Qx=class extends Bx{constructor(){super(...arguments),this._onChange=()=>{this.commit(),this.close()},this.render=()=>ns`
|
|
4155
4149
|
<og-calendar-dropdown
|
|
4156
4150
|
buttonInput
|
|
4157
4151
|
cross
|
|
4158
4152
|
@change="${this._onChange}">
|
|
4159
4153
|
</og-calendar-dropdown>
|
|
4160
|
-
`}setValue(t){if(null!=t){if(!Q(t))return tt(t)?void(this.calendar.value=rr(t)):void(this.calendar.value=t);{const e=Yo(t,Eo());if(e)return void(this.calendar.value=e)}this.calendar.value=se(new Date)}else this.calendar.value=null}getValue(){const t=this.calendar?.value;return console.log(t),t?or(t):null}async activate(t){super.activate(t),await this.calendar.updateComplete,await this.calendar.open(),this.setValue(t.value)}close(){super.close(),this.calendar.close()}};
|
|
4154
|
+
`}setValue(t){if(null!=t){if(!Q(t))return tt(t)?void(this.calendar.value=rr(t)):void(this.calendar.value=t);{const e=Yo(t,Eo());if(e)return void(this.calendar.value=e)}this.calendar.value=se(new Date)}else this.calendar.value=null}getValue(){const t=this.calendar?.value;return console.log(t),t?or(t):null}async activate(t){super.activate(t),await this.calendar.updateComplete,await this.calendar.open(),this.setValue(t.value)}close(){super.close(),this.calendar.close()}};Xx([As("og-calendar-dropdown")],Qx.prototype,"calendar",void 0),Qx=Xx([Es("og-grid-calendareditor")],Qx);var Kx=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let Jx=class extends Bx{constructor(){super(...arguments),this._onGridSelectorUpdate=t=>{if(console.log(t),null==t.selector?.index)return;const e=t.selector.selection.clone();t.selector.grid!=this.grid&&(e.sheet=t.selector.grid.model.name),this.input.setRange(e,t.selector.index)},this._onGridSelect=t=>{if(!this.grid.editing.isFormulaMode)return;const e=t.selection.range.clone();t.grid!=this.grid&&(e.sheet=t.grid.model.name),this.input.setRange(e)},this._onPreview=t=>{this.grid.selecting.removeFormulaHighlight(),t.formula&&this.grid.selecting.highlightFormula(t.formula)},this._onInputCommit=()=>{this.commit()},this._onInputDiscard=()=>{this.close()},this.render=()=>ns`
|
|
4161
4155
|
<og-grid-formula
|
|
4162
4156
|
@formula.preview="${this._onPreview}"
|
|
4163
4157
|
@formula.commit="${this._onInputCommit}"
|
|
4164
4158
|
@formula.discard="${this._onInputDiscard}">
|
|
4165
4159
|
</og-grid-formula>
|
|
4166
|
-
`}commit(){this._open&&!this.cancel&&this.activeCellModel&&(this.grid.editing.updateCells([this.activeCellModel],[this.getValue()],!0),this.grid.rendering.updateCells([this.activeCellModel],!0)),this.cancel=!1,this.close()}close(){this.grid.selecting.removeFormulaHighlight(),this.grid.selecting.updateFormulaSelector(),super.close()}activate(t){this.grid.editing.startFormulaMode(),super.activate(t),this.input.tokenizer=t.model.calculations.tokenizer,this.setValue(t.hasOwnFormula?t.formula:"");const e=this.grid.group?this.grid.group:this.grid;e.addEventListener("grid.selector.resize",this._onGridSelectorUpdate),e.addEventListener("grid.selector.move",this._onGridSelectorUpdate),e.addEventListener("grid.select",this._onGridSelect)}deactivate(){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),this.grid.editing.endFormulaMode(),super.deactivate()}getValue(){return this.input.value}setValue(t){Nt(this.input,{w:this.clientWidth}),this.input.activate("="!=(t||"=").charAt(0)?"="+t:t)}focus(){this.input.focus()}};
|
|
4160
|
+
`}commit(){this._open&&!this.cancel&&this.activeCellModel&&(this.grid.editing.updateCells([this.activeCellModel],[this.getValue()],!0),this.grid.rendering.updateCells([this.activeCellModel],!0)),this.cancel=!1,this.close()}close(){this.grid.selecting.removeFormulaHighlight(),this.grid.selecting.updateFormulaSelector(),super.close()}activate(t){this.grid.editing.startFormulaMode(),super.activate(t),this.input.tokenizer=t.model.calculations.tokenizer,this.setValue(t.hasOwnFormula?t.formula:"");const e=this.grid.group?this.grid.group:this.grid;e.addEventListener("grid.selector.resize",this._onGridSelectorUpdate),e.addEventListener("grid.selector.move",this._onGridSelectorUpdate),e.addEventListener("grid.select",this._onGridSelect)}deactivate(){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),this.grid.editing.endFormulaMode(),super.deactivate()}getValue(){return this.input.value}setValue(t){Nt(this.input,{w:this.clientWidth}),this.input.activate("="!=(t||"=").charAt(0)?"="+t:t)}focus(){this.input.focus()}};Jx.styles=[Bx.baseStyles,wn`
|
|
4167
4161
|
og-grid-formula {
|
|
4168
4162
|
display: block;
|
|
4169
4163
|
border: 1px solid var(--og-accent-color, ${yn(fx.DEFAULT_ACCENT_COLOR)});
|
|
@@ -4172,7 +4166,7 @@
|
|
|
4172
4166
|
height: 100%;
|
|
4173
4167
|
padding: 0;
|
|
4174
4168
|
}
|
|
4175
|
-
`],
|
|
4169
|
+
`],Kx([As("og-grid-formula")],Jx.prototype,"input",void 0),Jx=Kx([Es("og-grid-formulaeditor")],Jx);const tk=new Map([["t",{createComponent:()=>new Ux}],["n",{createComponent:()=>new Gx}],["b",{createComponent:()=>new Wx}],["s",{createComponent:()=>new Yx}],["m",{createComponent:()=>new Yx}],["d",{createComponent:t=>t?.dateCalendarEditor?new Qx:new Zx}]]);class ek{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 isEditing(){return!!this.editor}get activeEditor(){return this.editor}get isFormulaMode(){return this._formulaMode||this.grid.group?.isFormulaMode}constructor(t){this.grid=t,this.editorMap=new Map,this.columnMoving=!1,this.rowMoving=!1,this._formulaMode=!1}canEdit(t){return t.editable||this.grid.designMode}updateCell(t,e,i=!0,o=!1){this.updateCells([t],[e],i,o)}updateCells(t,e,i=!0,o=!1){let r,n,s,a,l;t.forEach(((t,o)=>{const c=t.value;let h,d,u;Z(e[o])?(d=e[o],h="v"in d?d.v:void 0):h=e[o],d?u=t.update(d):(t.clearFormula(),c!==h&&(u={v:c,dv:t.displayValue},t.value=h)),i&&u&&(r=r||[],n=n||[],s=s||[],a=a||[],l=l||[],r.push(c),n.push(u),s.push(h),a.push(d),l.push(t))})),i&&l?.length&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!o,cells:l,editType:"value",newValues:s,newProps:a,oldValues:r,oldProps:n}))}startFormulaMode(){this._formulaMode=!0,this.grid.group&&this.grid.group.startFormulaMode(this.grid)}endFormulaMode(t=!0){this._formulaMode=!1,t&&this.grid.group&&this.grid.group.endFormulaMode(),this.grid.selecting.hideFormulaSelector(),this.grid.selecting.removeFormulaHighlight(),this.grid.selecting.showSelector()}startEdit(t=null){const e=this.grid.selecting.activeCell;if(e&&this.canEdit(e)){this.grid.logger.info(`start edit ${new pv(e.c,e.r).A1}`);let i=!0;_v(t)||null==t&&e.hasOwnFormula?this.editor=this.getFormulaEditor().open(this.grid,t):(i=!1,this.editor=this.getEditor(e).open(this.grid,t)),this.grid.dispatchEvent(new Ax("startEdit",{grid:this.grid})),i&&(this.startFormulaMode(),this.grid.dispatchEvent(new Ax("startFormulaEdit",{grid:this.grid})))}}endEdit(){this.editor&&(this.grid.logger.info("end edit"),this.grid.editing.endFormulaMode(),this.editor?.close(),this.editor=null,this.grid.dispatchEvent(new Ax("endEdit",{grid:this.grid})))}commitEdit(){this.editor&&(this.editor.commit(),this.endEdit())}insertRows(t){const e=this.model.insertRows(t.index,t.count,t.after);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"insert_row",newValues:e})),e}insertColumns(t){const e=this.model.insertColumns(t.index,t.count,t.after);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"insert_column",newValues:e})),e}deleteRows(t){const e=this.model.deleteRows(t.index,t.count);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"delete_row",oldValues:e})),e}deleteColumns(t){const e=this.model.deleteColumns(t.index,t.count);return this.grid.rendering.renderAll(!0),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:!!t.fromHistory,editType:"delete_column",oldValues:e})),e}moveRows(t){this.model.moveRows(t.index,t.count,t.targetIndex),this.grid.rendering.renderAll(!1),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:t.fromHistory,editType:"move_row",oldValues:[new pv(0,t.index,1/0,t.index+t.count-1)],newValues:[new pv(0,t.targetIndex,1/0,t.targetIndex+t.count-1)]}))}moveColumns(t){this.model.moveColumns(t.index,t.count,t.targetIndex),this.grid.rendering.renderAll(!1),it(t.dispatchEvent,!0)&&this.grid.dispatchEvent(new Ox({grid:this.grid,fromHistory:t.fromHistory,editType:"move_column",oldValues:[new pv(t.index,t.index+t.count-1,1/0)],newValues:[new pv(t.targetIndex,0,t.targetIndex+t.count-1,1/0)]}))}clearSelection(t=!0){const e=this.model.getCellArray(this.selection.range).filter((t=>this.canEdit(t)));this.updateCells(e,e.map((()=>null)),t),this.grid.rendering.updateCells(e,!0)}getEditor(t){const e=t.type;if(!this.editorMap.has(e)){const t=function(t){return tk.get(tk.has(t)?t:"t")}(e).createComponent(this.model.options.editing);this.grid.shadowRoot.appendChild(t),this.editorMap.set(e,t)}return this.editorMap.get(e)}getFormulaEditor(){const t="formula";if(!this.editorMap.has(t)){const e=new Jx;this.grid.shadowRoot.appendChild(e),this.editorMap.set(t,e)}return this.editorMap.get(t)}getSelectionCellData(){return this.model.getCellMatrix(this.selection.range).map((t=>t.map((t=>t.getSourceData({displayValue:!0})))))}copySelection(){const t=ClipboardItem.supports(fx.CUSTOM_CLIPBOARD_TYPE),e=this.model.getValuesInRange(this.selection.range,t);this.grid.selecting.hideSelector(),this.grid.selecting.showCopySelector();const i={"text/plain":new Blob([xr(e,{decimalSeparator:this.model.options.systemDecimalSeparator})],{type:"text/plain"})};t?i[fx.CUSTOM_CLIPBOARD_TYPE]=new Blob([JSON.stringify(this.getSelectionCellData())],{type:"application/json"}):this.grid.logger.warn("Browser does not support custom clipboard type"),navigator.clipboard.write([new ClipboardItem(i)]).then((()=>this.grid.logger.info("selected content copied")),(()=>this.grid.logger.error("copy rejected")))}pasteMatrix(t){const e=this.selection.range,i=[],o=[],r=this.model.options.clipboard?.rowPasteMode,n=this.model.options.clipboard?.columnPasteMode,s="all"==(this.model.options.clipboard?.pasteProps??"all")?null:this.model.options.clipboard.pasteProps,a=t.length,l=a>0?t[0].length:0;"insert"==r?this.insertRows({index:e.r1,count:a,after:!1}):"rewrite_append"==r&&e.r1+a>this.model.rows.length-1&&this.insertRows({index:this.model.rows.length-1,count:e.r1+a-this.model.rows.length,after:!0}),"insert"==n?this.insertColumns({index:e.c1,count:l,after:!1}):"rewrite_append"==n&&e.c1+l>this.model.columns.length-1&&this.insertColumns({index:this.model.columns.length-1,count:e.c1+l-this.model.columns.length,after:!0});const c=a>0&&l>0&&e.size.rows%a==0&&e.size.columns%l==0,h=Math.min(c?e.r2:e.r1+a-1,this.model.rows.length-1),d=Math.min(c?e.c2:e.c1+l-1,this.model.columns.length-1);for(let r=e.r1;r<=h;r++){const n=(r-e.r1)%a;for(let a=e.c1;a<=d;a++){const l=this.model.rows[r].cell(a);if(!l.editable)continue;const c=(a-e.c1)%t[n].length;if(s&&Z(t[n][c])){const e={};s.forEach((i=>{e[i]=t[n][c][i]})),l.prefersDisplayValue||(e.dv=void 0),o.push(e)}else o.push(t[n][c]);i.push(l)}}this.updateCells(i,o,!0),this.grid.rendering.updateCells(i,!0)}pasteText(t){this.pasteMatrix(kr(t))}async paste(){this.grid.selecting.hideCopySelector();try{const t=await navigator.clipboard.read();if(0==t.length)return;const e=t[0];if(e.types.includes(fx.CUSTOM_CLIPBOARD_TYPE)){const t=await e.getType(fx.CUSTOM_CLIPBOARD_TYPE);this.pasteMatrix(JSON.parse(await t.text()))}else if(e.types.includes("text/plain")){const t=await e.getType("text/plain");this.pasteText(await t.text())}}catch(t){return void this.grid.logger.error("paste rejected")}}openComments(t){setTimeout((()=>{this.grid.comment.attachTo(this.grid.table.getCellByCellModel(t),t,!0)}),100)}undo(){let t;const[e]=this.grid.history.pop();if(e)switch(e.type){case"value":t=e.addresses.map((t=>this.model.getCellByA1(t))),this.updateCells(t,e.oldProps,!0,!0),this.grid.rendering.updateCells(t,!0);break;case"insert_column":e.newValues.forEach(((t,i)=>this.grid.editing.deleteColumns({index:vv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})));break;case"insert_row":e.newValues.forEach(((t,i)=>this.grid.editing.deleteRows({index:mv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})))}}redo(){let t;const[e]=this.grid.history.pop2();if(e)switch(e.type){case"value":t=e.addresses.map((t=>this.model.getCellByA1(t))),this.updateCells(t,e.newValues,!0,!0),this.grid.rendering.updateCells(t,!0);break;case"insert_column":e.newValues.forEach(((t,i)=>this.grid.editing.insertColumns({index:vv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})));break;case"insert_row":e.newValues.forEach(((t,i)=>this.grid.editing.insertRows({index:mv(e.addresses[i]),count:1,dispatchEvent:!0,fromHistory:!0})))}}startColumnMoving(t){this.columnMoving=!0}merge(t){const e=t?pv.fromA1(t):this.selection.range,i=this.model.rows[e.r1]?.cell(e.c1);i&&(this.model.merges.add({r:e.r1,c:e.c1,rs:e.size.rows,cs:e.size.columns}),this.grid.rendering.renderCells({vertical:!0,horizontal:!0}),this.grid.selecting.select(e))}unmerge(t){const e=t?pv.fromA1(t):this.selection.range,i=this.model.rows[e.r1]?.cell(e.c1);if(!i)return;const o=this.model.merges.mergedCells.get(i.address);o&&(this.model.merges.remove(i.address),this.grid.rendering.renderCells({vertical:!0,horizontal:!0}),this.grid.selecting.select(new pv(o.c,o.r,o.c+o.cs-1,o.r+o.rs-1)))}}class ik extends Ax{constructor(t,e){super(`filter.${t}`,e)}}class ok extends _s{get currentValue(){return this.filterModel.get(this.columnModel.index)?.term}constructor(){super(),this.addEventListener("keydown",(t=>t.stopPropagation())),this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("pointerdown",(t=>t.stopPropagation())),this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("dblclick",(t=>t.stopPropagation()))}filter(t){this.filterModel.filter({term:t,c:this.columnModel.index}),this.dispatchEvent(new ik("apply",{filter:Array.from(this.filterModel.settings.values())}))}clearFilter(){this.filterModel.filter({term:null,c:this.columnModel.index}),this.dispatchEvent(new ik("apply",{filter:Array.from(this.filterModel.settings.values())}))}activate(){this.dispatchEvent(new ik("activate"))}deactivate(){this.dispatchEvent(new ik("deactivate"))}}ok.styles=[wn`
|
|
4176
4170
|
:host {
|
|
4177
4171
|
height: 100%;
|
|
4178
4172
|
border: 1px solid var(--og-accent-color);
|
|
@@ -4183,7 +4177,7 @@
|
|
|
4183
4177
|
font-size: var(--og-font-size);
|
|
4184
4178
|
font-family: var(--og-font-family);
|
|
4185
4179
|
}
|
|
4186
|
-
`];let
|
|
4180
|
+
`];let rk=class extends ok{constructor(){super(...arguments),this.inputRef=Dd(),this.filterButtonRef=Dd(),this.clearButtonRef=Dd(),this.render=()=>ns`
|
|
4187
4181
|
<div class="filter-inner">
|
|
4188
4182
|
<input ${jd(this.inputRef)}
|
|
4189
4183
|
type="text"
|
|
@@ -4192,7 +4186,7 @@
|
|
|
4192
4186
|
<og-button icon="filter" color="accent" ${jd(this.filterButtonRef)} @mousedown="${this._onFilterClick}"></og-button>
|
|
4193
4187
|
<og-button icon="xmark" color="red" ${jd(this.clearButtonRef)} @mousedown="${this._onClearClick}"></og-button>
|
|
4194
4188
|
</div>
|
|
4195
|
-
`}get input(){return this.inputRef.value}get filterButton(){return this.filterButtonRef.value}get clearButton(){return this.clearButtonRef.value}_onFilterClick(){this.filter(this.input.value)}_onClearClick(){this.input.value="",this.clearFilter()}_onInputKeyDown(t){"Enter"==t.key&&(this.filter(this.input.value),this.deactivate())}activate(){super.activate(),this.input&&(this.input.value=this.currentValue??""),setTimeout((()=>this.input.focus()),100)}deactivate(){super.deactivate()}};
|
|
4189
|
+
`}get input(){return this.inputRef.value}get filterButton(){return this.filterButtonRef.value}get clearButton(){return this.clearButtonRef.value}_onFilterClick(){this.filter(this.input.value)}_onClearClick(){this.input.value="",this.clearFilter()}_onInputKeyDown(t){"Enter"==t.key&&(this.filter(this.input.value),this.deactivate())}activate(){super.activate(),this.input&&(this.input.value=this.currentValue??""),setTimeout((()=>this.input.focus()),100)}deactivate(){super.deactivate()}};rk.styles=[...ok.styles,wn`
|
|
4196
4190
|
.filter-inner {
|
|
4197
4191
|
height: 100%;
|
|
4198
4192
|
display: flex;
|
|
@@ -4218,7 +4212,7 @@
|
|
|
4218
4212
|
text-align: center;
|
|
4219
4213
|
border-width: 0;
|
|
4220
4214
|
}
|
|
4221
|
-
`],
|
|
4215
|
+
`],rk=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es(`${fx.PREFIX}-filter-text`)],rk);var nk=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let sk=class extends ok{constructor(){super(...arguments),this._onChange=t=>{""==t.value?this.clearFilter():this.filter("true"===t.value)},this.render=()=>ns`
|
|
4222
4216
|
<div class="filter-inner">
|
|
4223
4217
|
<og-dropdown-list
|
|
4224
4218
|
@change="${this._onChange}"
|
|
@@ -4231,7 +4225,7 @@
|
|
|
4231
4225
|
`}]}">
|
|
4232
4226
|
</og-dropdown-list>
|
|
4233
4227
|
</div>
|
|
4234
|
-
`}activate(){super.activate(),setTimeout((()=>this.list.open()),100)}deactivate(){super.deactivate()}};
|
|
4228
|
+
`}activate(){super.activate(),setTimeout((()=>this.list.open()),100)}deactivate(){super.deactivate()}};sk.styles=[...ok.styles,wn`
|
|
4235
4229
|
.filter-inner {
|
|
4236
4230
|
height: 100%;
|
|
4237
4231
|
display: flex;
|
|
@@ -4242,7 +4236,7 @@
|
|
|
4242
4236
|
og-dropdown-list {
|
|
4243
4237
|
width: 100%;
|
|
4244
4238
|
}
|
|
4245
|
-
`],
|
|
4239
|
+
`],nk([As("og-dropdown-list")],sk.prototype,"list",void 0),sk=nk([Es(`${fx.PREFIX}-filter-checkbox`)],sk);var ak=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let lk=class extends ok{constructor(){super(...arguments),this.items=[],this._onChange=()=>{const t=[];this.dropdown.selection.items.forEach(((e,i)=>{const o=this.dropdown.tree.model.nodeMap.get(i);null!=i&&t.push({key:i,value:o?.value})})),t.length?this.filter(t):this.clearFilter()},this._onKeyDown=t=>{"Enter"==t.key&&(this.dropdown&&(null==this.dropdown.input.value?this.clearFilter():this.filter(this.dropdown.input.value),this.deactivate()),t.stopImmediatePropagation())},this.render=()=>ns`
|
|
4246
4240
|
<div class="filter-inner">
|
|
4247
4241
|
<og-tree-dropdown
|
|
4248
4242
|
cross
|
|
@@ -4254,7 +4248,7 @@
|
|
|
4254
4248
|
@change="${this._onChange}">
|
|
4255
4249
|
</og-tree-dropdown>
|
|
4256
4250
|
</div>
|
|
4257
|
-
`}willUpdate(t){t.has("items")&&(this.adapter?this.model=null:this.items?this.model=new Sm(this.items,{}):this.model=null)}async firstUpdated(){await this.dropdown.updateComplete,this.dropdown.dropdown.addEventListener("mousedown",(t=>t.stopPropagation())),this.dropdown.input.addEventListener("keydown",this._onKeyDown)}activate(){super.activate(),setTimeout((()=>{this.dropdown.open(),Q(this.currentValue)&&this.dropdown.filter(this.currentValue)}),100)}deactivate(){this.dropdown.close(),super.deactivate()}};
|
|
4251
|
+
`}willUpdate(t){t.has("items")&&(this.adapter?this.model=null:this.items?this.model=new Sm(this.items,{}):this.model=null)}async firstUpdated(){await this.dropdown.updateComplete,this.dropdown.dropdown.addEventListener("mousedown",(t=>t.stopPropagation())),this.dropdown.input.addEventListener("keydown",this._onKeyDown)}activate(){super.activate(),setTimeout((()=>{this.dropdown.open(),Q(this.currentValue)&&this.dropdown.filter(this.currentValue)}),100)}deactivate(){this.dropdown.close(),super.deactivate()}};lk.styles=[...ok.styles,wn`
|
|
4258
4252
|
.filter-inner {
|
|
4259
4253
|
height: 100%;
|
|
4260
4254
|
display: flex;
|
|
@@ -4265,7 +4259,7 @@
|
|
|
4265
4259
|
og-tree-dropdown {
|
|
4266
4260
|
width: 100%;
|
|
4267
4261
|
}
|
|
4268
|
-
`],
|
|
4262
|
+
`],ak([As("og-tree-dropdown")],lk.prototype,"dropdown",void 0),ak([Is({type:Array})],lk.prototype,"items",void 0),ak([Is({type:Object})],lk.prototype,"adapter",void 0),ak([Rs()],lk.prototype,"model",void 0),lk=ak([Es(`${fx.PREFIX}-filter-dropdown`)],lk);const ck=t=>{const e=yt("og-filter-dropdown");return t.adapter?e.adapter=t.adapter:t.editorContent?e.items=t.editorContent:e.items=function(t){const e=new Map;for(let i=0;i<t.model.rows.length;i++){const o=t.cell(i);e.set(o.value,(o.displayValue??o.value??"").toString())}const i=[];return e.forEach(((t,e)=>i.push({k:e,v:t}))),i}(t),e},hk=new Map([["t",()=>yt("og-filter-text")],["n",()=>yt("og-filter-text")],["b",()=>yt("og-filter-checkbox")],["s",t=>ck(t)],["m",t=>ck(t)]]);class dk{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,this.filterMap=new Map}get isCustomFilter(){return!!this.grid.adapter&&this.model.options.pageSize>0}init(){this.filter=this.filter??new Pw(this.model),this.filter.model=this.model}getFilter(t){let e=this.filterMap.get(t.index);return e?(e.columnModel=t,e):(e=function(t,e){const i=hk.get(t.type),o=i?i(t):yt("og-filter-text");return o.columnModel=t,o.filterModel=e,o}(t,this.filter),this.grid.shadowRoot.appendChild(e),this.filterMap.set(t.index,e),e.addEventListener("grid.filter.deactivate",(()=>{kt(e),this.unsubscribeDeactivation()})),e.addEventListener("grid.filter.apply",(()=>{this.isCustomFilter?(this.model.rowRoot.clearChildren(),this.model.rowRoot.count=1/0,this.model.clearRows(),this.grid.rendering.loadNextPage(null,!0)):(this.table.rowOffset=0,this.grid.rendering.renderCells({vertical:!0,horizontal:!0}))})),e)}subscribeDeactivation(t){this.deactivate=()=>t.deactivate(),document.addEventListener("mousedown",(()=>this.deactivate?this.deactivate():null),{once:!0})}unsubscribeDeactivation(){this.deactivate&&(document.removeEventListener("mousedown",this.deactivate),this.deactivate=null)}openFilter(t,e){this.filter.custom=this.isCustomFilter;const i=this.getFilter(t),o=Tt(e,this.table);Ht(i,{t:o.top,l:o.left}),Nt(i,{w:e.offsetWidth,h:e.offsetHeight}),xt(i),i.activate(),setTimeout((()=>this.subscribeDeactivation(i)),100)}}const uk=wn`
|
|
4269
4263
|
* {
|
|
4270
4264
|
box-sizing: border-box;
|
|
4271
4265
|
}
|
|
@@ -4305,10 +4299,10 @@
|
|
|
4305
4299
|
overflow: hidden;
|
|
4306
4300
|
}
|
|
4307
4301
|
|
|
4308
|
-
`;var
|
|
4302
|
+
`;var pk=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class gk extends Ax{constructor(t,e){super(`object.${t}`,e),Object.assign(this,e)}}let mk=class extends _s{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:n}=Tt(this.grid,document.body);n+=this.grid.table.totalHeaderWidth,r+=this.grid.table.totalHeaderHeight;const s=t=>{this.model.location={x:t.clientX-i-n,y:t.clientY-o-r},this.updatePosition()},a=()=>{document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",a),this.dispatchEvent(this.grid.createEvent("moveend",{object:this.model,host:this},gk))};document.addEventListener("mousemove",s),document.addEventListener("mouseup",a)},this.render=()=>ns`
|
|
4309
4303
|
<div id="head" @mousedown="${this._onHeadMouseDown}"></div>
|
|
4310
4304
|
<div id="body"></div>
|
|
4311
|
-
`,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()}};
|
|
4305
|
+
`,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()}};mk.styles=[uk],pk([Is({type:Boolean,reflect:!0})],mk.prototype,"active",void 0),pk([Is({type:Object})],mk.prototype,"model",void 0),pk([As("#body")],mk.prototype,"body",void 0),mk=pk([Es("og-object-host")],mk);class fk{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 gk("deactivate",{host:t,object:t.model,grid:this.grid})))}),{once:!0})),100)):i.active&&(i.active=!1,i.dispatchEvent(new gk("deactivate",{host:i,object:i.model,grid:this.grid})))})),t.dispatchEvent(new gk("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),Ut(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),Ut(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 vk{get model(){return this.grid.model}get selection(){return this.grid.selection}get selector(){return this.grid.selector}get events(){return this.grid.events}get table(){return this.grid.table}constructor(t){this.grid=t}clearCache(){this.table.clearBodyCache(),this.table.renderCells({vertical:!0,horizontal:!0})}sort(t,e=null){const i=this.grid.adapter&&!this.model.rowRoot.isLoaded&&this.model.options.pageSize>0;this.grid.model.sorting.sort(t,e,i),this.clearCache(),i&&(this.model.clearRows(),this.model.rowRoot.count=1/0,this.grid.rendering.loadNextPage())}resetSort(){this.grid.model.sorting.resetSort(),this.clearCache()}init(){}}class bk extends Ax{constructor(t,e){super(`menu.${t}`,e)}}class yk{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 bk("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 Uw?(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=>ns`
|
|
4312
4306
|
<div
|
|
4313
4307
|
style="display: flex; flex-direction: row; align-items: center;"
|
|
4314
4308
|
@mousedown="${t=>t.stopPropagation()}"
|
|
@@ -4321,7 +4315,7 @@
|
|
|
4321
4315
|
@change="${e=>this._onOutlineLevelChange(e,t)}">
|
|
4322
4316
|
</og-numericinput>
|
|
4323
4317
|
</div>
|
|
4324
|
-
`}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:Ro("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
|
|
4318
|
+
`}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:Ro("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 wk(t){return[{section:"group",name:"focus sheet",requiredParams:1,fn:t=>{console.log(t)}}]}function xk(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 kk(t){t.commands.clear(),function(t){return[{group:"grid",name:"set column width",next:{mode:"input",text:"Enter column width in pixels",commands:sg("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:sg("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:sg("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:sg("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:sg("ok",((e,i)=>{xk(t,i)}))}}),e.push({group:"grid",name:"goto first cell",exec:()=>{xk(t,"A1")}}),e.push({group:"grid",name:"sort ascending",next:{mode:"input",text:"Enter column name",commands:sg("ok",((e,i)=>{t.sorting.sort(isNaN(Number(i))?vv(i.toUpperCase()):Number(i),pw.Asc)}))}}),e.push({group:"grid",name:"sort descending",next:{mode:"input",text:"Enter column name",commands:sg("ok",((e,i)=>{t.sorting.sort(isNaN(Number(i))?vv(i.toUpperCase()):Number(i),pw.Desc)}))}}),e.push({group:"grid",name:"sort ascending by current column",exec:()=>{t.sorting.sort(t.selection.range.c1,pw.Asc)}}),e.push({group:"grid",name:"sort descending by current column",exec:()=>{t.sorting.sort(t.selection.range.c1,pw.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:sg("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:sg("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 Ck=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let Mk=class extends _s{constructor(){super(...arguments),this.tableRef=Dd(),this.hSliderRef=Dd(),this.vSliderRef=Dd(),this.hSizerRef=Dd(),this.vSizerRef=Dd(),this.selectorRef=Dd(),this.copySelectorRef=Dd(),this.formulaSelectorRef=Dd(),this.contextMenuRef=Dd(),this.tooltipRef=Dd(),this.commentRef=Dd(),this.selection=new mx(0,0),this.options=Vw(),this.logger=new Mr("Ωgrid"),this.zoom=1,this.rendering=new jx(this),this.selecting=new Hx(this),this.events=new Px(this),this.editing=new ek(this),this.filtering=new dk(this),this.sorting=new vk(this),this.menus=new yk(this),this.objects=new fk(this),this.commands=new ag(this),this.plugins=new ou(this),this.loading=!1,this._debounceVerticalSlide=q(this.events._onVerticalSlide,Zd.SLIDE_DELAY,{isImmediate:!0,maxWait:50}),this._debounceHorizontalSlide=q(this.events._onHorizontalSlide,Zd.SLIDE_DELAY,{isImmediate:!0,maxWait:50}),this.render=()=>ns`
|
|
4325
4319
|
<og-table ${jd(this.tableRef)} .zoom="${this.zoom}"></og-table>
|
|
4326
4320
|
|
|
4327
4321
|
<og-slider ${jd(this.vSliderRef)}
|
|
@@ -4368,7 +4362,7 @@
|
|
|
4368
4362
|
<og-grid-tooltip ${jd(this.tooltipRef)} style="display: none"></og-grid-tooltip>
|
|
4369
4363
|
|
|
4370
4364
|
<og-grid-comment ${jd(this.commentRef)} style="display: none"></og-grid-comment>
|
|
4371
|
-
`,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&&Et(this.contextMenu),this.comment&&Et(this.comment)}async initAdapter(){this.adapter.attach(this),this.table&&(this.table.rowOffset=0),this.dispatchEvent(new
|
|
4365
|
+
`,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&&Et(this.contextMenu),this.comment&&Et(this.comment)}async initAdapter(){this.adapter.attach(this),this.table&&(this.table.rowOffset=0),this.dispatchEvent(new Ax("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=Vw(await this.adapter.getOptions(),this.options),n=await this.adapter.getSparklines(),s=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:n,comments:s,rules:a,styles:l}),this.dispatchEvent(new Ax("afterLoad",{grid:this}))}updateOptions(t){this.options=Vw(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 Ax("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 Tx(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=pv.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(),kk(this),this.dispatchEvent(new Ax("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=Vw(t.options,this.options)),this.model=new ux(t,this.options,this.logger)}willUpdate(t){t.has("model")&&(this.options=Vw(this.model.options,this.options),this.model.options=this.options,this.history=new gx(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??Ax)(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 Xr(t);return this.dispatchEvent(e),e.data}setTheme(t){this.model.theme=t,this.model.applyTheme(t,!0),this.refresh()}};Mk.styles=[Mx],Ck([Is({type:Object})],Mk.prototype,"model",void 0),Ck([Is({type:Object})],Mk.prototype,"adapter",void 0),Ck([Is({type:Object})],Mk.prototype,"selection",void 0),Ck([Is({type:Object})],Mk.prototype,"options",void 0),Ck([Is({type:Object})],Mk.prototype,"logger",void 0),Ck([Is({type:Number})],Mk.prototype,"zoom",void 0),Mk=Ck([Es("og-grid")],Mk);var _k=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const Sk={options:{rows:100,columns:20,editable:!0}},Ek=()=>new ux(Sk),zk={commandWindow:!0,showHiddenTabs:!1};class Lk extends Event{constructor(t){super(`gridgroup.${t}`)}}let Ik=class extends _s{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 Lk("deactivate")),this._activeGrid=i,this.container.activate(t),setTimeout((()=>i.focus()),100),e&&this.dispatchEvent(new Lk("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=zk,this.designMode=!1,this.zoom=1,this.tabPosition="top",this.logger=new Mr("ΩgridGroup"),this.grids=new Map,this.commandWindowRef=Dd(),this.plugins=new ou(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(Ek());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(Ek());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=()=>ns`
|
|
4372
4366
|
<og-tabsplitcontainer
|
|
4373
4367
|
?singleActive="${!0}"
|
|
4374
4368
|
?addButton="${!0}"
|
|
@@ -4380,7 +4374,7 @@
|
|
|
4380
4374
|
.createComponent="${this.createGrid}"
|
|
4381
4375
|
.model="${this.containerModel}">
|
|
4382
4376
|
</og-tabsplitcontainer>
|
|
4383
|
-
`,this.model=new px,this.model.add(
|
|
4377
|
+
`,this.model=new px,this.model.add(Ek()),this.containerModel=new zp({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 px(t),this.containerModel=new zp(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 px),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})))}};Ik.styles=wn`
|
|
4384
4378
|
* {
|
|
4385
4379
|
box-sizing: border-box;
|
|
4386
4380
|
}
|
|
@@ -4392,7 +4386,7 @@
|
|
|
4392
4386
|
og-tabsplitcontainer {
|
|
4393
4387
|
height: 100%;
|
|
4394
4388
|
}
|
|
4395
|
-
`,
|
|
4389
|
+
`,_k([Is({type:Object})],Ik.prototype,"options",void 0),_k([Is({type:Object})],Ik.prototype,"model",void 0),_k([Is({type:Object})],Ik.prototype,"containerModel",void 0),_k([Is({type:Boolean})],Ik.prototype,"designMode",void 0),_k([Is({type:Number})],Ik.prototype,"zoom",void 0),_k([Is({type:String,reflect:!0})],Ik.prototype,"tabPosition",void 0),_k([Is({type:Object})],Ik.prototype,"logger",void 0),_k([Rs()],Ik.prototype,"grids",void 0),_k([As("og-tabsplitcontainer")],Ik.prototype,"container",void 0),Ik=_k([Es("og-gridgroup")],Ik);const Rk=wn`
|
|
4396
4390
|
:host {
|
|
4397
4391
|
pointer-events: none;
|
|
4398
4392
|
position: absolute;
|
|
@@ -4495,7 +4489,7 @@
|
|
|
4495
4489
|
top: -4px;
|
|
4496
4490
|
cursor: ne-resize;
|
|
4497
4491
|
}
|
|
4498
|
-
`;var
|
|
4492
|
+
`;var Tk=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Ak extends Ax{constructor(t,e){super(`selector.${t}`,e)}}class Ok extends Ak{constructor(t){super("move",t)}}let $k=class extends _s{constructor(){super(...arguments),this._animationTimer=null,this._autofilling=!1,this._moving=!1,this._resizing=!1,this._selecting=!1,this.subselector=!1,this.borderWidth=fx.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,n=0,s=0;for(;n<o&&this.table.bRows[++r];)n+=this.table.bRows[r].clientHeight;const a=this.table.bRows[r];if(a){for(r=-1;s<i&&a.children[++r];)s+="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 pv(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=()=>ns`
|
|
4499
4493
|
${this.subselector?ns`<div id="subselector"></div>`:""}
|
|
4500
4494
|
${this.resizable?ns`
|
|
4501
4495
|
<div id="handle-nw" class="handle-resize" style="${Bs({backgroundColor:this.color})}"
|
|
@@ -4533,14 +4527,14 @@
|
|
|
4533
4527
|
<rect width="100%" height="100%" fill="none" stroke-width="4" stroke-dasharray="6,14" stroke-dashoffset="0" stroke-linecap="square" />
|
|
4534
4528
|
</svg>
|
|
4535
4529
|
`:""}
|
|
4536
|
-
`}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,n=-100,s=this.table.offsetWidth+100,a=this.table.offsetHeight+100;if(t){const e=Tt(t,this.table);n=e.top,r=e.left}if(e){const t=Tt(e,this.table);n=t.top,s=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,s=t.left+i.offsetWidth}Ht(this.autofillSelector,{l:r,t:n}),Nt(this.autofillSelector,{w:s-r,h:a-n}),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 Tk("autofill",{selector:this,grid:this.grid})),this.autofillSelector.remove())}updateAutofilling(t,e){const{c1:i,r1:o,c2:r,r2:n}=this.selection;this._autofillRange=null,e>n&&t-r<=e-n?(this._autofillDirection="down",this._autofillRange=new pv(i,n+1,r,e)):e<o&&i-t<=o-e?(this._autofillDirection="up",this._autofillRange=new pv(i,e,r,o-1)):t>r&&t-r>e-n?(this._autofillDirection="right",this._autofillRange=new pv(r+1,o,t,n)):t<i&&i-t>o-e&&(this._autofillDirection="left",this._autofillRange=new pv(t,o,i-1,n)),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 Ak({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:n}=this.selection,s=this.selection.clone();switch(this._resizingDirection){case"nw":e<=n&&t<=r&&(s.r1=e,s.c1=t);break;case"ne":e<=n&&t>=i&&(s.r1=e,s.c2=t);break;case"sw":e>=o&&t<=r&&(s.r2=e,s.c1=t);break;case"se":e>=o&&t>=i&&(s.r2=e,s.c2=t)}this.selection.equals(s)||(this.selection.r1=s.r1,this.selection.r2=s.r2,this.selection.c1=s.c1,this.selection.c2=s.c2,this.updatePosition())}stopResizing(t=!0){this._resizing&&(this._resizing=!1,t&&this.dispatchEvent(new Tk("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 Tk("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=zt(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;Qt(this,t);let e=-1e3,i=-1e3,o=0,r=0,n=-1e3,s=-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)&&(Zt(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);s=t.left-i,n=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:s-fx.SELECTOR_BORDER_WIDTH,t:n-fx.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()))}};Ok.styles=[Ik],Rk([Is({type:Boolean})],Ok.prototype,"autofill",void 0),Rk([Is({type:Boolean,reflect:!0})],Ok.prototype,"movable",void 0),Rk([Is({type:Boolean,reflect:!0})],Ok.prototype,"resizable",void 0),Rk([Is({type:Boolean,reflect:!0})],Ok.prototype,"subselector",void 0),Rk([Is({type:String})],Ok.prototype,"color",void 0),Rk([Is({type:Number})],Ok.prototype,"borderWidth",void 0),Rk([Is({type:Boolean,reflect:!0})],Ok.prototype,"animated",void 0),Rk([Is({type:Object})],Ok.prototype,"selection",void 0),Rk([Is({type:Object})],Ok.prototype,"activeCellRange",void 0),Rk([As("#handle")],Ok.prototype,"handleElm",void 0),Rk([As("#svgAnimation")],Ok.prototype,"svgAnimation",void 0),Rk([As("#handle-left")],Ok.prototype,"moveHandleLeftElm",void 0),Rk([As("#handle-top")],Ok.prototype,"moveHandleTopElm",void 0),Rk([As("#handle-right")],Ok.prototype,"moveHandleRightElm",void 0),Rk([As("#handle-bottom")],Ok.prototype,"moveHandleBottomElm",void 0),Rk([As("#subselector")],Ok.prototype,"subselectorElm",void 0),Ok=Rk([Es("og-selector")],Ok);var $k=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let Dk=class extends _s{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*fx.SPARKLINE_GAP)/t.length-fx.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 n=(this.clientWidth-2*fx.SPARKLINE_GAP)/i.length,s=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=fx.SPARKLINE_GAP+e*n+n/2,c=(this.clientHeight-2*fx.SPARKLINE_GAP)*(r-t)/s+fx.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)}};Dk.styles=wn`
|
|
4530
|
+
`}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,n=-100,s=this.table.offsetWidth+100,a=this.table.offsetHeight+100;if(t){const e=Tt(t,this.table);n=e.top,r=e.left}if(e){const t=Tt(e,this.table);n=t.top,s=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,s=t.left+i.offsetWidth}Ht(this.autofillSelector,{l:r,t:n}),Nt(this.autofillSelector,{w:s-r,h:a-n}),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 Ak("autofill",{selector:this,grid:this.grid})),this.autofillSelector.remove())}updateAutofilling(t,e){const{c1:i,r1:o,c2:r,r2:n}=this.selection;this._autofillRange=null,e>n&&t-r<=e-n?(this._autofillDirection="down",this._autofillRange=new pv(i,n+1,r,e)):e<o&&i-t<=o-e?(this._autofillDirection="up",this._autofillRange=new pv(i,e,r,o-1)):t>r&&t-r>e-n?(this._autofillDirection="right",this._autofillRange=new pv(r+1,o,t,n)):t<i&&i-t>o-e&&(this._autofillDirection="left",this._autofillRange=new pv(t,o,i-1,n)),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 Ok({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:n}=this.selection,s=this.selection.clone();switch(this._resizingDirection){case"nw":e<=n&&t<=r&&(s.r1=e,s.c1=t);break;case"ne":e<=n&&t>=i&&(s.r1=e,s.c2=t);break;case"sw":e>=o&&t<=r&&(s.r2=e,s.c1=t);break;case"se":e>=o&&t>=i&&(s.r2=e,s.c2=t)}this.selection.equals(s)||(this.selection.r1=s.r1,this.selection.r2=s.r2,this.selection.c1=s.c1,this.selection.c2=s.c2,this.updatePosition())}stopResizing(t=!0){this._resizing&&(this._resizing=!1,t&&this.dispatchEvent(new Ak("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 Ak("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=zt(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;Qt(this,t);let e=-1e3,i=-1e3,o=0,r=0,n=-1e3,s=-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)&&(Zt(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);s=t.left-i,n=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:s-fx.SELECTOR_BORDER_WIDTH,t:n-fx.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()))}};$k.styles=[Rk],Tk([Is({type:Boolean})],$k.prototype,"autofill",void 0),Tk([Is({type:Boolean,reflect:!0})],$k.prototype,"movable",void 0),Tk([Is({type:Boolean,reflect:!0})],$k.prototype,"resizable",void 0),Tk([Is({type:Boolean,reflect:!0})],$k.prototype,"subselector",void 0),Tk([Is({type:String})],$k.prototype,"color",void 0),Tk([Is({type:Number})],$k.prototype,"borderWidth",void 0),Tk([Is({type:Boolean,reflect:!0})],$k.prototype,"animated",void 0),Tk([Is({type:Object})],$k.prototype,"selection",void 0),Tk([Is({type:Object})],$k.prototype,"activeCellRange",void 0),Tk([As("#handle")],$k.prototype,"handleElm",void 0),Tk([As("#svgAnimation")],$k.prototype,"svgAnimation",void 0),Tk([As("#handle-left")],$k.prototype,"moveHandleLeftElm",void 0),Tk([As("#handle-top")],$k.prototype,"moveHandleTopElm",void 0),Tk([As("#handle-right")],$k.prototype,"moveHandleRightElm",void 0),Tk([As("#handle-bottom")],$k.prototype,"moveHandleBottomElm",void 0),Tk([As("#subselector")],$k.prototype,"subselectorElm",void 0),$k=Tk([Es("og-selector")],$k);var Dk=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let Nk=class extends _s{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*fx.SPARKLINE_GAP)/t.length-fx.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 n=(this.clientWidth-2*fx.SPARKLINE_GAP)/i.length,s=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=fx.SPARKLINE_GAP+e*n+n/2,c=(this.clientHeight-2*fx.SPARKLINE_GAP)*(r-t)/s+fx.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)}};Nk.styles=wn`
|
|
4537
4531
|
:host {
|
|
4538
4532
|
display: block;
|
|
4539
4533
|
z-index: 0;
|
|
4540
4534
|
position: absolute;
|
|
4541
4535
|
inset: 0;
|
|
4542
4536
|
}
|
|
4543
|
-
|
|
4537
|
+
`,Dk([Is({type:Object})],Nk.prototype,"cell",void 0),Nk=Dk([Es("og-grid-sparkline")],Nk);let Pk=class extends Sp{constructor(){super()}connectedCallback(){super.connectedCallback()}attachToCell(t,e){this.content=e.tooltip,this.attachTo(t,"right")}};Pk.styles=[...Sp.styles],Pk=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-grid-tooltip")],Pk);const jk=wn`
|
|
4544
4538
|
* {
|
|
4545
4539
|
box-sizing: border-box;
|
|
4546
4540
|
}
|
|
@@ -4627,7 +4621,7 @@
|
|
|
4627
4621
|
.comment:last-child {
|
|
4628
4622
|
border-bottom: none;
|
|
4629
4623
|
}
|
|
4630
|
-
`;var
|
|
4624
|
+
`;var Hk=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class Fk 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 Bk=class extends _s{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)?ns`
|
|
4631
4625
|
<div class="comment-title">
|
|
4632
4626
|
<div class="author">${t.author?.name??t.author?.id??""}</div>
|
|
4633
4627
|
${t?.date?ns`
|
|
@@ -4668,15 +4662,15 @@
|
|
|
4668
4662
|
</div>
|
|
4669
4663
|
</og-container>
|
|
4670
4664
|
</div>
|
|
4671
|
-
`,this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("mouseover",this._onMouseOver)}add(){this.items.unshift(new bw({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
|
|
4665
|
+
`,this.addEventListener("mousedown",this._onMouseDown),this.addEventListener("mouseover",this._onMouseOver)}add(){this.items.unshift(new bw({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 Fk("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 Fk("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??Gf.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,n=e?this.offsetLeft+this.offsetWidth/2:t.left+this._attachedTo.offsetWidth,s=i?this.offsetTop+this.offsetHeight/2:t.top;this._connector.setAttribute("width",(n-o).toString()),this._connector.setAttribute("height",(s-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:n-o}" y1="${i?0:s-r}" \n\t\t\t\tx2="${e?n-o:0}" y2="${i?s-r:0}" \n\t\t\t\tstroke="#8b7600" stroke-width="1"/>\n\t\t`}async setDefaultSize(){new Promise((t=>{setTimeout((()=>{const e=Math.max(Gf.MIN_COMMENT_AUTOHEIGHT,Math.min(Gf.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)}};Bk.styles=[jk],Hk([Is({type:Array})],Bk.prototype,"items",void 0),Hk([Rs()],Bk.prototype,"cellModel",void 0),Hk([Rs()],Bk.prototype,"editIndex",void 0),Hk([As("og-container")],Bk.prototype,"container",void 0),Hk([As(".head")],Bk.prototype,"head",void 0),Hk([$s(".comment-body")],Bk.prototype,"bodies",void 0),Bk=Hk([Es("og-grid-comment")],Bk);const Wk=(t,e)=>{for(const i in e)t.style[i]=e[i]};function Vk(t,e,i){e.hasError&&!e.error.handled&&(t.innerHTML=`<span style="color:#fff;background:#f00">!${e.error.message}</span>`),e.cssStyle&&Wk(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 Du;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=$t(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 Uk(t){t.tooltip?.hide()}function Gk(t,e,i){(t=Vk.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 qk(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 Vk.call(this,t,e,i)}function Yk(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),Vk.call(this,t,e,i)}function Zk(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 Vk.call(this,t,e,i)}function Xk(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=Vk.call(this,t,e,i)).style.whiteSpace&&(t.style.whiteSpace="pre"),t}function Qk(t,e,i){const o=e.value;return isNaN(o)||""===o?Xk.call(this,t,e,i):Zk.call(this,t,e,i)}const Kk={n:Zk,t:Xk,tm:qk,d:qk,dt:qk,b:Gk,s:Yk,m:Yk,g:Qk,a:function(t,e){const i=(e.editorContent??e.value)||[];t.innerHTML="";const o=this.grid;return Ms(ns`
|
|
4672
4666
|
<div class="actions">
|
|
4673
4667
|
${Ds(i,(t=>ns`
|
|
4674
4668
|
<og-button
|
|
4675
4669
|
@pointermove="${t=>t.stopPropagation()}"
|
|
4676
4670
|
@pointerdown="${t=>t.stopPropagation()}"
|
|
4677
|
-
@click="${i=>function(t,e,i,o){t.stopPropagation(),e.selecting.select(i.range),e.dispatchEvent(new
|
|
4678
|
-
@mouseenter="${()=>function(t,e){e.title?(t.tooltip.content=e.title,t.tooltip.attachToCursor()):
|
|
4679
|
-
@mouseout="${()=>
|
|
4671
|
+
@click="${i=>function(t,e,i,o){t.stopPropagation(),e.selecting.select(i.range),e.dispatchEvent(new Ax("action",{grid:e,cell:i,action:o.action}))}(i,o,e,t)}"
|
|
4672
|
+
@mouseenter="${()=>function(t,e){e.title?(t.tooltip.content=e.title,t.tooltip.attachToCursor()):Uk(t)}(o,t)}"
|
|
4673
|
+
@mouseout="${()=>Uk(o)}"
|
|
4680
4674
|
.icon="${t.icon}"
|
|
4681
4675
|
.text="${t.text}"
|
|
4682
4676
|
.color="${t.color}"
|
|
@@ -4684,7 +4678,7 @@
|
|
|
4684
4678
|
</og-button>
|
|
4685
4679
|
`))}
|
|
4686
4680
|
</div>
|
|
4687
|
-
`,t),
|
|
4681
|
+
`,t),Vk.call(this,t,e)},h:function(t,e,i){return t.innerHTML=e.value,Vk.call(this,t,e,i)}};function Jk(t){return t.renderer||Kk[t.type]||Qk}class tC extends Xd{getCells(t){return null}getStyles(){return null}getRules(){return null}getComments(){return null}getSparklines(){return null}getOptions(){return null}}function eC(t,e){const i=ce(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=ne(t),n=r.getDay(),s=6+(n<o?-7:0)-(n-o);return r.setDate(r.getDate()+s),r.setHours(23,59,59,999),r}const iC={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 oC(t,e=null){const i={...on(t,e),...iC,...e,...t};return i.minDate=fi(i.minDate,{weekStartsOn:i.weekStart}),i.maxDate=eC(i.maxDate,{weekStartsOn:i.weekStart}),i}function rC(t,e){const i=ne(t.start),o=ne(t.end);let r=+i>+o;const n=r?+i:+o,s=r?o:i;s.setHours(0,0,0,0);let a=e?.step??1;if(!a)return[];a<0&&(a=-a,r=!r);const l=[];for(;+s<=n;)l.push(ne(s)),s.setDate(s.getDate()+a),s.setHours(0,0,0,0);return r?l.reverse():l}function nC(t){return Math.ceil(co(t.maxDate,t.minDate)/7)}function sC(t,e,i){return of(i.minDate,{days:7*t+e})}function aC(t,e){return{row:Math.floor(co(t,e.minDate)/7),column:co(t,e.minDate)%7}}const lC=t=>(t=>null!=t?._$litType$?.h)(t)?t._$litType$.h:t.strings,cC=Ps(class extends js{constructor(t){super(t),this.et=new WeakMap}render(t){return[t]}update(t,[e]){const i=Ys(this.it)?lC(this.it):null,o=Ys(e)?lC(e):null;if(null!==i&&(null===o||i!==o)){const e=Js(t).pop();let o=this.et.get(i);if(void 0===o){const t=document.createDocumentFragment();o=Ms(ls,t),o.setConnected(!1),this.et.set(i,o)}Ks(o,[e]),Xs(o,void 0,e)}if(null!==o){if(null===i||i!==o){const e=this.et.get(o);if(void 0!==e){const i=Js(e).pop();(t=>{t._$AR()})(t),Xs(t,void 0,i),Ks(t,[i])}}this.it=e}else this.it=void 0;return this.render(e)}});var hC,dC,uC,pC,gC,mC,fC,vC,bC,yC,wC,xC,kC,CC,MC=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s},_C=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)},SC=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 EC=class extends Jd{constructor(){super(...arguments),hC.add(this),this.date=se(new Date),this.year=(new Date).getFullYear(),this.month=(new Date).getMonth()+1,dC.set(this,void 0),uC.set(this,(()=>this.dispatchEvent(new Yr({value:this.date})))),pC.set(this,(()=>this.body.clientWidth/7)),gC.set(this,(()=>(this.body.clientHeight-Bf.HEADER_HEIGHT)/6)),mC.set(this,void 0),fC.set(this,!1),vC.set(this,void 0),bC.set(this,((t,e)=>{const i=sC(e.r,e.c,this.options);t.innerHTML=ro(i,"d"),t.style.lineHeight=Dt(e.row.height),t.style.textAlign="center";const o=i.getMonth();return null==_C(this,vC,"f")&&(SC(this,vC,(o+(i.getDate()<10?0:1))%12,"f"),this.month=_C(this,vC,"f")+1,i.setDate(i.getDate()+10),this.year=i.getFullYear()),_C(this,vC,"f")==o?t.style.backgroundColor="initial":t.style.backgroundColor="var(--og-background-color-3)",t})),xC.set(this,(t=>{t.selection.activeCell&&this.updateDate(sC(t.selection.range.r1,t.selection.range.c1,this.options))})),kC.set(this,(()=>SC(this,vC,null,"f"))),CC.set(this,(async()=>{this.month=this.monthDropdown.value,this.year=this.yearDropdown.value,await this.updateComplete,this.gotoCurrentSelection()})),this.renderControls=()=>ns`
|
|
4688
4682
|
<div class="header">
|
|
4689
4683
|
${this.date?ns`
|
|
4690
4684
|
<og-button
|
|
@@ -4721,7 +4715,7 @@
|
|
|
4721
4715
|
color="accent"
|
|
4722
4716
|
width="70"
|
|
4723
4717
|
style="width: 60px; text-align: center"
|
|
4724
|
-
@change="${
|
|
4718
|
+
@change="${_C(this,CC,"f")}"
|
|
4725
4719
|
.value="${this.month?.toString()}"
|
|
4726
4720
|
.items="${(t=this.options,[...new Array(12).keys()].map((e=>ro(new Date(2e3,e,1),"LLLL",{locale:Xo(t.locale)})))).map(((t,e)=>({key:(e+1).toString(),value:t})))}">
|
|
4727
4721
|
</og-dropdown-list>
|
|
@@ -4750,7 +4744,7 @@
|
|
|
4750
4744
|
color="accent"
|
|
4751
4745
|
style="min-width: 35px; text-align: center"
|
|
4752
4746
|
alignment="left"
|
|
4753
|
-
@change="${
|
|
4747
|
+
@change="${_C(this,CC,"f")}"
|
|
4754
4748
|
.value="${this.year.toString()}"
|
|
4755
4749
|
.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()})))}">
|
|
4756
4750
|
</og-dropdown-list>
|
|
@@ -4764,7 +4758,7 @@
|
|
|
4764
4758
|
</og-button>
|
|
4765
4759
|
`))}
|
|
4766
4760
|
</div>
|
|
4767
|
-
`,this.render=()=>Bg("top"!=this.options.controlsPosition?[
|
|
4761
|
+
`,this.render=()=>Bg("top"!=this.options.controlsPosition?[cC(ns`<div class="body"></div>`),this.renderControls()]:[this.renderControls(),cC(ns`<div class="body"></div>`)],"")}get dateFormatter(){return _C(this,dC,"f")||SC(this,dC,Zo(this.options.locale,this.options.dateFormat),"f"),_C(this,dC,"f")}get formattedDate(){return this.date?this.dateFormatter(this.date):""}willUpdate(t){!t.has("options")&&this.options||(this.options=oC(this.options))}connectedCallback(){super.connectedCallback(),this.updateBody()}disconnectedCallback(){this.body&&St(this.body),SC(this,mC,null,"f")}updateBody(){this.body&&this.body.firstElementChild!=this.grid&&(St(this.body),this.grid.setSourceData(_C(this,hC,"m",yC).call(this)),this.body.appendChild(this.grid))}get grid(){return _C(this,mC,"f")||(SC(this,mC,yt("og-grid"),"f"),Ft(_C(this,mC,"f"),0),_C(this,mC,"f").addEventListener("grid.select",_C(this,xC,"f")),_C(this,mC,"f").addEventListener("grid.render",_C(this,kC,"f")),_C(this,mC,"f").addEventListener("grid.init",(()=>{const t=aC(this.date,this.options);this.grid?.selecting.select(new pv(t.column,t.row)),this.goto(),SC(this,fC,!0,"f")}))),_C(this,mC,"f")}async layout(){await this.updateComplete;const t=_C(this,pC,"f").call(this),e=_C(this,gC,"f").call(this);this.grid.model.columns.forEach((e=>e.width=t)),this.grid.model.rows.forEach((t=>t.height=e)),this.grid.layout()}goto(t=null){SC(this,vC,null,"f"),t=t??this.date??new Date,this.year=t.getFullYear(),this.month=t.getMonth()+1,_C(this,mC,"f").rendering.scrollTo(function(t,e){return Math.floor(co(function(t){const e=ne(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(_C(this,hC,"m",yC).call(this)),t.has("date")&&_C(this,fC,"f")){const t=aC(this.date,this.options);this.grid?.selecting.select(new pv(t.column,t.row)),this.goto()}this.grid.updateComplete.then((()=>_C(this,hC,"m",wC).call(this,this.grid.table)))}updateDate(t,e=!0){var i,o;i=t=se(t),o=this.date,+ne(i)==+ne(o)||(this.date=t,e&&_C(this,uC,"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())}};dC=new WeakMap,uC=new WeakMap,pC=new WeakMap,gC=new WeakMap,mC=new WeakMap,fC=new WeakMap,vC=new WeakMap,bC=new WeakMap,xC=new WeakMap,kC=new WeakMap,CC=new WeakMap,hC=new WeakSet,yC=function(){return{columns:(t=this.options,rC({start:fi(new Date,{weekStartsOn:t.weekStart}),end:eC(new Date,{weekStartsOn:t.weekStart})}).map((e=>ro(e,"cccccc",{locale:Xo(t.locale)})))).map((t=>({renderer:_C(this,bC,"f"),header:[{label:t,height:Bf.HEADER_HEIGHT}]}))),options:{rows:nC(this.options),rowHeight:_C(this,gC,"f").call(this),columnWidth:_C(this,pC,"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},wC=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}"))},EC.styles=[Wf],MC([As(".body")],EC.prototype,"body",void 0),MC([Is({type:Object})],EC.prototype,"options",void 0),MC([Is({type:Object})],EC.prototype,"date",void 0),MC([Is({type:Number})],EC.prototype,"year",void 0),MC([Is({type:Number})],EC.prototype,"month",void 0),MC([As("og-dropdown-list.month")],EC.prototype,"monthDropdown",void 0),MC([As("og-dropdown-list.year")],EC.prototype,"yearDropdown",void 0),EC=MC([Es("og-calendar")],EC);const zC=wn`
|
|
4768
4762
|
og-input {
|
|
4769
4763
|
flex: 1;
|
|
4770
4764
|
border: none;
|
|
@@ -4803,7 +4797,7 @@
|
|
|
4803
4797
|
.content {
|
|
4804
4798
|
display: flex;
|
|
4805
4799
|
}
|
|
4806
|
-
`;var
|
|
4800
|
+
`;var LC,IC,RC=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s},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 OC=class extends yu{constructor(){super(...arguments),this.calendarOptions=oC({controlsPosition:"bottom"}),this.buttonInput=!1,LC.set(this,void 0),this.cross=!1,IC.set(this,void 0),this._onInputFocus=()=>{this.open()},this._onInputBlur=()=>{const t=this.parseDate(this.input.value);null==t&&(this.input.value=""),t?.getTime()!==TC(this,LC,"f")?.getTime()&&(AC(this,LC,t,"f"),this.dispatchEvent(new Yr({value:this.value})))},this._onInput=()=>{const t=this.parseDate(this.input.value);t&&(TC(this,IC,"f").date=t)},this._onInputKeydown=t=>{"Enter"===t.key&&(this.input.blur(),this.close())},this.render=()=>ns`
|
|
4807
4801
|
${this.buttonInput?ns`
|
|
4808
4802
|
<og-input
|
|
4809
4803
|
@keydown="${this._onInputKeydown}"
|
|
@@ -4835,7 +4829,7 @@
|
|
|
4835
4829
|
`:""}
|
|
4836
4830
|
|
|
4837
4831
|
${this.renderDropdown()}
|
|
4838
|
-
`}get value(){return
|
|
4832
|
+
`}get value(){return TC(this,LC,"f")}set value(t){AC(this,LC,t,"f"),TC(this,IC,"f")&&(TC(this,IC,"f").date=t,this.requestUpdate())}get hasCrossButton(){return this.cross&&null!=TC(this,LC,"f")}get calendar(){return TC(this,IC,"f")||(AC(this,IC,yt("og-calendar"),"f"),TC(this,IC,"f").date=TC(this,LC,"f"),TC(this,IC,"f").options=this.calendarOptions,TC(this,IC,"f").slot="inner-content",TC(this,IC,"f").addEventListener("change",(t=>{AC(this,LC,t.value,"f"),this.close(),this.dispatchEvent(new Yr({value:t.value})),this.requestUpdate()}))),TC(this,IC,"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 Yr({value:null}))}parseDate(t){return Yo(t,this.calendarOptions.locale)}layout(){super.layout(),this.calendar?.layout()}};LC=new WeakMap,IC=new WeakMap,OC.styles=[...yu.styles,zC],RC([Is({type:Object})],OC.prototype,"calendarOptions",void 0),RC([Is({type:Boolean})],OC.prototype,"buttonInput",void 0),RC([Is({type:Object,noAccessor:!0})],OC.prototype,"value",null),RC([Is({type:Boolean,reflect:!0})],OC.prototype,"cross",void 0),RC([As("og-input")],OC.prototype,"input",void 0),OC=RC([Es("og-calendar-dropdown")],OC);const $C=Symbol.for(""),DC=t=>{if(t?.r===$C)return t?._$litStatic$},NC=(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:$C}),PC=new Map,jC=t=>(e,...i)=>{const o=i.length;let r,n;const s=[],a=[];let l,c=0,h=!1;for(;c<o;){for(l=e[c];c<o&&void 0!==(n=i[c],r=DC(n));)l+=r+e[++c],h=!0;c!==o&&a.push(n),s.push(l),c++}if(c===o&&s.push(e[o]),h){const t=s.join("$$lit$$");void 0===(e=PC.get(t))&&(s.raw=s,PC.set(t,e=s)),i=a}return t(e,...i)},HC=jC(ns);var FC;jC(ss),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"}(FC||(FC={}));class BC{constructor(t){this.props=t,this.dependencies=[],this.errors=[]}get key(){return this.props.key}}class WC{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 BC(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 VC={DEFAULT_FORM_CELL_PADDING:2,DEFAULT_FORM_ROW_HEIGHT:24,DEFAULT_FORM_LINE_HEIGHT:22,BUTTON_CONFIG:new Map([["save",{text:"Save",color:ya.Accent,default:!0}],["reset",{text:"Reset",color:ya.Gray}],["validate",{text:"Validate",color:ya.Gray}],["storno",{text:"Storno",color:ya.Gray}],["close",{text:"Close",color:ya.Gray}]]),...G},UC=wn`
|
|
4839
4833
|
:host {
|
|
4840
4834
|
display: block;
|
|
4841
4835
|
font-size: var(--og-font-size);
|
|
@@ -4857,11 +4851,11 @@
|
|
|
4857
4851
|
}
|
|
4858
4852
|
|
|
4859
4853
|
table tr td {
|
|
4860
|
-
height: ${
|
|
4854
|
+
height: ${VC.DEFAULT_FORM_ROW_HEIGHT}px;
|
|
4861
4855
|
}
|
|
4862
4856
|
|
|
4863
4857
|
table td {
|
|
4864
|
-
padding: ${
|
|
4858
|
+
padding: ${VC.DEFAULT_FORM_CELL_PADDING}px;
|
|
4865
4859
|
overflow: hidden;
|
|
4866
4860
|
}
|
|
4867
4861
|
|
|
@@ -4876,12 +4870,12 @@
|
|
|
4876
4870
|
og-overlay {
|
|
4877
4871
|
min-height: 200px;
|
|
4878
4872
|
}
|
|
4879
|
-
`;var
|
|
4873
|
+
`;var GC=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const qC=new Map([[FC.Label,NC`og-form-label`],[FC.TextInput,NC`og-form-textinput`],[FC.ColorInput,NC`og-form-colorinput`],[FC.Checkbox,NC`og-form-checkbox`],[FC.List,NC`og-form-list`],[FC.Button,NC`og-form-button`],[FC.NumericInput,NC`og-form-numericinput`],[FC.FileInput,NC`og-form-fileinput`],[FC.DateInput,NC`og-form-dateinput`],[FC.CalendarDateInput,NC`og-form-calendardateinput`]]);class YC extends Event{constructor(t,e){super(`form.${t}`,{bubbles:!0,cancelable:!0,composed:!0}),Object.assign(this,e||{})}}let ZC=class extends _s{constructor(){super(...arguments),this.values={},this.errorCounts={},this.showOverlay=()=>this.overlay?.show(this),this.hideOverlay=()=>this.overlay?.hide(),this.render=()=>{const t=HC`<og-overlay defaultLoader></og-overlay>`;if(!this.model)return t;const e=Ds(this.model.columns,(t=>{const e=Bs({width:t?.width?$t(t.width):"auto"});return HC`<col style="${e}">`})),i=Ds(this.model.controls,((t,e)=>{const i=Bs({height:this.model.rows&&this.model.rows[e]&&this.model.rows[e].height?$t(this.model.rows[e].height):null});return HC`
|
|
4880
4874
|
<tr class="row">
|
|
4881
|
-
${Ds(t,(t=>
|
|
4875
|
+
${Ds(t,(t=>HC`
|
|
4882
4876
|
<td colspan="${t?.props.cs||1}" rowspan="${t?.props.rs||1}" style="${i}">
|
|
4883
|
-
${t?
|
|
4884
|
-
<${
|
|
4877
|
+
${t?HC`
|
|
4878
|
+
<${qC.get(t.props.type)}
|
|
4885
4879
|
id="${t.props.key}"
|
|
4886
4880
|
@change=${this._onValueChange}
|
|
4887
4881
|
class="control"
|
|
@@ -4889,24 +4883,24 @@
|
|
|
4889
4883
|
.model="${t}"
|
|
4890
4884
|
.formModel="${this.model}"
|
|
4891
4885
|
.adapter="${t.props.adapter||this.model.options.treeAdapter}">
|
|
4892
|
-
</${
|
|
4893
|
-
${Ds(t.errors,(t=>
|
|
4886
|
+
</${qC.get(t.props.type)}>
|
|
4887
|
+
${Ds(t.errors,(t=>HC`
|
|
4894
4888
|
<div class="error">${Ro(t)}</div>
|
|
4895
4889
|
`))}
|
|
4896
4890
|
`:""}
|
|
4897
4891
|
</td>
|
|
4898
4892
|
`))}
|
|
4899
4893
|
</tr>
|
|
4900
|
-
`}));return
|
|
4894
|
+
`}));return HC`
|
|
4901
4895
|
${t}
|
|
4902
|
-
${this.caption?
|
|
4903
|
-
<div class="body">${this.model?
|
|
4896
|
+
${this.caption?HC`<div class="title">${this.caption}</div>`:""}
|
|
4897
|
+
<div class="body">${this.model?HC`
|
|
4904
4898
|
<table>
|
|
4905
4899
|
<colgroup>${e}</colgroup>
|
|
4906
4900
|
<tbody>${i}</tbody>
|
|
4907
4901
|
</table>
|
|
4908
4902
|
`:""}</div>
|
|
4909
|
-
`}}setSourceData(t){this.model=new
|
|
4903
|
+
`}}setSourceData(t){this.model=new WC(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 WC({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 YC("change",{key:t.model.key,value:t.value,valid:0==t.model.errors.length}))}};ZC.styles=[UC],GC([Is()],ZC.prototype,"key",void 0),GC([Is({type:Object})],ZC.prototype,"adapter",void 0),GC([Is({type:Object})],ZC.prototype,"model",void 0),GC([Is({type:String})],ZC.prototype,"caption",void 0),GC([$s(".control")],ZC.prototype,"controlNodes",void 0),GC([$s(".row")],ZC.prototype,"rowElms",void 0),GC([As("og-overlay")],ZC.prototype,"overlay",void 0),GC([Is({type:Object})],ZC.prototype,"values",void 0),ZC=GC([Es("og-form")],ZC);class XC extends Xd{getForms(){return[{key:0}]}getRows(t){return[]}getColumns(t){return[]}save(t){return!0}getOptions(){return{}}onAction(t){}}const QC={caption:null,buttonsPosition:"bottom",alertsPosition:"bottom",buttons:[],closeAfterSave:!0};function KC(t,e=null){return{...on(t,e),...QC,...e,...t}}const JC=wn`
|
|
4910
4904
|
* {
|
|
4911
4905
|
box-sizing: border-box;
|
|
4912
4906
|
}
|
|
@@ -4942,7 +4936,7 @@
|
|
|
4942
4936
|
min-width: 80px;
|
|
4943
4937
|
text-align: center;
|
|
4944
4938
|
}
|
|
4945
|
-
`;var
|
|
4939
|
+
`;var tM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let eM=class extends _s{constructor(){super(),this.options=KC(),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 Br("form",{key:t.key},null,{bubbles:!0,composed:!0,common:!0}))}},this.renderButton=t=>{const e=Z(t)?t:VC.BUTTON_CONFIG.get(t);return e.key=e.key??(Q(t)?t:null),e.color=e.color||ya.Gray,ns`
|
|
4946
4940
|
<og-button
|
|
4947
4941
|
.text="${e.text}"
|
|
4948
4942
|
.color="${e.color}"
|
|
@@ -4964,7 +4958,7 @@
|
|
|
4964
4958
|
slot="body"
|
|
4965
4959
|
key=${t.key??e.toString()}
|
|
4966
4960
|
.adapter=${this.adapter}
|
|
4967
|
-
.model=${null==this.adapter?new
|
|
4961
|
+
.model=${null==this.adapter?new WC(t):null}
|
|
4968
4962
|
.rows=${t.rows}
|
|
4969
4963
|
.columns=${t.columns}>
|
|
4970
4964
|
</og-form>
|
|
@@ -4980,7 +4974,7 @@
|
|
|
4980
4974
|
</og-container>
|
|
4981
4975
|
${"bottom"==this.options.alertsPosition?e:""}
|
|
4982
4976
|
${"bottom"==this.options.buttonsPosition?t:""}
|
|
4983
|
-
`},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=
|
|
4977
|
+
`},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=KC(e,this.options)}reset(t=!0){this.forms.forEach((t=>t.reset())),t&&this.dispatchEvent(new YC("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 YC("save")),this.options.closeAfterSave&&this.dispatchEvent(new Event("close")))}else t&&this.dispatchEvent(new YC("save"));return this._saving=!1,!0}async initAdapter(){this.showOverlay(),this.config=await this.adapter.getForms(),this.options=KC(await this.adapter.getOptions(),this.options),this.hideOverlay()}async updated(t){t.has("adapter")&&await this.initAdapter()}};eM.styles=[JC],tM([Is({type:Array})],eM.prototype,"config",void 0),tM([Is({type:Object})],eM.prototype,"options",void 0),tM([Is({type:Boolean})],eM.prototype,"collapsibleForms",void 0),tM([Is({type:Object})],eM.prototype,"adapter",void 0),tM([Is({type:Array})],eM.prototype,"alerts",void 0),tM([As("og-overlay")],eM.prototype,"overlay",void 0),tM([$s("og-form")],eM.prototype,"forms",void 0),eM=tM([Es("og-form-container")],eM);var iM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class oM extends Event{constructor(t,e,i){super(t,{bubbles:!0,cancelable:!0,composed:!0}),this.model=e,this.value=i}}class rM extends _s{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 oM("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}}rM.styles=[wn`
|
|
4984
4978
|
:host {
|
|
4985
4979
|
display: block;
|
|
4986
4980
|
box-sizing: border-box;
|
|
@@ -4994,7 +4988,7 @@
|
|
|
4994
4988
|
border: 2px solid var(--og-accent-color);
|
|
4995
4989
|
border-radius: var(--og-base-radius);
|
|
4996
4990
|
}
|
|
4997
|
-
`],
|
|
4991
|
+
`],iM([Is({type:Object})],rM.prototype,"model",void 0),iM([Is({type:Object})],rM.prototype,"formModel",void 0),iM([Is({type:Object})],rM.prototype,"adapter",void 0),iM([Is({type:Object})],rM.prototype,"value",null),iM([Is({type:Boolean,reflect:!0})],rM.prototype,"required",void 0);let nM=class extends rM{constructor(){super(...arguments),this._onChange=t=>{this.updateValue(t.target.value)},this._onKeyDown=t=>{"Enter"==t.key&&this.updateValue(t.target.value)},this.render=()=>ns`
|
|
4998
4992
|
<input
|
|
4999
4993
|
type="text"
|
|
5000
4994
|
.value="${null==this.value?"":this.value}"
|
|
@@ -5002,14 +4996,14 @@
|
|
|
5002
4996
|
@change="${this._onChange}"
|
|
5003
4997
|
@keydown="${this._onKeyDown}"
|
|
5004
4998
|
>
|
|
5005
|
-
`}validate(){super.validate(),this.model&&this.model.props.pattern&&!this.model.props.pattern.test(this.value??"")&&this.model.errors.push("invalid value")}};
|
|
4999
|
+
`}validate(){super.validate(),this.model&&this.model.props.pattern&&!this.model.props.pattern.test(this.value??"")&&this.model.errors.push("invalid value")}};nM.styles=[...rM.styles,wn`
|
|
5006
5000
|
input {
|
|
5007
5001
|
border: 1px solid var(--og-accent-color);
|
|
5008
5002
|
background-color: var(--og-form-background-color);
|
|
5009
5003
|
color: var(--og-text-color);
|
|
5010
5004
|
font-size: var(--og-font-size);
|
|
5011
5005
|
height: 100%;
|
|
5012
|
-
line-height: ${
|
|
5006
|
+
line-height: ${VC.DEFAULT_FORM_ROW_HEIGHT}px;
|
|
5013
5007
|
outline: none;
|
|
5014
5008
|
width: 100%;
|
|
5015
5009
|
border-radius: var(--og-base-radius);
|
|
@@ -5018,7 +5012,7 @@
|
|
|
5018
5012
|
:host([required]) input {
|
|
5019
5013
|
border: none;
|
|
5020
5014
|
}
|
|
5021
|
-
`],
|
|
5015
|
+
`],nM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-form-textinput")],nM);var sM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let aM=class extends rM{constructor(){super(...arguments),this._onChange=t=>{this.dropdown.close(),this.updateValue(null==t.value?null:st(t.value,"#")),this.requestUpdate()},this.render=()=>ns`
|
|
5022
5016
|
<og-dropdown style="${Bs({backgroundColor:this.value?`#${this.value}`:null})}">
|
|
5023
5017
|
<div
|
|
5024
5018
|
slot="label"
|
|
@@ -5032,7 +5026,7 @@
|
|
|
5032
5026
|
@mousedown="${t=>t.stopPropagation()}">
|
|
5033
5027
|
</og-colorpicker>
|
|
5034
5028
|
</og-dropdown>
|
|
5035
|
-
`}};
|
|
5029
|
+
`}};aM.styles=[...rM.styles],sM([As("og-dropdown")],aM.prototype,"dropdown",void 0),aM=sM([Es("og-form-colorinput")],aM);var lM;let cM=class extends rM{constructor(){super(...arguments),lM.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=()=>ns`
|
|
5036
5030
|
<og-tree-dropdown
|
|
5037
5031
|
@change="${this._onChange}"
|
|
5038
5032
|
.adapter="${this.dateAdapter}"
|
|
@@ -5042,11 +5036,11 @@
|
|
|
5042
5036
|
.caption="${this.model.props.caption}"
|
|
5043
5037
|
.placeholder="${this.model.props.placeholder}">
|
|
5044
5038
|
</og-tree-dropdown>
|
|
5045
|
-
`}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,
|
|
5039
|
+
`}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,lM,"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,lM,new Cf(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=Yo(this.value,Eo()),[[this.value,0,1,{value:Zo(Eo())(t)}]]}};lM=new WeakMap,cM.styles=[...rM.styles,wn`
|
|
5046
5040
|
og-tree-dropdown {
|
|
5047
5041
|
height: 100%;
|
|
5048
5042
|
}
|
|
5049
|
-
`],
|
|
5043
|
+
`],cM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-form-dateinput")],cM);let hM=class extends rM{constructor(){super(...arguments),this._onChange=t=>{this.updateValue(t.value)},this.render=()=>ns`
|
|
5050
5044
|
<og-calendar-dropdown
|
|
5051
5045
|
@change="${this._onChange}"
|
|
5052
5046
|
.options="${{selectMode:"single",autoClose:!0,allowEmpty:!0}}"
|
|
@@ -5055,11 +5049,11 @@
|
|
|
5055
5049
|
.caption="${this.model.props.caption}"
|
|
5056
5050
|
.placeholder="${this.model.props.placeholder}">
|
|
5057
5051
|
</og-calendar-dropdown>
|
|
5058
|
-
`}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)?(Yo(this.value,Eo()),new Date(this.value)):this.value instanceof Date?this.value:null}};
|
|
5052
|
+
`}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)?(Yo(this.value,Eo()),new Date(this.value)):this.value instanceof Date?this.value:null}};hM.styles=[...rM.styles,wn`
|
|
5059
5053
|
og-calendar-dropdown {
|
|
5060
5054
|
height: 100%;
|
|
5061
5055
|
}
|
|
5062
|
-
`],
|
|
5056
|
+
`],hM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-form-calendardateinput")],hM);var dM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let uM=class extends rM{validate(){super.validate()}constructor(){super(),this._onKeydown=t=>{switch(t.key){case"ArrowUp":t.preventDefault(),this.up();break;case"ArrowDown":t.preventDefault(),this.down()}},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=()=>ns`
|
|
5063
5057
|
<og-numericinput
|
|
5064
5058
|
?buttons="${!0}"
|
|
5065
5059
|
.min="${this.min}"
|
|
@@ -5068,13 +5062,13 @@
|
|
|
5068
5062
|
.placeholder="${this.model?.props.placeholder}"
|
|
5069
5063
|
@change="${this._onChange}">
|
|
5070
5064
|
</og-numericinput>
|
|
5071
|
-
`,this.addEventListener("keydown",this._onKeydown)}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()}};
|
|
5065
|
+
`,this.addEventListener("keydown",this._onKeydown)}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()}};uM.styles=[...rM.styles,wn`
|
|
5072
5066
|
og-numericinput {
|
|
5073
5067
|
border: 1px solid var(--og-accent-color);
|
|
5074
5068
|
background-color: var(--og-form-background-color);
|
|
5075
5069
|
color: var(--og-text-color);
|
|
5076
5070
|
height: 100%;
|
|
5077
|
-
line-height: ${
|
|
5071
|
+
line-height: ${VC.DEFAULT_FORM_LINE_HEIGHT}px;
|
|
5078
5072
|
width: 100%;
|
|
5079
5073
|
}
|
|
5080
5074
|
|
|
@@ -5096,16 +5090,16 @@
|
|
|
5096
5090
|
:host(:hover) .buttons {
|
|
5097
5091
|
display: block;
|
|
5098
5092
|
}
|
|
5099
|
-
`],
|
|
5093
|
+
`],dM([Is({type:Number})],uM.prototype,"min",void 0),dM([Is({type:Number})],uM.prototype,"max",void 0),uM=dM([Es("og-form-numericinput")],uM);let pM=class extends rM{constructor(){super(...arguments),this.render=()=>ns`
|
|
5100
5094
|
<og-fileinput @change="${t=>this.updateValue(t.value)}"></og-fileinput>
|
|
5101
|
-
`}};
|
|
5095
|
+
`}};pM.styles=[...rM.styles,wn`
|
|
5102
5096
|
og-fileinput {
|
|
5103
5097
|
border-color: var(--og-accent-color);
|
|
5104
5098
|
width: 100%;
|
|
5105
5099
|
}
|
|
5106
|
-
`],
|
|
5100
|
+
`],pM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-form-fileinput")],pM);let gM=class extends rM{get isValid(){return!0}constructor(){super(),this.render=()=>ns`
|
|
5107
5101
|
<og-checkbox .value="${this.value?"checked":"none"}"></og-checkbox>
|
|
5108
|
-
`,this.addEventListener("click",(()=>{this.updateValue(!this.value),this.requestUpdate()}))}};
|
|
5102
|
+
`,this.addEventListener("click",(()=>{this.updateValue(!this.value),this.requestUpdate()}))}};gM.styles=[...rM.styles,wn`
|
|
5109
5103
|
:host {
|
|
5110
5104
|
display: inline-flex;
|
|
5111
5105
|
align-items: center;
|
|
@@ -5115,13 +5109,13 @@
|
|
|
5115
5109
|
og-checkbox {
|
|
5116
5110
|
cursor: pointer;
|
|
5117
5111
|
}
|
|
5118
|
-
`],
|
|
5112
|
+
`],gM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-form-checkbox")],gM);let mM=class extends rM{constructor(){super(...arguments),this.render=()=>ns`
|
|
5119
5113
|
<label
|
|
5120
5114
|
for="${this.model.props.for}"
|
|
5121
5115
|
class="${Ba({required:this.model.props.required})}">
|
|
5122
5116
|
${this.value}
|
|
5123
5117
|
</label>
|
|
5124
|
-
`}};
|
|
5118
|
+
`}};mM.styles=[...rM.styles,wn`
|
|
5125
5119
|
:host {
|
|
5126
5120
|
width: 100%;
|
|
5127
5121
|
border: none !important;
|
|
@@ -5146,7 +5140,7 @@
|
|
|
5146
5140
|
}
|
|
5147
5141
|
*/
|
|
5148
5142
|
|
|
5149
|
-
`],
|
|
5143
|
+
`],mM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-form-label")],mM);var fM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let vM=class extends rM{constructor(){super(...arguments),this._firstOpen=!0,this._onChange=t=>{const e=t.component.selection.serialize(["v"]);this.dropdown.tree.options.selectMode==Em.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=()=>ns`
|
|
5150
5144
|
<og-tree-dropdown
|
|
5151
5145
|
@change="${this._onChange}"
|
|
5152
5146
|
@dropdown.open="${this._onDropdownOpen}"
|
|
@@ -5156,16 +5150,16 @@
|
|
|
5156
5150
|
.caption="${this.model.props.caption}"
|
|
5157
5151
|
.placeholder="${this.model.props.placeholder}">
|
|
5158
5152
|
</og-tree-dropdown>
|
|
5159
|
-
`}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==Em.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)}}};
|
|
5153
|
+
`}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==Em.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)}}};vM.styles=[...rM.styles,wn`
|
|
5160
5154
|
og-tree-dropdown {
|
|
5161
5155
|
height: 100%;
|
|
5162
5156
|
}
|
|
5163
|
-
`],
|
|
5157
|
+
`],fM([As("og-tree-dropdown")],vM.prototype,"dropdown",void 0),vM=fM([Es("og-form-list")],vM);var bM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let yM=class extends Va{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 oM("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}};yM.styles=[...Va.styles,wn`
|
|
5164
5158
|
:host {
|
|
5165
5159
|
width: 100%;
|
|
5166
5160
|
text-align: center;
|
|
5167
5161
|
}
|
|
5168
|
-
`],
|
|
5162
|
+
`],bM([Is({type:Object})],yM.prototype,"model",void 0),bM([Is({type:Object})],yM.prototype,"adapter",void 0),bM([Is({type:String})],yM.prototype,"value",void 0),yM=bM([Es("og-form-button"),$a({props:["color","border","background"]})],yM);var wM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const xM={type:FC.List,value:[],content:{sourceData:[{k:!0,v:"Visible",icon:"eye"},{k:!1,v:"Hidden",icon:"eye-slash"}],options:{allowEmpty:!1,checkboxes:!1,selectMode:Em.Single,autoClose:!0}}},kM=[{caption:"Sheet Settings",controls:[{row:0,col:0,type:FC.Label,value:"Name"},{row:0,col:1,type:FC.TextInput,key:"name",pattern:qf},{row:1,col:0,type:FC.Label,value:"Sheet"},Object.assign({row:1,col:1,key:"visible"},xM),{row:2,col:0,type:FC.Label,value:"Color"},{row:2,col:1,type:FC.ColorInput,key:"color"},{row:3,col:0,type:FC.Label,value:"Grid"},Object.assign({row:3,col:1,key:"grid"},xM),{row:4,col:0,type:FC.Label,value:"Row numbers"},Object.assign({row:4,col:1,key:"rowNumbers"},xM),{row:5,col:0,type:FC.Label,value:"Column letters"},Object.assign({row:5,col:1,key:"colLetters"},xM)],columns:[{width:120},{width:null}]},{caption:"Workbook Settings",controls:[{row:0,col:0,type:FC.Label,value:"Hidden Sheets"},Object.assign({row:0,col:1,key:"hiddenSheetsVisible"},xM)],columns:[{width:120},{width:null}]}];let CM=class extends eM{connectedCallback(){super.connectedCallback(),this.setSourceData(kM)}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}:{}}};CM.styles=[...eM.styles],wM([Is({type:Object})],CM.prototype,"model",void 0),wM([Is({type:Object})],CM.prototype,"grid",void 0),wM([Is({type:Object})],CM.prototype,"group",void 0),CM=wM([Es("og-editor-form-config")],CM);const MM=wn`
|
|
5169
5163
|
:host {
|
|
5170
5164
|
box-sizing: border-box;
|
|
5171
5165
|
display: flex;
|
|
@@ -5200,7 +5194,7 @@
|
|
|
5200
5194
|
left: 0;
|
|
5201
5195
|
//pointer-events: none;
|
|
5202
5196
|
}
|
|
5203
|
-
`,
|
|
5197
|
+
`,_M={commandWindow:!0,editing:{headers:!0,conditionalStyles:!0,names:!0,sparklines:!0}};function SM(t,e=null){return ot({},_M,on(t,e))}var EM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class zM extends Event{constructor(t,e){super(`editor.${t}`,{bubbles:!0,composed:!0}),Object.assign(this,e)}}let LM=class extends _s{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=SM(),this.commandWindowRef=Dd(),this.tabMenuRef=Dd(),this.plugins=new ou(this),this.commands=new ag(this),this.shortcuts=new pn(this),this.sidebarComponents=new tu((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 Mk))),"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=()=>ns`
|
|
5204
5198
|
${this.toolbarDisabled?"":ns`
|
|
5205
5199
|
<og-editor-toolbar
|
|
5206
5200
|
.grid="${this.activeGrid}"
|
|
@@ -5236,7 +5230,7 @@
|
|
|
5236
5230
|
</og-menu>
|
|
5237
5231
|
|
|
5238
5232
|
<og-overlay striped></og-overlay>
|
|
5239
|
-
`,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=
|
|
5233
|
+
`,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=SM(t,this.options),this.requestUpdate()}connectedCallback(){super.connectedCallback(),this.tabIndex=0}willUpdate(t){this.hasUpdated||this.dispatchEvent(new zM("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())}};LM.styles=[MM],EM([As("og-editor-formula")],LM.prototype,"formulaBar",void 0),EM([As("og-splitcontainer")],LM.prototype,"container",void 0),EM([As("og-editor-toolbar")],LM.prototype,"toolbar",void 0),EM([As("og-editor-statusbar")],LM.prototype,"statusbar",void 0),EM([As("og-overlay")],LM.prototype,"overlay",void 0),EM([Is({type:Boolean})],LM.prototype,"enableDrag",void 0),EM([Is({type:Object})],LM.prototype,"model",void 0),EM([Is({attribute:!1})],LM.prototype,"createComponent",void 0),EM([Is({type:Boolean})],LM.prototype,"toolbarDisabled",void 0),EM([Is({type:Boolean})],LM.prototype,"statusbarDisabled",void 0),EM([Is({type:Boolean})],LM.prototype,"formulabarDisabled",void 0),EM([Is({type:Object})],LM.prototype,"options",void 0),EM([Is({type:String})],LM.prototype,"rightSidebarComponent",void 0),EM([Rs()],LM.prototype,"gridElements",void 0),EM([Rs()],LM.prototype,"activeRange",void 0),EM([Rs()],LM.prototype,"activeGrid",void 0),EM([Rs()],LM.prototype,"activeModel",void 0),LM=EM([Es("og-editor")],LM);var IM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let RM=class extends _s{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=()=>ns`
|
|
5240
5234
|
<div id="inner">
|
|
5241
5235
|
<og-slider
|
|
5242
5236
|
cursor="ew-resize"
|
|
@@ -5248,7 +5242,7 @@
|
|
|
5248
5242
|
@slideEnd="${this._onSlideEnd}">
|
|
5249
5243
|
</og-slider>
|
|
5250
5244
|
</div>
|
|
5251
|
-
`}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)}};
|
|
5245
|
+
`}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)}};RM.styles=[wn`
|
|
5252
5246
|
:host {
|
|
5253
5247
|
display: block;
|
|
5254
5248
|
}
|
|
@@ -5263,7 +5257,7 @@
|
|
|
5263
5257
|
width: 200px;
|
|
5264
5258
|
height: 100%;
|
|
5265
5259
|
}
|
|
5266
|
-
`],
|
|
5260
|
+
`],IM([Is({type:Object})],RM.prototype,"group",void 0),IM([As("og-slider")],RM.prototype,"slider",void 0),RM=IM([Es("og-editor-zoom")],RM);const TM=wn`
|
|
5267
5261
|
* {
|
|
5268
5262
|
box-sizing: border-box;
|
|
5269
5263
|
}
|
|
@@ -5308,7 +5302,7 @@
|
|
|
5308
5302
|
display: block;
|
|
5309
5303
|
padding: 0;
|
|
5310
5304
|
}
|
|
5311
|
-
`;var
|
|
5305
|
+
`;var AM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let OM=class extends _s{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,_v(this.formulaInput.inputValue)&&this.grid.editing.startFormulaMode()},this._onInput=()=>{_v(this.formulaInput.inputValue)&&this.grid.editing.startFormulaMode()},this.render=()=>{const t=this.grid?.selection.range;return ns`
|
|
5312
5306
|
<div id="address">
|
|
5313
5307
|
<input id="addressInput"
|
|
5314
5308
|
type="text"
|
|
@@ -5326,13 +5320,13 @@
|
|
|
5326
5320
|
@formula.commit="${this._onInputCommit}"
|
|
5327
5321
|
@formula.discard="${this._onInputDiscard}">
|
|
5328
5322
|
</og-grid-formula>
|
|
5329
|
-
`}}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 hw?(t.value=e,this.grid.rendering.updateCell(t,!0)):t&&_v(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}};
|
|
5323
|
+
`}}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 hw?(t.value=e,this.grid.rendering.updateCell(t,!0)):t&&_v(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}};OM.styles=[TM],AM([Is({type:Object})],OM.prototype,"grid",void 0),AM([Rs()],OM.prototype,"gridElement",void 0),AM([As("#addressInput")],OM.prototype,"addressInput",void 0),AM([As("#formulaInput")],OM.prototype,"formulaInput",void 0),OM=AM([Es("og-editor-formula")],OM);var $M=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let DM=class extends _s{constructor(){super(...arguments),this.stats=[],this.render=()=>ns`
|
|
5330
5324
|
${Ds(this.stats,(t=>ns`
|
|
5331
5325
|
<div class="item">
|
|
5332
5326
|
<span>${t[0]}</span>: <span>${t[1]}</span>
|
|
5333
5327
|
</div>
|
|
5334
5328
|
`))}
|
|
5335
|
-
`}willUpdate(t){if((t.has("grid")||t.has("range"))&&this.range&&this.grid?.model){const t=[],e=this.grid.model.getValuesInRange(pv.fromA1(this.range.A1)),i=ur(this.grid.options.locale,"#,0.###"),o=Wy.get("AVERAGE")(e);o&&t.push(["avg",i(o)]);const r=Wy.get("COUNT")(e);r&&t.push(["cnt",r.toString()]);const n=Wy.get("SUM")(e);n&&t.push(["sum",i(n)]),this.stats=t}}}
|
|
5329
|
+
`}willUpdate(t){if((t.has("grid")||t.has("range"))&&this.range&&this.grid?.model){const t=[],e=this.grid.model.getValuesInRange(pv.fromA1(this.range.A1)),i=ur(this.grid.options.locale,"#,0.###"),o=Wy.get("AVERAGE")(e);o&&t.push(["avg",i(o)]);const r=Wy.get("COUNT")(e);r&&t.push(["cnt",r.toString()]);const n=Wy.get("SUM")(e);n&&t.push(["sum",i(n)]),this.stats=t}}};DM.styles=[wn`
|
|
5336
5330
|
:host {
|
|
5337
5331
|
display: flex;
|
|
5338
5332
|
flex-direction: row;
|
|
@@ -5344,17 +5338,17 @@
|
|
|
5344
5338
|
.item {
|
|
5345
5339
|
flex: 1;
|
|
5346
5340
|
}
|
|
5347
|
-
`]
|
|
5341
|
+
`],$M([Is({type:Object})],DM.prototype,"grid",void 0),$M([Is({type:Object})],DM.prototype,"range",void 0),$M([Rs()],DM.prototype,"stats",void 0),DM=$M([Es("og-editor-gridstats")],DM);var NM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const PM=[{type:"custom",id:"stats"},{type:"custom",id:"zoom"}],jM=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 HM=class extends _s{constructor(){super(...arguments),this.components=new Map,this._onGridEdit=t=>{},this.createComponent=t=>(this.components.has(t)||this.components.set(t,jM.get(t)(this.group)),this.components.get(t)),this.render=()=>ns`
|
|
5348
5342
|
<og-statusbar
|
|
5349
|
-
.rightItems="${
|
|
5343
|
+
.rightItems="${PM}"
|
|
5350
5344
|
.createComponent="${this.createComponent}">
|
|
5351
5345
|
</og-statusbar>
|
|
5352
|
-
`}willUpdate(t){this.components.forEach((t=>{t.group=this.group,t.grid=this.grid,t.range=this.range}))}};
|
|
5346
|
+
`}willUpdate(t){this.components.forEach((t=>{t.group=this.group,t.grid=this.grid,t.range=this.range}))}};NM([Is({type:Object})],HM.prototype,"group",void 0),NM([Is({type:Object})],HM.prototype,"grid",void 0),NM([Is({type:Object})],HM.prototype,"range",void 0),HM=NM([Es("og-editor-statusbar")],HM);const FM=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 ns`
|
|
5353
5347
|
<div style="${Bs(i)}">
|
|
5354
5348
|
<div style="${Bs(o)}"></div>
|
|
5355
5349
|
<div style="${Bs(r)}"></div>
|
|
5356
5350
|
</div>
|
|
5357
|
-
`},
|
|
5351
|
+
`},BM=[{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:FM("left")},{type:"button",id:"borderRight",value:{right:{style:"thin"}},content:FM("right")},{type:"button",id:"borderTop",value:{top:{style:"thin"}},content:FM("top")},{type:"button",id:"borderBottom",value:{bottom:{style:"thin"}},content:FM("bottom")}],[{type:"button",id:"borderNone",value:{left:null,top:null,right:null,bottom:null},content:FM("none")},{type:"button",id:"borderAll",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:FM("all")},{type:"button",id:"borderOutside",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:FM("outside")},{type:"button",id:"borderOutsideThick",value:{left:{style:"thick"},top:{style:"thick"},right:{style:"thick"},bottom:{style:"thick"}},content:FM("outside-thick")}],[{type:"button",id:"borderBottomDouble",value:{bottom:{style:"double"}},content:FM("bottom-double")},{type:"button",id:"borderBottomThick",value:{bottom:{style:"thick"}},content:FM("bottom-thick")},{type:"button",id:"borderTopBottom",value:{top:{style:"thin"},bottom:{style:"thin"}},content:FM("top-bottom")},{type:"button",id:"borderTopBottomThick",value:{top:{style:"thin"},bottom:{style:"thick"}},content:FM("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})}],WM=[{type:"dropdown",id:"theme",width:80,items:[]},{type:"togglebutton",id:"themes",icon:{icon:"palette"},title:"Themes"}],VM=[{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"}],UM=[{type:"togglebutton",id:"config",icon:{icon:"gear"}}],GM=wn`
|
|
5358
5352
|
* {
|
|
5359
5353
|
box-sizing: border-box;
|
|
5360
5354
|
}
|
|
@@ -5373,7 +5367,7 @@
|
|
|
5373
5367
|
width: 10px;
|
|
5374
5368
|
background-color: var(--og-background-color-2);
|
|
5375
5369
|
}
|
|
5376
|
-
`;var
|
|
5370
|
+
`;var qM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let YM=class extends _s{constructor(){super(...arguments),this.toolbar1Config=BM,this.toolbar2Config=WM,this.toolbar3Config=VM,this.toolbar4Config=UM,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 n="preview"==t.action.type,s="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),n||s)for(const e of this.grid.model.getRangeIterator(this.grid.selection.range,n))this.applyProperty(e,t.action,i,r);else this.gridElements?.forEach((e=>this.applyProperty(e,t.action,i,r)));n&&o?this.grid.selecting.hideSelector():s?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 Br("editor.toolbar",t.action))},this.render=()=>{const t=this.getToolbar1Config(),e=this.getToolbar2Config(),i=this.getToolbar3Config(),o=this.getToolbar4Config();return ns`
|
|
5377
5371
|
${t.length>0?ns`
|
|
5378
5372
|
<og-toolbar
|
|
5379
5373
|
id="toolbar1"
|
|
@@ -5415,9 +5409,9 @@
|
|
|
5415
5409
|
@toolbar.action="${this._onToolbarAction}">
|
|
5416
5410
|
</og-toolbar>
|
|
5417
5411
|
`:""}
|
|
5418
|
-
`}}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
|
|
5412
|
+
`}}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 BM[0].disabled=!this.grid?.history||0==this.grid.history.stack.length,BM[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 zM("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 hw&&this.gridElement.merge,t.format=this.gridElement.format,t.hyperlink=this.gridElement instanceof hw?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,n={};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),n.bottom=i.bottom&&(t instanceof hw&&t.r==e.r2||"borderAll"==o)?i.bottom:null,n.top=i.top&&(t instanceof hw&&t.r==e.r1||"borderAll"==o)?i.top:null,n.left=i.left&&(t instanceof hw&&t.c==e.c1||"borderAll"==o)?i.left:null,n.right=i.right&&(t instanceof hw&&t.c==e.c2||"borderAll"==o)?i.right:null,n}applyProperty(t,e,i,o){let{key:r}=e;const n="preview"==e.type;if(n&&t instanceof hw&&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 hw&&t.invalidateStyle();else if(r.startsWith("border")){const e=this.getCellBorderStyles(t,this.grid.selection.range,i,r);n?t instanceof hw&&t.previewStyleProperties(e):t.setStyleProperties(e)}else n?t instanceof hw&&t.previewStyleProperties({[r]:i}):t.setStyleProperties({[r]:i})}async updateToolbar(){this.requestUpdate()}};YM.styles=[GM],qM([As("#toolbar1")],YM.prototype,"toolbar1",void 0),qM([As("#toolbar2")],YM.prototype,"toolbar2",void 0),qM([As("#toolbar3")],YM.prototype,"toolbar3",void 0),qM([As("#toolbar4")],YM.prototype,"toolbar4",void 0),qM([Is({type:Object})],YM.prototype,"grid",void 0),qM([Is({type:Object})],YM.prototype,"editor",void 0),qM([Is({type:Array})],YM.prototype,"gridElements",void 0),qM([Is({type:Array})],YM.prototype,"toolbar1Config",void 0),qM([Is({type:Array})],YM.prototype,"toolbar2Config",void 0),qM([Is({type:Array})],YM.prototype,"toolbar3Config",void 0),qM([Is({type:Array})],YM.prototype,"toolbar4Config",void 0),YM=qM([Es("og-editor-toolbar")],YM);var ZM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let XM=class extends _s{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:FC.Label,value:"Label"}),t.controls.push({row:0,col:1,type:FC.Label,value:"Colspan"}),t.controls.push({row:0,col:2,type:FC.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:FC.TextInput,key:`label-${i}`,value:e.header[i]?.label}),t.controls.push({row:o,col:1,type:FC.NumericInput,key:`colspan-${i}`,value:e.header[i]?.cs||1}),t.controls.push({row:o,col:2,type:FC.NumericInput,key:`rowspan-${i}`,value:e.header[i]?.rs||1}),t.controls.push({row:o,col:3,type:FC.Button,key:`remove-${i}`,options:{color:"red",icon:"trash"}})}t.controls.push({row:this.headerCount+1,col:0,type:FC.Button,key:"add",value:"+",cs:3})}return[t]}constructor(){super(),this.render=()=>ns`
|
|
5419
5413
|
<og-form-container></og-form-container>
|
|
5420
|
-
`,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())}};
|
|
5414
|
+
`,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())}};ZM([Is({type:Object})],XM.prototype,"grid",void 0),ZM([Is({type:Object})],XM.prototype,"range",void 0),ZM([As("og-form-container")],XM.prototype,"formContainer",void 0),ZM([Rs()],XM.prototype,"headerCount",void 0),XM=ZM([Es("og-editor-form-headers")],XM);const QM=wn`
|
|
5421
5415
|
* {
|
|
5422
5416
|
box-sizing: border-box;
|
|
5423
5417
|
}
|
|
@@ -5449,7 +5443,7 @@
|
|
|
5449
5443
|
og-list {
|
|
5450
5444
|
height: 100%;
|
|
5451
5445
|
}
|
|
5452
|
-
`,
|
|
5446
|
+
`,KM=wn`
|
|
5453
5447
|
.p {
|
|
5454
5448
|
padding: 5px;
|
|
5455
5449
|
}
|
|
@@ -5507,7 +5501,7 @@
|
|
|
5507
5501
|
width: 24px;
|
|
5508
5502
|
display: block;
|
|
5509
5503
|
}
|
|
5510
|
-
`;var
|
|
5504
|
+
`;var JM=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let t_=class extends _s{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 ns`
|
|
5511
5505
|
<div class="item-content p">
|
|
5512
5506
|
<div class="item-form">
|
|
5513
5507
|
<div class="row item-header">
|
|
@@ -5552,12 +5546,12 @@
|
|
|
5552
5546
|
<div class="body">
|
|
5553
5547
|
<og-list ?nativeHeight="${!0}"
|
|
5554
5548
|
itemHeight="120"
|
|
5555
|
-
.customStyle=${
|
|
5549
|
+
.customStyle=${KM}
|
|
5556
5550
|
.itemRenderer="${this._itemRenderer}"
|
|
5557
5551
|
.size="${this.model.names.names.size}">
|
|
5558
5552
|
</og-list>
|
|
5559
5553
|
</div>
|
|
5560
|
-
`:""}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?pv.fromA1(r.value):null,o.dataRanges);break;case"dataRange":i.update(e,o.locRange,r.value?pv.fromA1s(r.value).map((t=>[t,null])):null)}}updated(){this.updateList()}};
|
|
5554
|
+
`:""}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?pv.fromA1(r.value):null,o.dataRanges);break;case"dataRange":i.update(e,o.locRange,r.value?pv.fromA1s(r.value).map((t=>[t,null])):null)}}updated(){this.updateList()}};t_.styles=[QM],JM([Is({type:Object})],t_.prototype,"grid",void 0),JM([Is({type:Object})],t_.prototype,"model",void 0),JM([As("og-list")],t_.prototype,"list",void 0),t_=JM([Es("og-editor-form-names")],t_);const e_=wn`
|
|
5561
5555
|
* {
|
|
5562
5556
|
box-sizing: border-box;
|
|
5563
5557
|
}
|
|
@@ -5604,7 +5598,7 @@
|
|
|
5604
5598
|
width: 24px;
|
|
5605
5599
|
display: block;
|
|
5606
5600
|
}
|
|
5607
|
-
`;var
|
|
5601
|
+
`;var i_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let o_=class extends _s{constructor(){super(...arguments),this.render=()=>this.format?ns`
|
|
5608
5602
|
<div class="row">${Ro("Range")}</div>
|
|
5609
5603
|
|
|
5610
5604
|
<div class="row">
|
|
@@ -5617,7 +5611,7 @@
|
|
|
5617
5611
|
</div>
|
|
5618
5612
|
|
|
5619
5613
|
<og-editor-ruleeditor .format="${this.format}"></og-editor-ruleeditor>
|
|
5620
|
-
`:null}updateFormat(){this.format&&(this.rangesInput?this.format.ranges=pv.fromA1s(this.rangesInput.value):this.format.ranges=null)}};
|
|
5614
|
+
`:null}updateFormat(){this.format&&(this.rangesInput?this.format.ranges=pv.fromA1s(this.rangesInput.value):this.format.ranges=null)}};o_.styles=[e_],i_([Is({type:Object})],o_.prototype,"model",void 0),i_([Is({type:Object})],o_.prototype,"format",void 0),i_([As("og-input#ranges")],o_.prototype,"rangesInput",void 0),i_([As("og-input#condition")],o_.prototype,"conditionInput",void 0),o_=i_([Es("og-editor-form-rule")],o_);const r_=wn`
|
|
5621
5615
|
* {
|
|
5622
5616
|
box-sizing: border-box;
|
|
5623
5617
|
}
|
|
@@ -5649,7 +5643,7 @@
|
|
|
5649
5643
|
og-list {
|
|
5650
5644
|
height: 100%;
|
|
5651
5645
|
}
|
|
5652
|
-
`,
|
|
5646
|
+
`,n_=wn`
|
|
5653
5647
|
.item {
|
|
5654
5648
|
padding: 4px;
|
|
5655
5649
|
border-top: 1px solid var(--og-accent-color);
|
|
@@ -5682,14 +5676,14 @@
|
|
|
5682
5676
|
width: 20px;
|
|
5683
5677
|
}
|
|
5684
5678
|
|
|
5685
|
-
`;var
|
|
5679
|
+
`;var s_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const a_={formula:"Formula",scale:"Scale",bar:"Data Bar",icon:"Icon Set"};let l_=class extends _s{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)=>ns`
|
|
5686
5680
|
<div class="header" style="padding-right: ${G.SLIDER_SIZE}px">
|
|
5687
5681
|
<div>Rule #${e+1}</div>
|
|
5688
5682
|
|
|
5689
5683
|
<div>
|
|
5690
5684
|
<og-dropdown-list
|
|
5691
5685
|
.value = "${this.getFormatByIndex(e).type}"
|
|
5692
|
-
.items="${Object.entries(
|
|
5686
|
+
.items="${Object.entries(a_).map((t=>({key:t[0],value:t[1]})))}"
|
|
5693
5687
|
@change="${t=>this.changeType(e,t.value)}">
|
|
5694
5688
|
</og-dropdown-list>
|
|
5695
5689
|
</div>
|
|
@@ -5723,16 +5717,16 @@
|
|
|
5723
5717
|
dynamicItemHeight
|
|
5724
5718
|
?nativeHeight="${!0}"
|
|
5725
5719
|
itemHeight="170"
|
|
5726
|
-
.customStyle=${
|
|
5720
|
+
.customStyle=${n_}
|
|
5727
5721
|
.itemRenderer="${this._itemRenderer}"
|
|
5728
5722
|
.size="${this.model.conditionalFormats.formats.length}">
|
|
5729
5723
|
</og-list>
|
|
5730
5724
|
</div>
|
|
5731
|
-
`:""}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=pv.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()}};
|
|
5725
|
+
`:""}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=pv.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()}};l_.styles=[r_],s_([Is({type:Object})],l_.prototype,"grid",void 0),s_([Is({type:Object})],l_.prototype,"model",void 0),s_([As("og-list")],l_.prototype,"list",void 0),l_=s_([Es("og-editor-rules")],l_);var c_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const h_=[{key:"auto",value:"automatic"},{key:"num",value:"number"},{key:"percent",value:"percent"}],d_={num:"#,##0.00",percent:'#,##0.00" %"'};let u_=class extends _s{constructor(){super(...arguments),this.first=!1,this.allowedTypes=["num","percent"],this._onTypeChange=t=>{"auto"===t.value?this.value=null:d_[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 Yr(this.value))},this.render=()=>ns`
|
|
5732
5726
|
<og-dropdown-list
|
|
5733
5727
|
id="type"
|
|
5734
5728
|
style="flex: 0; min-width: 100px"
|
|
5735
|
-
.items="${
|
|
5729
|
+
.items="${h_.filter((t=>this.allowedTypes.includes(t.key)))}"
|
|
5736
5730
|
.value="${this.value?.t||"auto"}"
|
|
5737
5731
|
@change="${this._onTypeChange}">
|
|
5738
5732
|
</og-dropdown-list>
|
|
@@ -5746,7 +5740,7 @@
|
|
|
5746
5740
|
@change="${this._onChange}"
|
|
5747
5741
|
style="flex: 1">
|
|
5748
5742
|
</og-numericinput>
|
|
5749
|
-
`}get isDisabled(){return this.first&&"percent"===this.value?.t||"auto"===(this.value?.t||"auto")}get format(){return this.value?
|
|
5743
|
+
`}get isDisabled(){return this.first&&"percent"===this.value?.t||"auto"===(this.value?.t||"auto")}get format(){return this.value?d_[this.value.t]:"0"}};u_.styles=wn`
|
|
5750
5744
|
* {
|
|
5751
5745
|
box-sizing: border-box;
|
|
5752
5746
|
}
|
|
@@ -5764,13 +5758,13 @@
|
|
|
5764
5758
|
og-form-numericinput {
|
|
5765
5759
|
height: 100%;
|
|
5766
5760
|
}
|
|
5767
|
-
`,
|
|
5761
|
+
`,c_([Is({type:Object})],u_.prototype,"value",void 0),c_([Is({type:Boolean})],u_.prototype,"first",void 0),c_([Is({type:Array})],u_.prototype,"allowedTypes",void 0),c_([As("og-dropdown-list#type")],u_.prototype,"typeInput",void 0),c_([As("og-numericinput#value")],u_.prototype,"valueInput",void 0),u_=c_([Es("og-editor-rule-threshold")],u_);var p_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const g_=[{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:FM("left")},{type:"button",id:"borderRight",value:{right:{style:"thin"}},content:FM("right")},{type:"button",id:"borderTop",value:{top:{style:"thin"}},content:FM("top")},{type:"button",id:"borderBottom",value:{bottom:{style:"thin"}},content:FM("bottom")}],[{type:"button",id:"borderNone",value:{left:null,top:null,right:null,bottom:null},content:FM("none")},{type:"button",id:"borderAll",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:FM("all")},{type:"button",id:"borderOutside",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:FM("outside")},{type:"button",id:"borderOutsideThick",value:{left:{style:"thick"},top:{style:"thick"},right:{style:"thick"},bottom:{style:"thick"}},content:FM("outside-thick")}],[{type:"button",id:"borderBottomDouble",value:{bottom:{style:"double"}},content:FM("bottom-double")},{type:"button",id:"borderBottomThick",value:{bottom:{style:"thick"}},content:FM("bottom-thick")},{type:"button",id:"borderTopBottom",value:{top:{style:"thin"},bottom:{style:"thin"}},content:FM("top-bottom")},{type:"button",id:"borderTopBottomThick",value:{top:{style:"thin"},bottom:{style:"thick"}},content:FM("top-bottom-thick")}],[{type:"color",id:"borderColor",colspan:4,icon:{icon:"fill"}}]]}];let m_=class extends _s{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 Yr({value:i}))},this.render=()=>ns`
|
|
5768
5762
|
<og-toolbar
|
|
5769
|
-
.items="${
|
|
5763
|
+
.items="${g_}"
|
|
5770
5764
|
.values="${this.styleToToolbarValues(this.data)}"
|
|
5771
5765
|
@toolbar.action="${this._onAction}">
|
|
5772
5766
|
</og-toolbar>
|
|
5773
|
-
`}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()}};
|
|
5767
|
+
`}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()}};m_.styles=[wn`
|
|
5774
5768
|
.row {
|
|
5775
5769
|
height: 30px;
|
|
5776
5770
|
line-height: 30px;
|
|
@@ -5784,7 +5778,7 @@
|
|
|
5784
5778
|
height: 24px;
|
|
5785
5779
|
padding: 0;
|
|
5786
5780
|
}
|
|
5787
|
-
`],
|
|
5781
|
+
`],p_([Is({type:Object})],m_.prototype,"data",void 0),p_([As("og-toolbar")],m_.prototype,"toolbar",void 0),m_=p_([Es("og-editor-form-style")],m_);var f_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const v_=[{k:"auto",v:"auto"},{k:"common",v:"common"}],b_=[{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:v_,placeholder:"<min>"},{type:"text",id:"max",width:80,items:v_,placeholder:"<max>"}];function y_(t){return""===t||null==t?"auto":"auto"==t||"common"==t?t:parseFloat(t)}let w_=class extends _s{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=y_(i.value);break;case"max":o.maxValue=y_(i.value)}},this._itemRenderer=(t,e)=>{const i=this.groupIndexMap.get(e),o=this.model.sparklines.groups.get(i);return ns`
|
|
5788
5782
|
<div class="item-content p">
|
|
5789
5783
|
<div class="item-form">
|
|
5790
5784
|
<div class="row item-header">
|
|
@@ -5821,7 +5815,7 @@
|
|
|
5821
5815
|
<div class="row">Options</div>
|
|
5822
5816
|
<div class="row">
|
|
5823
5817
|
<og-toolbar
|
|
5824
|
-
.items="${
|
|
5818
|
+
.items="${b_}"
|
|
5825
5819
|
.values="${this.getToolbarValues(o)}"
|
|
5826
5820
|
@toolbar.action="${t=>this._onOptionsToolbarAction(t,i)}">
|
|
5827
5821
|
</og-toolbar>
|
|
@@ -5838,12 +5832,12 @@
|
|
|
5838
5832
|
<div class="body">
|
|
5839
5833
|
<og-list ?nativeHeight="${!0}"
|
|
5840
5834
|
itemHeight="170"
|
|
5841
|
-
.customStyle=${
|
|
5835
|
+
.customStyle=${KM}
|
|
5842
5836
|
.itemRenderer="${this._itemRenderer}"
|
|
5843
5837
|
.size="${this.model.sparklines.groups.size}">
|
|
5844
5838
|
</og-list>
|
|
5845
5839
|
</div>
|
|
5846
|
-
`:""}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?pv.fromA1(r.value):null,o.dataRanges);break;case"dataRange":i.update(e,o.locRange,r.value?pv.fromA1s(r.value).map((t=>[t,null])):null)}}getToolbarValues(t){return{chartType:t.type,color:`#${t.style.color}`,min:t.minValue,max:t.maxValue}}};
|
|
5840
|
+
`:""}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?pv.fromA1(r.value):null,o.dataRanges);break;case"dataRange":i.update(e,o.locRange,r.value?pv.fromA1s(r.value).map((t=>[t,null])):null)}}getToolbarValues(t){return{chartType:t.type,color:`#${t.style.color}`,min:t.minValue,max:t.maxValue}}};w_.styles=[QM],f_([Is({type:Object})],w_.prototype,"grid",void 0),f_([Is({type:Object})],w_.prototype,"model",void 0),f_([As("og-list")],w_.prototype,"list",void 0),w_=f_([Es("og-editor-form-sparklines")],w_);var x_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};class k_ extends Jd{}k_.styles=[Jd.styles],x_([Is({type:Object})],k_.prototype,"model",void 0),x_([Is({type:Object})],k_.prototype,"grid",void 0),x_([Is({type:Object})],k_.prototype,"group",void 0),x_([Is({type:Object})],k_.prototype,"range",void 0);var C_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let M_=class extends k_{constructor(){super(...arguments),this._onApplyClick=()=>{this.grid?.model.applyTheme(this.theme,!0),this.grid.refresh()},this.render=()=>ns`
|
|
5847
5841
|
<div class="header">
|
|
5848
5842
|
<og-tree-dropdown
|
|
5849
5843
|
@change="${t=>{this.theme=t.node?this.group.model.themes.get(t.node.key):null}}"
|
|
@@ -5862,7 +5856,7 @@
|
|
|
5862
5856
|
<og-input .value="${this.theme?.name}" style="flex: 0 20px"></og-input>
|
|
5863
5857
|
<og-editor-theme .theme="${this.theme}" style="flex: 1"></og-editor-theme>
|
|
5864
5858
|
</div>
|
|
5865
|
-
`}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}};
|
|
5859
|
+
`}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}};M_.styles=[k_.styles,wn`
|
|
5866
5860
|
:host {
|
|
5867
5861
|
display: flex;
|
|
5868
5862
|
flex-direction: column;
|
|
@@ -5891,7 +5885,7 @@
|
|
|
5891
5885
|
og-input {
|
|
5892
5886
|
display: block;
|
|
5893
5887
|
}
|
|
5894
|
-
`],
|
|
5888
|
+
`],C_([As("og-tree-dropdown")],M_.prototype,"themeList",void 0),C_([Is({type:Object})],M_.prototype,"theme",void 0),M_=C_([Es("og-editor-themesidebar")],M_);var __=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let S_=class extends Jd{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=()=>ns`
|
|
5895
5889
|
<div style="display: flex; flex-direction: column; height: 100%">
|
|
5896
5890
|
<div style="flex: 1; overflow: hidden">
|
|
5897
5891
|
<og-tabcontainer
|
|
@@ -5910,11 +5904,11 @@
|
|
|
5910
5904
|
</og-button>
|
|
5911
5905
|
</div>
|
|
5912
5906
|
</div>
|
|
5913
|
-
`}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)}};
|
|
5907
|
+
`}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)}};S_.styles=[Jd.styles,wn`
|
|
5914
5908
|
:host {
|
|
5915
5909
|
overflow: hidden;
|
|
5916
5910
|
}
|
|
5917
|
-
`],
|
|
5911
|
+
`],__([Is({type:Object})],S_.prototype,"theme",void 0),__([As("og-tabcontainer")],S_.prototype,"tabContainer",void 0),S_=__([Es("og-editor-theme")],S_);var E_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const z_=[{key:null,value:"Static style"},{key:"formula",value:"Formula"},{key:"scale",value:"Scale"},{key:"bar",value:"Data Bar"},{key:"icon",value:"Icon Set"}];let L_=class extends Jd{constructor(){super(...arguments),this._onStyleChange=t=>{this.themeItem.style=t.value},this.render=()=>ns`
|
|
5918
5912
|
<div class="header">
|
|
5919
5913
|
<div style="flex: 1" class="move-handle">${Ro("Rule")} #${this.index+1}</div>
|
|
5920
5914
|
|
|
@@ -5951,7 +5945,7 @@
|
|
|
5951
5945
|
<div class="row">
|
|
5952
5946
|
<og-dropdown-list
|
|
5953
5947
|
.value = "${this.themeItem?.type??null}"
|
|
5954
|
-
.items="${
|
|
5948
|
+
.items="${z_}"
|
|
5955
5949
|
@change="${t=>this.updateRuleType(t.value)}">
|
|
5956
5950
|
</og-dropdown-list>
|
|
5957
5951
|
</div>
|
|
@@ -5968,7 +5962,7 @@
|
|
|
5968
5962
|
</og-editor-styleeditor>
|
|
5969
5963
|
`}
|
|
5970
5964
|
</div>
|
|
5971
|
-
`}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()}};
|
|
5965
|
+
`}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()}};L_.styles=[Jd.styles,wn`
|
|
5972
5966
|
:host {
|
|
5973
5967
|
line-height: 22px;
|
|
5974
5968
|
}
|
|
@@ -6013,7 +6007,7 @@
|
|
|
6013
6007
|
display: flex;
|
|
6014
6008
|
flex-direction: row;
|
|
6015
6009
|
}
|
|
6016
|
-
`],
|
|
6010
|
+
`],E_([Is({type:Number})],L_.prototype,"index",void 0),E_([Is({type:Object})],L_.prototype,"themeItem",void 0),E_([Is({type:String})],L_.prototype,"itemType",void 0),E_([Is({type:Object})],L_.prototype,"editor",void 0),E_([As(".move-handle")],L_.prototype,"moveHandle",void 0),E_([As("og-editor-ruleeditor")],L_.prototype,"ruleEditor",void 0),E_([As("og-editor-styleeditor")],L_.prototype,"styleEditor",void 0),L_=E_([Es("og-editor-themeitem")],L_);var I_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let R_=class extends Jd{constructor(){super(...arguments),this.renderFormulaForm=()=>ns`
|
|
6017
6011
|
<div class="row">${Ro("Condition")}</div>
|
|
6018
6012
|
|
|
6019
6013
|
<div class="row">
|
|
@@ -6122,15 +6116,15 @@
|
|
|
6122
6116
|
`))}
|
|
6123
6117
|
</div>
|
|
6124
6118
|
`:""}
|
|
6125
|
-
`,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=Hr(this.cminColorInput.value)):this.format.cmin=null,this.cmidColorInput?(this.format.cmid=this.format.cmid??{},this.format.cmid.color=Hr(this.cmidColorInput.value)):this.format.cmid=null,this.cmaxColorInput?(this.format.cmax=this.format.cmax??{},this.format.cmax.t="max",this.format.cmax.color=Hr(this.cmaxColorInput.value)):this.format.cmax=null,this.colorInput?this.format.color=Hr(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()}};
|
|
6119
|
+
`,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=Hr(this.cminColorInput.value)):this.format.cmin=null,this.cmidColorInput?(this.format.cmid=this.format.cmid??{},this.format.cmid.color=Hr(this.cmidColorInput.value)):this.format.cmid=null,this.cmaxColorInput?(this.format.cmax=this.format.cmax??{},this.format.cmax.t="max",this.format.cmax.color=Hr(this.cmaxColorInput.value)):this.format.cmax=null,this.colorInput?this.format.color=Hr(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()}};R_.styles=[Jd.styles,wn`
|
|
6126
6120
|
|
|
6127
|
-
`],
|
|
6121
|
+
`],I_([Is({type:Object})],R_.prototype,"format",void 0),I_([As("og-input#ranges")],R_.prototype,"rangesInput",void 0),I_([As("og-input#condition")],R_.prototype,"conditionInput",void 0),I_([As("og-dropdown-colorpicker#cminColor")],R_.prototype,"cminColorInput",void 0),I_([As("og-dropdown-colorpicker#cmidColor")],R_.prototype,"cmidColorInput",void 0),I_([As("og-dropdown-colorpicker#cmaxColor")],R_.prototype,"cmaxColorInput",void 0),I_([As("og-dropdown-colorpicker#color")],R_.prototype,"colorInput",void 0),I_([As("og-dropdown-list#icons")],R_.prototype,"iconList",void 0),I_([As("og-editor-styleeditor#style")],R_.prototype,"styleForm",void 0),I_([$s("og-editor-rule-threshold.threshold")],R_.prototype,"thresholds",void 0),I_([As("og-editor-rule-threshold#cmin")],R_.prototype,"cmin",void 0),I_([As("og-editor-rule-threshold#cmid")],R_.prototype,"cmid",void 0),I_([As("og-editor-rule-threshold#cmax")],R_.prototype,"cmax",void 0),R_=I_([Es("og-editor-ruleeditor")],R_);var T_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const A_=[{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:FM("left")},{type:"button",id:"borderRight",value:{right:{style:"thin"}},content:FM("right")},{type:"button",id:"borderTop",value:{top:{style:"thin"}},content:FM("top")},{type:"button",id:"borderBottom",value:{bottom:{style:"thin"}},content:FM("bottom")}],[{type:"button",id:"borderNone",value:{left:null,top:null,right:null,bottom:null},content:FM("none")},{type:"button",id:"borderAll",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:FM("all")},{type:"button",id:"borderOutside",value:{left:{style:"thin"},top:{style:"thin"},right:{style:"thin"},bottom:{style:"thin"}},content:FM("outside")},{type:"button",id:"borderOutsideThick",value:{left:{style:"thick"},top:{style:"thick"},right:{style:"thick"},bottom:{style:"thick"}},content:FM("outside-thick")}],[{type:"button",id:"borderBottomDouble",value:{bottom:{style:"double"}},content:FM("bottom-double")},{type:"button",id:"borderBottomThick",value:{bottom:{style:"thick"}},content:FM("bottom-thick")},{type:"button",id:"borderTopBottom",value:{top:{style:"thin"},bottom:{style:"thin"}},content:FM("top-bottom")},{type:"button",id:"borderTopBottomThick",value:{top:{style:"thin"},bottom:{style:"thick"}},content:FM("top-bottom-thick")}],[{type:"color",id:"borderColor",colspan:4,icon:{icon:"fill"}}]]}];let O_=class extends _s{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 Yr({value:i}))},this.render=()=>ns`
|
|
6128
6122
|
<og-toolbar
|
|
6129
|
-
.items="${
|
|
6123
|
+
.items="${A_}"
|
|
6130
6124
|
.values="${this.styleToToolbarValues(this.data)}"
|
|
6131
6125
|
@toolbar.action="${this._onAction}">
|
|
6132
6126
|
</og-toolbar>
|
|
6133
|
-
`}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()}};
|
|
6127
|
+
`}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()}};O_.styles=[wn`
|
|
6134
6128
|
.row {
|
|
6135
6129
|
height: 30px;
|
|
6136
6130
|
line-height: 30px;
|
|
@@ -6144,7 +6138,7 @@
|
|
|
6144
6138
|
height: 24px;
|
|
6145
6139
|
padding: 0;
|
|
6146
6140
|
}
|
|
6147
|
-
`],
|
|
6141
|
+
`],T_([Is({type:Object})],O_.prototype,"data",void 0),T_([As("og-toolbar")],O_.prototype,"toolbar",void 0),O_=T_([Es("og-editor-styleeditor")],O_);var $_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let D_=class extends Jd{constructor(){super(...arguments),this.href="",this.render=()=>ns`
|
|
6148
6142
|
<div>
|
|
6149
6143
|
<og-input
|
|
6150
6144
|
.value="${this.href||""}"
|
|
@@ -6158,7 +6152,7 @@
|
|
|
6158
6152
|
color="red">
|
|
6159
6153
|
</og-button>
|
|
6160
6154
|
</div>
|
|
6161
|
-
`}focus(){this.input?.focus(),this.input?.selectAll()}updateValue(t,e=!0){this.href=t,e&&this.dispatchEvent(new Yr({value:this.href}))}}
|
|
6155
|
+
`}focus(){this.input?.focus(),this.input?.selectAll()}updateValue(t,e=!0){this.href=t,e&&this.dispatchEvent(new Yr({value:this.href}))}};D_.styles=[Jd.styles,wn`
|
|
6162
6156
|
:host {
|
|
6163
6157
|
width: 200px;
|
|
6164
6158
|
}
|
|
@@ -6176,7 +6170,7 @@
|
|
|
6176
6170
|
og-button {
|
|
6177
6171
|
flex: 0 20px;
|
|
6178
6172
|
}
|
|
6179
|
-
`]
|
|
6173
|
+
`],$_([Is({type:String})],D_.prototype,"href",void 0),$_([As("og-input")],D_.prototype,"input",void 0),D_=$_([Es("og-hyperlinkeditor")],D_);const N_=wn`
|
|
6180
6174
|
* {
|
|
6181
6175
|
box-sizing: border-box;
|
|
6182
6176
|
}
|
|
@@ -6396,7 +6390,7 @@
|
|
|
6396
6390
|
background-color: color-mix(in srgb, var(--markdown-color-outline), transparent 80%);
|
|
6397
6391
|
pointer-events: none;
|
|
6398
6392
|
}
|
|
6399
|
-
`,
|
|
6393
|
+
`,P_=[wn`
|
|
6400
6394
|
milkdown-block-handle {
|
|
6401
6395
|
transition: all 0.2s;
|
|
6402
6396
|
position: absolute;
|
|
@@ -7312,13 +7306,13 @@ milkdown-block-handle {
|
|
|
7312
7306
|
milkdown-table-block.readonly .handle {
|
|
7313
7307
|
display: none;
|
|
7314
7308
|
}
|
|
7315
|
-
`];var
|
|
7309
|
+
`];var j_,H_,F_=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 B_={};class W_{static init(t){j_.milkdownPath=t}static async get(){return F_(this,j_,"f",H_)||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,j_,await this.load(),"f",H_),Object.assign(B_,F_(this,j_,"f",H_)),F_(this,j_,"f",H_)}static getSync(){return F_(this,j_,"f",H_)}static async load(){return window.Milkdown?window.Milkdown:new Promise(((t,e)=>ln.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 V_(t){const e=await W_.get(),i=e.core.Editor.make(),o=Array.from(xE(i,e,t).entries()).filter((([t,e])=>e.default));return i.config(vE(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 U_(t,e){const i=await V_(Object.assign({},e,{content:t,readOnly:!0})),o=W_.getSync(),r=document.createElement("div"),n=i.ctx.get(o.core.schemaCtx),s=i.ctx.get(o.core.editorViewCtx),a=o.prose.model.DOMSerializer.fromSchema(n).serializeFragment(s.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}j_=W_,H_={value:void 0};var G_,q_,Y_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s},Z_=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)},X_=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 Q_ extends Event{constructor(t){super("markdown.link",{bubbles:!0,composed:!0,cancelable:!0}),Object.assign(this,t)}}let K_=class extends _s{get content(){return Z_(this,G_,"f")}set content(t){X_(this,G_,t,"f"),Z_(this,q_,"f")?.destroy(),X_(this,q_,null,"f"),this.requestUpdate()}get milkdownElm(){return this.container.firstElementChild}get editor(){return Z_(this,q_,"f")}constructor(){super(),G_.set(this,void 0),this.maxContentWidth=800,this.contentAlignment="left",this.readOnly=!1,q_.set(this,void 0),this._onChange=(t,e)=>{X_(this,G_,t,"f"),this.dispatchEvent(new Yr({value:t,oldValue:e}))},this.render=()=>ns`
|
|
7316
7310
|
<style>
|
|
7317
7311
|
.ProseMirror.editor { max-width: ${this.maxContentWidth}px; }
|
|
7318
7312
|
</style>
|
|
7319
7313
|
<div id="container" spellcheck="false"></div>
|
|
7320
7314
|
<og-slider direction="vertical"></og-slider>
|
|
7321
|
-
`,Lt(this,"click","a",((t,e)=>{if(!this.dispatchEvent(new
|
|
7315
|
+
`,Lt(this,"click","a",((t,e)=>{if(!this.dispatchEvent(new Q_({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(){Z_(this,q_,"f")||(X_(this,q_,await V_({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(),Z_(this,q_,"f")?.destroy(),X_(this,q_,null,"f"),St(this.container)}layout(){}};G_=new WeakMap,q_=new WeakMap,K_.styles=[N_,...P_],Y_([Is({type:String})],K_.prototype,"content",null),Y_([Is({type:Number})],K_.prototype,"maxContentWidth",void 0),Y_([Is({type:String,reflect:!0})],K_.prototype,"contentAlignment",void 0),Y_([Is({type:Boolean,reflect:!0})],K_.prototype,"readOnly",void 0),Y_([As("#container")],K_.prototype,"container",void 0),Y_([As("og-slider")],K_.prototype,"slider",void 0),Y_([Is({type:Object})],K_.prototype,"onUpload",void 0),Y_([Is({type:Object})],K_.prototype,"modifyImageUrl",void 0),K_=Y_([Es("og-markdown-editor")],K_);let J_=class extends K_{constructor(){super(),this.readOnly=!0}};J_=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-markdown-view")],J_);var tS,eS,iS,oS,rS,nS=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s},sS=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)},aS=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i};let lS=class extends _s{constructor(){super(...arguments),tS.set(this,Dd()),this.render=()=>ns`
|
|
7322
7316
|
<og-button
|
|
7323
7317
|
icon="plus"
|
|
7324
7318
|
color="transparent"
|
|
@@ -7327,14 +7321,14 @@ milkdown-block-handle {
|
|
|
7327
7321
|
|
|
7328
7322
|
<og-button icon="grip-vertical" color="transparent"></og-button>
|
|
7329
7323
|
|
|
7330
|
-
<og-markdown-block-edit-menu ${jd(
|
|
7324
|
+
<og-markdown-block-edit-menu ${jd(sS(this,tS,"f"))}
|
|
7331
7325
|
@mousedown=${t=>t.stopPropagation()}
|
|
7332
7326
|
style="display: none"
|
|
7333
7327
|
@run=${()=>this.hideMenu()}
|
|
7334
7328
|
.ctx="${this.ctx}"
|
|
7335
7329
|
.md="${this.md}">
|
|
7336
7330
|
</og-markdown-block-edit-menu>
|
|
7337
|
-
`,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
|
|
7331
|
+
`,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 sS(this,tS,"f")?.value}updated(){this.menu.parentNode==this.shadowRoot&&document.body.appendChild(this.menu)}disconnectedCallback(){this.menu&&this.shadowRoot.appendChild(this.menu)}};tS=new WeakMap,lS.styles=wn`
|
|
7338
7332
|
* {
|
|
7339
7333
|
box-sizing: border-box;
|
|
7340
7334
|
}
|
|
@@ -7355,7 +7349,7 @@ milkdown-block-handle {
|
|
|
7355
7349
|
flex: 0;
|
|
7356
7350
|
text-align: center;
|
|
7357
7351
|
}
|
|
7358
|
-
`,
|
|
7352
|
+
`,nS([Is({type:Object})],lS.prototype,"ctx",void 0),nS([Is({type:Object})],lS.prototype,"md",void 0),lS=nS([Es("og-markdown-block-edit")],lS);class cS{constructor(t,e){eS.set(this,void 0),iS.set(this,void 0),oS.set(this,void 0),this.update=()=>{sS(this,eS,"f").update()},this.destroy=()=>{sS(this,eS,"f").destroy()},rS.set(this,(()=>{const t=sS(this,iS,"f"),e=t.get(this.md.core.editorViewCtx);e.hasFocus()||e.focus();const{state:i,dispatch:o}=e,r=sS(this,eS,"f").active;if(!r)return;const n=r.$pos.pos+r.node.nodeSize;let s=i.tr.insert(n,this.md.presets.commonmark.paragraphSchema.type(t).create());if(s=s.setSelection(this.md.prose.state.TextSelection.near(s.doc.resolve(n))),o(s.scrollIntoView()),sS(this,eS,"f").hide(),sS(this,oS,"f").menu){const t=r.el.nextElementSibling;t&&sS(this,oS,"f").showMenu(t)}})),this.md=e,aS(this,iS,t,"f");const i=yt("og-markdown-block-edit");i.ctx=t,i.md=e,i.addEventListener("add",sS(this,rS,"f")),aS(this,oS,i,"f"),aS(this,eS,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()}}eS=new WeakMap,iS=new WeakMap,oS=new WeakMap,rS=new WeakMap;const hS={mode:"preview"};let dS;const uS=()=>(dS||(dS=B_.utils.$ctx({...hS},"linkEditStateCtx")),dS),pS={addLink:()=>{},editLink:()=>{},removeLink:()=>{}};let gS;const mS=()=>gS??(gS=B_.utils.$ctx({...pS},"linkEditAPICtx")),fS={onCopyLink:()=>{},inputPlaceholder:"Paste link..."};let vS;var bS,yS,wS,xS=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},kS=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 CS=class extends _s{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=()=>ns`
|
|
7359
7353
|
<div>
|
|
7360
7354
|
<og-button
|
|
7361
7355
|
.state="${this.isActive(this.commonmark.strongSchema.type(this.ctx))?"checked":"unchecked"}"
|
|
@@ -7389,10 +7383,10 @@ milkdown-block-handle {
|
|
|
7389
7383
|
.state="${this.isActive(this.commonmark.linkSchema.type(this.ctx))?"checked":"unchecked"}"
|
|
7390
7384
|
type="toggle"
|
|
7391
7385
|
icon="link"
|
|
7392
|
-
@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(
|
|
7386
|
+
@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(mS().key).removeLink(e.from,e.to):(this.ctx.get(mS().key).addLink(e.from,e.to),this.dispatchEvent(new Event("hide")))}}">
|
|
7393
7387
|
</og-button>
|
|
7394
7388
|
</div>
|
|
7395
|
-
`,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)}};
|
|
7389
|
+
`,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)}};CS.styles=wn`
|
|
7396
7390
|
* {
|
|
7397
7391
|
box-sizing: border-box;
|
|
7398
7392
|
}
|
|
@@ -7421,7 +7415,7 @@ milkdown-block-handle {
|
|
|
7421
7415
|
flex: 0;
|
|
7422
7416
|
text-align: center;
|
|
7423
7417
|
}
|
|
7424
|
-
`,
|
|
7418
|
+
`,CS=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}([Es("og-markdown-toolbar")],CS);class MS{constructor(t,e,i){bS.set(this,void 0),yS.set(this,void 0),wS.set(this,void 0),this.update=(t,e)=>{kS(this,bS,"f").update(t,e)},this.destroy=()=>{kS(this,bS,"f").destroy(),kS(this,wS,"f").remove()},this.hide=()=>{kS(this,bS,"f").hide()},xS(this,yS,t,"f");const o=yt("og-markdown-toolbar");o.addEventListener("hide",(()=>kS(this,bS,"f").hide())),o.ctx=t,o.md=i,xS(this,wS,o,"f"),xS(this,bS,new i.plugins.tooltip.TooltipProvider({content:kS(this,wS,"f"),offset:10,debounce:20,shouldShow(t){const{doc:e,selection:r}=t.state,{empty:n,from:s,to:a}=r,l=!e.textBetween(s,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||n||l||p)}}),"f"),kS(this,bS,"f").onShow=()=>{xt(kS(this,wS,"f")),kS(this,wS,"f").requestUpdate()},kS(this,bS,"f").onHide=()=>kt(kS(this,wS,"f")),this.update(e)}}function _S(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 SS(t,e,i=null){const o=e.createAndFill(i);return o?t.replaceSelectionWith(o):null}function ES(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)}(_S(i.tr),t,e);o(r.scrollIntoView())}return!0}}function zS(t,e=null){return(i,o)=>{const r=function(t,e,i=null){const{$from:o,$to:r}=t.selection,n=o.blockRange(r),s=n&&W_.getSync().prose.transform.findWrapping(n,e,i);return s?t.wrap(n,s):null}(_S(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}function LS(t,e=null){return(i,o)=>{const r=SS(_S(i.tr),t,e);return!!r&&(o&&o(r.scrollIntoView()),!0)}}bS=new WeakMap,yS=new WeakMap,wS=new WeakMap;const IS={text:"Please enter...",mode:"block"},RS=t=>{const e=t.utils.$ctx(IS,"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&&(!((n=o.doc).childCount<=1)||n.firstChild?.content.size))return null;var n;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 s=r.text??"Please enter...",a=function(t,e,i){const{selection:o}=e;if(!o.empty)return null;const r=o.$anchor,n=r.parent;if(n.content.size>0)return null;const s=t.prose.findParent((t=>"table"===t.type.name))(r);if(s)return null;const a=r.before();return t.prose.view.Decoration.node(a,a+n.nodeSize,{class:"crepe-placeholder","data-placeholder":i})}(t,o,s);return a?t.prose.view.DecorationSet.create(o.doc,[a]):null}}})));return{plugin:i,config:e}};class TS{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 Tf?(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 AS={};var OS,$S=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s},DS=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)},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");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i};let PS=class extends _s{get content(){return DS(this,OS,"f")}set content(t){NS(this,OS,t,"f"),this.requestUpdate()}constructor(){super(),OS.set(this,""),this.editable=!1,this.editing=!1,this.startEdit=()=>{this.editing=!0},this.render=()=>this.editable?ns`
|
|
7425
7419
|
<div class="title">Raw HTML</div>
|
|
7426
7420
|
<div class="body">
|
|
7427
7421
|
${this.editing?ns`
|
|
@@ -7443,7 +7437,7 @@ milkdown-block-handle {
|
|
|
7443
7437
|
<div class="placeholder">${Ro("Insert HTML")}</div>
|
|
7444
7438
|
`}
|
|
7445
7439
|
</div>
|
|
7446
|
-
`:pu(this.content),this.addEventListener("click",(()=>this.startEdit()))}commit(){this.editing=!1,
|
|
7440
|
+
`:pu(this.content),this.addEventListener("click",(()=>this.startEdit()))}commit(){this.editing=!1,NS(this,OS,this.editor.model.getValue(),"f"),this.dispatchEvent(new Yr(DS(this,OS,"f")))}};OS=new WeakMap,PS.styles=wn`
|
|
7447
7441
|
* {
|
|
7448
7442
|
box-sizing: border-box;
|
|
7449
7443
|
}
|
|
@@ -7472,7 +7466,7 @@ milkdown-block-handle {
|
|
|
7472
7466
|
og-code-view, .placeholder {
|
|
7473
7467
|
cursor: pointer;
|
|
7474
7468
|
}
|
|
7475
|
-
|
|
7469
|
+
`,$S([Is({type:String})],PS.prototype,"content",null),$S([Is({type:Boolean})],PS.prototype,"editable",void 0),$S([Is({type:Boolean})],PS.prototype,"editing",void 0),$S([As("og-code-block")],PS.prototype,"editor",void 0),PS=$S([Es("og-markdown-html-block")],PS);class jS{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 HS={};function FS(t){return t.utils.$ctx(HS,"htmlEditorConfigCtx")}function BS(t){return t.utils.$view(t.presets.commonmark.htmlSchema.node,(e=>(e,i,o)=>new jS(t,e,i,o)))}var WS,VS,US,GS,qS,YS,ZS,XS,QS,KS,JS=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},tE=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 eE={from:-1,to:-1,mark:null};class iE{constructor(t,e){this.ctx=t,WS.set(this,void 0),VS.set(this,void 0),US.set(this,void 0),GS.set(this,!1),qS.set(this,{...eE}),this._onChange=t=>{const{from:e,to:i,mark:o}=tE(this,qS,"f");if(null==t.value||""===t.value)this.ctx.get(mS().key).removeLink(e,i);else{const r=this.ctx.get(B_.core.editorViewCtx),n=B_.presets.commonmark.linkSchema.type(this.ctx);if(o&&o.attrs.href===t.value)return void tE(this,KS,"f").call(this);const s=r.state.tr;o&&s.removeMark(e,i,o),s.addMark(e,i,n.create({href:t.value})),r.dispatch(s),tE(this,KS,"f").call(this)}tE(this,YS,"f").call(this)},this.update=t=>{const{state:e}=t,{selection:i}=e;if(!(i instanceof B_.prose.state.TextSelection))return;const{from:o,to:r}=i;o===tE(this,qS,"f").from&&r===tE(this,qS,"f").to||tE(this,KS,"f").call(this)},this.destroy=()=>{tE(this,WS,"f").destroy(),tE(this,US,"f").remove()},this.show=(t,e,i,o)=>{JS(this,qS,{from:e,to:i,mark:t},"f"),o.height=tE(this,US,"f").offsetHeight||20,o.width=tE(this,US,"f").offsetWidth||150,tE(this,WS,"f").show({getBoundingClientRect:()=>o}),tE(this,WS,"f").element.addEventListener("mouseenter",tE(this,ZS,"f")),tE(this,WS,"f").element.addEventListener("mouseleave",tE(this,XS,"f")),tE(this,US,"f").value=t?.attrs.href??"",xt(tE(this,US,"f"))},this.hide=()=>{tE(this,GS,"f")||tE(this,YS,"f").call(this)},YS.set(this,(()=>{kt(tE(this,US,"f")),tE(this,WS,"f").hide(),tE(this,WS,"f").element.removeEventListener("mouseenter",tE(this,ZS,"f")),tE(this,WS,"f").element.removeEventListener("mouseleave",tE(this,XS,"f"))})),ZS.set(this,(()=>{JS(this,GS,!0,"f")})),XS.set(this,(()=>{JS(this,GS,!1,"f")})),QS.set(this,((t,e,i)=>{tE(this,US,"f").value=t;const o=this.ctx.get(B_.core.editorViewCtx);this.show(null,e,i,B_.prose.posToDOMRect(o,e,i));const r=o.state.tr;o.dispatch(r.setSelection(B_.prose.state.TextSelection.create(o.state.doc,e,i)))})),KS.set(this,(()=>{tE(this,WS,"f").hide(),JS(this,qS,{...eE},"f")})),this.addLink=(t,e)=>{JS(this,qS,{from:t,to:e,mark:null},"f"),console.log(this),tE(this,QS,"f").call(this,"",t,e)},this.editLink=(t,e,i)=>{JS(this,qS,{from:e,to:i,mark:t},"f"),tE(this,QS,"f").call(this,t.attrs.href,e,i)},this.removeLink=(t,e)=>{const i=this.ctx.get(B_.core.editorViewCtx),o=i.state.tr;o.removeMark(t,e,B_.presets.commonmark.linkSchema.type(this.ctx)),i.dispatch(o),tE(this,KS,"f").call(this)};const i=yt("og-markdown-linkedit");i.addEventListener("change",this._onChange),i.ctx=t,JS(this,US,i,"f"),JS(this,WS,new B_.plugins.tooltip.TooltipProvider({content:tE(this,US,"f"),offset:10,debounce:0,shouldShow:()=>!1}),"f"),tE(this,WS,"f").update(e),JS(this,VS,t.use(uS().key),"f")}}let oE;function rE(){return oE||(oE=B_.plugins.tooltip.tooltipFactory("MARKDOWN_LINK_EDIT")),oE}WS=new WeakMap,VS=new WeakMap,US=new WeakMap,GS=new WeakMap,qS=new WeakMap,YS=new WeakMap,ZS=new WeakMap,XS=new WeakMap,QS=new WeakMap,KS=new WeakMap;var nE=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let sE=class extends _s{constructor(){super(),this.value="",this.render=()=>ns`
|
|
7476
7470
|
<div class="inner">
|
|
7477
7471
|
<og-icon icon="link"></og-icon>
|
|
7478
7472
|
|
|
@@ -7487,7 +7481,7 @@ milkdown-block-handle {
|
|
|
7487
7481
|
<og-button icon="trash" color="red" @click="${()=>this.dispatchEvent(new Yr({value:null}))}">
|
|
7488
7482
|
</og-button>
|
|
7489
7483
|
</div>
|
|
7490
|
-
`,this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("mouseup",(t=>t.stopPropagation()))}};
|
|
7484
|
+
`,this.addEventListener("click",(t=>t.stopPropagation())),this.addEventListener("mousedown",(t=>t.stopPropagation())),this.addEventListener("mouseup",(t=>t.stopPropagation()))}};sE.styles=wn`
|
|
7491
7485
|
* {
|
|
7492
7486
|
box-sizing: border-box;
|
|
7493
7487
|
}
|
|
@@ -7517,13 +7511,13 @@ milkdown-block-handle {
|
|
|
7517
7511
|
.inner > og-button {
|
|
7518
7512
|
flex: 0 20px;
|
|
7519
7513
|
}
|
|
7520
|
-
`,
|
|
7514
|
+
`,nE([Is({type:String})],sE.prototype,"value",void 0),nE([As("og-input")],sE.prototype,"input",void 0),sE=nE([Es("og-markdown-linkedit")],sE);const aE={configure:function(t){const e=uS();let i;t.update(mS().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 n=function(t,e,i){const o=e.posAtCoords({left:i.clientX,top:i.clientY});if(!o)return;const{pos:r}=o,n=e.state.doc.nodeAt(r);if(!n)return;const s=n.marks.find((e=>e.type===B_.presets.commonmark.linkSchema.mark.type(t)));return s?{show:!0,pos:r,node:n,mark:s}:void 0}(t,o,r);if(n){const t=o.state.doc.resolve(n.pos),e=function(t,e,i,o,r){let n={start:-1,end:-1};return i.nodesBetween(o,r,((i,o)=>{if(n.start>-1)return!1;-1===n.start&&t.isInSet(i.marks)&&e===i&&(n={start:o,end:o+Math.max(i.textContent.length,1)})})),n}(n.mark,n.node,o.state.doc,t.before(),t.after()),r=e.start,s=e.end;i.show(n.mark,r,s,B_.prose.posToDOMRect(o,r,s))}else i.hide()}),200);t.set(rE().key,{props:{handleDOMEvents:{mousemove:o,mouseleave:()=>{setTimeout((()=>{i?.hide()}),200)}}},view:e=>(i=new iE(t,e),i)})},getState:uS,getPlugin:()=>[uS(),mS(),vS??(vS=B_.utils.$ctx({...fS},"linkEditConfigCtx")),rE()].flat()};var lE,cE,hE,dE,uE=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s},pE=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)},gE=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 mE=[{id:"sectionText",title:Ro("Text")},{id:"sectionList",title:Ro("List")},{id:"sectionAdvanced",title:Ro("Advanced")}];let fE=class extends _s{constructor(){super(...arguments),lE.set(this,void 0),cE.set(this,void 0),hE.set(this,(t=>{if(!pE(this,lE,"f")){const t=this.menuItems;gE(this,lE,yt("og-menu"),"f"),pE(this,lE,"f").dynamicWidth=!1,pE(this,lE,"f").disabledFocus=!0,pE(this,lE,"f").style.width="100%",pE(this,lE,"f").style.height="100%",pE(this,lE,"f").style.border="none",pE(this,lE,"f").items=t,pE(this,lE,"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")))})),pE(this,lE,"f").addEventListener("mousedown",(t=>{t.stopPropagation(),t.preventDefault()}))}return pE(this,lE,"f")})),dE.set(this,(t=>{if(pE(this,lE,"f")?.list){const e=this.menuItems.findIndex((e=>e.key===t.tab.id));e>-1&&pE(this,lE,"f").list.scrollToIndex(e)}})),this.render=()=>ns`
|
|
7521
7515
|
<og-tabcontainer
|
|
7522
|
-
.createComponent="${
|
|
7523
|
-
.items="${
|
|
7524
|
-
@tab.select="${
|
|
7516
|
+
.createComponent="${pE(this,hE,"f")}"
|
|
7517
|
+
.items="${mE}"
|
|
7518
|
+
@tab.select="${pE(this,dE,"f")}">
|
|
7525
7519
|
</og-tabcontainer>
|
|
7526
|
-
`}get menuItems(){return
|
|
7520
|
+
`}get menuItems(){return pE(this,cE,"f")??gE(this,cE,(t=>[{key:"sectionText",value:Ro("Text"),divider:!0,type:"label"},{key:"text",value:Ro("Text"),icon:"text",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;ES(t.presets.commonmark.paragraphSchema.type(e))(r,o)}},...new Array(6).fill(0).map(((e,i)=>({key:`square${i+1}`,value:Ro("Heading")+(i+1),icon:`square-${i+1}`,onRun:e=>{const o=e.get(t.core.editorViewCtx),{dispatch:r,state:n}=o;ES(t.presets.commonmark.headingSchema.type(e),{level:i+1})(n,r)}}))),{key:"quote",value:Ro("Quote"),icon:"quote-right",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;zS(t.presets.commonmark.blockquoteSchema.type(e))(r,o)}},{key:"divider",value:Ro("Divider"),icon:"horizontal-rule",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;LS(t.presets.commonmark.hrSchema.type(e))(r,o)}},{key:"sectionList",value:Ro("List"),divider:!0,type:"label"},{key:"bulletList",value:Ro("Bullet List"),icon:"list",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;zS(t.presets.commonmark.bulletListSchema.type(e))(r,o)}},{key:"orderedList",value:Ro("Ordered List"),icon:"list-ol",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;zS(t.presets.commonmark.orderedListSchema.type(e))(r,o)}},{key:"todoList",value:Ro("Todo List"),icon:"list-check",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;zS(t.presets.commonmark.listItemSchema.type(e),{checked:!1})(r,o)}},{key:"sectionAdvanced",value:Ro("Advanced"),divider:!0,type:"label"},{key:"image",value:Ro("Image"),icon:"image",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;LS(t.components.imageBlock.imageBlockSchema.type(e))(r,o)}},{key:"html",value:Ro("Raw HTML"),icon:"code",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i,n=SS(_S(r.tr),t.presets.commonmark.htmlSchema.type(e),null);o(n.scrollIntoView()),requestAnimationFrame((()=>{const t=i.domAtPos(n.selection.$anchor.pos)?.node;if(t){const e=t.querySelector("og-markdown-html-block");e?.startEdit()}}))}},{key:"code",value:Ro("Code"),icon:"code",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i;LS(t.presets.commonmark.codeBlockSchema.type(e))(r,o)}},{key:"table",value:Ro("Table"),icon:"table",onRun:e=>{const i=e.get(t.core.editorViewCtx),{dispatch:o,state:r}=i,n=_S(r.tr),s=t.presets.gfm.createTable(e,3,3);n.replaceSelectionWith(s);const{from:a}=n.selection,l=a-s.nodeSize+2;o(n),requestAnimationFrame((()=>{const e=t.prose.state.NodeSelection.create(i.state.tr.doc,l);o(i.state.tr.setSelection(e).scrollIntoView())}))}}])(this.md),"f")}};function vE(t,e){return i=>{i.inject(e.ctx.createSlice([],"FeaturesCtx"),t)}}lE=new WeakMap,cE=new WeakMap,hE=new WeakMap,dE=new WeakMap,fE.styles=wn`
|
|
7527
7521
|
* {
|
|
7528
7522
|
box-sizing: border-box;
|
|
7529
7523
|
}
|
|
@@ -7541,15 +7535,15 @@ milkdown-block-handle {
|
|
|
7541
7535
|
width: 100%;
|
|
7542
7536
|
height: 100%;
|
|
7543
7537
|
}
|
|
7544
|
-
`,
|
|
7538
|
+
`,uE([Is({type:Object})],fE.prototype,"ctx",void 0),uE([Is({type:Object})],fE.prototype,"md",void 0),fE=uE([Es("og-markdown-block-edit-menu")],fE);const bE=(t,e)=>t.atomico.html`<og-icon icon=${e}></og-icon>`;var yE;!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"}(yE||(yE={}));const wE=t=>async e=>{if(!e)return null;const i=t(e);return"string"==typeof e?i:await i};function xE(t,e,i){const o=i.modifyImageUrl?wE(i.modifyImageUrl):null;return new Map([[yE.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 cS(t,e)})})).use(e.plugins.block.block)}}],[yE.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)}}],[yE.ImageBlock,{default:!0,init:()=>{t.config((t=>{t.update(e.components.imageInline.inlineImageConfig.key,(t=>({uploadButton:()=>bE(e,"upload"),imageIcon:()=>bE(e,"image"),confirmButton:()=>bE(e,"check"),uploadPlaceholderText:"or paste link",onUpload:i.onUpload,proxyDomURL:o}))),t.update(e.components.imageBlock.imageBlockConfig.key,(t=>({uploadButton:()=>"Upload file",imageIcon:()=>bE(e,"image"),captionIcon:()=>bE(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)}}],[yE.LinkTooltip,{default:!0,init:()=>{const e=aE.getPlugin();console.log(e),t.config(aE.configure).use(e)}}],[yE.Toolbar,{default:!0,init:()=>{const i=e.plugins.tooltip.tooltipFactory("MARKDOWN_TOOLBAR");t.config((t=>{t.set(i.key,{view:i=>new MS(t,i,e)})})).use(i)}}],[yE.Placeholder,{default:!0,init:()=>{const{config:i,plugin:o}=RS(e);t.config((t=>{t.update(i.key,(t=>({...t})))})).use(o).use(i)}}],[yE.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 bE(e,"plus");case"delete_row":case"delete_col":return bE(e,"trash");case"align_col_left":return bE(e,"align-left");case"align_col_center":return bE(e,"align-center");case"align_col_right":return bE(e,"align-right");case"col_drag_handle":return bE(e,"grip-lines-vertical");case"row_drag_handle":return bE(e,"grip-lines")}}})))})).use(e.components.tableBlock.tableBlock)}}],[yE.CodeEditor,{default:!0,init:()=>{const i=function(t){return t.utils.$ctx(AS,"codeEditorConfigCtx")}(e),o=function(t){return t.utils.$view(t.presets.commonmark.codeBlockSchema.node,(e=>(e,i,o)=>new TS(t,e,i,o)))}(e);t.config((t=>{t.update(i.key,(t=>({})))})).use([o,i])}}],[yE.Html,{default:!0,init:()=>{const i=FS(e),o=BS(e);t.config((t=>{t.update(i.key,(t=>({})))})).use([o,i])}}]])}const kE={STATUSBAR_HEIGHT:22,...G},CE=wn`
|
|
7545
7539
|
* {
|
|
7546
7540
|
box-sizing: border-box;
|
|
7547
7541
|
}
|
|
7548
7542
|
|
|
7549
7543
|
:host {
|
|
7550
7544
|
display: block;
|
|
7551
|
-
height: ${
|
|
7552
|
-
line-height: ${
|
|
7545
|
+
height: ${kE.STATUSBAR_HEIGHT}px;
|
|
7546
|
+
line-height: ${kE.STATUSBAR_HEIGHT}px;
|
|
7553
7547
|
background-color: var(--og-accent-color-alpha-70);
|
|
7554
7548
|
display: flex;
|
|
7555
7549
|
flex-direction: row;
|
|
@@ -7585,7 +7579,7 @@ milkdown-block-handle {
|
|
|
7585
7579
|
padding: 0 4px;
|
|
7586
7580
|
}
|
|
7587
7581
|
|
|
7588
|
-
`;var
|
|
7582
|
+
`;var ME=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let _E=class extends _s{constructor(){super(...arguments),this.components=new Map,this.render=()=>ns`
|
|
7589
7583
|
<div id="left">
|
|
7590
7584
|
${Ds(this.leftItems,(t=>"button"==t.type?ns`<div class="item"><og-button icon="${t.icon}" text="${t.text}" color="transparent"></og-button></div>`:ns`<div class="item custom">${this.createComponent(t.id)}</div>`))}
|
|
7591
7585
|
</div>
|
|
@@ -7595,13 +7589,13 @@ milkdown-block-handle {
|
|
|
7595
7589
|
<div id="right">
|
|
7596
7590
|
${Ds(this.rightItems,(t=>"button"==t.type?ns`<div class="item"><og-button icon="${t.icon}" text="${t.text}" color="transparent"></og-button></div>`:ns`<div class="item custom">${this.createComponent(t.id)}</div>`))}
|
|
7597
7591
|
</div>
|
|
7598
|
-
`}layout(){}};
|
|
7592
|
+
`}layout(){}};_E.styles=[CE],ME([Is({type:Array})],_E.prototype,"leftItems",void 0),ME([Is({type:Array})],_E.prototype,"rightItems",void 0),ME([Is({type:Object})],_E.prototype,"createComponent",void 0),ME([$s(".itemcustom")],_E.prototype,"customComponents",void 0),_E=ME([Es("og-statusbar")],_E);const SE=new Map([["button",{}],["togglebutton",{}],["dropdown",{}],["dropdown-button",{width:"38px"}],["color",{width:"38px"}],["text",{width:"100px"}]]);function EE(t){const e={...SE.get(t.type)};return e.display=t.hidden?"none":null,t.width&&(e.width=$t(t.width)),t.gap&&(e.marginLeft=$t(t.gap)),e}const zE=new Map([["button",t=>ns`
|
|
7599
7593
|
<og-toolbar-button
|
|
7600
7594
|
data-id="${t.id}"
|
|
7601
7595
|
class="control"
|
|
7602
7596
|
.item="${t}"
|
|
7603
7597
|
?disabled="${t.disabled}"
|
|
7604
|
-
style="${Bs(
|
|
7598
|
+
style="${Bs(EE(t))}">
|
|
7605
7599
|
</og-toolbar-button>
|
|
7606
7600
|
`],["togglebutton",(t,e)=>ns`
|
|
7607
7601
|
<og-toolbar-button
|
|
@@ -7610,7 +7604,7 @@ milkdown-block-handle {
|
|
|
7610
7604
|
.item="${t}"
|
|
7611
7605
|
type="toggle"
|
|
7612
7606
|
state="${e?"checked":"unchecked"}"
|
|
7613
|
-
style="${Bs(
|
|
7607
|
+
style="${Bs(EE(t))}">
|
|
7614
7608
|
</og-toolbar-button>
|
|
7615
7609
|
`],["dropdown",(t,e)=>ns`
|
|
7616
7610
|
<og-toolbar-dropdown
|
|
@@ -7618,7 +7612,7 @@ milkdown-block-handle {
|
|
|
7618
7612
|
class="control"
|
|
7619
7613
|
.item="${t}"
|
|
7620
7614
|
.value="${e}"
|
|
7621
|
-
style="${Bs(
|
|
7615
|
+
style="${Bs(EE(t))}">
|
|
7622
7616
|
</og-toolbar-dropdown>
|
|
7623
7617
|
`],["dropdown-custom",(t,e)=>ns`
|
|
7624
7618
|
<og-toolbar-customdropdown
|
|
@@ -7626,21 +7620,21 @@ milkdown-block-handle {
|
|
|
7626
7620
|
class="control"
|
|
7627
7621
|
.item="${t}"
|
|
7628
7622
|
.value="${e}"
|
|
7629
|
-
style="${Bs(
|
|
7623
|
+
style="${Bs(EE(t))}">
|
|
7630
7624
|
</og-toolbar-customdropdown>
|
|
7631
7625
|
`],["dropdown-button",t=>ns`
|
|
7632
7626
|
<og-toolbar-dropdownbutton
|
|
7633
7627
|
data-id="${t.id}"
|
|
7634
7628
|
class="control"
|
|
7635
7629
|
.item="${t}"
|
|
7636
|
-
style="${Bs(
|
|
7630
|
+
style="${Bs(EE(t))}">
|
|
7637
7631
|
</og-toolbar-dropdownbutton>
|
|
7638
7632
|
`],["dropdown-menu",t=>ns`
|
|
7639
7633
|
<og-toolbar-dropdownmenu
|
|
7640
7634
|
data-id="${t.id}"
|
|
7641
7635
|
class="control"
|
|
7642
7636
|
.item="${t}"
|
|
7643
|
-
style="${Bs(
|
|
7637
|
+
style="${Bs(EE(t))}">
|
|
7644
7638
|
</og-toolbar-dropdownmenu>
|
|
7645
7639
|
`],["color",(t,e)=>ns`
|
|
7646
7640
|
<og-toolbar-colorpicker
|
|
@@ -7648,7 +7642,7 @@ milkdown-block-handle {
|
|
|
7648
7642
|
class="control"
|
|
7649
7643
|
.item="${t}"
|
|
7650
7644
|
.value="${e}"
|
|
7651
|
-
style="${Bs(
|
|
7645
|
+
style="${Bs(EE(t))}">
|
|
7652
7646
|
</og-toolbar-colorpicker>
|
|
7653
7647
|
`],["text",(t,e)=>ns`
|
|
7654
7648
|
<og-toolbar-text
|
|
@@ -7656,18 +7650,18 @@ milkdown-block-handle {
|
|
|
7656
7650
|
class="control"
|
|
7657
7651
|
.item="${t}"
|
|
7658
7652
|
.value="${e}"
|
|
7659
|
-
style="${Bs(
|
|
7653
|
+
style="${Bs(EE(t))}">
|
|
7660
7654
|
</og-toolbar-text>
|
|
7661
7655
|
`],["label",(t,e)=>ns`
|
|
7662
|
-
<label style="${Bs(
|
|
7663
|
-
`]]),
|
|
7656
|
+
<label style="${Bs(EE(t))}">${e}</label>
|
|
7657
|
+
`]]),LE={TOOLBAR_HEIGHT:30,TOOLBAR_COMPONENT_SIZE_BASE:24,TOOLBAR_TOOLTIP_DELAY:200,...G},IE=(LE.TOOLBAR_HEIGHT-LE.TOOLBAR_COMPONENT_SIZE_BASE)/2,RE=wn`
|
|
7664
7658
|
* {
|
|
7665
7659
|
box-sizing: border-box;
|
|
7666
7660
|
}
|
|
7667
7661
|
|
|
7668
7662
|
:host {
|
|
7669
7663
|
display: block;
|
|
7670
|
-
height: ${
|
|
7664
|
+
height: ${LE.TOOLBAR_HEIGHT}px;
|
|
7671
7665
|
background-color: var(--og-background-color-2);
|
|
7672
7666
|
display: flex;
|
|
7673
7667
|
font-size: var(--og-font-size);
|
|
@@ -7681,8 +7675,8 @@ milkdown-block-handle {
|
|
|
7681
7675
|
display: flex;
|
|
7682
7676
|
flex-direction: row;
|
|
7683
7677
|
align-items: center;
|
|
7684
|
-
gap: ${
|
|
7685
|
-
padding-left: ${
|
|
7678
|
+
gap: ${IE}px;
|
|
7679
|
+
padding-left: ${IE}px;
|
|
7686
7680
|
}
|
|
7687
7681
|
|
|
7688
7682
|
.inner>* {
|
|
@@ -7696,31 +7690,31 @@ milkdown-block-handle {
|
|
|
7696
7690
|
og-button {
|
|
7697
7691
|
box-sizing: border-box;
|
|
7698
7692
|
display: block;
|
|
7699
|
-
width: ${
|
|
7700
|
-
height: ${
|
|
7701
|
-
max-height: ${
|
|
7702
|
-
line-height: ${
|
|
7703
|
-
min-width: ${
|
|
7693
|
+
width: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7694
|
+
height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7695
|
+
max-height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7696
|
+
line-height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7697
|
+
min-width: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7704
7698
|
padding: 0;
|
|
7705
7699
|
}
|
|
7706
7700
|
|
|
7707
7701
|
og-toolbar-dropdownbutton, og-toolbar-colorpicker {
|
|
7708
|
-
min-width: ${
|
|
7709
|
-
height: ${
|
|
7710
|
-
max-height: ${
|
|
7702
|
+
min-width: ${LE.TOOLBAR_COMPONENT_SIZE_BASE+14}px;
|
|
7703
|
+
height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7704
|
+
max-height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7711
7705
|
}
|
|
7712
7706
|
|
|
7713
7707
|
og-dropdown {
|
|
7714
7708
|
min-width: 100px;
|
|
7715
|
-
height: ${
|
|
7716
|
-
max-height: ${
|
|
7709
|
+
height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7710
|
+
max-height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7717
7711
|
}
|
|
7718
7712
|
|
|
7719
7713
|
label {
|
|
7720
7714
|
white-space: nowrap;
|
|
7721
7715
|
}
|
|
7722
7716
|
|
|
7723
|
-
`;var
|
|
7717
|
+
`;var TE=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let AE=class extends _s{get tooltip(){return this.tooltipRef.value}constructor(){super(),this.values={},this.controls=new Map,this.tooltipRef=Dd(),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")),LE.TOOLBAR_TOOLTIP_DELAY))},this._onItemMouseLeave=()=>{this.tooltip.hide(),window.clearTimeout(this._tooltipTimeout)},this.render=()=>ns`
|
|
7724
7718
|
<div class="inner">
|
|
7725
7719
|
${Ds(this.items,(t=>ns`
|
|
7726
7720
|
<div
|
|
@@ -7728,21 +7722,21 @@ milkdown-block-handle {
|
|
|
7728
7722
|
data-tooltip="${Ro(t.title)}"
|
|
7729
7723
|
@mouseenter="${this._onItemMouseEnter}"
|
|
7730
7724
|
@mouseleave="${this._onItemMouseLeave}">
|
|
7731
|
-
${
|
|
7725
|
+
${zE.get(t.type)(t,(this.values?this.values[t.id]:void 0)??t.value)}
|
|
7732
7726
|
</div>
|
|
7733
7727
|
`))}
|
|
7734
7728
|
|
|
7735
7729
|
<og-tooltip id="tooltip" style="display: none" color="accent" ${jd(this.tooltipRef)}></og-tooltip>
|
|
7736
7730
|
</div>
|
|
7737
7731
|
<div class="empty"> </div>
|
|
7738
|
-
`,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)))}};
|
|
7732
|
+
`,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)))}};AE.styles=[RE],TE([Is({type:Array})],AE.prototype,"items",void 0),TE([Is({type:Object})],AE.prototype,"values",void 0),AE=TE([Es("og-toolbar")],AE);var OE=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let $E=class extends Va{constructor(){super(),this.color=null}firstUpdated(){this.addEventListener("click",(()=>{Wr(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?ya.Gray:ya.Accent,this.item.content&&Ms(ns`<div slot="content">${this.item.content}</div>`,this)),super.willUpdate(t)}};$E.styles=[...Va.styles,wn`
|
|
7739
7733
|
:host {
|
|
7740
7734
|
box-sizing: border-box;
|
|
7741
7735
|
display: block;
|
|
7742
|
-
min-width: ${
|
|
7743
|
-
height: ${
|
|
7736
|
+
min-width: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7737
|
+
height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7744
7738
|
}
|
|
7745
|
-
`],
|
|
7739
|
+
`],OE([Is({type:Object})],$E.prototype,"item",void 0),$E=OE([Es("og-toolbar-button")],$E);var DE=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let NE=class extends _s{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,Wr(this,"toolbar",{type:"change",key:this.item.id,value:this.value})},this.render=()=>ns`
|
|
7746
7740
|
<og-tree-dropdown
|
|
7747
7741
|
color="gray"
|
|
7748
7742
|
@change="${this._onChange}"
|
|
@@ -7750,23 +7744,23 @@ milkdown-block-handle {
|
|
|
7750
7744
|
.caption="${this.item.caption}"
|
|
7751
7745
|
.value="${this.getValue()}">
|
|
7752
7746
|
</og-tree-dropdown>
|
|
7753
|
-
`}updated(){this.item.width&&Nt(this.tree,{w:this.item.width}),this.item.adapter||this.tree.setSourceData(this.item.items,{globalLevels:!1,selectMode:Em.Single,checkboxes:!1,expanders:!1})}getValue(){return Array.isArray(this.value)?this.value:null==this.value?null:[[this.value,0,1]]}};
|
|
7747
|
+
`}updated(){this.item.width&&Nt(this.tree,{w:this.item.width}),this.item.adapter||this.tree.setSourceData(this.item.items,{globalLevels:!1,selectMode:Em.Single,checkboxes:!1,expanders:!1})}getValue(){return Array.isArray(this.value)?this.value:null==this.value?null:[[this.value,0,1]]}};NE.styles=[wn`
|
|
7754
7748
|
:host {
|
|
7755
7749
|
display: flex;
|
|
7756
7750
|
flex-direction: row;
|
|
7757
|
-
height: ${
|
|
7751
|
+
height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7758
7752
|
}
|
|
7759
7753
|
|
|
7760
7754
|
og-tree-dropdown {
|
|
7761
7755
|
height: 100%;
|
|
7762
7756
|
}
|
|
7763
|
-
`]
|
|
7757
|
+
`],DE([As("og-tree-dropdown")],NE.prototype,"tree",void 0),DE([Is({type:Object})],NE.prototype,"item",void 0),DE([Is({type:String})],NE.prototype,"value",void 0),NE=DE([Es("og-toolbar-dropdown")],NE);var PE=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let jE=class extends yu{willUpdate(t){super.willUpdate(t),this.style.width=$t(this.item.width||(this.item.text?null:23)),this.style.textAlign=this.item.text?"left":"center",this.icon=this.item.icon,this.color=ya.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(),Wr(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()}};jE.styles=[...yu.styles,wn`
|
|
7764
7758
|
:host {
|
|
7765
7759
|
display: flex;
|
|
7766
7760
|
flex-direction: row;
|
|
7767
|
-
height: ${
|
|
7761
|
+
height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7768
7762
|
}
|
|
7769
|
-
`],
|
|
7763
|
+
`],PE([Is({type:Object})],jE.prototype,"item",void 0),PE([Is({type:String})],jE.prototype,"value",void 0),jE=PE([Es("og-toolbar-customdropdown")],jE);var HE=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let FE=class extends _s{constructor(){super(...arguments),this.gridRef=Dd(),this.treeRef=Dd(),this.dropdownRef=Dd(),this.mode="button",this.render=()=>ns`
|
|
7770
7764
|
${"button"==this.mode?ns`
|
|
7771
7765
|
<og-toolbar-button
|
|
7772
7766
|
.item="${this.isGridDropdown?this.currentItem:this.item}">
|
|
@@ -7779,7 +7773,7 @@ milkdown-block-handle {
|
|
|
7779
7773
|
.width="${this.isGridDropdown?0:this.item.width}"
|
|
7780
7774
|
.color="${this.item.color||"gray"}"
|
|
7781
7775
|
.icon="${"button"==this.mode?null:this.item.icon}"
|
|
7782
|
-
.positionOffset="${this.isGridDropdown?-
|
|
7776
|
+
.positionOffset="${this.isGridDropdown?-LE.TOOLBAR_COMPONENT_SIZE_BASE:0}">
|
|
7783
7777
|
${this.isGridDropdown?ns`
|
|
7784
7778
|
<og-toolbar-grid ${jd(this.gridRef)}
|
|
7785
7779
|
slot="content"
|
|
@@ -7792,18 +7786,18 @@ milkdown-block-handle {
|
|
|
7792
7786
|
</og-tree>
|
|
7793
7787
|
`}
|
|
7794
7788
|
</og-dropdown>
|
|
7795
|
-
`}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,Wr(this,"toolbar",{type:"preview",key:i.item.id,value:i.item.value}))})),this.grid.addEventListener("mouseleave",(()=>{Wr(this,"toolbar",{type:"previewEnd",key:t,value:null}),t=null})),this.grid.addEventListener("toolbar.action",(t=>{Wr(this,"toolbar",t.action)}))}else this.tree.setSourceData(this.item.items||[],{checkboxes:!1}),this.tree.addEventListener("select",(t=>{this.dropdown.close(),Wr(this,"toolbar",{type:"select",key:t.node.key,value:t.node.value})}));this.button?.addEventListener("click",(()=>{Wr(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}};
|
|
7789
|
+
`}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,Wr(this,"toolbar",{type:"preview",key:i.item.id,value:i.item.value}))})),this.grid.addEventListener("mouseleave",(()=>{Wr(this,"toolbar",{type:"previewEnd",key:t,value:null}),t=null})),this.grid.addEventListener("toolbar.action",(t=>{Wr(this,"toolbar",t.action)}))}else this.tree.setSourceData(this.item.items||[],{checkboxes:!1}),this.tree.addEventListener("select",(t=>{this.dropdown.close(),Wr(this,"toolbar",{type:"select",key:t.node.key,value:t.node.value})}));this.button?.addEventListener("click",(()=>{Wr(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}};FE.styles=[wn`
|
|
7796
7790
|
:host {
|
|
7797
7791
|
display: flex;
|
|
7798
7792
|
flex-direction: row;
|
|
7799
|
-
max-height: ${
|
|
7793
|
+
max-height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7800
7794
|
}
|
|
7801
7795
|
|
|
7802
7796
|
og-toolbar-button {
|
|
7803
7797
|
flex: 1;
|
|
7804
7798
|
border-top-right-radius: 0;
|
|
7805
7799
|
border-bottom-right-radius: 0;
|
|
7806
|
-
min-width: ${
|
|
7800
|
+
min-width: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7807
7801
|
}
|
|
7808
7802
|
|
|
7809
7803
|
og-toolbar-button+og-dropdown {
|
|
@@ -7814,27 +7808,27 @@ milkdown-block-handle {
|
|
|
7814
7808
|
border-left: none;
|
|
7815
7809
|
height: 100%;
|
|
7816
7810
|
}
|
|
7817
|
-
`],
|
|
7811
|
+
`],HE([As("og-toolbar-button")],FE.prototype,"button",void 0),HE([Is({type:Object})],FE.prototype,"item",void 0),HE([Is({type:Object})],FE.prototype,"currentItem",void 0),HE([Is({type:String})],FE.prototype,"mode",void 0),FE=HE([Es("og-toolbar-dropdownbutton")],FE);var BE=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let WE=class extends zu{willUpdate(t){super.willUpdate(t),this.style.width=$t(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||ya.Gray,this.label=this.item.caption??this.item.text,this.noCaret=!1,this.items=this.item.items||[],this.dynamicWidth=!0,this.item?.options&&Object.assign(this,this.item.options)}constructor(){super(),this.addEventListener("menu.select",(t=>{Wr(this,"toolbar",{type:"select",key:(t.item.key??t.item.k)?.toString(),value:(t.item.value??t.item.v)?.toString()})}))}};WE.styles=[...zu.styles,wn`
|
|
7818
7812
|
:host {
|
|
7819
7813
|
display: flex;
|
|
7820
7814
|
flex-direction: row;
|
|
7821
|
-
height: ${
|
|
7815
|
+
height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7822
7816
|
}
|
|
7823
|
-
`],
|
|
7817
|
+
`],BE([Is({type:Object})],WE.prototype,"item",void 0),BE([Is({type:String})],WE.prototype,"value",void 0),WE=BE([Es("og-toolbar-dropdownmenu")],WE);var VE=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let UE=class extends _s{constructor(){super(...arguments),this.render=()=>ns`
|
|
7824
7818
|
<table>
|
|
7825
7819
|
${Ds(this.items,(t=>ns`
|
|
7826
7820
|
<tr>
|
|
7827
|
-
${Ds(t,(t=>ns`<td colspan=${(t=>t??ls)(t.colspan)}>${
|
|
7821
|
+
${Ds(t,(t=>ns`<td colspan=${(t=>t??ls)(t.colspan)}>${zE.get(t.type)(t)}</td>`))}
|
|
7828
7822
|
</tr>
|
|
7829
7823
|
`))}
|
|
7830
7824
|
</table>
|
|
7831
|
-
`}};
|
|
7825
|
+
`}};UE.styles=[wn`
|
|
7832
7826
|
:host {
|
|
7833
7827
|
box-sizing: border-box;
|
|
7834
7828
|
display: block;
|
|
7835
7829
|
background-color: var(--og-background-color);
|
|
7836
7830
|
}
|
|
7837
|
-
`],
|
|
7831
|
+
`],VE([Is({type:Array})],UE.prototype,"items",void 0),UE=VE([Es("og-toolbar-grid")],UE);var GE=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let qE=class extends _s{constructor(){super(...arguments),this.color="gray",this.dropdownRef=Dd(),this.listRef=Dd(),this._onSelect=t=>{this.dropdown.close(),this.value=this.item.items[t.index].k,Wr(this,"toolbar",{type:"change",key:this.item.id,value:this.value})},this._onKeyUp=()=>{this.value!=this.input.value&&(this.value=this.input.value,Wr(this,"toolbar",{type:"change",key:this.item.id,value:this.value}),this.input.focus())},this.render=()=>ns`
|
|
7838
7832
|
<input
|
|
7839
7833
|
class="${this.item.items&&this.item.items.length>0?"has-dropdown":""}"
|
|
7840
7834
|
type="text"
|
|
@@ -7854,11 +7848,11 @@ milkdown-block-handle {
|
|
|
7854
7848
|
</og-list>
|
|
7855
7849
|
</og-dropdown>
|
|
7856
7850
|
`:""}
|
|
7857
|
-
`}get dropdown(){return this.dropdownRef.value}get list(){return this.listRef.value}updated(){this.list&&(this.list.itemRenderer=(t,e)=>(t.style.paddingLeft=$t(5),this.item.items[e].v),Nt(this.list,{w:this.clientWidth}))}};
|
|
7851
|
+
`}get dropdown(){return this.dropdownRef.value}get list(){return this.listRef.value}updated(){this.list&&(this.list.itemRenderer=(t,e)=>(t.style.paddingLeft=$t(5),this.item.items[e].v),Nt(this.list,{w:this.clientWidth}))}};qE.styles=[wn`
|
|
7858
7852
|
:host {
|
|
7859
7853
|
display: flex;
|
|
7860
7854
|
flex-direction: row;
|
|
7861
|
-
height: ${
|
|
7855
|
+
height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7862
7856
|
}
|
|
7863
7857
|
|
|
7864
7858
|
input {
|
|
@@ -7880,7 +7874,7 @@ milkdown-block-handle {
|
|
|
7880
7874
|
height: 100%;
|
|
7881
7875
|
border-left: none;
|
|
7882
7876
|
}
|
|
7883
|
-
`],
|
|
7877
|
+
`],GE([Is({type:String,reflect:!0})],qE.prototype,"color",void 0),GE([Is({type:Object})],qE.prototype,"item",void 0),GE([Is({type:String})],qE.prototype,"value",void 0),GE([As("input")],qE.prototype,"input",void 0),qE=GE([Es("og-toolbar-text"),$a({props:["color","border","background"],selector:"input"})],qE);var YE=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let ZE=class extends _s{constructor(){super(...arguments),this._onChange=t=>{this.button.style.backgroundColor=t.value,Wr(this,"toolbar",{type:"select",key:this.item.id,value:t.value}),this.dropdown.close()},this._onPreview=t=>{this.button.style.backgroundColor=t.color,Wr(this,"toolbar",{type:"preview",key:this.item.id,value:t.color})},this._onPreviewEnd=t=>{this.button.style.backgroundColor=t.color,Wr(this,"toolbar",{type:"previewEnd",key:this.item.id,value:t.color})},this.render=()=>ns`
|
|
7884
7878
|
<og-button mode="toggle" color="gray" style="${Bs({backgroundColor:this.value})}">
|
|
7885
7879
|
<div class="btn-content" slot="content">
|
|
7886
7880
|
${this.item.icon?ns`<og-icon .icon="${this.item.icon}"></og-icon>`:""}
|
|
@@ -7890,7 +7884,7 @@ milkdown-block-handle {
|
|
|
7890
7884
|
style="min-width: 14px; flex: 0"
|
|
7891
7885
|
color="gray"
|
|
7892
7886
|
alignment="left"
|
|
7893
|
-
positionOffset="${-
|
|
7887
|
+
positionOffset="${-LE.TOOLBAR_COMPONENT_SIZE_BASE}">
|
|
7894
7888
|
<og-colorpicker
|
|
7895
7889
|
slot="content"
|
|
7896
7890
|
@change="${this._onChange}"
|
|
@@ -7899,21 +7893,21 @@ milkdown-block-handle {
|
|
|
7899
7893
|
@mousedown="${t=>t.stopPropagation()}">
|
|
7900
7894
|
</og-colorpicker>
|
|
7901
7895
|
</og-dropdown>
|
|
7902
|
-
`}};
|
|
7896
|
+
`}};ZE.styles=[wn`
|
|
7903
7897
|
:host {
|
|
7904
7898
|
display: flex;
|
|
7905
7899
|
flex-direction: row;
|
|
7906
|
-
max-height: ${
|
|
7900
|
+
max-height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7907
7901
|
}
|
|
7908
7902
|
|
|
7909
7903
|
og-button {
|
|
7910
7904
|
box-sizing: border-box;
|
|
7911
7905
|
display: block;
|
|
7912
|
-
width: ${
|
|
7913
|
-
height: ${
|
|
7914
|
-
max-height: ${
|
|
7915
|
-
min-width: ${
|
|
7916
|
-
line-height: ${
|
|
7906
|
+
width: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7907
|
+
height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7908
|
+
max-height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7909
|
+
min-width: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7910
|
+
line-height: ${LE.TOOLBAR_COMPONENT_SIZE_BASE}px;
|
|
7917
7911
|
padding: 0;
|
|
7918
7912
|
flex: 0;
|
|
7919
7913
|
border-top-right-radius: 0;
|
|
@@ -7934,7 +7928,7 @@ milkdown-block-handle {
|
|
|
7934
7928
|
border-left: none;
|
|
7935
7929
|
height: 100%;
|
|
7936
7930
|
}
|
|
7937
|
-
`],qE([Is({type:Object})],YE.prototype,"item",void 0),qE([Is({type:String})],YE.prototype,"value",void 0),qE([As("og-dropdown")],YE.prototype,"dropdown",void 0),qE([As("og-button")],YE.prototype,"button",void 0),qE([As(".btn-content")],YE.prototype,"btnContent",void 0),YE=qE([Es("og-toolbar-colorpicker")],YE);class ZE{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(!an.require)throw new Error("AMDLoader is not initialized");return an.require.config({paths:{xlsx:this.path+"/xlsx.full.min"}}),new Promise((t=>an.require(["xlsx"],(()=>t(self.XLSX)))))}}const XE="aaaaaa",QE={bottom:{style:"thin",color:XE},top:{style:"thin",color:XE},right:{style:"thin",color:XE},left:{style:"thin",color:XE}},KE={exportHiddenRows:!0,exportHiddenColumns:!0,gridLines:!0,defaultBorders:!1,dropdownCells:"value"},JE={alignment:{vertical:"center",horizontal:"center"},bold:!0},tz={g:"n",b:"b",t:"s",n:"n",d:"d",dt:"d",s:"s",m:"s",tm:"s",h:"s",a:"z"};function ez(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 iz(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 oz(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 rz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t.columns:t.visibleColumns,r=lz(e);return[...Array(i).keys()].map((e=>o.map((i=>{const o=i.header[e],n={t:o?"s":"z",s:JE};return o&&(o.html?n.h=`<span>${o.label}</span>`:null!=o.label?n.v=o.label:n.t="z"),r&&(n.s||(n.s={}),n.s=Object.assign({},r,n.s)),null!=o._style&&(n.s=Object.assign({},n.s,az(t.styles.get(o._style)))),n}))))}function nz(t){return{rgb:t}}function sz(t){return"none"==t.style?null:{style:t.style,color:nz(t.color)}}function az(t){const e={};return t.color&&(e.color=nz(t.color)),t.bgColor&&(e.bgColor=nz(t.bgColor)),t.fgColor&&(e.fgColor=nz(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=sz(t.bottom)),t.top&&(e.top=sz(t.top)),t.right&&(e.right=sz(t.right)),t.left&&(e.left=sz(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 lz(t){const e=!0===t.defaultBorders?QE:t.defaultBorders;return e?function(t){const e={};return t.bottom&&(e.bottom=sz(t.bottom)),t.top&&(e.top=sz(t.top)),t.right&&(e.right=sz(t.right)),t.left&&(e.left=sz(t.left)),e}(e):null}function cz(t,e){e=gz(e);const i=t.headerCount,o=new Mw(t),r=new Array(i+t.rows.length),n=new Map,s=lz(e),a=t.options.dateFormat||"yyyy-MM-dd",l="displayValue"==e.dropdownCells;rz(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=tz[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&&(n.has(d.id)||n.set(d.id,az(d)),h.s={...n.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);h.c=t.filter((t=>(t.text??"").length>0)).map((t=>({a:t.author?t.author.name??t.author.id:"",t:t.text}))),h.c.hidden=!0}return"n"!=h.t&&"d"!=h.t||null!=h.z||(h.z=r.format??("d"==h.t?a:"General")),s&&(h.s||(h.s={}),h.s=Object.assign({},s,h.s)),h})))),r}function hz(t,e){return t||e?{t:(t=Object.assign({},e,t)).t,v:t.v,color:nz(t.color)}:null}function dz(t){const e=t.headerCount;return t.conditionalFormats.getSourceData().map((t=>({ref:pv.fromA1s(t.ranges).map((t=>t.shiftDown(0,e,null,!0).A1)).join(" "),t:t.type,f:t.condition&&Jf(t.condition[0])?"A1"+t.condition:t.condition??null,s:t.style?az(t.style):null,stop:t.stop,cmin:hz(t.cmin,"bar"==t.type?{t:"min",color:t.color}:null),cmid:t.cmid?hz(t.cmid,{v:50,t:"percentile"}):null,cmax:hz(t.cmax,"bar"==t.type?{t:"max",color:t.color}:null),color:nz(t.color),v:t.v,thresh:t.thresh})))}function uz(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 pz(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 gz=t=>{const e=Object.assign({},KE,t);return e.defaultBorders&&(e.defaultBorders=QE),e},mz=t=>t/25.4;function fz(t){return t?{top:mz(t.top),bottom:mz(t.bottom),left:mz(t.left),right:mz(t.right),header:mz(t.header),footer:mz(t.footer)}:null}function vz(t,e){e=gz(e);const i={};return i["!cols"]=ez(t,e),i["!rows"]=iz(t,e),i["!merges"]=oz(t,e),i["!condfmt"]=dz(t),i["!outline"]={above:"above"==uz(t),left:"left"==pz(t)},t.options.freezeLeft||t.options.freezeTop?i["!freeze"]=`${fv(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)?Qr[e.paper]??Qr.A4:e.paper,o=mz(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=fz(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?pv.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 bz(t,e){const i=ZE.get(),o=i instanceof Promise?await i:i;e=gz(e);const r=o.utils.book_new();return t.forEach(((t,i)=>{t.calculations.evaluateAll();const n={...e,...t.exportOptions},s=o.utils.sheet_add_aoa(vz(t,n),cz(t,n));let a=t.name||`Sheet${i+1}`;t.name=a,a.length>31&&(a=a.substring(0,31)),o.utils.book_append_sheet(r,s,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 yz(t,e=null){const i=ZE.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 wz={b:"b",s:"t",n:"n",d:"d",z:"g",e:"t"};function xz(t){return t.rgb}function kz(t){return{color:xz(t.color),style:t.style}}function Cz(t){const e={};return t.color&&(e.color=xz(t.color)),t.bgColor&&(e.bgColor=xz(t.bgColor)),t.fgColor&&(e.fgColor=xz(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=kz(t.top)),t.bottom&&(e.bottom=kz(t.bottom)),t.left&&(e.left=kz(t.left)),t.right&&(e.right=kz(t.right)),e}function Mz(t,e){const i=t["!ref"]?pv.fromA1(t["!ref"]):pv.fromA1("A1:T100"),o={},r={};if(t["!freeze"]){const e=pv.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 pv(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],n=pv.fromA1(o),s={r:n.r1,c:n.c1,t:wz[r.t]},a=i.get(o);a&&(s.cs=a.cs,s.rs=a.rs),r.s&&(s.s=Cz(r.s)),r.f?s.f=Ev(r.f):s.v=r.v,["n","d"].includes(r.t)&&null!=r.z&&"General"!=r.z&&(s.z=vr(r.z,"d")),e.push(s)}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?Cz(t.s):null,e.cmin=t.cmin?{t:t.cmin.t,color:t.cmin.color?xz(t.cmin.color):null}:null,e.cmid=t.cmid?{t:t.cmid.t,color:t.cmid.color?xz(t.cmid.color):null}:null,e.cmax=t.cmax?{t:t.cmax.t,color:t.cmax.color?xz(t.cmax.color):null}:null,e.color=t.color?xz(t.color):null,e.condition=t.f,e.stop=!0,e}))}(t),o}function _z(t){const e=new Map;return t.Workbook.Names.forEach((({Name:t,Ref:i})=>{const[o,r]=i.split("!");if(!r)return;let n=e.get(o);n||e.set(o,n=[]);const s=pv.fromA1(r);s.c1Anchor&&!s.r1Anchor?(s.r1=0,s.r2=1/0):!s.c1Anchor&&s.r1Anchor&&(s.c1=0,s.c2=1/0),s.removeAnchors(),n.push({name:t,ref:s.A1})})),e}async function Sz(t,e){return performance.mark("start_import"),zz(await t.arrayBuffer(),e)}function Ez(t){const e=_z(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({...Mz(t.Sheets[o],e.get(o)),name:o}),performance.mark(`sheet_end_${o}`);return performance.mark("sheets_end"),i}async function zz(t,e){performance.mark("array_buffer");const i=t instanceof ArrayBuffer?new Uint8Array(t):t,o=(await ZE.get()).read(i,Object.assign({cellNF:!0,cellText:!1,cellStyles:!0,type:"buffer"},e||{}));return performance.mark("wb_read"),Ez(o)}class Lz extends iu{init(t){ZE.get(),t.commands.add({group:"plugin",name:"export xlsx",exec:async()=>{const e=t.getGridContainer().model.models;yz(await bz(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 Sz(i))}}))}}Lz.pluginName="xlsx";class Iz{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=pv.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=pv.fromA1(t.seriesRange)),t.categoriesRange&&(this._categoriesRange=pv.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=Gr(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 Rz extends iu{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[Rz.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 Iz(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[Rz.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)}}Rz.pluginName="charts";class Tz extends iu{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 Rz)})),t.addEventListener("grid.object.activate",(t=>{t.object instanceof Iz&&(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)}))}}Tz.pluginName="chartEditor";class Az{static init(t){"string"==typeof t?Az.path=t:Az.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&&(Az.highcharts=window.Highcharts),Az.highcharts?Az.highcharts:this.loadViaScript()}static async loadViaScript(){const t=window.define,e=t&&t.amd;t&&(t.amd=void 0);try{if(await ln.load(`${this.path}/highcharts.js`),window.Highcharts)return Az.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 Oz={chart:{styledMode:!0}};async function $z(t){const e=await Az.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 Dz(t,e){const i=await Az.get(),o=await $z(t);return i.chart(e,i.merge(o,Oz,{chart:{}}))}const Nz=wn`
|
|
7931
|
+
`],YE([Is({type:Object})],ZE.prototype,"item",void 0),YE([Is({type:String})],ZE.prototype,"value",void 0),YE([As("og-dropdown")],ZE.prototype,"dropdown",void 0),YE([As("og-button")],ZE.prototype,"button",void 0),YE([As(".btn-content")],ZE.prototype,"btnContent",void 0),ZE=YE([Es("og-toolbar-colorpicker")],ZE);class XE{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(!an.require)throw new Error("AMDLoader is not initialized");return an.require.config({paths:{xlsx:this.path+"/xlsx.full.min"}}),new Promise((t=>an.require(["xlsx"],(()=>t(self.XLSX)))))}}const QE="aaaaaa",KE={bottom:{style:"thin",color:QE},top:{style:"thin",color:QE},right:{style:"thin",color:QE},left:{style:"thin",color:QE}},JE={exportHiddenRows:!0,exportHiddenColumns:!0,gridLines:!0,defaultBorders:!1,dropdownCells:"value"},tz={alignment:{vertical:"center",horizontal:"center"},bold:!0},ez={g:"n",b:"b",t:"s",n:"n",d:"d",dt:"d",s:"s",m:"s",tm:"s",h:"s",a:"z"};function iz(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 oz(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 rz(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 nz(t,e){const i=t.headerCount,o=e.exportHiddenColumns?t.columns:t.visibleColumns,r=cz(e);return[...Array(i).keys()].map((e=>o.map((i=>{const o=i.header[e],n={t:o?"s":"z",s:tz};return o&&(o.html?n.h=`<span>${o.label}</span>`:null!=o.label?n.v=o.label:n.t="z"),r&&(n.s||(n.s={}),n.s=Object.assign({},r,n.s)),null!=o._style&&(n.s=Object.assign({},n.s,lz(t.styles.get(o._style)))),n}))))}function sz(t){return{rgb:t}}function az(t){return"none"==t.style?null:{style:t.style,color:sz(t.color)}}function lz(t){const e={};return t.color&&(e.color=sz(t.color)),t.bgColor&&(e.bgColor=sz(t.bgColor)),t.fgColor&&(e.fgColor=sz(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=az(t.bottom)),t.top&&(e.top=az(t.top)),t.right&&(e.right=az(t.right)),t.left&&(e.left=az(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 cz(t){const e=!0===t.defaultBorders?KE:t.defaultBorders;return e?function(t){const e={};return t.bottom&&(e.bottom=az(t.bottom)),t.top&&(e.top=az(t.top)),t.right&&(e.right=az(t.right)),t.left&&(e.left=az(t.left)),e}(e):null}function hz(t,e){e=mz(e);const i=t.headerCount,o=new Mw(t),r=new Array(i+t.rows.length),n=new Map,s=cz(e),a=t.options.dateFormat||"yyyy-MM-dd",l="displayValue"==e.dropdownCells;nz(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=ez[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&&(n.has(d.id)||n.set(d.id,lz(d)),h.s={...n.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);h.c=t.filter((t=>(t.text??"").length>0)).map((t=>({a:t.author?t.author.name??t.author.id:"",t:t.text}))),h.c.hidden=!0}return"n"!=h.t&&"d"!=h.t||null!=h.z||(h.z=r.format??("d"==h.t?a:"General")),s&&(h.s||(h.s={}),h.s=Object.assign({},s,h.s)),h})))),r}function dz(t,e){return t||e?{t:(t=Object.assign({},e,t)).t,v:t.v,color:sz(t.color)}:null}function uz(t){const e=t.headerCount;return t.conditionalFormats.getSourceData().map((t=>({ref:pv.fromA1s(t.ranges).map((t=>t.shiftDown(0,e,null,!0).A1)).join(" "),t:t.type,f:t.condition&&Jf(t.condition[0])?"A1"+t.condition:t.condition??null,s:t.style?lz(t.style):null,stop:t.stop,cmin:dz(t.cmin,"bar"==t.type?{t:"min",color:t.color}:null),cmid:t.cmid?dz(t.cmid,{v:50,t:"percentile"}):null,cmax:dz(t.cmax,"bar"==t.type?{t:"max",color:t.color}:null),color:sz(t.color),v:t.v,thresh:t.thresh})))}function pz(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 gz(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 mz=t=>{const e=Object.assign({},JE,t);return e.defaultBorders&&(e.defaultBorders=KE),e},fz=t=>t/25.4;function vz(t){return t?{top:fz(t.top),bottom:fz(t.bottom),left:fz(t.left),right:fz(t.right),header:fz(t.header),footer:fz(t.footer)}:null}function bz(t,e){e=mz(e);const i={};return i["!cols"]=iz(t,e),i["!rows"]=oz(t,e),i["!merges"]=rz(t,e),i["!condfmt"]=uz(t),i["!outline"]={above:"above"==pz(t),left:"left"==gz(t)},t.options.freezeLeft||t.options.freezeTop?i["!freeze"]=`${fv(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)?Qr[e.paper]??Qr.A4:e.paper,o=fz(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=vz(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?pv.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 yz(t,e){const i=XE.get(),o=i instanceof Promise?await i:i;e=mz(e);const r=o.utils.book_new();return t.forEach(((t,i)=>{t.calculations.evaluateAll();const n={...e,...t.exportOptions},s=o.utils.sheet_add_aoa(bz(t,n),hz(t,n));let a=t.name||`Sheet${i+1}`;t.name=a,a.length>31&&(a=a.substring(0,31)),o.utils.book_append_sheet(r,s,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 wz(t,e=null){const i=XE.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 xz={b:"b",s:"t",n:"n",d:"d",z:"g",e:"t"};function kz(t){return t.rgb}function Cz(t){return{color:kz(t.color),style:t.style}}function Mz(t){const e={};return t.color&&(e.color=kz(t.color)),t.bgColor&&(e.bgColor=kz(t.bgColor)),t.fgColor&&(e.fgColor=kz(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=Cz(t.top)),t.bottom&&(e.bottom=Cz(t.bottom)),t.left&&(e.left=Cz(t.left)),t.right&&(e.right=Cz(t.right)),e}function _z(t,e){const i=t["!ref"]?pv.fromA1(t["!ref"]):pv.fromA1("A1:T100"),o={},r={};if(t["!freeze"]){const e=pv.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 pv(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],n=pv.fromA1(o),s={r:n.r1,c:n.c1,t:xz[r.t]},a=i.get(o);a&&(s.cs=a.cs,s.rs=a.rs),r.s&&(s.s=Mz(r.s)),r.f?s.f=Ev(r.f):s.v=r.v,["n","d"].includes(r.t)&&null!=r.z&&"General"!=r.z&&(s.z=vr(r.z,"d")),e.push(s)}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?Mz(t.s):null,e.cmin=t.cmin?{t:t.cmin.t,color:t.cmin.color?kz(t.cmin.color):null}:null,e.cmid=t.cmid?{t:t.cmid.t,color:t.cmid.color?kz(t.cmid.color):null}:null,e.cmax=t.cmax?{t:t.cmax.t,color:t.cmax.color?kz(t.cmax.color):null}:null,e.color=t.color?kz(t.color):null,e.condition=t.f,e.stop=!0,e}))}(t),o}function Sz(t){const e=new Map;return t.Workbook.Names.forEach((({Name:t,Ref:i})=>{const[o,r]=i.split("!");if(!r)return;let n=e.get(o);n||e.set(o,n=[]);const s=pv.fromA1(r);s.c1Anchor&&!s.r1Anchor?(s.r1=0,s.r2=1/0):!s.c1Anchor&&s.r1Anchor&&(s.c1=0,s.c2=1/0),s.removeAnchors(),n.push({name:t,ref:s.A1})})),e}async function Ez(t,e){return performance.mark("start_import"),Lz(await t.arrayBuffer(),e)}function zz(t){const e=Sz(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({..._z(t.Sheets[o],e.get(o)),name:o}),performance.mark(`sheet_end_${o}`);return performance.mark("sheets_end"),i}async function Lz(t,e){performance.mark("array_buffer");const i=t instanceof ArrayBuffer?new Uint8Array(t):t,o=(await XE.get()).read(i,Object.assign({cellNF:!0,cellText:!1,cellStyles:!0,type:"buffer"},e||{}));return performance.mark("wb_read"),zz(o)}class Iz extends iu{init(t){XE.get(),t.commands.add({group:"plugin",name:"export xlsx",exec:async()=>{const e=t.getGridContainer().model.models;wz(await yz(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 Ez(i))}}))}}Iz.pluginName="xlsx";class Rz{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=pv.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=pv.fromA1(t.seriesRange)),t.categoriesRange&&(this._categoriesRange=pv.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=Gr(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 Tz extends iu{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[Tz.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 Rz(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[Tz.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)}}Tz.pluginName="charts";class Az extends iu{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 Tz)})),t.addEventListener("grid.object.activate",(t=>{t.object instanceof Rz&&(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)}))}}Az.pluginName="chartEditor";class Oz{static init(t){"string"==typeof t?Oz.path=t:Oz.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&&(Oz.highcharts=window.Highcharts),Oz.highcharts?Oz.highcharts:this.loadViaScript()}static async loadViaScript(){const t=window.define,e=t&&t.amd;t&&(t.amd=void 0);try{if(await ln.load(`${this.path}/highcharts.js`),window.Highcharts)return Oz.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 $z={chart:{styledMode:!0}};async function Dz(t){const e=await Oz.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 Nz(t,e){const i=await Oz.get(),o=await Dz(t);return i.chart(e,i.merge(o,$z,{chart:{}}))}const Pz=wn`
|
|
7938
7932
|
* {
|
|
7939
7933
|
box-sizing: border-box;
|
|
7940
7934
|
}
|
|
@@ -9105,9 +9099,9 @@ milkdown-block-handle {
|
|
|
9105
9099
|
stroke: var(--og-highcharts-neutral-color-20);
|
|
9106
9100
|
stroke-width: 1px;
|
|
9107
9101
|
}
|
|
9108
|
-
`;var
|
|
9102
|
+
`;var jz=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let Hz=class extends _s{constructor(){super(...arguments),this.render=()=>ns`
|
|
9109
9103
|
<div id="chart">uninitialized chart</div>
|
|
9110
|
-
`}async updated(){this.model&&(this.chart=await
|
|
9104
|
+
`}async updated(){this.model&&(this.chart=await Nz(this.model,this.chartWrapper))}refresh(){this.model&&(this.model.invalidateData(),this.requestUpdate())}layout(){this.chart?.reflow()}};Hz.styles=[Pz],jz([As("#chart")],Hz.prototype,"chartWrapper",void 0),jz([Is({type:Object})],Hz.prototype,"model",void 0),Hz=jz([Es("og-plugin-chart")],Hz);const Fz=wn`
|
|
9111
9105
|
* {
|
|
9112
9106
|
box-sizing: border-box;
|
|
9113
9107
|
}
|
|
@@ -9140,7 +9134,7 @@ milkdown-block-handle {
|
|
|
9140
9134
|
og-list {
|
|
9141
9135
|
height: 100%;
|
|
9142
9136
|
}
|
|
9143
|
-
`;var
|
|
9137
|
+
`;var Bz=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const Wz={w:300,h:200};let Vz=class extends _s{get plugin(){return this.grid?.plugins.plugins.get("charts")}constructor(){super(),this._itemRenderer=(t,e)=>ns`
|
|
9144
9138
|
<og-plugin-chart-form
|
|
9145
9139
|
@change="${t=>this.dispatchEvent(new Yr({value:t.value}))}"
|
|
9146
9140
|
.model="${this.items[e]}">
|
|
@@ -9170,7 +9164,7 @@ milkdown-block-handle {
|
|
|
9170
9164
|
.size="${this.items.length}">
|
|
9171
9165
|
</og-list>
|
|
9172
9166
|
</div>
|
|
9173
|
-
`,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:
|
|
9167
|
+
`,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:Wz,location:o},n=this.plugin.addModel(r),s=[...this.items,n];this.items=s,this.filter=n.title,this.dispatchEvent(new Zr({value:n}))}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)}};Vz.styles=[Fz],Bz([Is({type:Object})],Vz.prototype,"grid",void 0),Bz([As("og-input#search")],Vz.prototype,"searchInput",void 0),Bz([As("og-list")],Vz.prototype,"list",void 0),Bz([Is({type:String})],Vz.prototype,"filter",void 0),Bz([Is({type:Array})],Vz.prototype,"items",void 0),Vz=Bz([Es("og-plugin-chart-list")],Vz);const Uz=wn`
|
|
9174
9168
|
.row {
|
|
9175
9169
|
line-height: 22px;
|
|
9176
9170
|
max-height: 22px;
|
|
@@ -9223,7 +9217,7 @@ milkdown-block-handle {
|
|
|
9223
9217
|
gap: 2px;
|
|
9224
9218
|
}
|
|
9225
9219
|
|
|
9226
|
-
`;var
|
|
9220
|
+
`;var Gz=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};let qz=class extends _s{constructor(){super(),this.editTitle=!1,this.types=[{type:"column",name:`${Ro("Column")} - ${Ro("clustered")}`,grouping:"standard",icon:"chart-column"},{type:"column",name:`${Ro("Column")} - ${Ro("stacked")}`,grouping:"stacked",icon:"chart-column"},{type:"bar",name:`${Ro("Bar")} - ${Ro("clustered")}`,grouping:"standard",icon:"chart-bar"},{type:"bar",name:`${Ro("Bar")} - ${Ro("stacked")}`,grouping:"stacked",icon:"chart-bar"},{type:"line",name:`${Ro("Line")}`,grouping:"standard",icon:"chart-line"},{type:"pie",name:`${Ro("Pie")}`,grouping:"standard",icon:"chart-pie"}],this.render=()=>this.model?ns`
|
|
9227
9221
|
<og-panel icon="chart-column">
|
|
9228
9222
|
<div slot="header">
|
|
9229
9223
|
${this.editTitle?ns`
|
|
@@ -9284,4 +9278,4 @@ milkdown-block-handle {
|
|
|
9284
9278
|
`:null}
|
|
9285
9279
|
</div>
|
|
9286
9280
|
</og-panel>
|
|
9287
|
-
`: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?pv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?pv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=pv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Yr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};
|
|
9281
|
+
`: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?pv.fromA1(this.categoryRangeInput.value):null,this.model.seriesRange=this.seriesRangeInput?.value?pv.fromA1(this.seriesRangeInput.value):null,this.model.dataRange=pv.fromA1(this.dataRangeInput.value),this.dispatchEvent(new Yr({value:this.model}))}async updated(){this.editTitle&&this.titleInput&&(await this.titleInput.updateComplete,this.titleInput.focus(),this.titleInput.selectAll())}};qz.styles=[Uz],Gz([Is({type:Object})],qz.prototype,"model",void 0),Gz([Rs()],qz.prototype,"editTitle",void 0),Gz([As("#title")],qz.prototype,"titleInput",void 0),Gz([As("#type")],qz.prototype,"typeList",void 0),Gz([As("#dataRange")],qz.prototype,"dataRangeInput",void 0),Gz([As("#seriesRange")],qz.prototype,"seriesRangeInput",void 0),Gz([As("#categoryRange")],qz.prototype,"categoryRangeInput",void 0),qz=Gz([Es("og-plugin-chart-form")],qz);const Yz=Ha().themes.get("dark");Object.assign(Yz.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 Zz=Ha().themes.get("light");Object.assign(Zz.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 Xz=i(6946),Qz=i(6471),Kz=i(4969),Jz=i(9502),tL=i(7706),eL=i(1480),iL=i(2006),oL=i(7503),rL=i(7873),nL=i(8746),sL=i(2570),aL=i(8815),lL=i(6390),cL=i(6593),hL=i(895),dL=i(9083),uL=i(6093),pL=i(9685),gL=i(9849),mL=i(8268),fL=i(4693),vL=i(3599),bL=i(782),yL=i(754),wL=i(5700),xL=i(4731),kL=i(7291),CL=i(597),ML=i(1474),_L=i(6224),SL=i(6239),EL=i(6828),zL=i(2212),LL=i(863),IL=i(3602),RL=i(1985),TL=i(886),AL=i(7201),OL=i(9937),$L=i(8450),DL=i(9630),NL=i(9766),PL=i(388),jL=i(1903),HL=i(398),FL=i(6105),BL=i(6147),WL=i(5722),VL=i(5576),UL=i(3131),GL=i(6308),qL=i(9645),YL=i(3199),ZL=i(871),XL=i(5251),QL=i(6426),KL=i(2643),JL=i(8522),tI=i(6398),eI=i(2525),iI=i(8434),oI=i(6138),rI=i(5835),nI=i(5654),sI=i(6659),aI=i(2977),lI=i(4480),cI=i(9886),hI=i(6815),dI=i(1582),uI=i(2968),pI=i(394),gI=i(7024),mI=i(7853),fI=i(8249),vI=i(2869),bI=i(486),yI=i(5735),wI=i(470),xI=i(4612),kI=i(4018),CI=i(1476),MI=i(3194),_I=i(3525),SI=i(7541),EI=i(4104),zI=i(6686),LI=i(7719),II=i(3898),RI=i(8153),TI=i(3690),AI=i(1776),OI=i(4980),$I=i(5578),DI=i(9613),NI=i(1119),PI=i(8444),jI=i(2978),HI=i(9130),FI=i(2127),BI=i(2732),WI=i(4287),VI=i(4045),UI=i(7642),GI=i(1367),qI=i(320),YI=i(821),ZI=i(102),XI=i(7683),QI=i(3980),KI=i(576),JI=i(654),tR=i(73),eR=i(140),iR=i(8129),oR=i(5087),rR=i(6992),nR=i(8247),sR=i(8038),aR=i(5286),lR=i(9179),cR=i(1808),hR=i(9459),dR=i(2883),uR=i(9124),pR=i(7067),gR=i(1054),mR=i(7325),fR=i(1272),vR=i(3359),bR=i(6562),yR=i(4193),wR=i(6348),xR=i(2435),kR=i(9111),CR=i(9318),MR=i(7294),_R=i(4479),SR=i(2409),ER=i(3091),zR=i(5789),LR=i(5890),IR=i(3874),RR=i(2907),TR=i(1175),AR=i(1686),OR=i(703),$R=i(6606),DR=i(4194),NR=i(6228),PR=i(62),jR=i(2072),HR=i(9744),FR=i(25),BR=i(2618),WR=i(1988),VR=i(8013),UR=i(1133),GR=i(362),qR=i(6845),YR=i(6800),ZR=i(1103),XR=i(4933),QR=i(7284),KR=i(2620),JR=i(2366),tT=i(7457),eT=i(2449),iT=i(2),oT=i(5697),rT=i(7069),nT=i(4716),sT=i(4740),aT=i(4557),lT=i(1868),cT=i(8647),hT=i(5127),dT=i(4816),uT=i(4009),pT=i(5104),gT=i(2830),mT=i(3093),fT=i(5029),vT=i(3514),bT=i(2142),yT=i(4999),wT=i(7523),xT=i(346),kT=i(7917),CT=i(3976),MT=i(9801),_T=i(2464),ST=i(5511),ET=i(5210),zT=i(5815),LT=i(3339),IT=i(7472),RT=i(8811),TT=i(8548),AT=i(6880),OT=i(1840),$T=i(5547),DT=i(4788),NT=i(9467),PT=i(9187),jT=i(9217),HT=i(7897),FT=i(2644),BT=i(6204),WT=i(1472),VT=i(1247),UT=i(7406),GT=i(925),qT=i(7455),YT=i(3771),ZT=i(1549),XT=i(3541),QT=i(3140),KT=i(9800),JT=i(229),tA=i(2677),eA=i(1844),iA=i(3245),oA=i(9056),rA=i(7535),nA=i(2359),sA=i(15),aA=i(5569),lA=i(2014),cA=i(1599),hA=i(6521),dA=i(232),uA=i(9745),pA=i(9594),gA=i(6979),mA=i(4494),fA=i(312),vA=i(4983),bA=i(1258),yA=i(6313),wA=i(12),xA=i(8003),kA=i(7830),CA=i(8875),MA=i(3911),_A=i(1817),SA=i(478),EA=i(2585),zA=i(6564),LA=i(2884),IA=i(3825),RA=i(7348),TA=i(9277),AA=i(4118),OA=i(9200),$A=i(51),DA=i(2872),NA=i(4702),PA=i(9281),jA=i(1394),HA=i(7295),FA=i(2936),BA=i(3789),WA=i(3614),VA=i(4827),UA=i(9204),GA=i(9113),qA=i(4058);const YA=[Xz.mw,Qz.mw,Kz.mw,Jz.mw,tL.mw,eL.mw,iL.mw,oL.mw,nL.mw,aL.mw,sL.mw,lL.mw,cL.mw,hL.mw,dL.mw,uL.mw,pL.mw,gL.mw,mL.mw,fL.mw,vL.mw,bL.mw,yL.mw,wL.mw,xL.mw,kL.mw,CL.mw,ML.mw,_L.mw,EL.mw,zL.mw,LL.mw,IL.mw,RL.mw,TL.mw,AL.mw,OL.mw,$L.mw,DL.mw,NL.mw,PL.mw,jL.mw,FL.mw,HL.mw,BL.mw,WL.mw,VL.mw,UL.mw,GL.mw,qL.mw,YL.mw,ZL.mw,XL.mw,QL.mw,KL.mw,JL.mw,eI.mw,iI.mw,oI.mw,rI.mw,nI.mw,sI.mw,aI.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,tI.mw,wI.mw,xI.mw,kI.mw,CI.mw,MI.mw,_I.mw,SI.mw,EI.mw,zI.mw,LI.mw,II.mw,RI.mw,TI.mw,AI.mw,OI.mw,$I.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,nR.mw,sR.mw,SL.mw,aR.mw,lR.mw,cR.mw,hR.mw,dR.mw,uR.mw,pR.mw,gR.mw,mR.mw,fR.mw,vR.mw,bR.mw,yR.mw,wR.mw,xR.mw,rL.mw],ZA=[kR.mw,CR.mw,MR.mw,_R.mw,SR.mw,ER.mw,zR.mw,LR.mw,RR.mw,AR.mw,TR.mw,$R.mw,OR.mw,DR.mw,NR.mw,PR.mw,jR.mw,HR.mw,FR.mw,BR.mw,WR.mw,VR.mw,ZR.mw,XR.mw,QR.mw,KR.mw,JR.mw,tT.mw,eT.mw,oT.mw,rT.mw,nT.mw,hT.mw,dT.mw,uT.mw,pT.mw,gT.mw,mT.mw,fT.mw,vT.mw,UR.mw,GR.mw,YR.mw,qR.mw,bT.mw,yT.mw,wT.mw,xT.mw,kT.mw,CT.mw,MT.mw,_T.mw,sT.mw,aT.mw,lT.mw,cT.mw,ET.mw,zT.mw,LT.mw,IT.mw,RT.mw,TT.mw,AT.mw,OT.mw,$T.mw,DT.mw,NT.mw,PT.mw,jT.mw,HT.mw,FT.mw,BT.mw,WT.mw,VT.mw,UT.mw,ST.mw,GT.mw,qT.mw,YT.mw,ZT.mw,XT.mw,QT.mw,KT.mw,JT.mw,tA.mw,eA.mw,iA.mw,oA.mw,rA.mw,nA.mw,sA.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,EA.mw,zA.mw,LA.mw,IA.mw,RA.mw,TA.mw,iT.mw,AA.mw,OA.mw,$A.mw,DA.mw,NA.mw,PA.mw,jA.mw,HA.mw,FA.mw,BA.mw,WA.mw,VA.mw,UA.mw,GA.mw,qA.mw,IR.mw],XA={xlsx:F,charts:B},QA={name:"@omegagrid/bundle",version:"0.9.14"};Ha().activate("light"),Ld.styleDefault="fal",Id.add(YA),Id.add(ZA)})(),window.Omegagrid=o})();
|