@actual-app/api 25.12.0-nightly.20251116 → 25.12.0-nightly.20251117

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.
@@ -11728,7 +11728,9 @@ class I18n extends EventEmitter {
11728
11728
  return rtlLngs.indexOf(languageUtils.getLanguagePartFromCode(lng)) > -1 || lng.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
11729
11729
  }
11730
11730
  static createInstance(options = {}, callback) {
11731
- return new I18n(options, callback);
11731
+ const instance2 = new I18n(options, callback);
11732
+ instance2.createInstance = I18n.createInstance;
11733
+ return instance2;
11732
11734
  }
11733
11735
  cloneInstance(options = {}, callback = noop) {
11734
11736
  const forkResourceStore = options.forkResourceStore;
@@ -11793,7 +11795,6 @@ class I18n extends EventEmitter {
11793
11795
  }
11794
11796
  }
11795
11797
  const instance = I18n.createInstance();
11796
- instance.createInstance = I18n.createInstance;
11797
11798
  instance.createInstance;
11798
11799
  instance.dir;
11799
11800
  instance.init;
@@ -61142,32 +61143,6 @@ function getMappings() {
61142
61143
  return allMappings;
61143
61144
  }
61144
61145
  var handlebars$1 = { exports: {} };
61145
- /**!
61146
-
61147
- @license
61148
- handlebars v4.7.8
61149
-
61150
- Copyright (C) 2011-2019 by Yehuda Katz
61151
-
61152
- Permission is hereby granted, free of charge, to any person obtaining a copy
61153
- of this software and associated documentation files (the "Software"), to deal
61154
- in the Software without restriction, including without limitation the rights
61155
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
61156
- copies of the Software, and to permit persons to whom the Software is
61157
- furnished to do so, subject to the following conditions:
61158
-
61159
- The above copyright notice and this permission notice shall be included in
61160
- all copies or substantial portions of the Software.
61161
-
61162
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
61163
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
61164
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
61165
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61166
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
61167
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
61168
- THE SOFTWARE.
61169
-
61170
- */
61171
61146
  var handlebars = handlebars$1.exports;
61172
61147
  var hasRequiredHandlebars;
