@pixerate/editor 0.22.0 → 0.24.0

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.
Files changed (188) hide show
  1. package/README.md +175 -2
  2. package/THIRD_PARTY_NOTICES.md +139 -0
  3. package/dist/agent/index.cjs +87 -111
  4. package/dist/agent/index.cjs.map +1 -1
  5. package/dist/agent/index.d.cts +70 -211
  6. package/dist/agent/index.d.ts +70 -211
  7. package/dist/agent/index.js +78 -102
  8. package/dist/agent/index.js.map +1 -1
  9. package/dist/arrangeShortcuts-B8O3f8-P.d.cts +184 -0
  10. package/dist/arrangeShortcuts-sLlD2rSX.d.ts +184 -0
  11. package/dist/canvas/index.cjs +2075 -86
  12. package/dist/canvas/index.cjs.map +1 -1
  13. package/dist/canvas/index.d.cts +608 -186
  14. package/dist/canvas/index.d.ts +608 -186
  15. package/dist/canvas/index.js +2060 -71
  16. package/dist/canvas/index.js.map +1 -1
  17. package/dist/chunk-26BVFKHU.cjs +453 -0
  18. package/dist/chunk-26BVFKHU.cjs.map +1 -0
  19. package/dist/chunk-2H7ZHPEJ.js +762 -0
  20. package/dist/chunk-2H7ZHPEJ.js.map +1 -0
  21. package/dist/{chunk-DENSCKFC.js → chunk-3CN2WD3X.js} +1730 -189
  22. package/dist/chunk-3CN2WD3X.js.map +1 -0
  23. package/dist/{chunk-JJDLPEWL.js → chunk-3LV6RRPH.js} +2 -2
  24. package/dist/{chunk-MJZBNWG7.js → chunk-5S3Z4PPF.js} +78 -557
  25. package/dist/chunk-5S3Z4PPF.js.map +1 -0
  26. package/dist/chunk-664LQYFJ.js +115 -0
  27. package/dist/chunk-664LQYFJ.js.map +1 -0
  28. package/dist/chunk-7DWMJCAT.js +453 -0
  29. package/dist/chunk-7DWMJCAT.js.map +1 -0
  30. package/dist/chunk-ARRTP33I.js +101 -0
  31. package/dist/chunk-ARRTP33I.js.map +1 -0
  32. package/dist/chunk-CPOKFNBG.cjs +101 -0
  33. package/dist/chunk-CPOKFNBG.cjs.map +1 -0
  34. package/dist/{chunk-AA4ZEVCC.cjs → chunk-D27YFC46.cjs} +101 -580
  35. package/dist/chunk-D27YFC46.cjs.map +1 -0
  36. package/dist/chunk-D6FH2YAX.cjs +131 -0
  37. package/dist/chunk-D6FH2YAX.cjs.map +1 -0
  38. package/dist/{chunk-4SUNJZWB.cjs → chunk-FD4LPFAE.cjs} +48 -200
  39. package/dist/chunk-FD4LPFAE.cjs.map +1 -0
  40. package/dist/chunk-FODNLX5N.js +749 -0
  41. package/dist/chunk-FODNLX5N.js.map +1 -0
  42. package/dist/{chunk-OYXSKQFR.js → chunk-FPENXAEJ.js} +35 -187
  43. package/dist/chunk-FPENXAEJ.js.map +1 -0
  44. package/dist/chunk-G2I4QJOT.cjs +762 -0
  45. package/dist/chunk-G2I4QJOT.cjs.map +1 -0
  46. package/dist/chunk-HLIMTC6N.js +1 -0
  47. package/dist/chunk-HLIMTC6N.js.map +1 -0
  48. package/dist/{chunk-QGHGJ56O.js → chunk-ITBSKI26.js} +1483 -19
  49. package/dist/chunk-ITBSKI26.js.map +1 -0
  50. package/dist/{chunk-6M3BCTBD.cjs → chunk-MA2F5KHF.cjs} +470 -242
  51. package/dist/chunk-MA2F5KHF.cjs.map +1 -0
  52. package/dist/{chunk-SAZRENEZ.cjs → chunk-MCSJFWAO.cjs} +1733 -192
  53. package/dist/chunk-MCSJFWAO.cjs.map +1 -0
  54. package/dist/chunk-MKA3AHLV.cjs +256 -0
  55. package/dist/chunk-MKA3AHLV.cjs.map +1 -0
  56. package/dist/chunk-OLZJXL4R.cjs +749 -0
  57. package/dist/chunk-OLZJXL4R.cjs.map +1 -0
  58. package/dist/chunk-OXSV64JX.js +689 -0
  59. package/dist/chunk-OXSV64JX.js.map +1 -0
  60. package/dist/chunk-P3RQ5UJE.cjs +689 -0
  61. package/dist/chunk-P3RQ5UJE.cjs.map +1 -0
  62. package/dist/chunk-P6ODPZ4W.js +256 -0
  63. package/dist/chunk-P6ODPZ4W.js.map +1 -0
  64. package/dist/chunk-PGNZKFQS.js +685 -0
  65. package/dist/chunk-PGNZKFQS.js.map +1 -0
  66. package/dist/chunk-PL4JB3BF.cjs +1 -0
  67. package/dist/chunk-PL4JB3BF.cjs.map +1 -0
  68. package/dist/{chunk-GVSMRPHB.cjs → chunk-SBCZ6RN5.cjs} +1568 -104
  69. package/dist/chunk-SBCZ6RN5.cjs.map +1 -0
  70. package/dist/{chunk-CL37JGFW.cjs → chunk-SML64VJG.cjs} +4 -4
  71. package/dist/{chunk-CL37JGFW.cjs.map → chunk-SML64VJG.cjs.map} +1 -1
  72. package/dist/chunk-TNNJXF46.cjs +115 -0
  73. package/dist/chunk-TNNJXF46.cjs.map +1 -0
  74. package/dist/chunk-U5HZSFCS.js +131 -0
  75. package/dist/chunk-U5HZSFCS.js.map +1 -0
  76. package/dist/{chunk-RU52I7QO.js → chunk-U5KWZU4X.js} +388 -160
  77. package/dist/chunk-U5KWZU4X.js.map +1 -0
  78. package/dist/chunk-XNORY7M6.cjs +685 -0
  79. package/dist/chunk-XNORY7M6.cjs.map +1 -0
  80. package/dist/commands/index.cjs +860 -0
  81. package/dist/commands/index.cjs.map +1 -0
  82. package/dist/commands/index.d.cts +244 -0
  83. package/dist/commands/index.d.ts +244 -0
  84. package/dist/commands/index.js +860 -0
  85. package/dist/commands/index.js.map +1 -0
  86. package/dist/comment-store-BEMgVlAA.d.cts +135 -0
  87. package/dist/comment-store-BEMgVlAA.d.ts +135 -0
  88. package/dist/compare/index.cjs +15 -0
  89. package/dist/compare/index.cjs.map +1 -0
  90. package/dist/compare/index.d.cts +58 -0
  91. package/dist/compare/index.d.ts +58 -0
  92. package/dist/compare/index.js +15 -0
  93. package/dist/compare/index.js.map +1 -0
  94. package/dist/{controller-B7GIybc4.d.cts → controller-BhLLAoi8.d.cts} +119 -5
  95. package/dist/{controller-B7GIybc4.d.ts → controller-BhLLAoi8.d.ts} +119 -5
  96. package/dist/documents-BQjzJNe2.d.ts +76 -0
  97. package/dist/documents-KRTPhvst.d.cts +76 -0
  98. package/dist/extensions/index.cjs +53 -5
  99. package/dist/extensions/index.cjs.map +1 -1
  100. package/dist/extensions/index.d.cts +7 -3
  101. package/dist/extensions/index.d.ts +7 -3
  102. package/dist/extensions/index.js +52 -4
  103. package/dist/generation/index.cjs +1373 -0
  104. package/dist/generation/index.cjs.map +1 -0
  105. package/dist/generation/index.d.cts +554 -0
  106. package/dist/generation/index.d.ts +554 -0
  107. package/dist/generation/index.js +1373 -0
  108. package/dist/generation/index.js.map +1 -0
  109. package/dist/grammar/index.cjs +48 -3
  110. package/dist/grammar/index.cjs.map +1 -1
  111. package/dist/grammar/index.d.cts +322 -100
  112. package/dist/grammar/index.d.ts +322 -100
  113. package/dist/grammar/index.js +54 -9
  114. package/dist/history/index.cjs +12 -2
  115. package/dist/history/index.cjs.map +1 -1
  116. package/dist/history/index.d.cts +211 -7
  117. package/dist/history/index.d.ts +211 -7
  118. package/dist/history/index.js +13 -3
  119. package/dist/image-editor/index.cjs +2244 -38
  120. package/dist/image-editor/index.cjs.map +1 -1
  121. package/dist/image-editor/index.d.cts +742 -4
  122. package/dist/image-editor/index.d.ts +742 -4
  123. package/dist/image-editor/index.js +2222 -16
  124. package/dist/image-editor/index.js.map +1 -1
  125. package/dist/{index-CCr_z9kF.d.cts → index-BhJBSm2d.d.cts} +370 -4
  126. package/dist/{index-Ck6ajwXh.d.ts → index-fJrlkJCd.d.ts} +370 -4
  127. package/dist/index.cjs +193 -98
  128. package/dist/index.cjs.map +1 -1
  129. package/dist/index.d.cts +17 -48
  130. package/dist/index.d.ts +17 -48
  131. package/dist/index.js +198 -103
  132. package/dist/index.js.map +1 -1
  133. package/dist/migrate-iTlm3a8h.d.cts +112 -0
  134. package/dist/migrate-iTlm3a8h.d.ts +112 -0
  135. package/dist/persistence/index.cjs +676 -0
  136. package/dist/persistence/index.cjs.map +1 -0
  137. package/dist/persistence/index.d.cts +347 -0
  138. package/dist/persistence/index.d.ts +347 -0
  139. package/dist/persistence/index.js +676 -0
  140. package/dist/persistence/index.js.map +1 -0
  141. package/dist/registry-BDe-vlv3.d.ts +171 -0
  142. package/dist/registry-D32LpIc4.d.cts +354 -0
  143. package/dist/registry-DnzpgY27.d.cts +171 -0
  144. package/dist/registry-evKTP4ls.d.ts +354 -0
  145. package/dist/schema-DYDGdYL9.d.cts +41 -0
  146. package/dist/schema-DYDGdYL9.d.ts +41 -0
  147. package/dist/serializers/index.cjs +4 -3
  148. package/dist/serializers/index.cjs.map +1 -1
  149. package/dist/serializers/index.d.cts +2 -1
  150. package/dist/serializers/index.d.ts +2 -1
  151. package/dist/serializers/index.js +3 -2
  152. package/dist/sourcemap-C8AH3MBQ.d.cts +91 -0
  153. package/dist/sourcemap-DA1Evhrv.d.ts +91 -0
  154. package/dist/spreadsheet/index.cjs +53 -3
  155. package/dist/spreadsheet/index.cjs.map +1 -1
  156. package/dist/spreadsheet/index.d.cts +247 -18
  157. package/dist/spreadsheet/index.d.ts +247 -18
  158. package/dist/spreadsheet/index.js +58 -8
  159. package/dist/{tokens-CyLZmIei.d.cts → tokens-D7yXvUU6.d.cts} +15 -2
  160. package/dist/{tokens-CyLZmIei.d.ts → tokens-D7yXvUU6.d.ts} +15 -2
  161. package/dist/{track-changes-BSF58RK0.d.cts → track-changes-BK5sVf4_.d.cts} +18 -136
  162. package/dist/{track-changes-BSF58RK0.d.ts → track-changes-CDjCrwKe.d.ts} +18 -136
  163. package/dist/{types-CJ4U-HHI.d.ts → types-DX4Mh4SL.d.cts} +1 -1
  164. package/dist/{types-CJ4U-HHI.d.cts → types-DX4Mh4SL.d.ts} +1 -1
  165. package/dist/types-GT5a5YAX.d.cts +86 -0
  166. package/dist/types-GT5a5YAX.d.ts +86 -0
  167. package/package.json +23 -2
  168. package/dist/chunk-2TWGLC5K.cjs +0 -262
  169. package/dist/chunk-2TWGLC5K.cjs.map +0 -1
  170. package/dist/chunk-4SUNJZWB.cjs.map +0 -1
  171. package/dist/chunk-6M3BCTBD.cjs.map +0 -1
  172. package/dist/chunk-AA4ZEVCC.cjs.map +0 -1
  173. package/dist/chunk-AXV2ZW34.cjs +0 -118
  174. package/dist/chunk-AXV2ZW34.cjs.map +0 -1
  175. package/dist/chunk-B2ZRLN4S.js +0 -118
  176. package/dist/chunk-B2ZRLN4S.js.map +0 -1
  177. package/dist/chunk-DENSCKFC.js.map +0 -1
  178. package/dist/chunk-GVSMRPHB.cjs.map +0 -1
  179. package/dist/chunk-KAADNAPF.js +0 -262
  180. package/dist/chunk-KAADNAPF.js.map +0 -1
  181. package/dist/chunk-MJZBNWG7.js.map +0 -1
  182. package/dist/chunk-OYXSKQFR.js.map +0 -1
  183. package/dist/chunk-QGHGJ56O.js.map +0 -1
  184. package/dist/chunk-RU52I7QO.js.map +0 -1
  185. package/dist/chunk-SAZRENEZ.cjs.map +0 -1
  186. package/dist/types-BZgcDsC5.d.cts +0 -42
  187. package/dist/types-BZgcDsC5.d.ts +0 -42
  188. /package/dist/{chunk-JJDLPEWL.js.map → chunk-3LV6RRPH.js.map} +0 -0
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;require('./chunk-PL4JB3BF.cjs');
2
2
 
