@sheetxl/react 0.7.9 → 0.7.11

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.
@@ -1,15 +1,15 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`._sheetxl-sheet_1qeq6_5 ._viewport-overlay_1qeq6_6{pointer-events:none}._sheetxl-sheet_1qeq6_5 ._viewport-overlay_1qeq6_6 *{pointer-events:initial}._sheetxl-sheet_1qeq6_5 .cell-container>*{overflow:hidden}._sheetxl-sheet_1qeq6_5 .cell-container .text-box{position:absolute}._sheetxl-sheet_1qeq6_5 .cell-container .text-line{text-rendering:optimizespeed;position:absolute;vertical-align:baseline;white-space:pre}._sheetxl-sheet_1qeq6_5 .cell-container .filter-button{position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:row;margin-bottom:4px}._sheetxl-sheet_1qeq6_5 .cell-container .text-debug-bounds{position:absolute;background:green;pointer-events:none;opacity:.2}._sheetxl-sheet_1qeq6_5 .cell-container .fill{position:absolute}._sheetxl-sheet_1qeq6_5 .cell-container .pending{width:6px;height:6px;top:5px;left:4px;position:absolute;border:var(--sxl-app-color-primary-dark, grey) .5px;border-style:double;border-radius:50%;background-color:var(--sxl-app-color-button-surface, grey);opacity:1;animation:_pulse_1qeq6_1 1.5s infinite alternate}@keyframes _pulse_1qeq6_1{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.8}to{transform:scale(1);opacity:1}}._sheetxl-sheet_1qeq6_5 .cell-container .slider{position:absolute;width:130%;height:2px;bottom:1px;opacity:0;animation:_fadeIn_1qeq6_1 0s .5s forwards;overflow-x:hidden}._sheetxl-sheet_1qeq6_5 .cell-container .line{position:absolute;opacity:.3;background:var(--sxl-app-color-primary-light, rgb(173, 173, 173)) .5px;width:100%;height:2px}._sheetxl-sheet_1qeq6_5 .cell-container .subline{position:absolute;background:var(--sxl-app-color-primary, rgb(77, 77, 77)) .5px;opacity:.9;height:3px}._sheetxl-sheet_1qeq6_5 .cell-container .inc{animation-delay:0s;animation:_increase_1qeq6_1 3s infinite}@keyframes _fadeIn_1qeq6_1{0%{opacity:0;height:0px}to{opacity:1;height:2px}}@keyframes _increase_1qeq6_1{0%{left:-150%;width:30%;animation-timing-function:ease}to{left:100%;width:30%}}._TaskPaneArea_6dmgk_5{position:absolute;height:100%;width:100%;display:flex;flex-direction:row}._TaskPaneTitle_6dmgk_13{display:flex;box-sizing:border-box;flex:1 1 0;flex-direction:row;align-items:center;font-size:1.25rem;height:100%;width:100%;padding:8px 16px;border-bottom:solid rgba(0,0,0,.2) 1px}._TaskPaneTitle_6dmgk_13 .title{opacity:.87}._TaskPaneTitle_6dmgk_13.focused .title{opacity:1}._TaskPaneFrame_6dmgk_36{display:flex;position:relative;flex-direction:column;width:100%;box-sizing:border-box;flex:1 1 0;min-height:0;align-items:stretch;justify-content:stretch;margin-bottom:4px;border-radius:4px;overflow:hidden}._TaskPaneStrip_6dmgk_52{display:flex;flex-direction:column;gap:4px;margin-top:4px;margin-left:2px}._TaskPaneStripItem_6dmgk_60{display:flex;flex-direction:row;align-items:center;padding:4px;border-radius:4px;border:grey solid 1px}._TaskPaneStripItem_6dmgk_60.selected{font-weight:700}._sheet-scrollbar_104cg_1{margin-left:2px;margin-bottom:1px;align-items:center}._sheet-selection_12wyx_5 .fill-handle .dragging,._movable-area_314c6_5 .moveable-control-box .dragging{opacity:0}._movable-area_314c6_5 .moveable-control-box .moveable-control{width:11px;height:11px;margin-top:-5.5px;margin-left:-5.5px;background-color:var(--sxl-app-color-background, white);background-image:var(--sxl-app-image-background);border:2px solid var(--sxl-app-color-primary-dark, grey)}._movable-area_314c6_5 .moveable-control-box .moveable-line{background:var(--sxl-app-color-grey, grey)}@media (pointer: coarse){._movable-area_314c6_5 .moveable-control-box .moveable-control{width:22px;height:22px;margin-top:-11px;margin-left:-11px}}._editable-input_1bqx6_6{position:absolute;left:0;top:0;width:100%;min-height:calc(100% + 1px);border:none;padding:0;outline:none;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1.2;letter-spacing:inherit;text-transform:inherit;background:transparent}@keyframes _pop_1wyun_1{0%{transform:scale(1)}to{transform:scale(var(--scale))}}@keyframes _fadeIn_1wyun_33{0%{opacity:0}to{opacity:1}}._Wrapper_1wyun_25{display:flex;box-sizing:border-box;transform:translate3d(var(--translate-x, 0),var(--translate-y, 0),0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));transform-origin:0 0;touch-action:manipulation}._Wrapper_1wyun_25._dragOverlay_1wyun_37{z-index:999}._Item_1wyun_47{position:relative;display:flex;align-items:center;outline:none;box-sizing:border-box;transform-origin:50% 50%;-webkit-tap-highlight-color:transparent;transform:scale(var(--scale, 1))}._Item_1wyun_47:not(._withHandle_1wyun_61){touch-action:manipulation}._Item_1wyun_47._dragging_1wyun_66:not(._dragOverlay_1wyun_37){z-index:999}._Item_1wyun_47._dragOverlay_1wyun_37{cursor:inherit;animation:_pop_1wyun_1 .2s cubic-bezier(.18,.67,.6,1.22);transform:scale(var(--scale));opacity:1}._Row_1kr10_1{display:flex;box-sizing:border-box}._TabStrip_3x0dp_1::-webkit-scrollbar{display:none;height:0px}._TabStrip_3x0dp_1{overflow-y:auto;overflow-x:hidden;position:relative}._script-editor_iy654_5 .monaco-editor{position:absolute}._script-editor_iy654_5 .monaco-editor .margin-icon{display:block;width:16px;height:16px;background-size:16px;background-repeat:no-repeat;background-position:center;background-size:contain}._script-editor_iy654_5 .monaco-editor .formula{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="m 12.106007,8.1692949 c 0.124174,-0.1578352 0.181773,-0.3565642 0.283755,-0.5271169 0.10273,-0.1715492 0.04413,-0.2027176 -0.129161,-0.2014713 -0.685452,0.00576 -1.371152,-0.00277 -2.056604,0.00501 C 10.021228,7.4479573 9.9586414,7.407817 9.9935503,7.2080883 10.145401,6.3413623 10.291269,5.4736396 10.51219,4.6213758 10.642847,4.1167002 10.782479,3.6117747 11.061498,3.1622046 11.339518,2.7138809 11.726751,2.5974365 12.2035,2.829328 c 0.398455,0.1934923 0.722604,0.4827333 0.990152,0.8340617 0.116944,0.1535968 0.27079,0.2740306 0.449073,0.1715499 0.343348,-0.1974819 0.644807,-0.4383502 0.819599,-0.826332 0.100985,-0.2244112 0.157836,-0.476001 0.04039,-0.7058977 C 14.339646,1.9840253 14.038187,1.7618584 13.707056,1.6394296 13.156999,1.4362128 12.562559,1.4840872 12.017239,1.6758341 11.38789,1.8970037 10.783727,2.2625445 10.259602,2.6724688 10.066109,2.8238217 9.8783519,2.9839017 9.7013165,3.1547035 9.0502751,3.7823067 8.5657962,4.529097 8.2246919,5.3651534 7.9823276,5.9595939 7.7888351,6.5660026 7.6913412,7.2015842 7.673637,7.318528 7.6357391,7.423253 7.5065759,7.4432009 7.3472438,7.4678879 7.1592376,7.4436995 6.9974121,7.4441728 6.6351128,7.4451447 6.2598478,7.3676233 5.9915515,7.6815496 5.8721151,7.8211835 5.7461952,7.9840062 5.6439635,8.1371045 c -0.1009847,0.1518511 -0.093255,0.3002122 0.085027,0.367535 0.1957362,0.073561 0.4528118,0.026182 0.6530361,0.0197 0.2645558,-0.00847 0.5291116,0.00501 0.7936674,-7.476e-4 0.1820229,-0.00374 0.2413669,0.030421 0.2064588,0.2358807 C 7.3487406,8.9587006 7.3095941,9.1492003 7.2804197,9.3464333 7.1804317,10.024404 7.0667304,10.700629 6.9525298,11.376606 6.7936963,12.314146 6.6371075,13.252434 6.4655575,14.188478 6.3017374,15.082631 6.1855427,15.985013 5.983074,16.873433 5.8249883,17.568607 5.7240037,18.277248 5.5556954,18.969682 5.4145655,19.550158 5.293882,20.143601 4.9722259,20.665731 4.7380909,21.045734 4.3959882,21.206312 3.9663652,21.104829 3.5778849,21.012322 3.2115961,20.866205 2.8951763,20.608631 2.6862246,20.438328 2.4473513,20.31141 2.1920214,20.458026 1.9519014,20.595915 1.7791048,20.851743 1.646453,21.088123 1.2205704,21.847879 1.915497,22.569984 2.6655289,22.684434 3.1692071,22.760986 3.666153,22.580208 4.1087416,22.356046 4.6996913,22.056582 5.2103511,21.635437 5.6387269,21.13874 5.9898058,20.731558 6.3575906,20.343327 6.6500737,19.890016 6.8450616,19.58756 7.0238427,19.274881 7.1866655,18.954471 7.7639005,17.817206 8.1227091,16.589926 8.4189318,15.354418 8.5613081,14.760227 8.716401,14.169777 8.8478064,13.572843 9.0268365,12.760724 9.1741996,11.934891 9.3083481,11.114294 9.3749255,10.707112 9.4310263,10.300679 9.5160532,9.8967389 9.5861222,9.5636133 9.6442168,9.2185186 9.6890985,8.8814035 9.7414633,8.4891827 9.990308,8.5136187 10.329668,8.4762164 c 0.286249,-0.03167 0.574492,-0.046376 0.861739,-0.067571 0.230395,-0.016703 0.494951,0.00396 0.711881,-0.088019 0.07754,-0.032911 0.147613,-0.080788 0.202719,-0.1513533 z"/><path d="M 22.473802,7.8481382 C 22.426924,7.6912996 22.341898,7.5501696 22.231437,7.4294861 22.130452,7.3192756 21.987827,7.1749046 21.851933,7.1098255 21.411589,6.8988785 20.817398,7.0838898 20.436149,7.3422154 20.23343,7.479854 20.052405,7.6519026 19.871131,7.8167201 19.691352,7.9802913 19.517061,8.1488492 19.35723,8.3321177 19.025101,8.7128687 18.724639,9.1210479 18.436396,9.5354601 18.296263,9.7374301 17.901549,10.472252 17.781115,10.399942 17.654198,10.323892 17.495365,9.5905657 17.435023,9.3843566 17.351243,9.0978583 17.29539,8.8016361 17.161741,8.5323425 16.97922,8.1643081 16.865268,7.7623629 16.608941,7.4307332 16.325934,7.0639457 16.001036,6.9584722 15.558946,7.092371 c -0.43436,0.1314054 -0.78469,0.4049374 -1.128539,0.6819608 -0.503927,0.4056851 -0.879442,0.926319 -1.256951,1.4439609 -0.28226,0.387483 -0.284753,0.3857373 0.04488,0.7380631 0.206458,0.2211702 0.202718,0.2184272 0.389229,-0.00847 0.2663,-0.3251469 0.524872,-0.6595196 0.882433,-0.8934057 0.261315,-0.1713009 0.417904,-0.1368908 0.57948,0.1326518 0.07929,0.1326517 0.146866,0.2752777 0.200225,0.4208957 0.335619,0.9141014 0.590201,1.8541344 0.89191,2.7784594 0.03815,0.117691 -0.01122,0.193991 -0.06707,0.278519 -0.356565,0.538837 -0.719363,1.074182 -1.123054,1.578607 -0.320409,0.401198 -0.643312,0.803891 -1.073932,1.097621 -0.187757,0.128912 -0.40768,0.217679 -0.635831,0.156839 -0.233887,-0.06283 -0.37377,-0.27478 -0.587459,-0.373521 -0.006,-0.003 -0.01272,-0.0052 -0.01895,-0.0079 -0.09974,-0.04064 -0.249845,-0.0389 -0.353074,-0.01571 -0.454059,0.102482 -0.697669,0.614139 -0.790177,1.023813 -0.08379,0.371776 -0.0013,0.778209 0.261315,1.062463 0.228899,0.24785 0.572248,0.351327 0.901634,0.356315 0.189003,0.0028 0.39995,-0.04663 0.57549,-0.11445 0.670241,-0.262062 1.181649,-0.887172 1.605038,-1.441717 0.285501,-0.374517 0.550555,-0.763994 0.829573,-1.143499 0.230645,-0.313677 0.68595,-1.247726 0.81586,-1.250718 0.07854,-0.0017 0.09924,0.185762 0.114199,0.241117 0.03341,0.123675 0.06658,0.247351 0.102232,0.370279 0.167561,0.578481 0.343848,1.156464 0.525122,1.730458 0.120934,0.384242 0.315921,0.782697 0.560779,1.103356 0.07431,0.09749 0.167311,0.190749 0.26306,0.266799 0.371276,0.296972 0.838799,0.27453 1.266177,0.123177 0.191498,-0.06757 0.370029,-0.163071 0.539335,-0.275527 0.781948,-0.519886 1.340732,-1.244235 1.868598,-2.002495 0.124423,-0.178781 0.107467,-0.278769 -0.03441,-0.428127 -0.367286,-0.386237 -0.357062,-0.389727 -0.705149,0.01995 -0.261066,0.306446 -0.527117,0.612643 -0.879442,0.818851 -0.245855,0.144621 -0.413416,0.103229 -0.592696,-0.118439 -0.14861,-0.183518 -0.246353,-0.396709 -0.33138,-0.614886 -0.349831,-0.901136 -0.588954,-1.838675 -0.885177,-2.757515 -0.21743,-0.674231 -0.223414,-0.680464 0.20945,-1.248723 0.447575,-0.587708 0.875703,-1.1968602 1.462163,-1.6613914 0.431119,-0.3416031 0.73183,-0.3226534 1.129037,0.059094 0.0788,0.075801 0.207456,0.1388856 0.316919,0.1476127 0.369781,0.029674 0.691187,-0.3024566 0.880939,-0.5792304 0.188006,-0.2727835 0.259319,-0.6183768 0.163072,-0.9392845 z"/></svg>');cursor:pointer}._script-editor_iy654_5 .monaco-editor .macro{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M 5.1933594,1.4433594 6.3417969,2.5234375 6.2109375,2.6621094 c -3.466072,3.6769426 -3.467641,9.6565186 0,13.3339846 l 0.1308594,0.136718 -1.1484375,1.082032 -0.1328125,-0.140625 c -4.0371886,-4.28224 -4.0373752,-11.2077961 0,-15.4902346 z m 14.4726566,0 0.132812,0.140625 c 4.03717,4.2822197 4.037356,11.2058636 0,15.4882816 l -0.132812,0.140625 -1.148438,-1.080079 0.130859,-0.138671 c 3.465532,-3.675243 3.466902,-9.6542123 0,-13.3320316 L 18.517578,2.5234375 Z M 7.7597656,4.4335937 8.8769531,5.5488281 8.7421875,5.6816406 c -2.0366665,2.0366662 -2.037411,5.3404354 0,7.3769534 L 8.8769531,13.191406 7.7597656,14.310547 7.625,14.173828 C 4.9718615,11.520692 4.9723209,7.222936 7.6269531,4.5683594 Z m 9.3398434,0 0.132813,0.1347657 c 2.653779,2.6537788 2.65545,6.9500666 0,9.6054686 l -0.132813,0.136719 -1.117187,-1.119141 0.134765,-0.132812 c 2.036637,-2.035554 2.037534,-5.3391996 0,-7.3769534 L 15.982422,5.5488281 Z m -4.669921,1.7011719 c 0.811773,0 1.627703,0.304374 2.25,0.90625 1.260638,1.2198223 1.260413,3.1986104 0,4.4179684 -0.355144,0.343115 -0.779063,0.585007 -1.226563,0.732422 l -0.234375,0.07617 v 3.386719 h 0.002 v 6.048828 c 0,0.436615 -0.351565,0.791016 -0.789062,0.791016 -0.43763,0 -0.791016,-0.354618 -0.791016,-0.791016 v -3.308594 -6.126953 l -0.234375,-0.07617 c -0.448339,-0.147699 -0.871819,-0.38969 -1.226562,-0.732422 -1.2608671,-1.22004 -1.2605877,-3.1984433 0,-4.4179684 0.62227,-0.6019293 1.438264,-0.90625 2.25,-0.90625 z m 0,1.5820313 c -0.417461,0 -0.829931,0.1510762 -1.146485,0.4570312 -0.615751,0.5967629 -0.616877,1.5583713 0,2.1562499 0.314469,0.303373 0.726552,0.455078 1.146485,0.455078 0.421182,0 0.833304,-0.153008 1.148437,-0.457031 0.61548,-0.5965047 0.616739,-1.5585025 0,-2.15625 C 13.261859,7.8661993 12.846121,7.7167969 12.429688,7.7167969 Z"/></svg>');cursor:pointer}._script-editor_iy654_5 .monaco-editor .autorun{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M10 15h5.88c.27-.31.67-.5 1.12-.5.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5c-.44 0-.84-.19-1.12-.5H11.9c-.46 2.28-2.48 4-4.9 4-2.76 0-5-2.24-5-5 0-2.42 1.72-4.44 4-4.9v2.07c-1.16.41-2 1.53-2 2.83 0 1.65 1.35 3 3 3s3-1.35 3-3zm2.5-11c1.65 0 3 1.35 3 3h2c0-2.76-2.24-5-5-5s-5 2.24-5 5c0 1.43.6 2.71 1.55 3.62l-2.35 3.9c-.68.14-1.2.75-1.2 1.48 0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5c0-.16-.02-.31-.07-.45l3.38-5.63C10.49 9.61 9.5 8.42 9.5 7c0-1.65 1.35-3 3-3m4.5 9c-.64 0-1.23.2-1.72.54l-3.05-5.07C11.53 8.35 11 7.74 11 7c0-.83.67-1.5 1.5-1.5S14 6.17 14 7c0 .15-.02.29-.06.43l2.19 3.65c.28-.05.57-.08.87-.08 2.76 0 5 2.24 5 5s-2.24 5-5 5c-1.85 0-3.47-1.01-4.33-2.5h2.67c.48.32 1.05.5 1.66.5 1.65 0 3-1.35 3-3s-1.35-3-3-3"/></svg>');cursor:pointer}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
2
  import { FormulaError as ai, NumberFormat as Jt, ICell as Qt, IBorder as Et, ITextFrame as ye, GeomUtils as Mt, ScalarType as Un, IFont as ut, IRange as xe, LicenseManager as si, IColor as ul, AutoFill as gl, ISheetView as en, Color as ci, IFill as fo, RangeClipboardItem as hl, ExternalRangeClipboardItem as ml, TextUtils as ir, IAnchored as cn, CoordUtils as pl, ThemeCollection as fl } from "@sheetxl/sdk";
3
3
  import { LicenseManager as nd } from "@sheetxl/sdk";
4
- import { ReactUtils as st, useImperativeElement as $t, useCallbackRef as oe, KeyCodes as Nt, SimpleCommand as _e, Command as K, KeyModifiers as ne, CommandGroup as Ro, useCopyPaste as di, DynamicIcon as vl, useNotifier as Yn, useEditMode as mn, useGlobalClipboard as wl, NotifierType as lr, useCommands as ui, ScrollbarOrientation as dn, VirtualScrollbar as yl, MouseButtonCodes as gi, ToolTipPlacement as Fn, HorizontalAlignment as bl, ScrollPane as Cl, useFullscreenPortal as ql, defaultCreateScrollStartButton as Sl, defaultCreateScrollEndButton as xl, defaultCreateScrollEdgeButton as kl, ScrollUtils as yr } from "@sheetxl/utils-react";
4
+ import { ReactUtils as st, useImperativeElement as $t, useCallbackRef as oe, KeyCodes as Nt, SimpleCommand as _e, Command as K, KeyModifiers as ne, CommandGroup as Ro, useCopyPaste as di, DynamicIcon as vl, useNotifier as Yn, useEditMode as mn, useGlobalClipboard as wl, NotifierType as lr, useCommands as ui, ScrollbarOrientation as dn, VirtualScrollbar as yl, MouseButtonCodes as gi, ToolTipPlacement as zn, HorizontalAlignment as bl, ScrollPane as Cl, useFullscreenPortal as ql, defaultCreateScrollStartButton as Sl, defaultCreateScrollEndButton as xl, defaultCreateScrollEdgeButton as kl, ScrollUtils as yr } from "@sheetxl/utils-react";
5
5
  export * from "@sheetxl/utils-react";
6
6
  import { jsx as f, jsxs as nt, Fragment as kn } from "react/jsx-runtime";
7
7
  import { CommonUtils as ot, AnchorLocation as qt, TypesUtils as _n, CoordUtils as St, Notifier as Rl } from "@sheetxl/utils";
8
8
  import et, { memo as mt, useMemo as pe, useState as ge, forwardRef as vt, useRef as ke, useEffect as ve, useLayoutEffect as Bt, useCallback as Qe, version as Tl, createContext as pn, useContext as Kt, useReducer as un, Suspense as hi, createElement as Ml, cloneElement as Dl, useImperativeHandle as Al } from "react";
9
- import { STANDARD_KEY_CHARS as El, useSelection as mi, useHeaderSelection as Il, HeaderRenderer as zl, Grid as pi, HeaderDivider as Fl, SELECTION_CLIP_INSETS as Xo, defaultSelectionRenderer as Nl, useKeyboardEditorOverlay as Ll, Selection as fi, SVGLine as uo } from "@sheetxl/grid-react";
9
+ import { STANDARD_KEY_CHARS as El, useSelection as mi, useHeaderSelection as Il, HeaderRenderer as Fl, Grid as pi, HeaderDivider as zl, SELECTION_CLIP_INSETS as Xo, defaultSelectionRenderer as Nl, useKeyboardEditorOverlay as Ll, Selection as fi, SVGLine as uo } from "@sheetxl/grid-react";
10
10
  import { unstable_batchedUpdates as On, createPortal as vi } from "react-dom";
11
11
  /**
12
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.9
12
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.7.11
13
13
  *
14
14
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
15
15
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -36,7 +36,7 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
36
36
  d?.(R, r), R.preventDefault();
37
37
  }, ...l, children: f("svg", { width: "" + 15 * o, height: "" + 15 * o, viewBox: "0 0 15 15", style: { fill: `var(${w && !i ? "--sxl-app-color-primary-dark" : "--sxl-app-color-button-text"}, grey)`, opacity: i ? 0.6 : 1 }, children: f("path", { d: g }) }) });
38
38
  }, Ol = (e) => {
39
- const { value: t, coords: n, bounds: o, children: i, style: r, range: d, zoom: c = 1, view: l, bodyStyle: g, normalStyle: w, showFormulas: h, showZeros: a, docTheme: R, onLinkMouseDown: y, onFilterButtonMouseDown: M, filterButtonProps: E, createFilterButton: $ = Pl, ...O } = e, x = o.height / c, F = o.width / c, u = t, D = u.getValue(), C = t.getStyle(), W = g?.darkMode ?? !1;
39
+ const { value: t, coords: n, bounds: o, children: i, style: r, range: d, zoom: c = 1, view: l, bodyStyle: g, normalStyle: w, showFormulas: h, showZeros: a, docTheme: R, onLinkMouseDown: y, onFilterButtonMouseDown: M, filterButtonProps: E, createFilterButton: $ = Pl, ...O } = e, x = o.height / c, z = o.width / c, u = t, D = u.getValue(), C = t.getStyle(), W = g?.darkMode ?? !1;
40
40
  let A, L;
41
41
  const U = D && D.isFormulaError, de = U && D instanceof ai.Parse;
42
42
  let H, B = h || de;
@@ -47,7 +47,7 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
47
47
  }
48
48
  else A = u.getNumberFormat();
49
49
  B || (H = u.getTextOverflow());
50
- const q = H ? H.colBounds.width + H.leftOffset + H.rightOffset : F, V = H ? H.anchorBounds.x - H.leftOffset : 0, S = H ? H.anchorBounds.width : F, z = H ? H.anchorBounds.x : 0;
50
+ const q = H ? H.colBounds.width + H.leftOffset + H.rightOffset : z, V = H ? H.anchorBounds.x - H.leftOffset : 0, S = H ? H.anchorBounds.width : z, F = H ? H.anchorBounds.x : 0;
51
51
  let J, re = u.getRenderHorizontalAlignment();
52
52
  A && (J = A?.formattedRuns, L = J?.runs[0]?.text ?? A.displayText);
53
53
  const Ae = u.getCalcStatus() === Qt.CalcStatus.Pending;
@@ -59,14 +59,14 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
59
59
  !I.isNone() && Et.BuiltInDefinitions.get(I.getStyle()).width > 1 && (be = 1);
60
60
  }
61
61
  let Ee = null;
62
- if (F !== S || Le || be || typeof Oe?.backgroundPosition == "number") {
62
+ if (z !== S || Le || be || typeof Oe?.backgroundPosition == "number") {
63
63
  const { backgroundPosition: Te, ...I } = Oe, Z = Te ?? 0, N = l?.getScrollTopLeft(), j = Z ? -(o.x + (N.left ?? 0)) % Z : 0, Me = Z ? -(o.y + (N.top ?? 0)) % Z : 0;
64
- (Te !== void 0 || Le || be || F !== S) && (Object.keys(I).length === 1 && I.background === "none" || (Oe = null, Ee = f("div", { className: "fill", style: { marginLeft: `${j}px`, marginTop: `${Me}px`, left: z * c, width: st.boundPixel(S * c - j + 1 + Le), height: st.boundPixel(o.height - Me + 1 + be), ...I } }, "background")));
64
+ (Te !== void 0 || Le || be || z !== S) && (Object.keys(I).length === 1 && I.background === "none" || (Oe = null, Ee = f("div", { className: "fill", style: { marginLeft: `${j}px`, marginTop: `${Me}px`, left: F * c, width: st.boundPixel(S * c - j + 1 + Le), height: st.boundPixel(o.height - Me + 1 + be), ...I } }, "background")));
65
65
  }
66
66
  let Xe = null;
67
67
  const Q = u.getComments(), G = u.getWarnings(), ce = u.getErrors();
68
68
  if (Q || U || ce.length > 0 || G.length > 0) {
69
- const Te = { size: 7 * c, darkMode: W, cellWidth: S * c + 2, cellHeight: x * c + 2, style: { top: -1, left: z * c - 1 } };
69
+ const Te = { size: 7 * c, darkMode: W, cellWidth: S * c + 2, cellHeight: x * c + 2, style: { top: -1, left: F * c - 1 } };
70
70
  Xe = Xe ?? [], (G.length > 0 || ce.length > 0 || U) && Xe.push(f(br, { anchorLocation: qt.TopLeft, ...Te }, `indicator-${Xe.length}`)), Q && Xe.push(f(br, { anchorLocation: qt.TopRight, ...Te }, `indicator-${Xe.length}`));
71
71
  }
72
72
  const Pe = C.getFont();
@@ -112,7 +112,7 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
112
112
  let X = null;
113
113
  T.visitLines({ visitTextLine: (qe, we) => {
114
114
  let Se = qe.bounds;
115
- const Ke = Mt.boundsToPoints(Se), ze = Mt.rotatePoints(Ke, ae), He = Mt.minBoundingRect(ze);
115
+ const Ke = Mt.boundsToPoints(Se), Fe = Mt.rotatePoints(Ke, ae), He = Mt.minBoundingRect(Fe);
116
116
  Se = { ...Se, x: (He.width - Se.width) / 2, y: (He.height - Se.height) / 2 }, X = X ? Mt.unionBounds(X, Se) : Se;
117
117
  } }), I = { ...X, width: X.width + fe + Ne };
118
118
  }
@@ -120,12 +120,12 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
120
120
  if (C.getNumberFormat() === "General" && u.getType() === Un.Number) {
121
121
  const X = C.measureText("0"), qe = Math.floor(k / X.width), we = D, Se = ot.splitNumber(we), Ke = Math.min(10, qe - (Math.max(1, Se.ipLength) + 1) - (we < 0 ? 1 : 0));
122
122
  if (Ke >= -1) {
123
- const ze = `0${Ke > 0 ? "." : ""}${"#".repeat(Math.max(0, Ke))}`;
124
- p = u.getNumberFormat(ze).displayText, p === "0" && we < 0 && (p = "-0");
123
+ const Fe = `0${Ke > 0 ? "." : ""}${"#".repeat(Math.max(0, Ke))}`;
124
+ p = u.getNumberFormat(Fe).displayText, p === "0" && we < 0 && (p = "-0");
125
125
  } else if (Math.abs(we) >= Math.pow(10, 5) || Math.abs(we) <= Math.pow(10, -5)) {
126
- const ze = qe - 5 - (we < 0 ? 1 : 0);
127
- if (ze >= 0) {
128
- const He = `0.${"0".repeat(Math.max(0, ze - 1))}E+00`;
126
+ const Fe = qe - 5 - (we < 0 ? 1 : 0);
127
+ if (Fe >= 0) {
128
+ const He = `0.${"0".repeat(Math.max(0, Fe - 1))}E+00`;
129
129
  p = u.getNumberFormat(He).displayText;
130
130
  }
131
131
  }
@@ -149,7 +149,7 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
149
149
  X.stopPropagation(), X.preventDefault();
150
150
  } : null, ..._ };
151
151
  de && (te.style.textDecorationStyle = "wavy", te.style.textDecorationColor = W ? "rgb(0, 255, 255)" : "red", te.style.textDecorationLine = "underline");
152
- const se = Pe.getSize(), ue = (X, qe, we, Se, Ke, ze, He, $e = null) => {
152
+ const se = Pe.getSize(), ue = (X, qe, we, Se, Ke, Fe, He, $e = null) => {
153
153
  let tt = se * c, Je = we, gt = He?.runs ? He.runs : [{ type: Jt.ParseRunType.Text, text: X, width: C.measureText(X, tt).width }];
154
154
  He && He?.width !== I.width && (I = { ...I, width: He?.width });
155
155
  let Ue = fe;
@@ -159,15 +159,15 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
159
159
  const it = [...gt], Vt = Math.max(0, k - 1 - He.width);
160
160
  let It = 0, At = "";
161
161
  if (Vt > 0) {
162
- const zt = Math.floor(Vt / bt.width);
163
- At = zt > 0 ? bt.text.repeat(zt) : "", It = Vt;
162
+ const Ft = Math.floor(Vt / bt.width);
163
+ At = Ft > 0 ? bt.text.repeat(Ft) : "", It = Vt;
164
164
  }
165
165
  it[He.lastRepeatIndex] = { type: Jt.ParseRunType.Repeat, text: At, width: It }, gt = it, I = { ...I, width: He.width + It };
166
166
  }
167
167
  }
168
- const lt = (bt, it, Vt, It, At, zt, Ct, Dn, Yt, on = null) => {
168
+ const lt = (bt, it, Vt, It, At, Ft, Ct, Dn, Yt, on = null) => {
169
169
  let rn, An = Je.width;
170
- Ke === ye.HorizontalAlignment.Justify ? (An = At, ze || (rn = "justify")) : Ke === ye.HorizontalAlignment.Distributed && (An = At, rn = ze || bt.text.split(" ").length - 1 == 0 ? "center" : "justify");
170
+ Ke === ye.HorizontalAlignment.Justify ? (An = At, Fe || (rn = "justify")) : Ke === ye.HorizontalAlignment.Distributed && (An = At, rn = Fe || bt.text.split(" ").length - 1 == 0 ? "center" : "justify");
171
171
  const { style: Xt, className: eo, ...Pt } = on;
172
172
  let fn = bt.text;
173
173
  if (Ke === ye.HorizontalAlignment.Fill && A?.repeatChars.length === 0) {
@@ -184,16 +184,16 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
184
184
  je || (pt.background = void 0), Ce && (pt.color = Ce.toCSS(W));
185
185
  const no = Ue + it;
186
186
  let vn = Be.top + Je.y + 0;
187
- if (ln && (vn += Yt - tt), zt) {
188
- const Rt = (Ct.x + no) * c + 1, Ft = (Ct.y + vn) * c + 1;
189
- Ft < 0 ? pt.marginTop = Ft : pt.paddingTop = Ft, Rt < 0 ? (pt.width = (Xt?.width ?? 0) - Rt, pt.left = (Xt?.left ?? 0) + Rt) : pt.paddingLeft = Rt, pt.paddingRight = Math.max(0, (Xt?.width ?? 0) - An * c - Rt), pt.paddingBottom = Math.max(0, (Xt?.height ?? 0) - Je.height * c - Ft), pt.height = (Xt?.height ?? 0) + (Ft < 0 ? -Ft : 0), (Ft < 0 || Rt < 0) && (pt.clipPath = `inset(${Ft < 0 ? -Ft : 0}px 0px 0px ${Rt < 0 ? 1 - Rt : 0}px)`);
187
+ if (ln && (vn += Yt - tt), Ft) {
188
+ const Rt = (Ct.x + no) * c + 1, zt = (Ct.y + vn) * c + 1;
189
+ zt < 0 ? pt.marginTop = zt : pt.paddingTop = zt, Rt < 0 ? (pt.width = (Xt?.width ?? 0) - Rt, pt.left = (Xt?.left ?? 0) + Rt) : pt.paddingLeft = Rt, pt.paddingRight = Math.max(0, (Xt?.width ?? 0) - An * c - Rt), pt.paddingBottom = Math.max(0, (Xt?.height ?? 0) - Je.height * c - zt), pt.height = (Xt?.height ?? 0) + (zt < 0 ? -zt : 0), (zt < 0 || Rt < 0) && (pt.clipPath = `inset(${zt < 0 ? -zt : 0}px 0px 0px ${Rt < 0 ? 1 - Rt : 0}px)`);
190
190
  } else if (pt.left = (Ct.x + no) * c + 1, pt.top = (Ct.y + vn) * c + 1, pt.width = Ct.width * c, pt.height = Ct.height * c, ae && !Te) {
191
191
  pt.left = (Ct.x + it) * c + 1, pt.top = (Ct.y + (Je.y + 0)) * c + 1;
192
- const Rt = Mt.centerPoint({ x: Ue + it, y: 0, width: bt.width, height: Je.height }), Ft = Mt.centerPoint({ x: Ue, y: 0, width: At, height: Je.height }), oo = Mt.rotatePoints([Rt], ae, Ft), ro = { x: oo[0].x - Rt.x, y: oo[0].y - Rt.y };
192
+ const Rt = Mt.centerPoint({ x: Ue + it, y: 0, width: bt.width, height: Je.height }), zt = Mt.centerPoint({ x: Ue, y: 0, width: At, height: Je.height }), oo = Mt.rotatePoints([Rt], ae, zt), ro = { x: oo[0].x - Rt.x, y: oo[0].y - Rt.y };
193
193
  pt.left = pt.left + ro.x * c, pt.top = pt.top + ro.y * c;
194
194
  const an = { ...Je, x: Ue, y: Be.top, width: Je.width + (fe + Ne) }, io = Mt.boundsToPoints(an), Io = Mt.rotatePoints(io, ae), lo = Mt.minBoundingRect(Io);
195
195
  an.width = lo.width, an.height = lo.height;
196
- const ao = Mt.centerPoint(an), wn = { x: ao.x - Ft.x, y: ao.y - Ft.y };
196
+ const ao = Mt.centerPoint(an), wn = { x: ao.x - zt.x, y: ao.y - zt.y };
197
197
  pt.left = pt.left + wn.x * c, pt.top = pt.top + wn.y * c;
198
198
  }
199
199
  pt.lineHeight = En * c + "px";
@@ -216,12 +216,12 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
216
216
  };
217
217
  p ? ue(p, 0, { x: 0, y: 0, ...I }, T.lines[0].baseline, re, !0, null, te) : T.visitLines({ visitTextLine: (X, qe, we) => {
218
218
  const Se = X.runs[0].text.replace(/\s+$/, ""), Ke = qe === we - 1;
219
- let ze = re === ye.HorizontalAlignment.Justify && (Ke || X.runs[0].text.endsWith(`
219
+ let Fe = re === ye.HorizontalAlignment.Justify && (Ke || X.runs[0].text.endsWith(`
220
220
  `)) ? ye.HorizontalAlignment.Left : re, He = 0;
221
- qe > 0 && (P.getVertical() === ye.VerticalAlignment.Distributed || P.getVertical() === ye.VerticalAlignment.Justify) && (He = Math.max(0, (x - (ie + 3) - X.bounds.height * we) / (we - 1) * qe)), P.getVertical() === ye.VerticalAlignment.Distributed && ae && ae % 90 == 0 && ae % 180 != 0 && (ze = ye.HorizontalAlignment.Distributed), ze !== ye.HorizontalAlignment.Justify && ze !== ye.HorizontalAlignment.Distributed && ze !== ye.HorizontalAlignment.Fill || (I = { ...I, width: k });
221
+ qe > 0 && (P.getVertical() === ye.VerticalAlignment.Distributed || P.getVertical() === ye.VerticalAlignment.Justify) && (He = Math.max(0, (x - (ie + 3) - X.bounds.height * we) / (we - 1) * qe)), P.getVertical() === ye.VerticalAlignment.Distributed && ae && ae % 90 == 0 && ae % 180 != 0 && (Fe = ye.HorizontalAlignment.Distributed), Fe !== ye.HorizontalAlignment.Justify && Fe !== ye.HorizontalAlignment.Distributed && Fe !== ye.HorizontalAlignment.Fill || (I = { ...I, width: k });
222
222
  let $e = ee || A && (A.repeatChars.length > 0 || A.spacingChars.length > 0) ? I.width : X.bounds.width;
223
223
  const tt = { ...X.bounds, y: X.bounds.y + He + 0, width: $e };
224
- ue(Se, qe, tt, s.lines[0].baseline, ze, Ke, we === 1 ? J : null, je && qe > 0 ? { ...te, style: { ...te.style, background: void 0 } } : te);
224
+ ue(Se, qe, tt, s.lines[0].baseline, Fe, Ke, we === 1 ? J : null, je && qe > 0 ? { ...te, style: { ...te.style, background: void 0 } } : te);
225
225
  } });
226
226
  }
227
227
  j.length > 0 && (me = j);
@@ -229,20 +229,20 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
229
229
  if (je) return me && me.length > 0 ? me : f("div", { style: le, ...O });
230
230
  let Ie = y ? "auto" : Re.pointerEvents, Ve = null;
231
231
  if (m) {
232
- const Te = { x: z * c - 1, y: -1, width: S * c + 1, height: x * c + 1 };
232
+ const Te = { x: F * c - 1, y: -1, width: S * c + 1, height: x * c + 1 };
233
233
  Ie = "auto", Ve = $({ renderBounds: Te, darkMode: W, className: "filter-button", disabled: !u.isEditAllowed(), zoom: c, filter: u.getColumnFilter(), onFilterButtonMouseDown: M, ...E }), Ve && (Ve = f("div", { style: { ...Te, position: "absolute", zIndex: 2, display: "flex", alignItems: "end" }, onDoubleClick: (I) => {
234
234
  I.stopPropagation(), I.preventDefault();
235
235
  }, children: Ve }, "filterButton"));
236
236
  }
237
237
  Ae && !me && (me = f("div", { style: { position: "absolute", left: 0, right: 0, top: 0, bottom: 0, display: "flex", alignItems: "center", justifyContent: "center", pointerEvents: "none" }, children: "..." }, "pending-ellipsis"));
238
- const Fe = [Ee, me, i, Xe, We, Ve];
239
- return f("div", { style: { ...Oe, ...Re, pointerEvents: Ie }, ...O, children: Fe });
238
+ const ze = [Ee, me, i, Xe, We, Ve];
239
+ return f("div", { style: { ...Oe, ...Re, pointerEvents: Ie }, ...O, children: ze });
240
240
  }, Cr = { text: "", placeholder: "" }, qr = (e, t) => {
241
241
  if (e.clean().getStyle().getNumberFormat().indexOf("%") === -1) return !1;
242
242
  const n = t ?? e.dirty ?? "";
243
243
  return n.length === 0 || n.endsWith("%") && !isNaN(parseFloat(n.substring(0, n.length - 1)));
244
244
  }, Bl = Object.freeze([Nt.Delete, Nt.Home, Nt.End]), Hl = mt(vt((e, t) => {
245
- const { editState: n, onStartEdit: o, onChangeEdit: i, onSubmitEdit: r, onCancelEdit: d, onDoneEdit: c, defaultTextStyle: l, useRichStyling: g = !0, bodyStyle: w, activeCoords: h, sheet: a, commands: R, containerBounds: y, setNaturalSize: M, onFocus: E, disabled: $, style: O, zoom: x = 1, linesVisible: F, autoFocus: u = !1, ...D } = e, { height: C = 0, width: W = 0 } = y ?? {}, A = w?.darkMode ?? !1, L = ke(null), [U, de] = ge(!1), [H, B] = ge(null), [q, V] = ge(() => n);
245
+ const { editState: n, onStartEdit: o, onChangeEdit: i, onSubmitEdit: r, onCancelEdit: d, onDoneEdit: c, defaultTextStyle: l, useRichStyling: g = !0, bodyStyle: w, activeCoords: h, sheet: a, commands: R, containerBounds: y, setNaturalSize: M, onFocus: E, disabled: $, style: O, zoom: x = 1, linesVisible: z, autoFocus: u = !1, ...D } = e, { height: C = 0, width: W = 0 } = y ?? {}, A = w?.darkMode ?? !1, L = ke(null), [U, de] = ge(!1), [H, B] = ge(null), [q, V] = ge(() => n);
246
246
  ve(() => {
247
247
  be.current = !1, V(n);
248
248
  }, [n]);
@@ -271,22 +271,22 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
271
271
  return { text: T.dirty ?? "", placeholder: "" };
272
272
  })(q), p = b.text, v = ye.toCSSHorizontalTextAlign(g && !N ? q.clean()?.getRenderHorizontalAlignment() : ye.HorizontalAlignment.Left);
273
273
  return { style: Z, isWrapped: k, textValue: p, formula: N, frameVertAlign: s, placeholder: b.placeholder, insets: g ? I.getInsets() : _n.EmptyRect, textAlign: v };
274
- }, [q, l, A, x, g]), z = ke(null), J = $t(t, () => ({ startEdit: (I) => {
274
+ }, [q, l, A, x, g]), F = ke(null), J = $t(t, () => ({ startEdit: (I) => {
275
275
  L.current = I?.initialSelection;
276
276
  const Z = { ...n, editMode: I?.editMode ?? !1 };
277
277
  I?.text !== void 0 && (Z.dirty = I.text), Z.editMode === n.editMode && Z.dirty === n.dirty || (V(Z), me?.(Z));
278
278
  }, submitEdit: () => Ee(), cancelEdit() {
279
279
  Xe();
280
280
  }, autoFocus() {
281
- z.current.focus();
282
- }, dispatchEvent: (I) => z.current.dispatchEvent(I), focus() {
283
- z.current.focus();
281
+ F.current.focus();
282
+ }, dispatchEvent: (I) => F.current.dispatchEvent(I), focus() {
283
+ F.current.focus();
284
284
  }, getLineHeight: Ae }), [o, n]);
285
285
  Bt(() => {
286
286
  if (!H || !U) return;
287
- const I = z.current;
287
+ const I = F.current;
288
288
  S.textValue, I && I.setSelectionRange(H.start, H.end, H.direction);
289
- }, [z.current, H, S.textValue]);
289
+ }, [F.current, H, S.textValue]);
290
290
  const re = pe(() => {
291
291
  const I = q?.clean(), Z = S.style.createTemporaryTextFrame(S.textValue, I?.getType() === Un.String), N = g ? I.getInsets().right + I.getInsets().left : 0;
292
292
  let j = null;
@@ -300,7 +300,7 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
300
300
  const me = oe(i, [i]), Oe = oe((I) => {
301
301
  if (q.dirty === I) return;
302
302
  const Z = { ...q };
303
- Z.dirty = I, z.current, V(Z), me?.(Z);
303
+ Z.dirty = I, F.current, V(Z), me?.(Z);
304
304
  }, [q]), Le = oe((I) => {
305
305
  if (q.editMode === I) return;
306
306
  const Z = { ...q };
@@ -316,11 +316,11 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
316
316
  }, [r, q]), Xe = oe(() => {
317
317
  be.current = !0, V(n), d?.(), c?.();
318
318
  }, [d, n]), Q = oe((I) => {
319
- if (!z.current) return;
319
+ if (!F.current) return;
320
320
  if (I.key, I.isDefaultPrevented(), !(I.isTrusted || I.nativeEvent.ctrlKey || I.nativeEvent.metaKey || I.nativeEvent.altKey || I.nativeEvent.isComposing || El.indexOf(I.nativeEvent.key) === -1 && I.nativeEvent.key !== "Backspace")) {
321
321
  const b = { ...q };
322
322
  let p = 0;
323
- return qr(b, b.dirty) && !isNaN(parseFloat(I.key)) ? (b.dirty?.endsWith("%") ? b.dirty = (b.dirty.substring(0, b.dirty.length - 1) ?? "") + I.key + "%" : b.dirty = (b.dirty ?? "") + I.key + "%", p = b.dirty.length - 1) : I.nativeEvent.key === "Backspace" ? (b.dirty = "", p = b.dirty.length) : (b.dirty = (b.dirty ?? "") + I.key, p = b.dirty.length), z.current.value = b?.dirty, L.current = { start: p, end: p, direction: "forward" }, z.current?.setSelectionRange(p, p, "forward"), V(b), me?.(b), void I.preventDefault();
323
+ return qr(b, b.dirty) && !isNaN(parseFloat(I.key)) ? (b.dirty?.endsWith("%") ? b.dirty = (b.dirty.substring(0, b.dirty.length - 1) ?? "") + I.key + "%" : b.dirty = (b.dirty ?? "") + I.key + "%", p = b.dirty.length - 1) : I.nativeEvent.key === "Backspace" ? (b.dirty = "", p = b.dirty.length) : (b.dirty = (b.dirty ?? "") + I.key, p = b.dirty.length), F.current.value = b?.dirty, L.current = { start: p, end: p, direction: "forward" }, F.current?.setSelectionRange(p, p, "forward"), V(b), me?.(b), void I.preventDefault();
324
324
  }
325
325
  const Z = I.nativeEvent.ctrlKey, N = I.nativeEvent.shiftKey, j = I.nativeEvent.altKey, Me = I.nativeEvent.metaKey;
326
326
  if (Z && I.key === "z" && I.stopPropagation(), I.which === Nt.Escape) return I.preventDefault(), void Xe();
@@ -354,13 +354,13 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
354
354
  return void Ee();
355
355
  q.editMode && (k || Bl.includes(I.which)) && I.stopPropagation();
356
356
  }, [q, a, S]), G = Qe(() => {
357
- z.current?.focus(), setTimeout(() => {
358
- z.current?.select();
357
+ F.current?.focus(), setTimeout(() => {
358
+ F.current?.select();
359
359
  }, 0);
360
360
  }, []), ce = Qe(() => {
361
- z.current?.focus(), console.log("implement toggleRelativeReferences");
361
+ F.current?.focus(), console.log("implement toggleRelativeReferences");
362
362
  }, []), Pe = oe(() => {
363
- const I = z.current?.value;
363
+ const I = F.current?.value;
364
364
  let Z = "";
365
365
  if (h.rowIndex > 0) {
366
366
  const N = a.getRange({ rowIndex: h.rowIndex - 1, colIndex: h.colIndex }).getCell();
@@ -374,28 +374,28 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
374
374
  }), [h, a, q]);
375
375
  const Ce = Qe(() => {
376
376
  const I = q.clean().createTemporaryCell({ value: jn(), style: { numberFormat: "Medium Time" } }).toText();
377
- Oe((z.current?.value ?? "") + I);
377
+ Oe((F.current?.value ?? "") + I);
378
378
  }, [a]), P = Qe(() => {
379
379
  const I = q.clean().createTemporaryCell({ value: jn(), style: { numberFormat: "Short Date" } }).toText();
380
- Oe((z.current?.value ?? "") + I);
381
- }, [a]), ee = pe(() => ({ element: () => z.current, doCopy: (I) => {
382
- const Z = z.current.value.substring(z.current.selectionStart, z.current.selectionEnd);
380
+ Oe((F.current?.value ?? "") + I);
381
+ }, [a]), ee = pe(() => ({ element: () => F.current, doCopy: (I) => {
382
+ const Z = F.current.value.substring(F.current.selectionStart, F.current.selectionEnd);
383
383
  if (I?.isCut) {
384
- const N = z.current.value.substring(0, z.current.selectionStart) + z.current.value.substring(z.current.selectionEnd, z.current.value.length);
384
+ const N = F.current.value.substring(0, F.current.selectionStart) + F.current.value.substring(F.current.selectionEnd, F.current.value.length);
385
385
  Oe(N);
386
386
  }
387
387
  return Z;
388
- } }), [z.current]), he = pe(() => ({ element: () => z.current, doPaste: async (I, Z) => {
388
+ } }), [F.current]), he = pe(() => ({ element: () => F.current, doPaste: async (I, Z) => {
389
389
  const N = await I.toText?.();
390
390
  if (!N) return !0;
391
- const j = z.current.value.substring(0, z.current.selectionStart) + N + z.current.value.substring(z.current.selectionEnd, z.current.value.length);
392
- return Oe(j), B({ start: z.current.selectionStart + N.length, end: z.current.selectionStart + N.length, direction: "forward" }), !0;
393
- } }), [z.current]), ae = pe(() => ({ contains: (I) => z.current?.contains(I) || !1, focus() {
394
- z.current.focus();
391
+ const j = F.current.value.substring(0, F.current.selectionStart) + N + F.current.value.substring(F.current.selectionEnd, F.current.value.length);
392
+ return Oe(j), B({ start: F.current.selectionStart + N.length, end: F.current.selectionStart + N.length, direction: "forward" }), !0;
393
+ } }), [F.current]), ae = pe(() => ({ contains: (I) => F.current?.contains(I) || !1, focus() {
394
+ F.current.focus();
395
395
  } }), []), Be = pe(() => [new _e("selectAll", ae, { label: "Select All", description: "Select all of the text in cell.", shortcut: { key: "a", modifiers: [ne.Ctrl] } }, G), new _e("startEditValueAbove", ae, { label: "Copy From Above", description: "Copy the value from the cell above the active cell into the cell or the formula bar.", shortcut: [{ key: '"', modifiers: [ne.Ctrl] }, { key: '"', modifiers: [ne.Ctrl, ne.Shift] }] }, Pe), new _e("startEditCurrentTime", ae, { label: "Current Time", description: "Insert the current time.", shortcut: { key: "Semicolon", modifiers: [ne.Ctrl, ne.Shift] } }, Ce), new _e("startEditCurrentDate", ae, { label: "Current Date", description: "Insert the current date.", shortcut: { key: "Semicolon", modifiers: [ne.Ctrl] } }, P), new K("relativeReferencesToggle", ae, { label: "Toggle References", description: "Toggles cell references from relative to absolute, to partially absolute, back to relative again.", shortcut: { key: "F4" } }, ce), new K("toggleEditorFocus", ae, { label: "Toggle Editor Focus", description: "Moves focus between editors such as formula editor and inline editor.", shortcut: { key: "F2", modifiers: [ne.Ctrl] } })], []), ie = pe(() => {
396
396
  let I = null;
397
- const Z = () => ({ contains: (N) => z.current?.contains(N) || !1, focus() {
398
- z.current.focus();
397
+ const Z = () => ({ contains: (N) => F.current?.contains(N) || !1, focus() {
398
+ F.current.focus();
399
399
  } });
400
400
  return I = R ? R.createChildGroup(Z, "editor", !1) : new Ro(Z, "editor"), I.addCommands(Be, !0), I;
401
401
  }, [R, Be]), fe = pe(() => ({ notifier: null, source: ee, target: he, commands: ie }), [ee, he, ie]);
@@ -409,7 +409,7 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
409
409
  const Z = L.current;
410
410
  if (Z !== !1) {
411
411
  let N, j;
412
- const Me = z.current.value;
412
+ const Me = F.current.value;
413
413
  qr(q, Me) && (N = Me.length - 1, j = Me.length - 1), N = Z?.start ?? N ?? Me.length, j = Z?.end ?? j ?? Me.length, L.current = !1, B({ start: N, end: j, direction: "forward" });
414
414
  }
415
415
  E?.(I);
@@ -417,20 +417,20 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
417
417
  let We = m.left + 1;
418
418
  const je = m.left + m.right + 2 - 1, dt = re?.bounds.height ?? 0;
419
419
  let le, Ie = m.top;
420
- S.frameVertAlign === ye.VerticalAlignment.Center ? Ie = Math.max(0, (C - (m.top + m.bottom) - dt) / 2) : S.frameVertAlign === ye.VerticalAlignment.Bottom && (Ie = Math.max(0, C - (m.top + m.bottom) - dt)), F !== void 0 && re?.lines[0]?.bounds && (le = re?.lines[0]?.bounds.height * F);
420
+ S.frameVertAlign === ye.VerticalAlignment.Center ? Ie = Math.max(0, (C - (m.top + m.bottom) - dt) / 2) : S.frameVertAlign === ye.VerticalAlignment.Bottom && (Ie = Math.max(0, C - (m.top + m.bottom) - dt)), z !== void 0 && re?.lines[0]?.bounds && (le = re?.lines[0]?.bounds.height * z);
421
421
  const Ve = S.style.getFont();
422
- let Fe = Ve.getSize();
423
- Ve.isSuperSub() && (Fe *= Ve.getSuperSubScale()), Fe *= ut.getDeviceScale() * x;
422
+ let ze = Ve.getSize();
423
+ Ve.isSuperSub() && (ze *= Ve.getSuperSubScale()), ze *= ut.getDeviceScale() * x;
424
424
  const Te = g ? Ve.toCSS(A, x) : null;
425
425
  return f("div", { className: "sheet-cell-editor", onMouseDown: (I) => {
426
- z.current && document.activeElement !== z.current && requestAnimationFrame(() => {
427
- z.current.focus();
426
+ F.current && document.activeElement !== F.current && requestAnimationFrame(() => {
427
+ F.current.focus();
428
428
  });
429
- }, ref: J, ...D, style: { display: "flex", flexGrow: 1, alignSelf: "stretch", height: "100%", width: "100%", maxWidth: "100%", maxHeight: "100%", cursor: "initial", ...O }, children: f("div", { className: "editor-placement", style: { display: "flex", flexGrow: 1, position: "relative", top: Ie * x, left: We * x, width: `calc(100% - ${je * x}px)`, maxWidth: `calc(100% - ${je * x}px)`, height: (le ?? dt) * x, maxHeight: (le ?? dt) * x }, children: f("textarea", { spellCheck: "false", placeholder: S.placeholder, ref: z, value: S.textValue, disabled: Ne, readOnly: $ || a.getProtection().isReadOnly(), name: "sheet-cell-editor", autoComplete: "off", autoCapitalize: "off", style: { flex: "1 1 100%", font: "inherit", ...Te, fontSize: Fe ? `${Fe}px` : "inherit", textAlign: S.textAlign, lineHeight: (re?.lines[0]?.bounds.height ?? 0) * x + "px", height: (re?.bounds.height ?? 0) * x, boxSizing: "border-box", padding: "0px", margin: "0px", borderWidth: 0, outline: "none", resize: "none", overflow: "hidden", background: "transparent", maxHeight: "100%", maxWidth: "100%", width: "100%", userSelect: "text", position: "absolute", whiteSpace: S.isWrapped ? "normal" : "pre", wordWrap: "break-word" }, onFocus: Ze, onBlur: () => {
429
+ }, ref: J, ...D, style: { display: "flex", flexGrow: 1, alignSelf: "stretch", height: "100%", width: "100%", maxWidth: "100%", maxHeight: "100%", cursor: "initial", ...O }, children: f("div", { className: "editor-placement", style: { display: "flex", flexGrow: 1, position: "relative", top: Ie * x, left: We * x, width: `calc(100% - ${je * x}px)`, maxWidth: `calc(100% - ${je * x}px)`, height: (le ?? dt) * x, maxHeight: (le ?? dt) * x }, children: f("textarea", { spellCheck: "false", placeholder: S.placeholder, ref: F, value: S.textValue, disabled: Ne, readOnly: $ || a.getProtection().isReadOnly(), name: "sheet-cell-editor", autoComplete: "off", autoCapitalize: "off", style: { flex: "1 1 100%", font: "inherit", ...Te, fontSize: ze ? `${ze}px` : "inherit", textAlign: S.textAlign, lineHeight: (re?.lines[0]?.bounds.height ?? 0) * x + "px", height: (re?.bounds.height ?? 0) * x, boxSizing: "border-box", padding: "0px", margin: "0px", borderWidth: 0, outline: "none", resize: "none", overflow: "hidden", background: "transparent", maxHeight: "100%", maxWidth: "100%", width: "100%", userSelect: "text", position: "absolute", whiteSpace: S.isWrapped ? "normal" : "pre", wordWrap: "break-word" }, onFocus: Ze, onBlur: () => {
430
430
  de(!1);
431
431
  }, onSelect: (I) => {
432
432
  }, onChange: (I) => {
433
- z.current && !be.current && (L.current = !1, Oe(I.target.value), S.textValue, I.target.value, I.target.selectionStart, I.target.selectionEnd, I.target.selectionDirection, B({ start: I.target.selectionStart, end: I.target.selectionEnd, direction: I.target.selectionDirection }));
433
+ F.current && !be.current && (L.current = !1, Oe(I.target.value), S.textValue, I.target.value, I.target.selectionStart, I.target.selectionEnd, I.target.selectionDirection, B({ start: I.target.selectionStart, end: I.target.selectionEnd, direction: I.target.selectionDirection }));
434
434
  }, onMouseDown: (I) => {
435
435
  U && Le(!0);
436
436
  }, onKeyDown: Q }) }) });
@@ -439,7 +439,7 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
439
439
  let x = null;
440
440
  if (O && n > 0) {
441
441
  x = "";
442
- for (let F = 0; F < O.length; F++) x += O[F], F < O.length - 1 && (x += ",");
442
+ for (let z = 0; z < O.length; z++) x += O[z], z < O.length - 1 && (x += ",");
443
443
  }
444
444
  return x;
445
445
  }, a = h(o);
@@ -455,8 +455,8 @@ const jn = (e = 6e4) => new Date(Math.floor(Date.now() / e) * e), vc = Object.fr
455
455
  if (d) {
456
456
  y = n / 2;
457
457
  const O = y + y / 2;
458
- let x = R, F = null;
459
- F = g ? `M ${st.boundPixel(c + O)} ${st.boundPixel(l)} L ${st.boundPixel(c + O)} ${st.boundPixel(l + M)}` : `M ${st.boundPixel(c)} ${st.boundPixel(l + O)} L ${st.boundPixel(c + M)} ${st.boundPixel(l + O)}`, E = f("path", { strokeWidth: y, strokeDasharray: x, strokeDashoffset: "1", shapeRendering: "crispEdges", d: F, ...w });
458
+ let x = R, z = null;
459
+ z = g ? `M ${st.boundPixel(c + O)} ${st.boundPixel(l)} L ${st.boundPixel(c + O)} ${st.boundPixel(l + M)}` : `M ${st.boundPixel(c)} ${st.boundPixel(l + O)} L ${st.boundPixel(c + M)} ${st.boundPixel(l + O)}`, E = f("path", { strokeWidth: y, strokeDasharray: x, strokeDashoffset: "1", shapeRendering: "crispEdges", d: z, ...w });
460
460
  }
461
461
  let $ = null;
462
462
  return $ = g ? `M ${st.boundPixel(c + y / 2)} ${st.boundPixel(l)} L ${st.boundPixel(c + y / 2)} ${st.boundPixel(l + M)}` : `M ${st.boundPixel(c)} ${st.boundPixel(l + y / 2)} L ${st.boundPixel(c + M)} ${st.boundPixel(l + y / 2)}`, nt(kn, { children: [f("path", { strokeWidth: y, strokeDasharray: a, d: $, ...w }), E] });
@@ -504,7 +504,7 @@ const gn = yi && window.ResizeObserver !== void 0 ? function() {
504
504
  const a = n[0], R = n[1], y = n[2], M = n[3];
505
505
  let E = 1 + (l ? M - R : y - a), $ = 0;
506
506
  const O = i.getColor().toRGBA(r).toString(), x = h.description.toLowerCase().includes("double");
507
- let F, u;
507
+ let z, u;
508
508
  const D = l ? "rowStart" : "colStart", C = l ? "rowEnd" : "colEnd", W = l ? R : a;
509
509
  if (g?.length > 0) {
510
510
  const de = g[0];
@@ -518,22 +518,22 @@ const gn = yi && window.ResizeObserver !== void 0 ? function() {
518
518
  }
519
519
  if (x) {
520
520
  const B = l ? "colStart" : "rowStart", q = l ? "colEnd" : "rowEnd", V = l ? w?.getRowOffset : w?.getColOffset;
521
- let S = 0, z = 0;
522
- F = [], u = [];
521
+ let S = 0, F = 0;
522
+ z = [], u = [];
523
523
  const J = g.length;
524
524
  for (let re = 0; re < J; re++) {
525
525
  const Ae = g[re];
526
526
  if (Ae.stroke.getStyle() === Et.StrokeStyle.Double && V) {
527
527
  const me = V(Ae.range[D]) - (W - $);
528
- Ae.range[B] < o[B] && (F.push(me - S), S = me, F.push(1), S++), Ae.range[q] > o[q] && (u.push(me - z), z = me, u.push(1), z++);
528
+ Ae.range[B] < o[B] && (z.push(me - S), S = me, z.push(1), S++), Ae.range[q] > o[q] && (u.push(me - F), F = me, u.push(1), F++);
529
529
  }
530
530
  }
531
- F.length > 0 && S < E && F.push(E - S), u.length > 0 && z < E && u.push(E - z);
531
+ z.length > 0 && S < E && z.push(E - S), u.length > 0 && F < E && u.push(E - F);
532
532
  }
533
533
  }
534
534
  let A = l ? -Math.floor(h.width / 2) : -$, L = l ? -$ : -Math.floor(h.width / 2);
535
535
  const U = c && h.width > 2 ? -1 : 0;
536
- return f(Wl, { offsetX: a + A + U, offsetY: R + L + U, length: E + $, isVertical: l, stroke: O, width: h.width, dashArray: F ?? h.pattern, dashArrayAdditional: u, isDouble: x, isAngled: h.description.toLowerCase().includes("slant") }, t);
536
+ return f(Wl, { offsetX: a + A + U, offsetY: R + L + U, length: E + $, isVertical: l, stroke: O, width: h.width, dashArray: z ?? h.pattern, dashArrayAdditional: u, isDouble: x, isAngled: h.description.toLowerCase().includes("slant") }, t);
537
537
  }, bi = ({ getBorderAt: e, borderRenderer: t = Gl, getVisibleCells: n, darkMode: o, forceThinBorder: i = !1, defaultColor: r = "black", shiftIfWide: d = !1 }) => {
538
538
  const c = oe(n, [n]);
539
539
  return { overlay: pe(() => (g) => {
@@ -543,8 +543,8 @@ const gn = yi && window.ResizeObserver !== void 0 ? function() {
543
543
  if (h.length === 0) return;
544
544
  const a = g.getVisibleColumnOffsets(), R = g.getVisibleRowOffsets();
545
545
  let y = [], M = [];
546
- const E = g.getVisibleColumns(), $ = g.getVisibleRows(), O = [], x = [], F = [], u = (H, B, q, V, S, z, J) => {
547
- const re = { index: V, stroke: S, visibleIndex: q, edge: z, length: J };
546
+ const E = g.getVisibleColumns(), $ = g.getVisibleRows(), O = [], x = [], z = [], u = (H, B, q, V, S, F, J) => {
547
+ const re = { index: V, stroke: S, visibleIndex: q, edge: F, length: J };
548
548
  H[B] || (H[B] = []), H[B].length > 0 && H[B][H[B].length - 1]?.index === V ? H[B][H[B].length - 1] = re : H[B].push(re);
549
549
  }, D = g.getVisibleRangeCoords(), C = h.length;
550
550
  for (let H = 0; H < C; H++) {
@@ -552,7 +552,7 @@ const gn = yi && window.ResizeObserver !== void 0 ? function() {
552
552
  if (!q) continue;
553
553
  const V = B?.range ?? { rowStart: q.rowIndex, colStart: q.colIndex, rowEnd: q.rowIndex, colEnd: q.colIndex };
554
554
  if (!St.isRangesIntersect(V, D) && !St.isRangeWithinRange(V, D)) continue;
555
- const S = q.colIndex, z = q.rowIndex, J = a[S], re = R[z];
555
+ const S = q.colIndex, F = q.rowIndex, J = a[S], re = R[F];
556
556
  if (V.rowEnd !== V.rowStart) {
557
557
  const Pe = R[V.rowStart]?.spanIndex ?? -1, Ce = R[V.rowEnd]?.spanIndex ?? R[$[$.length - 1]].spanIndex + 1;
558
558
  y.push({ ...V, rowStart: Pe, rowEnd: Ce });
@@ -567,34 +567,34 @@ const gn = yi && window.ResizeObserver !== void 0 ? function() {
567
567
  let Xe = 1, Q = 1;
568
568
  if (!J || !re) continue;
569
569
  const G = J.spanIndex, ce = re.spanIndex;
570
- Oe.isNone() || u(O, G, ce, z, Oe, Et.Edge.Left, Xe), Le.isNone() || u(x, ce, G, S, Le, Et.Edge.Top, Q), be.isNone() || u(O, G + Q, ce, z, be, Et.Edge.Right, Xe), Ee.isNone() || u(x, ce + Xe, G, S, Ee, Et.Edge.Bottom, Q);
570
+ Oe.isNone() || u(O, G, ce, F, Oe, Et.Edge.Left, Xe), Le.isNone() || u(x, ce, G, S, Le, Et.Edge.Top, Q), be.isNone() || u(O, G + Q, ce, F, be, Et.Edge.Right, Xe), Ee.isNone() || u(x, ce + Xe, G, S, Ee, Et.Edge.Bottom, Q);
571
571
  }
572
572
  const W = (H, B, q) => {
573
573
  const V = [];
574
- return H.forEach((S, z) => {
574
+ return H.forEach((S, F) => {
575
575
  let J = null;
576
576
  S.sort((Ae, me) => Ae.visibleIndex - me.visibleIndex);
577
577
  const re = S.length;
578
578
  for (let Ae = 0; Ae < re; Ae++) {
579
579
  const me = S[Ae];
580
- if (!me?.stroke || B[z] === void 0 && B[z - 1] === void 0) continue;
580
+ if (!me?.stroke || B[F] === void 0 && B[F - 1] === void 0) continue;
581
581
  let Oe = !1;
582
582
  if (q) {
583
583
  const Xe = y.length;
584
584
  for (let Q = 0; !Oe && Q < Xe; Q++) {
585
585
  let G = y[Q];
586
- G.colStart <= me.index && G.colEnd >= me.index && G.rowStart < z && G.rowEnd >= z && (Oe = !0);
586
+ G.colStart <= me.index && G.colEnd >= me.index && G.rowStart < F && G.rowEnd >= F && (Oe = !0);
587
587
  }
588
588
  } else {
589
589
  const Xe = M.length;
590
590
  for (let Q = 0; !Oe && Q < Xe; Q++) {
591
591
  let G = M[Q];
592
- G.rowStart <= me.index && G.rowEnd >= me.index && G.colStart < z && G.colEnd >= z && (Oe = !0);
592
+ G.rowStart <= me.index && G.rowEnd >= me.index && G.colStart < F && G.colEnd >= F && (Oe = !0);
593
593
  }
594
594
  }
595
595
  if (Oe) continue;
596
596
  const Le = me.stroke?.getColor(), be = Le ? Le.toRGBA().toString() : r, Ee = me.stroke.getStyle() + ":" + be;
597
- (Ee !== J?.key || J && J.visibleIndex + 1 < me.visibleIndex) && (J && V.push(J), J = { key: Ee, index: B[z] ?? B[z - 1] + 1, visibleIndex: me.visibleIndex, edge: me.edge, stroke: me.stroke, from: me.index, to: me.index + me.length - 1, intersections: [], length: 1 }), J.to = me.index + me.length - 1, J.visibleIndex = me.visibleIndex;
597
+ (Ee !== J?.key || J && J.visibleIndex + 1 < me.visibleIndex) && (J && V.push(J), J = { key: Ee, index: B[F] ?? B[F - 1] + 1, visibleIndex: me.visibleIndex, edge: me.edge, stroke: me.stroke, from: me.index, to: me.index + me.length - 1, intersections: [], length: 1 }), J.to = me.index + me.length - 1, J.visibleIndex = me.visibleIndex;
598
598
  }
599
599
  J && V.push(J);
600
600
  }), V;
@@ -614,17 +614,17 @@ const gn = yi && window.ResizeObserver !== void 0 ? function() {
614
614
  for (let H = 0; H < U; H++) {
615
615
  const B = L[H];
616
616
  let q = B.stroke;
617
- const V = `rBorder:${B.index}:${B.from}:${B.to}:${B.edge}`, S = { rowStart: B.index, rowEnd: B.index, colStart: B.from, colEnd: B.to + 1 }, z = g.getLayout(), J = !1, re = z.getColOffset(S.colStart), Ae = z.getRowOffset(S.rowStart), me = [re, Ae, z.getColOffset(S.colEnd), Ae];
618
- F.push(t({ key: V, points: me, stroke: q, darkMode: o, forceThinBorder: i, shiftIfWide: d, range: S, intersections: B.intersections, layout: z, isVertical: J }));
617
+ const V = `rBorder:${B.index}:${B.from}:${B.to}:${B.edge}`, S = { rowStart: B.index, rowEnd: B.index, colStart: B.from, colEnd: B.to + 1 }, F = g.getLayout(), J = !1, re = F.getColOffset(S.colStart), Ae = F.getRowOffset(S.rowStart), me = [re, Ae, F.getColOffset(S.colEnd), Ae];
618
+ z.push(t({ key: V, points: me, stroke: q, darkMode: o, forceThinBorder: i, shiftIfWide: d, range: S, intersections: B.intersections, layout: F, isVertical: J }));
619
619
  }
620
620
  const de = A.length;
621
621
  for (let H = 0; H < de; H++) {
622
622
  const B = A[H];
623
623
  let q = B.stroke;
624
- const V = `cBorder:${B.index}:${B.from}:${B.to}:${B.edge}`, S = { rowStart: B.from, rowEnd: B.to + 1, colStart: B.index, colEnd: B.index }, z = g.getLayout(), J = !0, re = z.getColOffset(S.colStart), Ae = [re, z.getRowOffset(S.rowStart), re, z.getRowOffset(S.rowEnd)];
625
- F.push(t({ key: V, stroke: q, points: Ae, darkMode: o, forceThinBorder: i, shiftIfWide: d, range: S, intersections: B.intersections, layout: z, isVertical: J }));
624
+ const V = `cBorder:${B.index}:${B.from}:${B.to}:${B.edge}`, S = { rowStart: B.from, rowEnd: B.to + 1, colStart: B.index, colEnd: B.index }, F = g.getLayout(), J = !0, re = F.getColOffset(S.colStart), Ae = [re, F.getRowOffset(S.rowStart), re, F.getRowOffset(S.rowEnd)];
625
+ z.push(t({ key: V, stroke: q, points: Ae, darkMode: o, forceThinBorder: i, shiftIfWide: d, range: S, intersections: B.intersections, layout: F, isVertical: J }));
626
626
  }
627
- return f("svg", { width: `${w.width}`, height: `${w.height}`, viewBox: `0 0 ${w.width} ${w.height}`, preserveAspectRatio: "none", shapeRendering: "crispEdges", style: { position: "absolute", left: "0px", top: "0px", width: `${w.width}px`, height: `${w.height}px`, pointerEvents: "none", transitionTimingFunction: "linear", transitionDelay: "0", transitionProperty: "left, top, width, height", willChange: "left, top, width, height, stroke-dashoffset", overflow: "visible" }, children: F }, "borders");
627
+ return f("svg", { width: `${w.width}`, height: `${w.height}`, viewBox: `0 0 ${w.width} ${w.height}`, preserveAspectRatio: "none", shapeRendering: "crispEdges", style: { position: "absolute", left: "0px", top: "0px", width: `${w.width}px`, height: `${w.height}px`, pointerEvents: "none", transitionTimingFunction: "linear", transitionDelay: "0", transitionProperty: "left, top, width, height", willChange: "left, top, width, height, stroke-dashoffset", overflow: "visible" }, children: z }, "borders");
628
628
  }, [e, o]) };
629
629
  }, xr = qt.Center, Zl = Object.freeze({ horizontal: !1, vertical: !1 }), kr = _n.EmptyTopLeft, Kl = (e, t) => St.EmptyCell, Yl = (e, t) => new Promise((n, o) => {
630
630
  o("StaticBorderRenderer does not support scrolling");
@@ -632,11 +632,11 @@ const gn = yi && window.ResizeObserver !== void 0 ? function() {
632
632
  const { getBorderAt: t, width: n, height: o, style: i, rowCount: r = 2, columnCount: d = 2, darkMode: c, forceThinBorder: l, children: g, ...w } = e, h = ke(null), [a, { width: R, height: y }] = gn(), M = n ?? R, E = o ?? y, $ = pe(() => {
633
633
  const q = [];
634
634
  for (let V = 0; V < r; V++) for (let S = 0; S < d; S++) {
635
- const z = { colIndex: S, rowIndex: V };
636
- q.push({ coords: z, value: z });
635
+ const F = { colIndex: S, rowIndex: V };
636
+ q.push({ coords: F, value: F });
637
637
  }
638
638
  return q;
639
- }, []), O = Qe((q) => $, [$]), { overlay: x } = bi({ getVisibleCells: O, getBorderAt: t, darkMode: c, forceThinBorder: l }), F = Math.floor(M / d), u = Math.floor(E / r), D = { getColOffset: (q) => Math.ceil(q * F) + 0, getRowOffset: (q) => Math.ceil(q * u) + 0, getColIndex: (q) => Math.floor((q - 0) / F) - 1, getRowIndex: (q) => Math.floor((q - 0) / u) - 1 }, C = { rowStart: 0, colStart: 0, rowEnd: r, colEnd: d }, W = { x: 0, y: 0, width: Math.max(0, M) + 0, height: Math.max(0, E) + 0 }, A = pe(() => {
639
+ }, []), O = Qe((q) => $, [$]), { overlay: x } = bi({ getVisibleCells: O, getBorderAt: t, darkMode: c, forceThinBorder: l }), z = Math.floor(M / d), u = Math.floor(E / r), D = { getColOffset: (q) => Math.ceil(q * z) + 0, getRowOffset: (q) => Math.ceil(q * u) + 0, getColIndex: (q) => Math.floor((q - 0) / z) - 1, getRowIndex: (q) => Math.floor((q - 0) / u) - 1 }, C = { rowStart: 0, colStart: 0, rowEnd: r, colEnd: d }, W = { x: 0, y: 0, width: Math.max(0, M) + 0, height: Math.max(0, E) + 0 }, A = pe(() => {
640
640
  const q = {}, V = Math.floor(M / d);
641
641
  for (let S = 0; S < d; S++) q[S] = { offset: S * V, size: V, spanIndex: S };
642
642
  return q;
@@ -693,8 +693,8 @@ const Xl = "_sheetxl-sheet_1qeq6_5", Jl = "_viewport-overlay_1qeq6_6", Ql = (e)
693
693
  }, [l, n]);
694
694
  if (l === null || l.isValidFor(r)) return null;
695
695
  const y = l.getType(), M = !R && y.endsWith("ity"), E = l.getLicensee(), $ = M ? 1.6 : 1, O = 135 / $, x = 37 / $;
696
- let F = null;
697
- return !y && E?.length > 0 && (F = f("div", { style: { opacity: 0.7, fontWeight: "500", fontSize: "16px", textAlign: "left", color: t }, children: E })), f("div", { style: { pointerEvents: "none", display: "flex", flexDirection: "column", overflow: "hidden", ...d }, ...c, children: nt("div", { style: { position: "relative", display: "flex", flexDirection: "column" }, children: [w ? f(Ql, { style: a }) : f("svg", { width: O, height: x, style: a, children: f("image", { style: { width: O, height: x }, href: "https://www.sheetxl.com/watermark.svg", onError: () => h(!0) }) }), nt("div", { children: [F, R, f("div", { style: { height: "0px", fontSize: "16px", textAlign: "left", width: "0px", opacity: 0.8, color: o }, children: i })] })] }) });
696
+ let z = null;
697
+ return !y && E?.length > 0 && (z = f("div", { style: { opacity: 0.7, fontWeight: "500", fontSize: "16px", textAlign: "left", color: t }, children: E })), f("div", { style: { pointerEvents: "none", display: "flex", flexDirection: "column", overflow: "hidden", ...d }, ...c, children: nt("div", { style: { position: "relative", display: "flex", flexDirection: "column" }, children: [w ? f(Ql, { style: a }) : f("svg", { width: O, height: x, style: a, children: f("image", { style: { width: O, height: x }, href: "https://www.sheetxl.com/watermark.svg", onError: () => h(!0) }) }), nt("div", { children: [z, R, f("div", { style: { height: "0px", fontSize: "16px", textAlign: "left", width: "0px", opacity: 0.8, color: o }, children: i })] })] }) });
698
698
  }), ht = (e, t, n) => {
699
699
  const o = ke(t);
700
700
  o.current = t;
@@ -721,7 +721,7 @@ const Xl = "_sheetxl-sheet_1qeq6_5", Jl = "_viewport-overlay_1qeq6_6", Ql = (e)
721
721
  const r = o?.fireOnAddressChange ?? !0;
722
722
  ve(() => {
723
723
  if (!e || !t || !i.current) {
724
- const l = { getSource: () => null, trigger: "delete", isDataChange: !1, isTransactional: !1, isUndo: !1, timeStamp: Date.now() };
724
+ const l = { getSource: () => null, getFrom: () => null, getTo: () => null, trigger: "delete", isDataChange: !1, isTransactional: !1, isUndo: !1, timeStamp: Date.now() };
725
725
  return void i.current?.(l);
726
726
  }
727
727
  const d = (l) => {
@@ -729,7 +729,7 @@ const Xl = "_sheetxl-sheet_1qeq6_5", Jl = "_viewport-overlay_1qeq6_6", Ql = (e)
729
729
  }, c = e.getRange(t).addListener(d, o);
730
730
  if (r) {
731
731
  const l = e.getRange(t);
732
- d({ getSource: () => l, trigger: "modelChange", isDataChange: !1, isTransactional: !1, isUndo: !1, timeStamp: Date.now() });
732
+ d({ getSource: () => l, getFrom: () => null, getTo: () => null, trigger: "modelChange", isDataChange: !1, isTransactional: !1, isUndo: !1, timeStamp: Date.now() });
733
733
  }
734
734
  return () => {
735
735
  c?.();
@@ -787,7 +787,7 @@ const Xl = "_sheetxl-sheet_1qeq6_5", Jl = "_viewport-overlay_1qeq6_6", Ql = (e)
787
787
  }));
788
788
  Si.displayName = "TaskPaneTitle";
789
789
  const oa = (e, t) => f(Si, { ...e, ref: t }), ra = mt(vt((e, t) => {
790
- const { children: n, entry: o, close: i, listenerContainer: r, model: d, commands: c, onMounted: l, onUnmounted: g, paneWrapper: w, paneProps: h, renderTaskPanelTitle: a = oa, style: R, className: y, ...M } = e, [E, $] = ge(null), [O, x] = ge(!1), F = oe(i, [i]), u = ke(null), D = ke(null);
790
+ const { children: n, entry: o, close: i, listenerContainer: r, model: d, commands: c, onMounted: l, onUnmounted: g, paneWrapper: w, paneProps: h, renderTaskPanelTitle: a = oa, style: R, className: y, ...M } = e, [E, $] = ge(null), [O, x] = ge(!1), z = oe(i, [i]), u = ke(null), D = ke(null);
791
791
  ve(() => (l?.(o), () => {
792
792
  g?.(o);
793
793
  }), [o]);
@@ -795,13 +795,13 @@ const oa = (e, t) => f(Si, { ...e, ref: t }), ra = mt(vt((e, t) => {
795
795
  const de = r(U);
796
796
  return C.current.push(de), de;
797
797
  }, close: () => {
798
- F?.();
798
+ z?.();
799
799
  } }), [r]);
800
800
  ve(() => () => {
801
801
  for (const U of C.current) U();
802
802
  C.current = [];
803
803
  }, []);
804
- const A = pe(() => (o.renderTaskPanelTitle ?? a)({ title: o.getTitle(), icon: null, readOnly: !1, focused: O, onClose: F, onPointerDown: (U) => {
804
+ const A = pe(() => (o.renderTaskPanelTitle ?? a)({ title: o.getTitle(), icon: null, readOnly: !1, focused: O, onClose: z, onPointerDown: (U) => {
805
805
  } }, D), [o, O]), L = pe(() => {
806
806
  let U = o.renderTaskPane({ entryKey: o.key, model: d, commands: c, frame: W, ...h }, t);
807
807
  return w && (U = w(U)), U;
@@ -824,10 +824,10 @@ const oa = (e, t) => f(Si, { ...e, ref: t }), ra = mt(vt((e, t) => {
824
824
  }));
825
825
  xi.displayName = "TaskPaneStrip";
826
826
  const ia = (e, t) => f(xi, { ref: t, ...e }), qc = mt(vt((e, t) => {
827
- const { className: n = "", registry: o = ar, model: i, commands: r, onOpen: d, onClose: c, paneWrapper: l, paneProps: g, frameWrapper: w, frameProps: h, renderTaskPanelTitle: a, renderTaskPaneStrip: R = ia, alwaysShowStrip: y, style: M } = e, E = oe(d, [d]), $ = oe(c, [c]), [O, x] = ge(null), F = ke(null), [u, D] = ge([]), C = ke(/* @__PURE__ */ new Set()), W = oe(async (q, V = !1) => {
828
- const S = Array.from(C.current), z = S.length;
827
+ const { className: n = "", registry: o = ar, model: i, commands: r, onOpen: d, onClose: c, paneWrapper: l, paneProps: g, frameWrapper: w, frameProps: h, renderTaskPanelTitle: a, renderTaskPaneStrip: R = ia, alwaysShowStrip: y, style: M } = e, E = oe(d, [d]), $ = oe(c, [c]), [O, x] = ge(null), z = ke(null), [u, D] = ge([]), C = ke(/* @__PURE__ */ new Set()), W = oe(async (q, V = !1) => {
828
+ const S = Array.from(C.current), F = S.length;
829
829
  let J = !0;
830
- for (let re = 0; J && re < z; re++) {
830
+ for (let re = 0; J && re < F; re++) {
831
831
  const Ae = S[re];
832
832
  if (Ae.onBeforeHide) try {
833
833
  await Promise.resolve(Ae.onBeforeHide()) === !1 && (J = !1);
@@ -838,14 +838,14 @@ const ia = (e, t) => f(xi, { ref: t, ...e }), qc = mt(vt((e, t) => {
838
838
  return J;
839
839
  }, []), A = oe((q) => {
840
840
  const V = Array.from(C.current), S = V.length;
841
- D((z) => {
842
- const J = z.findIndex((Ae) => Ae.key === q);
843
- if (J === -1) return z;
844
- const re = [...z];
841
+ D((F) => {
842
+ const J = F.findIndex((Ae) => Ae.key === q);
843
+ if (J === -1) return F;
844
+ const re = [...F];
845
845
  return re.splice(J, 1), re.length === 0 ? (x(null), $?.(), re) : (L(re[Math.max(re.length - 1, J - 1)].key), re);
846
846
  });
847
- for (let z = 0; z < S; z++) {
848
- const J = V[z];
847
+ for (let F = 0; F < S; F++) {
848
+ const J = V[F];
849
849
  try {
850
850
  J.onHide?.();
851
851
  } catch {
@@ -854,29 +854,29 @@ const ia = (e, t) => f(xi, { ref: t, ...e }), qc = mt(vt((e, t) => {
854
854
  }, [$]), L = oe(async (q) => {
855
855
  const V = o.getRegisteredTaskPane(q);
856
856
  if (!V) return void console.warn(`Invalid taskpane '${q}'`);
857
- if (F.current === q || O && !await W(O.key))
857
+ if (z.current === q || O && !await W(O.key))
858
858
  return;
859
859
  const S = et.createRef();
860
- let z = f(ra, { ref: () => {
861
- F.current = null;
860
+ let F = f(ra, { ref: () => {
861
+ z.current = null;
862
862
  }, entry: V, model: i, commands: r, close: async () => {
863
863
  await W(q) && A(q);
864
864
  }, paneWrapper: l, paneProps: g, renderTaskPanelTitle: a, listenerContainer: (re) => (C.current.add(re), () => {
865
865
  C.current.delete(re);
866
866
  }), onMounted: (re) => {
867
- re.key === q && (F.current = null), E?.();
867
+ re.key === q && (z.current = null), E?.();
868
868
  }, onUnmounted: (re) => {
869
869
  }, ...h });
870
- w && (z = w(z));
871
- const J = { key: q, elem: z, ref: S };
870
+ w && (F = w(F));
871
+ const J = { key: q, elem: F, ref: S };
872
872
  D((re) => {
873
873
  if (re.findIndex((me) => me.key === q) !== -1) return re;
874
874
  const Ae = [...re];
875
875
  return Ae.push(J), Ae;
876
- }), x(J), F.current = q;
876
+ }), x(J), z.current = q;
877
877
  }, [O, w, l, a]);
878
878
  ve(() => {
879
- O && !F.current && L(O.key);
879
+ O && !z.current && L(O.key);
880
880
  }, [h, i]);
881
881
  const U = $t(t, () => ({ activateTaskPane: L }), [o, g, i, r]), de = pe(() => u.map((q) => q.key), [u]), H = pe(() => {
882
882
  if (de.length <= 1 && !y) return null;
@@ -888,7 +888,7 @@ const ia = (e, t) => f(xi, { ref: t, ...e }), qc = mt(vt((e, t) => {
888
888
  return nt("div", { ref: U, className: xt("taskpane-area", n, Sn.TaskPaneArea), style: M, children: [B, H] });
889
889
  })), go = new ci("transparent");
890
890
  function la(e) {
891
- const { sheet: t, onRepeatCommandChange: n, bodyStyle: o, commands: i, target: r, onStartEdit: d, getViewport: c } = e, l = Yn(), g = na(), [w, h] = ge(null), [a, R] = ge(null), y = ke(null), M = oe(d, [d]), E = oe(c, [c]), [$, O] = ge(), [x, F] = ge(() => t?.getStyles().parseColor(ul.Scheme.Bg2)), [u, D] = ge(() => t?.getStyles().getNormal().getFont().getFill()), C = mn();
891
+ const { sheet: t, onRepeatCommandChange: n, bodyStyle: o, commands: i, target: r, onStartEdit: d, getViewport: c } = e, l = Yn(), g = na(), [w, h] = ge(null), [a, R] = ge(null), y = ke(null), M = oe(d, [d]), E = oe(c, [c]), [$, O] = ge(), [x, z] = ge(() => t?.getStyles().parseColor(ul.Scheme.Bg2)), [u, D] = ge(() => t?.getStyles().getNormal().getFont().getFill()), C = mn();
892
892
  ke(C.getMode()).current = C.getMode();
893
893
  const W = wl(), [A, L] = ge(ot.EmptyArray), U = Qe(() => {
894
894
  if (y.current !== t) return;
@@ -944,7 +944,7 @@ function la(e) {
944
944
  B(s, (b) => {
945
945
  b.getSelectedRange().setComments(k);
946
946
  });
947
- }, [t]), z = oe((s, k) => {
947
+ }, [t]), F = oe((s, k) => {
948
948
  B(s, (b) => {
949
949
  b.getSelectedRanges().clear(k);
950
950
  });
@@ -989,9 +989,9 @@ function la(e) {
989
989
  ue.colEnd = v.colIndex - 1;
990
990
  }
991
991
  if (p.size !== 1 && T) {
992
- const X = p.getCoords(), qe = p.startIncrementalUpdates({ orientation: xe.Orientation.Column }), we = { ...ue }, Se = X.rowStart, Ke = X.rowEnd, ze = X.colStart, He = X.colEnd, $e = T === xe.Direction.Up;
993
- for (let tt = ze; tt <= He; tt++) {
994
- we.colStart = $e ? tt : ue.colStart + (tt - ze), we.colEnd = $e ? tt : ue.colEnd + (tt - ze);
992
+ const X = p.getCoords(), qe = p.startIncrementalUpdates({ orientation: xe.Orientation.Column }), we = { ...ue }, Se = X.rowStart, Ke = X.rowEnd, Fe = X.colStart, He = X.colEnd, $e = T === xe.Direction.Up;
993
+ for (let tt = Fe; tt <= He; tt++) {
994
+ we.colStart = $e ? tt : ue.colStart + (tt - Fe), we.colEnd = $e ? tt : ue.colEnd + (tt - Fe);
995
995
  for (let Je = Se; Je <= Ke; Je++) {
996
996
  we.rowStart = $e ? ue.rowStart + (Je - Se) : Je, we.rowEnd = $e ? ue.rowEnd + (Je - Se) : Je;
997
997
  const gt = b.getRange(we).toString();
@@ -1312,7 +1312,7 @@ The values and the formatting are preserved.`, icon: "InsertTable" }, function(s
1312
1312
  }), new K("autoFilterToggle", r, { label: "Toggle Filter", scopedLabels: { filter: "Filter" }, description: "Toggle Auto Filter on/off.", icon: "FilterToggle", shortcut: { key: "L", modifiers: [ne.Ctrl, ne.Shift] } }, function() {
1313
1313
  const s = this.context().table();
1314
1314
  s && s.setShowFilterButton(!s.getShowFilterButton());
1315
- }), new K("autoFilterReapply", r, { label: "Reapply Filter", scopedLabels: { filter: "Reapply" }, description: "Reapply the filter and sort with the latest changes.", icon: "FilterReapply", shortcut: { key: "L", modifiers: [ne.Ctrl, ne.Alt] } }), new K("autoFilterClear", r, { label: "Clear Filter", scopedLabels: { filter: "Clear" }, description: "Clear the filters criteria from the current filter..", icon: "FilterClear" }), new _e("startEditValueAbove", r, { label: "Copy From Above", description: "Copy the value from the cell above the active cell into the cell or the formula bar.", shortcut: [{ key: "Quote", modifiers: [ne.Ctrl] }, { key: '"', modifiers: [ne.Ctrl, ne.Shift] }] }, Be), new K("formatPainterToggle", r, { label: "Format Painter", description: "Apply style to another part of your workbook.", icon: "FormatPaint" }), new _e("insertCells", r, { label: "Insert Cells", scopedLabels: { insertCells: "At Selection" }, description: "Inserts cells at the current selection.", icon: "InsertCells", shortcut: { key: "=", modifiers: [ne.Ctrl, ne.Shift] } }, function() {
1315
+ }), new K("autoFilterReapply", r, { label: "Reapply Filter", scopedLabels: { filter: "Reapply" }, description: "Reapply the filter and sort with the latest changes.", icon: "FilterReapply", shortcut: { key: "L", modifiers: [ne.Ctrl, ne.Alt] } }), new K("autoFilterClear", r, { label: "Clear Filter", scopedLabels: { filter: "Clear" }, description: "Clear the filters criteria from the current filter..", icon: "FilterClear" }), new _e("startEditValueAbove", r, { label: "Copy From Above", description: "Copy the value from the cell above the active cell into the cell or the formula bar.", shortcut: [{ key: "Quote", modifiers: [ne.Ctrl] }, { key: '"', modifiers: [ne.Ctrl, ne.Shift] }] }, Be), new K("formatPainterToggle", r, { label: "Format Painter", description: "Apply style to another part of your workbook.", icon: "FormatPaint.yellow" }), new _e("insertCells", r, { label: "Insert Cells", scopedLabels: { insertCells: "At Selection" }, description: "Inserts cells at the current selection.", icon: "InsertCells", shortcut: { key: "=", modifiers: [ne.Ctrl, ne.Shift] } }, function() {
1316
1316
  J(this);
1317
1317
  }), new _e("insertCellsShiftRight", r, { label: "Insert Cells (Shift Right)", scopedLabels: { insertCells: "Shift Right" }, description: "Insert cells to the left and shift the current cells to the right.", icon: "InsertCellsRight" }, function() {
1318
1318
  J(this, xe.Orientation.Column);
@@ -1361,17 +1361,17 @@ The values and the formatting are preserved.`, icon: "InsertTable" }, function(s
1361
1361
  }), new K("mergeToggle", r, { label: "Merge", description: "Combine and center the contents into a single cell.", icon: "MergeAll", shortcut: { key: "m", modifiers: [ne.Ctrl] } }), new _e("mergeHorizontal", r, { label: "Merge Horizontally", description: "Combine the contents into horizontal rows.", icon: "MergeHorizontal" }), new _e("mergeVertical", r, { label: "Merge Vertically", description: "Combine the contents into vertical columns.", icon: "MergeVertical" }), new _e("unmerge", r, { label: "Unmerge", description: "Split merged cells into multiple cells.", icon: "MergeUnMerge" }), new _e("clearContents", r, { label: "Clear Contents", scopedLabels: { clear: "Contents" }, icon: "ClearContents", description: `Clear only the contents in the cells.
1362
1362
 
1363
1363
  The formatting is not cleared.`, shortcut: { key: "Delete" } }, function() {
1364
- z(this, Qt.Content.Values);
1364
+ F(this, Qt.Content.Values);
1365
1365
  }), new _e("clearFormats", r, { label: "Clear Formats", scopedLabels: { clear: "Formats" }, icon: "ClearFormats", description: "Clear only the formatting that is applied to the cells." }, function() {
1366
- z(this, Qt.Content.Formats);
1366
+ F(this, Qt.Content.Formats);
1367
1367
  }), new _e("clearHyperlinks", r, { label: "Clear Hyperlinks", scopedLabels: { clear: "Hyperlinks" }, description: "Clear only the hyperlinks in the cells." }, function() {
1368
- z(this, Qt.Content.Hyperlinks);
1368
+ F(this, Qt.Content.Hyperlinks);
1369
1369
  }), new _e("clearComments", r, { label: "Clear Comments", scopedLabels: { clear: "Comments" }, description: "Clear the comments from the cells." }, function() {
1370
- z(this, Qt.Content.Comments);
1370
+ F(this, Qt.Content.Comments);
1371
1371
  }), new _e("clearAll", r, { label: "Clear All", scopedLabels: { clear: "All" }, icon: "ClearAll", description: `Clears everything from the cells.
1372
1372
 
1373
1373
  All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers: [ne.Ctrl, ne.Shift] } }, function() {
1374
- z(this);
1374
+ F(this);
1375
1375
  }), new K("freezeToggle", r, { label: "Freeze Panes", description: "Keep rows and columns visible while the rest of the sheet scrolls (based on current selection).", icon: "FreezeBoth" }), new K("freezeToggleHorizontal", r, { label: "Freeze Top Rows", description: "Keep the top rows visible while scrolling through the rest of the sheet.", icon: "FreezeRows" }), new K("freezeToggleVertical", r, { label: "Freeze Left Columns", description: "Keep the left columns visible while scrolling through the rest of the sheet.", icon: "FreezeColumns" }), new _e("unfreeze", r, { label: "Unfreeze Panes", description: "Unfreeze both the rows and columns.", icon: "MergeUnMerge" }), new _e("autoFitRows", r, { label: "Autofit Rows", description: "Adjust the rows to the best height.", icon: "RowsResizeAuto" }), new _e("resizeRows", r, { label: "Resize Rows", description: "Resize the rows to the specified height.", icon: "RowsResize", disabled: !0 }), new _e("autoFitColumns", r, { label: "Autofit Columns", description: "Adjust the columns to the best width.", icon: "ColumnsResizeAuto" }), new _e("resizeColumns", r, { label: "Resize Columns", description: "Resize the columns to the specified width.", icon: "ColumnsResize", disabled: !0 })], []), m = pe(() => {
1376
1376
  let s = null;
1377
1377
  return s = i ? i.createChildGroup(r, "sheet", !1) : new Ro(r, "sheet"), s.addCommands(Ze, !0), s;
@@ -1487,23 +1487,23 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
1487
1487
  t.getView().setFreezePanes(null);
1488
1488
  }).update({ disabled: () => !p() });
1489
1489
  }, [Ne, w, t, o]);
1490
- const Fe = H().getStyle(), Te = Fe.getFont(), I = Fe.getAlignment(), Z = I.getHorizontal(), N = I.getVertical(), j = I.getOverflow(), Me = I.getRotation();
1490
+ const ze = H().getStyle(), Te = ze.getFont(), I = ze.getAlignment(), Z = I.getHorizontal(), N = I.getVertical(), j = I.getOverflow(), Me = I.getRotation();
1491
1491
  return ve(() => {
1492
1492
  m.getCommand("formatCellStyle").update({ context: () => ({ styles: () => t.getStyles(), named: () => H().getStyle(!0).getNamed(), bodyStyle: Ee, createTemporaryCell: (Ue) => t.createTemporaryCell(Ue) }) }), m.getCommand("formatFillColor").update({ state: () => {
1493
1493
  let Ue = null;
1494
- const lt = Fe.getFill();
1494
+ const lt = ze.getFill();
1495
1495
  return lt?.getType() === fo.Type.Solid ? Ue = lt.getColor() : lt?.getType() === fo.Type.Gradient ? Ue = lt.getStops()?.[0]?.getColor() : lt?.getType() === fo.Type.Pattern && (Ue = lt.getBackground()), Ue;
1496
1496
  }, context: () => {
1497
1497
  const Ue = t.getStyles();
1498
1498
  return { onColorSelect: (lt) => {
1499
- F(lt ?? go);
1499
+ z(lt ?? go);
1500
1500
  }, darkMode: o.darkMode, quickColor: x, autoColor: go, schemeLookup: Ue.schemeLookup(), recentColors: Ue.recentColors(), addRecentColor: (lt) => Ue.addRecentColor(lt), clearRecentColors: () => Ue.clearRecentColors() };
1501
1501
  } }), m.getCommand("formatFontColor").update({ state: () => Te.toJSON()?.fill ? Te.getFill() : null, context: () => {
1502
1502
  const Ue = t.getStyles();
1503
1503
  return { onColorSelect: (lt) => {
1504
1504
  D(lt);
1505
1505
  }, darkMode: o.darkMode, quickColor: u, autoColor: Ue.getNormal().getFont().getFill(), schemeLookup: Ue.schemeLookup(), recentColors: Ue.recentColors(), addRecentColor: (lt) => Ue.addRecentColor(lt), clearRecentColors: () => Ue.clearRecentColors() };
1506
- } }), m.getCommand("formatNumberFormat").update({ state: () => Fe.getNumberFormat(), context: () => H }), m.getCommand("formatNumberDialog").update({ state: () => Fe.getNumberFormat(), context: () => H }), m.getCommand("formatFontFamily").update({ state: () => Te.getFamily() }), m.getCommand("formatFontSize").update({ state: () => Te.getSize() });
1506
+ } }), m.getCommand("formatNumberFormat").update({ state: () => ze.getNumberFormat(), context: () => H }), m.getCommand("formatNumberDialog").update({ state: () => ze.getNumberFormat(), context: () => H }), m.getCommand("formatFontFamily").update({ state: () => Te.getFamily() }), m.getCommand("formatFontSize").update({ state: () => Te.getSize() });
1507
1507
  const s = function() {
1508
1508
  const Ue = Te.getWeight() || 0;
1509
1509
  return !isNaN(Ue) && Ue > 500;
@@ -1606,13 +1606,13 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
1606
1606
  const Ue = { alignment: { horizontal: Ke() ? ye.HorizontalAlignment.General : ye.HorizontalAlignment.CenterContinuous, rotation: null } };
1607
1607
  q(this, Ue);
1608
1608
  }).update({ state: Ke });
1609
- const ze = function() {
1609
+ const Fe = function() {
1610
1610
  return Z === ye.HorizontalAlignment.Fill;
1611
1611
  };
1612
1612
  m.getCommand("formatAlignFillToggle").updateCallback(function() {
1613
- const Ue = { alignment: { horizontal: ze() ? ye.HorizontalAlignment.General : ye.HorizontalAlignment.Fill, rotation: null } };
1613
+ const Ue = { alignment: { horizontal: Fe() ? ye.HorizontalAlignment.General : ye.HorizontalAlignment.Fill, rotation: null } };
1614
1614
  q(this, Ue);
1615
- }).update({ state: ze });
1615
+ }).update({ state: Fe });
1616
1616
  const He = function() {
1617
1617
  return Z === ye.HorizontalAlignment.Distributed;
1618
1618
  };
@@ -1645,7 +1645,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
1645
1645
  }).update({ disabled: Je || gt, state: Me === 315 }), m.getCommand("formatTextRotateCustom").updateCallback(function(Ue) {
1646
1646
  q(this, { alignment: { rotation: Ue } });
1647
1647
  }).update({ disabled: Je || gt, state: Me ?? 0 });
1648
- }, [Fe, t, o, x, u]), ve(() => {
1648
+ }, [ze, t, o, x, u]), ve(() => {
1649
1649
  const s = !t.getProtection().isFormatCellsAllowed(), k = t.getSelectedRanges().getMerges().length > 0, b = async (it, Vt) => {
1650
1650
  B(Vt, async (It) => {
1651
1651
  const At = async (Ct = !1) => {
@@ -1662,14 +1662,14 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
1662
1662
  Dn?.();
1663
1663
  }
1664
1664
  };
1665
- let zt;
1665
+ let Ft;
1666
1666
  try {
1667
1667
  await At();
1668
1668
  } catch (Ct) {
1669
1669
  if (Ct.type !== "discardMultipleValues") throw Ct;
1670
- zt = !0;
1670
+ Ft = !0;
1671
1671
  }
1672
- if (zt && l.showOptions) {
1672
+ if (Ft && l.showOptions) {
1673
1673
  if (await l.showOptions({ title: "Confirm", description: "Merging cells will only keep the upper-left value. Some data will be discarded. Continue?", options: ["Merge", "Cancel"], defaultOption: "Merge" }) !== "Merge") return;
1674
1674
  await At(!0);
1675
1675
  }
@@ -1729,14 +1729,14 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
1729
1729
  Se && (_ = 1);
1730
1730
  const Ke = se || s || dt || te;
1731
1731
  Ke && (ue = 1);
1732
- let ze = "", He = "", $e = "", tt = "", Je = "", gt = "", Ue = "", lt = "", kt = "";
1733
- _ > 1 && (gt = He = _ + " ", Ue = $e = "s"), ue > 1 && (lt = tt = ue + " ", kt = Je = "s"), C.getMode()?.key === "copy" ? (ze = tt = He = "Copied ", $e = Je = "s") : C.getMode()?.key === "cut" && (ze = tt = He = "Cut ", $e = Je = "s");
1732
+ let Fe = "", He = "", $e = "", tt = "", Je = "", gt = "", Ue = "", lt = "", kt = "";
1733
+ _ > 1 && (gt = He = _ + " ", Ue = $e = "s"), ue > 1 && (lt = tt = ue + " ", kt = Je = "s"), C.getMode()?.key === "copy" ? (Fe = tt = He = "Copied ", $e = Je = "s") : C.getMode()?.key === "cut" && (Fe = tt = He = "Cut ", $e = Je = "s");
1734
1734
  let Ht = "", bt = "";
1735
1735
  if (a) {
1736
1736
  const it = a.getDefaultShiftOrientation() === xe.Orientation.Column;
1737
1737
  Ht = ` (${it ? "Shift Right" : "Shift Down"})`, bt = ` (${it ? "Shift Left" : "Shift up"})`, m.getCommand("deleteCells").update({ label: `Delete Cells${bt}` });
1738
1738
  }
1739
- m.getCommand("insertCells").update({ label: `Insert ${ze}Cells${Ht}`, scopedLabels: { insertCells: `${ze}At Selection` } }), m.getCommand("insertCellsShiftRight").update(we), m.getCommand("insertCellsShiftDown").update(we), m.getCommand("deleteCellsShiftUp").update(we), m.getCommand("deleteCellsShiftLeft").update(we), m.getCommand("insertRows").update({ label: `Insert ${tt}Row${Je}`, scopedLabels: { insertCells: `${tt}Row${Je}` }, disabled: Ke }), m.getCommand("insertRowsAfter").update({ label: `Insert ${tt}Row${Je} Below`, disabled: Ke }), m.getCommand("insertColumns").update({ label: `Insert ${He}Column${$e}`, scopedLabels: { insertCells: `${He}Column${$e}` }, disabled: Se }), m.getCommand("insertColumnsAfter").update({ label: `Insert ${He}Column${$e} After`, disabled: Se }), m.getCommand("deleteRows").update({ label: `Delete ${lt}Row${kt}`, scopedLabels: { deleteCells: `${lt}Row${kt}` }, disabled: Ke }), m.getCommand("deleteColumns").update({ label: `Delete ${gt}Column${Ue}`, scopedLabels: { deleteCells: `${gt}Column${Ue}` }, disabled: Se });
1739
+ m.getCommand("insertCells").update({ label: `Insert ${Fe}Cells${Ht}`, scopedLabels: { insertCells: `${Fe}At Selection` } }), m.getCommand("insertCellsShiftRight").update(we), m.getCommand("insertCellsShiftDown").update(we), m.getCommand("deleteCellsShiftUp").update(we), m.getCommand("deleteCellsShiftLeft").update(we), m.getCommand("insertRows").update({ label: `Insert ${tt}Row${Je}`, scopedLabels: { insertCells: `${tt}Row${Je}` }, disabled: Ke }), m.getCommand("insertRowsAfter").update({ label: `Insert ${tt}Row${Je} Below`, disabled: Ke }), m.getCommand("insertColumns").update({ label: `Insert ${He}Column${$e}`, scopedLabels: { insertCells: `${He}Column${$e}` }, disabled: Se }), m.getCommand("insertColumnsAfter").update({ label: `Insert ${He}Column${$e} After`, disabled: Se }), m.getCommand("deleteRows").update({ label: `Delete ${lt}Row${kt}`, scopedLabels: { deleteCells: `${lt}Row${kt}` }, disabled: Ke }), m.getCommand("deleteColumns").update({ label: `Delete ${gt}Column${Ue}`, scopedLabels: { deleteCells: `${gt}Column${Ue}` }, disabled: Se });
1740
1740
  }, [Ne, We, dt, a, C, l, ie]), ve(() => {
1741
1741
  const s = t.getProtection(), k = t.getProtection().isLocked(), b = !s.isFormatCellsAllowed(), p = { disabled: b };
1742
1742
  m.getCommand("protectionSheetToggle").updateCallback(async (_, te) => {
@@ -1788,11 +1788,11 @@ var Rr, Tr;
1788
1788
  return E || o.test(y) ? i(y.slice(2), E ? 2 : 8) : t.test(y) ? NaN : +y;
1789
1789
  }
1790
1790
  Rr = function(y, M, E) {
1791
- var $, O, x, F, u, D, C = 0, W = !1, A = !1, L = !0;
1791
+ var $, O, x, z, u, D, C = 0, W = !1, A = !1, L = !0;
1792
1792
  if (typeof y != "function") throw new TypeError("Expected a function");
1793
1793
  function U(V) {
1794
- var S = $, z = O;
1795
- return $ = O = void 0, C = V, F = y.apply(z, S);
1794
+ var S = $, F = O;
1795
+ return $ = O = void 0, C = V, z = y.apply(F, S);
1796
1796
  }
1797
1797
  function de(V) {
1798
1798
  var S = V - D;
@@ -1802,27 +1802,27 @@ var Rr, Tr;
1802
1802
  var V = h();
1803
1803
  if (de(V)) return B(V);
1804
1804
  u = setTimeout(H, (function(S) {
1805
- var z = M - (S - D);
1806
- return A ? w(z, x - (S - C)) : z;
1805
+ var F = M - (S - D);
1806
+ return A ? w(F, x - (S - C)) : F;
1807
1807
  })(V));
1808
1808
  }
1809
1809
  function B(V) {
1810
- return u = void 0, L && $ ? U(V) : ($ = O = void 0, F);
1810
+ return u = void 0, L && $ ? U(V) : ($ = O = void 0, z);
1811
1811
  }
1812
1812
  function q() {
1813
1813
  var V = h(), S = de(V);
1814
1814
  if ($ = arguments, O = this, D = V, S) {
1815
- if (u === void 0) return (function(z) {
1816
- return C = z, u = setTimeout(H, M), W ? U(z) : F;
1815
+ if (u === void 0) return (function(F) {
1816
+ return C = F, u = setTimeout(H, M), W ? U(F) : z;
1817
1817
  })(D);
1818
1818
  if (A) return u = setTimeout(H, M), U(D);
1819
1819
  }
1820
- return u === void 0 && (u = setTimeout(H, M)), F;
1820
+ return u === void 0 && (u = setTimeout(H, M)), z;
1821
1821
  }
1822
1822
  return M = R(M) || 0, a(E) && (W = !!E.leading, x = (A = "maxWait" in E) ? g(R(E.maxWait) || 0, M) : x, L = "trailing" in E ? !!E.trailing : L), q.cancel = function() {
1823
1823
  u !== void 0 && clearTimeout(u), C = 0, $ = D = O = u = void 0;
1824
1824
  }, q.flush = function() {
1825
- return u === void 0 ? F : B(h());
1825
+ return u === void 0 ? z : B(h());
1826
1826
  }, q;
1827
1827
  };
1828
1828
  })();
@@ -1858,7 +1858,7 @@ Dr || (Dr = 1, Ar.exports = (function() {
1858
1858
  return _o.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c, _o;
1859
1859
  })()), Ar.exports;
1860
1860
  var Er, Ir, Nn = { exports: {} }, Cn = { exports: {} }, aa = Cn.exports;
1861
- function zr(e, t) {
1861
+ function Fr(e, t) {
1862
1862
  typeof e == "function" ? e(t) : e != null && (e.current = t);
1863
1863
  }
1864
1864
  (function() {
@@ -1912,10 +1912,10 @@ function zr(e, t) {
1912
1912
  const sa = "_sheet-scrollbar_104cg_1", ki = mt(vt((e, t) => {
1913
1913
  const { style: n = st.EmptyCssProperties, orientation: o, sheet: i, onShowTooltip: r, onCloseTooltip: d, onScrollOffset: c, showCustomScrollButtons: l = !0, offset: g = 0, totalSize: w = 0, viewportSize: h = 0, className: a, endGap: R, ...y } = e;
1914
1914
  if (!i) throw new Error("SheetScrollBar needs a sheet model");
1915
- const [M] = gn(), E = oe(r, [r]), $ = oe(d, [d]), O = pe(() => x === null && F === null ? null : (be) => {
1916
- zr(x, be), zr(F, be);
1917
- }, [x = M, F = t]);
1918
- var x, F;
1915
+ const [M] = gn(), E = oe(r, [r]), $ = oe(d, [d]), O = pe(() => x === null && z === null ? null : (be) => {
1916
+ Fr(x, be), Fr(z, be);
1917
+ }, [x = M, z = t]);
1918
+ var x, z;
1919
1919
  const [u, D] = ge(() => {
1920
1920
  const be = i.getView().getTopLeft();
1921
1921
  return o === dn.Vertical ? be.top : be.left;
@@ -1925,7 +1925,7 @@ const sa = "_sheet-scrollbar_104cg_1", ki = mt(vt((e, t) => {
1925
1925
  }, [W, A] = ge(C), [L, U] = ge(null), [de, H] = ge(!1), B = o === dn.Vertical ? i.getRowHeaders() : i.getColumnHeaders(), q = () => {
1926
1926
  const be = i.getUsedRange()?.getCoords() ?? St.EmptyRange, Ee = i.getSelection().getCoords().cell;
1927
1927
  return { colIndex: Math.max(be.colEnd, Ee.colIndex), rowIndex: Math.max(be.rowEnd, Ee.rowIndex) };
1928
- }, [V, S] = ge(q), z = V ? (o === dn.Vertical ? V.rowIndex : V.colIndex) + 1 : 0, J = () => {
1928
+ }, [V, S] = ge(q), F = V ? (o === dn.Vertical ? V.rowIndex : V.colIndex) + 1 : 0, J = () => {
1929
1929
  const be = q();
1930
1930
  St.isEqualCells(V, be) || S(be);
1931
1931
  };
@@ -1942,7 +1942,7 @@ const sa = "_sheet-scrollbar_104cg_1", ki = mt(vt((e, t) => {
1942
1942
  D(be);
1943
1943
  const Q = be + W.scroll, G = Ee + W.shift, ce = Xe + W.shift + W.scroll;
1944
1944
  c?.(Q, G, ce);
1945
- }, [c, W]), Ae = g - W.scroll, me = h - W.shift, Oe = w - (W.shift + W.scroll), Le = B.findOffset(z) * (i.getView().getZoomScale() / 100) - (W.scroll + W.shift);
1945
+ }, [c, W]), Ae = g - W.scroll, me = h - W.shift, Oe = w - (W.shift + W.scroll), Le = B.findOffset(F) * (i.getView().getZoomScale() / 100) - (W.scroll + W.shift);
1946
1946
  return pe(() => f(yl, { ref: O, className: xt(a, sa), style: n, offset: Ae, viewportSize: me, totalSize: Oe, orientation: o, showCustomScrollButtons: l, onMouseDown: (be) => {
1947
1947
  U({ anchor: { x: be.clientX, y: be.clientY } }), be.preventDefault();
1948
1948
  }, onScrollOffset: re, onMouseOut: () => {
@@ -1952,7 +1952,7 @@ const sa = "_sheet-scrollbar_104cg_1", ki = mt(vt((e, t) => {
1952
1952
  }, minSize: Le, ...y }), [a, Ae, me, Oe, o, l, n, Le, R]);
1953
1953
  }));
1954
1954
  ki.displayName = "SheetScrollbar";
1955
- const Fr = (e, t, n = null) => {
1955
+ const zr = (e, t, n = null) => {
1956
1956
  const o = [];
1957
1957
  for (let i = 0; i < e.length; i++) if (e[i].value.isSelectedAll) {
1958
1958
  if (e[i].min === e[i].max && e[i].min === n) continue;
@@ -1960,16 +1960,16 @@ const Fr = (e, t, n = null) => {
1960
1960
  }
1961
1961
  return o;
1962
1962
  }, Nr = mt(vt((e, t) => {
1963
- const { sheetHeader: n, gridRef: o, sheetElement: i, commands: r, oppositeSize: d = 30, containerWidth: c, containerHeight: l, headerText: g, freezeStart: w, gridStyle: h, verticalPadding: a, horizontalPadding: R, onSheetContextMenu: y, onResizeHeadersStart: M, onResizeHeaders: E, onResizeHeadersEnd: $, onResizeHeadersDown: O, onResizeHeadersUp: x, scrollPoint: F, onSelectionStart: u, onSelectionEnd: D } = e, C = pe(() => n.getOrientation(), [n]), W = ke(null), [A, L] = un((N) => N + 1, 0), [U, de] = un((N) => N + 1, 0), H = n?.getSheet(), B = ke(!1);
1963
+ const { sheetHeader: n, gridRef: o, sheetElement: i, commands: r, oppositeSize: d = 30, containerWidth: c, containerHeight: l, headerText: g, freezeStart: w, gridStyle: h, verticalPadding: a, horizontalPadding: R, onSheetContextMenu: y, onResizeHeadersStart: M, onResizeHeaders: E, onResizeHeadersEnd: $, onResizeHeadersDown: O, onResizeHeadersUp: x, scrollPoint: z, onSelectionStart: u, onSelectionEnd: D } = e, C = pe(() => n.getOrientation(), [n]), W = ke(null), [A, L] = un((N) => N + 1, 0), [U, de] = un((N) => N + 1, 0), H = n?.getSheet(), B = ke(!1);
1964
1964
  Bt(() => {
1965
1965
  B.current = !0;
1966
1966
  }, [n]);
1967
1967
  const q = pe(() => n.getEntireRange().getCoords().max + 1, [n]), V = pe(() => {
1968
1968
  const N = C === xe.Orientation.Column;
1969
- return { left: N ? F.left : 0, top: N ? 0 : F.top };
1970
- }, [F]), [S, z] = ge(H?.getView().getZoomScale() / 100), [J, re] = ge(null);
1969
+ return { left: N ? z.left : 0, top: N ? 0 : z.top };
1970
+ }, [z]), [S, F] = ge(H?.getView().getZoomScale() / 100), [J, re] = ge(null);
1971
1971
  ht(n, { onSizesChange: (N) => {
1972
- z(H?.getView().getZoomScale() / 100), Be(he());
1972
+ F(H?.getView().getZoomScale() / 100), Be(he());
1973
1973
  } });
1974
1974
  const Ae = Qe(() => {
1975
1975
  W.current?.invalidate(), de();
@@ -1985,7 +1985,7 @@ const Fr = (e, t, n = null) => {
1985
1985
  } }), Bt(() => {
1986
1986
  Be(he());
1987
1987
  }, [C, S, d]), Bt(() => {
1988
- re(null), z(n?.getSheet().getView().getZoomScale() / 100), Be(he());
1988
+ re(null), F(n?.getSheet().getView().getZoomScale() / 100), Be(he());
1989
1989
  }, [n]);
1990
1990
  const be = Qe((N) => n.at(N)?.isHidden() || n.at(N)?.getSize() === 0, [n]), Ee = Qe((N, j) => n.hiddenHeadersAt(N, j), [be]), Xe = oe((N) => n.isSelected(N), [n]), Q = oe((N) => n.isSelectedAll(N), [n]), G = Qe(() => n.getMinSize(), [n]), ce = Qe(() => n.getMaxSize(), [n]), Pe = oe((N, j, Me) => {
1991
1991
  j /= S;
@@ -2004,7 +2004,7 @@ const Fr = (e, t, n = null) => {
2004
2004
  const p = n.getSelectedRuns();
2005
2005
  p.length > 1 ? k = "Resize " + (s ? "Columns" : "Rows") : b = p[0];
2006
2006
  const v = { hidden: j <= 0, size: (j <= 0 ? Me : j) / S };
2007
- n.updateHeaderPairs(Fr(p, v, N));
2007
+ n.updateHeaderPairs(zr(p, v, N));
2008
2008
  }
2009
2009
  if (b) {
2010
2010
  const p = b.max - b.min + 1;
@@ -2026,7 +2026,7 @@ const Fr = (e, t, n = null) => {
2026
2026
  T.value.isSelectedAll && (T.min <= N && T.max >= N && (j = !0), p(T));
2027
2027
  }
2028
2028
  if (j || p({ min: N, max: N }), n.getSheet().getRanges(k).autoFit({ orientations: Me ? xe.Orientations.Column : xe.Orientations.Row }), be(N)) {
2029
- const v = { hidden: null }, T = Fr(b, v);
2029
+ const v = { hidden: null }, T = zr(b, v);
2030
2030
  j || T.push({ address: N, update: v }), n.updateHeaderPairs(T);
2031
2031
  }
2032
2032
  $?.(N, null, "Resize Column(s)");
@@ -2070,8 +2070,8 @@ const Fr = (e, t, n = null) => {
2070
2070
  v.length > 0 && v[0] > T && (v = [v[0] - 1, ...v]);
2071
2071
  let _ = [];
2072
2072
  const te = [], se = v.length;
2073
- for (let ze = 0; ze < se; ze++) {
2074
- const He = v[ze], $e = ze < se - 1 ? v[ze + 1] : He + Ee(He + 1, !1) + 1, tt = He + 1 !== $e;
2073
+ for (let Fe = 0; Fe < se; Fe++) {
2074
+ const He = v[Fe], $e = Fe < se - 1 ? v[Fe + 1] : He + Ee(He + 1, !1) + 1, tt = He + 1 !== $e;
2075
2075
  if (!p || p.max < He) if (j.length > 0 && j[j.length - 1].max >= He) {
2076
2076
  const Ue = ot.findEqualOrGreater(j, He, (lt) => lt.max);
2077
2077
  p = j[Ue];
@@ -2081,7 +2081,7 @@ const Fr = (e, t, n = null) => {
2081
2081
  let Ue = !1, lt = !1;
2082
2082
  p?.value && p.min <= He && (Ue = !0, lt = p.value.isSelectedAll), He > 0 && te.push({ index: He - 1, isNextHidden: tt, isSelected: Ue, isSelectedAll: lt, disabledResize: !0 });
2083
2083
  }
2084
- if (gt && _.push(te.length), te.push({ index: He, isHidden: ze === 0 && Ee(He, !1) > 0, isNextHidden: tt, isSelected: Je, isSelectedAll: gt, onDividerMouseDown: O, onDividerResizeStart: P, onDividerResize: Me, onDividerMouseUp: x, onDividerResizeEnd: Ce, onDividerAutoFit: ee }), tt) {
2084
+ if (gt && _.push(te.length), te.push({ index: He, isHidden: Fe === 0 && Ee(He, !1) > 0, isNextHidden: tt, isSelected: Je, isSelectedAll: gt, onDividerMouseDown: O, onDividerResizeStart: P, onDividerResize: Me, onDividerMouseUp: x, onDividerResizeEnd: Ce, onDividerAutoFit: ee }), tt) {
2085
2085
  let Ue = !1, lt = !1;
2086
2086
  if (p && p.min >= He && p.max <= $e - 1 && p.value.isSelectedAll && _.push(te.length), !(p?.value && p.max >= $e)) if (j.length > 0 && j[j.length - 1].max >= $e) {
2087
2087
  const kt = ot.findEqualOrGreater(j, $e, (Ht) => Ht.max);
@@ -2091,20 +2091,20 @@ const Fr = (e, t, n = null) => {
2091
2091
  }
2092
2092
  }
2093
2093
  if (_.length > 0) {
2094
- let ze = _.length - 1;
2094
+ let Fe = _.length - 1;
2095
2095
  if (_.length > 0) {
2096
- const tt = te[_[ze]].index;
2096
+ const tt = te[_[Fe]].index;
2097
2097
  let Je = null;
2098
- N ? (Je = b.getRangeCoordsBounds({ rowStart: 0, rowEnd: 0, colStart: tt, colEnd: tt }), Je.x + Je.width > b.getBounds().width && (ze -= 1, ze === 0 && (ze = -1))) : (Je = b.getRangeCoordsBounds({ rowStart: tt, rowEnd: tt, colStart: 0, colEnd: 0 }), Je.y + Je.height > b.getBounds().height && (ze -= 1, ze === 0 && (ze = -1)));
2098
+ N ? (Je = b.getRangeCoordsBounds({ rowStart: 0, rowEnd: 0, colStart: tt, colEnd: tt }), Je.x + Je.width > b.getBounds().width && (Fe -= 1, Fe === 0 && (Fe = -1))) : (Je = b.getRangeCoordsBounds({ rowStart: tt, rowEnd: tt, colStart: 0, colEnd: 0 }), Je.y + Je.height > b.getBounds().height && (Fe -= 1, Fe === 0 && (Fe = -1)));
2099
2099
  }
2100
2100
  const He = j?.[j.length - 1], $e = b.getAnchor();
2101
2101
  if ($e === "t" || $e === "l") {
2102
2102
  const tt = te[_[Math.max(0, _.length - 1)]];
2103
2103
  tt.showTouchDivider = He && He.max <= tt.index;
2104
- } else ze >= 0 && (te[_[ze]].showTouchDivider = !0);
2104
+ } else Fe >= 0 && (te[_[Fe]].showTouchDivider = !0);
2105
2105
  }
2106
2106
  const { header: ue, headerSelect: X, headerSelectAll: qe, headerHover: we } = h ?? {}, Se = te.length, Ke = new Array(Se);
2107
- for (let ze = 0; ze < Se; ze++) Ke[ze] = f(Fl, { orientation: C, view: b, headerStyle: ue, headerStyleSelect: X, headerStyleSelectAll: qe, headerStyleHover: we, disabled: n.isProtected(), ...te[ze] }, `divider${ze}`);
2107
+ for (let Fe = 0; Fe < Se; Fe++) Ke[Fe] = f(zl, { orientation: C, view: b, headerStyle: ue, headerStyleSelect: X, headerStyleSelectAll: qe, headerStyleHover: we, disabled: n.isProtected(), ...te[Fe] }, `divider${Fe}`);
2108
2108
  return Ke;
2109
2109
  }, (b) => {
2110
2110
  const p = [], v = j.length;
@@ -2116,7 +2116,7 @@ const Fr = (e, t, n = null) => {
2116
2116
  }, [A]);
2117
2117
  const dt = oe((N) => g ? g(N) : n.getTextAt(N), [g, n]), le = oe((N) => {
2118
2118
  const { header: j, headerSelect: Me, headerSelectAll: s, headerHover: k } = h ?? {}, { range: b, key: p, ...v } = N;
2119
- return f(zl, { orientation: C, index: C === xe.Orientation.Column ? b.colStart : b.rowStart, isSelected: Xe, isSelectedAll: Q, zoomScale: 100 * S, headerText: dt, headerStyle: j, headerStyleSelect: Me, headerStyleSelectAll: s, headerStyleHover: k, verticalPadding: a, horizontalPadding: R, ...v }, p);
2119
+ return f(Fl, { orientation: C, index: C === xe.Orientation.Column ? b.colStart : b.rowStart, isSelected: Xe, isSelectedAll: Q, zoomScale: 100 * S, headerText: dt, headerStyle: j, headerStyleSelect: Me, headerStyleSelectAll: s, headerStyleHover: k, verticalPadding: a, horizontalPadding: R, ...v }, p);
2120
2120
  }, [A, q, h, S, n]), Ie = mn(), Ve = pe(() => {
2121
2121
  const N = "white", j = "black", Me = {};
2122
2122
  if (st.detectIt().primaryInput !== "touch") {
@@ -2124,7 +2124,7 @@ const Fr = (e, t, n = null) => {
2124
2124
  Ie.getMode()?.key === "formatPainter" && (s = `url("data:image/svg+xml,%3Csvg width='30' height='22' viewBox='0 0 30 22' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='M 26.737611,2.811068 V 2.0241451 c 0,-0.4328075 -0.354115,-0.7869227 -0.786923,-0.7869227 h -9.443074 c -0.432808,0 -0.786923,0.3541152 -0.786923,0.7869227 v 3.1476914 c 0,0.4328076 0.354115,0.7869235 0.786923,0.7869235 h 9.443074 c 0.432808,0 0.786923,-0.3541159 0.786923,-0.7869235 V 4.3849137 h 0.786923 v 3.1476915 h -7.869229 v 8.6561518 c 0,0.432808 0.354116,0.786923 0.786923,0.786923 h 1.573846 c 0.432807,0 0.786923,-0.354115 0.786923,-0.786923 V 9.1064513 H 29.09838 V 2.811068 Z M 10.714339,6.2116849 c -1.60877,0.0017 -3.2175361,0.00425 -4.8263048,0.00609 0.0012,1.5756989 0.00158,3.1513905 0.00244,4.7270891 -1.5978311,0.0017 -3.1956617,0.0034 -4.7934919,0.0043 0.00335,1.740011 0.00655,3.480012 0.00988,5.220023 1.5954589,0 3.1909181,0 4.7863775,0 -0.0017,1.606793 -0.00353,3.213585 -0.0051,4.820375 1.7440936,0.0016 3.4881881,0.0033 5.2322842,0.005 -0.0014,-1.608503 -0.0018,-3.217015 -0.0028,-4.825519 1.58518,0 3.17036,0 4.755543,0 0.0033,-1.741851 0.0073,-3.483705 0.01072,-5.225556 -1.58808,0 -3.176158,0 -4.764238,0 0,-1.5775391 0,-3.1550792 0,-4.7326117 -0.135065,1.3e-4 -0.270128,1.982e-4 -0.40519,4.047e-4 z' stroke='${j}' fill='${N}'/%3E%3C/g%3E%3C/svg%3E%0A") 7 12, pointer`), Me.cursor = s;
2125
2125
  }
2126
2126
  return Me.backgroundColor = h?.header?.fill || "transparent", Me;
2127
- }, [C, A, Ie, h]), Fe = $t(t, () => ({ scrollTo: (N) => {
2127
+ }, [C, A, Ie, h]), ze = $t(t, () => ({ scrollTo: (N) => {
2128
2128
  W.current?.scrollTo(N);
2129
2129
  }, forceRender: () => {
2130
2130
  L();
@@ -2137,7 +2137,7 @@ const Fr = (e, t, n = null) => {
2137
2137
  y({ originalEvent: N, clientX: N.clientX, clientY: N.clientY, rowIndex: Me ? -1 : j.rowIndex, colIndex: Me ? j.colIndex : -1 }), N.stopPropagation(), N.preventDefault();
2138
2138
  }, [We, y]), Z = pe(() => {
2139
2139
  const N = C === xe.Orientation.Column;
2140
- return f("div", { ref: Fe, children: f(pi, { className: "sheet-header", style: Ve, ref: W, scrollPoint: V, columnCount: N ? q : 1, rowCount: N ? 1 : q, width: N ? c : d, height: N ? d : l, freezeLeft: N ? w : void 0, freezeTop: N ? void 0 : w, hiddenColumnsAt: N ? Ee : void 0, hiddenRowsAt: N ? void 0 : Ee, showGridLines: !1, layout: ae, clipCells: !1, allowOverlaysOverflow: !0, enableMouseWheel: !1, onContextMenu: I, onPointerDown: Te, zoom: S, cellRenderer: le, overlays: J }) });
2140
+ return f("div", { ref: ze, children: f(pi, { className: "sheet-header", style: Ve, ref: W, scrollPoint: V, columnCount: N ? q : 1, rowCount: N ? 1 : q, width: N ? c : d, height: N ? d : l, freezeLeft: N ? w : void 0, freezeTop: N ? void 0 : w, hiddenColumnsAt: N ? Ee : void 0, hiddenRowsAt: N ? void 0 : Ee, showGridLines: !1, layout: ae, clipCells: !1, allowOverlaysOverflow: !0, enableMouseWheel: !1, onContextMenu: I, onPointerDown: Te, zoom: S, cellRenderer: le, overlays: J }) });
2141
2141
  }, [J, ae, c, l, V, Ve, U]);
2142
2142
  return ve(() => {
2143
2143
  B.current = !1, W.current?.invalidate(), de();
@@ -2194,7 +2194,7 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2194
2194
  const u = { disabled: !t.getProtection().isFormatCellsAllowed() };
2195
2195
  o.getCommand("pasteValues").updateCallback((D) => x.paste({ ...ga, ...D })).update(u), o.getCommand("pasteFormats").updateCallback((D, C) => x.paste({ ...ha, description: C.label(), ...D })).update(u), o.getCommand("pasteFormulas").updateCallback((D, C) => x.paste({ ...ma, description: C.label(), ...D })).update(u), o.getCommand("pasteTranspose").updateCallback((D, C) => x.paste({ ...pa, description: C.label(), ...D })).update(u), o.getCommand("pasteLinks").updateCallback((D, C) => x.paste({ ...fa, description: C.label(), ...D })).update(u), o.getCommand("cut").update(u), o.getCommand("paste").update(u);
2196
2196
  }, [t, o]);
2197
- const F = pe(() => {
2197
+ const z = pe(() => {
2198
2198
  if (!M || !R.current) return;
2199
2199
  const u = M.key;
2200
2200
  if (u !== "copy" && u !== "cut" && u !== "formatPainter") return;
@@ -2210,7 +2210,7 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2210
2210
  return H;
2211
2211
  } : null;
2212
2212
  }, [M, t, n, c, g, l, w]);
2213
- return { ...x, clipboard: O, overlays: F };
2213
+ return { ...x, clipboard: O, overlays: z };
2214
2214
  }, wa = mt(vt((e, t) => {
2215
2215
  const { view: n, element: o, sheet: i, gridStyle: r, commands: d } = e, c = r.body ?? {}, l = i.getView(), { overlays: g } = va({ element: o, sheet: i, sheetView: l, commands: d, copyForegroundColor: r.selection.strokeFill, copyBackgroundColor: c.fill, cutForegroundColor: r.selectionRemove.strokeFill, cutBackgroundColor: c.fill });
2216
2216
  return ht(i?.getSelection(), { onChange(w) {
@@ -2220,7 +2220,7 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2220
2220
  })), ya = "_sheet-selection_12wyx_5", ba = { key: "dragCut", description: "Drag selection to move cell contents.", cursor: "move" }, Ca = { key: "dragCutInsert", description: "Drag selection to insert cell contents.", cursor: "copy" }, qa = { key: "dragCopy", description: "Drag selection to copy cell contents." }, Sa = { key: "dragCopyInsert", description: "Drag selection to insert copied cell contents.", cursor: "move" }, Lr = (e, t) => t.ctrlKey && t.shiftKey ? Sa : t.ctrlKey ? qa : t.shiftKey ? Ca : ba, xa = { key: "fill", description: "Drag selection to extend series or fill.", cursor: "crosshair" }, ka = mt(vt((e, t) => {
2221
2221
  const { view: n, commands: o, className: i, onFirstRender: r, onShowTooltip: d, onCloseTooltip: c, sheet: l, gridRef: g, gridStyle: w, isActive: h, editingCoords: a, ...R } = e, y = n?.getBounds(), M = oe(d, [d]), E = oe(c, [c]), [$, O] = ge(() => l?.getSelection().getCoords()), x = oe((P) => {
2222
2222
  St.isEqualSelectionCoords(P, $) || l && l.getSelection().updateCoords(P);
2223
- }, [l, $]), F = mn(), u = ke(null), [D, C] = ge(l?.getProtection().isLocked()), [W, A] = ge(l?.getView().getMovableSelection().length > 0), L = st.detectIt().primaryInput === "touch", U = !L && h, de = a ?? F.getMode()?.args?.stateAndCoords?.coords, H = de !== void 0 || W, B = oe((P) => {
2223
+ }, [l, $]), z = mn(), u = ke(null), [D, C] = ge(l?.getProtection().isLocked()), [W, A] = ge(l?.getView().getMovableSelection().length > 0), L = st.detectIt().primaryInput === "touch", U = !L && h, de = a ?? z.getMode()?.args?.stateAndCoords?.coords ?? null, H = de !== null || W, B = oe((P) => {
2224
2224
  const ee = St.cellToRange(P);
2225
2225
  if (l.isClosed()) return ee;
2226
2226
  const he = l.getRange(ee, { ignoreHidden: !0 }).getMerges();
@@ -2240,14 +2240,14 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2240
2240
  }, [l]), V = oe(() => {
2241
2241
  const P = l.getUsedRange()?.getCoords(), ee = l.getRowHeaders().getUsedRange()?.getCoords(), he = l.getColumnHeaders().getUsedRange()?.getCoords();
2242
2242
  return { ...P, colEnd: Math.max(P?.colEnd ?? 0, he?.max ?? 0), rowEnd: Math.max(P?.rowEnd ?? 0, ee?.max ?? 0) };
2243
- }, [l]), S = oe((P, ee) => l.getRowHeaders().hiddenHeadersAt(P, ee), [l]), z = oe((P, ee) => l.getColumnHeaders().hiddenHeadersAt(P, ee), [l]), J = oe((P) => l.getRange(P, { ignoreHidden: !0 }).getMerges(), [l]), re = oe((P) => {
2243
+ }, [l]), S = oe((P, ee) => l.getRowHeaders().hiddenHeadersAt(P, ee), [l]), F = oe((P, ee) => l.getColumnHeaders().hiddenHeadersAt(P, ee), [l]), J = oe((P) => l.getRange(P, { ignoreHidden: !0 }).getMerges(), [l]), re = oe((P) => {
2244
2244
  l?.getSelection().setAdjusting(P);
2245
2245
  }, [l]), Ae = oe(async () => {
2246
- l?.getSelection().setAdjusting(null), F.getMode()?.key === "formatPainter" && (await o?.getCommand("pasteFormats")?.execute({}), F.setMode(null));
2247
- }, [F, $, l, o]), me = pe(() => {
2248
- const P = F.getMode();
2246
+ l?.getSelection().setAdjusting(null), z.getMode()?.key === "formatPainter" && (await o?.getCommand("pasteFormats")?.execute({}), z.setMode(null));
2247
+ }, [z, $, l, o]), me = pe(() => {
2248
+ const P = z.getMode();
2249
2249
  return P?.key === "cut" || P?.key === "copy";
2250
- }, [F]);
2250
+ }, [z]);
2251
2251
  ht(l?.getView(), { onMovableSelectionChange: () => {
2252
2252
  A(l.getView().getMovableSelection().length > 0);
2253
2253
  } }), ht(l?.getSelection(), { onChange(P) {
@@ -2256,12 +2256,12 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2256
2256
  } }), ht(l, { onProtectionChange: () => {
2257
2257
  C(l.getProtection().isLocked());
2258
2258
  } });
2259
- const { body: Oe = {} } = w || {}, Le = Yn(), be = n.getLayout(), Ee = !(U && $.ranges.length <= 1 && de === null && !D && (!F.getMode() || me)), { cursor: Xe, overlay: Q, onPointerDown: G } = mi({ gridRef: g, commands: o, layout: be, getCellCoordsAsRangeCoords: B, selection: $, fillHandleBorderColor: Oe.fill, selectionBackgroundColor: h ? w.selection.fill : w.selectionInactive.fill, selectionBorderColor: h ? w.selection.strokeFill : w.selectionInactive.strokeFill, selectionRemoveBackgroundColor: h ? w.selectionRemove.fill : w.selectionInactive.fill, selectionRemoveBorderColor: h ? w.selectionRemove.strokeFill : w.selectionInactive.strokeFill, disableFillDrag: Ee, disableMoveDrag: L || !(h && $.ranges.length <= 1 && de === null && !D), disableTouchSelection: H, onSelectionChange: x, onSelectionDragStart: re, onSelectionDragEnd: Ae, onMoveDragStart: (P, ee, he) => {
2260
- F.setMode(Lr(0, he));
2259
+ const { body: Oe = {} } = w || {}, Le = Yn(), be = n.getLayout(), Ee = !(U && $.ranges.length <= 1 && de === null && !D && (!z.getMode() || me)), { cursor: Xe, overlay: Q, onPointerDown: G } = mi({ gridRef: g, commands: o, layout: be, getCellCoordsAsRangeCoords: B, selection: $, fillHandleBorderColor: Oe.fill, selectionBackgroundColor: h ? w.selection.fill : w.selectionInactive.fill, selectionBorderColor: h ? w.selection.strokeFill : w.selectionInactive.strokeFill, selectionRemoveBackgroundColor: h ? w.selectionRemove.fill : w.selectionInactive.fill, selectionRemoveBorderColor: h ? w.selectionRemove.strokeFill : w.selectionInactive.strokeFill, disableFillDrag: Ee, disableMoveDrag: L || !(h && $.ranges.length <= 1 && de === null && !D), disableTouchSelection: H, onSelectionChange: x, onSelectionDragStart: re, onSelectionDragEnd: Ae, onMoveDragStart: (P, ee, he) => {
2260
+ z.setMode(Lr(0, he));
2261
2261
  }, onMoveDragUpdate: (P, ee, he) => {
2262
- F.setMode(Lr(0, he));
2262
+ z.setMode(Lr(0, he));
2263
2263
  }, onMoveDragEnd: (P, ee) => {
2264
- F.setMode(null);
2264
+ z.setMode(null);
2265
2265
  }, onMoveDragDone: async (P, ee, he) => {
2266
2266
  if (St.isEqualRanges(P, ee)) return;
2267
2267
  const ae = l.getRange(ee);
@@ -2284,7 +2284,7 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2284
2284
  } finally {
2285
2285
  Ne?.();
2286
2286
  }
2287
- }, contentfulCellFinder: q, hiddenRowsAt: S, hiddenColumnsAt: z, mergedRanges: J, getDataCoords: V, canSelectionSpanMergedCells: (P) => {
2287
+ }, contentfulCellFinder: q, hiddenRowsAt: S, hiddenColumnsAt: F, mergedRanges: J, getDataCoords: V, canSelectionSpanMergedCells: (P) => {
2288
2288
  const ee = l.getRange(P);
2289
2289
  return ee.isEntireColumns() || ee.isEntireRows();
2290
2290
  }, onFill: async (P, ee) => {
@@ -2300,7 +2300,7 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2300
2300
  }
2301
2301
  }, onFillPreview: (P, ee, he) => {
2302
2302
  if (g.current && M) {
2303
- F.setMode(xa);
2303
+ z.setMode(xa);
2304
2304
  try {
2305
2305
  u.current?.direction !== he && (u.current = null, l.getRange(P).autoFill(ee, { previewOnly: (m) => {
2306
2306
  u.current = { callback: m, direction: he };
@@ -2310,23 +2310,23 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2310
2310
  const Be = ae.toText();
2311
2311
  if (!Be) return;
2312
2312
  const ie = St.cellToRange(ae.getCoords()), fe = n.getRelativePointFromClient(0, 0);
2313
- let Ne = 0, Re = 0, Ze = Fn.Bottom;
2313
+ let Ne = 0, Re = 0, Ze = zn.Bottom;
2314
2314
  if (he === xe.Direction.Down) {
2315
2315
  Ne = be.getColOffset(ie.colEnd + 1) - fe.x;
2316
2316
  const m = be.getRowOffset(ie.rowEnd), We = be.getRowOffset(ie.rowEnd + 1);
2317
- Re = We - (We - m) / 2 - fe.y, Ze = Fn.Right;
2317
+ Re = We - (We - m) / 2 - fe.y, Ze = zn.Right;
2318
2318
  } else if (he === xe.Direction.Right) {
2319
2319
  Re = be.getRowOffset(ie.rowEnd + 1) - fe.y;
2320
2320
  const m = be.getColOffset(ie.colEnd), We = be.getColOffset(ie.colEnd + 1);
2321
- Ne = We - (We - m) / 2 - fe.x, Ze = Fn.Bottom;
2321
+ Ne = We - (We - m) / 2 - fe.x, Ze = zn.Bottom;
2322
2322
  } else if (he === xe.Direction.Up) {
2323
2323
  Ne = be.getColOffset(ie.colEnd + 1) - fe.x;
2324
2324
  const m = be.getRowOffset(ie.rowStart), We = be.getRowOffset(ie.rowStart + 1);
2325
- Re = We - (We - m) / 2 - fe.y, Ze = Fn.Right;
2325
+ Re = We - (We - m) / 2 - fe.y, Ze = zn.Right;
2326
2326
  } else if (he === xe.Direction.Left) {
2327
2327
  Re = be.getRowOffset(ie.rowEnd + 1) - fe.y;
2328
2328
  const m = be.getColOffset(ie.colStart), We = be.getColOffset(ie.colStart + 1);
2329
- Ne = We - (We - m) / 2 - fe.x, Ze = Fn.Bottom;
2329
+ Ne = We - (We - m) / 2 - fe.x, Ze = zn.Bottom;
2330
2330
  }
2331
2331
  M({ anchor: { x: Ne, y: Re }, display: Be, placement: Ze });
2332
2332
  } catch (ae) {
@@ -2334,7 +2334,7 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2334
2334
  }
2335
2335
  }
2336
2336
  }, onFillDone: () => {
2337
- u.current = null, F.setMode(null), E?.();
2337
+ u.current = null, z.setMode(null), E?.();
2338
2338
  } }), ce = oe((P) => {
2339
2339
  G(st.createSyntheticEvent(P));
2340
2340
  }, [G, de]);
@@ -2347,7 +2347,7 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2347
2347
  const Pe = $t(t, () => ({}), []), Ce = ke(null);
2348
2348
  return f("div", { className: xt(i, "sheet-selection", ya), style: { position: "absolute", width: y?.width, height: y?.height, overflow: "hidden", pointerEvents: "none", willChange: "none" }, ref: Rn([Pe, Ce]), ...R, children: Q(n) });
2349
2349
  })), ho = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), Ra = { fireOnModelChange: !1 }, Ta = mt(vt((e, t) => {
2350
- const { children: n, view: o, movable: i, onRefLoad: r, onRefUnload: d, onHide: c, onShow: l, onUnFocus: g, isDragging: w, updateFrameBounds: h, dragStart: a, style: R, disabled: y, renderMovable: M, ...E } = e, [$, O] = ge(ho), [x, F] = ge(null), [u, D] = ge(!1), C = ke(null);
2350
+ const { children: n, view: o, movable: i, onRefLoad: r, onRefUnload: d, onHide: c, onShow: l, onUnFocus: g, isDragging: w, updateFrameBounds: h, dragStart: a, style: R, disabled: y, renderMovable: M, ...E } = e, [$, O] = ge(ho), [x, z] = ge(null), [u, D] = ge(!1), C = ke(null);
2351
2351
  Bt(() => {
2352
2352
  if (i.isClosed()) return;
2353
2353
  const A = i.getBounds();
@@ -2377,22 +2377,22 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2377
2377
  const L = A.shiftKey || A.ctrlKey, U = i.isSelected(), de = A.currentTarget;
2378
2378
  L && U ? i.unselect() : (U && !L || await i.select({ addToSelection: L }), a(A.nativeEvent, de), de.focus());
2379
2379
  }, onFocus: (A) => {
2380
- A.relatedTarget && !x && F(A.relatedTarget), D(!0);
2380
+ A.relatedTarget && !x && z(A.relatedTarget), D(!0);
2381
2381
  }, onBlur: (A) => {
2382
- x && !C?.current?.contains(A.relatedTarget) && F(null), A.relatedTarget && D(!1);
2382
+ x && !C?.current?.contains(A.relatedTarget) && z(null), A.relatedTarget && D(!1);
2383
2383
  }, ...E, children: W });
2384
2384
  })), Ma = "_movable-area_314c6_5", Da = mt(vt((e, t) => {
2385
- const { view: n, movables: o, movablesView: i, renderMovable: r, transactional: d, onUnFocus: c, onFocus: l, disabled: g = !1, disableDrag: w = !1, disableResize: h = !1, className: a, style: R, renderDirections: y = ["nw", "n", "ne", "w", "e", "sw", "s", "se"], onFirstRender: M, ...E } = e, $ = n.getBounds(), O = oe(M, [M]), x = oe(c, [c]), F = oe(l, [l]), [u, D] = ge([]), [C, W] = ge(!1), [A, L] = ge(!1), U = ke(!0), de = ke(/* @__PURE__ */ new Map()), H = ke(/* @__PURE__ */ new Map()), B = ke(/* @__PURE__ */ new Map()), q = ke(/* @__PURE__ */ new Map()), V = ke(/* @__PURE__ */ new Map()), S = ke({ onRequestFocus: (le) => (ee(le), null) }), z = ke(null), J = ke(null), re = ke(null), [Ae, me] = un((le) => le + 1, 0);
2385
+ const { view: n, movables: o, movablesView: i, renderMovable: r, transactional: d, onUnFocus: c, onFocus: l, disabled: g = !1, disableDrag: w = !1, disableResize: h = !1, className: a, style: R, renderDirections: y = ["nw", "n", "ne", "w", "e", "sw", "s", "se"], onFirstRender: M, ...E } = e, $ = n.getBounds(), O = oe(M, [M]), x = oe(c, [c]), z = oe(l, [l]), [u, D] = ge([]), [C, W] = ge(!1), [A, L] = ge(!1), U = ke(!0), de = ke(/* @__PURE__ */ new Map()), H = ke(/* @__PURE__ */ new Map()), B = ke(/* @__PURE__ */ new Map()), q = ke(/* @__PURE__ */ new Map()), V = ke(/* @__PURE__ */ new Map()), S = ke({ onRequestFocus: (le) => (ee(le), null) }), F = ke(null), J = ke(null), re = ke(null), [Ae, me] = un((le) => le + 1, 0);
2386
2386
  Bt(() => {
2387
2387
  me();
2388
2388
  }, [n, o]), ht(o, { onCollectionChange: () => {
2389
2389
  const le = o.getItems({ address: n.getVisibleRangeCoords(), ignoreHidden: !0 }), Ie = V.current;
2390
- Ie.forEach((Fe) => {
2391
- Fe();
2390
+ Ie.forEach((ze) => {
2391
+ ze();
2392
2392
  }), Ie.clear();
2393
2393
  const Ve = S.current;
2394
- for (let Fe = 0; Fe < le.length; Fe++) {
2395
- const Te = le[Fe];
2394
+ for (let ze = 0; ze < le.length; ze++) {
2395
+ const Te = le[ze];
2396
2396
  if (Te.isClosed()) continue;
2397
2397
  const I = Te.addListeners(Ve);
2398
2398
  Ie.set(Te, I);
@@ -2405,14 +2405,14 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2405
2405
  } });
2406
2406
  const Oe = Qe((le, Ie) => {
2407
2407
  const Ve = B.current.get(le);
2408
- re.current && (re.current.getTargets().forEach((Fe) => {
2409
- if (Fe === Ve) return Fe.style.left = Ie.x + "px", Fe.style.top = Ie.y + "px", Fe.style.width = Ie.width + "px", void (Fe.style.height = Ie.height + "px");
2408
+ re.current && (re.current.getTargets().forEach((ze) => {
2409
+ if (ze === Ve) return ze.style.left = Ie.x + "px", ze.style.top = Ie.y + "px", ze.style.width = Ie.width + "px", void (ze.style.height = Ie.height + "px");
2410
2410
  }), re.current.updateRect());
2411
2411
  }, []), Le = () => {
2412
2412
  const le = [], Ie = i.getMovableSelection();
2413
2413
  Ie.forEach((Ve) => {
2414
- const Fe = B.current.get(Ve);
2415
- Fe && Ie.indexOf(Ve) !== -1 && le.push(Fe);
2414
+ const ze = B.current.get(Ve);
2415
+ ze && Ie.indexOf(Ve) !== -1 && le.push(ze);
2416
2416
  }), D((Ve) => ot.isEqualArrays(Ve, le) ? Ve : le);
2417
2417
  }, be = ke(null), Ee = ke(null), Xe = pe(() => (Ee.current || (Ee.current = new Promise((le) => {
2418
2418
  be.current = le;
@@ -2450,7 +2450,7 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2450
2450
  }
2451
2451
  }, style: { opacity: Me ? C && s ? 0.7 : void 0 : 0, zIndex: C && s ? Z.getZIndex() + le.length : void 0, pointerEvents: Me ? void 0 : "none", cursor: A && s ? "grabbing" : g || w ? "initial" : "move", boxShadow: !s || A && !C ? void 0 : "1px 1px 2px 2px rgba(0,0,0,.15)" } };
2452
2452
  return f(Ta, { ...k }, `movable-${Z.getUUID()}`);
2453
- }, Ve = de.current, Fe = /* @__PURE__ */ new Map(), Te = [];
2453
+ }, Ve = de.current, ze = /* @__PURE__ */ new Map(), Te = [];
2454
2454
  for (let Z = 0; Z < le.length; Z++) {
2455
2455
  const N = le[Z];
2456
2456
  if (N.isClosed()) continue;
@@ -2468,20 +2468,20 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2468
2468
  s.shown = !1;
2469
2469
  const k = ++s.visibilityRequestId, b = await Promise.resolve(s.onHide?.(Me));
2470
2470
  k === s.visibilityRequestId && b !== !1 && (s.shown = !1, de.current.delete(Me), me());
2471
- }, visibilityRequestId: 0 }), j.frame = Ie(N, j, Z, !0), Te.push(j.frame), j.doShow(N, j), Ve.delete(N), Fe.set(N, j);
2471
+ }, visibilityRequestId: 0 }), j.frame = Ie(N, j, Z, !0), Te.push(j.frame), j.doShow(N, j), Ve.delete(N), ze.set(N, j);
2472
2472
  }
2473
2473
  const I = [];
2474
2474
  return i.getMovableSelection().forEach((Z) => {
2475
2475
  const N = Ve.get(Z);
2476
- N && (N.frame = Ie(Z, N, -1, !1), I.push(N.frame), Ve.delete(Z), Fe.set(Z, N));
2476
+ N && (N.frame = Ie(Z, N, -1, !1), I.push(N.frame), Ve.delete(Z), ze.set(Z, N));
2477
2477
  }), Ve.forEach((Z, N) => {
2478
- Z.frame = Ie(N, Z, -1, !1), I.push(Z.frame), Z.doHide(N, Z), Ve.delete(N), Fe.set(N, Z);
2479
- }), de.current = Fe, Le(), [...I, ...Te];
2478
+ Z.frame = Ie(N, Z, -1, !1), I.push(Z.frame), Z.doHide(N, Z), Ve.delete(N), ze.set(N, Z);
2479
+ }), de.current = ze, Le(), [...I, ...Te];
2480
2480
  }, [Ae, n, r, g, w, h, C, A]), ae = oe((le, Ie) => {
2481
2481
  const Ve = `${Ie} ${u.length === 1 ? ir.capitalize(H.current?.get(u[0]).getContent().getType()) : "Drawings"}`;
2482
2482
  J.current && (console.warn(`Transaction ${J.current.getDescription()} is being replaced by ${Ve}`), J.current.rollback(), J.current = null), J.current = d.beginCommit({ description: Ve }), q.current.clear();
2483
- for (let Fe = 0; Fe < u.length; Fe++) {
2484
- const Te = u[Fe], I = H.current?.get(Te);
2483
+ for (let ze = 0; ze < u.length; ze++) {
2484
+ const Te = u[ze], I = H.current?.get(Te);
2485
2485
  I ? q.current.set(Te, { movable: I, startBounds: n.toViewBounds(I.getBounds()) }) : console.warn("invalid element", I);
2486
2486
  }
2487
2487
  }, [d, n, u]), Be = Qe(() => {
@@ -2504,12 +2504,12 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2504
2504
  ve(() => {
2505
2505
  if (g || u.length === 0 || je.current || m.current) return;
2506
2506
  if (We.current) return void requestAnimationFrame(() => {
2507
- re.current && z.current && re.current.refTargets.length > 0 && (je.current = !0, be.current?.(!0)), D([...u]);
2507
+ re.current && F.current && re.current.refTargets.length > 0 && (je.current = !0, be.current?.(!0)), D([...u]);
2508
2508
  });
2509
2509
  m.current = !0;
2510
2510
  const le = et.lazy(async () => {
2511
2511
  try {
2512
- const Ie = await import("./DBMJUpDmXGW92Lrn.mjs");
2512
+ const Ie = await import("./BheNCONU5wwmRL3A.mjs");
2513
2513
  return m.current = !1, We.current = !0, D([...u]), Ie;
2514
2514
  } catch (Ie) {
2515
2515
  return console.warn(Ie), be.current?.(!1), null;
@@ -2523,7 +2523,7 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2523
2523
  if (!J.current) return le.stopDrag(), void me();
2524
2524
  W(!0);
2525
2525
  const Ie = le.direction[0] !== 0 && le.direction[1] !== 0;
2526
- let Ve = 0, Fe = 0;
2526
+ let Ve = 0, ze = 0;
2527
2527
  for (let Te = 0; Te < u.length; Te++) {
2528
2528
  const I = u[Te], Z = q.current.get(I), N = H.current.get(I);
2529
2529
  if (!Z || !N) {
@@ -2531,7 +2531,7 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2531
2531
  continue;
2532
2532
  }
2533
2533
  let j = le.dist[0], Me = le.dist[1], s = le.drag.dist[0], k = le.drag.dist[1], b = Z.startBounds.width, p = Z.startBounds.height;
2534
- Te === 0 ? (Ve = b, Fe = p) : (j *= b / Ve, s *= b / Ve, Me *= p / Fe, k *= p / Fe);
2534
+ Te === 0 ? (Ve = b, ze = p) : (j *= b / Ve, s *= b / Ve, Me *= p / ze, k *= p / ze);
2535
2535
  const v = { ...Z.startBounds };
2536
2536
  if (v.width = Math.max(0, b + j), v.height = Math.max(0, p + Me), le.direction[0] === -1 && (v.width = Math.max(0, Math.min(Z.startBounds.x + b, b - s))), le.direction[1] === -1 && (v.height = Math.max(0, Math.min(Z.startBounds.y + p, p - k))), Ie && (N.isLockAspectRatio() || le.inputEvent?.shiftKey)) {
2537
2537
  const T = b / p, _ = v.width / v.height;
@@ -2547,19 +2547,19 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2547
2547
  if (!J.current) return le.stopDrag(), void me();
2548
2548
  L(!0);
2549
2549
  for (let Ie = 0; Ie < u.length; Ie++) {
2550
- const Ve = u[Ie], Fe = q.current.get(Ve);
2551
- Fe ? Fe.movable.setBounds(n.toAbsoluteBounds({ ...Fe.startBounds, x: Fe.startBounds.x + le.translate[0], y: Fe.startBounds.y + le.translate[1] })) : console.warn("invalid element");
2550
+ const Ve = u[Ie], ze = q.current.get(Ve);
2551
+ ze ? ze.movable.setBounds(n.toAbsoluteBounds({ ...ze.startBounds, x: ze.startBounds.x + le.translate[0], y: ze.startBounds.y + le.translate[1] })) : console.warn("invalid element");
2552
2552
  }
2553
2553
  }, onDragEnd: (le) => {
2554
2554
  }, onMouseUp: (le) => {
2555
2555
  } }) }), [Ae, Re, u, n, g, w, h, C, A]);
2556
- return f("div", { className: xt(a, "movable-area", Ma), style: { width: $.width, height: $.height, ...R, position: "absolute", overflow: "hidden", willChange: "transform" }, ref: Rn([Ne, fe]), ...E, children: f("div", { className: "movable-scroll", style: { position: "absolute", cursor: "initial", left: 0, top: 0, width: $.width, height: $.height }, ...E, children: nt("div", { ref: z, style: { position: "absolute", pointerEvents: "auto" }, onFocus: (le) => {
2557
- F?.(), Pe(!0);
2556
+ return f("div", { className: xt(a, "movable-area", Ma), style: { width: $.width, height: $.height, ...R, position: "absolute", overflow: "hidden", willChange: "transform" }, ref: Rn([Ne, fe]), ...E, children: f("div", { className: "movable-scroll", style: { position: "absolute", cursor: "initial", left: 0, top: 0, width: $.width, height: $.height }, ...E, children: nt("div", { ref: F, style: { position: "absolute", pointerEvents: "auto" }, onFocus: (le) => {
2557
+ z?.(), Pe(!0);
2558
2558
  }, onBlur: (le) => {
2559
2559
  Pe(!1);
2560
2560
  }, onKeyDownCapture: (le) => {
2561
2561
  if (le.isDefaultPrevented()) return;
2562
- const Ie = le.nativeEvent.ctrlKey, Ve = le.nativeEvent.altKey, Fe = le.nativeEvent.shiftKey;
2562
+ const Ie = le.nativeEvent.ctrlKey, Ve = le.nativeEvent.altKey, ze = le.nativeEvent.shiftKey;
2563
2563
  if (le.which === Nt.Escape) {
2564
2564
  const j = i.getMovableSelection();
2565
2565
  let Me = [...j];
@@ -2596,7 +2596,7 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2596
2596
  else if (le.key === "a" && Ie) {
2597
2597
  const j = i.getMovableSelection();
2598
2598
  i.selectMovables(o.getItems(), !0), i.selectMovables(j, !0), le.preventDefault();
2599
- } else le.key === "ArrowLeft" ? (Fe ? Z(Te, !1) : Ve ? I(-10) : N({ x: Ie ? -10 : -1 }), le.preventDefault()) : le.key === "ArrowRight" ? (Fe ? Z(Te, !0) : Ve ? I(10) : N({ x: Ie ? 10 : 1 }), le.preventDefault()) : le.key === "ArrowUp" ? (Fe ? Z(Te, !0) : N({ y: Ie ? -10 : -1 }), le.preventDefault()) : le.key === "ArrowDown" && (Fe ? Z(Te, !1) : N({ y: Ie ? 10 : 1 }), le.preventDefault());
2599
+ } else le.key === "ArrowLeft" ? (ze ? Z(Te, !1) : Ve ? I(-10) : N({ x: Ie ? -10 : -1 }), le.preventDefault()) : le.key === "ArrowRight" ? (ze ? Z(Te, !0) : Ve ? I(10) : N({ x: Ie ? 10 : 1 }), le.preventDefault()) : le.key === "ArrowUp" ? (ze ? Z(Te, !0) : N({ y: Ie ? -10 : -1 }), le.preventDefault()) : le.key === "ArrowDown" && (ze ? Z(Te, !1) : N({ y: Ie ? 10 : 1 }), le.preventDefault());
2600
2600
  }, children: [he, dt] }) }) });
2601
2601
  })), bn = (e) => {
2602
2602
  let t = Number.MAX_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER, o = 0, i = 0;
@@ -2628,11 +2628,11 @@ The content is not applied.`, icon: "PasteFormats" }), new K("pasteFormulas", u,
2628
2628
  function Aa(e) {
2629
2629
  const { movables: t, movablesView: n, transactional: o, commands: i, target: r, onRepeatCommandChange: d } = e, c = Yn(), l = mn();
2630
2630
  ke(l.getMode()).current = l.getMode();
2631
- const g = oe(async (x, F, u = null, D = !0) => {
2631
+ const g = oe(async (x, z, u = null, D = !0) => {
2632
2632
  const C = async () => {
2633
2633
  const W = await Promise.resolve(c?.showBusy?.(x.label()));
2634
2634
  try {
2635
- await F();
2635
+ await z();
2636
2636
  const A = u ?? x?.label?.();
2637
2637
  if (d) {
2638
2638
  let L = null;
@@ -2644,7 +2644,7 @@ function Aa(e) {
2644
2644
  }
2645
2645
  };
2646
2646
  await C();
2647
- }, [d, c]), [w, h] = un((x) => x + 1, 0), a = oe((x, F, u) => {
2647
+ }, [d, c]), [w, h] = un((x) => x + 1, 0), a = oe((x, z, u) => {
2648
2648
  if (!n) return;
2649
2649
  const D = n.getMovableSelection();
2650
2650
  if (D.length === 0) return;
@@ -2662,7 +2662,7 @@ function Aa(e) {
2662
2662
  const U = u?.(L);
2663
2663
  for (let de = 0; de < L.length; de++) {
2664
2664
  const H = L[de];
2665
- F(H, U);
2665
+ z(H, U);
2666
2666
  }
2667
2667
  A?.commit();
2668
2668
  });
@@ -2699,36 +2699,36 @@ function Aa(e) {
2699
2699
  x.setAnchorType(cn.Type.Absolute);
2700
2700
  });
2701
2701
  }), new K("formatDrawAlignLeft", r, { label: "Align Left", description: "Align the selected drawings to the left.", icon: "DrawAlignLeft" }, function() {
2702
- a(this, (x, F) => {
2703
- x.setBounds({ x: F.x });
2702
+ a(this, (x, z) => {
2703
+ x.setBounds({ x: z.x });
2704
2704
  }, bn);
2705
2705
  }), new K("formatDrawAlignCenter", r, { label: "Align Center", description: "Align the selected drawings vertically relative to each other.", icon: "DrawAlignCenter" }, function() {
2706
- a(this, (x, F) => {
2707
- x.setBounds({ x: (F.width - x.getBounds().width) / 2 + F.x });
2706
+ a(this, (x, z) => {
2707
+ x.setBounds({ x: (z.width - x.getBounds().width) / 2 + z.x });
2708
2708
  }, bn);
2709
2709
  }), new K("formatDrawAlignRight", r, { label: "Align Right", description: "Align the selected drawings to the right.", icon: "DrawAlignRight" }, function() {
2710
- a(this, (x, F) => {
2711
- x.setBounds({ x: F.width - x.getBounds().width + F.x });
2710
+ a(this, (x, z) => {
2711
+ x.setBounds({ x: z.width - x.getBounds().width + z.x });
2712
2712
  }, bn);
2713
2713
  }), new K("formatDrawAlignTop", r, { label: "Align Top", description: "Align the selected drawings to the top.", icon: "DrawAlignTop" }, function() {
2714
- a(this, (x, F) => {
2715
- x.setBounds({ y: F.y });
2714
+ a(this, (x, z) => {
2715
+ x.setBounds({ y: z.y });
2716
2716
  }, bn);
2717
2717
  }), new K("formatDrawAlignMiddle", r, { label: "Align Middle", description: "Align the selected drawings horizontally relative to each other.", icon: "DrawAlignMiddle" }, function() {
2718
- a(this, (x, F) => {
2719
- x.setBounds({ y: (F.height - x.getBounds().height) / 2 + F.y });
2718
+ a(this, (x, z) => {
2719
+ x.setBounds({ y: (z.height - x.getBounds().height) / 2 + z.y });
2720
2720
  }, bn);
2721
2721
  }), new K("formatDrawAlignBottom", r, { label: "Align Bottom", description: "Align the selected drawings to the bottom.", icon: "DrawAlignBottom" }, function() {
2722
- a(this, (x, F) => {
2723
- x.setBounds({ y: F.height - x.getBounds().height + F.y });
2722
+ a(this, (x, z) => {
2723
+ x.setBounds({ y: z.height - x.getBounds().height + z.y });
2724
2724
  }, bn);
2725
2725
  }), new K("formatDrawDistributeHorz", r, { label: "Distribute Horizontally", description: "Distribute the selected drawings horizontally with equal spacing between each.", icon: "DrawDistributeHorz" }, function() {
2726
- a(this, (x, F) => {
2727
- x.setBounds(F.get(x));
2726
+ a(this, (x, z) => {
2727
+ x.setBounds(z.get(x));
2728
2728
  }, (x) => Pr(x));
2729
2729
  }), new K("formatDrawDistributeVert", r, { label: "Distribute Vertically", description: "Distribute the selected drawings vertically with equal spacing between each.", icon: "DrawDistributeVert" }, function() {
2730
- a(this, (x, F) => {
2731
- x.setBounds(F.get(x));
2730
+ a(this, (x, z) => {
2731
+ x.setBounds(z.get(x));
2732
2732
  }, (x) => Pr(x, !1));
2733
2733
  }), new K("formatDrawFlipHorz", r, { label: "Flip Horizontally", description: "Flip the selected drawings horizontally." }), new K("formatDrawFlipVert", r, { label: "Flip Vertically", description: "Flip the selected drawings vertically." }), new K("formatDrawGroup", r, { label: "Group", description: "Group the selected drawings into a single drawing.", icon: "DrawGroup" }), new K("formatDrawUngroup", r, { label: "Ungroup", description: "Break the group of a drawing into individual drawings.", icon: "DrawUngroup" }), new K("formatDrawSwapShapes", r, { label: "Swap Shapes", description: "Swap the positions of the swap." }), new K("formatDrawSwapShapesHorz", r, { label: "Swap Shapes Horizontally", description: "Swap the positions of the swap horizontally." }), new K("formatDrawSwapShapesVert", r, { label: "Swap Shapes Vertically", description: "Swap the positions of the swap vertically." })], [n, R]);
2734
2734
  ve(() => {
@@ -2750,11 +2750,11 @@ function Aa(e) {
2750
2750
  } }), ve(() => {
2751
2751
  const x = { disabled: M };
2752
2752
  O.getCommand("formatAnchorTypeTwoCell").update(x), O.getCommand("formatAnchorTypeOneCell").update(x), O.getCommand("formatAnchorTypeAbsolute").update(x), O.getCommand("toggleLockAspectRatio").update(x);
2753
- const F = t.getCount(), u = n.getMovableSelection(), D = M || F <= 1 || u.length === 0;
2753
+ const z = t.getCount(), u = n.getMovableSelection(), D = M || z <= 1 || u.length === 0;
2754
2754
  let C = { disabled: D }, W = C;
2755
2755
  if (!D && u.length === 1) {
2756
2756
  const U = u[0];
2757
- U.getZIndex() === 0 && (C = { disabled: !0 }), U.getZIndex() === F - 1 && (W = { disabled: !0 });
2757
+ U.getZIndex() === 0 && (C = { disabled: !0 }), U.getZIndex() === z - 1 && (W = { disabled: !0 });
2758
2758
  }
2759
2759
  O.getCommand("moveToFront").update(W), O.getCommand("moveForward").update(W), O.getCommand("moveToBack").update(C), O.getCommand("moveBackward").update(C);
2760
2760
  const A = { disabled: M || u.length <= 1 };
@@ -2783,47 +2783,47 @@ const Sc = mt(vt((e, t) => {
2783
2783
  Bt(() => {
2784
2784
  if (y === null) return $(null), void x(null);
2785
2785
  const S = () => {
2786
- const z = o.getRange(y).getCell(), J = z.getStyle();
2786
+ const F = o.getRange(y).getCell(), J = F.getStyle();
2787
2787
  let re, Ae = J.getFill()?.toCSS(i.body.darkMode);
2788
- Ae.background !== "none" && Ae.background !== "transparent" || (Ae = o.getStyles().getNormal().getFill().toCSS(i.body.darkMode)), Ae.background !== "none" && Ae.background !== "transparent" || (Ae = { background: i.body.fill }), $({ style: Ae }), z && !z.getFormula() && (re = z?.getRenderHorizontalAlignment()), x(re ?? bl.Left);
2788
+ Ae.background !== "none" && Ae.background !== "transparent" || (Ae = o.getStyles().getNormal().getFill().toCSS(i.body.darkMode)), Ae.background !== "none" && Ae.background !== "transparent" || (Ae = { background: i.body.fill }), $({ style: Ae }), F && !F.getFormula() && (re = F?.getRenderHorizontalAlignment()), x(re ?? bl.Left);
2789
2789
  };
2790
2790
  return S(), o.getRange(y).addListener(() => {
2791
2791
  S();
2792
2792
  });
2793
2793
  }, [o, y, i?.body]);
2794
- const F = oe(() => {
2794
+ const z = oe(() => {
2795
2795
  let S = a.editState.dirty ?? "";
2796
2796
  if (a.editState.dirty !== void 0) {
2797
- const z = ir.clampString(S);
2797
+ const F = ir.clampString(S);
2798
2798
  try {
2799
- const J = a.sheet.getRange(a.coords), re = `Typing '${z}' into ${J.toString()}`;
2799
+ const J = a.sheet.getRange(a.coords), re = `Typing '${F}' into ${J.toString()}`;
2800
2800
  return J.setValue(S, { description: re, autoFit: !0 }), M(null), R(null), g.setMode(null), c(null), !0;
2801
2801
  } catch (J) {
2802
- throw Rl.error(new Error(`Unable to enter '${z}'.`, { cause: J })), J;
2802
+ throw Rl.error(new Error(`Unable to enter '${F}'.`, { cause: J })), J;
2803
2803
  }
2804
2804
  }
2805
2805
  }, [o, a]), u = oe((S) => o.getRange(S).getCell().getExtrusions() ?? St.cellToRange(S), [o]), D = oe((S) => {
2806
- let z = xe.Orientation.Row, J = !1;
2807
- S !== xe.Direction.Up && S !== xe.Direction.Down || (z = xe.Orientation.Column), S !== xe.Direction.Left && S !== xe.Direction.Up || (J = !0), o.getSelection().traverse(z, J);
2808
- }, [o]), C = Qe((S, z) => {
2809
- if (r) return r(S, z);
2806
+ let F = xe.Orientation.Row, J = !1;
2807
+ S !== xe.Direction.Up && S !== xe.Direction.Down || (F = xe.Orientation.Column), S !== xe.Direction.Left && S !== xe.Direction.Up || (J = !0), o.getSelection().traverse(F, J);
2808
+ }, [o]), C = Qe((S, F) => {
2809
+ if (r) return r(S, F);
2810
2810
  if (!o) return null;
2811
2811
  const { ref: J, ...re } = S;
2812
- return f(Hl, { ref: J, ...re, sheet: o, bodyStyle: i?.body, activeCoords: z, commands: l, onChangeEdit: (Ae) => {
2813
- const me = { sheet: o, coords: z, editState: Ae };
2812
+ return f(Hl, { ref: J, ...re, sheet: o, bodyStyle: i?.body, activeCoords: F, commands: l, onChangeEdit: (Ae) => {
2813
+ const me = { sheet: o, coords: F, editState: Ae };
2814
2814
  g.setMode((Oe) => ({ ...Oe, description: me.editState.editMode ? "Edit" : "Enter", args: { ...Oe?.args, stateAndCoords: me } }));
2815
2815
  }, editState: a.editState });
2816
2816
  }, [o, E, r, a, y]), { overlay: W, startEdit: A, submitEdit: L, cancelEdit: U, onKeyboardEventNative: de, onPointerEventNative: H } = Ll({ view: n, activeCoords: w, getCellEditor: C, canEdit: () => {
2817
2817
  const S = o.getProtection();
2818
2818
  if (S.isReadOnly()) return !1;
2819
- const z = S.isLocked();
2820
- return z && d(), !z;
2819
+ const F = S.isLocked();
2820
+ return F && d(), !F;
2821
2821
  }, onBeforeStartEdit: (S) => {
2822
- const z = Vl(() => o.getRange(S).getCell()), J = { sheet: o, coords: S, editState: Object.freeze(z) };
2822
+ const F = Vl(() => o.getRange(S).getCell()), J = { sheet: o, coords: S, editState: Object.freeze(F) };
2823
2823
  g.setMode({ key: "edit", args: { stateAndCoords: J } }), R(J);
2824
2824
  }, onStartEdit: (S) => {
2825
2825
  M(S), c(S);
2826
- }, onSubmitEdit: F, onCancelEdit: (S) => {
2826
+ }, onSubmitEdit: z, onCancelEdit: (S) => {
2827
2827
  M(null), R(null), g.setMode(null), c(null);
2828
2828
  }, onDoneEdit: (S) => {
2829
2829
  g.setMode(null);
@@ -2844,10 +2844,10 @@ const Sc = mt(vt((e, t) => {
2844
2844
  S.removeEventListener("pointerdown", B), S.removeEventListener("dblclick", q), S.removeEventListener("keydown", V);
2845
2845
  };
2846
2846
  }, [n?.getStage()]), ve(() => {
2847
- const S = g.getMode(), z = S?.key;
2848
- z === "edit" || z === "enter" ? a ? S.args?.cancel ? U() : S.args?.submit ? L() : R(S.args?.stateAndCoords) : A(S.args?.start) : y && U();
2847
+ const S = g.getMode(), F = S?.key;
2848
+ F === "edit" || F === "enter" ? a ? S.args?.cancel ? U() : S.args?.submit ? L() : R(S.args?.stateAndCoords) : A(S.args?.start) : y && U();
2849
2849
  }, [g]), W(n, t);
2850
- })), Ri = "white", Ti = "black", za = `url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='m 14.5,8 -5.6875,5.6875 v -3.25 H 1.5 v -4.875 h 7.3125 v -3.25 z' stroke='${Ti}' fill='${Ri}'/%3E%3C/g%3E%3C/svg%3E%0A") 15 8, pointer`, Fa = `url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='M 13.24564,12.979958 H 5.2023009 L 7.500398,10.681861 2.3296796,5.5111425 5.7768252,2.0639969 10.947543,7.2347153 13.24564,4.9366182 Z' stroke='${Ti}' fill='${Ri}'/%3E%3C/g%3E%3C/svg%3E%0A") 12 12, pointer`, Na = mt(vt((e, t) => {
2850
+ })), Ri = "white", Ti = "black", Fa = `url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='m 14.5,8 -5.6875,5.6875 v -3.25 H 1.5 v -4.875 h 7.3125 v -3.25 z' stroke='${Ti}' fill='${Ri}'/%3E%3C/g%3E%3C/svg%3E%0A") 15 8, pointer`, za = `url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='M 13.24564,12.979958 H 5.2023009 L 7.500398,10.681861 2.3296796,5.5111425 5.7768252,2.0639969 10.947543,7.2347153 13.24564,4.9366182 Z' stroke='${Ti}' fill='${Ri}'/%3E%3C/g%3E%3C/svg%3E%0A") 12 12, pointer`, Na = mt(vt((e, t) => {
2851
2851
  const { view: n, sheet: o } = e, [i, r] = et.useState(o.getTables().getCount() > 0), [d, c] = et.useState(null), [l, g] = et.useState(null), [w, h] = et.useState(null), [a, R] = et.useState(null), y = oe(() => {
2852
2852
  if (o.getTables().getCount() > 0) {
2853
2853
  r(!0);
@@ -2911,7 +2911,7 @@ const Sc = mt(vt((e, t) => {
2911
2911
  u.removeEventListener("mousemove", x), u.removeEventListener("mouseleave", x);
2912
2912
  };
2913
2913
  }, [d, n?.getStage()]), !n || !d || d.length === 0) return null;
2914
- const F = [];
2914
+ const z = [];
2915
2915
  for (let u = 0; u < d.length; u++) {
2916
2916
  const D = d[u];
2917
2917
  if (D.isClosed()) continue;
@@ -2925,9 +2925,9 @@ const Sc = mt(vt((e, t) => {
2925
2925
  }
2926
2926
  U || (U = "var(--sxl-app-color-shadow, rgba(0,0,0,.15))");
2927
2927
  }
2928
- F.push(f("div", { style: { position: "absolute", left: L.x, top: L.y, width: Math.min(16, L.width), height: L.height, pointerEvents: "all", cursor: za }, onMouseDown: E }, `table-select-row-${D.getName()}`)), F.push(f("div", { style: { position: "absolute", left: L.x, top: L.y, width: Math.min(16, L.width), height: Math.min(16, L.height), pointerEvents: "all", cursor: Fa }, onMouseDown: M }, `table-select-${D.getName()}`)), F.push(f(fi, { x: L.x, y: L.y, width: L.width, height: L.height, range: A, strokeWidth: W ? 0.5 : 0, stroke: U ?? "var(--sxl-app-color-grey, grey)", style: { willChange: "box-shadow", transition: "box-shadow 80ms ease-in-out", boxShadow: C ? `${U} 0px 0px 1px 1px` : void 0 } }, `table-outline-${D.getName()}`));
2928
+ z.push(f("div", { style: { position: "absolute", left: L.x, top: L.y, width: Math.min(16, L.width), height: L.height, pointerEvents: "all", cursor: Fa }, onMouseDown: E }, `table-select-row-${D.getName()}`)), z.push(f("div", { style: { position: "absolute", left: L.x, top: L.y, width: Math.min(16, L.width), height: Math.min(16, L.height), pointerEvents: "all", cursor: za }, onMouseDown: M }, `table-select-${D.getName()}`)), z.push(f(fi, { x: L.x, y: L.y, width: L.width, height: L.height, range: A, strokeWidth: W ? 0.5 : 0, stroke: U ?? "var(--sxl-app-color-grey, grey)", style: { willChange: "box-shadow", transition: "box-shadow 80ms ease-in-out", boxShadow: C ? `${U} 0px 0px 1px 1px` : void 0 } }, `table-outline-${D.getName()}`));
2929
2929
  }
2930
- return F;
2930
+ return z;
2931
2931
  })), La = mt(vt((e, t) => {
2932
2932
  const { view: n, sheet: o, animationTime: i = 60 } = e, [r, d] = et.useState(null), [c, l] = et.useState(null), g = et.useRef(null), w = oe(() => {
2933
2933
  const E = o.getSelectedCell(), $ = E.getSpill()?.getCoords() ?? null;
@@ -2955,11 +2955,11 @@ const Sc = mt(vt((e, t) => {
2955
2955
  const n = { ...e }, o = t?.getNormal().getFont(), i = o?.toCSS(), r = { text: { fontFamily: i?.fontFamily, fontSize: o?.getSize() } }, d = n.body = ot.mergeContentful(e.body, r);
2956
2956
  return n.body = ot.mergeContentful({ fill: "#fff", strokeFill: "#dad8d6", strokeWidth: 0.5, text: { fontWeight: "400", fontStyle: "normal", fill: "#040404" } }, d), n.buttonSurface = ot.mergeContentful({ fill: "#fff", text: { fill: "black" }, edgeStrokeFill: "black" }, n.buttonSurface), n.selection = { fill: "rgba(16, 124, 65, 0.1)", strokeFill: "#217346", strokeWidth: 2, ...e.selection }, n.selectionInactive = { ...n.selection, fill: "rgba(16, 124, 65, 0.1)", strokeFill: "#dad8d6", ...e.selectionInactive }, n.selectionRemove = { ...n.selection, fill: "rgba(200, 0, 0, 0.1)", strokeFill: "rgba(200, 0, 0, 1)", ...e.selectionRemove }, n.headerSelection = { ...n.selection, ...e.headerSelection }, n.headerSelectionInactive = { ...n.selectionInactive, ...e.headerSelectionInactive }, n.header = ot.mergeContentful(n.body, { edgeStrokeFill: "rgb(171, 171, 171)", fill: "#f0f0f0", strokeShadow: void 0, edgeStrokeWidth: 1 }, e.header), n.header = ot.mergeContentful(n.header, r), n.headerSelect = ot.mergeContentful(n.header, { fill: "rgba(16, 124, 65, 0.1)", text: { fill: n.headerSelection.strokeFill, fontWeight: "700" } }, e.headerSelect), n.headerSelect = ot.mergeContentful(n.headerSelect, r), n.headerSelectAll = ot.mergeContentful(n.headerSelect, {}, e.headerSelectAll), n.headerSelectAll = ot.mergeContentful(n.headerSelectAll, r), n;
2957
2957
  }, Oa = { fireOnModelChange: !1 }, Br = {}, Ba = mt(vt((e, t) => {
2958
- const { sheet: n, gridStyle: o = Br, headersStyle: i = Br, onSheetContextMenu: r, showColumnHeaders: d, columnHeaderProps: c, showRowHeaders: l, rowHeaderProps: g, showScrollbars: w = !0, scrollPaneProps: h, onViewportChange: a, commands: R, onRepeatCommandChange: y, onMoveCell: M, overlays: E, renderMovable: $, viewportComponent: O, onElementLoad: x, getCellEditor: F, onFocus: u, onBlur: D, style: C = st.EmptyCssProperties, onShowTooltip: W, onShowColumnTooltip: A, onShowRowTooltip: L, onCloseTooltip: U, gridProps: de, cellRenderProps: H, ...B } = e;
2958
+ const { sheet: n, gridStyle: o = Br, headersStyle: i = Br, onSheetContextMenu: r, showColumnHeaders: d, columnHeaderProps: c, showRowHeaders: l, rowHeaderProps: g, showScrollbars: w = !0, scrollPaneProps: h, onViewportChange: a, commands: R, onRepeatCommandChange: y, onMoveCell: M, overlays: E, renderMovable: $, viewportComponent: O, onElementLoad: x, getCellEditor: z, onFocus: u, onBlur: D, style: C = st.EmptyCssProperties, onShowTooltip: W, onShowColumnTooltip: A, onShowRowTooltip: L, onCloseTooltip: U, gridProps: de, cellRenderProps: H, ...B } = e;
2959
2959
  if (et.useEffect(() => {
2960
2960
  si._validate(!0);
2961
2961
  }, []), !n) throw new Error("ISheet must be provided.");
2962
- const [q, V] = et.useReducer((Y) => Y + 1, 0), [S, { width: z, height: J }] = gn(), re = oe(W, [W]), Ae = oe(A, [A]), me = oe(L, [L]), Oe = oe(U, [U]), Le = ke(!1);
2962
+ const [q, V] = et.useReducer((Y) => Y + 1, 0), [S, { width: F, height: J }] = gn(), re = oe(W, [W]), Ae = oe(A, [A]), me = oe(L, [L]), Oe = oe(U, [U]), Le = ke(!1);
2963
2963
  Bt(() => {
2964
2964
  Le.current = !0;
2965
2965
  }, [n]);
@@ -2973,7 +2973,7 @@ const Sc = mt(vt((e, t) => {
2973
2973
  Y = rt.width, De = rt.lineHeight;
2974
2974
  }
2975
2975
  return { width: Math.round(Y + 5), height: Math.round(De + 3) };
2976
- }, [Re, Ee?.header.text, n]), We = Ne ? ae * m.width : ce.edgeStrokeWidth, je = fe ? ae * m.height : ce.edgeStrokeWidth, dt = Math.max(z, (n?.getColumnHeaders().getDefaultSize() ?? m.width) + We + 1), le = Math.max(J, (n?.getRowHeaders().getDefaultSize() ?? m.height) + je + 1), Ie = ke(/* @__PURE__ */ new Map()), Ve = ke(null), Fe = () => ({ getColOffset: (Y) => n.getColumnHeaders().findOffset(Y), getColIndex: (Y) => n.getColumnHeaders().findIndex(Y), getRowOffset: (Y) => n.getRowHeaders().findOffset(Y), getRowIndex: (Y) => n.getRowHeaders().findIndex(Y) }), [Te, I] = ge(() => Fe()), [Z, N] = ge(!1), [j, Me] = ge(null), s = !0, k = Ee.selection?.strokeFill, b = Qe(() => Gt.current, []), [p, v] = ge(), T = oe((Y) => {
2976
+ }, [Re, Ee?.header.text, n]), We = Ne ? ae * m.width : ce.edgeStrokeWidth, je = fe ? ae * m.height : ce.edgeStrokeWidth, dt = Math.max(F, (n?.getColumnHeaders().getDefaultSize() ?? m.width) + We + 1), le = Math.max(J, (n?.getRowHeaders().getDefaultSize() ?? m.height) + je + 1), Ie = ke(/* @__PURE__ */ new Map()), Ve = ke(null), ze = () => ({ getColOffset: (Y) => n.getColumnHeaders().findOffset(Y), getColIndex: (Y) => n.getColumnHeaders().findIndex(Y), getRowOffset: (Y) => n.getRowHeaders().findOffset(Y), getRowIndex: (Y) => n.getRowHeaders().findIndex(Y) }), [Te, I] = ge(() => ze()), [Z, N] = ge(!1), [j, Me] = ge(null), s = !0, k = Ee.selection?.strokeFill, b = Qe(() => Gt.current, []), [p, v] = ge(), T = oe((Y) => {
2977
2977
  v(Y);
2978
2978
  const De = n ? n.getView() : null;
2979
2979
  De && De.setTopLeft(Y ? { left: Y.left, top: Y.top } : null), a?.(Y);
@@ -2995,9 +2995,9 @@ const Sc = mt(vt((e, t) => {
2995
2995
  if (!Y || Y.coords.colIndex === 0 && Y.coords.rowIndex === 0) return null;
2996
2996
  const De = {};
2997
2997
  return Y.coords.colIndex > 0 && (De[qt.Left] = { index: Y.coords.colIndex, scrollOffset: Y.topLeft.left }), Y.coords.rowIndex > 0 && (De[qt.Top] = { index: Y.coords.rowIndex, scrollOffset: Y.topLeft.top }), De;
2998
- }, [qe, we] = ge(() => X(n.getView().getFreezePanes())), Se = mn(), Ke = Qe(() => P.current, []), ze = oe((Y) => {
2998
+ }, [qe, we] = ge(() => X(n.getView().getFreezePanes())), Se = mn(), Ke = Qe(() => P.current, []), Fe = oe((Y) => {
2999
2999
  Se.setMode((De) => De?.key === "edit" ? { ...De, args: { ...De.args } } : { key: "edit", args: { stateAndCoords: null, start: Y } });
3000
- }, []), He = oe(() => p, [p]), $e = la({ sheet: n, commands: R, target: Ke, onRepeatCommandChange: y, bodyStyle: Q, onStartEdit: ze, getViewport: He }), [tt, Je] = ge(n.getSelection().isEntire()), [gt, Ue] = ge(ee?.getMovableSelection().length > 0), lt = j !== null || gt, kt = null, [Ht, bt] = ge(!1);
3000
+ }, []), He = oe(() => p, [p]), $e = la({ sheet: n, commands: R, target: Ke, onRepeatCommandChange: y, bodyStyle: Q, onStartEdit: Fe, getViewport: He }), [tt, Je] = ge(n.getSelection().isEntire()), [gt, Ue] = ge(ee?.getMovableSelection().length > 0), lt = j !== null || gt, kt = null, [Ht, bt] = ge(!1);
3001
3001
  ve(() => {
3002
3002
  bt(!1);
3003
3003
  }, [n.getProtection()]);
@@ -3006,7 +3006,7 @@ const Sc = mt(vt((e, t) => {
3006
3006
  }, [it, Ht]), It = pe(() => {
3007
3007
  const Y = Se.getMode();
3008
3008
  return Y?.cursor ? Y.cursor : null;
3009
- }, [kt, Se]), [At, zt] = ge(null), Ct = ke(!1), [Dn, Yt] = ge([]), on = ke(null), [rn, An] = ge(_n.EmptyTopLeft), [Xt, eo] = ge(_n.EmptyTopLeft);
3009
+ }, [kt, Se]), [At, Ft] = ge(null), Ct = ke(!1), [Dn, Yt] = ge([]), on = ke(null), [rn, An] = ge(_n.EmptyTopLeft), [Xt, eo] = ge(_n.EmptyTopLeft);
3010
3010
  ve(() => {
3011
3011
  An({ left: te?.left, top: 0 });
3012
3012
  }, [te?.left]), ve(() => {
@@ -3020,10 +3020,10 @@ const Sc = mt(vt((e, t) => {
3020
3020
  } }), ht(n?.getSelection(), { onChange: () => {
3021
3021
  Je(n.getSelection().isEntire());
3022
3022
  } }), ht(n, { onViewChange() {
3023
- he(n.getView()), I(Fe());
3023
+ he(n.getView()), I(ze());
3024
3024
  }, onLayoutChange: () => {
3025
3025
  const Y = n.getEntireRange();
3026
- Ze({ height: Y.getRowCount(), width: Y.getColumnCount() }), I(Fe());
3026
+ Ze({ height: Y.getRowCount(), width: Y.getColumnCount() }), I(ze());
3027
3027
  }, onStyleChange: () => {
3028
3028
  ln();
3029
3029
  }, onMovablesChange: () => {
@@ -3040,11 +3040,11 @@ const Sc = mt(vt((e, t) => {
3040
3040
  Ct.current && Ae?.(Ge);
3041
3041
  });
3042
3042
  }, 32), De = (Ge, at) => {
3043
- Ct.current = !0, zt([(rt) => {
3043
+ Ct.current = !0, Ft([(rt) => {
3044
3044
  if (!rt.toClipBounds(rt.getRangeCoordsBounds({ rowStart: 0, rowEnd: Re.height, colStart: Ge, colEnd: Ge }))) return;
3045
3045
  const yt = rt.getLayout(), wt = Math.max(0, yt.getColOffset(Ge)), ft = rt.getBounds(), Ot = Math.min(ft.x + ft.width, yt.getColOffset(Ge + 1)), Zt = rt.getAnchor();
3046
3046
  if (at !== null && (Zt === qt.Left || Zt === qt.Center || Zt === qt.Right)) {
3047
- const Vo = ot.roundAccurately(at * ot.getDPI(), 0), so = ot.roundAccurately(n?.getColumnWidthAsFontUnit(at / ae), 2).toFixed(2), Wo = "Width: " + (at ? so + " (" + Vo + " pixels)" : "Hidden"), zn = zo.current.getGridElement().getRelativePointFromClient(0, 0), yn = 0 - zn.y, co = 0 - zn.y + je, $o = zn.x - ft.x;
3047
+ const Vo = ot.roundAccurately(at * ot.getDPI(), 0), so = ot.roundAccurately(n?.getColumnWidthAsFontUnit(at / ae), 2).toFixed(2), Wo = "Width: " + (at ? so + " (" + Vo + " pixels)" : "Hidden"), Fn = Fo.current.getGridElement().getRelativePointFromClient(0, 0), yn = 0 - Fn.y, co = 0 - Fn.y + je, $o = Fn.x - ft.x;
3048
3048
  Y({ anchor: { x: wt - $o, y: yn, width: Ot - wt, height: co - yn }, display: Wo });
3049
3049
  }
3050
3050
  const sn = [0, 0, 0, ft.height], Po = { style: { boxShadow: `0.5px 0px 0px 0px ${o?.body?.fill}` }, pathProps: { stroke: k } }, Oo = { x: wt - 1, y: 0, width: 1, height: ft.height }, Bo = { style: { boxShadow: `-0.5px 0px 0px 0px ${o?.body?.fill}` }, pathProps: { stroke: k } }, Ho = { x: Ot - 1, y: 0, width: 1, height: ft.height };
@@ -3061,9 +3061,9 @@ const Sc = mt(vt((e, t) => {
3061
3061
  Pt.current && De(Ge, at);
3062
3062
  }, 360);
3063
3063
  }, onResizeHeadersEnd: (Ge, at, rt) => {
3064
- Ye?.commit({ description: rt }), Ye = null, Pt.current = !1, requestAnimationFrame(() => Oe?.()), Ct.current = !1, zt(null);
3064
+ Ye?.commit({ description: rt }), Ye = null, Pt.current = !1, requestAnimationFrame(() => Oe?.()), Ct.current = !1, Ft(null);
3065
3065
  }, onResizeHeadersUp: (Ge) => {
3066
- Pt.current = !1, requestAnimationFrame(() => Oe?.()), Ct.current = !1, zt(null);
3066
+ Pt.current = !1, requestAnimationFrame(() => Oe?.()), Ct.current = !1, Ft(null);
3067
3067
  }, ...c };
3068
3068
  }, [n, c, je, At]), En = pe(() => {
3069
3069
  const Y = ot.debounce((Ge) => {
@@ -3071,12 +3071,12 @@ const Sc = mt(vt((e, t) => {
3071
3071
  Ct.current && me?.(Ge);
3072
3072
  });
3073
3073
  }, 32), De = (Ge, at) => {
3074
- Ct.current = !0, zt([(rt) => {
3074
+ Ct.current = !0, Ft([(rt) => {
3075
3075
  if (!rt.toClipBounds(rt.getRangeCoordsBounds({ rowStart: Ge, rowEnd: Ge, colStart: 0, colEnd: Re.width }))) return;
3076
3076
  const yt = rt.getLayout(), wt = Math.max(0, yt.getRowOffset(Ge)), ft = rt.getBounds(), Ot = Math.min(ft.y + ft.height, yt.getRowOffset(Ge + 1)), Zt = rt.getAnchor();
3077
3077
  if (at !== null && (Zt === qt.Top || Zt === qt.Center || Zt === qt.Bottom)) {
3078
- const Vo = Math.floor(10 * ot.getDPI()) / 10, so = ot.roundAccurately(at * Vo, 0), Wo = ot.roundAccurately(so / ae / (n?.getRowHeaders().getScaleFactor() * ot.getDPI()), 2).toFixed(2), zn = "Height: " + (at ? Wo + " (" + so + " pixels)" : "Hidden"), yn = wn.current.getGridElement().getRelativePointFromClient(0, 0), co = 0 - yn.x, $o = 0 - yn.x + We, dl = yn.y - ft.y;
3079
- Y({ anchor: { x: co, y: wt - dl, width: $o - co, height: Ot - wt }, display: zn });
3078
+ const Vo = Math.floor(10 * ot.getDPI()) / 10, so = ot.roundAccurately(at * Vo, 0), Wo = ot.roundAccurately(so / ae / (n?.getRowHeaders().getScaleFactor() * ot.getDPI()), 2).toFixed(2), Fn = "Height: " + (at ? Wo + " (" + so + " pixels)" : "Hidden"), yn = wn.current.getGridElement().getRelativePointFromClient(0, 0), co = 0 - yn.x, $o = 0 - yn.x + We, dl = yn.y - ft.y;
3079
+ Y({ anchor: { x: co, y: wt - dl, width: $o - co, height: Ot - wt }, display: Fn });
3080
3080
  }
3081
3081
  const sn = [0, 0, ft.width, 0], Po = { style: { boxShadow: `0px 0.5px 0px 0px ${o?.body?.fill}` }, pathProps: { stroke: k } }, Oo = { x: 0, y: wt - 1, width: ft.width, height: 1 }, Bo = { style: { boxShadow: `0px -0.5px 0px 0px ${o?.body?.fill}` }, pathProps: { stroke: k } }, Ho = { x: 0, y: Ot - 1, width: ft.width, height: 1 };
3082
3082
  return nt(et.Fragment, { children: [f(uo, { linePoints: sn, bounds: Oo, ...Po }), f(uo, { linePoints: sn, bounds: Ho, ...Bo })] }, "resize-dividers");
@@ -3092,9 +3092,9 @@ const Sc = mt(vt((e, t) => {
3092
3092
  Pt.current && De(Ge, at);
3093
3093
  }, 360);
3094
3094
  }, onResizeHeadersEnd: (Ge, at, rt) => {
3095
- Ye?.commit({ description: rt }), Ye = null, Pt.current = !1, requestAnimationFrame(() => Oe?.()), Ct.current = !1, zt(null);
3095
+ Ye?.commit({ description: rt }), Ye = null, Pt.current = !1, requestAnimationFrame(() => Oe?.()), Ct.current = !1, Ft(null);
3096
3096
  }, onResizeHeadersUp: (Ge) => {
3097
- Pt.current = !1, requestAnimationFrame(() => Oe?.()), Ct.current = !1, zt(null);
3097
+ Pt.current = !1, requestAnimationFrame(() => Oe?.()), Ct.current = !1, Ft(null);
3098
3098
  }, ...g };
3099
3099
  }, [n, g, We]), Gt = $t(t, () => {
3100
3100
  const Y = (Ye) => {
@@ -3110,7 +3110,7 @@ const Sc = mt(vt((e, t) => {
3110
3110
  let yt = Ie.current?.get(rt);
3111
3111
  return yt?.current ? (await yt.current.focusMovable(Ye), !0) : (Ve.current = { movable: Ye, anchor: rt }, !0);
3112
3112
  };
3113
- return { getGridElement: () => P.current, getRowHeaderElement: () => wn.current, getColumnHeaderElement: () => zo.current, rowHeaderHeight: () => je, colHeaderWidth: () => We, startEdit: ze, submitEdit: () => {
3113
+ return { getGridElement: () => P.current, getRowHeaderElement: () => wn.current, getColumnHeaderElement: () => Fo.current, rowHeaderHeight: () => je, colHeaderWidth: () => We, startEdit: Fe, submitEdit: () => {
3114
3114
  Se.setMode((Ye) => Ye?.key !== "edit" ? Ye : { key: "edit", args: { stateAndCoords: null, submit: !0 } });
3115
3115
  }, cancelEdit: () => {
3116
3116
  Se.setMode((Ye) => Ye?.key !== "edit" ? Ye : { key: "edit", args: { stateAndCoords: null, cancel: !0 } });
@@ -3134,15 +3134,15 @@ const Sc = mt(vt((e, t) => {
3134
3134
  if (!r) return;
3135
3135
  const De = P.current.getViewFromClient(Y.clientX, Y.clientY)?.getCellCoordsFromClient(Y.clientX, Y.clientY);
3136
3136
  De && (r({ originalEvent: Y, clientX: Y.clientX, clientY: Y.clientY, rowIndex: De.rowIndex, colIndex: De.colIndex }), Y.stopPropagation(), Y.preventDefault());
3137
- }, [r]), Ft = oe((Y) => {
3137
+ }, [r]), zt = oe((Y) => {
3138
3138
  if (!(!Y.shiftKey && (Y.ctrlKey || Y.metaKey))) return;
3139
3139
  const { deltaY: De } = Y;
3140
3140
  return De > 0 ? $e.getCommand("sheetZoomOut")?.execute() : De < 0 && $e.getCommand("sheetZoomIn")?.execute(), De === 0;
3141
3141
  }, [$e]);
3142
3142
  ve(() => {
3143
- Yt(null), on.current = null, Ct.current = !1, zt(null);
3143
+ Yt(null), on.current = null, Ct.current = !1, Ft(null);
3144
3144
  const Y = n?.getView().getTopLeft();
3145
- In(Y), P.current?.scrollTo(Y), se(Y), he(n.getView()), we(X(n.getView().getFreezePanes())), I(Fe()), V();
3145
+ In(Y), P.current?.scrollTo(Y), se(Y), he(n.getView()), we(X(n.getView().getFreezePanes())), I(ze()), V();
3146
3146
  }, [n?.getView()]);
3147
3147
  const oo = Qe((Y, De) => n.getRowHeaders().hiddenHeadersAt(Y, De), [n]), ro = Qe((Y, De) => n.getColumnHeaders().hiddenHeadersAt(Y, De), [n]), an = oe((Y) => {
3148
3148
  const De = Y.getVisibleRangeCoords();
@@ -3171,7 +3171,7 @@ const Sc = mt(vt((e, t) => {
3171
3171
  }, [Se]), ao = oe(async (Y) => {
3172
3172
  const De = Se.getMode();
3173
3173
  return Y.keyCode === Nt.Escape && De ? (Y.preventDefault(), void Se.setMode(null)) : Y.keyCode === Nt.Enter && lo ? (Y.preventDefault(), await $e?.getCommand("paste")?.execute(), void Se.setMode(null)) : void $e?.dispatchToFocusedCommand(Y);
3174
- }, [$e, Se]), wn = ke(null), nl = pe(() => f("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${je + 1}px`, width: `${We + ce.edgeStrokeWidth}px`, minWidth: `${We + ce.edgeStrokeWidth}px`, borderRight: `solid ${ce.edgeStrokeWidth}px ${ce.edgeStrokeFill}`, height: `calc(100% - ${je}px)`, boxSizing: "border-box", zIndex: "2" }, children: f(Nr, { ref: wn, sheetElement: Gt.current, gridRef: P, freezeStart: qe?.[qt.Top], oppositeSize: We, containerWidth: We, containerHeight: le, sheetHeader: n.getRowHeaders(), gridStyle: Xe, verticalPadding: Math.max(0, Math.floor(n.getStyles().getNormal().getFont().getSize() / 10)), scrollPoint: Xt, onSheetContextMenu: r, tabIndex: -1, style: { position: "relative", flex: "0", top: `${je + 1}px`, width: `${We + ce.edgeStrokeWidth}px`, minWidth: `${We + ce.edgeStrokeWidth}px`, borderRight: `solid ${ce.edgeStrokeWidth}px ${ce.edgeStrokeFill}`, height: `calc(100% - ${je}px)`, boxSizing: "border-box", zIndex: "2", ...En?.style }, ...En }) }), [We, je, le, n, Xt, qe?.[qt.Top], Ee, s, r, ce.fill, g]), zo = ke(null), ol = pe(() => f("div", { tabIndex: -1, style: { position: "relative", left: "0px", width: "100%", height: `${je + ce.edgeStrokeWidth}px`, minHeight: `${je + ce.edgeStrokeWidth}px`, borderBottom: `solid ${ce.edgeStrokeWidth}px ${ce.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" }, children: f(Nr, { ref: zo, sheetElement: Gt.current, gridRef: P, freezeStart: qe?.[qt.Left], oppositeSize: je, containerWidth: dt, containerHeight: je, sheetHeader: n.getColumnHeaders(), gridStyle: Xe, scrollPoint: rn, onSheetContextMenu: r, ...fn, style: { ...fn?.style, position: "relative", left: "0px", width: "100%", height: `${je + ce.edgeStrokeWidth}px`, minHeight: `${je + ce.edgeStrokeWidth}px`, borderBottom: `solid ${ce.edgeStrokeWidth}px ${ce.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" } }) }), [je, dt, n, rn, qe?.[qt.Left], Ee, ce.fill, s, r, c]), rl = oe((Y) => {
3174
+ }, [$e, Se]), wn = ke(null), nl = pe(() => f("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${je + 1}px`, width: `${We + ce.edgeStrokeWidth}px`, minWidth: `${We + ce.edgeStrokeWidth}px`, borderRight: `solid ${ce.edgeStrokeWidth}px ${ce.edgeStrokeFill}`, height: `calc(100% - ${je}px)`, boxSizing: "border-box", zIndex: "2" }, children: f(Nr, { ref: wn, sheetElement: Gt.current, gridRef: P, freezeStart: qe?.[qt.Top], oppositeSize: We, containerWidth: We, containerHeight: le, sheetHeader: n.getRowHeaders(), gridStyle: Xe, verticalPadding: Math.max(0, Math.floor(n.getStyles().getNormal().getFont().getSize() / 10)), scrollPoint: Xt, onSheetContextMenu: r, tabIndex: -1, style: { position: "relative", flex: "0", top: `${je + 1}px`, width: `${We + ce.edgeStrokeWidth}px`, minWidth: `${We + ce.edgeStrokeWidth}px`, borderRight: `solid ${ce.edgeStrokeWidth}px ${ce.edgeStrokeFill}`, height: `calc(100% - ${je}px)`, boxSizing: "border-box", zIndex: "2", ...En?.style }, ...En }) }), [We, je, le, n, Xt, qe?.[qt.Top], Ee, s, r, ce.fill, g]), Fo = ke(null), ol = pe(() => f("div", { tabIndex: -1, style: { position: "relative", left: "0px", width: "100%", height: `${je + ce.edgeStrokeWidth}px`, minHeight: `${je + ce.edgeStrokeWidth}px`, borderBottom: `solid ${ce.edgeStrokeWidth}px ${ce.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" }, children: f(Nr, { ref: Fo, sheetElement: Gt.current, gridRef: P, freezeStart: qe?.[qt.Left], oppositeSize: je, containerWidth: dt, containerHeight: je, sheetHeader: n.getColumnHeaders(), gridStyle: Xe, scrollPoint: rn, onSheetContextMenu: r, ...fn, style: { ...fn?.style, position: "relative", left: "0px", width: "100%", height: `${je + ce.edgeStrokeWidth}px`, minHeight: `${je + ce.edgeStrokeWidth}px`, borderBottom: `solid ${ce.edgeStrokeWidth}px ${ce.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" } }) }), [je, dt, n, rn, qe?.[qt.Left], Ee, ce.fill, s, r, c]), rl = oe((Y) => {
3175
3175
  const { value: De, key: Ye, ...Ge } = Y;
3176
3176
  let at = De, rt = j;
3177
3177
  if (!rt || rt.colIndex === Y.coords.colIndex && rt.rowIndex === Y.coords.rowIndex || (rt = null), !at) {
@@ -3195,8 +3195,8 @@ const Sc = mt(vt((e, t) => {
3195
3195
  const { key: Ye, ...Ge } = Y;
3196
3196
  return [f(ca, { ref: De, getVisibleCells: an, sheet: n, gridStyle: Ee, ...Ge }, `border-${Ye}`), f(Na, { ref: De, sheet: n, commands: $e, ...Ge }, `table-${Ye}`), f(La, { ref: De, sheet: n, ...Ge }, `spill-${Ye}`), f(ka, { ref: De, sheet: n, commands: $e, onShowTooltip: re, onCloseTooltip: Oe, gridStyle: Ee, gridRef: P, editingCoords: j, isActive: s, ...Ge }, `selection-${Ye}`), f(wa, { ref: De, sheet: n, commands: $e, gridStyle: Ee, element: b, ...Ge }, `copy-paste-${Ye}`), f(Ea, { ref: De, sheet: n, commands: $e, target: Ke, renderMovable: $, movableProps: { onUnFocus: () => {
3197
3197
  Gt.current.focus();
3198
- } }, ...Ge }, `movable-${Ye}`), f(Ia, { ref: De, sheet: n, commands: $e, gridStyle: Ee, getCellEditor: F, showProtectedError: Vt, setEditingCoords: Me, ...Ge }, `editor-${Ye}`)];
3199
- }, [n, P.current, Ee, F, $e, it]), [fr, ll] = ge(!1), al = pe(() => {
3198
+ } }, ...Ge }, `movable-${Ye}`), f(Ia, { ref: De, sheet: n, commands: $e, gridStyle: Ee, getCellEditor: z, showProtectedError: Vt, setEditingCoords: Me, ...Ge }, `editor-${Ye}`)];
3199
+ }, [n, P.current, Ee, z, $e, it]), [fr, ll] = ge(!1), al = pe(() => {
3200
3200
  if (dt === 0 || le === 0) return null;
3201
3201
  const Y = n.getStyles().getNormal(), De = Y.getFont(), Ye = Y.getFill(), Ge = Y.getBorder(), at = Y.getFill().getType() === fo.Type.None;
3202
3202
  let rt = ie, yt = ie;
@@ -3205,15 +3205,15 @@ const Sc = mt(vt((e, t) => {
3205
3205
  let ft = ee?.getGridLineColor()?.toRGBA(Q.darkMode).toString() ?? Q.strokeFill;
3206
3206
  return at || (yt = wt(Ge.getBottom(), yt, !0), yt = wt(Ge.getTop(), yt, !0), rt = wt(Ge.getRight(), rt, !0), rt = wt(Ge.getLeft(), rt, !0)), f(pi, { className: "sheetxl-sheet-primary", style: { ...Pa, ...Ye.toCSS(Q.darkMode), ...De.toCSS(Q.darkMode, ae), "--sxl-app-color-background": Q.fill, "--sxl-app-color-shadow": Ee.colorShadow, "--sxl-app-color-grey": Ee.colorGrey, "--sxl-app-color-button-fill": G.fill, "--sxl-app-color-button-text": G.text?.fill, "--sxl-app-color-button-border": G.edgeStrokeFill, "--sxl-app-color-primary-dark": Ee.selection.strokeFill }, ref: P, zoom: ae, ...de, onFirstRender: (Ot) => {
3207
3207
  ll(!0), de?.onFirstRender?.(Ot), $e?.activate();
3208
- }, showGridLines: Be, gridLineColor: ft, gridLineColumnsProps: rt, gridLineRowsProps: yt, freezeLeft: qe?.[qt.Left], freezeLeftProps: io, freezeTop: qe?.[qt.Top], freezeTopProps: io, width: dt, height: le, columnCount: Re.width, rowCount: Re.height, cursor: It ?? kt ?? "cell", clipCells: !0, layout: Te, cellRenderer: rl, overlayRenderer: il, getCellCoordsAsRangeCoords: ue, hiddenRowsAt: oo, hiddenColumnsAt: ro, getVisibleCells: an, onWheelScroll: Ft, onPointerDown: Io, onKeyDown: ao, onViewportChange: T, onImmediateScroll: In, scrollPoint: te, stageProps: { onFocus: () => {
3208
+ }, showGridLines: Be, gridLineColor: ft, gridLineColumnsProps: rt, gridLineRowsProps: yt, freezeLeft: qe?.[qt.Left], freezeLeftProps: io, freezeTop: qe?.[qt.Top], freezeTopProps: io, width: dt, height: le, columnCount: Re.width, rowCount: Re.height, cursor: It ?? kt ?? "cell", clipCells: !0, layout: Te, cellRenderer: rl, overlayRenderer: il, getCellCoordsAsRangeCoords: ue, hiddenRowsAt: oo, hiddenColumnsAt: ro, getVisibleCells: an, onWheelScroll: zt, onPointerDown: Io, onKeyDown: ao, onViewportChange: T, onImmediateScroll: In, scrollPoint: te, stageProps: { onFocus: () => {
3209
3209
  $e?.activate();
3210
3210
  } }, overlays: Dn });
3211
3211
  }, [q]);
3212
3212
  ve(() => {
3213
3213
  Le.current || V();
3214
3214
  }, [Te, qe, ae, $e, te?.left, te?.top, Q, de, dt, le, It, Dn, s, kt]);
3215
- let Fo = { flex: "1 1 100%", display: "flex", alignContent: "stretch", position: "relative" };
3216
- w || (Fo = { ...Fo, ...C });
3215
+ let zo = { flex: "1 1 100%", display: "flex", alignContent: "stretch", position: "relative" };
3216
+ w || (zo = { ...zo, ...C });
3217
3217
  const sl = pe(() => {
3218
3218
  const Y = n.getStyles().getTheme(), De = Y.getColorScheme(), Ye = Y.getFontScheme();
3219
3219
  return { "--sxl-doc-color-dk1": De.getDk1().toCSS(Q.darkMode), "--sxl-doc-color-dk2": De.getDk2().toCSS(Q.darkMode), "--sxl-doc-color-lt1": De.getLt1().toCSS(Q.darkMode), "--sxl-doc-color-lt2": De.getLt2().toCSS(Q.darkMode), "--sxl-doc-color-accent1": De.getAccent1().toCSS(Q.darkMode), "--sxl-doc-color-accent2": De.getAccent2().toCSS(Q.darkMode), "--sxl-doc-color-accent3": De.getAccent3().toCSS(Q.darkMode), "--sxl-doc-color-accent4": De.getAccent4().toCSS(Q.darkMode), "--sxl-doc-color-accent5": De.getAccent5().toCSS(Q.darkMode), "--sxl-doc-color-accent6": De.getAccent6().toCSS(Q.darkMode), "--sxl-doc-color-hlink": De.getHlink().toCSS(Q.darkMode), "--sxl-doc-color-fol-hlink": De.getFolHlink().toCSS(Q.darkMode), "--sxl-doc-font-major": Ye.getMajorFont(), "--sxl-doc-font-minor": Ye.getMinorFont() };
@@ -3221,7 +3221,7 @@ const Sc = mt(vt((e, t) => {
3221
3221
  const { style: De, ...Ye } = Y;
3222
3222
  return f(ki, { ...Ye, style: { paddingLeft: "4px", paddingRight: "4px", ...De }, sheet: n });
3223
3223
  }, [n]);
3224
- let No = f("div", { style: Fo, onTouchStart: () => {
3224
+ let No = f("div", { style: zo, onTouchStart: () => {
3225
3225
  wr();
3226
3226
  }, onFocus: (Y) => {
3227
3227
  N(!0), u?.(Y);
@@ -3243,7 +3243,7 @@ const Sc = mt(vt((e, t) => {
3243
3243
  }));
3244
3244
  Ba.displayName = "SheetElement";
3245
3245
  const xc = Object.freeze(Object.defineProperty({ __proto__: null }, Symbol.toStringTag, { value: "Module" })), Hr = "data:image/webp;base64,UklGRhIPAABXRUJQVlA4TAYPAAAv/8F/EM8HIZJtWU0fdlTh3wRCIMlkE+EqkiTFyt57/KQ8/zKeEf5iaseNJClS1DGDxWcwvhfuCo5tW88SHw8Xh5ypbC3tnf8QHEfOB/D97w4PuFHBIx6MHJ74zvj/0aLdlH9AYWEjHiwOJR5M7Q+FAigmTRQOJRqczrVUKABQSMYgoAFFAhIwBkgaYEkBSABowDGgcYakUZirArQhRMUIIHGLBIAEEoDRfyokIAEAMhrSRmEOSPyS/jvR+BYFIWkUhLQhCpLGGQ2rhPiCOKPxDIVQmAZQDMYIjCTfNQXVJv8pnQqhuAonnczGDPv0VwFw/w+uGiAwQYjJXxffaJzROKPHoArGAPA+6o9AtiIj4XgAWGKCwAQBVNMSHQNEjTMqOSWPQEFRHOVl4vp/nnhI/DBNK8CGXCpeFvONip/jvPn67qb957v+Nssyv96/Jwg/xzT9yORhfR4fb6vF9ef39Nt62g55v37/7dRzfx9xFLRtIyX8ae+/AxARE8APxbCQtkidoqVGDBDxR3r8/59vo88vnW07v9nrY+l0tn0zemuSnn03W83Otn2zcarbfIrZqnG7Ykr77/nS5PP+/E6/iP7DgiRJiZX13F2QhYM/OrBtm7at/ZB927Zt27ZtPr/oK7Jt27b9x7dtGxcv1sFcc/R1woj+S2IkSZGkaXMpD2sZhqf3R5Y/23+2/2z/2f6z/Wf7z/af7T/bf7b/bP/97S8/r8tpn2+Rafa98ufeMc3nfK8v3V9QZHWVtFs5f/i2z8bd7+E/nX/Vuk9+uO6dF3IuWEy12r0S9eGUdA5q0RtuvnxxXpUFVPf5eQlfe7jG8j58Q6+uZZZNRGmv+GgOidbMMHMMy/WbJu7az/wcUqUk9C01LJNj5tZsDsnuizfPWh/F3WdN4FDO/eiYow4LozJuhpfDoPtcywyr8pAYDpv2RlmOB1TF7fBymPXAqA4Wwskrp3JY9oVZZA2efmm8m8O2Xa796tcoMprDvA2DAprXfkYWC9C0eflat2xrBgtRrKuDwgXemsKS5I6vr2zVzq9ZnLbUUzSHL5lFast+JTPi1rJUZWzN1bBuSSxZ7pvqaFfeVpYub2QtzaqI3McCtsppqPXPTWc0C9kjB3TqyFcsZ54b8/XpXJSHRW23qU1LJrC4PdFRlWsMzWCJ815ZpUYDU1no7mqiQ7VvYbnz9zIUaOkqFr3tZ7XnfKSHhe/+ON3pNJblL8N1QXEG+xlCXzXXmvKZjKJYn9IWKV7POMqIqlaYVtEMpU0l6lq46Eo3g2lvO2WtRPoB48m/SFXjwt3JiMqYp6eJkHWTGVQ3BZSky30Mq0/KVMTnZ2BN6aggV2UwtPa0UI+rGV1pylkm1RjB+IpZqpoxRG5ghGW/oZjr9xlj+xarZSiBBEaZe5BSxhK4jXHmeVElj/2Bkeb2KeQVzWKs7eumDnMZbemtlGEU4236UVUYyojb3UATK5Yx5lY30sOqRVlBn3YPdqKCgrexZ7SwcknQP13bfjWC6nD1XEcreHs8QgXOTg369bDmlxFQNU28mRpwYUMNXDcTQVXC2woYTOo2DrJxk1+ZQ9/9PIeNprjRs72ij4H2wbdZjdzdTDYizUXG9P3gnfZGDVy3gFMxD5ZBN9U7BWoJpoK2OpBvHvbYArWBUlFDgXu8QG2BVJanG2xLxC/UckNZZ6Om5VZmnd1NQfvtrRJzByPGXHr8ohqyn/eOr0MIZXAJZFvF1zGAUvC0AuzT+LpgXxJ7K/BuK/jA8LpiXhpPwZ3dcFN4XbIukUVgnVR01Y4WhVi19KLTC6Ca/vD4uevReM40PgHVY9GFMC2bHkAtG10Qy9K5rzHOLQkcGVwYwxJ6H+fspuAC2ZVSG5Rbjg0ulFk5Ta2FcUHTvcqtGrCo7aqZFo2EaK3oOXi0mpOO+xoinOB8cGgF2JTYrQC9EFoRJqV2Gp6Z3oisEItymxKBbniR+yIrxqDsBoCzUGQFpS+93fnYNiO4Z6FVwxc1WjXpotdCc0HoXHRMPucfY0qQTXJ6L+jqGCY0EzekcaOm+LY/g4PSCGCuirwgDtJ4dePy/uCvg2tJ8wNkhDzmObBsJDkhj7OagtL3rrwAhX84mnWiv8Yz+M/IXgyZHTFNc3jZ7dLYfSNo5uA2EpLzJT/c8b1liOY47CtHKOEfj+xcyRJ2vCqAx0MyRR2zE88uwr4hV9RxkoHGeIDv93Cf8aVotiT/uiTb0X+uKfFgnCw5Y473FWJxu7whx/wull0JkMwhx5MMJJ6UPeKYjyCZ43iw/BHHTwOxtAQAOPafwGEExem+vKd794bhxzckhNFvDgGbYbhCgoAbe46jcKsw0MbcH4Qv3hAH2vgOHIsbg4CNPScxuFcoWGPuhWFX8WnO/gt7hufPIVhSEstIOjN7ChF4WDhIY34RwcqGb4uHWfjnPZwmAQGN73PI7xkh4Yy5nvzuFhPOeKj4OkhQsqeJF9qz0DXAWB45sBFU7K6QXoKENTLOzPyC9PYIDGR8sfBOscikTwfzHp3MJlOPcujyB2TnYjiEMbeUfn0jOoRxP9GVeRgPYPyk6FqH3AaAUh5ZkOL4hpC/XLOim8/yXQ3yxXxWck9o4gb3h85/inFrhLfLQf3iIZIPNfmWLFQvniG4DyUPtYvHij7V0UXl4uxqua0vG3WLOUduNxjdELBn98vm8Jroy5z5jCSzJpY9m/CWnF43NYtvlHu8CclKxeJPxDabzNQrfkBsZ8pNteLMCKmdIDu1irmj1LaRn1rFraT2oAxVKh4oNcuHj7aRx9FNhof3pPaq5Djyzsi2RD3sDXmCSAejD/wqmeIM3y7JzS1b9YkfkfpAIchXdeI1Yu9ZqrHaxNOFdqGcVSbmgMyW974v2DmPb3A+lMhsbcl6rMrMXCCz9WSuKnFDmW0gdzWJc2S2suxVJO4s9YiT/uoRt5TZ1gJQjbitzMaJQC3iFVJfqhAElYiX6M3VCQ7FijMOokpYIfSTMFQLbYV+QQhlobUXtDJB9dBZ6OnOAFVEjtDznfyribpCz3e2ryoKLP9yJ4Uyu9x+rsmYUS2zS7yrjDSpjwuidbXxtdCmda46NghtGuPq4yOphx071LYKeZ+E7hXXamTk37XjTjzo+gqq0ThI7L2Nq9X7Z7Gexp1aq1ofnovVNO7cmfX67FyspXEnP/P74qxa1uho3Omrm6ZePpF73PkPzL41q5gbSOzu8PrOvGbek9uoXvF2Z1bKbQOvd8yajU3kdpHRx+W6yY4QfGfjfT4tV87dJLfBD1y+Kqudm0jwjjX5orx6+ol+ISM9viernxV/5+53wqw94f3OSCHJ/XII3Z/23S+tgPeHH5DovQgYoAWye5ovQkdldwpehNIDspuOLkSPkfDdCXaXo+7Pdj8G87pGemPRgnRI/Eua2/Pd78zMMvH3OhxtZhw/I/G7AytM78lvS6o4lQI4YuRQcbofwH5n//w6UqDeJwDtSBSpNyEcXSigSHkgHIqUqXq6x53xGUFoV56ZdHwZg41hYuU5jsF0b6AE6zEC0fEk0RqAwpIg0XKXwDiC6G9ghGsLwWgXolUZFzVxWAxjph3TgRyLsuFHIATsfQLS1gQRWw7laOMARGyyQUi61z5k/QiKRd1Dtq8Qi79e847ZDst/3Al+ROO7N6xn5HGtQWh62DdqiwiOWWyjtipAeLrXNGzvQjq40J5hu/ccIoPvOcbtUlBnFMF8VdZFswowGX6U4Yl+2KOLQHWiW+D2NUPl5/29Ijcb2NEGtYqc/ySw0wlzV2+038muI2AtFXWS2zCsewq3gsl+ZytEZnC/Xmi/011M0FpQYSPW/QRcwWC/80WfA3fcCXdOr2+ElFz+/U74CoFrnkPjFCy97I2tInRdo9T6RkgGku93yrYEz68HZdY3QrKQungC2DoKVCQTifM3g3g6yfboZfY76zCC2CeKHAvMNmPW/U47vogw9kKo4KzkLGMFzONOfFSo0Myk3O3A3xLMLlKowOxk3O/MtQlnj8QKy1C+/U69koCa6/BYQVnK1kcEtUV6kP1OvqsRVkOuV+wYMpuOqfY7ew8C26/7B+s6Y4maQXC7VMG6zFqaHigmvK0aravMZfm5E7SFfMJhdo/WRfZy/NwZ5hHk5vkgWscByNAj1YS5CxStwxCUb3dTQt2T4ToKQvGfO0kbgu3f28J1EIbCP3eWKwl40x8Yrm0ginaLQcg79ZCgX7UJRcEmnSPsncBBv2oZjGLF5sA/70y3oj/vTIcVcIpRHw3+nS1mnLHIzH1JAdV+MPhXk4WkRC5SQU1Sg3711QgJSnwfRWjhFPPuQ33e2b4oIi30WgZDblUd0kPzIbsvhzTRMMCm1yNddClc3iPqOO+ULrD2HSJ15EiEyr2YFFJVPFCeHqSSAh/gvPsZtZx32ptQPkd3xZx24NkYX1EbIsVczQUotivppivhSW1J2undDHDzGhqQfno+HZmHCkhDtYzG5fZzpKOOTUblxmrSUic2gjrv9KSoym8GJH0l6SozC40J9UlbHUnB4vETpK9OPorkZURWkcY6H4VjEbPupLWe9WKwriHpreZfIniyqPOkuSLmuaU3rRtpr4N7hf9/4yfSX+d2Sj6tqZdBKsx5j9Tu6EBa7IRLZLt6OUiRHZoqr62NSJddiHTLKsVJ+uzAWElXLBheRhrN4ZwmpcdakFarNS9bxDnMToMUW9148cTMKyfldvpu0WTecJz0mxEn1x2e+DzScQ6fTAsmZ2xtTz+n5juS5bGlM+m66meSZPl7Y2dnUnjLtmaIsSpxVEdSerkuvwiTmOedIMV38uKUcHfXqwFSflVL4zPDeJxhV3uyBB2/cnx4+sK8QJahqm47Y8PNg9c0JItRedyM2PAxMWqZQVakyrgZMeFg7y8PsS7VeuO70P4bxP3ZRaUGWZ6OmVv9oSk63llBVqkLh4Zt9IaW1Tt6tjfIYhWRY86YGCKH/WWGmUOWraaHxzw1yV2DMxQ2zHq51Tmyfl2o99bI25Jig2vP54ljDp9ykLWsdj3fkO9vvWPKtL8wndo7YeztOy8bcKh5OVncyhq2XNrd96ZpLrjy5/qYb/l8S7q2r1NJlj/bf7b/bP/Z/rP9Z/vP9p/tP9t/tv9s//3djwA=", Ha = mt(vt((e, t) => {
3246
- const { children: n, disabled: o, style: i, picture: r, description: d, isDragging: c, view: l, onHide: g, onShow: w, onKeyDownCapture: h, onFocus: a, onBlur: R, loadingPanel: y, ...M } = e, [E, $] = ge(!1), [O, x] = ge(null), [F, u] = ge(null), [D, C] = ge(null);
3246
+ const { children: n, disabled: o, style: i, picture: r, description: d, isDragging: c, view: l, onHide: g, onShow: w, onKeyDownCapture: h, onFocus: a, onBlur: R, loadingPanel: y, ...M } = e, [E, $] = ge(!1), [O, x] = ge(null), [z, u] = ge(null), [D, C] = ge(null);
3247
3247
  ve(() => {
3248
3248
  u(null), r.getDetails().then((L) => {
3249
3249
  $(!1), u(L.asUrl()), L.asSVGText?.() && C(L.asSVGText());
@@ -3252,12 +3252,12 @@ const xc = Object.freeze(Object.defineProperty({ __proto__: null }, Symbol.toStr
3252
3252
  });
3253
3253
  }, [r]);
3254
3254
  const W = $t(t, () => ({ isPictureEditor: () => !0 }), []), A = pe(() => {
3255
- if (F || D) return f("img", { style: { flex: "1", width: "100%", height: "100%", border: E ? "var(--sxl-app-color-grey, grey) solid 1px" : void 0, backgroundColor: E ? "var(--sxl-app-color-background, white)" : void 0, boxShadow: E ? "0px 0px 3px var(--sxl-app-color-error, red)" : void 0, objectFit: E ? "contain" : void 0, opacity: O ? 1 : 0, filter: "var(--sxl-app-filter-dark-invert)" }, draggable: !1, src: F, onLoad: () => {
3255
+ if (z || D) return f("img", { style: { flex: "1", width: "100%", height: "100%", border: E ? "var(--sxl-app-color-grey, grey) solid 1px" : void 0, backgroundColor: E ? "var(--sxl-app-color-background, white)" : void 0, boxShadow: E ? "0px 0px 3px var(--sxl-app-color-error, red)" : void 0, objectFit: E ? "contain" : void 0, opacity: O ? 1 : 0, filter: "var(--sxl-app-filter-dark-invert)" }, draggable: !1, src: z, onLoad: () => {
3256
3256
  x(!0);
3257
3257
  }, onError: ({ currentTarget: L }) => {
3258
3258
  console.log("error"), L.onerror = null, u(Hr), $(!0);
3259
3259
  }, alt: d ?? `${r.getType()}` });
3260
- }, [O, r, F, D, c]);
3260
+ }, [O, r, z, D, c]);
3261
3261
  if (!r.isClosed()) return nt("div", { className: "picture-editor", style: { position: "relative", display: "flex", flex: "1 1 100%", filter: c ? "drop-shadow(1px 1px 1.5px var(--sxl-app-color-shadow, rgba(0, 0, 0, .25)))" : void 0, ...i, width: "100%", height: "100%" }, tabIndex: 0, ...M, onKeyDownCapture: (L) => {
3262
3262
  h?.(L);
3263
3263
  }, ref: W, children: [O || E ? void 0 : y, A] });
@@ -3270,9 +3270,9 @@ const kc = mt(vt((e, t) => {
3270
3270
  const w = $t(t, () => ({ isChartEditor: () => !0 }), []), [h, { height: a, width: R }] = gn();
3271
3271
  if (!i.isClosed()) return f("div", { ...g, ref: Rn([w, h]), children: f("div", { className: "chart-editor", style: { width: "100%", height: "100%", backgroundColor: "var(--sxl-app-color-background, white)", backgroundImage: "var(--sxl-app-image-background)", alignItems: "center", justifyContent: "center", zoom: r.getZoom(), display: "flex", position: "relative", border: "var(--sxl-app-color-grey, grey) solid 1px", filter: o ? "blur(1px)" : void 0, boxShadow: d ? "1px 1px 2px var(--sxl-app-color-shadow, rgba(0,0,0,.15))" : void 0 }, children: f("div", { style: { textAlign: "center" }, children: i.getDescription() }) }) });
3272
3272
  })), Va = "_editable-input_1bqx6_6", Wa = (e) => f("input", { ...e }), $a = mt(vt((e, t) => {
3273
- const { style: n = {}, className: o, value: i = "", onSubmit: r, onChange: d, onCancel: c, createInput: l = Wa, styleHover: g = {}, dragging: w, maxLength: h, disabled: a = !1, readOnly: R = !1, ...y } = e, [M, E] = ge(!1), [$, O] = ge(!1), [x, F] = ge(i);
3273
+ const { style: n = {}, className: o, value: i = "", onSubmit: r, onChange: d, onCancel: c, createInput: l = Wa, styleHover: g = {}, dragging: w, maxLength: h, disabled: a = !1, readOnly: R = !1, ...y } = e, [M, E] = ge(!1), [$, O] = ge(!1), [x, z] = ge(i);
3274
3274
  ve(() => {
3275
- F(i);
3275
+ z(i);
3276
3276
  }, [i]);
3277
3277
  const u = ke(null), [D, C] = ge(null), W = Yn(), A = Qe(function(V) {
3278
3278
  const S = V.message;
@@ -3281,14 +3281,14 @@ const kc = mt(vt((e, t) => {
3281
3281
  let S = !1;
3282
3282
  try {
3283
3283
  S = r?.(V) ?? !0;
3284
- } catch (z) {
3285
- A(z);
3284
+ } catch (F) {
3285
+ A(F);
3286
3286
  }
3287
- return S ? (u.current = null, O(!1), F(V), S) : (setTimeout(() => {
3287
+ return S ? (u.current = null, O(!1), z(V), S) : (setTimeout(() => {
3288
3288
  u.current?.focus();
3289
3289
  }, 0), S);
3290
3290
  }, [r]), U = oe(() => {
3291
- F(i), u.current = null, O(!1), c?.();
3291
+ z(i), u.current = null, O(!1), c?.();
3292
3292
  }, [c, i]), de = pe(() => {
3293
3293
  if (!$) return null;
3294
3294
  const V = { className: xt(Va), autoFocus: !0, spellCheck: !1, name: "editable-label", autoComplete: "off", maxLength: h, type: "text", value: x, onFocus: (S) => {
@@ -3298,7 +3298,7 @@ const kc = mt(vt((e, t) => {
3298
3298
  }, onBlur: (S) => {
3299
3299
  u.current && L(x);
3300
3300
  }, onChange: (S) => {
3301
- $ && F(S.target.value);
3301
+ $ && z(S.target.value);
3302
3302
  }, onMouseDown: (S) => S.stopPropagation(), onKeyDown: (S) => S.code === "Escape" ? (S.preventDefault(), void U()) : S.code === "Enter" ? (S.preventDefault(), void L(S.target.value)) : void (S.code !== "Tab" ? S.stopPropagation() : L(S.target.value)) };
3303
3303
  return f(kn, { children: l(V) });
3304
3304
  }, [$, x, L, U, l, a]), [H, B] = ge();
@@ -3530,7 +3530,7 @@ function Wr(e) {
3530
3530
  let { left: t, top: n, height: o, width: i } = e;
3531
3531
  return [{ x: t, y: n }, { x: t + i, y: n }, { x: t, y: n + o }, { x: t + i, y: n + o }];
3532
3532
  }
3533
- function zi(e, t) {
3533
+ function Fi(e, t) {
3534
3534
  if (!e || e.length === 0) return null;
3535
3535
  const [n] = e;
3536
3536
  return n[t];
@@ -3580,7 +3580,7 @@ function ns(e) {
3580
3580
  };
3581
3581
  }
3582
3582
  const os = ns(1);
3583
- function Fi(e) {
3583
+ function zi(e) {
3584
3584
  if (e.startsWith("matrix3d(")) {
3585
3585
  const t = e.slice(9, -1).split(/, /);
3586
3586
  return { x: +t[12], y: +t[13], scaleX: +t[0], scaleY: +t[5] };
@@ -3598,10 +3598,10 @@ function Mn(e, t) {
3598
3598
  if (t.ignoreTransform) {
3599
3599
  const { transform: g, transformOrigin: w } = Lt(e).getComputedStyle(e);
3600
3600
  g && (n = (function(h, a, R) {
3601
- const y = Fi(a);
3601
+ const y = zi(a);
3602
3602
  if (!y) return h;
3603
- const { scaleX: M, scaleY: E, x: $, y: O } = y, x = h.left - $ - (1 - M) * parseFloat(R), F = h.top - O - (1 - E) * parseFloat(R.slice(R.indexOf(" ") + 1)), u = M ? h.width / M : h.width, D = E ? h.height / E : h.height;
3604
- return { width: u, height: D, top: F, right: x + u, bottom: F + D, left: x };
3603
+ const { scaleX: M, scaleY: E, x: $, y: O } = y, x = h.left - $ - (1 - M) * parseFloat(R), z = h.top - O - (1 - E) * parseFloat(R.slice(R.indexOf(" ") + 1)), u = M ? h.width / M : h.width, D = E ? h.height / E : h.height;
3604
+ return { width: u, height: D, top: z, right: x + u, bottom: z + D, left: x };
3605
3605
  })(n, g, w));
3606
3606
  }
3607
3607
  const { top: o, left: i, width: r, height: d, bottom: c, right: l } = n;
@@ -3763,7 +3763,7 @@ class dr {
3763
3763
  if (h) {
3764
3764
  const a = Zn(h, w), R = { x: 0, y: 0 }, { scrollableAncestors: y } = o.current;
3765
3765
  for (const M of y) {
3766
- const E = t.code, { isTop: $, isRight: O, isLeft: x, isBottom: F, maxScroll: u, minScroll: D } = Bi(M), C = as(M), W = { x: Math.min(E === ct.Right ? C.right - C.width / 2 : C.right, Math.max(E === ct.Right ? C.left : C.left + C.width / 2, h.x)), y: Math.min(E === ct.Down ? C.bottom - C.height / 2 : C.bottom, Math.max(E === ct.Down ? C.top : C.top + C.height / 2, h.y)) }, A = E === ct.Right && !O || E === ct.Left && !x, L = E === ct.Down && !F || E === ct.Up && !$;
3766
+ const E = t.code, { isTop: $, isRight: O, isLeft: x, isBottom: z, maxScroll: u, minScroll: D } = Bi(M), C = as(M), W = { x: Math.min(E === ct.Right ? C.right - C.width / 2 : C.right, Math.max(E === ct.Right ? C.left : C.left + C.width / 2, h.x)), y: Math.min(E === ct.Down ? C.bottom - C.height / 2 : C.bottom, Math.max(E === ct.Down ? C.top : C.top + C.height / 2, h.y)) }, A = E === ct.Right && !O || E === ct.Left && !x, L = E === ct.Down && !z || E === ct.Up && !$;
3767
3767
  if (A && W.x !== h.x) {
3768
3768
  const U = M.scrollLeft + a.x, de = E === ct.Right && U <= u.x || E === ct.Left && U >= D.x;
3769
3769
  if (de && !a.y) return void M.scrollTo({ left: U, behavior: c });
@@ -3935,7 +3935,7 @@ function hs(e) {
3935
3935
  case Wn.DraggableRect:
3936
3936
  return i;
3937
3937
  }
3938
- }, [n, i, l]), x = ke(null), F = Qe(() => {
3938
+ }, [n, i, l]), x = ke(null), z = Qe(() => {
3939
3939
  const D = x.current;
3940
3940
  if (!D) return;
3941
3941
  const C = E.current.x * $.current.x, W = E.current.y * $.current.y;
@@ -3949,11 +3949,11 @@ function hs(e) {
3949
3949
  if (!W) continue;
3950
3950
  const { direction: A, speed: L } = ls(D, W, O, t, a);
3951
3951
  for (const U of ["x", "y"]) R[U][A[U]] || (L[U] = 0, A[U] = 0);
3952
- if (L.x > 0 || L.y > 0) return M(), x.current = D, y(F, d), E.current = L, void ($.current = A);
3952
+ if (L.x > 0 || L.y > 0) return M(), x.current = D, y(z, d), E.current = L, void ($.current = A);
3953
3953
  }
3954
3954
  E.current = { x: 0, y: 0 }, $.current = { x: 0, y: 0 }, M();
3955
3955
  } else M();
3956
- }, [t, F, o, M, r, d, JSON.stringify(O), JSON.stringify(R), y, g, u, w, JSON.stringify(a)]);
3956
+ }, [t, z, o, M, r, d, JSON.stringify(O), JSON.stringify(R), y, g, u, w, JSON.stringify(a)]);
3957
3957
  }
3958
3958
  _i.activators = [{ eventName: "onTouchStart", handler: (e, t) => {
3959
3959
  let { nativeEvent: n } = e, { onActivation: o } = t;
@@ -4141,14 +4141,14 @@ const qs = mt(function(e) {
4141
4141
  return (X = ue[te]) == null ? void 0 : X.call(ue, se);
4142
4142
  });
4143
4143
  }, [v]), T];
4144
- })(), [x, F] = ge(nn.Uninitialized), u = x === nn.Initialized, { draggable: { active: D, nodes: C, translate: W }, droppable: { containers: A } } = M, L = D != null ? C.get(D) : null, U = ke({ initial: null, translated: null }), de = pe(() => {
4144
+ })(), [x, z] = ge(nn.Uninitialized), u = x === nn.Initialized, { draggable: { active: D, nodes: C, translate: W }, droppable: { containers: A } } = M, L = D != null ? C.get(D) : null, U = ke({ initial: null, translated: null }), de = pe(() => {
4145
4145
  var v;
4146
4146
  return D != null ? { id: D, data: (v = L?.data) != null ? v : vs, rect: U } : null;
4147
- }, [D, L]), H = ke(null), [B, q] = ge(null), [V, S] = ge(null), z = Gn(R, Object.values(R)), J = Jn("DndDescribedBy", r), re = pe(() => A.getEnabled(), [A]), Ae = pe(() => ({ draggable: { ...vo.draggable, ...me?.draggable }, droppable: { ...vo.droppable, ...me?.droppable }, dragOverlay: { ...vo.dragOverlay, ...me?.dragOverlay } }), [(me = h) == null ? void 0 : me.draggable, me?.droppable, me?.dragOverlay]);
4147
+ }, [D, L]), H = ke(null), [B, q] = ge(null), [V, S] = ge(null), F = Gn(R, Object.values(R)), J = Jn("DndDescribedBy", r), re = pe(() => A.getEnabled(), [A]), Ae = pe(() => ({ draggable: { ...vo.draggable, ...me?.draggable }, droppable: { ...vo.droppable, ...me?.droppable }, dragOverlay: { ...vo.dragOverlay, ...me?.dragOverlay } }), [(me = h) == null ? void 0 : me.draggable, me?.droppable, me?.dragOverlay]);
4148
4148
  var me;
4149
4149
  const { droppableRects: Oe, measureDroppableContainers: Le, measuringScheduled: be } = (function(v, T) {
4150
4150
  let { dragging: _, dependencies: te, config: se } = T;
4151
- const [ue, X] = ge(null), { frequency: qe, measure: we, strategy: Se } = se, Ke = ke(v), ze = (function() {
4151
+ const [ue, X] = ge(null), { frequency: qe, measure: we, strategy: Se } = se, Ke = ke(v), Fe = (function() {
4152
4152
  switch (Se) {
4153
4153
  case Kn.Always:
4154
4154
  return !1;
@@ -4157,10 +4157,10 @@ const qs = mt(function(e) {
4157
4157
  default:
4158
4158
  return !_;
4159
4159
  }
4160
- })(), He = Gn(ze), $e = Qe(function(gt) {
4160
+ })(), He = Gn(Fe), $e = Qe(function(gt) {
4161
4161
  gt === void 0 && (gt = []), He.current || X((Ue) => Ue === null ? gt : Ue.concat(gt.filter((lt) => !Ue.includes(lt))));
4162
4162
  }, [He]), tt = ke(null), Je = Hn((gt) => {
4163
- if (ze && !_) return Kr;
4163
+ if (Fe && !_) return Kr;
4164
4164
  if (!gt || gt === Kr || Ke.current !== v || ue != null) {
4165
4165
  const Ue = /* @__PURE__ */ new Map();
4166
4166
  for (let lt of v) {
@@ -4175,18 +4175,18 @@ const qs = mt(function(e) {
4175
4175
  return Ue;
4176
4176
  }
4177
4177
  return gt;
4178
- }, [v, ue, _, ze, we]);
4178
+ }, [v, ue, _, Fe, we]);
4179
4179
  return ve(() => {
4180
4180
  Ke.current = v;
4181
4181
  }, [v]), ve(() => {
4182
- ze || $e();
4183
- }, [_, ze]), ve(() => {
4182
+ Fe || $e();
4183
+ }, [_, Fe]), ve(() => {
4184
4184
  ue && ue.length > 0 && X(null);
4185
4185
  }, [JSON.stringify(ue)]), ve(() => {
4186
- ze || typeof qe != "number" || tt.current !== null || (tt.current = setTimeout(() => {
4186
+ Fe || typeof qe != "number" || tt.current !== null || (tt.current = setTimeout(() => {
4187
4187
  $e(), tt.current = null;
4188
4188
  }, qe));
4189
- }, [qe, ze, $e, ...te]), { droppableRects: Je, measureDroppableContainers: $e, measuringScheduled: ue != null };
4189
+ }, [qe, Fe, $e, ...te]), { droppableRects: Je, measureDroppableContainers: $e, measuringScheduled: ue != null };
4190
4190
  })(re, { dragging: u, dependencies: [W.x, W.y], config: Ae.droppable }), Ee = (function(v, T) {
4191
4191
  const _ = T != null ? v.get(T) : void 0, te = _ ? _.node.current : null;
4192
4192
  return Hn((se) => {
@@ -4219,8 +4219,8 @@ const qs = mt(function(e) {
4219
4219
  const [_, te] = ge(null), se = xo({ callback: Qe((we) => {
4220
4220
  for (const { target: Se } of we) if (Xn(Se)) {
4221
4221
  te((Ke) => {
4222
- const ze = T(Se);
4223
- return Ke ? { ...Ke, width: ze.width, height: ze.height } : ze;
4222
+ const Fe = T(Se);
4223
+ return Ke ? { ...Ke, width: Fe.width, height: Fe.height } : Fe;
4224
4224
  });
4225
4225
  break;
4226
4226
  }
@@ -4271,7 +4271,7 @@ const qs = mt(function(e) {
4271
4271
  });
4272
4272
  }
4273
4273
  }, [se, v]), pe(() => v.length ? T ? Array.from(T.values()).reduce((ue, X) => qn(ue, X), jt) : Hi(v) : jt, [v, T]);
4274
- })(Re), dt = Jr(je), le = Jr(je, [ce]), Ie = qn(m, dt), Ve = ae ? os(ae, m) : null, Fe = de && Ve ? w({ active: de, collisionRect: Ve, droppableRects: Oe, droppableContainers: re, pointerCoordinates: We }) : null, Te = zi(Fe, "id"), [I, Z] = ge(null), N = (function(v, T, _) {
4274
+ })(Re), dt = Jr(je), le = Jr(je, [ce]), Ie = qn(m, dt), Ve = ae ? os(ae, m) : null, ze = de && Ve ? w({ active: de, collisionRect: Ve, droppableRects: Oe, droppableContainers: re, pointerCoordinates: We }) : null, Te = Fi(ze, "id"), [I, Z] = ge(null), N = (function(v, T, _) {
4275
4275
  return { ...v, scaleX: T && _ ? T.width / _.width : 1, scaleY: T && _ ? T.height / _.height : 1 };
4276
4276
  })(Be ? m : qn(m, le), (i = I?.rect) != null ? i : null, ce), j = ke(null), Me = Qe((v, T) => {
4277
4277
  let { sensor: _, options: te } = T;
@@ -4280,37 +4280,37 @@ const qs = mt(function(e) {
4280
4280
  if (!se) return;
4281
4281
  const ue = v.nativeEvent, X = new _({ active: H.current, activeNode: se, event: ue, options: te, context: Ce, onAbort(we) {
4282
4282
  if (!C.get(we)) return;
4283
- const { onDragAbort: Se } = z.current, Ke = { id: we };
4283
+ const { onDragAbort: Se } = F.current, Ke = { id: we };
4284
4284
  Se?.(Ke), $({ type: "onDragAbort", event: Ke });
4285
- }, onPending(we, Se, Ke, ze) {
4285
+ }, onPending(we, Se, Ke, Fe) {
4286
4286
  if (!C.get(we)) return;
4287
- const { onDragPending: He } = z.current, $e = { id: we, constraint: Se, initialCoordinates: Ke, offset: ze };
4287
+ const { onDragPending: He } = F.current, $e = { id: we, constraint: Se, initialCoordinates: Ke, offset: Fe };
4288
4288
  He?.($e), $({ type: "onDragPending", event: $e });
4289
4289
  }, onStart(we) {
4290
4290
  const Se = H.current;
4291
4291
  if (Se == null) return;
4292
4292
  const Ke = C.get(Se);
4293
4293
  if (!Ke) return;
4294
- const { onDragStart: ze } = z.current, He = { activatorEvent: ue, active: { id: Se, data: Ke.data, rect: U } };
4294
+ const { onDragStart: Fe } = F.current, He = { activatorEvent: ue, active: { id: Se, data: Ke.data, rect: U } };
4295
4295
  On(() => {
4296
- ze?.(He), F(nn.Initializing), E({ type: Tt.DragStart, initialCoordinates: we, active: Se }), $({ type: "onDragStart", event: He }), q(j.current), S(ue);
4296
+ Fe?.(He), z(nn.Initializing), E({ type: Tt.DragStart, initialCoordinates: we, active: Se }), $({ type: "onDragStart", event: He }), q(j.current), S(ue);
4297
4297
  });
4298
4298
  }, onMove(we) {
4299
4299
  E({ type: Tt.DragMove, coordinates: we });
4300
4300
  }, onEnd: qe(Tt.DragEnd), onCancel: qe(Tt.DragCancel) });
4301
4301
  function qe(we) {
4302
4302
  return async function() {
4303
- const { active: Se, collisions: Ke, over: ze, scrollAdjustedTranslate: He } = Ce.current;
4303
+ const { active: Se, collisions: Ke, over: Fe, scrollAdjustedTranslate: He } = Ce.current;
4304
4304
  let $e = null;
4305
4305
  if (Se && He) {
4306
- const { cancelDrop: tt } = z.current;
4307
- $e = { activatorEvent: ue, active: Se, collisions: Ke, delta: He, over: ze }, we === Tt.DragEnd && typeof tt == "function" && await Promise.resolve(tt($e)) && (we = Tt.DragCancel);
4306
+ const { cancelDrop: tt } = F.current;
4307
+ $e = { activatorEvent: ue, active: Se, collisions: Ke, delta: He, over: Fe }, we === Tt.DragEnd && typeof tt == "function" && await Promise.resolve(tt($e)) && (we = Tt.DragCancel);
4308
4308
  }
4309
4309
  H.current = null, On(() => {
4310
- E({ type: we }), F(nn.Uninitialized), Z(null), q(null), S(null), j.current = null;
4310
+ E({ type: we }), z(nn.Uninitialized), Z(null), q(null), S(null), j.current = null;
4311
4311
  const tt = we === Tt.DragEnd ? "onDragEnd" : "onDragCancel";
4312
4312
  if ($e) {
4313
- const Je = z.current[tt];
4313
+ const Je = F.current[tt];
4314
4314
  Je?.($e), $({ type: tt, event: $e });
4315
4315
  }
4316
4316
  });
@@ -4343,9 +4343,9 @@ const qs = mt(function(e) {
4343
4343
  return _;
4344
4344
  }));
4345
4345
  })(g), _t(() => {
4346
- ce && x === nn.Initializing && F(nn.Initialized);
4346
+ ce && x === nn.Initializing && z(nn.Initialized);
4347
4347
  }, [ce, x]), ve(() => {
4348
- const { onDragMove: v } = z.current, { active: T, activatorEvent: _, collisions: te, over: se } = Ce.current;
4348
+ const { onDragMove: v } = F.current, { active: T, activatorEvent: _, collisions: te, over: se } = Ce.current;
4349
4349
  if (!T || !_) return;
4350
4350
  const ue = { active: T, activatorEvent: _, collisions: te, delta: { x: Ie.x, y: Ie.y }, over: se };
4351
4351
  On(() => {
@@ -4354,19 +4354,19 @@ const qs = mt(function(e) {
4354
4354
  }, [Ie.x, Ie.y]), ve(() => {
4355
4355
  const { active: v, activatorEvent: T, collisions: _, droppableContainers: te, scrollAdjustedTranslate: se } = Ce.current;
4356
4356
  if (!v || H.current == null || !T || !se) return;
4357
- const { onDragOver: ue } = z.current, X = te.get(Te), qe = X && X.rect.current ? { id: X.id, rect: X.rect.current, data: X.data, disabled: X.disabled } : null, we = { active: v, activatorEvent: T, collisions: _, delta: { x: se.x, y: se.y }, over: qe };
4357
+ const { onDragOver: ue } = F.current, X = te.get(Te), qe = X && X.rect.current ? { id: X.id, rect: X.rect.current, data: X.data, disabled: X.disabled } : null, we = { active: v, activatorEvent: T, collisions: _, delta: { x: se.x, y: se.y }, over: qe };
4358
4358
  On(() => {
4359
4359
  Z(qe), ue?.(we), $({ type: "onDragOver", event: we });
4360
4360
  });
4361
4361
  }, [Te]), _t(() => {
4362
- Ce.current = { activatorEvent: V, active: de, activeNode: Ee, collisionRect: Ve, collisions: Fe, droppableRects: Oe, draggableNodes: C, draggingNode: he, draggingNodeRect: ae, droppableContainers: A, over: I, scrollableAncestors: Re, scrollAdjustedTranslate: Ie }, U.current = { initial: ae, translated: Ve };
4363
- }, [de, Ee, Fe, Ve, C, he, ae, Oe, A, I, Re, Ie]), hs({ ...Q, delta: W, draggingRect: Ve, pointerCoordinates: We, scrollableAncestors: Re, scrollableAncestorRects: Ze });
4364
- const b = pe(() => ({ active: de, activeNode: Ee, activeNodeRect: ce, activatorEvent: V, collisions: Fe, containerNodeRect: Pe, dragOverlay: ee, draggableNodes: C, droppableContainers: A, droppableRects: Oe, over: I, measureDroppableContainers: Le, scrollableAncestors: Re, scrollableAncestorRects: Ze, measuringConfiguration: Ae, measuringScheduled: be, windowRect: Ne }), [de, Ee, ce, V, Fe, Pe, ee, C, A, Oe, I, Le, Re, Ze, Ae, be, Ne]), p = pe(() => ({ activatorEvent: V, activators: k, active: de, activeNodeRect: ce, ariaDescribedById: { draggable: J }, dispatch: E, draggableNodes: C, over: I, measureDroppableContainers: Le }), [V, k, de, ce, E, J, C, I, Le]);
4362
+ Ce.current = { activatorEvent: V, active: de, activeNode: Ee, collisionRect: Ve, collisions: ze, droppableRects: Oe, draggableNodes: C, draggingNode: he, draggingNodeRect: ae, droppableContainers: A, over: I, scrollableAncestors: Re, scrollAdjustedTranslate: Ie }, U.current = { initial: ae, translated: Ve };
4363
+ }, [de, Ee, ze, Ve, C, he, ae, Oe, A, I, Re, Ie]), hs({ ...Q, delta: W, draggingRect: Ve, pointerCoordinates: We, scrollableAncestors: Re, scrollableAncestorRects: Ze });
4364
+ const b = pe(() => ({ active: de, activeNode: Ee, activeNodeRect: ce, activatorEvent: V, collisions: ze, containerNodeRect: Pe, dragOverlay: ee, draggableNodes: C, droppableContainers: A, droppableRects: Oe, over: I, measureDroppableContainers: Le, scrollableAncestors: Re, scrollableAncestorRects: Ze, measuringConfiguration: Ae, measuringScheduled: be, windowRect: Ne }), [de, Ee, ce, V, ze, Pe, ee, C, A, Oe, I, Le, Re, Ze, Ae, be, Ne]), p = pe(() => ({ activatorEvent: V, activators: k, active: de, activeNodeRect: ce, ariaDescribedById: { draggable: J }, dispatch: E, draggableNodes: C, over: I, measureDroppableContainers: Le }), [V, k, de, ce, E, J, C, I, Le]);
4365
4365
  return et.createElement(Ai.Provider, { value: O }, et.createElement(Qn.Provider, { value: p }, et.createElement(Zi.Provider, { value: b }, et.createElement(Eo.Provider, { value: N }, l)), et.createElement(Cs, { disabled: d?.restoreFocus === !1 })), et.createElement(Ya, { ...d, hiddenTextDescribedById: J }));
4366
4366
  }), Ss = pn(null), ti = "button";
4367
4367
  function xs(e) {
4368
4368
  let { id: t, data: n, disabled: o = !1, attributes: i } = e;
4369
- const r = Jn("Draggable"), { activators: d, activatorEvent: c, active: l, activeNodeRect: g, ariaDescribedById: w, draggableNodes: h, over: a } = Kt(Qn), { role: R = ti, roleDescription: y = "draggable", tabIndex: M = 0 } = i ?? {}, E = l?.id === t, $ = Kt(E ? Eo : Ss), [O, x] = yo(), [F, u] = yo(), D = (function(W, A) {
4369
+ const r = Jn("Draggable"), { activators: d, activatorEvent: c, active: l, activeNodeRect: g, ariaDescribedById: w, draggableNodes: h, over: a } = Kt(Qn), { role: R = ti, roleDescription: y = "draggable", tabIndex: M = 0 } = i ?? {}, E = l?.id === t, $ = Kt(E ? Eo : Ss), [O, x] = yo(), [z, u] = yo(), D = (function(W, A) {
4370
4370
  return pe(() => W.reduce((L, U) => {
4371
4371
  let { eventName: de, handler: H } = U;
4372
4372
  return L[de] = (B) => {
@@ -4374,7 +4374,7 @@ function xs(e) {
4374
4374
  }, L;
4375
4375
  }, {}), [W, A]);
4376
4376
  })(d, t), C = Gn(n);
4377
- return _t(() => (h.set(t, { id: t, key: r, node: O, activatorNode: F, data: C }), () => {
4377
+ return _t(() => (h.set(t, { id: t, key: r, node: O, activatorNode: z, data: C }), () => {
4378
4378
  const W = h.get(t);
4379
4379
  W && W.key === r && h.delete(t);
4380
4380
  }), [h, t]), { active: l, activatorEvent: c, activeNodeRect: g, attributes: pe(() => ({ role: R, tabIndex: M, "aria-disabled": o, "aria-pressed": !(!E || R !== ti) || void 0, "aria-roledescription": y, "aria-describedby": w.draggable }), [o, R, M, E, y, w.draggable]), isDragging: E, listeners: o ? void 0 : D, node: O, over: a, setNodeRef: x, setActivatorNodeRef: u, transform: $ };
@@ -4417,7 +4417,7 @@ const Ds = { position: "fixed", touchAction: "none" }, As = (e) => Do(e) ? "tran
4417
4417
  let { transform: { initial: t, final: n } } = e;
4418
4418
  return [{ transform: hn.Transform.toString(t) }, { transform: hn.Transform.toString(n) }];
4419
4419
  }, sideEffects: Is({ styles: { active: { opacity: "0" } } }) };
4420
- function zs(e) {
4420
+ function Fs(e) {
4421
4421
  let { config: t, draggableNodes: n, droppableContainers: o, measuringConfiguration: i } = e;
4422
4422
  return Mo((r, d) => {
4423
4423
  if (t === null) return;
@@ -4427,16 +4427,16 @@ function zs(e) {
4427
4427
  if (!l) return;
4428
4428
  const g = ji(d);
4429
4429
  if (!g) return;
4430
- const { transform: w } = Lt(d).getComputedStyle(d), h = Fi(w);
4430
+ const { transform: w } = Lt(d).getComputedStyle(d), h = zi(w);
4431
4431
  if (!h) return;
4432
4432
  const a = typeof t == "function" ? t : (function(R) {
4433
4433
  const { duration: y, easing: M, sideEffects: E, keyframes: $ } = { ...Xi, ...R };
4434
4434
  return (O) => {
4435
- let { active: x, dragOverlay: F, transform: u, ...D } = O;
4435
+ let { active: x, dragOverlay: z, transform: u, ...D } = O;
4436
4436
  if (!y) return;
4437
- const C = { x: F.rect.left - x.rect.left, y: F.rect.top - x.rect.top }, W = { scaleX: u.scaleX !== 1 ? x.rect.width * u.scaleX / F.rect.width : 1, scaleY: u.scaleY !== 1 ? x.rect.height * u.scaleY / F.rect.height : 1 }, A = { x: u.x - C.x, y: u.y - C.y, ...W }, L = $({ ...D, active: x, dragOverlay: F, transform: { initial: u, final: A } }), [U] = L, de = L[L.length - 1];
4437
+ const C = { x: z.rect.left - x.rect.left, y: z.rect.top - x.rect.top }, W = { scaleX: u.scaleX !== 1 ? x.rect.width * u.scaleX / z.rect.width : 1, scaleY: u.scaleY !== 1 ? x.rect.height * u.scaleY / z.rect.height : 1 }, A = { x: u.x - C.x, y: u.y - C.y, ...W }, L = $({ ...D, active: x, dragOverlay: z, transform: { initial: u, final: A } }), [U] = L, de = L[L.length - 1];
4438
4438
  if (JSON.stringify(U) === JSON.stringify(de)) return;
4439
- const H = E?.({ active: x, dragOverlay: F, ...D }), B = F.node.animate(L, { duration: y, easing: M, fill: "forwards" });
4439
+ const H = E?.({ active: x, dragOverlay: z, ...D }), B = z.node.animate(L, { duration: y, easing: M, fill: "forwards" });
4440
4440
  return new Promise((q) => {
4441
4441
  B.onfinish = () => {
4442
4442
  H?.(), q();
@@ -4448,14 +4448,14 @@ function zs(e) {
4448
4448
  });
4449
4449
  }
4450
4450
  let ni = 0;
4451
- function Fs(e) {
4451
+ function zs(e) {
4452
4452
  return pe(() => {
4453
4453
  if (e != null) return ni++, ni;
4454
4454
  }, [e]);
4455
4455
  }
4456
4456
  const Ns = et.memo((e) => {
4457
4457
  let { adjustScale: t = !1, children: n, dropAnimation: o, style: i, transition: r, modifiers: d, wrapperElement: c = "div", className: l, zIndex: g = 999 } = e;
4458
- const { activatorEvent: w, active: h, activeNodeRect: a, containerNodeRect: R, draggableNodes: y, droppableContainers: M, dragOverlay: E, over: $, measuringConfiguration: O, scrollableAncestors: x, scrollableAncestorRects: F, windowRect: u } = Yi(), D = Kt(Eo), C = Fs(h?.id), W = Ki(d, { activatorEvent: w, active: h, activeNodeRect: a, containerNodeRect: R, draggingNodeRect: E.rect, over: $, overlayNodeRect: E.rect, scrollableAncestors: x, scrollableAncestorRects: F, transform: D, windowRect: u }), A = or(a), L = zs({ config: o, draggableNodes: y, droppableContainers: M, measuringConfiguration: O }), U = A ? E.setRef : void 0;
4458
+ const { activatorEvent: w, active: h, activeNodeRect: a, containerNodeRect: R, draggableNodes: y, droppableContainers: M, dragOverlay: E, over: $, measuringConfiguration: O, scrollableAncestors: x, scrollableAncestorRects: z, windowRect: u } = Yi(), D = Kt(Eo), C = zs(h?.id), W = Ki(d, { activatorEvent: w, active: h, activeNodeRect: a, containerNodeRect: R, draggingNodeRect: E.rect, over: $, overlayNodeRect: E.rect, scrollableAncestors: x, scrollableAncestorRects: z, transform: D, windowRect: u }), A = or(a), L = Fs({ config: o, draggableNodes: y, droppableContainers: M, measuringConfiguration: O }), U = A ? E.setRef : void 0;
4459
4459
  return et.createElement(Ms, null, et.createElement(Rs, { animation: L }, h && C ? et.createElement(Es, { key: C, id: h.id, ref: U, as: c, activatorEvent: w, adjustScale: t, className: l, transition: r, rect: A, style: { zIndex: g, ...i }, transform: W }, n) : null));
4460
4460
  });
4461
4461
  function gr(e, t, n) {
@@ -4497,7 +4497,7 @@ function Os(e) {
4497
4497
  if (D.length !== C.length) return !1;
4498
4498
  for (let W = 0; W < D.length; W++) if (D[W] !== C[W]) return !1;
4499
4499
  return !0;
4500
- })(R, $.current), x = E !== -1 && M === -1 || O, F = /* @__PURE__ */ (function(D) {
4500
+ })(R, $.current), x = E !== -1 && M === -1 || O, z = /* @__PURE__ */ (function(D) {
4501
4501
  return typeof D == "boolean" ? { draggable: D, droppable: D } : D;
4502
4502
  })(r);
4503
4503
  _t(() => {
@@ -4505,7 +4505,7 @@ function Os(e) {
4505
4505
  }, [O, R, y, w]), ve(() => {
4506
4506
  $.current = R;
4507
4507
  }, [R]);
4508
- const u = pe(() => ({ activeIndex: M, containerId: h, disabled: F, disableTransforms: x, items: R, overIndex: E, useDragOverlay: a, sortedRects: Ls(R, l), strategy: i }), [M, h, F.draggable, F.droppable, x, R, E, l, a, i]);
4508
+ const u = pe(() => ({ activeIndex: M, containerId: h, disabled: z, disableTransforms: x, items: R, overIndex: E, useDragOverlay: a, sortedRects: Ls(R, l), strategy: i }), [M, h, z.draggable, z.droppable, x, R, E, l, a, i]);
4509
4509
  return et.createElement(Qi.Provider, { value: u }, t);
4510
4510
  }
4511
4511
  const Bs = (e) => {
@@ -4520,11 +4520,11 @@ function Us(e) {
4520
4520
  const { items: w, containerId: h, activeIndex: a, disabled: R, disableTransforms: y, sortedRects: M, overIndex: E, useDragOverlay: $, strategy: O } = Kt(Qi), x = (function(P, ee) {
4521
4521
  var he, ae;
4522
4522
  return typeof P == "boolean" ? { draggable: P, droppable: !1 } : { draggable: (he = P?.draggable) != null ? he : ee.draggable, droppable: (ae = P?.droppable) != null ? ae : ee.droppable };
4523
- })(o, R), F = w.indexOf(d), u = pe(() => ({ sortable: { containerId: h, index: F, items: w }, ...i }), [h, i, F, w]), D = pe(() => w.slice(w.indexOf(d)), [w, d]), { rect: C, node: W, isOver: A, setNodeRef: L } = (function(P) {
4523
+ })(o, R), z = w.indexOf(d), u = pe(() => ({ sortable: { containerId: h, index: z, items: w }, ...i }), [h, i, z, w]), D = pe(() => w.slice(w.indexOf(d)), [w, d]), { rect: C, node: W, isOver: A, setNodeRef: L } = (function(P) {
4524
4524
  let { data: ee, disabled: he = !1, id: ae, resizeObserverConfig: Be } = P;
4525
- const ie = Jn("Droppable"), { active: fe, dispatch: Ne, over: Re, measureDroppableContainers: Ze } = Kt(Qn), m = ke({ disabled: he }), We = ke(!1), je = ke(null), dt = ke(null), { disabled: le, updateMeasurementsFor: Ie, timeout: Ve } = { ...ks, ...Be }, Fe = Gn(Ie ?? ae), Te = xo({ callback: Qe(() => {
4525
+ const ie = Jn("Droppable"), { active: fe, dispatch: Ne, over: Re, measureDroppableContainers: Ze } = Kt(Qn), m = ke({ disabled: he }), We = ke(!1), je = ke(null), dt = ke(null), { disabled: le, updateMeasurementsFor: Ie, timeout: Ve } = { ...ks, ...Be }, ze = Gn(Ie ?? ae), Te = xo({ callback: Qe(() => {
4526
4526
  We.current ? (dt.current != null && clearTimeout(dt.current), dt.current = setTimeout(() => {
4527
- Ze(Array.isArray(Fe.current) ? Fe.current : [Fe.current]), dt.current = null;
4527
+ Ze(Array.isArray(ze.current) ? ze.current : [ze.current]), dt.current = null;
4528
4528
  }, Ve)) : We.current = !0;
4529
4529
  }, [Ve]), disabled: le || !fe }), I = Qe((Me, s) => {
4530
4530
  Te && (s && (Te.unobserve(s), We.current = !1), Me && Te.observe(Me));
@@ -4534,12 +4534,12 @@ function Us(e) {
4534
4534
  }, [Z, Te]), ve(() => (Ne({ type: Tt.RegisterDroppable, element: { id: ae, key: ie, disabled: he, node: Z, rect: je, data: j } }), () => Ne({ type: Tt.UnregisterDroppable, key: ie, id: ae })), [ae]), ve(() => {
4535
4535
  he !== m.current.disabled && (Ne({ type: Tt.SetDroppableDisabled, id: ae, key: ie, disabled: he }), m.current.disabled = he);
4536
4536
  }, [ae, ie, he, Ne]), { active: fe, rect: je, isOver: Re?.id === ae, node: Z, over: Re, setNodeRef: N };
4537
- })({ id: d, data: u, disabled: x.droppable, resizeObserverConfig: { updateMeasurementsFor: D, ...l } }), { active: U, activatorEvent: de, activeNodeRect: H, attributes: B, setNodeRef: q, listeners: V, isDragging: S, over: z, setActivatorNodeRef: J, transform: re } = xs({ id: d, data: u, attributes: { ...$s, ...n }, disabled: x.draggable }), Ae = (function() {
4537
+ })({ id: d, data: u, disabled: x.droppable, resizeObserverConfig: { updateMeasurementsFor: D, ...l } }), { active: U, activatorEvent: de, activeNodeRect: H, attributes: B, setNodeRef: q, listeners: V, isDragging: S, over: F, setActivatorNodeRef: J, transform: re } = xs({ id: d, data: u, attributes: { ...$s, ...n }, disabled: x.draggable }), Ae = (function() {
4538
4538
  for (var P = arguments.length, ee = new Array(P), he = 0; he < P; he++) ee[he] = arguments[he];
4539
4539
  return pe(() => (ae) => {
4540
4540
  ee.forEach((Be) => Be(ae));
4541
4541
  }, ee);
4542
- })(L, q), me = !!U, Oe = me && !y && mo(a) && mo(E), Le = !$ && S, be = Le && Oe ? re : null, Ee = Oe ? be ?? (c ?? O)({ rects: M, activeNodeRect: H, activeIndex: a, overIndex: E, index: F }) : null, Xe = mo(a) && mo(E) ? r({ id: d, items: w, activeIndex: a, overIndex: E }) : F, Q = U?.id, G = ke({ activeId: Q, items: w, newIndex: Xe, containerId: h }), ce = w !== G.current.items, Pe = t({ active: U, containerId: h, isDragging: S, isSorting: me, id: d, index: F, items: w, newIndex: G.current.newIndex, previousItems: G.current.items, previousContainerId: G.current.containerId, transition: g, wasDragging: G.current.activeId != null }), Ce = (function(P) {
4542
+ })(L, q), me = !!U, Oe = me && !y && mo(a) && mo(E), Le = !$ && S, be = Le && Oe ? re : null, Ee = Oe ? be ?? (c ?? O)({ rects: M, activeNodeRect: H, activeIndex: a, overIndex: E, index: z }) : null, Xe = mo(a) && mo(E) ? r({ id: d, items: w, activeIndex: a, overIndex: E }) : z, Q = U?.id, G = ke({ activeId: Q, items: w, newIndex: Xe, containerId: h }), ce = w !== G.current.items, Pe = t({ active: U, containerId: h, isDragging: S, isSorting: me, id: d, index: z, items: w, newIndex: G.current.newIndex, previousItems: G.current.items, previousContainerId: G.current.containerId, transition: g, wasDragging: G.current.activeId != null }), Ce = (function(P) {
4543
4543
  let { disabled: ee, index: he, node: ae, rect: Be } = P;
4544
4544
  const [ie, fe] = ge(null), Ne = ke(he);
4545
4545
  return _t(() => {
@@ -4554,7 +4554,7 @@ function Us(e) {
4554
4554
  }, [ee, he, ae, Be]), ve(() => {
4555
4555
  ie && fe(null);
4556
4556
  }, [ie]), ie;
4557
- })({ disabled: !Pe, index: F, node: W, rect: C });
4557
+ })({ disabled: !Pe, index: z, node: W, rect: C });
4558
4558
  return ve(() => {
4559
4559
  me && G.current.newIndex !== Xe && (G.current.newIndex = Xe), h !== G.current.containerId && (G.current.containerId = h), w !== G.current.items && (G.current.items = w);
4560
4560
  }, [me, Xe, h, w]), ve(() => {
@@ -4564,8 +4564,8 @@ function Us(e) {
4564
4564
  G.current.activeId = Q;
4565
4565
  }, 50);
4566
4566
  return () => clearTimeout(P);
4567
- }, [Q]), { active: U, activeIndex: a, attributes: B, data: u, rect: C, index: F, newIndex: Xe, items: w, isOver: A, isSorting: me, isDragging: S, listeners: V, node: W, overIndex: E, over: z, setNodeRef: Ae, setActivatorNodeRef: J, setDroppableNodeRef: L, setDraggableNodeRef: q, transform: Ce ?? Ee, transition: (function() {
4568
- if (Ce || ce && G.current.newIndex === F) return Ws;
4567
+ }, [Q]), { active: U, activeIndex: a, attributes: B, data: u, rect: C, index: z, newIndex: Xe, items: w, isOver: A, isSorting: me, isDragging: S, listeners: V, node: W, overIndex: E, over: F, setNodeRef: Ae, setActivatorNodeRef: J, setDroppableNodeRef: L, setDraggableNodeRef: q, transform: Ce ?? Ee, transition: (function() {
4568
+ if (Ce || ce && G.current.newIndex === z) return Ws;
4569
4569
  if (!(Le && !Do(de) || !g) && (me || Pe))
4570
4570
  return hn.Transition.toString({ ...g, property: el });
4571
4571
  })() };
@@ -4603,18 +4603,18 @@ const _s = [ct.Down, ct.Right, ct.Up, ct.Left], js = (e, t) => {
4603
4603
  for (const $ of y) {
4604
4604
  const { id: O } = $, x = R.get(O);
4605
4605
  if (x) {
4606
- const F = Wr(x), u = M.reduce((C, W, A) => C + Ei(F[A], W), 0), D = Number((u / 4).toFixed(4));
4606
+ const z = Wr(x), u = M.reduce((C, W, A) => C + Ei(z[A], W), 0), D = Number((u / 4).toFixed(4));
4607
4607
  E.push({ id: O, data: { droppableContainer: $, value: D } });
4608
4608
  }
4609
4609
  }
4610
4610
  return E.sort(Ii);
4611
4611
  })({ collisionRect: o, droppableRects: i, droppableContainers: l });
4612
- let w = zi(g, "id");
4612
+ let w = Fi(g, "id");
4613
4613
  if (w === d?.id && g.length > 1 && (w = g[1].id), w != null) {
4614
4614
  const h = r.get(n.id), a = r.get(w), R = a ? i.get(a.id) : null, y = a?.node.current;
4615
4615
  if (y && R && h && a) {
4616
- const M = Ao(y).some((F, u) => c[u] !== F), E = oi(h, a), $ = (function(F, u) {
4617
- return !ko(F) || !ko(u) || !oi(F, u) ? !1 : F.data.current.sortable.index < u.data.current.sortable.index;
4616
+ const M = Ao(y).some((z, u) => c[u] !== z), E = oi(h, a), $ = (function(z, u) {
4617
+ return !ko(z) || !ko(u) || !oi(z, u) ? !1 : z.data.current.sortable.index < u.data.current.sortable.index;
4618
4618
  })(h, a), O = M || !E ? { x: 0, y: 0 } : { x: $ ? o.width - R.width : 0, y: $ ? o.height - R.height : 0 }, x = { x: R.left, y: R.top };
4619
4619
  return O.x && O.y ? x : Zn(x, O);
4620
4620
  }
@@ -4639,38 +4639,38 @@ const Gs = (e) => {
4639
4639
  const x = w ? w({ dragOverlay: !!t, dragging: !!n, sorting: !!h, index: c, fadeIn: !!i, listeners: l, ref: O, style: a, transform: y, transition: R, value: M }) : f(kn, { children: M });
4640
4640
  return f("div", { className: xt("tab-item", Ut.Wrapper, i && Ut.fadeIn, h && Ut.sorting, t && Ut.dragOverlay), style: { ...E, transition: [R, E?.transition].filter(Boolean).join(", "), "--translate-x": y ? `${Math.round(y.x)}px` : void 0, "--translate-y": y ? `${Math.round(y.y)}px` : void 0, "--scale-x": y?.scaleX ? `${y.scaleX}` : void 0, "--scale-y": y?.scaleY ? `${y.scaleY}` : void 0, "--index": c }, ref: O, children: f("div", { className: xt(Ut.Item, n && Ut.dragging, r && Ut.withHandle, t && Ut.dragOverlay, o && Ut.disabled, e && Ut.color, "dragging"), style: a, "data-cypress": "draggable-item", ...r ? void 0 : l, ...$, tabIndex: r ? void 0 : -1, children: x }) });
4641
4641
  })), ri = { Row: "_Row_1kr10_1" }, Ks = mt(vt(({ children: e, horizontal: t, style: n }, o) => f("div", { ref: o, style: { ...n }, className: xt(ri.Row, t && ri.horizontal), children: e }))), Ys = { ...Xi }, Xs = mt(vt((e, t) => {
4642
- const { className: n, activationConstraint: o, animateLayoutChanges: i, adjustScale: r = !1, collisionDetection: d = Qa, coordinateGetter: c = js, dropAnimation: l = Ys, getItemStyles: g = () => ({}), getNewIndex: w, handle: h = !1, items: a, onMove: R, isDisabled: y = () => !1, measuring: M, modifiers: E, renderItem: $, renderDivider: O, reorderItems: x = gr, strategy: F = hr, style: u, useDragOverlay: D = !0, onDragStart: C, wrapperStyle: W = () => ({}) } = e, [A, L] = ge(() => a);
4642
+ const { className: n, activationConstraint: o, animateLayoutChanges: i, adjustScale: r = !1, collisionDetection: d = Qa, coordinateGetter: c = js, dropAnimation: l = Ys, getItemStyles: g = () => ({}), getNewIndex: w, handle: h = !1, items: a, onMove: R, isDisabled: y = () => !1, measuring: M, modifiers: E, renderItem: $, renderDivider: O, reorderItems: x = gr, strategy: z = hr, style: u, useDragOverlay: D = !0, onDragStart: C, wrapperStyle: W = () => ({}) } = e, [A, L] = ge(() => a);
4643
4643
  ve(() => {
4644
4644
  L(a);
4645
4645
  }, [a]);
4646
4646
  const [U, de] = ge(null), H = (function() {
4647
- for (var z = arguments.length, J = new Array(z), re = 0; re < z; re++) J[re] = arguments[re];
4647
+ for (var F = arguments.length, J = new Array(F), re = 0; re < F; re++) J[re] = arguments[re];
4648
4648
  return pe(() => [...J].filter((Ae) => Ae != null), [...J]);
4649
4649
  })(Go(Ui, { activationConstraint: o }), Go(_i, { activationConstraint: o }), Go(dr, { scrollBehavior: "Cypress" in window ? "auto" : void 0, coordinateGetter: c })), B = A.indexOf.bind(A), q = U ? B(U) : -1, V = [];
4650
- A.map((z, J) => {
4651
- V.push(f(Js, { id: z, handle: h, index: J, style: g, wrapperStyle: W, disabled: y(z), renderItem: $, animateLayoutChanges: i, useDragOverlay: D, getNewIndex: w }, z + "-" + J));
4650
+ A.map((F, J) => {
4651
+ V.push(f(Js, { id: F, handle: h, index: J, style: g, wrapperStyle: W, disabled: y(F), renderItem: $, animateLayoutChanges: i, useDragOverlay: D, getNewIndex: w }, F + "-" + J));
4652
4652
  const re = O?.({ key: "divider-" + J });
4653
4653
  re && V.push(re);
4654
4654
  });
4655
4655
  const { getPortalContainer: S } = ql();
4656
- return nt(qs, { sensors: H, collisionDetection: d, onDragStart: (z) => {
4657
- const { active: J } = z;
4658
- J && (C?.(z), de(J.id));
4659
- }, autoScroll: { canScroll: (z) => !0 }, onDragEnd: (z) => {
4660
- if (de(null), z.over) {
4661
- const J = B(z.over.id);
4656
+ return nt(qs, { sensors: H, collisionDetection: d, onDragStart: (F) => {
4657
+ const { active: J } = F;
4658
+ J && (C?.(F), de(J.id));
4659
+ }, autoScroll: { canScroll: (F) => !0 }, onDragEnd: (F) => {
4660
+ if (de(null), F.over) {
4661
+ const J = B(F.over.id);
4662
4662
  q !== J && (L((re) => x(re, q, J)), R?.(q, J));
4663
4663
  }
4664
4664
  }, onDragCancel: () => {
4665
4665
  de(null);
4666
- }, measuring: M, modifiers: E, children: [f("div", { style: { display: "flex", justifyContent: "flex-start", boxSizing: "border-box", ...u }, className: xt(n, Ut.Wrapper), children: f(Os, { items: A, strategy: F, children: f(Ks, { ref: t, children: V }) }) }), D ? vi(f(Ns, { adjustScale: r, dropAnimation: l, children: U ? f(tl, { value: A[q], handle: h, renderItem: $, wrapperStyle: W({ index: q, isDragging: !0, id: A[q] }), index: q, dragging: !0, style: g({ id: A[q], index: q, isSorting: U !== null, isDragging: !0, overIndex: -1, isDragOverlay: !0 }), dragOverlay: !0 }) : null }), S()) : null] });
4666
+ }, measuring: M, modifiers: E, children: [f("div", { style: { display: "flex", justifyContent: "flex-start", boxSizing: "border-box", ...u }, className: xt(n, Ut.Wrapper), children: f(Os, { items: A, strategy: z, children: f(Ks, { ref: t, children: V }) }) }), D ? vi(f(Ns, { adjustScale: r, dropAnimation: l, children: U ? f(tl, { value: A[q], handle: h, renderItem: $, wrapperStyle: W({ index: q, isDragging: !0, id: A[q] }), index: q, dragging: !0, style: g({ id: A[q], index: q, isSorting: U !== null, isDragging: !0, overIndex: -1, isDragOverlay: !0 }), dragOverlay: !0 }) : null }), S()) : null] });
4667
4667
  }));
4668
4668
  function Js({ disabled: e, animateLayoutChanges: t, getNewIndex: n, handle: o, id: i, index: r, onRemove: d, style: c, renderItem: l, useDragOverlay: g, wrapperStyle: w }) {
4669
4669
  const { attributes: h, isDragging: a, isSorting: R, listeners: y, overIndex: M, setNodeRef: E, transform: $, transition: O } = Us({ id: i, animateLayoutChanges: t, disabled: e, getNewIndex: n });
4670
4670
  return f(tl, { ref: E, value: i, disabled: e, dragging: a, sorting: R, handle: o, renderItem: l, index: r, style: c({ index: r, id: i, isDragging: a, isSorting: R, overIndex: M }), onRemove: d ? () => d(i) : void 0, transform: $, transition: O, wrapperStyle: w({ index: r, isDragging: a, id: i }), listeners: y, "data-index": r, "data-id": i, dragOverlay: !g && a, ...h });
4671
4671
  }
4672
4672
  const Qs = "_TabStrip_3x0dp_1", ec = new ci("rgb(33, 115, 70)"), tc = "#eee", nc = (e) => f(Zs, { ...e }), oc = mt(vt((e, t) => {
4673
- const { children: n, style: o, className: i, selectedTabIndex: r = 0, tabNames: d = [], onSelectedTabIndexChange: c, onTabNameChange: l, onTabMove: g, createScrollStartButton: w = Sl, createScrollEndButton: h = xl, createScrollEdgeButton: a = kl, createTabButton: R = nc, createTabDivider: y, editLabelProps: M, disabled: E = !1, disableDrag: $ = !1, background: O = "white", activeColor: x = ec, borderColor: F = tc, borderWidth: u = 1 } = e, [D, C] = ge(r), [W, A] = ge(d), L = Qe((ie) => {
4673
+ const { children: n, style: o, className: i, selectedTabIndex: r = 0, tabNames: d = [], onSelectedTabIndexChange: c, onTabNameChange: l, onTabMove: g, createScrollStartButton: w = Sl, createScrollEndButton: h = xl, createScrollEdgeButton: a = kl, createTabButton: R = nc, createTabDivider: y, editLabelProps: M, disabled: E = !1, disableDrag: $ = !1, background: O = "white", activeColor: x = ec, borderColor: z = tc, borderWidth: u = 1 } = e, [D, C] = ge(r), [W, A] = ge(d), L = Qe((ie) => {
4674
4674
  const fe = S.current?.[ie]?.closest(".tab-item") ?? S.current?.[ie];
4675
4675
  fe && Le.current?.scrollTo({ top: fe.offsetTop, left: fe.offsetLeft, behavior: "smooth" });
4676
4676
  }, []);
@@ -4689,12 +4689,12 @@ const Qs = "_TabStrip_3x0dp_1", ec = new ci("rgb(33, 115, 70)"), tc = "#eee", nc
4689
4689
  }, [r]), Bt(() => {
4690
4690
  A(d);
4691
4691
  }, [d]);
4692
- const S = ke([]), z = ke(null);
4692
+ const S = ke([]), F = ke(null);
4693
4693
  Al(t, () => Object.assign({ startEdit(ie) {
4694
4694
  S.current?.[ie]?.startEdit();
4695
4695
  }, cancel(ie) {
4696
4696
  S.current?.[ie]?.cancel();
4697
- } }, z.current), [D, B]);
4697
+ } }, F.current), [D, B]);
4698
4698
  const J = Qe(({ value: ie, index: fe, dragging: Ne }) => {
4699
4699
  const { style: Re, maxLength: Ze, ...m } = M || {}, We = f($a, { ref: (je) => {
4700
4700
  S.current[fe] = je;
@@ -4703,7 +4703,7 @@ const Qs = "_TabStrip_3x0dp_1", ec = new ci("rgb(33, 115, 70)"), tc = "#eee", nc
4703
4703
  }, onChange: (je) => {
4704
4704
  H.current = !0, q(fe);
4705
4705
  }, ...m });
4706
- return R({ onClick: (je) => U(je, fe), value: ie, index: fe, editing: B === fe && H.current, editable: !0, disabled: E, selectedIndex: D, background: O, activeColor: x, borderColor: F, borderWidth: u, dragging: Ne, children: We });
4706
+ return R({ onClick: (je) => U(je, fe), value: ie, index: fe, editing: B === fe && H.current, editable: !0, disabled: E, selectedIndex: D, background: O, activeColor: x, borderColor: z, borderWidth: u, dragging: Ne, children: We });
4707
4707
  }, [D, V, U, M, E, B, R]), [re, { width: Ae }] = gn(), [me, { width: Oe }] = gn(), Le = ke(null), [be, Ee] = ge({ left: 0, top: 0, width: 0, height: 0 }), [Xe, Q] = ge(null);
4708
4708
  ve(() => {
4709
4709
  Xe !== null && Le.current && Le.current.scrollTo({ left: Xe, behavior: "smooth" });
@@ -4727,12 +4727,12 @@ const Qs = "_TabStrip_3x0dp_1", ec = new ci("rgb(33, 115, 70)"), tc = "#eee", nc
4727
4727
  }, [G, ce, P]);
4728
4728
  ve(() => () => P(), [P]);
4729
4729
  const he = pe(() => ({ style: { marginLeft: "4px", marginRight: "6px" }, disabled: Math.floor(be.left) <= 0 || Math.floor(Oe - Ae) === 0, orientation: dn.Horizontal, onMouseUp: P, onMouseLeave: P, onMouseDown: () => ee(Le.current.scrollLeft, !0), onClick: (ie) => G(Math.min(Le.current.scrollLeft, Xe ?? Number.MAX_SAFE_INTEGER), ie.ctrlKey) }), [be, Xe, Oe, Ae]), ae = pe(() => ({ style: { marginLeft: "6px", marginRight: "4px" }, disabled: Math.floor(Oe - Ae) <= Math.ceil(be.left), orientation: dn.Horizontal, onMouseUp: P, onMouseLeave: P, onMouseDown: () => ee(Le.current.scrollLeft, !1), onClick: (ie) => ce(Math.max(Le.current.scrollLeft, Xe ?? 0), ie.ctrlKey) }), [be, Xe, Oe, Ae]), Be = pe(() => nt(kn, { children: [f("div", { style: { minWidth: "16px" } }), n, a?.(he)] }), [he, ae, w, h, n, a]);
4730
- return nt("div", { style: { ...o, display: "flex", alignItems: "stretch" }, className: xt(Qs, i), ref: z, children: [f("div", { style: { borderTop: `solid ${F} ${u}px`, position: "absolute", width: "100%" } }), f("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: Be }), f("div", { className: "Tabs", ref: re, style: { flex: "1 1 100%", display: "flex", position: "relative", overflow: "hidden" }, children: f("div", { style: { position: "relative", overflowY: "hidden", overflowX: "hidden", marginBottom: "3px" }, ref: Le, onScroll: (ie) => {
4730
+ return nt("div", { style: { ...o, display: "flex", alignItems: "stretch" }, className: xt(Qs, i), ref: F, children: [f("div", { style: { borderTop: `solid ${z} ${u}px`, position: "absolute", width: "100%" } }), f("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: Be }), f("div", { className: "Tabs", ref: re, style: { flex: "1 1 100%", display: "flex", position: "relative", overflow: "hidden" }, children: f("div", { style: { position: "relative", overflowY: "hidden", overflowX: "hidden", marginBottom: "3px" }, ref: Le, onScroll: (ie) => {
4731
4731
  Ee({ left: ie.target.scrollLeft, top: ie.target.scrollTop, width: ie.target.scrollWidth, height: ie.target.scrollHeight });
4732
4732
  }, children: f(Xs, { isDisabled: (ie) => E || $, items: W, strategy: Ps, modifiers: [Gs], ref: me, renderItem: J, renderDivider: y, onMove: de, activationConstraint: { distance: 15 } }) }) }), f("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: a(ae) })] });
4733
4733
  }));
4734
4734
  oc.displayName = "TabStrip";
4735
- const Rc = (e) => nt("svg", { ...e, viewBox: "0 0 48 48", children: [f("path", { d: "M 2.2827924,0 C 1.5038324,0 0.87090248,0.52603 0.87090248,1.17149 v 25.39667 h -0.01 v 20.2607 c 0,0.39663 0.24025002,0.74639 0.60481992,0.95852 v 0.18499 h 0.50664 c 0.0972,0.0173 0.19732,0.0276 0.30092,0.0276 h 15.5346916 16.7448 v 0 h 11.35822 c 0.10311,0 0.20276,-0.0104 0.29945,-0.0276 h 0.0696 v -0.0182 c 0.59938,-0.13566 1.04238,-0.58606 1.04238,-1.12526 V 26.96484 c 0.006,-0.0429 0.009,-0.0853 0.009,-0.12925 V 1.17154 c 0,-0.64586 -0.63293,-1.17149 -1.41189,-1.17149 h -15.7478 v 2e-4 h -2.06997 V 5e-5 Z", fill: "#547DBE" }), f("path", { d: "m 2.8338324,2.7184 v 9.0404 H 11.538484 V 2.7184 Z m 11.2334116,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.26696,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.33258,0 v 9.0404 h 8.70465 V 2.7184 Z M 2.8338324,14.32723 v 8.84046 h 8.7046516 v -8.84046 z m 11.2334116,0 v 8.84046 h 8.70465 v -8.84046 z m 11.26696,0 v 8.84046 h 8.70465 v -8.84046 z m 11.33258,0 v 8.84046 h 8.70465 V 14.32723 Z M 2.8338324,25.73691 v 8.67308 h 8.7046516 v -8.67308 z m 11.2334116,0 v 8.67308 h 8.73721 v -8.67308 z m 11.26696,0 v 8.67308 h 8.70465 v -8.67308 z m 11.33258,0 v 8.67308 h 8.70465 V 25.73691 Z M 2.8693424,36.61859 v 8.67357 h 8.7046616 v -8.67357 z m 11.2339116,0 v 8.67357 h 8.73771 v -8.67357 z m 11.26697,0 v 8.67357 h 8.70465 v -8.67357 z m 11.33257,0 v 8.67357 h 8.70465 v -8.67357 z", fill: "#FFFFFF" }), f("path", { d: "m 2.8254424,2.72091 v 9.04041 H 11.570544 V 2.72091 Z m 0,11.60889 v 8.84036 H 11.570544 V 14.3298 Z m 0,11.40958 v 8.67357 h 8.7451016 v -8.67357 z m 0.036,10.88167 v 8.67358 h 8.7451116 v -8.67358 z", fill: "#547DBE", fillOpacity: "0.4" }), f("path", { d: "m 30.820434,6.19497 c 1.85291,0 3.66241,0.29708 5.4285,0.89113 1.7656,0.5942 3.49568,1.50108 5.19073,2.72107 l -2.37584,3.25571 c -1.40941,-1.01391 -2.79515,-1.76647 -4.15721,-2.25759 -1.36206,-0.49111 -2.72412,-0.73667 -4.08618,-0.73667 -2.5817,0 -4.58902,0.53064 -6.02232,1.59218 -1.43334,1.06143 -2.14989,2.56661 -2.14989,4.51523 v 0.0237 c 0,1.36241 0.41177,2.40021 1.23532,3.11315 0.82355,0.71288 1.89253,1.24367 3.20703,1.59217 1.31446,0.3485 2.71608,0.67341 4.20493,0.97439 1.29842,0.26929 2.58944,0.58216 3.87257,0.9386 1.28263,0.3565 2.45032,0.8635 3.50356,1.52097 1.05324,0.65747 1.89288,1.5486 2.51841,2.6734 0.62553,1.12485 0.93829,2.59035 0.93829,4.39635 v 0.0477 c 0,3.18435 -1.10849,5.64817 -3.32597,7.39066 -2.21698,1.7425 -5.33724,2.61399 -9.35978,2.61399 -1.67882,0 -3.25863,-0.15841 -4.73958,-0.47523 -1.4808,-0.31681 -2.86644,-0.79204 -4.15737,-1.42617 -1.29077,-0.63363 -2.49827,-1.42567 -3.6227,-2.37612 l 2.54179,-3.20819 c 1.39383,1.204 2.91819,2.10717 4.57323,2.70928 1.6549,0.60205 3.45641,0.90307 5.40463,0.90307 2.73991,0 4.85823,-0.52704 6.35447,-1.58048 1.49674,-1.05359 2.24511,-2.53098 2.24511,-4.43213 v -0.0237 c 0,-1.37834 -0.37197,-2.43583 -1.11639,-3.17245 -0.74442,-0.73668 -1.71824,-1.2912 -2.92194,-1.66359 -1.2037,-0.37223 -2.51051,-0.6851 -3.91993,-0.9386 -1.34627,-0.23762 -2.69635,-0.51485 -4.05046,-0.83182 -1.35417,-0.31677 -2.59339,-0.7841 -3.71782,-1.40204 -1.12448,-0.61779 -2.03125,-1.49708 -2.72017,-2.63782 -0.68898,-1.14078 -1.03341,-2.66156 -1.03341,-4.5627 v -0.0237 c 0,-3.21623 1.06898,-5.70753 3.20718,-7.47386 2.13805,-1.76648 5.15506,-2.64981 9.05121,-2.64981 z", strokeWidth: "2.5", stroke: "#EB594D", fill: "#f9CECB" })] }), Tc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), Mc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -1195 h 512 v 1195 h 256 v -1621 h 512 v 1621 m -810 -512 h -427 v 512 h 427 m 768 -768 h -427 v 768 h 427 z" }), f("path", { className: "styled background", d: "M 832 1941 h -469 v -554 h 469 m 768 554 h -469 v -810 h 469 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -555 h 512 v 555 h 256 v -811 h 512 v 811 m -469 0 h 427 v -768 h -427 m -768 768 h 427 v -512 h -427 z" }), f("path", { className: "styled info_light", d: "M 832 1387 h -469 v -640 h 469 z" }), f("path", { className: "styled info_dark", d: "M 341 725 h 512 v 683 h -512 m 43 -640 v 597 h 427 v -597 z" }), f("path", { className: "styled secondary_light", d: "M 1600 1131 h -469 v -811 h 469 z" }), f("path", { className: "styled secondary_dark", d: "M 1109 299 h 512 v 853 h -512 m 43 -811 v 768 h 427 v -768 z" })] }), Dc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -1621 h 512 v 1621 h 256 v -1621 h 512 v 1621 m -810 -384 h -427 v 384 h 427 m 768 -1024 h -427 v 1024 h 427 z" }), f("path", { className: "styled background", d: "M 832 1941 h -469 v -426 h 469 m 768 426 h -469 v -1066 h 469 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -427 h 512 v 427 h 256 v -1067 h 512 v 1067 m -469 0 h 427 v -1024 h -427 m -768 1024 h 427 v -384 h -427 z" }), f("path", { className: "styled info_light", d: "M 832 1515 h -469 v -1195 h 469 z" }), f("path", { className: "styled info_dark", d: "M 341 299 h 512 v 1237 h -512 m 43 -1195 v 1152 h 427 v -1152 z" }), f("path", { className: "styled secondary_light", d: "M 1600 875 h -469 v -555 h 469 z" }), f("path", { className: "styled secondary_dark", d: "M 1109 299 h 512 v 597 h -512 m 43 -555 v 512 h 427 v -512 z" })] }), Ac = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1165 l 574 -574 l 197 144 l 402 -402 l 361 360 l 263 -301 l 32 28 l -265 303 l 264 265 l -30 30 l -262 -263 l -317 362 l -444 -326 l -775 776 v 268 m 806 -1074 l 407 299 l 292 -335 l -332 -332 m -1173 832 v 281 l 740 -740 l -162 -119 z" }), f("path", { className: "styled info", d: "M 122 1658 l -30 -30 l 1209 -1210 l 655 655 l -30 30 l -625 -625 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1165 l 574 -574 l 639 469 l 584 -668 l 32 28 l -610 697 l -641 -470 l -578 578 v 610 z" })] }), Ec = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1037 l 571 -570 l 535 259 l 651 -550 l 27 33 l -669 565 l -534 -259 l -581 582 v 452 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" }), f("path", { className: "styled info", d: "M 121 1189 l -29 -31 l 607 -606 l 535 259 l 651 -550 l 27 33 l -669 565 l -534 -259 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1549 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" })] }), Ic = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 171 h 1749 v 43 h -1749 v 1335 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" }), f("path", { className: "styled info", d: "M 1877 299 h -1770 v -43 h 1770 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1549 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" })] }), zc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -214 h -42 v -170 h 42 v -256 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 99 73 l 175 -190 h -18 v -170 h 170 v 140 l 233 233 l 280 -373 v -171 h 170 v 171 h -118 l -302 402 l 194 195 h 98 v 171 h -171 v -171 h 13 l -160 -160 l -109 144 v 144 h -170 v -104 l -279 -205 l -703 759 v 147 h -85 m 1015 -1152 l -199 215 l 251 184 v -15 h 139 l 110 -147 l -237 -237 m -1079 726 v 256 h 48 l 705 -761 l -70 -52 v 2 h -171 v -12 l -427 426 v 141 z" }), f("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -640 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 416 -554 v -171 h 170 v 171 h -118 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -85 z" }), f("path", { className: "styled info", d: "M 1694 1024 h 98 v 171 h -171 v -171 h 13 l -427 -427 h -64 l -930 1005 v 147 h -170 v -170 h 133 l 909 -982 h -18 v -170 h 170 v 140 z" })] }), Fc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -256 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -554 v -171 h 171 v 171 h -118 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -85 v 256 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1494 h 43 v 1494 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), f("path", { className: "styled info", d: "M 1802 427 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -170 v -171 h 140 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -554 v -171 h 171 v 171 z" })] }), Nc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1195 h -42 v -171 h 42 v -128 h 43 v 128 h 85 v 43 h 384 v -43 h 171 v 43 h 427 v -43 h 170 v 43 h 384 v -43 h 171 v 171 h -171 v -85 h -384 v 85 h -170 v -85 h -427 v 85 h -171 v -85 h -384 v 85 h -85 v 1195 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1494 h 43 v 1494 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), f("path", { className: "styled info", d: "M 1920 213 v 171 h -171 v -85 h -384 v 85 h -170 v -85 h -427 v 85 h -171 v -85 h -384 v 85 h -170 v -171 h 170 v 43 h 384 v -43 h 171 v 43 h 427 v -43 h 170 v 43 h 384 v -43 z" })] }), Lc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 130 -33 250 q -34 119 -95 224 q -62 104 -147 190 q -86 86 -190 147 q -105 61 -225 95 q -120 33 -249 33 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -126 32 -243 q 31 -117 89 -219 q 58 -102 140 -187 q 82 -86 182 -148 q 100 -62 217 -99 q 116 -37 243 -43 m -862 939 q 0 124 32 238 q 32 114 91 214 q 58 99 140 181 q 82 82 182 141 q 99 58 214 90 q 114 32 237 32 q 173 0 325 -61 q 151 -61 272 -167 l -638 -638 v -924 q -121 6 -230 41 q -109 35 -204 94 q -95 59 -172 140 q -78 81 -133 179 q -55 97 -85 209 q -31 111 -31 231 z" }), f("path", { className: "styled background", d: "M 1941 1024 q 0 127 -32 244 q -33 117 -93 219 q -60 102 -143 186 q -84 83 -186 143 q -102 60 -219 93 q -117 32 -244 32 q -127 0 -244 -32 q -117 -33 -219 -93 q -102 -60 -185 -143 q -84 -84 -144 -186 q -60 -102 -92 -219 q -33 -117 -33 -244 q 0 -127 33 -244 q 32 -117 92 -219 q 60 -102 144 -185 q 83 -84 185 -144 q 102 -60 219 -92 q 117 -33 244 -33 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 z" }), f("path", { className: "styled current_color", d: "M 1666 1709 q -127 118 -291 186 q -164 68 -351 68 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -128 33 -246 q 32 -119 92 -222 q 59 -103 143 -188 q 84 -86 186 -147 q 102 -62 220 -97 q 117 -35 244 -38 v 43 q -121 3 -233 37 q -112 33 -209 92 q -97 59 -177 140 q -80 81 -137 180 q -57 98 -88 211 q -31 113 -31 235 q 0 124 32 238 q 32 114 91 214 q 58 99 140 181 q 82 82 182 141 q 99 58 214 90 q 114 32 237 32 q 178 0 334 -65 q 156 -65 277 -177 z" }), f("path", { className: "styled info_light", d: "M 1024 107 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 q 0 99 -20 193 q -21 93 -58 178 q -38 85 -92 160 q -54 75 -121 138 l -647 -648 v -937 q 5 0 11 0 q 5 -1 10 -1 z" }), f("path", { className: "styled info_dark", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -62 187 q -41 89 -99 168 q -58 78 -130 142 q -9 -8 -15 -15 q -6 -6 -10 -10 q -5 -5 -5 -6 l -639 -638 v -969 m 670 1578 q 62 -61 112 -133 q 50 -72 85 -153 q 35 -82 54 -170 q 18 -89 18 -183 q 0 -123 -32 -237 q -32 -115 -90 -214 q -59 -100 -141 -182 q -82 -82 -181 -140 q -100 -59 -214 -91 q -115 -32 -238 -32 v 908 z" })] }), Pc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -63 187 q -41 89 -98 168 q -58 78 -130 142 q -125 112 -284 176 q -160 64 -342 64 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -126 33 -244 q 33 -118 93 -221 q 59 -104 144 -190 q 84 -86 187 -148 q 102 -62 221 -97 q 118 -36 247 -39 m 307 1305 q 81 -65 129 -159 q 47 -95 47 -207 q 0 -97 -37 -182 q -37 -86 -100 -149 q -64 -64 -149 -101 q -86 -37 -183 -37 q -11 0 -21 1 q -11 0 -22 1 q -90 8 -167 48 q -78 39 -135 102 q -58 62 -91 144 q -33 81 -33 173 q 0 97 37 183 q 37 85 101 149 q 63 63 149 100 q 85 37 182 37 q 84 0 159 -27 q 74 -28 134 -76 m -293 530 q 173 0 325 -60 q 151 -61 270 -168 l -272 -272 q -66 54 -148 85 q -82 31 -175 31 q -106 0 -199 -40 q -94 -40 -163 -109 q -70 -70 -110 -163 q -40 -94 -40 -200 q 0 -100 37 -189 q 36 -90 100 -158 q 63 -69 149 -112 q 85 -43 183 -51 v -384 q -119 6 -228 41 q -109 35 -204 94 q -95 59 -172 140 q -78 81 -133 179 q -56 97 -86 209 q -30 111 -30 231 q 0 124 32 239 q 32 114 91 214 q 58 99 140 181 q 81 81 181 140 q 99 58 214 90 q 114 32 238 32 z" }), f("path", { className: "styled background", d: "M 1658 1692 q -125 119 -286 187 q -162 68 -348 68 q -127 0 -244 -33 q -118 -33 -220 -93 q -103 -60 -186 -143 q -84 -84 -144 -186 q -60 -103 -93 -220 q -33 -118 -33 -245 q 0 -125 32 -241 q 32 -116 90 -217 q 58 -101 140 -184 q 81 -84 181 -144 q 99 -61 214 -95 q 115 -35 239 -38 v 429 q -97 5 -181 45 q -85 40 -148 106 q -63 65 -99 152 q -36 86 -36 184 q 0 101 39 190 q 38 89 104 155 q 66 66 155 105 q 89 38 190 38 q 91 0 171 -30 q 80 -31 144 -85 z" }), f("path", { className: "styled current_color", d: "M 1364 1406 q -69 61 -155 96 q -86 34 -185 34 q -106 0 -199 -40 q -94 -40 -163 -109 q -70 -70 -110 -163 q -40 -94 -40 -200 q 0 -103 39 -194 q 38 -92 105 -161 q 66 -69 156 -110 q 89 -42 191 -46 v 42 q -94 4 -175 43 q -82 38 -142 101 q -61 63 -96 147 q -35 84 -35 178 q 0 97 37 183 q 37 85 101 149 q 63 63 149 100 q 85 37 182 37 q 90 0 169 -31 q 79 -31 141 -86 m 332 333 q -127 118 -291 186 q -164 68 -351 68 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -128 33 -246 q 32 -119 92 -222 q 59 -103 143 -188 q 84 -86 186 -147 q 102 -62 220 -97 q 117 -35 244 -38 v 43 q -121 3 -233 37 q -112 33 -209 92 q -98 58 -177 140 q -80 81 -137 180 q -57 98 -88 211 q -31 113 -31 235 q 0 124 32 239 q 32 114 91 214 q 58 99 140 181 q 81 81 181 140 q 99 58 214 90 q 114 32 238 32 q 179 0 335 -64 q 155 -65 276 -178 z" }), f("path", { className: "styled info_light", d: "M 1515 1024 q 0 -102 -38 -191 q -39 -89 -106 -156 q -67 -67 -156 -105 q -89 -39 -191 -39 q -5 0 -10 1 q -6 0 -11 0 v -426 q 5 0 11 0 q 5 -1 10 -1 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 q 0 99 -20 193 q -21 93 -58 178 q -38 85 -92 160 q -54 75 -121 138 l -302 -301 q 77 -68 122 -162 q 45 -95 45 -206 z" }), f("path", { className: "styled info_dark", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -63 188 q -41 89 -98 168 q -58 78 -130 142 l -333 -334 q 81 -65 129 -159 q 47 -95 47 -207 q 0 -97 -37 -182 q -37 -86 -100 -149 q -64 -64 -149 -101 q -86 -37 -183 -37 q -11 0 -21 1 q -11 0 -22 1 v -471 q 11 0 22 0 q 10 -1 21 -1 m 627 1579 q 62 -61 112 -133 q 50 -73 85 -154 q 35 -81 54 -170 q 18 -89 18 -183 q 0 -124 -32 -238 q -32 -115 -90 -214 q -59 -100 -140 -181 q -82 -82 -181 -140 q -100 -59 -214 -91 q -115 -32 -239 -32 v 384 q 106 0 200 40 q 93 40 163 110 q 69 69 109 163 q 40 93 40 199 q 0 109 -42 204 q -42 94 -114 164 z" })] }), Oc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 171 h 1707 v 341 h -640 v 299 h -1067 v 171 h 811 v 298 h 512 v 342 h -1323 v 213 m 0 -1067 h 1024 v -256 h -1024 m 0 1067 h 1280 v -256 h -1280 z" }), f("path", { className: "styled background", d: "M 1429 1387 v 298 h -1322 v -298 m 1066 -811 v 299 h -1066 v -299 z" }), f("path", { className: "styled info_light", d: "M 1813 277 v 299 h -1706 v -299 z" }), f("path", { className: "styled info_dark", d: "M 101 597 v -42 h 1691 v -256 h -1691 v -43 h 1734 v 341 z" }), f("path", { className: "styled secondary_light", d: "M 917 1088 v 299 h -810 v -299 z" }), f("path", { className: "styled secondary_dark", d: "M 896 1109 h -795 v -42 h 838 v 322 h -43 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 768 h 1024 v -256 h 43 v 299 h -1067 v 469 h 1323 v 342 h -1323 v 213 m 0 -512 v 256 h 1280 v -256 z" })] }), Bc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 1237 v 512 h -1237 v 256 h 1621 v 512 h -1621 v 299 m 0 -1109 h 555 v -427 h -555 m 0 1195 h 768 v -427 h -768 z" }), f("path", { className: "styled background", d: "M 107 832 v -469 h 597 v 469 m -597 768 v -469 h 810 v 469 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 597 v 512 h -597 v 256 h 811 v 512 h -811 v 299 m 0 -768 v 427 h 768 v -427 m -768 -768 v 427 h 555 v -427 z" }), f("path", { className: "styled info_light", d: "M 704 832 v -469 h 640 v 469 z" }), f("path", { className: "styled info_dark", d: "M 1365 341 v 512 h -682 v -512 m 640 43 h -598 v 427 h 598 z" }), f("path", { className: "styled secondary_light", d: "M 917 1600 v -469 h 811 v 469 z" }), f("path", { className: "styled secondary_dark", d: "M 1749 1109 v 512 h -853 v -512 m 811 43 h -768 v 427 h 768 z" })] }), Hc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 1621 v 512 h -1621 v 256 h 1621 v 512 h -1621 v 299 m 0 -1109 h 384 v -427 h -384 m 0 1195 h 1024 v -427 h -1024 z" }), f("path", { className: "styled background", d: "M 107 832 v -469 h 426 v 469 m -426 768 v -469 h 1066 v 469 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 427 v 512 h -427 v 256 h 1067 v 512 h -1067 v 299 m 0 -768 v 427 h 1024 v -427 m -1024 -768 v 427 h 384 v -427 z" }), f("path", { className: "styled info_light", d: "M 533 832 v -469 h 1195 v 469 z" }), f("path", { className: "styled info_dark", d: "M 1749 341 v 512 h -1237 v -512 m 1195 43 h -1152 v 427 h 1152 z" }), f("path", { className: "styled secondary_light", d: "M 1173 1600 v -469 h 555 v 469 z" }), f("path", { className: "styled secondary_dark", d: "M 1749 1109 v 512 h -597 v -512 m 555 43 h -512 v 427 h 512 z" })] }), Vc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 896 v 1067 h -1878 v -1878 h 43 v 989 l 253 256 l 544 -345 l 74 -91 l 644 466 l 277 -464 m 0 718 l -913 -662 l -476 591 l -403 -408 v 785 h 1792 z" }), f("path", { className: "styled background", d: "M 530 1511 l 473 -588 l 914 656 l 24 53 v 304 h -1834 l 2 -864 z" }), f("path", { className: "styled info_light", d: "M 1939 923 v 658 l -288 -192 m -1272 -40 l 525 -312 l -374 474 z" }), f("path", { className: "styled info_dark", d: "M 361 1342 l 572 -362 l 22 36 l -571 362 m 1248 1 l 287 -483 l 37 22 l -287 482 z" }), f("path", { className: "styled current_color", d: "M 1963 896 v 1067 h -1878 v -1878 h 43 v 989 l 400 405 l 471 -585 l 921 667 v -665 m 0 1024 v -306 l -913 -662 l -476 591 l -403 -408 v 785 z" })] }), Wc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 640 v 926 l -641 -554 l -618 703 l -576 -575 v 780 h 1835 v 43 h -1878 v -1878 h 43 v 353 l 576 577 l 661 -704 l 276 329 z" }), f("path", { className: "styled background", d: "M 1963 1941 h -1856 v -853 l 597 597 l 618 -704 l 641 555 z" }), f("path", { className: "styled info_light", d: "M 1963 1536 l -641 -555 l -618 704 l -597 -597 v -640 l 597 597 l 661 -704 l 269 319 h 329 z" }), f("path", { className: "styled info_dark", d: "M 1963 640 v 43 h -342 l -258 -310 l -659 702 l -597 -598 v -60 l 597 598 l 661 -704 l 276 329 m 322 866 v 60 l -641 -554 l -618 703 l -597 -597 v -62 l 597 599 l 618 -704 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), $c = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 85 v 1878 h -1878 v -1878 m 1835 1524 l -788 -746 l -576 662 l -428 -428 v 823 h 1792 z" }), f("path", { className: "styled background", d: "M 1941 1941 h -1834 v -1834 h 1834 z" }), f("path", { className: "styled current_color", d: "M 1963 85 v 1878 h -1878 v -1878 m 1835 43 h -1792 v 1792 h 1792 z" }), f("path", { className: "styled info_light", d: "M 1941 107 v 1493 l -810 -768 l -576 661 l -448 -448 v -938 z" }), f("path", { className: "styled info_dark", d: "M 1963 1649 l -831 -786 l -576 662 l -471 -467 v -973 h 1878 m -43 1465 v -1422 h -1792 v 908 l 426 426 l 575 -661 z" })] }), Uc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 384 213 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 1323 42 q 26 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 7 33 7 m -939 298 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 427 128 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m 0 213 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 m 768 384 v 43 h -1878 v -1878 h 43 v 1835 m 1579 -213 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 m -854 -982 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m -469 982 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m 1024 -640 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 z" }), f("path", { className: "styled background", d: "M 1195 1344 q 22 0 42 9 q 19 8 33 23 q 14 14 23 34 q 8 19 8 41 q 0 45 -30 76 q -31 30 -76 30 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -14 -23 -33 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 m -427 -341 q 22 0 42 9 q 19 8 34 22 q 14 14 23 34 q 8 19 8 41 q 0 22 -8 42 q -9 19 -23 34 q -15 14 -34 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 m 939 -512 q 45 0 76 31 q 30 30 30 75 q 0 22 -8 42 q -9 19 -23 34 q -14 14 -33 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 m -1323 -256 q 22 0 42 9 q 19 8 34 22 q 14 14 23 34 q 8 19 8 41 q 0 22 -8 42 q -9 19 -23 34 q -15 14 -34 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 z" }), f("path", { className: "styled info", d: "M 384 213 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 1323 42 q 26 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 7 33 7 m -939 298 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 427 128 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m 0 213 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1579 -213 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 m -854 -982 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m -469 982 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m 1024 -640 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 z" })] }), _c = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1664 1501 q 37 13 61 46 q 24 33 24 75 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 v -34 q 0 -140 -15 -248 q -16 -108 -42 -191 l -7 2 q -26 93 -66 161 q -40 68 -88 116 q -48 47 -101 76 q -54 29 -108 44 q -2 24 -13 46 q -11 21 -28 37 q -17 15 -39 24 q -22 9 -47 9 q -45 0 -78 -26 q -34 -26 -45 -66 q -115 -15 -221 -84 q -107 -69 -207 -190 q -36 91 -59 176 q -24 85 -38 152 q 41 12 67 46 q 26 33 26 78 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -26 10 -48 q 9 -23 25 -40 q 16 -18 38 -28 q 22 -10 47 -12 q 15 -73 42 -167 q 26 -95 69 -195 q -48 -62 -94 -141 q -47 -80 -89 -168 q -43 -88 -80 -178 q -37 -91 -64 -176 q -25 -2 -46 -12 q -22 -11 -37 -28 q -16 -17 -25 -39 q -9 -23 -9 -48 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 45 -26 79 q -27 33 -69 44 q 19 59 48 135 q 29 75 67 158 q 37 82 84 167 q 47 85 103 163 q 33 -72 76 -141 q 42 -70 96 -131 q -38 -36 -38 -90 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 35 0 64 17 q 28 16 45 43 q 63 -32 133 -48 q 70 -17 154 -17 q 6 0 39 4 q 32 3 79 21 q 47 17 102 54 q 55 37 107 105 q 21 -9 45 -9 q 5 0 9 1 q 3 0 7 0 q 1 -20 2 -40 q 0 -21 0 -43 q 0 -174 -33 -390 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 35 -16 64 q -17 28 -44 45 q 18 113 27 215 q 8 102 8 193 q 0 25 0 48 q 0 23 -2 46 q 32 16 51 46 q 19 30 19 68 q 0 35 -16 63 q -17 28 -43 45 q 30 96 45 210 q 14 114 14 248 m -171 -1206 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 m -1408 86 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 m 982 1152 q 35 0 60 -25 q 25 -25 25 -61 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 12 27 19 q 15 6 33 6 m 354 -278 q 59 -80 92 -194 q -23 -4 -42 -15 q -19 -12 -33 -28 q -14 -17 -22 -38 q -8 -21 -8 -45 q 0 -29 13 -54 q 12 -26 32 -43 q -45 -61 -95 -94 q -51 -34 -93 -49 q -43 -15 -71 -17 q -29 -3 -31 -3 q -78 0 -144 16 q -67 15 -126 46 q 3 14 3 28 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -29 0 -55 -13 q -57 63 -101 136 q -44 73 -77 150 q 41 53 87 99 q 45 46 96 82 q 50 36 106 60 q 55 23 115 32 q 1 -25 12 -47 q 11 -22 28 -38 q 17 -16 40 -25 q 22 -10 48 -10 q 45 0 79 28 q 34 27 45 69 q 61 -19 120 -56 q 59 -37 110 -105 z" }), f("path", { className: "styled background", d: "M 1305 1497 q 0 23 -8 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -43 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 23 0 43 9 q 20 8 35 23 q 15 15 24 35 q 8 20 8 43 m -890 -1072 q 0 23 -9 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -42 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 22 0 42 9 q 20 8 35 23 q 15 15 24 35 q 9 20 9 43 m 1317 -167 q 0 23 -8 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -43 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 23 0 43 9 q 20 8 35 23 q 15 15 24 35 q 8 20 8 43 z" }), f("path", { className: "styled info", d: "M 1689 365 q 18 112 27 213 q 8 101 8 193 q 0 183 -35 322 q -35 138 -106 234 q -29 38 -60 67 q -32 29 -65 51 q -34 21 -68 36 q -35 14 -68 24 q -2 24 -13 46 q -11 21 -28 37 q -17 15 -39 24 q -22 9 -47 9 q -45 0 -78 -26 q -34 -26 -45 -66 q -114 -15 -224 -87 q -110 -72 -211 -196 q -101 -125 -189 -299 q -89 -174 -160 -393 q -25 -2 -46 -12 q -22 -11 -37 -28 q -16 -17 -25 -39 q -9 -23 -9 -48 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 45 -26 79 q -27 33 -69 44 q 23 69 59 161 q 35 92 83 191 q 48 99 109 197 q 61 98 136 179 q 74 81 161 137 q 87 55 187 70 q 1 -25 12 -47 q 11 -22 28 -38 q 17 -16 40 -25 q 22 -10 48 -10 q 45 0 79 28 q 34 27 45 69 q 61 -19 120 -56 q 59 -37 110 -105 q 133 -178 133 -530 q 0 -174 -33 -390 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 35 -16 64 q -17 28 -44 45 m -1476 62 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 m 982 1152 q 35 0 60 -25 q 25 -25 25 -61 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 12 27 19 q 15 6 33 6 m 341 -1323 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 z" }), f("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1664 1501 q 37 13 61 46 q 24 33 24 75 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 v -34 q 0 -140 -15 -248 q -16 -108 -42 -191 q -14 3 -28 3 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -29 13 -54 q 12 -26 32 -43 q -45 -61 -95 -94 q -51 -34 -93 -49 q -43 -15 -71 -17 q -29 -3 -31 -3 q -78 0 -144 16 q -67 15 -126 46 q 3 14 3 28 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -29 0 -55 -13 q -66 73 -115 161 q -49 87 -84 176 q -35 88 -58 172 q -24 83 -37 148 q 41 12 67 46 q 26 33 26 78 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -26 10 -48 q 9 -23 25 -40 q 16 -18 38 -28 q 22 -10 47 -12 q 14 -67 38 -152 q 23 -86 59 -177 q 36 -92 87 -182 q 50 -90 118 -167 q -38 -36 -38 -90 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 35 0 64 17 q 28 16 45 43 q 63 -32 133 -48 q 70 -17 154 -17 q 6 0 39 4 q 32 3 79 21 q 47 17 102 54 q 55 37 107 105 q 21 -9 45 -9 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 35 -16 63 q -17 28 -43 45 q 30 96 45 210 q 14 114 14 248 z" })] }), jc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1577 -902 q 93 215 93 547 q 0 88 -6 184 l -43 -3 q 3 -47 5 -92 q 2 -45 2 -88 q 0 -277 -68 -470 q -25 97 -65 167 q -40 70 -89 119 q -49 48 -104 78 q -55 29 -108 46 q -54 16 -103 22 q -49 5 -87 5 q -74 0 -141 -21 q -68 -21 -129 -58 q -62 -37 -116 -88 q -55 -51 -104 -111 q -39 93 -64 181 q -25 88 -40 157 q -15 69 -21 112 q -6 42 -6 44 l -42 -4 q 0 -2 7 -48 q 6 -46 23 -120 q 16 -74 44 -168 q 27 -94 70 -192 q -60 -79 -109 -167 q -50 -88 -90 -174 q -40 -86 -70 -164 q -30 -79 -50 -141 q -21 -62 -32 -102 q -11 -40 -13 -47 l 42 -11 q 0 2 10 37 q 10 35 29 93 q 19 58 48 135 q 28 76 66 160 q 38 83 86 170 q 47 86 104 165 q 45 -96 106 -184 q 61 -89 142 -156 q 80 -68 181 -108 q 101 -40 227 -40 q 3 0 22 2 q 19 1 49 9 q 30 8 68 25 q 38 16 80 46 q 41 29 83 75 q 42 46 80 112 q 5 -42 8 -87 q 2 -45 2 -93 q 0 -243 -64 -562 l 42 -8 q 65 325 65 569 q 0 68 -5 130 q -5 61 -15 117 m -156 283 q 79 -106 111 -275 q -33 -74 -72 -125 q -40 -51 -81 -84 q -41 -34 -80 -52 q -39 -19 -69 -27 q -31 -9 -49 -11 q -19 -2 -20 -2 q -121 0 -218 41 q -97 40 -173 107 q -77 67 -135 155 q -58 87 -101 181 q 47 60 100 112 q 53 51 112 89 q 58 37 123 59 q 65 21 136 21 q 45 0 99 -7 q 54 -7 110 -27 q 55 -21 109 -58 q 54 -37 98 -97 z" }), f("path", { className: "styled info", d: "M 1792 1749 l -43 -3 q 6 -93 6 -178 q 0 -244 -51 -422 q -51 -179 -152 -287 q -47 -49 -93 -76 q -46 -28 -83 -40 q -38 -13 -62 -15 q -24 -3 -25 -3 q -124 0 -223 44 q -99 43 -177 114 q -78 71 -136 162 q -58 90 -100 186 q -42 95 -69 187 q -28 91 -44 164 q -16 72 -22 118 q -7 46 -7 49 l -42 -4 q 0 -3 5 -34 q 4 -32 14 -84 q 10 -52 27 -120 q 17 -68 43 -144 q 25 -76 60 -156 q 35 -80 82 -155 q 46 -76 105 -143 q 58 -67 131 -117 q 73 -51 161 -80 q 88 -29 193 -29 q 3 0 30 3 q 27 2 69 16 q 41 14 92 44 q 51 30 102 84 q 216 231 216 735 q 0 45 -2 91 q -2 45 -5 93 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1004 -387 q -111 0 -207 -46 q -97 -46 -179 -121 q -83 -75 -151 -172 q -68 -97 -122 -199 q -55 -102 -96 -201 q -41 -99 -68 -178 q -28 -80 -43 -132 q -15 -53 -17 -62 l 42 -11 q 1 2 14 50 q 13 47 40 124 q 26 76 66 173 q 39 96 91 197 q 52 101 118 197 q 65 96 144 171 q 79 75 171 121 q 92 46 197 46 q 45 0 99 -7 q 54 -7 110 -27 q 56 -21 110 -58 q 54 -37 98 -97 q 133 -180 133 -528 q 0 -121 -16 -261 q -16 -141 -48 -302 l 42 -8 q 65 325 65 569 q 0 364 -142 556 q -50 67 -111 108 q -62 40 -123 62 q -62 22 -119 29 q -57 7 -98 7 z" })] }), Gc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 213 342 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 63 q -17 28 -44 45 l 361 762 l 165 -282 q -36 -14 -59 -46 q -23 -32 -23 -73 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 62 q -16 28 -42 45 l 78 89 l 449 -570 q -20 -18 -31 -42 q -11 -25 -11 -53 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -11 0 -20 -2 q -10 -2 -19 -5 l -258 814 l 410 467 l -54 -422 q -5 1 -8 1 q -4 0 -8 0 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 38 -19 69 q -20 30 -52 46 l 70 565 l -482 -549 l -46 145 q 26 17 43 45 q 16 28 16 63 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 15 0 29 3 l 53 -166 l -189 -214 l -295 375 l -69 -146 l -147 251 q 29 17 47 46 q 17 29 17 64 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 q 11 0 23 3 l 166 -283 l -375 -789 q -14 3 -28 3 m 982 1109 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 m 341 -1323 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 m -105 275 l -401 509 l 176 200 m -355 -301 l -187 301 l 52 129 l 258 -327 l -93 -106 q -15 3 -30 3 m -638 -683 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 z" }), f("path", { className: "styled background", d: "M 1771 296 q 0 22 -8 42 q -9 19 -23 34 q -15 15 -35 24 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -24 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 q 22 0 42 9 q 20 8 35 23 q 14 14 23 34 q 8 19 8 41 m -1320 7 q 0 22 -8 42 q -9 19 -23 34 q -15 15 -34 24 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -35 -24 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 15 -15 35 -23 q 19 -9 41 -9 q 22 0 42 9 q 19 8 34 23 q 14 14 23 34 q 8 19 8 41 m 902 1232 q 0 23 -8 43 q -9 19 -23 34 q -15 14 -35 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -43 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 q 22 0 42 9 q 20 8 35 23 q 14 14 23 34 q 8 19 8 41 z" }), f("path", { className: "styled info", d: "M 1664 171 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -11 0 -20 -2 q -10 -2 -19 -5 l -319 1008 q 26 17 43 45 q 16 28 16 63 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 15 0 29 3 l 293 -923 l -724 918 l -466 -982 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 63 q -17 28 -44 45 l 435 919 l 734 -932 q -20 -18 -31 -42 q -11 -25 -11 -53 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m -1323 213 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 m 982 1152 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 m 341 -1152 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 z" }), f("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1636 1182 l 70 565 l -825 -939 q -15 3 -30 3 l -360 615 q 29 17 47 46 q 17 29 17 64 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 q 11 0 23 3 l 357 -609 q -36 -14 -59 -46 q -23 -32 -23 -73 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 62 q -16 28 -42 45 l 726 826 l -54 -422 q -5 1 -8 1 q -4 0 -8 0 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 38 -19 69 q -20 30 -52 46 z" })] }), Zc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1503 1457 l -10 61 l -42 -6 l 16 -96 l -334 -380 l -309 389 l -72 -147 l -248 421 l -37 -21 l 262 -446 l -463 -951 l 39 -18 l 451 925 l 227 -387 l 149 168 l 564 -710 l -184 1143 l 263 299 l -68 -525 l 42 -5 l 83 661 m -728 -828 l -114 -130 l -212 360 l 54 112 m 644 14 l 155 -951 l -471 593 m 803 918 v 43 h -1878 v -1878 h 43 v 1835 z" }), f("path", { className: "styled info", d: "M 1493 1518 l -42 -6 l 180 -1103 l -807 1016 l -558 -1144 l 39 -18 l 527 1083 l 864 -1087 z" }), f("path", { className: "styled current_color", d: "M 1832 1832 l -842 -958 l -486 825 l -37 -21 l 516 -877 l 792 900 l -68 -525 l 42 -5 m 214 749 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), Kc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), Yc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), mr = pn(null);
4735
+ const Rc = (e) => nt("svg", { ...e, viewBox: "0 0 48 48", children: [f("path", { d: "M 2.2827924,0 C 1.5038324,0 0.87090248,0.52603 0.87090248,1.17149 v 25.39667 h -0.01 v 20.2607 c 0,0.39663 0.24025002,0.74639 0.60481992,0.95852 v 0.18499 h 0.50664 c 0.0972,0.0173 0.19732,0.0276 0.30092,0.0276 h 15.5346916 16.7448 v 0 h 11.35822 c 0.10311,0 0.20276,-0.0104 0.29945,-0.0276 h 0.0696 v -0.0182 c 0.59938,-0.13566 1.04238,-0.58606 1.04238,-1.12526 V 26.96484 c 0.006,-0.0429 0.009,-0.0853 0.009,-0.12925 V 1.17154 c 0,-0.64586 -0.63293,-1.17149 -1.41189,-1.17149 h -15.7478 v 2e-4 h -2.06997 V 5e-5 Z", fill: "#547DBE" }), f("path", { d: "m 2.8338324,2.7184 v 9.0404 H 11.538484 V 2.7184 Z m 11.2334116,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.26696,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.33258,0 v 9.0404 h 8.70465 V 2.7184 Z M 2.8338324,14.32723 v 8.84046 h 8.7046516 v -8.84046 z m 11.2334116,0 v 8.84046 h 8.70465 v -8.84046 z m 11.26696,0 v 8.84046 h 8.70465 v -8.84046 z m 11.33258,0 v 8.84046 h 8.70465 V 14.32723 Z M 2.8338324,25.73691 v 8.67308 h 8.7046516 v -8.67308 z m 11.2334116,0 v 8.67308 h 8.73721 v -8.67308 z m 11.26696,0 v 8.67308 h 8.70465 v -8.67308 z m 11.33258,0 v 8.67308 h 8.70465 V 25.73691 Z M 2.8693424,36.61859 v 8.67357 h 8.7046616 v -8.67357 z m 11.2339116,0 v 8.67357 h 8.73771 v -8.67357 z m 11.26697,0 v 8.67357 h 8.70465 v -8.67357 z m 11.33257,0 v 8.67357 h 8.70465 v -8.67357 z", fill: "#FFFFFF" }), f("path", { d: "m 2.8254424,2.72091 v 9.04041 H 11.570544 V 2.72091 Z m 0,11.60889 v 8.84036 H 11.570544 V 14.3298 Z m 0,11.40958 v 8.67357 h 8.7451016 v -8.67357 z m 0.036,10.88167 v 8.67358 h 8.7451116 v -8.67358 z", fill: "#547DBE", fillOpacity: "0.4" }), f("path", { d: "m 30.820434,6.19497 c 1.85291,0 3.66241,0.29708 5.4285,0.89113 1.7656,0.5942 3.49568,1.50108 5.19073,2.72107 l -2.37584,3.25571 c -1.40941,-1.01391 -2.79515,-1.76647 -4.15721,-2.25759 -1.36206,-0.49111 -2.72412,-0.73667 -4.08618,-0.73667 -2.5817,0 -4.58902,0.53064 -6.02232,1.59218 -1.43334,1.06143 -2.14989,2.56661 -2.14989,4.51523 v 0.0237 c 0,1.36241 0.41177,2.40021 1.23532,3.11315 0.82355,0.71288 1.89253,1.24367 3.20703,1.59217 1.31446,0.3485 2.71608,0.67341 4.20493,0.97439 1.29842,0.26929 2.58944,0.58216 3.87257,0.9386 1.28263,0.3565 2.45032,0.8635 3.50356,1.52097 1.05324,0.65747 1.89288,1.5486 2.51841,2.6734 0.62553,1.12485 0.93829,2.59035 0.93829,4.39635 v 0.0477 c 0,3.18435 -1.10849,5.64817 -3.32597,7.39066 -2.21698,1.7425 -5.33724,2.61399 -9.35978,2.61399 -1.67882,0 -3.25863,-0.15841 -4.73958,-0.47523 -1.4808,-0.31681 -2.86644,-0.79204 -4.15737,-1.42617 -1.29077,-0.63363 -2.49827,-1.42567 -3.6227,-2.37612 l 2.54179,-3.20819 c 1.39383,1.204 2.91819,2.10717 4.57323,2.70928 1.6549,0.60205 3.45641,0.90307 5.40463,0.90307 2.73991,0 4.85823,-0.52704 6.35447,-1.58048 1.49674,-1.05359 2.24511,-2.53098 2.24511,-4.43213 v -0.0237 c 0,-1.37834 -0.37197,-2.43583 -1.11639,-3.17245 -0.74442,-0.73668 -1.71824,-1.2912 -2.92194,-1.66359 -1.2037,-0.37223 -2.51051,-0.6851 -3.91993,-0.9386 -1.34627,-0.23762 -2.69635,-0.51485 -4.05046,-0.83182 -1.35417,-0.31677 -2.59339,-0.7841 -3.71782,-1.40204 -1.12448,-0.61779 -2.03125,-1.49708 -2.72017,-2.63782 -0.68898,-1.14078 -1.03341,-2.66156 -1.03341,-4.5627 v -0.0237 c 0,-3.21623 1.06898,-5.70753 3.20718,-7.47386 2.13805,-1.76648 5.15506,-2.64981 9.05121,-2.64981 z", strokeWidth: "2.5", stroke: "#EB594D", fill: "#f9CECB" })] }), Tc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), Mc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -1195 h 512 v 1195 h 256 v -1621 h 512 v 1621 m -810 -512 h -427 v 512 h 427 m 768 -768 h -427 v 768 h 427 z" }), f("path", { className: "styled background", d: "M 832 1941 h -469 v -554 h 469 m 768 554 h -469 v -810 h 469 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -555 h 512 v 555 h 256 v -811 h 512 v 811 m -469 0 h 427 v -768 h -427 m -768 768 h 427 v -512 h -427 z" }), f("path", { className: "styled info_light", d: "M 832 1387 h -469 v -640 h 469 z" }), f("path", { className: "styled info_dark", d: "M 341 725 h 512 v 683 h -512 m 43 -640 v 597 h 427 v -597 z" }), f("path", { className: "styled secondary_light", d: "M 1600 1131 h -469 v -811 h 469 z" }), f("path", { className: "styled secondary_dark", d: "M 1109 299 h 512 v 853 h -512 m 43 -811 v 768 h 427 v -768 z" })] }), Dc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -1621 h 512 v 1621 h 256 v -1621 h 512 v 1621 m -810 -384 h -427 v 384 h 427 m 768 -1024 h -427 v 1024 h 427 z" }), f("path", { className: "styled background", d: "M 832 1941 h -469 v -426 h 469 m 768 426 h -469 v -1066 h 469 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 213 v -427 h 512 v 427 h 256 v -1067 h 512 v 1067 m -469 0 h 427 v -1024 h -427 m -768 1024 h 427 v -384 h -427 z" }), f("path", { className: "styled info_light", d: "M 832 1515 h -469 v -1195 h 469 z" }), f("path", { className: "styled info_dark", d: "M 341 299 h 512 v 1237 h -512 m 43 -1195 v 1152 h 427 v -1152 z" }), f("path", { className: "styled secondary_light", d: "M 1600 875 h -469 v -555 h 469 z" }), f("path", { className: "styled secondary_dark", d: "M 1109 299 h 512 v 597 h -512 m 43 -555 v 512 h 427 v -512 z" })] }), Ac = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1165 l 574 -574 l 197 144 l 402 -402 l 361 360 l 263 -301 l 32 28 l -265 303 l 264 265 l -30 30 l -262 -263 l -317 362 l -444 -326 l -775 776 v 268 m 806 -1074 l 407 299 l 292 -335 l -332 -332 m -1173 832 v 281 l 740 -740 l -162 -119 z" }), f("path", { className: "styled info", d: "M 122 1658 l -30 -30 l 1209 -1210 l 655 655 l -30 30 l -625 -625 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1165 l 574 -574 l 639 469 l 584 -668 l 32 28 l -610 697 l -641 -470 l -578 578 v 610 z" })] }), Ec = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1037 l 571 -570 l 535 259 l 651 -550 l 27 33 l -669 565 l -534 -259 l -581 582 v 452 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" }), f("path", { className: "styled info", d: "M 121 1189 l -29 -31 l 607 -606 l 535 259 l 651 -550 l 27 33 l -669 565 l -534 -259 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1549 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" })] }), Ic = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 171 h 1749 v 43 h -1749 v 1335 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" }), f("path", { className: "styled info", d: "M 1877 299 h -1770 v -43 h 1770 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1549 l 573 -574 l 576 424 l 563 -751 l 32 27 l -587 781 l -578 -425 l -579 578 v 226 z" })] }), Fc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -214 h -42 v -170 h 42 v -256 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 99 73 l 175 -190 h -18 v -170 h 170 v 140 l 233 233 l 280 -373 v -171 h 170 v 171 h -118 l -302 402 l 194 195 h 98 v 171 h -171 v -171 h 13 l -160 -160 l -109 144 v 144 h -170 v -104 l -279 -205 l -703 759 v 147 h -85 m 1015 -1152 l -199 215 l 251 184 v -15 h 139 l 110 -147 l -237 -237 m -1079 726 v 256 h 48 l 705 -761 l -70 -52 v 2 h -171 v -12 l -427 426 v 141 z" }), f("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -640 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 416 -554 v -171 h 170 v 171 h -118 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -85 z" }), f("path", { className: "styled info", d: "M 1694 1024 h 98 v 171 h -171 v -171 h 13 l -427 -427 h -64 l -930 1005 v 147 h -170 v -170 h 133 l 909 -982 h -18 v -170 h 170 v 140 z" })] }), zc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -256 h -42 v -171 h 42 v -1067 h 43 v 1067 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -554 v -171 h 171 v 171 h -118 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -85 v 256 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1494 h 43 v 1494 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), f("path", { className: "styled info", d: "M 1802 427 l -437 581 v 144 h -170 v -104 l -384 -282 v 2 h -171 v -12 l -427 426 v 141 h -170 v -171 h 140 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -554 v -171 h 171 v 171 z" })] }), Nc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1195 h -42 v -171 h 42 v -128 h 43 v 128 h 85 v 43 h 384 v -43 h 171 v 43 h 427 v -43 h 170 v 43 h 384 v -43 h 171 v 171 h -171 v -85 h -384 v 85 h -170 v -85 h -427 v 85 h -171 v -85 h -384 v 85 h -85 v 1195 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -214 h -42 v -170 h 42 v -1494 h 43 v 1494 h 55 l 457 -457 v -98 h 171 v 117 l 384 282 v -15 h 139 l 415 -555 v -170 h 171 v 170 h -118 l -437 582 v 144 h -170 v -104 l -384 -283 v 3 h -171 v -13 l -427 427 v 140 h -85 v 171 z" }), f("path", { className: "styled info", d: "M 1920 213 v 171 h -171 v -85 h -384 v 85 h -170 v -85 h -427 v 85 h -171 v -85 h -384 v 85 h -170 v -171 h 170 v 43 h 384 v -43 h 171 v 43 h 427 v -43 h 170 v 43 h 384 v -43 z" })] }), Lc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 130 -33 250 q -34 119 -95 224 q -62 104 -147 190 q -86 86 -190 147 q -105 61 -225 95 q -120 33 -249 33 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -126 32 -243 q 31 -117 89 -219 q 58 -102 140 -187 q 82 -86 182 -148 q 100 -62 217 -99 q 116 -37 243 -43 m -862 939 q 0 124 32 238 q 32 114 91 214 q 58 99 140 181 q 82 82 182 141 q 99 58 214 90 q 114 32 237 32 q 173 0 325 -61 q 151 -61 272 -167 l -638 -638 v -924 q -121 6 -230 41 q -109 35 -204 94 q -95 59 -172 140 q -78 81 -133 179 q -55 97 -85 209 q -31 111 -31 231 z" }), f("path", { className: "styled background", d: "M 1941 1024 q 0 127 -32 244 q -33 117 -93 219 q -60 102 -143 186 q -84 83 -186 143 q -102 60 -219 93 q -117 32 -244 32 q -127 0 -244 -32 q -117 -33 -219 -93 q -102 -60 -185 -143 q -84 -84 -144 -186 q -60 -102 -92 -219 q -33 -117 -33 -244 q 0 -127 33 -244 q 32 -117 92 -219 q 60 -102 144 -185 q 83 -84 185 -144 q 102 -60 219 -92 q 117 -33 244 -33 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 z" }), f("path", { className: "styled current_color", d: "M 1666 1709 q -127 118 -291 186 q -164 68 -351 68 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -128 33 -246 q 32 -119 92 -222 q 59 -103 143 -188 q 84 -86 186 -147 q 102 -62 220 -97 q 117 -35 244 -38 v 43 q -121 3 -233 37 q -112 33 -209 92 q -97 59 -177 140 q -80 81 -137 180 q -57 98 -88 211 q -31 113 -31 235 q 0 124 32 238 q 32 114 91 214 q 58 99 140 181 q 82 82 182 141 q 99 58 214 90 q 114 32 237 32 q 178 0 334 -65 q 156 -65 277 -177 z" }), f("path", { className: "styled info_light", d: "M 1024 107 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 q 0 99 -20 193 q -21 93 -58 178 q -38 85 -92 160 q -54 75 -121 138 l -647 -648 v -937 q 5 0 11 0 q 5 -1 10 -1 z" }), f("path", { className: "styled info_dark", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -62 187 q -41 89 -99 168 q -58 78 -130 142 q -9 -8 -15 -15 q -6 -6 -10 -10 q -5 -5 -5 -6 l -639 -638 v -969 m 670 1578 q 62 -61 112 -133 q 50 -72 85 -153 q 35 -82 54 -170 q 18 -89 18 -183 q 0 -123 -32 -237 q -32 -115 -90 -214 q -59 -100 -141 -182 q -82 -82 -181 -140 q -100 -59 -214 -91 q -115 -32 -238 -32 v 908 z" })] }), Pc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -63 187 q -41 89 -98 168 q -58 78 -130 142 q -125 112 -284 176 q -160 64 -342 64 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -126 33 -244 q 33 -118 93 -221 q 59 -104 144 -190 q 84 -86 187 -148 q 102 -62 221 -97 q 118 -36 247 -39 m 307 1305 q 81 -65 129 -159 q 47 -95 47 -207 q 0 -97 -37 -182 q -37 -86 -100 -149 q -64 -64 -149 -101 q -86 -37 -183 -37 q -11 0 -21 1 q -11 0 -22 1 q -90 8 -167 48 q -78 39 -135 102 q -58 62 -91 144 q -33 81 -33 173 q 0 97 37 183 q 37 85 101 149 q 63 63 149 100 q 85 37 182 37 q 84 0 159 -27 q 74 -28 134 -76 m -293 530 q 173 0 325 -60 q 151 -61 270 -168 l -272 -272 q -66 54 -148 85 q -82 31 -175 31 q -106 0 -199 -40 q -94 -40 -163 -109 q -70 -70 -110 -163 q -40 -94 -40 -200 q 0 -100 37 -189 q 36 -90 100 -158 q 63 -69 149 -112 q 85 -43 183 -51 v -384 q -119 6 -228 41 q -109 35 -204 94 q -95 59 -172 140 q -78 81 -133 179 q -56 97 -86 209 q -30 111 -30 231 q 0 124 32 239 q 32 114 91 214 q 58 99 140 181 q 81 81 181 140 q 99 58 214 90 q 114 32 238 32 z" }), f("path", { className: "styled background", d: "M 1658 1692 q -125 119 -286 187 q -162 68 -348 68 q -127 0 -244 -33 q -118 -33 -220 -93 q -103 -60 -186 -143 q -84 -84 -144 -186 q -60 -103 -93 -220 q -33 -118 -33 -245 q 0 -125 32 -241 q 32 -116 90 -217 q 58 -101 140 -184 q 81 -84 181 -144 q 99 -61 214 -95 q 115 -35 239 -38 v 429 q -97 5 -181 45 q -85 40 -148 106 q -63 65 -99 152 q -36 86 -36 184 q 0 101 39 190 q 38 89 104 155 q 66 66 155 105 q 89 38 190 38 q 91 0 171 -30 q 80 -31 144 -85 z" }), f("path", { className: "styled current_color", d: "M 1364 1406 q -69 61 -155 96 q -86 34 -185 34 q -106 0 -199 -40 q -94 -40 -163 -109 q -70 -70 -110 -163 q -40 -94 -40 -200 q 0 -103 39 -194 q 38 -92 105 -161 q 66 -69 156 -110 q 89 -42 191 -46 v 42 q -94 4 -175 43 q -82 38 -142 101 q -61 63 -96 147 q -35 84 -35 178 q 0 97 37 183 q 37 85 101 149 q 63 63 149 100 q 85 37 182 37 q 90 0 169 -31 q 79 -31 141 -86 m 332 333 q -127 118 -291 186 q -164 68 -351 68 q -130 0 -249 -33 q -120 -34 -224 -95 q -105 -62 -191 -147 q -86 -86 -147 -190 q -61 -105 -94 -225 q -34 -120 -34 -249 q 0 -128 33 -246 q 32 -119 92 -222 q 59 -103 143 -188 q 84 -86 186 -147 q 102 -62 220 -97 q 117 -35 244 -38 v 43 q -121 3 -233 37 q -112 33 -209 92 q -98 58 -177 140 q -80 81 -137 180 q -57 98 -88 211 q -31 113 -31 235 q 0 124 32 239 q 32 114 91 214 q 58 99 140 181 q 81 81 181 140 q 99 58 214 90 q 114 32 238 32 q 179 0 335 -64 q 155 -65 276 -178 z" }), f("path", { className: "styled info_light", d: "M 1515 1024 q 0 -102 -38 -191 q -39 -89 -106 -156 q -67 -67 -156 -105 q -89 -39 -191 -39 q -5 0 -10 1 q -6 0 -11 0 v -426 q 5 0 11 0 q 5 -1 10 -1 q 127 0 244 33 q 117 32 219 92 q 102 60 186 144 q 83 83 143 185 q 60 102 93 219 q 32 117 32 244 q 0 99 -20 193 q -21 93 -58 178 q -38 85 -92 160 q -54 75 -121 138 l -302 -301 q 77 -68 122 -162 q 45 -95 45 -206 z" }), f("path", { className: "styled info_dark", d: "M 1024 85 q 129 0 249 34 q 120 33 225 95 q 104 61 190 147 q 85 85 147 190 q 61 104 95 224 q 33 120 33 249 q 0 104 -22 202 q -22 98 -63 188 q -41 89 -98 168 q -58 78 -130 142 l -333 -334 q 81 -65 129 -159 q 47 -95 47 -207 q 0 -97 -37 -182 q -37 -86 -100 -149 q -64 -64 -149 -101 q -86 -37 -183 -37 q -11 0 -21 1 q -11 0 -22 1 v -471 q 11 0 22 0 q 10 -1 21 -1 m 627 1579 q 62 -61 112 -133 q 50 -73 85 -154 q 35 -81 54 -170 q 18 -89 18 -183 q 0 -124 -32 -238 q -32 -115 -90 -214 q -59 -100 -140 -181 q -82 -82 -181 -140 q -100 -59 -214 -91 q -115 -32 -239 -32 v 384 q 106 0 200 40 q 93 40 163 110 q 69 69 109 163 q 40 93 40 199 q 0 109 -42 204 q -42 94 -114 164 z" })] }), Oc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 171 h 1707 v 341 h -640 v 299 h -1067 v 171 h 811 v 298 h 512 v 342 h -1323 v 213 m 0 -1067 h 1024 v -256 h -1024 m 0 1067 h 1280 v -256 h -1280 z" }), f("path", { className: "styled background", d: "M 1429 1387 v 298 h -1322 v -298 m 1066 -811 v 299 h -1066 v -299 z" }), f("path", { className: "styled info_light", d: "M 1813 277 v 299 h -1706 v -299 z" }), f("path", { className: "styled info_dark", d: "M 101 597 v -42 h 1691 v -256 h -1691 v -43 h 1734 v 341 z" }), f("path", { className: "styled secondary_light", d: "M 917 1088 v 299 h -810 v -299 z" }), f("path", { className: "styled secondary_dark", d: "M 896 1109 h -795 v -42 h 838 v 322 h -43 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 768 h 1024 v -256 h 43 v 299 h -1067 v 469 h 1323 v 342 h -1323 v 213 m 0 -512 v 256 h 1280 v -256 z" })] }), Bc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 1237 v 512 h -1237 v 256 h 1621 v 512 h -1621 v 299 m 0 -1109 h 555 v -427 h -555 m 0 1195 h 768 v -427 h -768 z" }), f("path", { className: "styled background", d: "M 107 832 v -469 h 597 v 469 m -597 768 v -469 h 810 v 469 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 597 v 512 h -597 v 256 h 811 v 512 h -811 v 299 m 0 -768 v 427 h 768 v -427 m -768 -768 v 427 h 555 v -427 z" }), f("path", { className: "styled info_light", d: "M 704 832 v -469 h 640 v 469 z" }), f("path", { className: "styled info_dark", d: "M 1365 341 v 512 h -682 v -512 m 640 43 h -598 v 427 h 598 z" }), f("path", { className: "styled secondary_light", d: "M 917 1600 v -469 h 811 v 469 z" }), f("path", { className: "styled secondary_dark", d: "M 1749 1109 v 512 h -853 v -512 m 811 43 h -768 v 427 h 768 z" })] }), Hc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 1621 v 512 h -1621 v 256 h 1621 v 512 h -1621 v 299 m 0 -1109 h 384 v -427 h -384 m 0 1195 h 1024 v -427 h -1024 z" }), f("path", { className: "styled background", d: "M 107 832 v -469 h 426 v 469 m -426 768 v -469 h 1066 v 469 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 256 h 427 v 512 h -427 v 256 h 1067 v 512 h -1067 v 299 m 0 -768 v 427 h 1024 v -427 m -1024 -768 v 427 h 384 v -427 z" }), f("path", { className: "styled info_light", d: "M 533 832 v -469 h 1195 v 469 z" }), f("path", { className: "styled info_dark", d: "M 1749 341 v 512 h -1237 v -512 m 1195 43 h -1152 v 427 h 1152 z" }), f("path", { className: "styled secondary_light", d: "M 1173 1600 v -469 h 555 v 469 z" }), f("path", { className: "styled secondary_dark", d: "M 1749 1109 v 512 h -597 v -512 m 555 43 h -512 v 427 h 512 z" })] }), Vc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 896 v 1067 h -1878 v -1878 h 43 v 989 l 253 256 l 544 -345 l 74 -91 l 644 466 l 277 -464 m 0 718 l -913 -662 l -476 591 l -403 -408 v 785 h 1792 z" }), f("path", { className: "styled background", d: "M 530 1511 l 473 -588 l 914 656 l 24 53 v 304 h -1834 l 2 -864 z" }), f("path", { className: "styled info_light", d: "M 1939 923 v 658 l -288 -192 m -1272 -40 l 525 -312 l -374 474 z" }), f("path", { className: "styled info_dark", d: "M 361 1342 l 572 -362 l 22 36 l -571 362 m 1248 1 l 287 -483 l 37 22 l -287 482 z" }), f("path", { className: "styled current_color", d: "M 1963 896 v 1067 h -1878 v -1878 h 43 v 989 l 400 405 l 471 -585 l 921 667 v -665 m 0 1024 v -306 l -913 -662 l -476 591 l -403 -408 v 785 z" })] }), Wc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 640 v 926 l -641 -554 l -618 703 l -576 -575 v 780 h 1835 v 43 h -1878 v -1878 h 43 v 353 l 576 577 l 661 -704 l 276 329 z" }), f("path", { className: "styled background", d: "M 1963 1941 h -1856 v -853 l 597 597 l 618 -704 l 641 555 z" }), f("path", { className: "styled info_light", d: "M 1963 1536 l -641 -555 l -618 704 l -597 -597 v -640 l 597 597 l 661 -704 l 269 319 h 329 z" }), f("path", { className: "styled info_dark", d: "M 1963 640 v 43 h -342 l -258 -310 l -659 702 l -597 -598 v -60 l 597 598 l 661 -704 l 276 329 m 322 866 v 60 l -641 -554 l -618 703 l -597 -597 v -62 l 597 599 l 618 -704 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), $c = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 85 v 1878 h -1878 v -1878 m 1835 1524 l -788 -746 l -576 662 l -428 -428 v 823 h 1792 z" }), f("path", { className: "styled background", d: "M 1941 1941 h -1834 v -1834 h 1834 z" }), f("path", { className: "styled current_color", d: "M 1963 85 v 1878 h -1878 v -1878 m 1835 43 h -1792 v 1792 h 1792 z" }), f("path", { className: "styled info_light", d: "M 1941 107 v 1493 l -810 -768 l -576 661 l -448 -448 v -938 z" }), f("path", { className: "styled info_dark", d: "M 1963 1649 l -831 -786 l -576 662 l -471 -467 v -973 h 1878 m -43 1465 v -1422 h -1792 v 908 l 426 426 l 575 -661 z" })] }), Uc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 384 213 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 1323 42 q 26 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 7 33 7 m -939 298 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 427 128 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m 0 213 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 m 768 384 v 43 h -1878 v -1878 h 43 v 1835 m 1579 -213 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 m -854 -982 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m -469 982 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m 1024 -640 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 z" }), f("path", { className: "styled background", d: "M 1195 1344 q 22 0 42 9 q 19 8 33 23 q 14 14 23 34 q 8 19 8 41 q 0 45 -30 76 q -31 30 -76 30 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -14 -23 -33 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 m -427 -341 q 22 0 42 9 q 19 8 34 22 q 14 14 23 34 q 8 19 8 41 q 0 22 -8 42 q -9 19 -23 34 q -15 14 -34 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 m 939 -512 q 45 0 76 31 q 30 30 30 75 q 0 22 -8 42 q -9 19 -23 34 q -14 14 -33 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 m -1323 -256 q 22 0 42 9 q 19 8 34 22 q 14 14 23 34 q 8 19 8 41 q 0 22 -8 42 q -9 19 -23 34 q -15 14 -34 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -14 34 -22 q 19 -9 41 -9 z" }), f("path", { className: "styled info", d: "M 384 213 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 1323 42 q 26 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 7 33 7 m -939 298 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 m 0 214 q 18 0 34 -7 q 15 -7 27 -18 q 11 -12 18 -27 q 6 -16 6 -34 q 0 -35 -25 -60 q -25 -25 -60 -25 q -35 0 -60 25 q -25 25 -25 60 q 0 18 7 34 q 6 15 18 27 q 11 11 27 18 q 15 7 33 7 m 427 128 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m 0 213 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1579 -213 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 m -854 -982 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m -469 982 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 m 1024 -640 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 z" })] }), _c = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1664 1501 q 37 13 61 46 q 24 33 24 75 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 v -34 q 0 -140 -15 -248 q -16 -108 -42 -191 l -7 2 q -26 93 -66 161 q -40 68 -88 116 q -48 47 -101 76 q -54 29 -108 44 q -2 24 -13 46 q -11 21 -28 37 q -17 15 -39 24 q -22 9 -47 9 q -45 0 -78 -26 q -34 -26 -45 -66 q -115 -15 -221 -84 q -107 -69 -207 -190 q -36 91 -59 176 q -24 85 -38 152 q 41 12 67 46 q 26 33 26 78 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -26 10 -48 q 9 -23 25 -40 q 16 -18 38 -28 q 22 -10 47 -12 q 15 -73 42 -167 q 26 -95 69 -195 q -48 -62 -94 -141 q -47 -80 -89 -168 q -43 -88 -80 -178 q -37 -91 -64 -176 q -25 -2 -46 -12 q -22 -11 -37 -28 q -16 -17 -25 -39 q -9 -23 -9 -48 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 45 -26 79 q -27 33 -69 44 q 19 59 48 135 q 29 75 67 158 q 37 82 84 167 q 47 85 103 163 q 33 -72 76 -141 q 42 -70 96 -131 q -38 -36 -38 -90 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 35 0 64 17 q 28 16 45 43 q 63 -32 133 -48 q 70 -17 154 -17 q 6 0 39 4 q 32 3 79 21 q 47 17 102 54 q 55 37 107 105 q 21 -9 45 -9 q 5 0 9 1 q 3 0 7 0 q 1 -20 2 -40 q 0 -21 0 -43 q 0 -174 -33 -390 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 35 -16 64 q -17 28 -44 45 q 18 113 27 215 q 8 102 8 193 q 0 25 0 48 q 0 23 -2 46 q 32 16 51 46 q 19 30 19 68 q 0 35 -16 63 q -17 28 -43 45 q 30 96 45 210 q 14 114 14 248 m -171 -1206 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 m -1408 86 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 m 982 1152 q 35 0 60 -25 q 25 -25 25 -61 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 12 27 19 q 15 6 33 6 m 354 -278 q 59 -80 92 -194 q -23 -4 -42 -15 q -19 -12 -33 -28 q -14 -17 -22 -38 q -8 -21 -8 -45 q 0 -29 13 -54 q 12 -26 32 -43 q -45 -61 -95 -94 q -51 -34 -93 -49 q -43 -15 -71 -17 q -29 -3 -31 -3 q -78 0 -144 16 q -67 15 -126 46 q 3 14 3 28 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -29 0 -55 -13 q -57 63 -101 136 q -44 73 -77 150 q 41 53 87 99 q 45 46 96 82 q 50 36 106 60 q 55 23 115 32 q 1 -25 12 -47 q 11 -22 28 -38 q 17 -16 40 -25 q 22 -10 48 -10 q 45 0 79 28 q 34 27 45 69 q 61 -19 120 -56 q 59 -37 110 -105 z" }), f("path", { className: "styled background", d: "M 1305 1497 q 0 23 -8 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -43 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 23 0 43 9 q 20 8 35 23 q 15 15 24 35 q 8 20 8 43 m -890 -1072 q 0 23 -9 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -42 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 22 0 42 9 q 20 8 35 23 q 15 15 24 35 q 9 20 9 43 m 1317 -167 q 0 23 -8 43 q -9 20 -24 35 q -15 15 -35 24 q -20 8 -43 8 q -23 0 -43 -8 q -20 -9 -35 -24 q -15 -15 -23 -35 q -9 -20 -9 -43 q 0 -23 9 -43 q 8 -20 23 -35 q 15 -15 35 -23 q 20 -9 43 -9 q 23 0 43 9 q 20 8 35 23 q 15 15 24 35 q 8 20 8 43 z" }), f("path", { className: "styled info", d: "M 1689 365 q 18 112 27 213 q 8 101 8 193 q 0 183 -35 322 q -35 138 -106 234 q -29 38 -60 67 q -32 29 -65 51 q -34 21 -68 36 q -35 14 -68 24 q -2 24 -13 46 q -11 21 -28 37 q -17 15 -39 24 q -22 9 -47 9 q -45 0 -78 -26 q -34 -26 -45 -66 q -114 -15 -224 -87 q -110 -72 -211 -196 q -101 -125 -189 -299 q -89 -174 -160 -393 q -25 -2 -46 -12 q -22 -11 -37 -28 q -16 -17 -25 -39 q -9 -23 -9 -48 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 45 -26 79 q -27 33 -69 44 q 23 69 59 161 q 35 92 83 191 q 48 99 109 197 q 61 98 136 179 q 74 81 161 137 q 87 55 187 70 q 1 -25 12 -47 q 11 -22 28 -38 q 17 -16 40 -25 q 22 -10 48 -10 q 45 0 79 28 q 34 27 45 69 q 61 -19 120 -56 q 59 -37 110 -105 q 133 -178 133 -530 q 0 -174 -33 -390 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 35 -16 64 q -17 28 -44 45 m -1476 62 q 0 18 7 34 q 7 15 19 27 q 11 11 27 18 q 15 6 33 6 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -19 27 q -7 15 -7 33 m 982 1152 q 35 0 60 -25 q 25 -25 25 -61 q 0 -35 -25 -60 q -25 -25 -60 -25 q -18 0 -33 7 q -16 6 -27 18 q -12 11 -19 27 q -7 15 -7 33 q 0 18 7 34 q 7 15 19 27 q 11 12 27 19 q 15 6 33 6 m 341 -1323 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 z" }), f("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1664 1501 q 37 13 61 46 q 24 33 24 75 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 v -34 q 0 -140 -15 -248 q -16 -108 -42 -191 q -14 3 -28 3 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -29 13 -54 q 12 -26 32 -43 q -45 -61 -95 -94 q -51 -34 -93 -49 q -43 -15 -71 -17 q -29 -3 -31 -3 q -78 0 -144 16 q -67 15 -126 46 q 3 14 3 28 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -29 0 -55 -13 q -66 73 -115 161 q -49 87 -84 176 q -35 88 -58 172 q -24 83 -37 148 q 41 12 67 46 q 26 33 26 78 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -26 10 -48 q 9 -23 25 -40 q 16 -18 38 -28 q 22 -10 47 -12 q 14 -67 38 -152 q 23 -86 59 -177 q 36 -92 87 -182 q 50 -90 118 -167 q -38 -36 -38 -90 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 35 0 64 17 q 28 16 45 43 q 63 -32 133 -48 q 70 -17 154 -17 q 6 0 39 4 q 32 3 79 21 q 47 17 102 54 q 55 37 107 105 q 21 -9 45 -9 q 27 0 50 10 q 23 10 41 28 q 17 17 27 41 q 10 23 10 49 q 0 35 -16 63 q -17 28 -43 45 q 30 96 45 210 q 14 114 14 248 z" })] }), jc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1577 -902 q 93 215 93 547 q 0 88 -6 184 l -43 -3 q 3 -47 5 -92 q 2 -45 2 -88 q 0 -277 -68 -470 q -25 97 -65 167 q -40 70 -89 119 q -49 48 -104 78 q -55 29 -108 46 q -54 16 -103 22 q -49 5 -87 5 q -74 0 -141 -21 q -68 -21 -129 -58 q -62 -37 -116 -88 q -55 -51 -104 -111 q -39 93 -64 181 q -25 88 -40 157 q -15 69 -21 112 q -6 42 -6 44 l -42 -4 q 0 -2 7 -48 q 6 -46 23 -120 q 16 -74 44 -168 q 27 -94 70 -192 q -60 -79 -109 -167 q -50 -88 -90 -174 q -40 -86 -70 -164 q -30 -79 -50 -141 q -21 -62 -32 -102 q -11 -40 -13 -47 l 42 -11 q 0 2 10 37 q 10 35 29 93 q 19 58 48 135 q 28 76 66 160 q 38 83 86 170 q 47 86 104 165 q 45 -96 106 -184 q 61 -89 142 -156 q 80 -68 181 -108 q 101 -40 227 -40 q 3 0 22 2 q 19 1 49 9 q 30 8 68 25 q 38 16 80 46 q 41 29 83 75 q 42 46 80 112 q 5 -42 8 -87 q 2 -45 2 -93 q 0 -243 -64 -562 l 42 -8 q 65 325 65 569 q 0 68 -5 130 q -5 61 -15 117 m -156 283 q 79 -106 111 -275 q -33 -74 -72 -125 q -40 -51 -81 -84 q -41 -34 -80 -52 q -39 -19 -69 -27 q -31 -9 -49 -11 q -19 -2 -20 -2 q -121 0 -218 41 q -97 40 -173 107 q -77 67 -135 155 q -58 87 -101 181 q 47 60 100 112 q 53 51 112 89 q 58 37 123 59 q 65 21 136 21 q 45 0 99 -7 q 54 -7 110 -27 q 55 -21 109 -58 q 54 -37 98 -97 z" }), f("path", { className: "styled info", d: "M 1792 1749 l -43 -3 q 6 -93 6 -178 q 0 -244 -51 -422 q -51 -179 -152 -287 q -47 -49 -93 -76 q -46 -28 -83 -40 q -38 -13 -62 -15 q -24 -3 -25 -3 q -124 0 -223 44 q -99 43 -177 114 q -78 71 -136 162 q -58 90 -100 186 q -42 95 -69 187 q -28 91 -44 164 q -16 72 -22 118 q -7 46 -7 49 l -42 -4 q 0 -3 5 -34 q 4 -32 14 -84 q 10 -52 27 -120 q 17 -68 43 -144 q 25 -76 60 -156 q 35 -80 82 -155 q 46 -76 105 -143 q 58 -67 131 -117 q 73 -51 161 -80 q 88 -29 193 -29 q 3 0 30 3 q 27 2 69 16 q 41 14 92 44 q 51 30 102 84 q 216 231 216 735 q 0 45 -2 91 q -2 45 -5 93 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 m 1004 -387 q -111 0 -207 -46 q -97 -46 -179 -121 q -83 -75 -151 -172 q -68 -97 -122 -199 q -55 -102 -96 -201 q -41 -99 -68 -178 q -28 -80 -43 -132 q -15 -53 -17 -62 l 42 -11 q 1 2 14 50 q 13 47 40 124 q 26 76 66 173 q 39 96 91 197 q 52 101 118 197 q 65 96 144 171 q 79 75 171 121 q 92 46 197 46 q 45 0 99 -7 q 54 -7 110 -27 q 56 -21 110 -58 q 54 -37 98 -97 q 133 -180 133 -528 q 0 -121 -16 -261 q -16 -141 -48 -302 l 42 -8 q 65 325 65 569 q 0 364 -142 556 q -50 67 -111 108 q -62 40 -123 62 q -62 22 -119 29 q -57 7 -98 7 z" })] }), Gc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 213 342 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 63 q -17 28 -44 45 l 361 762 l 165 -282 q -36 -14 -59 -46 q -23 -32 -23 -73 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 62 q -16 28 -42 45 l 78 89 l 449 -570 q -20 -18 -31 -42 q -11 -25 -11 -53 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -11 0 -20 -2 q -10 -2 -19 -5 l -258 814 l 410 467 l -54 -422 q -5 1 -8 1 q -4 0 -8 0 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 38 -19 69 q -20 30 -52 46 l 70 565 l -482 -549 l -46 145 q 26 17 43 45 q 16 28 16 63 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 15 0 29 3 l 53 -166 l -189 -214 l -295 375 l -69 -146 l -147 251 q 29 17 47 46 q 17 29 17 64 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 q 11 0 23 3 l 166 -283 l -375 -789 q -14 3 -28 3 m 982 1109 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 m 341 -1323 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 m -105 275 l -401 509 l 176 200 m -355 -301 l -187 301 l 52 129 l 258 -327 l -93 -106 q -15 3 -30 3 m -638 -683 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 z" }), f("path", { className: "styled background", d: "M 1771 296 q 0 22 -8 42 q -9 19 -23 34 q -15 15 -35 24 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -24 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 q 22 0 42 9 q 20 8 35 23 q 14 14 23 34 q 8 19 8 41 m -1320 7 q 0 22 -8 42 q -9 19 -23 34 q -15 15 -34 24 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -35 -24 q -15 -15 -23 -34 q -9 -20 -9 -42 q 0 -22 9 -41 q 8 -20 23 -34 q 15 -15 35 -23 q 19 -9 41 -9 q 22 0 42 9 q 19 8 34 23 q 14 14 23 34 q 8 19 8 41 m 902 1232 q 0 23 -8 43 q -9 19 -23 34 q -15 14 -35 23 q -20 8 -42 8 q -22 0 -41 -8 q -20 -9 -34 -23 q -15 -15 -23 -34 q -9 -20 -9 -43 q 0 -22 9 -41 q 8 -20 23 -34 q 14 -15 34 -23 q 19 -9 41 -9 q 22 0 42 9 q 20 8 35 23 q 14 14 23 34 q 8 19 8 41 z" }), f("path", { className: "styled info", d: "M 1664 171 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 26 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -11 0 -20 -2 q -10 -2 -19 -5 l -319 1008 q 26 17 43 45 q 16 28 16 63 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -23 10 -50 10 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 15 0 29 3 l 293 -923 l -724 918 l -466 -982 q -14 3 -28 3 q -26 0 -49 -10 q -24 -10 -41 -27 q -18 -18 -28 -41 q -10 -24 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 63 q -17 28 -44 45 l 435 919 l 734 -932 q -20 -18 -31 -42 q -11 -25 -11 -53 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 m -1323 213 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 m 982 1152 q 0 -18 -7 -33 q -7 -16 -18 -27 q -12 -12 -27 -18 q -16 -7 -34 -7 q -35 0 -60 25 q -25 25 -25 60 q 0 35 25 60 q 25 25 60 25 q 18 0 34 -6 q 15 -7 27 -18 q 11 -12 18 -27 q 7 -16 7 -34 m 341 -1152 q 35 0 60 -25 q 25 -25 25 -60 q 0 -18 -6 -33 q -7 -16 -18 -27 q -12 -12 -27 -19 q -16 -7 -34 -7 q -18 0 -33 7 q -16 7 -27 19 q -12 11 -18 27 q -7 15 -7 33 q 0 35 25 60 q 25 25 60 25 z" }), f("path", { className: "styled current_color", d: "M 128 1920 h 1835 v 43 h -1878 v -1878 h 43 m 1636 1182 l 70 565 l -825 -939 q -15 3 -30 3 l -360 615 q 29 17 47 46 q 17 29 17 64 q 0 27 -10 50 q -10 23 -27 41 q -18 17 -41 27 q -24 10 -50 10 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -26 10 -49 q 10 -24 28 -41 q 17 -18 40 -28 q 23 -10 50 -10 q 11 0 23 3 l 357 -609 q -36 -14 -59 -46 q -23 -32 -23 -73 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 41 -28 q 23 -10 49 -10 q 27 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 34 -16 62 q -16 28 -42 45 l 726 826 l -54 -422 q -5 1 -8 1 q -4 0 -8 0 q -27 0 -50 -10 q -23 -10 -40 -27 q -18 -18 -28 -41 q -10 -23 -10 -50 q 0 -27 10 -50 q 10 -23 28 -40 q 17 -18 40 -28 q 23 -10 50 -10 q 26 0 50 10 q 23 10 41 28 q 17 17 27 40 q 10 23 10 50 q 0 38 -19 69 q -20 30 -52 46 z" })] }), Zc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1503 1457 l -10 61 l -42 -6 l 16 -96 l -334 -380 l -309 389 l -72 -147 l -248 421 l -37 -21 l 262 -446 l -463 -951 l 39 -18 l 451 925 l 227 -387 l 149 168 l 564 -710 l -184 1143 l 263 299 l -68 -525 l 42 -5 l 83 661 m -728 -828 l -114 -130 l -212 360 l 54 112 m 644 14 l 155 -951 l -471 593 m 803 918 v 43 h -1878 v -1878 h 43 v 1835 z" }), f("path", { className: "styled info", d: "M 1493 1518 l -42 -6 l 180 -1103 l -807 1016 l -558 -1144 l 39 -18 l 527 1083 l 864 -1087 z" }), f("path", { className: "styled current_color", d: "M 1832 1832 l -842 -958 l -486 825 l -37 -21 l 516 -877 l 792 900 l -68 -525 l 42 -5 m 214 749 v 43 h -1878 v -1878 h 43 v 1835 z" })] }), Kc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), Yc = (e) => nt("svg", { viewBox: "0,0,2048,2048", ...e, children: [f("path", { className: "styled high_contrast", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 171 v -1323 h 341 v 512 h 299 v 811 h 170 v -1067 h 299 v -640 h 341 v 1707 m -853 0 v -768 h -256 v 768 m 1067 0 v -1664 h -256 v 1664 z" }), f("path", { className: "styled background", d: "M 1728 1941 h -299 v -1706 h 299 m -811 1706 h -298 v -810 h 298 z" }), f("path", { className: "styled info_light", d: "M 619 1941 h -299 v -1322 h 299 z" }), f("path", { className: "styled info_dark", d: "M 640 1941 h -43 v -1301 h -256 v 1301 h -42 v -1344 h 341 z" }), f("path", { className: "styled secondary_light", d: "M 1429 1941 h -298 v -1066 h 298 z" }), f("path", { className: "styled secondary_dark", d: "M 1432 896 h -280 v 1050 h -43 v -1093 h 323 z" }), f("path", { className: "styled current_color", d: "M 1963 1920 v 43 h -1878 v -1878 h 43 v 1835 h 768 v -768 h -256 v -43 h 299 v 811 h 469 v -1707 h 341 v 1707 m -42 0 v -1664 h -256 v 1664 z" })] }), mr = pn(null);
4736
4736
  mr.displayName = "DocThemesContext";
4737
4737
  const Xc = (e) => {
4738
4738
  const { themes: t, children: n } = e;
@@ -4740,8 +4740,8 @@ const Xc = (e) => {
4740
4740
  }, Jc = () => {
4741
4741
  const e = Kt(mr), [t] = ge(() => new fl());
4742
4742
  return pe(() => e || t, [e]);
4743
- }, rc = "_script-editor_iy654_5", ic = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, lc = et.lazy(() => import("./BEVTSpey87VbTNLQ.mjs"));
4744
- let Ln, Pn, tn = ["define", "require"], ii = !1, wo = "@0.7.9";
4743
+ }, rc = "_script-editor_iy654_5", ic = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, lc = et.lazy(() => import("./FWGFW5D6upZOTrRl.mjs"));
4744
+ let Ln, Pn, tn = ["define", "require"], ii = !1, wo = "@0.7.11";
4745
4745
  wo !== "@local" && wo !== "@0.0.0" || (wo = "");
4746
4746
  const ac = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${wo}/types/scripting.d.ts`, li = async (e, t, n) => {
4747
4747
  const o = e.getModel();
@@ -4824,14 +4824,14 @@ const Qc = mt(vt((e, t) => {
4824
4824
  let Q = null;
4825
4825
  const G = () => y;
4826
4826
  return Q = i ? i.createChildGroup(G, "scriptEditor", !1) : new Ro(G, "scriptEditor"), Q.addCommands(M, !0), Q;
4827
- }, [i, M]), $ = i.getGroup("workbook"), O = ui($, ["executeSelectedScript", "saveScripts"]), x = O[0], F = O[1], u = x?.context(), [D, C] = ge({ message: "Loading", cursor: "", dirty: !1 }), [W, A] = ge({ loading: !1, compiling: !1, errors: [], warnings: [] }), L = oe((Q) => {
4827
+ }, [i, M]), $ = i.getGroup("workbook"), O = ui($, ["executeSelectedScript", "saveScripts"]), x = O[0], z = O[1], u = x?.context(), [D, C] = ge({ message: "Loading", cursor: "", dirty: !1 }), [W, A] = ge({ loading: !1, compiling: !1, errors: [], warnings: [] }), L = oe((Q) => {
4828
4828
  C((G) => {
4829
4829
  const ce = { ...G, ...Q };
4830
- return ot.deepEqual(ce, G) ? G : (F.update({ disabled: !ce.dirty }).updateCallback(async () => {
4830
+ return ot.deepEqual(ce, G) ? G : (z.update({ disabled: !ce.dirty }).updateCallback(async () => {
4831
4831
  await U();
4832
4832
  }), ce);
4833
4833
  });
4834
- }, [w, F]);
4834
+ }, [w, z]);
4835
4835
  ve(() => {
4836
4836
  w?.(D);
4837
4837
  }, [w, D]);
@@ -4895,7 +4895,7 @@ const Qc = mt(vt((e, t) => {
4895
4895
  });
4896
4896
  Oe.current && Oe.current.clear(), Oe.current = ee.createDecorationsCollection(fe);
4897
4897
  })(Q, G, ce, Pe ? Pe.getFunctions().getItems() : ot.EmptyArray), A((Ce) => ({ ...Ce, compiling: !1 })));
4898
- }, [u]), z = oe(ot.debounce(S, 580), []), J = oe(async (Q = void 0) => {
4898
+ }, [u]), F = oe(ot.debounce(S, 580), []), J = oe(async (Q = void 0) => {
4899
4899
  if (!a.current || !u) return;
4900
4900
  const G = a.current.editor.getPosition(), ce = { cursor: G ? G.toString() : "" };
4901
4901
  Q !== void 0 && (ce.message = Q), L(ce);
@@ -4938,7 +4938,7 @@ const Qc = mt(vt((e, t) => {
4938
4938
  }, [D]), Oe = ke(null), Le = oe((Q, G) => {
4939
4939
  a.current = { monaco: G, editor: Q }, q(!0), J("Loading Types");
4940
4940
  const ce = u?.getScripts().getModules().getItems()[0]?.getSource() ?? "";
4941
- Q.setValue(ce), import("./DGQWHBbDCtMyJX8H.mjs").then((Ce) => Ce.c).then(async (Ce) => {
4941
+ Q.setValue(ce), import("./Y2wLiL8_aBmucpXA.mjs").then((Ce) => Ce.c).then(async (Ce) => {
4942
4942
  J(""), Ce.AutoTypings.create(Q, { shareCache: !0, dontAdaptEditorOptions: !0, monaco: G, onUpdate: (P, ee) => {
4943
4943
  if (P.type === "LookedUpPackage" && P.success !== void 0) {
4944
4944
  const he = G.languages.typescript.typescriptDefaults.getDiagnosticsOptions();
@@ -4949,7 +4949,7 @@ const Qc = mt(vt((e, t) => {
4949
4949
  } }).then((P) => {
4950
4950
  re.current = P;
4951
4951
  const ee = Q.getModel();
4952
- z(ee, G, Q), (() => {
4952
+ F(ee, G, Q), (() => {
4953
4953
  if (ii) return;
4954
4954
  const he = (Be, ie) => {
4955
4955
  try {
@@ -4990,7 +4990,7 @@ const Qc = mt(vt((e, t) => {
4990
4990
  }
4991
4991
  }
4992
4992
  }), Q.onDidChangeModelContent(() => {
4993
- L({ dirty: !0 }), z(Pe, G, Q);
4993
+ L({ dirty: !0 }), F(Pe, G, Q);
4994
4994
  }), G.editor.onDidChangeMarkers((Ce) => {
4995
4995
  Ce.some((P) => P.toString() === Pe.uri.toString());
4996
4996
  });
@@ -5058,8 +5058,8 @@ const Qc = mt(vt((e, t) => {
5058
5058
  Ve !== "`" && Ve !== "'" && Ve !== '"' || (We++, le = le.substring(0, le.length - 1));
5059
5059
  try {
5060
5060
  u.getRanges(le) && ee.push({ range: { endColumn: je, endLineNumber: ie, startColumn: We, startLineNumber: ie }, tooltip: `Goto range '${le}'`, url: `/range/${le}` });
5061
- } catch (Fe) {
5062
- console.warn(Fe);
5061
+ } catch (ze) {
5062
+ console.warn(ze);
5063
5063
  }
5064
5064
  }
5065
5065
  }
@@ -5116,9 +5116,9 @@ export {
5116
5116
  Dc as ChartColumnStackedPercentIcon,
5117
5117
  kc as ChartEditor,
5118
5118
  Ac as ChartLineIcon,
5119
- zc as ChartLineMarkersIcon,
5119
+ Fc as ChartLineMarkersIcon,
5120
5120
  Ec as ChartLineStackedIcon,
5121
- Fc as ChartLineStackedMarkersIcon,
5121
+ zc as ChartLineStackedMarkersIcon,
5122
5122
  Ic as ChartLineStackedPercentIcon,
5123
5123
  Nc as ChartLineStackedPercentMarkersIcon,
5124
5124
  Pc as ChartPieDoughnutIcon,