61173
61148
  function requireHandlebars() {
@@ -65856,10 +65831,6 @@ function requireHandlebars() {
65856
65831
  return handlebars$1.exports;
65857
65832
  }
65858
65833
  var handlebarsExports = requireHandlebars();
65859
- /**
65860
- * @license
65861
- * Copyright (c) 2025 Handsoncode. All rights reserved.
65862
- */
65863
65834
  var ReferenceType;
65864
65835
  (function (ReferenceType2) {
65865
65836
  ReferenceType2["RELATIVE"] = "RELATIVE";
@@ -65942,10 +65913,6 @@ class ColumnAddress {
65942
65913
  return this.col >= maxColumns;
65943
65914
  }
65944
65915
  }
65945
- /**
65946
- * @license
65947
- * Copyright (c) 2025 Handsoncode. All rights reserved.
65948
- */
65949
65916
  class RowAddress {
65950
65917
  constructor(type2, row, sheet) {
65951
65918
  this.type = type2;
@@ -66022,10 +65989,6 @@ class RowAddress {
66022
65989
  return this.row >= maxRows;
66023
65990
  }
66024
65991
  }
66025
- /**
66026
- * @license
66027
- * Copyright (c) 2025 Handsoncode. All rights reserved.
66028
- */
66029
65992
  var CellReferenceType;
66030
65993
  (function (CellReferenceType2) {
66031
65994
  CellReferenceType2["CELL_REFERENCE_RELATIVE"] = "CELL_REFERENCE";
@@ -66172,10 +66135,6 @@ class CellAddress {
66172
66135
  return this.row >= maxRows || this.col >= maxColumns;
66173
66136
  }
66174
66137
  }
66175
- /**
66176
- * @license
66177
- * Copyright (c) 2025 Handsoncode. All rights reserved.
66178
- */
66179
66138
  const RANGE_OPERATOR = ":";
66180
66139
  const ABSOLUTE_OPERATOR = "$";
66181
66140
  const ALL_WHITESPACE_PATTERN = "\\s+";
@@ -66193,10 +66152,6 @@ const CELL_REFERENCE_WITH_NEXT_CHARACTER_PATTERN = `(${CELL_REFERENCE_PATTERN})[
66193
66152
  const NAMED_EXPRESSION_PATTERN = `[${UNICODE_LETTER_PATTERN}_][${NON_RESERVED_CHARACTER_PATTERN}]*`;
66194
66153
  const ALL_DIGITS_ARRAY = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
66195
66154
  const ALL_UNICODE_LETTERS_ARRAY = [...Array.from(Array(26)).map((_, i) => i + "A".charCodeAt(0)), ...Array.from(Array(26)).map((_, i) => i + "a".charCodeAt(0)), ...Array.from(Array(687 - 192 + 1)).map((_, i) => i + 192)].map((code) => String.fromCharCode(code));
66196
- /**
66197
- * @license
66198
- * Copyright (c) 2025 Handsoncode. All rights reserved.
66199
- */
66200
66155
  const addressRegex = new RegExp(`^(${SHEET_NAME_PATTERN})?(\\${ABSOLUTE_OPERATOR}?)([A-Za-z]+)(\\${ABSOLUTE_OPERATOR}?)([0-9]+)$`);
66201
66156
  const columnRegex = new RegExp(`^(${SHEET_NAME_PATTERN})?(\\${ABSOLUTE_OPERATOR}?)([A-Za-z]+)$`);
66202
66157
  const rowRegex = new RegExp(`^(${SHEET_NAME_PATTERN})?(\\${ABSOLUTE_OPERATOR}?)([0-9]+)$`);
@@ -74214,10 +74169,6 @@ var EmbeddedActionsParser = (
74214
74169
  }
74215
74170
  return EmbeddedActionsParser2;
74216
74171
  })(Parser2));
74217
- /**
74218
- * @license
74219
- * Copyright (c) 2025 Handsoncode. All rights reserved.
74220
- */
74221
74172
  const parsingError = (type2, message2) => ({
74222
74173
  type: type2,
74223
74174
  message: message2
@@ -74458,10 +74409,6 @@ function assertRangeConsistency(start, end, sheetReferenceType) {
74458
74409
  function imageWithWhitespace(image, leadingWhitespace) {
74459
74410
  return (leadingWhitespace !== null && leadingWhitespace !== void 0 ? leadingWhitespace : "") + image;
74460
74411
  }
74461
- /**
74462
- * @license
74463
- * Copyright (c) 2025 Handsoncode. All rights reserved.
74464
- */
74465
74412
  const binaryOpTokenMap = {
74466
74413
  [AstNodeType.PLUS_OP]: "+",
74467
74414
  [AstNodeType.MINUS_OP]: "-",
@@ -74476,10 +74423,6 @@ const binaryOpTokenMap = {
74476
74423
  [AstNodeType.LESS_THAN_OP]: "<",
74477
74424
  [AstNodeType.LESS_THAN_OR_EQUAL_OP]: "<="
74478
74425
  };
74479
- /**
74480
- * @license
74481
- * Copyright (c) 2025 Handsoncode. All rights reserved.
74482
- */
74483
74426
  const buildCacheEntry = (ast, relativeDependencies, hasVolatileFunction, hasStructuralChangeFunction) => ({
74484
74427
  ast,
74485
74428
  relativeDependencies,
@@ -74555,10 +74498,6 @@ const doesContainFunctions = (ast, functionCriterion) => {
74555
74498
  }
74556
74499
  }
74557
74500
  };
74558
- /**
74559
- * @license
74560
- * Copyright (c) 2025 Handsoncode. All rights reserved.
74561
- */
74562
74501
  class ErrorMessage {
74563
74502
  }
74564
74503
  ErrorMessage.DistinctSigns = "Distinct signs.";
@@ -74630,10 +74569,6 @@ ErrorMessage.SizeMismatch = "Array dimensions mismatched.";
74630
74569
  ErrorMessage.FunctionName = (arg) => `Function name ${arg} not recognized.`;
74631
74570
  ErrorMessage.NamedExpressionName = (arg) => `Named expression ${arg} not recognized.`;
74632
74571
  ErrorMessage.LicenseKey = (arg) => `License key is ${arg}.`;
74633
- /**
74634
- * @license
74635
- * Copyright (c) 2025 Handsoncode. All rights reserved.
74636
- */
74637
74572
  class CellReferenceMatcher {
74638
74573
  constructor() {
74639
74574
  this.POSSIBLE_START_CHARACTERS = [...ALL_UNICODE_LETTERS_ARRAY, ...ALL_DIGITS_ARRAY, ABSOLUTE_OPERATOR, "'", "_"];
@@ -74655,10 +74590,6 @@ class CellReferenceMatcher {
74655
74590
  return execResult;
74656
74591
  }
74657
74592
  }
74658
- /**
74659
- * @license
74660
- * Copyright (c) 2025 Handsoncode. All rights reserved.
74661
- */
74662
74593
  class NamedExpressionMatcher {
74663
74594
  constructor() {
74664
74595
  this.POSSIBLE_START_CHARACTERS = [...ALL_UNICODE_LETTERS_ARRAY, "_"];
@@ -74683,10 +74614,6 @@ class NamedExpressionMatcher {
74683
74614
  return execResult;
74684
74615
  }
74685
74616
  }
74686
- /**
74687
- * @license
74688
- * Copyright (c) 2025 Handsoncode. All rights reserved.
74689
- */
74690
74617
  const AdditionOp = createToken({
74691
74618
  name: "AdditionOp",
74692
74619
  pattern: Lexer.NA
@@ -74873,10 +74800,6 @@ const buildLexerConfig = (config2) => {
74873
74800
  maxRows: config2.maxRows
74874
74801
  };
74875
74802
  };
74876
- /**
74877
- * @license
74878
- * Copyright (c) 2025 Handsoncode. All rights reserved.
74879
- */
74880
74803
  class FormulaParser extends EmbeddedActionsParser {
74881
74804
  constructor(lexerConfig, sheetMapping) {
74882
74805
  super(lexerConfig.allTokens, {
@@ -75516,10 +75439,6 @@ class FormulaLexer {
75516
75439
  return tokens;
75517
75440
  }
75518
75441
  }
75519
- /**
75520
- * @license
75521
- * Copyright (c) 2025 Handsoncode. All rights reserved.
75522
- */
75523
75442
  class Unparser {
75524
75443
  constructor(config2, lexerConfig, sheetMappingFn, namedExpressions) {
75525
75444
  this.config = config2;
@@ -75630,10 +75549,6 @@ function formatNumber(number2, decimalSeparator) {
75630
75549
  const numericString = number2.toString();
75631
75550
  return numericString.replace(".", decimalSeparator);
75632
75551
  }
75633
- /**
75634
- * @license
75635
- * Copyright (c) 2025 Handsoncode. All rights reserved.
75636
- */
75637
75552
  class ParserWithCaching {
75638
75553
  constructor(config2, functionRegistry, sheetMapping) {
75639
75554
  this.config = config2;
@@ -75969,10 +75884,6 @@ class ParserWithCaching {
75969
75884
  return this.lexer.tokenizeFormula(text);
75970
75885
  }
75971
75886
  }
75972
- /**
75973
- * @license
75974
- * Copyright (c) 2025 Handsoncode. All rights reserved.
75975
- */
75976
75887
  const collectDependenciesFn = (ast, functionRegistry, dependenciesSet, needArgument) => {
75977
75888
  switch (ast.type) {
75978
75889
  case AstNodeType.EMPTY:
@@ -76046,10 +75957,6 @@ const collectDependencies = (ast, functionRegistry) => {
76046
75957
  collectDependenciesFn(ast, functionRegistry, result, true);
76047
75958
  return result;
76048
75959
  };
76049
- /**
76050
- * @license
76051
- * Copyright (c) 2025 Handsoncode. All rights reserved.
76052
- */
76053
75960
  class AddressDependency {
76054
75961
  constructor(dependency) {
76055
75962
  this.dependency = dependency;
@@ -76097,10 +76004,6 @@ class NamedExpressionDependency {
76097
76004
  return this;
76098
76005
  }
76099
76006
  }
76100
- /**
76101
- * @license
76102
- * Copyright (c) 2025 Handsoncode. All rights reserved.
76103
- */
76104
76007
  const absolutizeDependencies = (deps, baseAddress) => {
76105
76008
  return deps.map((dep) => dep.absolutize(baseAddress));
76106
76009
  };
@@ -76117,10 +76020,6 @@ const filterDependenciesOutOfScope = (deps) => {
76117
76020
  }
76118
76021
  });
76119
76022
  };
76120
- /**
76121
- * @license
76122
- * Copyright (c) 2025 Handsoncode. All rights reserved.
76123
- */
76124
76023
  const EmptyValue = Symbol("Empty value");
76125
76024
  function getRawValue(num2) {
76126
76025
  if (num2 instanceof RichNumber) {
@@ -76215,10 +76114,6 @@ function getTypeFormatOfExtendedNumber(num2) {
76215
76114
  };
76216
76115
  }
76217
76116
  }
76218
- /**
76219
- * @license
76220
- * Copyright (c) 2025 Handsoncode. All rights reserved.
76221
- */
76222
76117
  class SimpleRangeValue {
76223
76118
  /**
76224
76119
  * In most cases, it's more convenient to create a `SimpleRangeValue` object
@@ -76400,10 +76295,6 @@ class SimpleRangeValue {
76400
76295
  });
76401
76296
  }
76402
76297
  }
76403
- /**
76404
- * @license
76405
- * Copyright (c) 2025 Handsoncode. All rights reserved.
76406
- */
76407
76298
  class ContentChanges {
76408
76299
  constructor() {
76409
76300
  this.changes = /* @__PURE__ */ new Map();
@@ -76456,10 +76347,6 @@ class ContentChanges {
76456
76347
  });
76457
76348
  }
76458
76349
  }
76459
- /**
76460
- * @license
76461
- * Copyright (c) 2025 Handsoncode. All rights reserved.
76462
- */
76463
76350
  class RowsSpan {
76464
76351
  constructor(sheet, rowStart, rowEnd) {
76465
76352
  this.sheet = sheet;
@@ -76554,10 +76441,6 @@ class ColumnsSpan {
76554
76441
  return new ColumnsSpan(this.sheet, this.columnStart, this.columnStart);
76555
76442
  }
76556
76443
  }
76557
- /**
76558
- * @license
76559
- * Copyright (c) 2025 Handsoncode. All rights reserved.
76560
- */
76561
76444
  var StatType;
76562
76445
  (function (StatType2) {
76563
76446
  StatType2["BUILD_ENGINE_TOTAL"] = "BUILD_ENGINE_TOTAL";
@@ -76578,10 +76461,6 @@ var StatType;
76578
76461
  StatType2["CRITERION_FUNCTION_FULL_CACHE_USED"] = "CRITERION_FUNCTION_FULL_CACHE_USED";
76579
76462
  StatType2["CRITERION_FUNCTION_PARTIAL_CACHE_USED"] = "CRITERION_FUNCTION_PARTIAL_CACHE_USED";
76580
76463
  })(StatType || (StatType = {}));
76581
- /**
76582
- * @license
76583
- * Copyright (c) 2025 Handsoncode. All rights reserved.
76584
- */
76585
76464
  class Statistics {
76586
76465
  constructor() {
76587
76466
  this.stats = /* @__PURE__ */ new Map([[StatType.CRITERION_FUNCTION_FULL_CACHE_USED, 0], [StatType.CRITERION_FUNCTION_PARTIAL_CACHE_USED, 0]]);
@@ -76659,10 +76538,6 @@ class Statistics {
76659
76538
  return new Map(this.stats);
76660
76539
  }
76661
76540
  }
76662
- /**
76663
- * @license
76664
- * Copyright (c) 2025 Handsoncode. All rights reserved.
76665
- */
76666
76541
  class EmptyStatistics extends Statistics {
76667
76542
  /** @inheritDoc */
76668
76543
  incrementCriterionFunctionFullCacheUsed() {
@@ -76677,10 +76552,6 @@ class EmptyStatistics extends Statistics {
76677
76552
  end(_name) {
76678
76553
  }
76679
76554
  }
76680
- /**
76681
- * @license
76682
- * Copyright (c) 2025 Handsoncode. All rights reserved.
76683
- */
76684
76555
  class NoSheetWithIdError extends Error {
76685
76556
  constructor(sheetId) {
76686
76557
  super(`There's no sheet with id = ${sheetId}`);
@@ -76862,10 +76733,6 @@ class AliasAlreadyExisting extends Error {
76862
76733
  super(`Alias id ${name} in plugin ${pluginName} already defined as a function or alias.`);
76863
76734
  }
76864
76735
  }
76865
- /**
76866
- * @license
76867
- * Copyright (c) 2025 Handsoncode. All rights reserved.
76868
- */
76869
76736
  class AddressMapping {
76870
76737
  constructor(policy) {
76871
76738
  this.policy = policy;
@@ -77047,10 +76914,6 @@ class AddressMapping {
77047
76914
  }
77048
76915
  }
77049
76916
  }
77050
- /**
77051
- * @license
77052
- * Copyright (c) 2025 Handsoncode. All rights reserved.
77053
- */
77054
76917
  class ArrayMapping {
77055
76918
  constructor() {
77056
76919
  this.arrayMapping = /* @__PURE__ */ new Map();
@@ -77172,10 +77035,6 @@ class ArrayMapping {
77172
77035
  });
77173
77036
  }
77174
77037
  }
77175
- /**
77176
- * @license
77177
- * Copyright (c) 2025 Handsoncode. All rights reserved.
77178
- */
77179
77038
  class NotComputedArray {
77180
77039
  constructor(size2) {
77181
77040
  this.size = size2;
@@ -77306,10 +77165,6 @@ class ErroredArray {
77306
77165
  return this.error;
77307
77166
  }
77308
77167
  }
77309
- /**
77310
- * @license
77311
- * Copyright (c) 2025 Handsoncode. All rights reserved.
77312
- */
77313
77168
  class FormulaVertex {
77314
77169
  constructor(formula, cellAddress, version) {
77315
77170
  this.formula = formula;
@@ -77495,10 +77350,6 @@ class FormulaCellVertex extends FormulaVertex {
77495
77350
  return this.cachedCellValue !== void 0;
77496
77351
  }
77497
77352
  }
77498
- /**
77499
- * @license
77500
- * Copyright (c) 2025 Handsoncode. All rights reserved.
77501
- */
77502
77353
  class RangeVertex {
77503
77354
  constructor(range2) {
77504
77355
  this.range = range2;
@@ -77588,10 +77439,6 @@ class RangeVertex {
77588
77439
  return this.end;
77589
77440
  }
77590
77441
  }
77591
- /**
77592
- * @license
77593
- * Copyright (c) 2025 Handsoncode. All rights reserved.
77594
- */
77595
77442
  const collectAddressesDependentToRange = (functionRegistry, vertex, range2, lazilyTransformingAstService, dependencyGraph) => {
77596
77443
  if (vertex instanceof RangeVertex) {
77597
77444
  const intersection = vertex.range.intersectionWith(range2);
@@ -77613,10 +77460,6 @@ const collectAddressesDependentToRange = (functionRegistry, vertex, range2, lazi
77613
77460
  }
77614
77461
  return collectDependencies(formula, functionRegistry).filter((d) => d instanceof AddressDependency).map((d) => d.dependency.toSimpleCellAddress(address)).filter((d) => range2.addressInRange(d));
77615
77462
  };
77616
- /**
77617
- * @license
77618
- * Copyright (c) 2025 Handsoncode. All rights reserved.
77619
- */
77620
77463
  var NodeVisitStatus;
77621
77464
  (function (NodeVisitStatus2) {
77622
77465
  NodeVisitStatus2[NodeVisitStatus2["ON_STACK"] = 0] = "ON_STACK";
@@ -77762,10 +77605,6 @@ class TopSort {
77762
77605
  };
77763
77606
  }
77764
77607
  }
77765
- /**
77766
- * @license
77767
- * Copyright (c) 2025 Handsoncode. All rights reserved.
77768
- */
77769
77608
  class ProcessableValue {
77770
77609
  constructor(rawValue, processFn) {
77771
77610
  this.rawValue = rawValue;
@@ -77782,10 +77621,6 @@ class ProcessableValue {
77782
77621
  this.processedValue = null;
77783
77622
  }
77784
77623
  }
77785
- /**
77786
- * @license
77787
- * Copyright (c) 2025 Handsoncode. All rights reserved.
77788
- */
77789
77624
  class Graph {
77790
77625
  constructor(dependencyQuery) {
77791
77626
  this.dependencyQuery = dependencyQuery;
@@ -78086,10 +77921,6 @@ class Graph {
78086
77921
  return new Error(`Unknown node ${node2}`);
78087
77922
  }
78088
77923
  }
78089
- /**
78090
- * @license
78091
- * Copyright (c) 2025 Handsoncode. All rights reserved.
78092
- */
78093
77924
  class RangeMapping {
78094
77925
  constructor() {
78095
77926
  this.rangeMapping = /* @__PURE__ */ new Map();
@@ -78333,10 +78164,6 @@ const compareBy = (left, right, coordinate) => {
78333
78164
  return leftStart - rightStart;
78334
78165
  }
78335
78166
  };
78336
- /**
78337
- * @license
78338
- * Copyright (c) 2025 Handsoncode. All rights reserved.
78339
- */
78340
78167
  class TranslationPackage {
78341
78168
  constructor(functions, errors2, ui) {
78342
78169
  this.functions = functions;
@@ -78437,18 +78264,10 @@ class TranslationPackage {
78437
78264
  function buildTranslationPackage(rawTranslationPackage) {
78438
78265
  return new TranslationPackage(Object.assign({}, rawTranslationPackage.functions), Object.assign({}, rawTranslationPackage.errors), Object.assign({}, rawTranslationPackage.ui));
78439
78266
  }
78440
- /**
78441
- * @license
78442
- * Copyright (c) 2025 Handsoncode. All rights reserved.
78443
- */
78444
78267
  var UIElement;
78445
78268
  (function (UIElement2) {
78446
78269
  UIElement2["NEW_SHEET_PREFIX"] = "NEW_SHEET_PREFIX";
78447
78270
  })(UIElement || (UIElement = {}));
78448
- /**
78449
- * @license
78450
- * Copyright (c) 2025 Handsoncode. All rights reserved.
78451
- */
78452
78271
  function canonicalize(sheetDisplayName) {
78453
78272
  return sheetDisplayName.toLowerCase();
78454
78273
  }
@@ -78550,10 +78369,6 @@ class SheetMapping {
78550
78369
  return sheet;
78551
78370
  }
78552
78371
  }
78553
- /**
78554
- * @license
78555
- * Copyright (c) 2025 Handsoncode. All rights reserved.
78556
- */
78557
78372
  class DependencyGraph {
78558
78373
  constructor(addressMapping, rangeMapping, sheetMapping, arrayMapping, stats, lazilyTransformingAstService, functionRegistry, namedExpressions) {
78559
78374
  this.addressMapping = addressMapping;
@@ -79509,10 +79324,6 @@ class DependencyGraph {
79509
79324
  }
79510
79325
  }
79511
79326
  }
79512
- /**
79513
- * @license
79514
- * Copyright (c) 2025 Handsoncode. All rights reserved.
79515
- */
79516
79327
  class EmptyCellVertex {
79517
79328
  constructor() {
79518
79329
  }
@@ -79523,10 +79334,6 @@ class EmptyCellVertex {
79523
79334
  return EmptyValue;
79524
79335
  }
79525
79336
  }
79526
- /**
79527
- * @license
79528
- * Copyright (c) 2025 Handsoncode. All rights reserved.
79529
- */
79530
79337
  class ValueCellVertex {
79531
79338
  /** Static cell value. */
79532
79339
  constructor(parsedValue, rawValue) {
@@ -79550,10 +79357,6 @@ class ValueCellVertex {
79550
79357
  return this.parsedValue;
79551
79358
  }
79552
79359
  }
79553
- /**
79554
- * @license
79555
- * Copyright (c) 2025 Handsoncode. All rights reserved.
79556
- */
79557
79360
  class ParsingErrorVertex {
79558
79361
  /**
79559
79362
  * Constructor
@@ -79576,10 +79379,6 @@ class ParsingErrorVertex {
79576
79379
  return this.rawInput;
79577
79380
  }
79578
79381
  }
79579
- /**
79580
- * @license
79581
- * Copyright (c) 2025 Handsoncode. All rights reserved.
79582
- */
79583
79382
  class SparseStrategy {
79584
79383
  constructor(width, height) {
79585
79384
  this.width = width;
@@ -79758,10 +79557,6 @@ class SparseStrategy {
79758
79557
  }
79759
79558
  }
79760
79559
  }
79761
- /**
79762
- * @license
79763
- * Copyright (c) 2025 Handsoncode. All rights reserved.
79764
- */
79765
79560
  class DenseStrategy {
79766
79561
  /**
79767
79562
  * @param width - width of the stored sheet
@@ -79923,10 +79718,6 @@ class DenseStrategy {
79923
79718
  return (_a = this.mapping[y]) === null || _a === void 0 ? void 0 : _a[x];
79924
79719
  }
79925
79720
  }
79926
- /**
79927
- * @license
79928
- * Copyright (c) 2025 Handsoncode. All rights reserved.
79929
- */
79930
79721
  var ErrorType;
79931
79722
  (function (ErrorType2) {
79932
79723
  ErrorType2["DIV_BY_ZERO"] = "DIV_BY_ZERO";
@@ -80081,10 +79872,6 @@ const absoluteSheetReference = (address, baseAddress) => {
80081
79872
  const equalSimpleCellAddress = (left, right) => {
80082
79873
  return left.sheet === right.sheet && left.col === right.col && left.row === right.row;
80083
79874
  };
80084
- /**
80085
- * @license
80086
- * Copyright (c) 2025 Handsoncode. All rights reserved.
80087
- */
80088
79875
  const WRONG_RANGE_SIZE = "AbsoluteCellRange: Wrong range size";
80089
79876
  function isSimpleCellRange(val2) {
80090
79877
  if (val2 && (typeof val2 === "object" || typeof val2 === "function")) {
@@ -80507,10 +80294,6 @@ class AbsoluteRowRange extends AbsoluteCellRange {
80507
80294
  return;
80508
80295
  }
80509
80296
  }
80510
- /**
80511
- * @license
80512
- * Copyright (c) 2025 Handsoncode. All rights reserved.
80513
- */
80514
80297
  class InterpreterState {
80515
80298
  constructor(formulaAddress, arraysFlag, formulaVertex) {
80516
80299
  this.formulaAddress = formulaAddress;
@@ -80518,10 +80301,6 @@ class InterpreterState {
80518
80301
  this.formulaVertex = formulaVertex;
80519
80302
  }
80520
80303
  }
80521
- /**
80522
- * @license
80523
- * Copyright (c) 2025 Handsoncode. All rights reserved.
80524
- */
80525
80304
  function collatorFromConfig(config2) {
80526
80305
  const sensitivity = config2.caseSensitive ? config2.accentSensitive ? "variant" : "case" : config2.accentSensitive ? "accent" : "base";
80527
80306
  const caseFirst = config2.caseFirst;
@@ -80532,10 +80311,6 @@ function collatorFromConfig(config2) {
80532
80311
  ignorePunctuation
80533
80312
  });
80534
80313
  }
80535
- /**
80536
- * @license
80537
- * Copyright (c) 2025 Handsoncode. All rights reserved.
80538
- */
80539
80314
  const COMPLEX_NUMBER_SYMBOL = "i";
80540
80315
  const complexParsingRegexp = /^\s*([+-]?)\s*(([\d\.,]+(e[+-]?\d+)?)\s*([ij]?)|([ij]))\s*(([+-])\s*([+-]?)\s*(([\d\.,]+(e[+-]?\d+)?)\s*([ij]?)|([ij])))?$/;
80541
80316
  class ArithmeticHelper {
@@ -81325,10 +81100,6 @@ function coerceRangeToScalar(arg, state) {
81325
81100
  function normalizeString(str, form) {
81326
81101
  return str.normalize(form.toUpperCase());
81327
81102
  }
81328
- /**
81329
- * @license
81330
- * Copyright (c) 2025 Handsoncode. All rights reserved.
81331
- */
81332
81103
  var FunctionArgumentType;
81333
81104
  (function (FunctionArgumentType2) {
81334
81105
  FunctionArgumentType2["STRING"] = "STRING";
@@ -81590,10 +81361,6 @@ class FunctionPlugin {
81590
81361
  }
81591
81362
  }
81592
81363
  }
81593
- /**
81594
- * @license
81595
- * Copyright (c) 2025 Handsoncode. All rights reserved.
81596
- */
81597
81364
  class ArraySize {
81598
81365
  constructor(width, height, isRef = false) {
81599
81366
  this.width = width;
@@ -81733,10 +81500,6 @@ class ArraySizePredictor {
81733
81500
  return new ArraySize(maxWidth, maxHeight);
81734
81501
  }
81735
81502
  }
81736
- /**
81737
- * @license
81738
- * Copyright (c) 2025 Handsoncode. All rights reserved.
81739
- */
81740
81503
  class DetailedCellError {
81741
81504
  constructor(error, value, address) {
81742
81505
  var _a;
@@ -81752,10 +81515,6 @@ class DetailedCellError {
81752
81515
  return this.value;
81753
81516
  }
81754
81517
  }
81755
- /**
81756
- * @license
81757
- * Copyright (c) 2025 Handsoncode. All rights reserved.
81758
- */
81759
81518
  function configValueFromParam(inputValue, expectedType, paramName) {
81760
81519
  if (typeof inputValue === "undefined") {
81761
81520
  return Config.defaultConfig[paramName];
@@ -81822,10 +81581,6 @@ function validateArgToType(inputValue, expectedType, paramName) {
81822
81581
  throw new ExpectedValueOfTypeError(expectedType, paramName);
81823
81582
  }
81824
81583
  }
81825
- /**
81826
- * @license
81827
- * Copyright (c) 2025 Handsoncode. All rights reserved.
81828
- */
81829
81584
  const TIME_FORMAT_SECONDS_ITEM_REGEXP = new RegExp("^ss(\\.(s+|0+))?$");
81830
81585
  const QUICK_CHECK_REGEXP = new RegExp("^[0-9/.\\-: ]+[ap]?m?$");
81831
81586
  const WHITESPACE_REGEXP = new RegExp("\\s+");
@@ -81995,10 +81750,6 @@ function memoize(fn) {
81995
81750
  return result;
81996
81751
  };
81997
81752
  }
81998
- /**
81999
- * @license
82000
- * Copyright (c) 2025 Handsoncode. All rights reserved.
82001
- */
82002
81753
  const numDays = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
82003
81754
  const prefSumDays = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334];
82004
81755
  const SECONDS_PER_MINUTE = 60;
@@ -82319,19 +82070,11 @@ function toBasisEU(date) {
82319
82070
  day: Math.min(30, date.day)
82320
82071
  };
82321
82072
  }
82322
- /**
82323
- * @license
82324
- * Copyright (c) 2025 Handsoncode. All rights reserved.
82325
- */
82326
82073
  class AlwaysDense {
82327
82074
  call() {
82328
82075
  return DenseStrategy;
82329
82076
  }
82330
82077
  }
82331
- /**
82332
- * @license
82333
- * Copyright (c) 2025 Handsoncode. All rights reserved.
82334
- */
82335
82078
  const dateFormatRegex = /(\\.|dd|DD|d|D|mm|MM|m|M|YYYY|YY|yyyy|yy|HH|hh|H|h|ss(\.(0+|s+))?|s|AM\/PM|am\/pm|A\/P|a\/p|\[mm]|\[MM]|\[hh]|\[HH])/g;
82336
82079
  const numberFormatRegex = /(\\.|[#0]+(\.[#0]*)?)/g;
82337
82080
  var TokenType;
@@ -82424,10 +82167,6 @@ function parseForNumberFormat(str) {
82424
82167
  function isEscapeToken(token) {
82425
82168
  return token[0].startsWith("\\");
82426
82169
  }
82427
- /**
82428
- * @license
82429
- * Copyright (c) 2025 Handsoncode. All rights reserved.
82430
- */
82431
82170
  function format(value, formatArg, config2, dateHelper) {
82432
82171
  const tryDateTime = config2.stringifyDateTime(dateHelper.numberToSimpleDateTime(value), formatArg);
82433
82172
  if (tryDateTime !== void 0) {
@@ -82617,10 +82356,6 @@ function defaultStringifyDateTime(dateTime, formatArg) {
82617
82356
  }
82618
82357
  return result;
82619
82358
  }
82620
- /**
82621
- * @license
82622
- * Copyright (c) 2025 Handsoncode. All rights reserved.
82623
- */
82624
82359
  const _rl = "length";
82625
82360
  const _hd = (v) => parseInt(v, 16);
82626
82361
  const _pi = (v) => parseInt(v, 10);
@@ -82642,10 +82377,6 @@ function checkKeySchema(v) {
82642
82377
  return e;
82643
82378
  }, _cp("A")) === "1" >> 1;
82644
82379
  }
82645
- /**
82646
- * @license
82647
- * Copyright (c) 2025 Handsoncode. All rights reserved.
82648
- */
82649
82380
  const consoleMessages = {
82650
82381
  invalid: () => "The license key for HyperFormula is invalid.",
82651
82382
  expired: ({ keyValidityDate }) => `The license key for HyperFormula expired on ${keyValidityDate}, and is not valid for the installed version.`,
@@ -82688,10 +82419,6 @@ function formatDate(date) {
82688
82419
  const year = date.getFullYear();
82689
82420
  return `${month} ${day}, ${year}`;
82690
82421
  }
82691
- /**
82692
- * @license
82693
- * Copyright (c) 2025 Handsoncode. All rights reserved.
82694
- */
82695
82422
  var CellContent;
82696
82423
  (function (CellContent2) {
82697
82424
  class Number2 {
@@ -82857,10 +82584,6 @@ class CellContentParser {
82857
82584
  return void 0;
82858
82585
  }
82859
82586
  }
82860
- /**
82861
- * @license
82862
- * Copyright (c) 2025 Handsoncode. All rights reserved.
82863
- */
82864
82587
  var ClipboardOperationType;
82865
82588
  (function (ClipboardOperationType2) {
82866
82589
  ClipboardOperationType2[ClipboardOperationType2["COPY"] = 0] = "COPY";
@@ -82945,10 +82668,6 @@ class ClipboardOperations {
82945
82668
  return this.clipboard !== void 0 && this.clipboard.type === ClipboardOperationType.COPY;
82946
82669
  }
82947
82670
  }
82948
- /**
82949
- * @license
82950
- * Copyright (c) 2025 Handsoncode. All rights reserved.
82951
- */
82952
82671
  class InternalNamedExpression {
82953
82672
  constructor(displayName, address, added, options) {
82954
82673
  this.displayName = displayName;
@@ -83242,10 +82961,6 @@ const doesContainRelativeReferences = (ast) => {
83242
82961
  }
83243
82962
  }
83244
82963
  };
83245
- /**
83246
- * @license
83247
- * Copyright (c) 2025 Handsoncode. All rights reserved.
83248
- */
83249
82964
  class Transformer {
83250
82965
  performEagerTransformations(graph, parser2) {
83251
82966
  for (const node2 of graph.arrayFormulaNodes()) {
@@ -83373,10 +83088,6 @@ class Transformer {
83373
83088
  }
83374
83089
  }
83375
83090
  }
83376
- /**
83377
- * @license
83378
- * Copyright (c) 2025 Handsoncode. All rights reserved.
83379
- */
83380
83091
  class AddColumnsTransformer extends Transformer {
83381
83092
  constructor(columnsSpan) {
83382
83093
  super();
@@ -83475,10 +83186,6 @@ class AddColumnsTransformer extends Transformer {
83475
83186
  }
83476
83187
  }
83477
83188
  }
83478
- /**
83479
- * @license
83480
- * Copyright (c) 2025 Handsoncode. All rights reserved.
83481
- */
83482
83189
  class AddRowsTransformer extends Transformer {
83483
83190
  constructor(rowsSpan) {
83484
83191
  super();
@@ -83576,10 +83283,6 @@ class AddRowsTransformer extends Transformer {
83576
83283
  }
83577
83284
  }
83578
83285
  }
83579
- /**
83580
- * @license
83581
- * Copyright (c) 2025 Handsoncode. All rights reserved.
83582
- */
83583
83286
  class CleanOutOfScopeDependenciesTransformer extends Transformer {
83584
83287
  constructor(sheet) {
83585
83288
  super();
@@ -83604,10 +83307,6 @@ class CleanOutOfScopeDependenciesTransformer extends Transformer {
83604
83307
  return start.isInvalid(formulaAddress) || end.isInvalid(formulaAddress) ? ErrorType.REF : false;
83605
83308
  }
83606
83309
  }
83607
- /**
83608
- * @license
83609
- * Copyright (c) 2025 Handsoncode. All rights reserved.
83610
- */
83611
83310
  class MoveCellsTransformer extends Transformer {
83612
83311
  constructor(sourceRange, toRight, toBottom, toSheet) {
83613
83312
  super();
@@ -83721,10 +83420,6 @@ class DependentFormulaTransformer extends Transformer {
83721
83420
  return false;
83722
83421
  }
83723
83422
  }
83724
- /**
83725
- * @license
83726
- * Copyright (c) 2025 Handsoncode. All rights reserved.
83727
- */
83728
83423
  class RemoveColumnsTransformer extends Transformer {
83729
83424
  constructor(columnsSpan) {
83730
83425
  super();
@@ -83846,10 +83541,6 @@ class RemoveColumnsTransformer extends Transformer {
83846
83541
  }
83847
83542
  }
83848
83543
  }
83849
- /**
83850
- * @license
83851
- * Copyright (c) 2025 Handsoncode. All rights reserved.
83852
- */
83853
83544
  class RemoveRowsTransformer extends Transformer {
83854
83545
  constructor(rowsSpan) {
83855
83546
  super();
@@ -83971,10 +83662,6 @@ class RemoveRowsTransformer extends Transformer {
83971
83662
  }
83972
83663
  }
83973
83664
  }
83974
- /**
83975
- * @license
83976
- * Copyright (c) 2025 Handsoncode. All rights reserved.
83977
- */
83978
83665
  class RemoveSheetTransformer extends Transformer {
83979
83666
  constructor(sheet) {
83980
83667
  super();
@@ -84011,10 +83698,6 @@ class RemoveSheetTransformer extends Transformer {
84011
83698
  return false;
84012
83699
  }
84013
83700
  }
84014
- /**
84015
- * @license
84016
- * Copyright (c) 2025 Handsoncode. All rights reserved.
84017
- */
84018
83701
  function validateAsSheet(sheet) {
84019
83702
  if (!Array.isArray(sheet)) {
84020
83703
  throw new InvalidArgumentsError("an array of arrays.");
@@ -84051,10 +83734,6 @@ function findBoundaries(sheet) {
84051
83734
  fill: sheetSize === 0 ? 0 : cellsCount / sheetSize
84052
83735
  };
84053
83736
  }
84054
- /**
84055
- * @license
84056
- * Copyright (c) 2025 Handsoncode. All rights reserved.
84057
- */
84058
83737
  class RemoveRowsCommand {
84059
83738
  constructor(sheet, indexes) {
84060
83739
  this.sheet = sheet;
@@ -84847,10 +84526,6 @@ function isPositiveInteger$1(n) {
84847
84526
  function isRowOrColumnRange(leftCorner, width, height) {
84848
84527
  return leftCorner.row === 0 && isPositiveInteger$1(width) && height === Number.POSITIVE_INFINITY || leftCorner.col === 0 && isPositiveInteger$1(height) && width === Number.POSITIVE_INFINITY;
84849
84528
  }
84850
- /**
84851
- * @license
84852
- * Copyright (c) 2025 Handsoncode. All rights reserved.
84853
- */
84854
84529
  class BaseUndoEntry {
84855
84530
  }
84856
84531
  class RemoveRowsUndoEntry extends BaseUndoEntry {
@@ -85443,10 +85118,6 @@ class UndoRedo {
85443
85118
  }
85444
85119
  }
85445
85120
  }
85446
- /**
85447
- * @license
85448
- * Copyright (c) 2025 Handsoncode. All rights reserved.
85449
- */
85450
85121
  class CrudOperations {
85451
85122
  constructor(config2, operations, undoRedo, clipboardOperations, dependencyGraph, columnSearch, parser2, cellContentParser, lazilyTransformingAstService, namedExpressions) {
85452
85123
  this.operations = operations;
@@ -85947,10 +85618,6 @@ function isPositiveInteger(x) {
85947
85618
  function isNonnegativeInteger(x) {
85948
85619
  return Number.isInteger(x) && x >= 0;
85949
85620
  }
85950
- /**
85951
- * @license
85952
- * Copyright (c) 2025 Handsoncode. All rights reserved.
85953
- */
85954
85621
  class Evaluator {
85955
85622
  constructor(config2, stats, interpreter, lazilyTransformingAstService, dependencyGraph, columnSearch) {
85956
85623
  this.config = config2;
@@ -86067,10 +85734,6 @@ class Evaluator {
86067
85734
  }
86068
85735
  }
86069
85736
  }
86070
- /**
86071
- * @license
86072
- * Copyright (c) 2025 Handsoncode. All rights reserved.
86073
- */
86074
85737
  class ExportedCellChange {
86075
85738
  constructor(address, newValue) {
86076
85739
  this.address = address;
@@ -86176,10 +85839,6 @@ class Exporter {
86176
85839
  }
86177
85840
  }
86178
85841
  }
86179
- /**
86180
- * @license
86181
- * Copyright (c) 2025 Handsoncode. All rights reserved.
86182
- */
86183
85842
  class GraphBuilder {
86184
85843
  /**
86185
85844
  * Configures the building service.
@@ -86275,10 +85934,6 @@ class SimpleStrategy {
86275
85934
  }
86276
85935
  }
86277
85936
  }
86278
- /**
86279
- * @license
86280
- * Copyright (c) 2025 Handsoncode. All rights reserved.
86281
- */
86282
85937
  const LICENSE_STATUS_MAP = /* @__PURE__ */ new Map([["gpl-v3", 1], ["missing", 2], ["invalid", 3], ["expired", 4]]);
86283
85938
  class VersionPlugin extends FunctionPlugin {
86284
85939
  version(ast, state) {
@@ -86304,10 +85959,6 @@ VersionPlugin.implementedFunctions = {
86304
85959
  parameters: []
86305
85960
  }
86306
85961
  };
86307
- /**
86308
- * @license
86309
- * Copyright (c) 2025 Handsoncode. All rights reserved.
86310
- */
86311
85962
  function validateAndReturnMetadataFromName(functionId, plugin) {
86312
85963
  var _a;
86313
85964
  let entry = plugin.implementedFunctions[functionId];
@@ -86546,10 +86197,6 @@ class FunctionRegistry {
86546
86197
  }
86547
86198
  FunctionRegistry.plugins = /* @__PURE__ */ new Map();
86548
86199
  FunctionRegistry._protectedPlugins = /* @__PURE__ */ new Map([["VERSION", VersionPlugin], ["OFFSET", void 0]]);
86549
- /**
86550
- * @license
86551
- * Copyright (c) 2025 Handsoncode. All rights reserved.
86552
- */
86553
86200
  var CriterionType;
86554
86201
  (function (CriterionType2) {
86555
86202
  CriterionType2["GREATER_THAN"] = "GREATER_THAN";
@@ -86735,10 +86382,6 @@ const buildCriterionLambda = (criterion, arithmeticHelper) => {
86735
86382
  }
86736
86383
  }
86737
86384
  };
86738
- /**
86739
- * @license
86740
- * Copyright (c) 2025 Handsoncode. All rights reserved.
86741
- */
86742
86385
  class Interpreter {
86743
86386
  constructor(config2, dependencyGraph, columnSearch, stats, arithmeticHelper, functionRegistry, namedExpressions, serialization, arraySizePredictor, dateTimeHelper) {
86744
86387
  this.config = config2;
@@ -87115,10 +86758,6 @@ function wrapperForRootVertex(val2, vertex) {
87115
86758
  }
87116
86759
  return val2;
87117
86760
  }
87118
- /**
87119
- * @license
87120
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87121
- */
87122
86761
  class CombinedTransformer {
87123
86762
  constructor(sheet) {
87124
86763
  this.sheet = sheet;
@@ -87141,10 +86780,6 @@ class CombinedTransformer {
87141
86780
  return true;
87142
86781
  }
87143
86782
  }
87144
- /**
87145
- * @license
87146
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87147
- */
87148
86783
  class LazilyTransformingAstService {
87149
86784
  constructor(stats) {
87150
86785
  this.stats = stats;
@@ -87198,10 +86833,6 @@ class LazilyTransformingAstService {
87198
86833
  }
87199
86834
  }
87200
86835
  }
87201
- /**
87202
- * @license
87203
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87204
- */
87205
86836
  const NOT_FOUND$1 = -1;
87206
86837
  function findLastOccurrenceInOrderedRange(searchKey, range2, { searchCoordinate, orderingDirection, ifNoMatch }, dependencyGraph) {
87207
86838
  const start = range2.start[searchCoordinate];
@@ -87288,10 +86919,6 @@ function compare(left, right) {
87288
86919
  }
87289
86920
  return 1;
87290
86921
  }
87291
- /**
87292
- * @license
87293
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87294
- */
87295
86922
  const NOT_FOUND = -1;
87296
86923
  class AdvancedFind {
87297
86924
  constructor(dependencyGraph) {
@@ -87354,10 +86981,6 @@ class AdvancedFind {
87354
86981
  return bestIndex;
87355
86982
  }
87356
86983
  }
87357
- /**
87358
- * @license
87359
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87360
- */
87361
86984
  class ColumnBinarySearch extends AdvancedFind {
87362
86985
  constructor(dependencyGraph) {
87363
86986
  super(dependencyGraph);
@@ -87397,10 +87020,6 @@ class ColumnBinarySearch extends AdvancedFind {
87397
87020
  return this.basicFind(searchKey, rangeValue, "row", searchOptions);
87398
87021
  }
87399
87022
  }
87400
- /**
87401
- * @license
87402
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87403
- */
87404
87023
  class ColumnIndex {
87405
87024
  constructor(dependencyGraph, config2, stats) {
87406
87025
  this.dependencyGraph = dependencyGraph;
@@ -87653,10 +87272,6 @@ function findInOrderedArray(key, values2, handlingMisses = "upperBound") {
87653
87272
  const isIndexInRange = foundIndex >= 0 && foundIndex <= values2.length;
87654
87273
  return isIndexInRange ? foundIndex : -1;
87655
87274
  }
87656
- /**
87657
- * @license
87658
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87659
- */
87660
87275
  function buildColumnSearchStrategy(dependencyGraph, config2, statistics) {
87661
87276
  if (config2.useColumnIndex) {
87662
87277
  return new ColumnIndex(dependencyGraph, config2, statistics);
@@ -87665,10 +87280,6 @@ function buildColumnSearchStrategy(dependencyGraph, config2, statistics) {
87665
87280
  return new ColumnBinarySearch(dependencyGraph);
87666
87281
  }
87667
87282
  }
87668
- /**
87669
- * @license
87670
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87671
- */
87672
87283
  class NumberLiteralHelper {
87673
87284
  constructor(config2) {
87674
87285
  this.config = config2;
@@ -87692,10 +87303,6 @@ class NumberLiteralHelper {
87692
87303
  return Number(normalized);
87693
87304
  }
87694
87305
  }
87695
- /**
87696
- * @license
87697
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87698
- */
87699
87306
  class Serialization {
87700
87307
  constructor(dependencyGraph, unparser, exporter) {
87701
87308
  this.dependencyGraph = dependencyGraph;
@@ -87822,10 +87429,6 @@ class Serialization {
87822
87429
  return new Serialization(this.dependencyGraph, newUnparser, this.exporter);
87823
87430
  }
87824
87431
  }
87825
- /**
87826
- * @license
87827
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87828
- */
87829
87432
  class BuildEngineFactory {
87830
87433
  static buildFromSheets(sheets, configInput = {}, namedExpressions = []) {
87831
87434
  const config2 = new Config(configInput);
@@ -87910,10 +87513,6 @@ class BuildEngineFactory {
87910
87513
  };
87911
87514
  }
87912
87515
  }
87913
- /**
87914
- * @license
87915
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87916
- */
87917
87516
  function objectDestroy(object) {
87918
87517
  for (const [key, value] of Object.entries(object)) {
87919
87518
  if (value instanceof Function) {
@@ -87984,10 +87583,6 @@ function requireTinyEmitter() {
87984
87583
  return tinyEmitter.exports;
87985
87584
  }
87986
87585
  var tinyEmitterExports = requireTinyEmitter();
87987
- /**
87988
- * @license
87989
- * Copyright (c) 2025 Handsoncode. All rights reserved.
87990
- */
87991
87586
  var Events;
87992
87587
  (function (Events2) {
87993
87588
  Events2["SheetAdded"] = "sheetAdded";
@@ -88005,10 +87600,6 @@ class Emitter extends tinyEmitterExports.TinyEmitter {
88005
87600
  return this;
88006
87601
  }
88007
87602
  }
88008
- /**
88009
- * @license
88010
- * Copyright (c) 2025 Handsoncode. All rights reserved.
88011
- */
88012
87603
  class HyperFormula {
88013
87604
  /**
88014
87605
  * Constructor
@@ -92367,10 +91958,6 @@ HyperFormula.buildDate = "14/10/2025 09:41:56";
92367
91958
  HyperFormula.releaseDate = "14/10/2025";
92368
91959
  HyperFormula.languages = {};
92369
91960
  HyperFormula.registeredLanguages = /* @__PURE__ */ new Map();
92370
- /**
92371
- * @license
92372
- * Copyright (c) 2025 Handsoncode. All rights reserved.
92373
- */
92374
91961
  const privatePool = /* @__PURE__ */ new WeakMap();
92375
91962
  class Config {
92376
91963
  constructor(options = {}, showDeprecatedWarns = true) {
@@ -92546,10 +92133,6 @@ function getFullConfigFromPartial(partialConfig) {
92546
92133
  function getDefaultConfig() {
92547
92134
  return getFullConfigFromPartial({});
92548
92135
  }
92549
- /**
92550
- * @license
92551
- * Copyright (c) 2025 Handsoncode. All rights reserved.
92552
- */
92553
92136
  const dictionary = {
92554
92137
  errors: {
92555
92138
  CYCLE: "#CYCLE!",
@@ -92963,10 +92546,6 @@ const dictionary = {
92963
92546
  NEW_SHEET_PREFIX: "Sheet"
92964
92547
  }
92965
92548
  };
92966
- /**
92967
- * @license
92968
- * Copyright (c) 2025 Handsoncode. All rights reserved.
92969
- */
92970
92549
  var AbsStyle;
92971
92550
  (function (AbsStyle2) {
92972
92551
  AbsStyle2[AbsStyle2["FullyAbsolute"] = 1] = "FullyAbsolute";
@@ -93049,10 +92628,6 @@ AddressPlugin.implementedFunctions = {
93049
92628
  }]
93050
92629
  }
93051
92630
  };
93052
- /**
93053
- * @license
93054
- * Copyright (c) 2025 Handsoncode. All rights reserved.
93055
- */
93056
92631
  class ArrayPlugin extends FunctionPlugin {
93057
92632
  arrayformula(ast, state) {
93058
92633
  return this.runFunction(ast.args, state, this.metadata("ARRAYFORMULA"), (value) => value);
@@ -93189,10 +92764,6 @@ ArrayPlugin.implementedFunctions = {
93189
92764
  repeatLastArgs: 1
93190
92765
  }
93191
92766
  };
93192
- /**
93193
- * @license
93194
- * Copyright (c) 2025 Handsoncode. All rights reserved.
93195
- */
93196
92767
  class AbsPlugin extends FunctionPlugin {
93197
92768
  abs(ast, state) {
93198
92769
  return this.runFunction(ast.args, state, this.metadata("ABS"), Math.abs);
@@ -93206,10 +92777,6 @@ AbsPlugin.implementedFunctions = {
93206
92777
  }]
93207
92778
  }
93208
92779
  };
93209
- /**
93210
- * @license
93211
- * Copyright (c) 2025 Handsoncode. All rights reserved.
93212
- */
93213
92780
  const MAX_48BIT_INTEGER = 281474976710655;
93214
92781
  const SHIFT_MIN_POSITIONS = -53;
93215
92782
  const SHIFT_MAX_POSITIONS = 53;
@@ -93269,10 +92836,6 @@ function validate(result) {
93269
92836
  return result;
93270
92837
  }
93271
92838
  }
93272
- /**
93273
- * @license
93274
- * Copyright (c) 2025 Handsoncode. All rights reserved.
93275
- */
93276
92839
  class BitwiseLogicOperationsPlugin extends FunctionPlugin {
93277
92840
  bitand(ast, state) {
93278
92841
  return this.runFunction(ast.args, state, this.metadata("BITAND"), (left, right) => left & right);
@@ -93316,10 +92879,6 @@ BitwiseLogicOperationsPlugin.implementedFunctions = {
93316
92879
  }]
93317
92880
  }
93318
92881
  };
93319
- /**
93320
- * @license
93321
- * Copyright (c) 2025 Handsoncode. All rights reserved.
93322
- */
93323
92882
  class BooleanPlugin extends FunctionPlugin {
93324
92883
  /**
93325
92884
  * Corresponds to TRUE()
@@ -93564,10 +93123,6 @@ BooleanPlugin.implementedFunctions = {
93564
93123
  repeatLastArgs: 1
93565
93124
  }
93566
93125
  };
93567
- /**
93568
- * @license
93569
- * Copyright (c) 2025 Handsoncode. All rights reserved.
93570
- */
93571
93126
  class CharPlugin extends FunctionPlugin {
93572
93127
  char(ast, state) {
93573
93128
  return this.runFunction(ast.args, state, this.metadata("CHAR"), (value) => {
@@ -93600,10 +93155,6 @@ CharPlugin.implementedFunctions = {
93600
93155
  }]
93601
93156
  }
93602
93157
  };
93603
- /**
93604
- * @license
93605
- * Copyright (c) 2025 Handsoncode. All rights reserved.
93606
- */
93607
93158
  class CodePlugin extends FunctionPlugin {
93608
93159
  code(ast, state) {
93609
93160
  return this.runFunction(ast.args, state, this.metadata("CODE"), (value) => {
@@ -93634,10 +93185,6 @@ CodePlugin.implementedFunctions = {
93634
93185
  }]
93635
93186
  }
93636
93187
  };
93637
- /**
93638
- * @license
93639
- * Copyright (c) 2025 Handsoncode. All rights reserved.
93640
- */
93641
93188
  class CountBlankPlugin extends FunctionPlugin {
93642
93189
  countblank(ast, state) {
93643
93190
  return this.runFunction(ast.args, state, this.metadata("COUNTBLANK"), (...args) => {
@@ -93661,10 +93208,6 @@ CountBlankPlugin.implementedFunctions = {
93661
93208
  expandRanges: true
93662
93209
  }
93663
93210
  };
93664
- /**
93665
- * @license
93666
- * Copyright (c) 2025 Handsoncode. All rights reserved.
93667
- */
93668
93211
  class CountUniquePlugin extends FunctionPlugin {
93669
93212
  /**
93670
93213
  * Corresponds to COUNTUNIQUE(Number1, Number2, ...).
@@ -93700,10 +93243,6 @@ CountUniquePlugin.implementedFunctions = {
93700
93243
  expandRanges: true
93701
93244
  }
93702
93245
  };
93703
- /**
93704
- * @license
93705
- * Copyright (c) 2025 Handsoncode. All rights reserved.
93706
- */
93707
93246
  class DateTimePlugin extends FunctionPlugin {
93708
93247
  constructor() {
93709
93248
  super(...arguments);
@@ -94450,10 +93989,6 @@ function computeWeekendPattern(weekend) {
94450
93989
  }
94451
93990
  const weekdayOffsets = /* @__PURE__ */ new Map([[1, 0], [2, 1], [11, 1], [12, 2], [13, 3], [14, 4], [15, 5], [16, 6], [17, 0]]);
94452
93991
  const workdayPatterns = /* @__PURE__ */ new Map([[1, "0000011"], [2, "1000001"], [3, "1100000"], [4, "0110000"], [5, "0011000"], [6, "0001100"], [7, "0000110"], [11, "0000001"], [12, "1000000"], [13, "0100000"], [14, "0010000"], [15, "0001000"], [16, "0000100"], [17, "0000010"]]);
94453
- /**
94454
- * @license
94455
- * Copyright (c) 2025 Handsoncode. All rights reserved.
94456
- */
94457
93992
  class DegreesPlugin extends FunctionPlugin {
94458
93993
  degrees(ast, state) {
94459
93994
  return this.runFunction(ast.args, state, this.metadata("DEGREES"), (arg) => arg * (180 / Math.PI));
@@ -94467,10 +94002,6 @@ DegreesPlugin.implementedFunctions = {
94467
94002
  }]
94468
94003
  }
94469
94004
  };
94470
- /**
94471
- * @license
94472
- * Copyright (c) 2025 Handsoncode. All rights reserved.
94473
- */
94474
94005
  class DeltaPlugin extends FunctionPlugin {
94475
94006
  delta(ast, state) {
94476
94007
  return this.runFunction(ast.args, state, this.metadata("DELTA"), (left, right) => left === right ? 1 : 0);
@@ -94487,10 +94018,6 @@ DeltaPlugin.implementedFunctions = {
94487
94018
  }]
94488
94019
  }
94489
94020
  };
94490
- /**
94491
- * @license
94492
- * Copyright (c) 2025 Handsoncode. All rights reserved.
94493
- */
94494
94021
  class ExpPlugin extends FunctionPlugin {
94495
94022
  /**
94496
94023
  * Corresponds to EXP(value)
@@ -94512,10 +94039,6 @@ ExpPlugin.implementedFunctions = {
94512
94039
  }]
94513
94040
  }
94514
94041
  };
94515
- /**
94516
- * @license
94517
- * Copyright (c) 2025 Handsoncode. All rights reserved.
94518
- */
94519
94042
  class FinancialPlugin extends FunctionPlugin {
94520
94043
  pmt(ast, state) {
94521
94044
  return this.runFunction(ast.args, state, this.metadata("PMT"), pmtCore);
@@ -95355,10 +94878,6 @@ function npvCore(rate, args) {
95355
94878
  }
95356
94879
  return acc;
95357
94880
  }
95358
- /**
95359
- * @license
95360
- * Copyright (c) 2025 Handsoncode. All rights reserved.
95361
- */
95362
94881
  class FormulaTextPlugin extends FunctionPlugin {
95363
94882
  /**
95364
94883
  * Corresponds to FORMULATEXT(value)
@@ -95386,10 +94905,6 @@ FormulaTextPlugin.implementedFunctions = {
95386
94905
  vectorizationForbidden: true
95387
94906
  }
95388
94907
  };
95389
- /**
95390
- * @license
95391
- * Copyright (c) 2025 Handsoncode. All rights reserved.
95392
- */
95393
94908
  class HyperlinkPlugin extends FunctionPlugin {
95394
94909
  hyperlink(ast, state) {
95395
94910
  return this.runFunction(ast.args, state, this.metadata("HYPERLINK"), (url, linkLabel) => {
@@ -95409,10 +94924,6 @@ HyperlinkPlugin.implementedFunctions = {
95409
94924
  }]
95410
94925
  }
95411
94926
  };
95412
- /**
95413
- * @license
95414
- * Copyright (c) 2025 Handsoncode. All rights reserved.
95415
- */
95416
94927
  class InformationPlugin extends FunctionPlugin {
95417
94928
  /**
95418
94929
  * Corresponds to ISBINARY(value)
@@ -95851,10 +95362,6 @@ InformationPlugin.implementedFunctions = {
95851
95362
  vectorizationForbidden: true
95852
95363
  }
95853
95364
  };
95854
- /**
95855
- * @license
95856
- * Copyright (c) 2025 Handsoncode. All rights reserved.
95857
- */
95858
95365
  class IsEvenPlugin extends FunctionPlugin {
95859
95366
  iseven(ast, state) {
95860
95367
  return this.runFunction(ast.args, state, this.metadata("ISEVEN"), (val2) => val2 % 2 === 0);
@@ -95868,10 +95375,6 @@ IsEvenPlugin.implementedFunctions = {
95868
95375
  }]
95869
95376
  }
95870
95377
  };
95871
- /**
95872
- * @license
95873
- * Copyright (c) 2025 Handsoncode. All rights reserved.
95874
- */
95875
95378
  class IsOddPlugin extends FunctionPlugin {
95876
95379
  isodd(ast, state) {
95877
95380
  return this.runFunction(ast.args, state, this.metadata("ISODD"), (val2) => val2 % 2 === 1);
@@ -95885,10 +95388,6 @@ IsOddPlugin.implementedFunctions = {
95885
95388
  }]
95886
95389
  }
95887
95390
  };
95888
- /**
95889
- * @license
95890
- * Copyright (c) 2025 Handsoncode. All rights reserved.
95891
- */
95892
95391
  class LogarithmPlugin extends FunctionPlugin {
95893
95392
  log10(ast, state) {
95894
95393
  return this.runFunction(ast.args, state, this.metadata("LOG10"), Math.log10);
@@ -95925,10 +95424,6 @@ LogarithmPlugin.implementedFunctions = {
95925
95424
  }]
95926
95425
  }
95927
95426
  };
95928
- /**
95929
- * @license
95930
- * Copyright (c) 2025 Handsoncode. All rights reserved.
95931
- */
95932
95427
  const PI = parseFloat(Math.PI.toFixed(14));
95933
95428
  class MathConstantsPlugin extends FunctionPlugin {
95934
95429
  pi(ast, state) {
@@ -95951,10 +95446,6 @@ MathConstantsPlugin.implementedFunctions = {
95951
95446
  }]
95952
95447
  }
95953
95448
  };
95954
- /**
95955
- * @license
95956
- * Copyright (c) 2025 Handsoncode. All rights reserved.
95957
- */
95958
95449
  function arraySizeForMultiplication(leftArraySize, rightArraySize) {
95959
95450
  return new ArraySize(rightArraySize.width, leftArraySize.height);
95960
95451
  }
@@ -96204,10 +95695,6 @@ MatrixPlugin.implementedFunctions = {
96204
95695
  vectorizationForbidden: true
96205
95696
  }
96206
95697
  };
96207
- /**
96208
- * @license
96209
- * Copyright (c) 2025 Handsoncode. All rights reserved.
96210
- */
96211
95698
  class MedianPlugin extends FunctionPlugin {
96212
95699
  /**
96213
95700
  * Corresponds to MEDIAN(Number1, Number2, ...).
@@ -96291,10 +95778,6 @@ MedianPlugin.implementedFunctions = {
96291
95778
  }]
96292
95779
  }
96293
95780
  };
96294
- /**
96295
- * @license
96296
- * Copyright (c) 2025 Handsoncode. All rights reserved.
96297
- */
96298
95781
  class ModuloPlugin extends FunctionPlugin {
96299
95782
  mod(ast, state) {
96300
95783
  return this.runFunction(ast.args, state, this.metadata("MOD"), (dividend, divisor) => {
@@ -96317,10 +95800,6 @@ ModuloPlugin.implementedFunctions = {
96317
95800
  }]
96318
95801
  }
96319
95802
  };
96320
- /**
96321
- * @license
96322
- * Copyright (c) 2025 Handsoncode. All rights reserved.
96323
- */
96324
95803
  function zeroForInfinite$1(value) {
96325
95804
  if (isExtendedNumber(value) && !Number.isFinite(getRawValue(value))) {
96326
95805
  return 0;
@@ -96957,10 +96436,6 @@ function numbersBooleans(arg) {
96957
96436
  return void 0;
96958
96437
  }
96959
96438
  }
96960
- /**
96961
- * @license
96962
- * Copyright (c) 2025 Handsoncode. All rights reserved.
96963
- */
96964
96439
  class PowerPlugin extends FunctionPlugin {
96965
96440
  power(ast, state) {
96966
96441
  return this.runFunction(ast.args, state, this.metadata("POWER"), Math.pow);
@@ -96976,10 +96451,6 @@ PowerPlugin.implementedFunctions = {
96976
96451
  }]
96977
96452
  }
96978
96453
  };
96979
- /**
96980
- * @license
96981
- * Copyright (c) 2025 Handsoncode. All rights reserved.
96982
- */
96983
96454
  class RadiansPlugin extends FunctionPlugin {
96984
96455
  radians(ast, state) {
96985
96456
  return this.runFunction(ast.args, state, this.metadata("RADIANS"), (arg) => arg * (Math.PI / 180));
@@ -96993,10 +96464,6 @@ RadiansPlugin.implementedFunctions = {
96993
96464
  }]
96994
96465
  }
96995
96466
  };
96996
- /**
96997
- * @license
96998
- * Copyright (c) 2025 Handsoncode. All rights reserved.
96999
- */
97000
96467
  const MAX_LENGTH = 10;
97001
96468
  const DECIMAL_NUMBER_OF_BITS = 255;
97002
96469
  const MIN_BASE = 2;
@@ -97301,10 +96768,6 @@ function twoComplementToDecimal(value, base) {
97301
96768
  const offset = Math.pow(base, MAX_LENGTH);
97302
96769
  return parsed >= offset / 2 ? parsed - offset : parsed;
97303
96770
  }
97304
- /**
97305
- * @license
97306
- * Copyright (c) 2025 Handsoncode. All rights reserved.
97307
- */
97308
96771
  class RandomPlugin extends FunctionPlugin {
97309
96772
  /**
97310
96773
  * Corresponds to RAND()
@@ -97348,10 +96811,6 @@ RandomPlugin.implementedFunctions = {
97348
96811
  isVolatile: true
97349
96812
  }
97350
96813
  };
97351
- /**
97352
- * @license
97353
- * Copyright (c) 2025 Handsoncode. All rights reserved.
97354
- */
97355
96814
  function findNextOddNumber(arg) {
97356
96815
  const ceiled = Math.ceil(arg);
97357
96816
  return ceiled % 2 === 1 ? ceiled : ceiled + 1;
@@ -97604,10 +97063,6 @@ RoundingPlugin.aliases = {
97604
97063
  "ISO.CEILING": "CEILING.PRECISE",
97605
97064
  "TRUNC": "ROUNDDOWN"
97606
97065
  };
97607
- /**
97608
- * @license
97609
- * Copyright (c) 2025 Handsoncode. All rights reserved.
97610
- */
97611
97066
  class SqrtPlugin extends FunctionPlugin {
97612
97067
  sqrt(ast, state) {
97613
97068
  return this.runFunction(ast.args, state, this.metadata("SQRT"), Math.sqrt);
@@ -97621,10 +97076,6 @@ SqrtPlugin.implementedFunctions = {
97621
97076
  }]
97622
97077
  }
97623
97078
  };
97624
- /**
97625
- * @license
97626
- * Copyright (c) 2025 Handsoncode. All rights reserved.
97627
- */
97628
97079
  function* empty() {
97629
97080
  }
97630
97081
  function split(iterable) {
@@ -97642,10 +97093,6 @@ function split(iterable) {
97642
97093
  };
97643
97094
  }
97644
97095
  }
97645
- /**
97646
- * @license
97647
- * Copyright (c) 2025 Handsoncode. All rights reserved.
97648
- */
97649
97096
  const findSmallerRangeForMany = (dependencyGraph, conditionRanges, valuesRange) => {
97650
97097
  if (valuesRange.end.row > valuesRange.start.row) {
97651
97098
  const valuesRangeEndRowLess = simpleCellAddress(valuesRange.end.sheet, valuesRange.end.col, valuesRange.end.row - 1);
@@ -97780,10 +97227,6 @@ function zip$1(arr1, arr2) {
97780
97227
  }
97781
97228
  return result;
97782
97229
  }
97783
- /**
97784
- * @license
97785
- * Copyright (c) 2025 Handsoncode. All rights reserved.
97786
- */
97787
97230
  class AverageResult {
97788
97231
  constructor(sum2, count) {
97789
97232
  this.sum = sum2;
@@ -97998,10 +97441,6 @@ ConditionalAggregationPlugin.implementedFunctions = {
97998
97441
  repeatLastArgs: 2
97999
97442
  }
98000
97443
  };
98001
- /**
98002
- * @license
98003
- * Copyright (c) 2025 Handsoncode. All rights reserved.
98004
- */
98005
97444
  class SumprodPlugin extends FunctionPlugin {
98006
97445
  sumproduct(ast, state) {
98007
97446
  return this.runFunction(ast.args, state, this.metadata("SUMPRODUCT"), (...args) => {
@@ -98044,10 +97483,6 @@ SumprodPlugin.implementedFunctions = {
98044
97483
  repeatLastArgs: 1
98045
97484
  }
98046
97485
  };
98047
- /**
98048
- * @license
98049
- * Copyright (c) 2025 Handsoncode. All rights reserved.
98050
- */
98051
97486
  class TextPlugin extends FunctionPlugin {
98052
97487
  /**
98053
97488
  * Corresponds to CONCATENATE(value1, [value2, ...])
@@ -98367,10 +97802,6 @@ TextPlugin.implementedFunctions = {
98367
97802
  }]
98368
97803
  }
98369
97804
  };
98370
- /**
98371
- * @license
98372
- * Copyright (c) 2025 Handsoncode. All rights reserved.
98373
- */
98374
97805
  class TrigonometryPlugin extends FunctionPlugin {
98375
97806
  /**
98376
97807
  * Corresponds to ACOS(value)
@@ -98579,10 +98010,6 @@ TrigonometryPlugin.implementedFunctions = {
98579
98010
  }]
98580
98011
  }
98581
98012
  };
98582
- /**
98583
- * @license
98584
- * Copyright (c) 2025 Handsoncode. All rights reserved.
98585
- */
98586
98013
  class RowSearchStrategy extends AdvancedFind {
98587
98014
  constructor(dependencyGraph) {
98588
98015
  super(dependencyGraph);
@@ -98595,10 +98022,6 @@ class RowSearchStrategy extends AdvancedFind {
98595
98022
  return this.basicFind(searchKey, rangeValue, "col", searchOptions);
98596
98023
  }
98597
98024
  }
98598
- /**
98599
- * @license
98600
- * Copyright (c) 2025 Handsoncode. All rights reserved.
98601
- */
98602
98025
  class LookupPlugin extends FunctionPlugin {
98603
98026
  constructor() {
98604
98027
  super(...arguments);
@@ -98878,10 +98301,6 @@ LookupPlugin.implementedFunctions = {
98878
98301
  }]
98879
98302
  }
98880
98303
  };
98881
- /**
98882
- * @license
98883
- * Copyright (c) 2025 Handsoncode. All rights reserved.
98884
- */
98885
98304
  class RomanPlugin extends FunctionPlugin {
98886
98305
  roman(ast, state) {
98887
98306
  return this.runFunction(ast.args, state, this.metadata("ROMAN"), (val2, mode) => {
@@ -99119,10 +98538,6 @@ function absorb(valAcc, token, lower, upper) {
99119
98538
  valAcc.acc += token;
99120
98539
  }
99121
98540
  }
99122
- /**
99123
- * @license
99124
- * Copyright (c) 2025 Handsoncode. All rights reserved.
99125
- */
99126
98541
  class SimpleArithmerticPlugin extends FunctionPlugin {
99127
98542
  add(ast, state) {
99128
98543
  return this.runFunction(ast.args, state, this.metadata("HF.ADD"), this.arithmeticHelper.addWithEpsilon);
@@ -99313,213 +98728,6 @@ SimpleArithmerticPlugin.implementedFunctions = {
99313
98728
  }]
99314
98729
  }
99315
98730
  };
99316
- /**
99317
- * @license
99318
- bessel.js (C) 2013-present SheetJS -- http://sheetjs.com
99319
-
99320
- Apache License
99321
- Version 2.0, January 2004
99322
- http://www.apache.org/licenses/
99323
-
99324
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
99325
-
99326
- 1. Definitions.
99327
-
99328
- "License" shall mean the terms and conditions for use, reproduction,
99329
- and distribution as defined by Sections 1 through 9 of this document.
99330
-
99331
- "Licensor" shall mean the copyright owner or entity authorized by
99332
- the copyright owner that is granting the License.
99333
-
99334
- "Legal Entity" shall mean the union of the acting entity and all
99335
- other entities that control, are controlled by, or are under common
99336
- control with that entity. For the purposes of this definition,
99337
- "control" means (i) the power, direct or indirect, to cause the
99338
- direction or management of such entity, whether by contract or
99339
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
99340
- outstanding shares, or (iii) beneficial ownership of such entity.
99341
-
99342
- "You" (or "Your") shall mean an individual or Legal Entity
99343
- exercising permissions granted by this License.
99344
-
99345
- "Source" form shall mean the preferred form for making modifications,
99346
- including but not limited to software source code, documentation
99347
- source, and configuration files.
99348
-
99349
- "Object" form shall mean any form resulting from mechanical
99350
- transformation or translation of a Source form, including but
99351
- not limited to compiled object code, generated documentation,
99352
- and conversions to other media types.
99353
-
99354
- "Work" shall mean the work of authorship, whether in Source or
99355
- Object form, made available under the License, as indicated by a
99356
- copyright notice that is included in or attached to the work
99357
- (an example is provided in the Appendix below).
99358
-
99359
- "Derivative Works" shall mean any work, whether in Source or Object
99360
- form, that is based on (or derived from) the Work and for which the
99361
- editorial revisions, annotations, elaborations, or other modifications
99362
- represent, as a whole, an original work of authorship. For the purposes
99363
- of this License, Derivative Works shall not include works that remain
99364
- separable from, or merely link (or bind by name) to the interfaces of,
99365
- the Work and Derivative Works thereof.
99366
-
99367
- "Contribution" shall mean any work of authorship, including
99368
- the original version of the Work and any modifications or additions
99369
- to that Work or Derivative Works thereof, that is intentionally
99370
- submitted to Licensor for inclusion in the Work by the copyright owner
99371
- or by an individual or Legal Entity authorized to submit on behalf of
99372
- the copyright owner. For the purposes of this definition, "submitted"
99373
- means any form of electronic, verbal, or written communication sent
99374
- to the Licensor or its representatives, including but not limited to
99375
- communication on electronic mailing lists, source code control systems,
99376
- and issue tracking systems that are managed by, or on behalf of, the
99377
- Licensor for the purpose of discussing and improving the Work, but
99378
- excluding communication that is conspicuously marked or otherwise
99379
- designated in writing by the copyright owner as "Not a Contribution."
99380
-
99381
- "Contributor" shall mean Licensor and any individual or Legal Entity
99382
- on behalf of whom a Contribution has been received by Licensor and
99383
- subsequently incorporated within the Work.
99384
-
99385
- 2. Grant of Copyright License. Subject to the terms and conditions of
99386
- this License, each Contributor hereby grants to You a perpetual,
99387
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
99388
- copyright license to reproduce, prepare Derivative Works of,
99389
- publicly display, publicly perform, sublicense, and distribute the
99390
- Work and such Derivative Works in Source or Object form.
99391
-
99392
- 3. Grant of Patent License. Subject to the terms and conditions of
99393
- this License, each Contributor hereby grants to You a perpetual,
99394
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
99395
- (except as stated in this section) patent license to make, have made,
99396
- use, offer to sell, sell, import, and otherwise transfer the Work,
99397
- where such license applies only to those patent claims licensable
99398
- by such Contributor that are necessarily infringed by their
99399
- Contribution(s) alone or by combination of their Contribution(s)
99400
- with the Work to which such Contribution(s) was submitted. If You
99401
- institute patent litigation against any entity (including a
99402
- cross-claim or counterclaim in a lawsuit) alleging that the Work
99403
- or a Contribution incorporated within the Work constitutes direct
99404
- or contributory patent infringement, then any patent licenses
99405
- granted to You under this License for that Work shall terminate
99406
- as of the date such litigation is filed.
99407
-
99408
- 4. Redistribution. You may reproduce and distribute copies of the
99409
- Work or Derivative Works thereof in any medium, with or without
99410
- modifications, and in Source or Object form, provided that You
99411
- meet the following conditions:
99412
-
99413
- (a) You must give any other recipients of the Work or
99414
- Derivative Works a copy of this License; and
99415
-
99416
- (b) You must cause any modified files to carry prominent notices
99417
- stating that You changed the files; and
99418
-
99419
- (c) You must retain, in the Source form of any Derivative Works
99420
- that You distribute, all copyright, patent, trademark, and
99421
- attribution notices from the Source form of the Work,
99422
- excluding those notices that do not pertain to any part of
99423
- the Derivative Works; and
99424
-
99425
- (d) If the Work includes a "NOTICE" text file as part of its
99426
- distribution, then any Derivative Works that You distribute must
99427
- include a readable copy of the attribution notices contained
99428
- within such NOTICE file, excluding those notices that do not
99429
- pertain to any part of the Derivative Works, in at least one
99430
- of the following places: within a NOTICE text file distributed
99431
- as part of the Derivative Works; within the Source form or
99432
- documentation, if provided along with the Derivative Works; or,
99433
- within a display generated by the Derivative Works, if and
99434
- wherever such third-party notices normally appear. The contents
99435
- of the NOTICE file are for informational purposes only and
99436
- do not modify the License. You may add Your own attribution
99437
- notices within Derivative Works that You distribute, alongside
99438
- or as an addendum to the NOTICE text from the Work, provided
99439
- that such additional attribution notices cannot be construed
99440
- as modifying the License.
99441
-
99442
- You may add Your own copyright statement to Your modifications and
99443
- may provide additional or different license terms and conditions
99444
- for use, reproduction, or distribution of Your modifications, or
99445
- for any such Derivative Works as a whole, provided Your use,
99446
- reproduction, and distribution of the Work otherwise complies with
99447
- the conditions stated in this License.
99448
-
99449
- 5. Submission of Contributions. Unless You explicitly state otherwise,
99450
- any Contribution intentionally submitted for inclusion in the Work
99451
- by You to the Licensor shall be under the terms and conditions of
99452
- this License, without any additional terms or conditions.
99453
- Notwithstanding the above, nothing herein shall supersede or modify
99454
- the terms of any separate license agreement you may have executed
99455
- with Licensor regarding such Contributions.
99456
-
99457
- 6. Trademarks. This License does not grant permission to use the trade
99458
- names, trademarks, service marks, or product names of the Licensor,
99459
- except as required for reasonable and customary use in describing the
99460
- origin of the Work and reproducing the content of the NOTICE file.
99461
-
99462
- 7. Disclaimer of Warranty. Unless required by applicable law or
99463
- agreed to in writing, Licensor provides the Work (and each
99464
- Contributor provides its Contributions) on an "AS IS" BASIS,
99465
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
99466
- implied, including, without limitation, any warranties or conditions
99467
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
99468
- PARTICULAR PURPOSE. You are solely responsible for determining the
99469
- appropriateness of using or redistributing the Work and assume any
99470
- risks associated with Your exercise of permissions under this License.
99471
-
99472
- 8. Limitation of Liability. In no event and under no legal theory,
99473
- whether in tort (including negligence), contract, or otherwise,
99474
- unless required by applicable law (such as deliberate and grossly
99475
- negligent acts) or agreed to in writing, shall any Contributor be
99476
- liable to You for damages, including any direct, indirect, special,
99477
- incidental, or consequential damages of any character arising as a
99478
- result of this License or out of the use or inability to use the
99479
- Work (including but not limited to damages for loss of goodwill,
99480
- work stoppage, computer failure or malfunction, or any and all
99481
- other commercial damages or losses), even if such Contributor
99482
- has been advised of the possibility of such damages.
99483
-
99484
- 9. Accepting Warranty or Additional Liability. While redistributing
99485
- the Work or Derivative Works thereof, You may choose to offer,
99486
- and charge a fee for, acceptance of support, warranty, indemnity,
99487
- or other liability obligations and/or rights consistent with this
99488
- License. However, in accepting such obligations, You may act only
99489
- on Your own behalf and on Your sole responsibility, not on behalf
99490
- of any other Contributor, and only if You agree to indemnify,
99491
- defend, and hold each Contributor harmless for any liability
99492
- incurred by, or claims asserted against, such Contributor by reason
99493
- of your accepting any such warranty or additional liability.
99494
-
99495
- END OF TERMS AND CONDITIONS
99496
-
99497
- APPENDIX: How to apply the Apache License to your work.
99498
-
99499
- To apply the Apache License to your work, attach the following
99500
- boilerplate notice, with the fields enclosed by brackets "{}"
99501
- replaced with your own identifying information. (Don't include
99502
- the brackets!) The text should be enclosed in the appropriate
99503
- comment syntax for the file format. We also recommend that a
99504
- file or class name and description of purpose be included on the
99505
- same "printed page" as the copyright notice for easier
99506
- identification within third-party archives.
99507
-
99508
- Copyright (C) 2013-present SheetJS LLC
99509
-
99510
- Licensed under the Apache License, Version 2.0 (the "License");
99511
- you may not use this file except in compliance with the License.
99512
- You may obtain a copy of the License at
99513
-
99514
- http://www.apache.org/licenses/LICENSE-2.0
99515
-
99516
- Unless required by applicable law or agreed to in writing, software
99517
- distributed under the License is distributed on an "AS IS" BASIS,
99518
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
99519
- See the License for the specific language governing permissions and
99520
- limitations under the License.
99521
-
99522
- */
99523
98731
  var M = Math;
99524
98732
  function _horner(arr, v) {
99525
98733
  for (var i = 0, z = 0; i < arr.length; ++i) {
@@ -99778,28 +98986,6 @@ var besselk = (function () {
99778
98986
  }
99779
98987
  return _bessel_wrap(bessel0, bessel1, "BESSELK", 2, 1);
99780
98988
  })();
99781
- /**
99782
- * @license
99783
- Copyright (c) 2013 jStat
99784
-
99785
- Permission is hereby granted, free of charge, to any person obtaining a copy
99786
- of this software and associated documentation files (the "Software"), to deal
99787
- in the Software without restriction, including without limitation the rights
99788
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99789
- copies of the Software, and to permit persons to whom the Software is
99790
- furnished to do so, subject to the following conditions:
99791
-
99792
- The above copyright notice and this permission notice shall be included in
99793
- all copies or substantial portions of the Software.
99794
-
99795
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
99796
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
99797
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
99798
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
99799
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
99800
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
99801
- THE SOFTWARE.
99802
- */
99803
98989
  function erf(x) {
99804
98990
  const cof = [-1.3026537197817094, 0.6419697923564902, 0.019476473204185836, -0.00956151478680863, -946595344482036e-18, 366839497852761e-18, 42523324806907e-18, -20278578112534e-18, -1624290004647e-18, 130365583558e-17, 15626441722e-18, -85238095915e-18, 6529054439e-18, 5059343495e-18, -991364156e-18, -227365122e-18, 96467911e-18, 2394038e-18, -6886027e-18, 894487e-18, 313092e-18, -112708e-18, 381e-18, 7106e-18, -1523e-18, -94e-18, 121e-18, -28e-18];
99805
98991
  let j = cof.length - 1;
@@ -100529,10 +99715,6 @@ function covariance(arr1, arr2) {
100529
99715
  function corrcoeff(arr1, arr2) {
100530
99716
  return covariance(arr1, arr2) / stdev(arr1, 1) / stdev(arr2, 1);
100531
99717
  }
100532
- /**
100533
- * @license
100534
- * Copyright (c) 2025 Handsoncode. All rights reserved.
100535
- */
100536
99718
  class StatisticalPlugin extends FunctionPlugin {
100537
99719
  erf(ast, state) {
100538
99720
  return this.runFunction(ast.args, state, this.metadata("ERF"), (lowerBound2, upperBound) => {
@@ -101413,10 +100595,6 @@ StatisticalPlugin.aliases = {
101413
100595
  LOGNORMINV: "LOGNORM.INV",
101414
100596
  POISSONDIST: "POISSON.DIST"
101415
100597
  };
101416
- /**
101417
- * @license
101418
- * Copyright (c) 2025 Handsoncode. All rights reserved.
101419
- */
101420
100598
  class MathPlugin extends FunctionPlugin {
101421
100599
  fact(ast, state) {
101422
100600
  return this.runFunction(ast.args, state, this.metadata("FACT"), (arg) => {
@@ -101783,10 +100961,6 @@ function binaryLCM(a, b) {
101783
100961
  }
101784
100962
  return a * (b / binaryGCD(a, b));
101785
100963
  }
101786
- /**
101787
- * @license
101788
- * Copyright (c) 2025 Handsoncode. All rights reserved.
101789
- */
101790
100964
  class ComplexPlugin extends FunctionPlugin {
101791
100965
  complex(ast, state) {
101792
100966
  return this.runFunction(ast.args, state, this.metadata("COMPLEX"), (re, im, unit) => {
@@ -102115,10 +101289,6 @@ function power(arg, n) {
102115
101289
  const [re, im] = ln(arg);
102116
101290
  return exp([n * re, n * im]);
102117
101291
  }
102118
- /**
102119
- * @license
102120
- * Copyright (c) 2025 Handsoncode. All rights reserved.
102121
- */
102122
101292
  class StatisticalAggregationPlugin extends FunctionPlugin {
102123
101293
  avedev(ast, state) {
102124
101294
  return this.runFunction(ast.args, state, this.metadata("AVEDEV"), (...args) => {
@@ -102611,10 +101781,6 @@ function parseTwoArrays(dataX, dataY) {
102611
101781
  }
102612
101782
  return [arrX, arrY];
102613
101783
  }
102614
- /**
102615
- * @license
102616
- * Copyright (c) 2025 Handsoncode. All rights reserved.
102617
- */
102618
101784
  const plugins = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
102619
101785
  __proto__: null,
102620
101786
  AbsPlugin,
@@ -102661,10 +101827,6 @@ const plugins = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
102661
101827
  TextPlugin,
102662
101828
  TrigonometryPlugin
102663
101829
  }, Symbol.toStringTag, { value: "Module" }));
102664
- /**
102665
- * @license
102666
- * Copyright (c) 2025 Handsoncode. All rights reserved.
102667
- */
102668
101830
  class HyperFormulaNS extends HyperFormula {
102669
101831
  }
102670
101832
  HyperFormulaNS.HyperFormula = HyperFormula;
@@ -122146,12 +121308,6 @@ function requireCharenc() {
122146
121308
  charenc_1 = charenc;
122147
121309
  return charenc_1;
122148
121310
  }
122149
- /*!
122150
- * Determine if an object is a Buffer
122151
- *
122152
- * @author Feross Aboukhadijeh <https://feross.org>
122153
- * @license MIT
122154
- */
122155
121311
  var isBuffer_1;
122156
121312
  var hasRequiredIsBuffer$1;
122157
121313
  function requireIsBuffer$1() {
@@ -133716,7 +132872,6 @@ function requireSax() {
133716
132872
  }
133717
132873
  return parser2;
133718
132874
  }
133719
- /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
133720
132875
  if (!String.fromCodePoint) {
133721
132876
  (function () {
133722
132877
  var stringFromCharCode = String.fromCharCode;