3
3
 
4
4
 
@@ -19,12 +19,12 @@
19
19
 
20
20
 
21
21
 
22
- var _chunk4SUNJZWBcjs = require('./chunk-4SUNJZWB.cjs');
23
22
 
24
23
 
25
24
 
26
25
 
27
26
 
27
+ var _chunkP3RQ5UJEcjs = require('./chunk-P3RQ5UJE.cjs');
28
28
 
29
29
 
30
30
 
@@ -35,6 +35,7 @@ var _chunk4SUNJZWBcjs = require('./chunk-4SUNJZWB.cjs');
35
35
 
36
36
 
37
37
 
38
+ var _chunkFD4LPFAEcjs = require('./chunk-FD4LPFAE.cjs');
38
39
 
39
40
 
40
41
 
@@ -121,7 +122,6 @@ var _chunk4SUNJZWBcjs = require('./chunk-4SUNJZWB.cjs');
121
122
 
122
123
 
123
124
 
124
- var _chunkGVSMRPHBcjs = require('./chunk-GVSMRPHB.cjs');
125
125
 
126
126
 
127
127
 
@@ -136,7 +136,60 @@ var _chunkGVSMRPHBcjs = require('./chunk-GVSMRPHB.cjs');
136
136
 
137
137
 
138
138
 
139
- var _chunkAXV2ZW34cjs = require('./chunk-AXV2ZW34.cjs');
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+ var _chunkSBCZ6RN5cjs = require('./chunk-SBCZ6RN5.cjs');
164
+
165
+
166
+
167
+
168
+
169
+ var _chunkOLZJXL4Rcjs = require('./chunk-OLZJXL4R.cjs');
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+ var _chunkMKA3AHLVcjs = require('./chunk-MKA3AHLV.cjs');
140
193
  require('./chunk-JACER6TE.cjs');
141
194
 
142
195
 
@@ -148,7 +201,25 @@ require('./chunk-JACER6TE.cjs');
148
201
 
149
202
 
150
203
 
151
- var _chunkCL37JGFWcjs = require('./chunk-CL37JGFW.cjs');
204
+ var _chunkSML64VJGcjs = require('./chunk-SML64VJG.cjs');
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
152
223
 
153
224
 
154
225
 
@@ -188,12 +259,14 @@ var _chunkCL37JGFWcjs = require('./chunk-CL37JGFW.cjs');
188
259
 
189
260
 
190
261
 
262
+ var _chunkMA2F5KHFcjs = require('./chunk-MA2F5KHF.cjs');
191
263
 
192
264
 
193
265
 
194
266
 
195
267
 
196
268
 
269
+ var _chunkTNNJXF46cjs = require('./chunk-TNNJXF46.cjs');
197
270
 
198
271
 
199
272
 
@@ -202,12 +275,11 @@ var _chunkCL37JGFWcjs = require('./chunk-CL37JGFW.cjs');
202
275
 
203
276
 
204
277
 
278
+ var _chunkG2I4QJOTcjs = require('./chunk-G2I4QJOT.cjs');
205
279
 
206
- var _chunk6M3BCTBDcjs = require('./chunk-6M3BCTBD.cjs');
207
280
 
208
281
 
209
282
 
210
- var _chunk2TWGLC5Kcjs = require('./chunk-2TWGLC5K.cjs');
211
283
 
212
284
 
213
285
 
@@ -221,6 +293,7 @@ var _chunk2TWGLC5Kcjs = require('./chunk-2TWGLC5K.cjs');
221
293
 
222
294
 
223
295
 
296
+ var _chunkXNORY7M6cjs = require('./chunk-XNORY7M6.cjs');
224
297
 
225
298
 
226
299
 
@@ -244,10 +317,10 @@ var _chunk2TWGLC5Kcjs = require('./chunk-2TWGLC5K.cjs');
244
317
 
245
318
 
246
319
 
320
+ var _chunkD27YFC46cjs = require('./chunk-D27YFC46.cjs');
247
321
 
248
322
 
249
323
 
250
- var _chunkAA4ZEVCCcjs = require('./chunk-AA4ZEVCC.cjs');
251
324
 
252
325
 
253
326
 
@@ -274,7 +347,20 @@ var _chunkAA4ZEVCCcjs = require('./chunk-AA4ZEVCC.cjs');
274
347
 
275
348
 
276
349
 
277
- var _chunkSAZRENEZcjs = require('./chunk-SAZRENEZ.cjs');
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+ var _chunkMCSJFWAOcjs = require('./chunk-MCSJFWAO.cjs');
278
364
 
279
365
  // src/controller.ts
280
366
  var _core = require('@tiptap/core');
@@ -307,7 +393,7 @@ var EditorController = class {
307
393
  this.onMarkdownChange = onMarkdownChange;
308
394
  this.onTokensChange = onTokensChange;
309
395
  this.onSelectionChange = onSelectionChange;
310
- const initialContent = plainTextMode && typeof content === "string" ? _chunkAA4ZEVCCcjs.plainTextToTipTapHtml.call(void 0, content) : markdownMode && typeof content === "string" ? _chunkAA4ZEVCCcjs.markdownToTipTapHtml.call(void 0, content) : content;
396
+ const initialContent = plainTextMode && typeof content === "string" ? _chunkXNORY7M6cjs.plainTextToTipTapHtml.call(void 0, content) : markdownMode && typeof content === "string" ? _chunkXNORY7M6cjs.markdownToTipTapHtml.call(void 0, content) : content;
311
397
  this.editor = new (0, _core.Editor)({
312
398
  element: element || void 0,
313
399
  content: initialContent,
@@ -340,7 +426,7 @@ var EditorController = class {
340
426
  clipboardTextParser: (text, context, _plain, view) => {
341
427
  const schema = _optionalChain([context, 'optionalAccess', _13 => _13.doc, 'optionalAccess', _14 => _14.type, 'optionalAccess', _15 => _15.schema]) || _optionalChain([context, 'optionalAccess', _16 => _16.schema]) || _optionalChain([view, 'optionalAccess', _17 => _17.state, 'optionalAccess', _18 => _18.schema]) || this.editor.schema;
342
428
  if (!schema) return _model.Slice.empty;
343
- return _chunkAA4ZEVCCcjs.plainTextToSlice.call(void 0, text, schema);
429
+ return _chunkXNORY7M6cjs.plainTextToSlice.call(void 0, text, schema);
344
430
  }
345
431
  }
346
432
  });
@@ -350,7 +436,7 @@ var EditorController = class {
350
436
  const text = this.getPlainText();
351
437
  _optionalChain([this, 'access', _19 => _19.onPlainTextChange, 'optionalCall', _20 => _20(text)]);
352
438
  if (this.onTokensChange) {
353
- const tokens = _chunk4SUNJZWBcjs.tokenizePrompt.call(void 0, text);
439
+ const tokens = _chunkFD4LPFAEcjs.tokenizePrompt.call(void 0, text);
354
440
  this.onTokensChange(tokens);
355
441
  }
356
442
  }
@@ -366,20 +452,20 @@ var EditorController = class {
366
452
  }
367
453
  }
368
454
  getPlainText() {
369
- return _chunkAA4ZEVCCcjs.getEditorText.call(void 0, this.editor);
455
+ return _chunkXNORY7M6cjs.getEditorText.call(void 0, this.editor);
370
456
  }
371
457
  setPlainText(text, emitUpdate = true) {
372
- const html = _chunkAA4ZEVCCcjs.plainTextToTipTapHtml.call(void 0, text);
458
+ const html = _chunkXNORY7M6cjs.plainTextToTipTapHtml.call(void 0, text);
373
459
  this.editor.commands.setContent(html, emitUpdate);
374
460
  }
375
461
  getMarkdown() {
376
- return _chunkAA4ZEVCCcjs.getEditorMarkdown.call(void 0, this.editor);
462
+ return _chunkXNORY7M6cjs.getEditorMarkdown.call(void 0, this.editor);
377
463
  }
378
464
  setMarkdown(markdown, emitUpdate = true) {
379
465
  if (_optionalChain([this, 'access', _23 => _23.editor, 'access', _24 => _24.storage, 'optionalAccess', _25 => _25.markdown, 'optionalAccess', _26 => _26.parser])) {
380
466
  this.editor.commands.setContent(markdown, emitUpdate);
381
467
  } else {
382
- const html = _chunkAA4ZEVCCcjs.markdownToTipTapHtml.call(void 0, markdown);
468
+ const html = _chunkXNORY7M6cjs.markdownToTipTapHtml.call(void 0, markdown);
383
469
  this.editor.commands.setContent(html, emitUpdate);
384
470
  }
385
471
  }
@@ -389,7 +475,7 @@ var EditorController = class {
389
475
  */
390
476
  insertPlainText(from, to, text) {
391
477
  const { state, view } = this.editor;
392
- const tr = text.includes("\n") || text.includes("\r") ? state.tr.replace(from, to, _chunkAA4ZEVCCcjs.plainTextToSlice.call(void 0, text, state.schema)) : text ? state.tr.insertText(text, from, to) : state.tr.delete(from, to);
478
+ const tr = text.includes("\n") || text.includes("\r") ? state.tr.replace(from, to, _chunkXNORY7M6cjs.plainTextToSlice.call(void 0, text, state.schema)) : text ? state.tr.insertText(text, from, to) : state.tr.delete(from, to);
393
479
  view.dispatch(tr.scrollIntoView());
394
480
  }
395
481
  /** Inserts text literally at the selection; HTML in `text` is not parsed. */
@@ -432,78 +518,13 @@ function createEditor(options = {}) {
432
518
  return new EditorController(options);
433
519
  }
434
520
 
435
- // src/dirty.ts
436
- function defaultIsEqual(a, b) {
437
- if (Object.is(a, b)) return true;
438
- if (typeof a !== "object" || a === null || typeof b !== "object" || b === null) {
439
- return false;
440
- }
441
- if (Array.isArray(a) && Array.isArray(b)) {
442
- if (a.length !== b.length) return false;
443
- for (let i = 0; i < a.length; i++) {
444
- if (!defaultIsEqual(a[i], b[i])) return false;
445
- }
446
- return true;
447
- }
448
- if (Array.isArray(a) !== Array.isArray(b)) {
449
- return false;
450
- }
451
- const keysA = Object.keys(a);
452
- const keysB = Object.keys(b);
453
- if (keysA.length !== keysB.length) return false;
454
- for (const key of keysA) {
455
- if (!Object.prototype.hasOwnProperty.call(b, key)) return false;
456
- if (!defaultIsEqual(a[key], b[key])) return false;
457
- }
458
- return true;
459
- }
460
- var DirtyTracker = class {
461
-
462
-
463
- constructor(initialBaseline, options) {
464
- this.baseline = initialBaseline;
465
- if (typeof options === "function") {
466
- this.isEqual = options;
467
- } else {
468
- this.isEqual = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _27 => _27.isEqual]), () => ( defaultIsEqual));
469
- }
470
- }
471
- /**
472
- * Returns current baseline value.
473
- */
474
- getBaseline() {
475
- return this.baseline;
476
- }
477
- /**
478
- * Sets a new baseline value without triggering any dirty state.
479
- */
480
- setBaseline(value) {
481
- this.baseline = value;
482
- }
483
- /**
484
- * Checks whether the given value differs from the baseline.
485
- */
486
- isDirty(current) {
487
- return !this.isEqual(this.baseline, current);
488
- }
489
- /**
490
- * Resets the baseline to the provided current value (or clears dirty status).
491
- */
492
- reset(current) {
493
- this.baseline = current;
494
- }
495
- };
496
- function createDirtyTracker(initialBaseline, options) {
497
- return new DirtyTracker(initialBaseline, options);
498
- }
499
-
500
521
  // src/import/controller.ts
501
522
  function pickImportFiles(options = {}) {
502
523
  if (typeof document === "undefined") return Promise.resolve([]);
503
524
  return new Promise((resolve) => {
504
525
  const input = document.createElement("input");
505
526
  input.type = "file";
506
- input.accept = _nullishCoalesce(options.accept, () => ( _chunkGVSMRPHBcjs.defaultImportRegistry.accept("document")));
527
+ input.accept = _nullishCoalesce(options.accept, () => ( _chunkSBCZ6RN5cjs.defaultImportRegistry.accept("document")));
507
528
  input.multiple = _nullishCoalesce(options.multiple, () => ( true));
508
529
  input.style.display = "none";
509
530
  const finish = (files) => {
@@ -531,7 +552,7 @@ var FileImportController = (_class = class {
531
552
  }
532
553
  /** `accept` attribute value for document imports. */
533
554
  get accept() {
534
- return (_nullishCoalesce(this.options.registry, () => ( _chunkGVSMRPHBcjs.defaultImportRegistry))).accept("document");
555
+ return (_nullishCoalesce(this.options.registry, () => ( _chunkSBCZ6RN5cjs.defaultImportRegistry))).accept("document");
535
556
  }
536
557
  __init4() {this.getState = () => this.state}
537
558
  __init5() {this.subscribe = (listener) => {
@@ -553,12 +574,12 @@ var FileImportController = (_class = class {
553
574
  this.setState({ isImporting: true, error: null });
554
575
  let error = null;
555
576
  try {
556
- const outcomes = await _chunkGVSMRPHBcjs.importFilesIntoEditor.call(void 0, target, list, {
577
+ const outcomes = await _chunkSBCZ6RN5cjs.importFilesIntoEditor.call(void 0, target, list, {
557
578
  ...this.options,
558
579
  at,
559
580
  onError: (err, file) => {
560
581
  error = err;
561
- _optionalChain([this, 'access', _31 => _31.options, 'access', _32 => _32.onError, 'optionalCall', _33 => _33(err, file)]);
582
+ _optionalChain([this, 'access', _30 => _30.options, 'access', _31 => _31.onError, 'optionalCall', _32 => _32(err, file)]);
562
583
  }
563
584
  });
564
585
  this.pending--;
@@ -594,9 +615,9 @@ function groupLines(items) {
594
615
  let breakNext = false;
595
616
  for (const item of items) {
596
617
  if (!isTextItem(item)) continue;
597
- const x = _nullishCoalesce(_optionalChain([item, 'access', _34 => _34.transform, 'optionalAccess', _35 => _35[4]]), () => ( 0));
598
- const y = _nullishCoalesce(_optionalChain([item, 'access', _36 => _36.transform, 'optionalAccess', _37 => _37[5]]), () => ( (_nullishCoalesce(_optionalChain([current, 'optionalAccess', _38 => _38.y]), () => ( 0)))));
599
- const height = item.height || Math.abs(_nullishCoalesce(_optionalChain([item, 'access', _39 => _39.transform, 'optionalAccess', _40 => _40[3]]), () => ( 0))) || _optionalChain([current, 'optionalAccess', _41 => _41.height]) || 10;
618
+ const x = _nullishCoalesce(_optionalChain([item, 'access', _33 => _33.transform, 'optionalAccess', _34 => _34[4]]), () => ( 0));
619
+ const y = _nullishCoalesce(_optionalChain([item, 'access', _35 => _35.transform, 'optionalAccess', _36 => _36[5]]), () => ( (_nullishCoalesce(_optionalChain([current, 'optionalAccess', _37 => _37.y]), () => ( 0)))));
620
+ const height = item.height || Math.abs(_nullishCoalesce(_optionalChain([item, 'access', _38 => _38.transform, 'optionalAccess', _39 => _39[3]]), () => ( 0))) || _optionalChain([current, 'optionalAccess', _40 => _40.height]) || 10;
600
621
  const tolerance = Math.max(1, height * 0.5);
601
622
  if (!item.str) {
602
623
  if (item.hasEOL) {
@@ -669,13 +690,13 @@ function createPdfImportAdapter(pdfjs, options = {}) {
669
690
  const page = await doc.getPage(n);
670
691
  const content = await page.getTextContent();
671
692
  paragraphs.push(...pdfTextItemsToParagraphs(content.items, options));
672
- _optionalChain([page, 'access', _42 => _42.cleanup, 'optionalCall', _43 => _43()]);
693
+ _optionalChain([page, 'access', _41 => _41.cleanup, 'optionalCall', _42 => _42()]);
673
694
  }
674
695
  } finally {
675
- await _optionalChain([doc, 'access', _44 => _44.destroy, 'optionalCall', _45 => _45()]);
696
+ await _optionalChain([doc, 'access', _43 => _43.destroy, 'optionalCall', _44 => _44()]);
676
697
  }
677
698
  const text = paragraphs.join("\n");
678
- return { html: _chunkCL37JGFWcjs.plainTextToParagraphHtml.call(void 0, text), text };
699
+ return { html: _chunkSML64VJGcjs.plainTextToParagraphHtml.call(void 0, text), text };
679
700
  }
680
701
  };
681
702
  }
@@ -709,8 +730,8 @@ function createZipImportAdapter(options = {}) {
709
730
  extensions: [".zip"],
710
731
  target: "document",
711
732
  async import(_input, context) {
712
- const registry = _nullishCoalesce(_nullishCoalesce(options.registry, () => ( context.registry)), () => ( _chunkGVSMRPHBcjs.defaultImportRegistry));
713
- const zip = await _chunkGVSMRPHBcjs.readZip.call(void 0, await context.readArrayBuffer(), {
733
+ const registry = _nullishCoalesce(_nullishCoalesce(options.registry, () => ( context.registry)), () => ( _chunkSBCZ6RN5cjs.defaultImportRegistry));
734
+ const zip = await _chunkSBCZ6RN5cjs.readZip.call(void 0, await context.readArrayBuffer(), {
714
735
  maxTotalSize: 100 * 1024 * 1024,
715
736
  maxEntries: 5e3,
716
737
  ...options.zip
@@ -744,7 +765,7 @@ function createZipImportAdapter(options = {}) {
744
765
  });
745
766
  const title = zipEntryTitle(name);
746
767
  if (options.headings !== false) {
747
- html += `<h${level}>${_chunkAA4ZEVCCcjs.escapeHtml.call(void 0, title)}</h${level}>`;
768
+ html += `<h${level}>${_chunkXNORY7M6cjs.escapeHtml.call(void 0, title)}</h${level}>`;
748
769
  text += `${text ? "\n" : ""}${title}
749
770
  `;
750
771
  } else if (text) {
@@ -754,13 +775,13 @@ function createZipImportAdapter(options = {}) {
754
775
  text += outcome.result.text;
755
776
  files.push({ name, adapterId: adapter.id });
756
777
  } catch (error) {
757
- const code = _optionalChain([error, 'optionalAccess', _46 => _46.code]);
778
+ const code = _optionalChain([error, 'optionalAccess', _45 => _45.code]);
758
779
  if (code === "too_large") throw error;
759
780
  skipped.push({ name, reason: error instanceof Error ? error.message : String(error) });
760
781
  }
761
782
  }
762
783
  if (!files.length) {
763
- throw new (0, _chunkGVSMRPHBcjs.ImportError)("invalid_file", "The archive contains no importable documents.", {
784
+ throw new (0, _chunkSBCZ6RN5cjs.ImportError)("invalid_file", "The archive contains no importable documents.", {
764
785
  fileName: context.fileName
765
786
  });
766
787
  }
@@ -1044,5 +1065,79 @@ var zipImportAdapter = createZipImportAdapter();
1044
1065
 
1045
1066
 
1046
1067
 
1047
- exports.Autocorrect = _chunkGVSMRPHBcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunkAA4ZEVCCcjs.BLOCK_CHANGE_ATTRIBUTE; exports.BUILT_IN_IMPORT_ADAPTERS = _chunkGVSMRPHBcjs.BUILT_IN_IMPORT_ADAPTERS; exports.Bookmark = _chunkGVSMRPHBcjs.Bookmark; exports.COMMENT_MARK_NAME = _chunkGVSMRPHBcjs.COMMENT_MARK_NAME; exports.ColorHighlighter = _chunkGVSMRPHBcjs.ColorHighlighter; exports.CommentStore = _chunkAA4ZEVCCcjs.CommentStore; exports.Comments = _chunkGVSMRPHBcjs.Comments; exports.CrossReference = _chunkGVSMRPHBcjs.CrossReference; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkGVSMRPHBcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunk6M3BCTBDcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_DOCX_MAX_IMAGE_SIZE = _chunkGVSMRPHBcjs.DEFAULT_DOCX_MAX_IMAGE_SIZE; exports.DEFAULT_ROW_HEIGHT = _chunk6M3BCTBDcjs.DEFAULT_ROW_HEIGHT; exports.DEFAULT_ZIP_MAX_ENTRIES = _chunkGVSMRPHBcjs.DEFAULT_ZIP_MAX_ENTRIES; exports.DEFAULT_ZIP_MAX_TOTAL_SIZE = _chunkGVSMRPHBcjs.DEFAULT_ZIP_MAX_TOTAL_SIZE; exports.DELETION_MARK_NAME = _chunkAA4ZEVCCcjs.DELETION_MARK_NAME; exports.DOCX_MIME_TYPES = _chunkGVSMRPHBcjs.DOCX_MIME_TYPES; exports.DataSourceBinder = _chunk6M3BCTBDcjs.DataSourceBinder; exports.DependencyGraph = _chunk6M3BCTBDcjs.DependencyGraph; exports.DirtyTracker = DirtyTracker; exports.EditorController = EditorController; exports.FORMAT_CHANGE_MARK_NAME = _chunkAA4ZEVCCcjs.FORMAT_CHANGE_MARK_NAME; exports.FORMULA_ERRORS = _chunkSAZRENEZcjs.FORMULA_ERRORS; exports.FileImport = _chunkGVSMRPHBcjs.FileImport; exports.FileImportController = FileImportController; exports.FontSize = _chunkGVSMRPHBcjs.FontSize; exports.Footnote = _chunkGVSMRPHBcjs.Footnote; exports.FootnoteReference = _chunkGVSMRPHBcjs.FootnoteReference; exports.Footnotes = _chunkGVSMRPHBcjs.Footnotes; exports.FormulaEvaluator = _chunkSAZRENEZcjs.FormulaEvaluator; exports.FormulaParser = _chunkSAZRENEZcjs.FormulaParser; exports.GradientText = _chunkGVSMRPHBcjs.GradientText; exports.HistoryManager = _chunk2TWGLC5Kcjs.HistoryManager; exports.INSERTION_MARK_NAME = _chunkAA4ZEVCCcjs.INSERTION_MARK_NAME; exports.INSTRUCTION_REGEX = _chunkAXV2ZW34cjs.INSTRUCTION_REGEX; exports.Image = _chunkGVSMRPHBcjs.Image; exports.ImportAdapterRegistry = _chunkGVSMRPHBcjs.ImportAdapterRegistry; exports.ImportError = _chunkGVSMRPHBcjs.ImportError; exports.LoadingNode = _chunkGVSMRPHBcjs.LoadingNode; exports.MARKDOWN_MENTION_SPLIT_REGEX = _chunkAA4ZEVCCcjs.MARKDOWN_MENTION_SPLIT_REGEX; exports.MAX_FORMULA_ARRAY_SIZE = _chunkSAZRENEZcjs.MAX_FORMULA_ARRAY_SIZE; exports.MENTION_REGEX = _chunkAA4ZEVCCcjs.MENTION_REGEX; exports.Markdown = _chunkGVSMRPHBcjs.Markdown; exports.Mention = _chunkGVSMRPHBcjs.Mention; exports.Outline = _chunkGVSMRPHBcjs.Outline; exports.PIXERATE_DOCUMENT_MIME = _chunkCL37JGFWcjs.PIXERATE_DOCUMENT_MIME; exports.RichClipboard = _chunkGVSMRPHBcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkGVSMRPHBcjs.SMILIE_REPLACEMENTS; exports.SPREADSHEET_CLIPBOARD_MIME = _chunk6M3BCTBDcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunk6M3BCTBDcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_TABLE_ACTIONS = _chunk6M3BCTBDcjs.SPREADSHEET_TABLE_ACTIONS; exports.SlashCommands = _chunkGVSMRPHBcjs.SlashCommands; exports.SmilieReplacer = _chunkGVSMRPHBcjs.SmilieReplacer; exports.SpreadsheetController = _chunk6M3BCTBDcjs.SpreadsheetController; exports.TEMPLATE_DEPTH_ERROR = _chunk4SUNJZWBcjs.TEMPLATE_DEPTH_ERROR; exports.TEMPLATE_LOOP_ERROR = _chunk4SUNJZWBcjs.TEMPLATE_LOOP_ERROR; exports.TEMPLATE_REGEX = _chunkAXV2ZW34cjs.TEMPLATE_REGEX; exports.TRACK_CHANGES_SKIP_META = _chunkAA4ZEVCCcjs.TRACK_CHANGES_SKIP_META; exports.TableOfContents = _chunkGVSMRPHBcjs.TableOfContents; exports.TemplateSuggestions = _chunkGVSMRPHBcjs.TemplateSuggestions; exports.TrackChanges = _chunkAA4ZEVCCcjs.TrackChanges; exports.TrackChangesStore = _chunkAA4ZEVCCcjs.TrackChangesStore; exports.TrackedDeletion = _chunkAA4ZEVCCcjs.TrackedDeletion; exports.TrackedFormatChange = _chunkAA4ZEVCCcjs.TrackedFormatChange; exports.TrackedInsertion = _chunkAA4ZEVCCcjs.TrackedInsertion; exports.VARIABLE_REGEX = _chunkAXV2ZW34cjs.VARIABLE_REGEX; exports.WHOLE_COLUMN_END_ROW = _chunkSAZRENEZcjs.WHOLE_COLUMN_END_ROW; exports.ZipArchive = _chunkGVSMRPHBcjs.ZipArchive; exports.ZipError = _chunkGVSMRPHBcjs.ZipError; exports.aggregateValues = _chunk6M3BCTBDcjs.aggregateValues; exports.applyFormulaSuggestion = _chunk6M3BCTBDcjs.applyFormulaSuggestion; exports.autocorrectPluginKey = _chunkGVSMRPHBcjs.autocorrectPluginKey; exports.bindSpreadsheetTableActions = _chunk6M3BCTBDcjs.bindSpreadsheetTableActions; exports.buildOutlineTree = _chunkGVSMRPHBcjs.buildOutlineTree; exports.buildSpreadsheetView = _chunk6M3BCTBDcjs.buildSpreadsheetView; exports.capitalizeSentenceRules = _chunkGVSMRPHBcjs.capitalizeSentenceRules; exports.checkFormulaArgumentCount = _chunkSAZRENEZcjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunk6M3BCTBDcjs.clampMenuPosition; exports.colNameToIndex = _chunkSAZRENEZcjs.colNameToIndex; exports.columnDependencyKey = _chunk6M3BCTBDcjs.columnDependencyKey; exports.commentsPluginKey = _chunkGVSMRPHBcjs.commentsPluginKey; exports.compactVariableValues = _chunk4SUNJZWBcjs.compactVariableValues; exports.compareCellValues = _chunk6M3BCTBDcjs.compareCellValues; exports.computeFillTarget = _chunk6M3BCTBDcjs.computeFillTarget; exports.computeOutline = _chunkGVSMRPHBcjs.computeOutline; exports.computeRowGroups = _chunk6M3BCTBDcjs.computeRowGroups; exports.createCommentStore = _chunkAA4ZEVCCcjs.createCommentStore; exports.createDirtyTracker = createDirtyTracker; exports.createDocxImportAdapter = _chunkGVSMRPHBcjs.createDocxImportAdapter; exports.createEditor = createEditor; exports.createFileImportController = createFileImportController; exports.createHistoryManager = _chunk2TWGLC5Kcjs.createHistoryManager; exports.createImportAdapterRegistry = _chunkGVSMRPHBcjs.createImportAdapterRegistry; exports.createImportContext = _chunkGVSMRPHBcjs.createImportContext; exports.createMentionExtension = _chunkGVSMRPHBcjs.createMentionExtension; exports.createOutlineStore = _chunkGVSMRPHBcjs.createOutlineStore; exports.createPdfImportAdapter = createPdfImportAdapter; exports.createReviewId = _chunkAA4ZEVCCcjs.createReviewId; exports.createRichTextPreset = _chunkGVSMRPHBcjs.createRichTextPreset; exports.createSpreadsheetClipboardData = _chunk6M3BCTBDcjs.createSpreadsheetClipboardData; exports.createZipImportAdapter = createZipImportAdapter; exports.crossReferencePluginKey = _chunkGVSMRPHBcjs.crossReferencePluginKey; exports.csvImportAdapter = _chunk6M3BCTBDcjs.csvImportAdapter; exports.defaultAutocorrectRules = _chunkGVSMRPHBcjs.defaultAutocorrectRules; exports.defaultImportRegistry = _chunkGVSMRPHBcjs.defaultImportRegistry; exports.defaultIsEqual = defaultIsEqual; exports.describeBlockChange = _chunkAA4ZEVCCcjs.describeBlockChange; exports.describeFormatChange = _chunkAA4ZEVCCcjs.describeFormatChange; exports.describeFormulaError = _chunkSAZRENEZcjs.describeFormulaError; exports.documentStructureCommandItems = _chunkGVSMRPHBcjs.documentStructureCommandItems; exports.docxImportAdapter = _chunkGVSMRPHBcjs.docxImportAdapter; exports.docxToDocumentImport = _chunkGVSMRPHBcjs.docxToDocumentImport; exports.escapeCsvField = _chunk6M3BCTBDcjs.escapeCsvField; exports.escapeHtml = _chunkAA4ZEVCCcjs.escapeHtml; exports.escapeVariableText = _chunkAXV2ZW34cjs.escapeVariableText; exports.evaluateCondition = _chunkAXV2ZW34cjs.evaluateCondition; exports.evaluatePromptTokens = _chunk4SUNJZWBcjs.evaluatePromptTokens; exports.extractCellDependencies = _chunk6M3BCTBDcjs.extractCellDependencies; exports.extractInstructionNames = _chunk4SUNJZWBcjs.extractInstructionNames; exports.extractMentions = _chunkAA4ZEVCCcjs.extractMentions; exports.extractMentionsFromDoc = _chunkAA4ZEVCCcjs.extractMentionsFromDoc; exports.extractTemplateNames = _chunk4SUNJZWBcjs.extractTemplateNames; exports.extractVariableNames = _chunk4SUNJZWBcjs.extractVariableNames; exports.extractVariables = _chunk4SUNJZWBcjs.extractVariables; exports.fileImportPluginKey = _chunkGVSMRPHBcjs.fileImportPluginKey; exports.fillSeries = _chunk6M3BCTBDcjs.fillSeries; exports.findAutocorrection = _chunkGVSMRPHBcjs.findAutocorrection; exports.findCommentRanges = _chunkGVSMRPHBcjs.findCommentRanges; exports.findHexColors = _chunkGVSMRPHBcjs.findHexColors; exports.findImportAdapter = _chunkGVSMRPHBcjs.findImportAdapter; exports.footnotesMarkdownIt = _chunkGVSMRPHBcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkGVSMRPHBcjs.footnotesPluginKey; exports.formatReviewTime = _chunkAA4ZEVCCcjs.formatReviewTime; exports.formatValueWithCode = _chunkSAZRENEZcjs.formatValueWithCode; exports.fractionRules = _chunkGVSMRPHBcjs.fractionRules; exports.getActiveHeading = _chunkGVSMRPHBcjs.getActiveHeading; exports.getBookmarks = _chunkGVSMRPHBcjs.getBookmarks; exports.getClipboardData = _chunkCL37JGFWcjs.getClipboardData; exports.getCommentAnchors = _chunkGVSMRPHBcjs.getCommentAnchors; exports.getCommentAuthor = _chunkGVSMRPHBcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkGVSMRPHBcjs.getCommentIdsAt; exports.getCommentStore = _chunkGVSMRPHBcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkGVSMRPHBcjs.getCrossReferenceTargets; exports.getDocumentStructureCommandItems = _chunkGVSMRPHBcjs.getDocumentStructureCommandItems; exports.getEditorMarkdown = _chunkAA4ZEVCCcjs.getEditorMarkdown; exports.getEditorText = _chunkAA4ZEVCCcjs.getEditorText; exports.getFillDirection = _chunk6M3BCTBDcjs.getFillDirection; exports.getFootnotes = _chunkGVSMRPHBcjs.getFootnotes; exports.getFormulaArgumentSpecIndex = _chunkSAZRENEZcjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunk6M3BCTBDcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkSAZRENEZcjs.getFormulaFunction; exports.getFormulaHints = _chunk6M3BCTBDcjs.getFormulaHints; exports.getFormulaSignature = _chunkSAZRENEZcjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkSAZRENEZcjs.getFormulaSignatureParts; exports.getImportAccept = _chunkGVSMRPHBcjs.getImportAccept; exports.getLatestVersion = _chunk4SUNJZWBcjs.getLatestVersion; exports.getOutline = _chunkGVSMRPHBcjs.getOutline; exports.getPromptDiagnostics = _chunk4SUNJZWBcjs.getPromptDiagnostics; exports.getRowSection = _chunk6M3BCTBDcjs.getRowSection; exports.getSchemaSignature = _chunkCL37JGFWcjs.getSchemaSignature; exports.getSpreadsheetMenuItems = _chunk6M3BCTBDcjs.getSpreadsheetMenuItems; exports.getSuppliedValue = _chunkAXV2ZW34cjs.getSuppliedValue; exports.getTableOfContentsEntries = _chunkGVSMRPHBcjs.getTableOfContentsEntries; exports.getTableSections = _chunk6M3BCTBDcjs.getTableSections; exports.getTemplateBody = _chunk4SUNJZWBcjs.getTemplateBody; exports.getTrackChangesStore = _chunkAA4ZEVCCcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkAA4ZEVCCcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkAA4ZEVCCcjs.getTrackedChanges; exports.getVariableFormFields = _chunk4SUNJZWBcjs.getVariableFormFields; exports.handleImageInsertion = _chunkGVSMRPHBcjs.handleImageInsertion; exports.htmlImportAdapter = _chunkGVSMRPHBcjs.htmlImportAdapter; exports.htmlToPlainText = _chunkAA4ZEVCCcjs.htmlToPlainText; exports.htmlToSlice = _chunkGVSMRPHBcjs.htmlToSlice; exports.imagePastePluginKey = _chunkGVSMRPHBcjs.imagePastePluginKey; exports.importFile = _chunkGVSMRPHBcjs.importFile; exports.importFileIntoSpreadsheet = _chunk6M3BCTBDcjs.importFileIntoSpreadsheet; exports.importFilesIntoEditor = _chunkGVSMRPHBcjs.importFilesIntoEditor; exports.indexToColName = _chunkSAZRENEZcjs.indexToColName; exports.insertImageNode = _chunkGVSMRPHBcjs.insertImageNode; exports.insertImportedDocument = _chunkGVSMRPHBcjs.insertImportedDocument; exports.instructionRegex = _chunkAXV2ZW34cjs.instructionRegex; exports.isBlankValue = _chunk6M3BCTBDcjs.isBlankValue; exports.isFormulaError = _chunkSAZRENEZcjs.isFormulaError; exports.isInsidePromptToken = _chunkGVSMRPHBcjs.isInsidePromptToken; exports.isPromptValueSet = _chunkAXV2ZW34cjs.isPromptValueSet; exports.isSingleCellRange = _chunk6M3BCTBDcjs.isSingleCellRange; exports.isTrackChangesEnabled = _chunkAA4ZEVCCcjs.isTrackChangesEnabled; exports.isUnsafeZipPath = _chunkGVSMRPHBcjs.isUnsafeZipPath; exports.listFormulaFunctions = _chunkSAZRENEZcjs.listFormulaFunctions; exports.mapFormulaReferences = _chunk6M3BCTBDcjs.mapFormulaReferences; exports.mapRawOffsetToResolved = _chunk4SUNJZWBcjs.mapRawOffsetToResolved; exports.mapResolvedOffsetToRaw = _chunk4SUNJZWBcjs.mapResolvedOffsetToRaw; exports.markdownImportAdapter = _chunkGVSMRPHBcjs.markdownImportAdapter; exports.markdownToTipTapHtml = _chunkAA4ZEVCCcjs.markdownToTipTapHtml; exports.matchConditionalTags = _chunkAXV2ZW34cjs.matchConditionalTags; exports.matchesFilterRule = _chunk6M3BCTBDcjs.matchesFilterRule; exports.navigateToHeading = _chunkGVSMRPHBcjs.navigateToHeading; exports.normalizeRange = _chunk6M3BCTBDcjs.normalizeRange; exports.offsetFormulaReferences = _chunk6M3BCTBDcjs.offsetFormulaReferences; exports.outlinePluginKey = _chunkGVSMRPHBcjs.outlinePluginKey; exports.parseCellReference = _chunkSAZRENEZcjs.parseCellReference; exports.parseCriteria = _chunkSAZRENEZcjs.parseCriteria; exports.parseCsv = _chunk6M3BCTBDcjs.parseCsv; exports.parseFormula = _chunkSAZRENEZcjs.parseFormula; exports.parseHtmlTable = _chunk6M3BCTBDcjs.parseHtmlTable; exports.parseMentionSegments = _chunkAA4ZEVCCcjs.parseMentionSegments; exports.parseRange = _chunkSAZRENEZcjs.parseRange; exports.parseRichClipboardPayload = _chunkCL37JGFWcjs.parseRichClipboardPayload; exports.parseTsv = _chunk6M3BCTBDcjs.parseTsv; exports.parseVariableBody = _chunkAXV2ZW34cjs.parseVariableBody; exports.pdfTextItemsToParagraphs = pdfTextItemsToParagraphs; exports.pickImportFiles = pickImportFiles; exports.plainTextImportAdapter = _chunkGVSMRPHBcjs.plainTextImportAdapter; exports.plainTextToParagraphHtml = _chunkCL37JGFWcjs.plainTextToParagraphHtml; exports.plainTextToSlice = _chunkAA4ZEVCCcjs.plainTextToSlice; exports.plainTextToTipTapHtml = _chunkAA4ZEVCCcjs.plainTextToTipTapHtml; exports.preprocessMarkdownFileLinks = _chunkAA4ZEVCCcjs.preprocessMarkdownFileLinks; exports.preprocessMarkdownMentions = _chunkAA4ZEVCCcjs.preprocessMarkdownMentions; exports.rangeContains = _chunk6M3BCTBDcjs.rangeContains; exports.rangeContainsRange = _chunk6M3BCTBDcjs.rangeContainsRange; exports.rangesIntersect = _chunk6M3BCTBDcjs.rangesIntersect; exports.readRichClipboard = _chunkCL37JGFWcjs.readRichClipboard; exports.readSpreadsheetClipboard = _chunk6M3BCTBDcjs.readSpreadsheetClipboard; exports.readZip = _chunkGVSMRPHBcjs.readZip; exports.rebaseClipboardRows = _chunk6M3BCTBDcjs.rebaseClipboardRows; exports.registerFormulaFunction = _chunkSAZRENEZcjs.registerFormulaFunction; exports.registerImportAdapter = _chunkGVSMRPHBcjs.registerImportAdapter; exports.registerSpreadsheetImportAdapters = _chunk6M3BCTBDcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunk6M3BCTBDcjs.remapFormulaReferences; exports.removeImageNode = _chunkGVSMRPHBcjs.removeImageNode; exports.resolvePrompt = _chunk4SUNJZWBcjs.resolvePrompt; exports.resolveTemplates = _chunk4SUNJZWBcjs.resolveTemplates; exports.resolveTemplatesWithMapping = _chunk4SUNJZWBcjs.resolveTemplatesWithMapping; exports.resolveTrackedChanges = _chunkAA4ZEVCCcjs.resolveTrackedChanges; exports.resolveVariables = _chunk4SUNJZWBcjs.resolveVariables; exports.richClipboardPluginKey = _chunkGVSMRPHBcjs.richClipboardPluginKey; exports.roundFloat = _chunk6M3BCTBDcjs.roundFloat; exports.rowPassesFilters = _chunk6M3BCTBDcjs.rowPassesFilters; exports.rtfImportAdapter = _chunkGVSMRPHBcjs.rtfImportAdapter; exports.rtfToPlainText = _chunkCL37JGFWcjs.rtfToPlainText; exports.sanitizeHtml = _chunkAA4ZEVCCcjs.sanitizeHtml; exports.sanitizeImportedHtml = _chunkCL37JGFWcjs.sanitizeImportedHtml; exports.searchFormulaFunctions = _chunkSAZRENEZcjs.searchFormulaFunctions; exports.serializeCsv = _chunk6M3BCTBDcjs.serializeCsv; exports.serializeHtmlTable = _chunk6M3BCTBDcjs.serializeHtmlTable; exports.serializeRichClipboardPayload = _chunkCL37JGFWcjs.serializeRichClipboardPayload; exports.serializeTsv = _chunk6M3BCTBDcjs.serializeTsv; exports.shiftFormulaReferences = _chunk6M3BCTBDcjs.shiftFormulaReferences; exports.smartQuoteRules = _chunkGVSMRPHBcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkGVSMRPHBcjs.smilieAutocorrectRules; exports.sortZipEntryNames = sortZipEntryNames; exports.stripMarkdownCode = _chunkAA4ZEVCCcjs.stripMarkdownCode; exports.symbolRules = _chunkGVSMRPHBcjs.symbolRules; exports.syncFootnotes = _chunkGVSMRPHBcjs.syncFootnotes; exports.tableOfContentsMarkdownIt = _chunkGVSMRPHBcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkGVSMRPHBcjs.tableOfContentsPluginKey; exports.templateRegex = _chunkAXV2ZW34cjs.templateRegex; exports.toNumber = _chunk6M3BCTBDcjs.toNumber; exports.tokenizeFormula = _chunkSAZRENEZcjs.tokenizeFormula; exports.tokenizePrompt = _chunk4SUNJZWBcjs.tokenizePrompt; exports.tokenizePromptWithDiagnostics = _chunk4SUNJZWBcjs.tokenizePromptWithDiagnostics; exports.trackChangesPluginKey = _chunkAA4ZEVCCcjs.trackChangesPluginKey; exports.tsvImportAdapter = _chunk6M3BCTBDcjs.tsvImportAdapter; exports.twoInitialCapitalsRules = _chunkGVSMRPHBcjs.twoInitialCapitalsRules; exports.unescapeVariableText = _chunkAXV2ZW34cjs.unescapeVariableText; exports.unregisterFormulaFunction = _chunkSAZRENEZcjs.unregisterFormulaFunction; exports.unregisterImportAdapter = _chunkGVSMRPHBcjs.unregisterImportAdapter; exports.updateImageSrc = _chunkGVSMRPHBcjs.updateImageSrc; exports.variableRegex = _chunkAXV2ZW34cjs.variableRegex; exports.wildcardToRegExp = _chunkSAZRENEZcjs.wildcardToRegExp; exports.writeRichClipboard = _chunkGVSMRPHBcjs.writeRichClipboard; exports.zipCrc32 = _chunkGVSMRPHBcjs.zipCrc32; exports.zipEntryTitle = zipEntryTitle; exports.zipImportAdapter = zipImportAdapter;
1068
+
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+
1078
+
1079
+
1080
+
1081
+
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+
1111
+
1112
+
1113
+
1114
+
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+
1121
+
1122
+
1123
+
1124
+
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+
1140
+
1141
+
1142
+ exports.Autocorrect = _chunkSBCZ6RN5cjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunkD27YFC46cjs.BLOCK_CHANGE_ATTRIBUTE; exports.BUILT_IN_IMPORT_ADAPTERS = _chunkSBCZ6RN5cjs.BUILT_IN_IMPORT_ADAPTERS; exports.Bookmark = _chunkSBCZ6RN5cjs.Bookmark; exports.COMMENT_MARK_NAME = _chunkSBCZ6RN5cjs.COMMENT_MARK_NAME; exports.ColorHighlighter = _chunkSBCZ6RN5cjs.ColorHighlighter; exports.CommentStore = _chunkD27YFC46cjs.CommentStore; exports.Comments = _chunkSBCZ6RN5cjs.Comments; exports.CrossReference = _chunkSBCZ6RN5cjs.CrossReference; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkSBCZ6RN5cjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkMA2F5KHFcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_DOCX_MAX_IMAGE_SIZE = _chunkSBCZ6RN5cjs.DEFAULT_DOCX_MAX_IMAGE_SIZE; exports.DEFAULT_ROW_HEIGHT = _chunkMA2F5KHFcjs.DEFAULT_ROW_HEIGHT; exports.DEFAULT_ZIP_MAX_ENTRIES = _chunkSBCZ6RN5cjs.DEFAULT_ZIP_MAX_ENTRIES; exports.DEFAULT_ZIP_MAX_TOTAL_SIZE = _chunkSBCZ6RN5cjs.DEFAULT_ZIP_MAX_TOTAL_SIZE; exports.DELETION_MARK_NAME = _chunkD27YFC46cjs.DELETION_MARK_NAME; exports.DOCX_MIME_TYPES = _chunkSBCZ6RN5cjs.DOCX_MIME_TYPES; exports.DataSourceBinder = _chunkMA2F5KHFcjs.DataSourceBinder; exports.DependencyGraph = _chunkMA2F5KHFcjs.DependencyGraph; exports.DirtyTracker = _chunkG2I4QJOTcjs.DirtyTracker; exports.DocumentCompare = _chunkSBCZ6RN5cjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkSBCZ6RN5cjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EditorController = EditorController; exports.FIELD_ALIASES = _chunkP3RQ5UJEcjs.FIELD_ALIASES; exports.FIND_OPTION_TOGGLES = _chunkSBCZ6RN5cjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkSBCZ6RN5cjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunkD27YFC46cjs.FORMAT_CHANGE_MARK_NAME; exports.FORMULA_ERRORS = _chunkMCSJFWAOcjs.FORMULA_ERRORS; exports.FileImport = _chunkSBCZ6RN5cjs.FileImport; exports.FileImportController = FileImportController; exports.FindReplace = _chunkSBCZ6RN5cjs.FindReplace; exports.FindReplaceStore = _chunkSBCZ6RN5cjs.FindReplaceStore; exports.FontSize = _chunkSBCZ6RN5cjs.FontSize; exports.Footnote = _chunkSBCZ6RN5cjs.Footnote; exports.FootnoteReference = _chunkSBCZ6RN5cjs.FootnoteReference; exports.Footnotes = _chunkSBCZ6RN5cjs.Footnotes; exports.FormulaEvaluator = _chunkMCSJFWAOcjs.FormulaEvaluator; exports.FormulaParser = _chunkMCSJFWAOcjs.FormulaParser; exports.GradientText = _chunkSBCZ6RN5cjs.GradientText; exports.HistoryManager = _chunkG2I4QJOTcjs.HistoryManager; exports.INSERTION_MARK_NAME = _chunkD27YFC46cjs.INSERTION_MARK_NAME; exports.INSTRUCTION_REGEX = _chunkMKA3AHLVcjs.INSTRUCTION_REGEX; exports.Image = _chunkSBCZ6RN5cjs.Image; exports.ImportAdapterRegistry = _chunkSBCZ6RN5cjs.ImportAdapterRegistry; exports.ImportError = _chunkSBCZ6RN5cjs.ImportError; exports.LoadingNode = _chunkSBCZ6RN5cjs.LoadingNode; exports.MARKDOWN_MENTION_SPLIT_REGEX = _chunkXNORY7M6cjs.MARKDOWN_MENTION_SPLIT_REGEX; exports.MAX_DATA_SOURCE_FIELDS = _chunkP3RQ5UJEcjs.MAX_DATA_SOURCE_FIELDS; exports.MAX_DATA_SOURCE_RECORDS = _chunkP3RQ5UJEcjs.MAX_DATA_SOURCE_RECORDS; exports.MAX_FIND_PATTERN_LENGTH = _chunkSBCZ6RN5cjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_FORMULA_ARRAY_SIZE = _chunkMCSJFWAOcjs.MAX_FORMULA_ARRAY_SIZE; exports.MAX_MERGE_LENGTH = _chunkP3RQ5UJEcjs.MAX_MERGE_LENGTH; exports.MAX_MERGE_OUTPUTS = _chunkP3RQ5UJEcjs.MAX_MERGE_OUTPUTS; exports.MAX_NUMBER_FORMAT_CODE_CHARS = _chunkMCSJFWAOcjs.MAX_NUMBER_FORMAT_CODE_CHARS; exports.MENTION_REGEX = _chunkXNORY7M6cjs.MENTION_REGEX; exports.Markdown = _chunkSBCZ6RN5cjs.Markdown; exports.Mention = _chunkSBCZ6RN5cjs.Mention; exports.NUMBER_FORMAT_PRESETS = _chunkMA2F5KHFcjs.NUMBER_FORMAT_PRESETS; exports.NumberFormat = _chunkMCSJFWAOcjs.NumberFormat; exports.Outline = _chunkSBCZ6RN5cjs.Outline; exports.PIXERATE_DOCUMENT_MIME = _chunkSML64VJGcjs.PIXERATE_DOCUMENT_MIME; exports.RichClipboard = _chunkSBCZ6RN5cjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkSBCZ6RN5cjs.SMILIE_REPLACEMENTS; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkMA2F5KHFcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkMA2F5KHFcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_TABLE_ACTIONS = _chunkMA2F5KHFcjs.SPREADSHEET_TABLE_ACTIONS; exports.SlashCommands = _chunkSBCZ6RN5cjs.SlashCommands; exports.SmilieReplacer = _chunkSBCZ6RN5cjs.SmilieReplacer; exports.SpreadsheetController = _chunkMA2F5KHFcjs.SpreadsheetController; exports.TEMPLATE_DEPTH_ERROR = _chunkFD4LPFAEcjs.TEMPLATE_DEPTH_ERROR; exports.TEMPLATE_LOOP_ERROR = _chunkFD4LPFAEcjs.TEMPLATE_LOOP_ERROR; exports.TEMPLATE_REGEX = _chunkMKA3AHLVcjs.TEMPLATE_REGEX; exports.TRACK_CHANGES_SKIP_META = _chunkD27YFC46cjs.TRACK_CHANGES_SKIP_META; exports.TableOfContents = _chunkSBCZ6RN5cjs.TableOfContents; exports.TemplateSuggestions = _chunkSBCZ6RN5cjs.TemplateSuggestions; exports.TrackChanges = _chunkD27YFC46cjs.TrackChanges; exports.TrackChangesStore = _chunkD27YFC46cjs.TrackChangesStore; exports.TrackedDeletion = _chunkD27YFC46cjs.TrackedDeletion; exports.TrackedFormatChange = _chunkD27YFC46cjs.TrackedFormatChange; exports.TrackedInsertion = _chunkD27YFC46cjs.TrackedInsertion; exports.VARIABLE_REGEX = _chunkMKA3AHLVcjs.VARIABLE_REGEX; exports.WHOLE_COLUMN_END_ROW = _chunkMCSJFWAOcjs.WHOLE_COLUMN_END_ROW; exports.ZipArchive = _chunkSBCZ6RN5cjs.ZipArchive; exports.ZipError = _chunkSBCZ6RN5cjs.ZipError; exports.aggregateValues = _chunkMA2F5KHFcjs.aggregateValues; exports.applyDocumentComparison = _chunkSBCZ6RN5cjs.applyDocumentComparison; exports.applyFormulaSuggestion = _chunkMA2F5KHFcjs.applyFormulaSuggestion; exports.applyReplacements = _chunkSBCZ6RN5cjs.applyReplacements; exports.autocorrectPluginKey = _chunkSBCZ6RN5cjs.autocorrectPluginKey; exports.bindDirtyToHistory = _chunkG2I4QJOTcjs.bindDirtyToHistory; exports.bindSpreadsheetTableActions = _chunkMA2F5KHFcjs.bindSpreadsheetTableActions; exports.buildOutlineTree = _chunkSBCZ6RN5cjs.buildOutlineTree; exports.buildSpreadsheetView = _chunkMA2F5KHFcjs.buildSpreadsheetView; exports.builtinNumberFormat = _chunkMCSJFWAOcjs.builtinNumberFormat; exports.builtinNumberFormatId = _chunkMCSJFWAOcjs.builtinNumberFormatId; exports.capitalizeSentenceRules = _chunkSBCZ6RN5cjs.capitalizeSentenceRules; exports.cellFormatForNumberFormat = _chunkMA2F5KHFcjs.cellFormatForNumberFormat; exports.checkFormulaArgumentCount = _chunkMCSJFWAOcjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunkMA2F5KHFcjs.clampMenuPosition; exports.clearNumberFormatCache = _chunkMCSJFWAOcjs.clearNumberFormatCache; exports.colNameToIndex = _chunkMCSJFWAOcjs.colNameToIndex; exports.columnDependencyKey = _chunkMA2F5KHFcjs.columnDependencyKey; exports.commentsPluginKey = _chunkSBCZ6RN5cjs.commentsPluginKey; exports.compactVariableValues = _chunkP3RQ5UJEcjs.compactVariableValues; exports.compareCellValues = _chunkMA2F5KHFcjs.compareCellValues; exports.compareConditionValues = _chunkMKA3AHLVcjs.compareConditionValues; exports.compareDocuments = _chunkOLZJXL4Rcjs.compareDocuments; exports.compareHtml = _chunkOLZJXL4Rcjs.compareHtml; exports.compareInEditor = _chunkSBCZ6RN5cjs.compareInEditor; exports.compareNumbers = _chunkMCSJFWAOcjs.compareNumbers; exports.compareValues = _chunkMCSJFWAOcjs.compareValues; exports.compileFindPattern = _chunkSBCZ6RN5cjs.compileFindPattern; exports.computeFillTarget = _chunkMA2F5KHFcjs.computeFillTarget; exports.computeOutline = _chunkSBCZ6RN5cjs.computeOutline; exports.computeRowGroups = _chunkMA2F5KHFcjs.computeRowGroups; exports.conditionSubject = _chunkMKA3AHLVcjs.conditionSubject; exports.createCommentStore = _chunkD27YFC46cjs.createCommentStore; exports.createDirtyTracker = _chunkG2I4QJOTcjs.createDirtyTracker; exports.createDocxImportAdapter = _chunkSBCZ6RN5cjs.createDocxImportAdapter; exports.createEditor = createEditor; exports.createFileImportController = createFileImportController; exports.createFindReplaceCommands = _chunkSBCZ6RN5cjs.createFindReplaceCommands; exports.createHistoryManager = _chunkG2I4QJOTcjs.createHistoryManager; exports.createImportAdapterRegistry = _chunkSBCZ6RN5cjs.createImportAdapterRegistry; exports.createImportContext = _chunkSBCZ6RN5cjs.createImportContext; exports.createMentionExtension = _chunkSBCZ6RN5cjs.createMentionExtension; exports.createOutlineStore = _chunkSBCZ6RN5cjs.createOutlineStore; exports.createPdfImportAdapter = createPdfImportAdapter; exports.createReviewId = _chunkD27YFC46cjs.createReviewId; exports.createRichTextPreset = _chunkSBCZ6RN5cjs.createRichTextPreset; exports.createSearchBudget = _chunkSBCZ6RN5cjs.createSearchBudget; exports.createSpreadsheetClipboardData = _chunkMA2F5KHFcjs.createSpreadsheetClipboardData; exports.createZipImportAdapter = createZipImportAdapter; exports.crossReferencePluginKey = _chunkSBCZ6RN5cjs.crossReferencePluginKey; exports.csvImportAdapter = _chunkMA2F5KHFcjs.csvImportAdapter; exports.dateValueToSerial = _chunkMCSJFWAOcjs.dateValueToSerial; exports.defaultAutocorrectRules = _chunkSBCZ6RN5cjs.defaultAutocorrectRules; exports.defaultImportRegistry = _chunkSBCZ6RN5cjs.defaultImportRegistry; exports.defaultIsEqual = _chunkG2I4QJOTcjs.defaultIsEqual; exports.describeBlockChange = _chunkD27YFC46cjs.describeBlockChange; exports.describeConditionalTag = _chunkMKA3AHLVcjs.describeConditionalTag; exports.describeFormatChange = _chunkD27YFC46cjs.describeFormatChange; exports.describeFormulaError = _chunkMCSJFWAOcjs.describeFormulaError; exports.detectDelimiter = _chunkP3RQ5UJEcjs.detectDelimiter; exports.diffChanges = _chunkOLZJXL4Rcjs.diffChanges; exports.diffSequences = _chunkOLZJXL4Rcjs.diffSequences; exports.documentStructureCommandItems = _chunkSBCZ6RN5cjs.documentStructureCommandItems; exports.docxImportAdapter = _chunkSBCZ6RN5cjs.docxImportAdapter; exports.docxToDocumentImport = _chunkSBCZ6RN5cjs.docxToDocumentImport; exports.escapeCsvField = _chunkTNNJXF46cjs.escapeCsvField; exports.escapeHtml = _chunkXNORY7M6cjs.escapeHtml; exports.escapeVariableText = _chunkMKA3AHLVcjs.escapeVariableText; exports.evaluateCondition = _chunkMKA3AHLVcjs.evaluateCondition; exports.evaluateConditionExpression = _chunkMKA3AHLVcjs.evaluateConditionExpression; exports.evaluatePromptTokens = _chunkFD4LPFAEcjs.evaluatePromptTokens; exports.expandReplacement = _chunkSBCZ6RN5cjs.expandReplacement; exports.extractCellDependencies = _chunkMA2F5KHFcjs.extractCellDependencies; exports.extractInstructionNames = _chunkP3RQ5UJEcjs.extractInstructionNames; exports.extractMentions = _chunkXNORY7M6cjs.extractMentions; exports.extractMentionsFromDoc = _chunkXNORY7M6cjs.extractMentionsFromDoc; exports.extractTemplateNames = _chunkP3RQ5UJEcjs.extractTemplateNames; exports.extractVariableNames = _chunkP3RQ5UJEcjs.extractVariableNames; exports.extractVariables = _chunkP3RQ5UJEcjs.extractVariables; exports.fileImportPluginKey = _chunkSBCZ6RN5cjs.fileImportPluginKey; exports.fillSeries = _chunkMA2F5KHFcjs.fillSeries; exports.findAllMatches = _chunkSBCZ6RN5cjs.findAllMatches; exports.findAutocorrection = _chunkSBCZ6RN5cjs.findAutocorrection; exports.findCommentRanges = _chunkSBCZ6RN5cjs.findCommentRanges; exports.findHexColors = _chunkSBCZ6RN5cjs.findHexColors; exports.findImportAdapter = _chunkSBCZ6RN5cjs.findImportAdapter; exports.findReplacePluginKey = _chunkSBCZ6RN5cjs.findReplacePluginKey; exports.foldCodePoint = _chunkSBCZ6RN5cjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkSBCZ6RN5cjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkSBCZ6RN5cjs.footnotesPluginKey; exports.formatCellDisplay = _chunkMA2F5KHFcjs.formatCellDisplay; exports.formatCellForDisplay = _chunkMA2F5KHFcjs.formatCellForDisplay; exports.formatComparisonOperand = _chunkMKA3AHLVcjs.formatComparisonOperand; exports.formatConditionalTag = _chunkMKA3AHLVcjs.formatConditionalTag; exports.formatFindStatus = _chunkSBCZ6RN5cjs.formatFindStatus; exports.formatGeneralFit = _chunkMCSJFWAOcjs.formatGeneralFit; exports.formatNumberFormatValue = _chunkMCSJFWAOcjs.formatNumberFormatValue; exports.formatReviewTime = _chunkD27YFC46cjs.formatReviewTime; exports.formatTextFunction = _chunkMCSJFWAOcjs.formatTextFunction; exports.formatValueWithCode = _chunkMA2F5KHFcjs.formatValueWithCode; exports.fractionRules = _chunkSBCZ6RN5cjs.fractionRules; exports.getActiveHeading = _chunkSBCZ6RN5cjs.getActiveHeading; exports.getBookmarks = _chunkSBCZ6RN5cjs.getBookmarks; exports.getClipboardData = _chunkSML64VJGcjs.getClipboardData; exports.getCommentAnchors = _chunkSBCZ6RN5cjs.getCommentAnchors; exports.getCommentAuthor = _chunkSBCZ6RN5cjs.getCommentAuthor; exports.getCommentIdsAt = _chunkSBCZ6RN5cjs.getCommentIdsAt; exports.getCommentStore = _chunkSBCZ6RN5cjs.getCommentStore; exports.getCrossReferenceTargets = _chunkSBCZ6RN5cjs.getCrossReferenceTargets; exports.getDocumentStructureCommandItems = _chunkSBCZ6RN5cjs.getDocumentStructureCommandItems; exports.getEditorMarkdown = _chunkXNORY7M6cjs.getEditorMarkdown; exports.getEditorText = _chunkXNORY7M6cjs.getEditorText; exports.getFillDirection = _chunkMA2F5KHFcjs.getFillDirection; exports.getFindReplaceState = _chunkSBCZ6RN5cjs.getFindReplaceState; exports.getFindReplaceStore = _chunkSBCZ6RN5cjs.getFindReplaceStore; exports.getFootnotes = _chunkSBCZ6RN5cjs.getFootnotes; exports.getFormulaArgumentSpecIndex = _chunkMCSJFWAOcjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkMA2F5KHFcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkMCSJFWAOcjs.getFormulaFunction; exports.getFormulaHints = _chunkMA2F5KHFcjs.getFormulaHints; exports.getFormulaSignature = _chunkMCSJFWAOcjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkMCSJFWAOcjs.getFormulaSignatureParts; exports.getImportAccept = _chunkSBCZ6RN5cjs.getImportAccept; exports.getLatestVersion = _chunkFD4LPFAEcjs.getLatestVersion; exports.getOutline = _chunkSBCZ6RN5cjs.getOutline; exports.getPromptDiagnostics = _chunkFD4LPFAEcjs.getPromptDiagnostics; exports.getRowSection = _chunkMA2F5KHFcjs.getRowSection; exports.getSchemaSignature = _chunkSML64VJGcjs.getSchemaSignature; exports.getSpreadsheetMenuItems = _chunkMA2F5KHFcjs.getSpreadsheetMenuItems; exports.getSuppliedValue = _chunkMKA3AHLVcjs.getSuppliedValue; exports.getTableOfContentsEntries = _chunkSBCZ6RN5cjs.getTableOfContentsEntries; exports.getTableSections = _chunkMA2F5KHFcjs.getTableSections; exports.getTemplateBody = _chunkFD4LPFAEcjs.getTemplateBody; exports.getTrackChangesStore = _chunkD27YFC46cjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkD27YFC46cjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkD27YFC46cjs.getTrackedChanges; exports.getVariableFormFields = _chunkP3RQ5UJEcjs.getVariableFormFields; exports.handleImageInsertion = _chunkSBCZ6RN5cjs.handleImageInsertion; exports.htmlImportAdapter = _chunkSBCZ6RN5cjs.htmlImportAdapter; exports.htmlToPlainText = _chunkXNORY7M6cjs.htmlToPlainText; exports.htmlToSlice = _chunkSBCZ6RN5cjs.htmlToSlice; exports.imagePastePluginKey = _chunkSBCZ6RN5cjs.imagePastePluginKey; exports.importFile = _chunkSBCZ6RN5cjs.importFile; exports.importFileIntoSpreadsheet = _chunkMA2F5KHFcjs.importFileIntoSpreadsheet; exports.importFilesIntoEditor = _chunkSBCZ6RN5cjs.importFilesIntoEditor; exports.indexToColName = _chunkMCSJFWAOcjs.indexToColName; exports.insertImageNode = _chunkSBCZ6RN5cjs.insertImageNode; exports.insertImportedDocument = _chunkSBCZ6RN5cjs.insertImportedDocument; exports.instructionRegex = _chunkMKA3AHLVcjs.instructionRegex; exports.isBlankValue = _chunkMA2F5KHFcjs.isBlankValue; exports.isFormulaError = _chunkMCSJFWAOcjs.isFormulaError; exports.isGeneralNumberFormat = _chunkMA2F5KHFcjs.isGeneralNumberFormat; exports.isInsidePromptToken = _chunkSBCZ6RN5cjs.isInsidePromptToken; exports.isPromptValueSet = _chunkMKA3AHLVcjs.isPromptValueSet; exports.isSingleCellRange = _chunkMA2F5KHFcjs.isSingleCellRange; exports.isTrackChangesEnabled = _chunkD27YFC46cjs.isTrackChangesEnabled; exports.isUnsafeZipPath = _chunkSBCZ6RN5cjs.isUnsafeZipPath; exports.listFormulaFunctions = _chunkMCSJFWAOcjs.listFormulaFunctions; exports.mapFormulaReferences = _chunkMA2F5KHFcjs.mapFormulaReferences; exports.mapRawOffsetToResolved = _chunkP3RQ5UJEcjs.mapRawOffsetToResolved; exports.mapResolvedOffsetToRaw = _chunkP3RQ5UJEcjs.mapResolvedOffsetToRaw; exports.markdownImportAdapter = _chunkSBCZ6RN5cjs.markdownImportAdapter; exports.markdownToTipTapHtml = _chunkXNORY7M6cjs.markdownToTipTapHtml; exports.matchConditionalTags = _chunkMKA3AHLVcjs.matchConditionalTags; exports.matchFields = _chunkP3RQ5UJEcjs.matchFields; exports.matchesFilterRule = _chunkMA2F5KHFcjs.matchesFilterRule; exports.mergeRecords = _chunkP3RQ5UJEcjs.mergeRecords; exports.navigateToHeading = _chunkSBCZ6RN5cjs.navigateToHeading; exports.normalizeFieldKey = _chunkP3RQ5UJEcjs.normalizeFieldKey; exports.normalizeFieldNames = _chunkP3RQ5UJEcjs.normalizeFieldNames; exports.normalizeRange = _chunkMA2F5KHFcjs.normalizeRange; exports.numberFormatColorToCss = _chunkMCSJFWAOcjs.numberFormatColorToCss; exports.numberFormatForCellFormat = _chunkMA2F5KHFcjs.numberFormatForCellFormat; exports.numberToText = _chunkMCSJFWAOcjs.numberToText; exports.offsetFormulaReferences = _chunkMA2F5KHFcjs.offsetFormulaReferences; exports.outlinePluginKey = _chunkSBCZ6RN5cjs.outlinePluginKey; exports.parseCellInput = _chunkMCSJFWAOcjs.parseCellInput; exports.parseCellReference = _chunkMCSJFWAOcjs.parseCellReference; exports.parseComparison = _chunkMKA3AHLVcjs.parseComparison; exports.parseConditionExpression = _chunkMKA3AHLVcjs.parseConditionExpression; exports.parseCriteria = _chunkMCSJFWAOcjs.parseCriteria; exports.parseCsv = _chunkTNNJXF46cjs.parseCsv; exports.parseDataSource = _chunkP3RQ5UJEcjs.parseDataSource; exports.parseFormula = _chunkMCSJFWAOcjs.parseFormula; exports.parseHtmlTable = _chunkMA2F5KHFcjs.parseHtmlTable; exports.parseMentionSegments = _chunkXNORY7M6cjs.parseMentionSegments; exports.parseNumberText = _chunkMCSJFWAOcjs.parseNumberText; exports.parseRange = _chunkMCSJFWAOcjs.parseRange; exports.parseReplacement = _chunkSBCZ6RN5cjs.parseReplacement; exports.parseRichClipboardPayload = _chunkSML64VJGcjs.parseRichClipboardPayload; exports.parseTsv = _chunkTNNJXF46cjs.parseTsv; exports.parseVariableBody = _chunkMKA3AHLVcjs.parseVariableBody; exports.pdfTextItemsToParagraphs = pdfTextItemsToParagraphs; exports.pickImportFiles = pickImportFiles; exports.plainTextImportAdapter = _chunkSBCZ6RN5cjs.plainTextImportAdapter; exports.plainTextToParagraphHtml = _chunkSML64VJGcjs.plainTextToParagraphHtml; exports.plainTextToSlice = _chunkXNORY7M6cjs.plainTextToSlice; exports.plainTextToTipTapHtml = _chunkXNORY7M6cjs.plainTextToTipTapHtml; exports.preprocessMarkdownFileLinks = _chunkXNORY7M6cjs.preprocessMarkdownFileLinks; exports.preprocessMarkdownMentions = _chunkXNORY7M6cjs.preprocessMarkdownMentions; exports.rangeContains = _chunkMA2F5KHFcjs.rangeContains; exports.rangeContainsRange = _chunkMA2F5KHFcjs.rangeContainsRange; exports.rangesIntersect = _chunkMA2F5KHFcjs.rangesIntersect; exports.readRichClipboard = _chunkSML64VJGcjs.readRichClipboard; exports.readSpreadsheetClipboard = _chunkMA2F5KHFcjs.readSpreadsheetClipboard; exports.readZip = _chunkSBCZ6RN5cjs.readZip; exports.rebaseClipboardRows = _chunkMA2F5KHFcjs.rebaseClipboardRows; exports.recordToValues = _chunkP3RQ5UJEcjs.recordToValues; exports.registerFormulaFunction = _chunkMCSJFWAOcjs.registerFormulaFunction; exports.registerImportAdapter = _chunkSBCZ6RN5cjs.registerImportAdapter; exports.registerSpreadsheetImportAdapters = _chunkMA2F5KHFcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkMA2F5KHFcjs.remapFormulaReferences; exports.removeImageNode = _chunkSBCZ6RN5cjs.removeImageNode; exports.resolvePrompt = _chunkFD4LPFAEcjs.resolvePrompt; exports.resolveTemplates = _chunkP3RQ5UJEcjs.resolveTemplates; exports.resolveTemplatesWithMapping = _chunkP3RQ5UJEcjs.resolveTemplatesWithMapping; exports.resolveTrackedChanges = _chunkD27YFC46cjs.resolveTrackedChanges; exports.resolveVariables = _chunkP3RQ5UJEcjs.resolveVariables; exports.richClipboardPluginKey = _chunkSBCZ6RN5cjs.richClipboardPluginKey; exports.roundFloat = _chunkMA2F5KHFcjs.roundFloat; exports.rowPassesFilters = _chunkMA2F5KHFcjs.rowPassesFilters; exports.rtfImportAdapter = _chunkSBCZ6RN5cjs.rtfImportAdapter; exports.rtfToPlainText = _chunkSML64VJGcjs.rtfToPlainText; exports.runSpreadsheetMenuItem = _chunkMA2F5KHFcjs.runSpreadsheetMenuItem; exports.sanitizeHtml = _chunkXNORY7M6cjs.sanitizeHtml; exports.sanitizeImportedHtml = _chunkSML64VJGcjs.sanitizeImportedHtml; exports.searchDocument = _chunkSBCZ6RN5cjs.searchDocument; exports.searchFormulaFunctions = _chunkMCSJFWAOcjs.searchFormulaFunctions; exports.serialFromYmd = _chunkMCSJFWAOcjs.serialFromYmd; exports.serializeCsv = _chunkTNNJXF46cjs.serializeCsv; exports.serializeHtmlTable = _chunkMA2F5KHFcjs.serializeHtmlTable; exports.serializeMergeOutputs = _chunkP3RQ5UJEcjs.serializeMergeOutputs; exports.serializeRichClipboardPayload = _chunkSML64VJGcjs.serializeRichClipboardPayload; exports.serializeTsv = _chunkTNNJXF46cjs.serializeTsv; exports.shiftFormulaReferences = _chunkMA2F5KHFcjs.shiftFormulaReferences; exports.smartQuoteRules = _chunkSBCZ6RN5cjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkSBCZ6RN5cjs.smilieAutocorrectRules; exports.sortCompareValues = _chunkMCSJFWAOcjs.sortCompareValues; exports.sortZipEntryNames = sortZipEntryNames; exports.stripMarkdownCode = _chunkXNORY7M6cjs.stripMarkdownCode; exports.symbolRules = _chunkSBCZ6RN5cjs.symbolRules; exports.syncFootnotes = _chunkSBCZ6RN5cjs.syncFootnotes; exports.tableOfContentsMarkdownIt = _chunkSBCZ6RN5cjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkSBCZ6RN5cjs.tableOfContentsPluginKey; exports.templateRegex = _chunkMKA3AHLVcjs.templateRegex; exports.toNumber = _chunkMA2F5KHFcjs.toNumber; exports.tokenizeFormula = _chunkMCSJFWAOcjs.tokenizeFormula; exports.tokenizePrompt = _chunkFD4LPFAEcjs.tokenizePrompt; exports.tokenizePromptWithDiagnostics = _chunkFD4LPFAEcjs.tokenizePromptWithDiagnostics; exports.trackChangesPluginKey = _chunkD27YFC46cjs.trackChangesPluginKey; exports.tsvImportAdapter = _chunkMA2F5KHFcjs.tsvImportAdapter; exports.twoInitialCapitalsRules = _chunkSBCZ6RN5cjs.twoInitialCapitalsRules; exports.unescapeVariableText = _chunkMKA3AHLVcjs.unescapeVariableText; exports.unregisterFormulaFunction = _chunkMCSJFWAOcjs.unregisterFormulaFunction; exports.unregisterImportAdapter = _chunkSBCZ6RN5cjs.unregisterImportAdapter; exports.updateImageSrc = _chunkSBCZ6RN5cjs.updateImageSrc; exports.validateFindPattern = _chunkSBCZ6RN5cjs.validateFindPattern; exports.variableRegex = _chunkMKA3AHLVcjs.variableRegex; exports.wildcardToRegExp = _chunkMCSJFWAOcjs.wildcardToRegExp; exports.withoutDirty = _chunkG2I4QJOTcjs.withoutDirty; exports.writeRichClipboard = _chunkSBCZ6RN5cjs.writeRichClipboard; exports.zipCrc32 = _chunkSBCZ6RN5cjs.zipCrc32; exports.zipEntryTitle = zipEntryTitle; exports.zipImportAdapter = zipImportAdapter;
1048
1143
  //# sourceMappingURL=index.cjs.map