ember-repl 7.1.0 → 7.1.1

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 (37) hide show
  1. package/declarations/services/known-modules.d.ts.map +1 -1
  2. package/dist/services/compiler.js +404 -1
  3. package/dist/services/compiler.js.map +1 -1
  4. package/dist/services/known-modules.js +8 -7
  5. package/dist/services/known-modules.js.map +1 -1
  6. package/package.json +1 -1
  7. package/src/services/known-modules.ts +8 -7
  8. package/dist/blank-line-Bzg2Qt4K.js +0 -482
  9. package/dist/blank-line-Bzg2Qt4K.js.map +0 -1
  10. package/dist/default-CoqAuVeH.js +0 -4
  11. package/dist/default-CoqAuVeH.js.map +0 -1
  12. package/dist/index-Bm1Y84Cu.js +0 -5721
  13. package/dist/index-Bm1Y84Cu.js.map +0 -1
  14. package/dist/index-Bo3xsMqx.js +0 -410
  15. package/dist/index-Bo3xsMqx.js.map +0 -1
  16. package/dist/index-Bxzjtr16.js +0 -87
  17. package/dist/index-Bxzjtr16.js.map +0 -1
  18. package/dist/index-C-twRw93.js +0 -9988
  19. package/dist/index-C-twRw93.js.map +0 -1
  20. package/dist/index-C371bO_b.js +0 -1553
  21. package/dist/index-C371bO_b.js.map +0 -1
  22. package/dist/index-CDSIcg03.js +0 -9070
  23. package/dist/index-CDSIcg03.js.map +0 -1
  24. package/dist/index-CGDqu098.js +0 -1925
  25. package/dist/index-CGDqu098.js.map +0 -1
  26. package/dist/index-DIRpUv6Z.js +0 -2
  27. package/dist/index-DIRpUv6Z.js.map +0 -1
  28. package/dist/index-DMSCybEq.js +0 -2640
  29. package/dist/index-DMSCybEq.js.map +0 -1
  30. package/dist/index-DP_Su7Zc.js +0 -362
  31. package/dist/index-DP_Su7Zc.js.map +0 -1
  32. package/dist/index-Dr5iYoKt.js +0 -1551
  33. package/dist/index-Dr5iYoKt.js.map +0 -1
  34. package/dist/index-ZyJlPFQY.js +0 -249
  35. package/dist/index-ZyJlPFQY.js.map +0 -1
  36. package/dist/index-k6CfLgeq.js +0 -26
  37. package/dist/index-k6CfLgeq.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"known-modules.js","sources":["../../src/services/known-modules.ts"],"sourcesContent":["import type { ModuleMap } from '../compile/types.ts';\n\nconst frameworkModules = {\n '@ember/application': () => import('@ember/application'),\n '@ember/application/instance': () => import('@ember/application/instance'),\n '@ember/array': () => import('@ember/array'),\n '@ember/component': () => import('@ember/component'),\n '@ember/component/helper': () => import('@ember/component/helper'),\n '@ember/component/template-only': () => import('@ember/component/template-only'),\n '@ember/debug': () => import('@ember/debug'),\n '@ember/destroyable': () => import('@ember/destroyable'),\n '@ember/helper': () => import('@ember/helper'),\n '@ember/modifier': () => import('@ember/modifier'),\n '@ember/object': () => import('@ember/object'),\n '@ember/object/observers': () => import('@ember/object/observers'),\n '@ember/owner': () => import('@ember/owner'),\n '@ember/reactive': () => import('@ember/reactive'),\n '@ember/reactive/collections': () => import('@ember/reactive/collections'),\n '@ember/renderer': () => import('@ember/renderer'),\n '@ember/routing': () => import('@ember/routing'),\n '@ember/routing/route': () => import('@ember/routing/route'),\n '@ember/routing/router': () => import('@ember/routing/router'),\n '@ember/runloop': () => import('@ember/runloop'),\n '@ember/service': () => import('@ember/service'),\n '@ember/template': () => import('@ember/template'),\n '@ember/template-compilation': () => import('@ember/template-compilation'),\n '@ember/template-factory': () => import('@ember/template-factory'),\n '@ember/test-helpers': () => import('@ember/test-helpers'),\n '@ember/test-waiters': () => import('@ember/test-waiters'),\n '@ember/test': () => import('@ember/test'),\n '@ember/utils': () => import('@ember/utils'),\n '@ember/version': () => import('@ember/version'),\n '@glimmer/component': () => import('@glimmer/component'),\n '@glimmer/tracking': () => import('@glimmer/tracking'),\n '@glimmer/tracking/primitives/cache': () => import('@glimmer/tracking/primitives/cache'),\n};\n\nconst coreLibraries = {\n 'ember-resolver': () => import('ember-resolver'),\n 'ember-resources': () => import('ember-resources'),\n 'ember-primitives': () => import('ember-primitives'),\n 'repl-sdk': () => import('repl-sdk'),\n};\n\nconst emberCompilationModules = {\n '@ember/template-compiler/runtime': () => import('@ember/template-compiler/runtime'),\n '@ember/template-compiler': () => import('@ember/template-compiler/runtime'),\n 'ember-source/dist/ember-template-compiler': () =>\n import(\n \n // @ts-ignore\n 'ember-source/dist/ember-template-compiler.js'\n ),\n 'ember-source/dist/ember-template-compiler.js': () =>\n import(\n \n // @ts-ignore\n 'ember-source/dist/ember-template-compiler.js'\n ),\n // Direct Dependencies\n '@babel/standalone': () => import('@babel/standalone'),\n 'content-tag': () => import('content-tag'),\n 'decorator-transforms': () => import('decorator-transforms'),\n 'decorator-transforms/runtime': () => import('decorator-transforms/runtime'),\n 'babel-plugin-ember-template-compilation': () =>\n import('babel-plugin-ember-template-compilation'),\n // Dependencies of the above\n 'babel-import-util': () => import('babel-import-util'),\n \n // @ts-ignore\n 'babel-plugin-debug-macros': () => import('babel-plugin-debug-macros'),\n '@embroider/macros': () => ({\n // passthrough, we are not doing dead-code-elimination\n macroCondition: (x: boolean) => x,\n // I *could* actually implement this\n dependencySatisfies: () => true,\n isDevelopingApp: () => true,\n // Trying to use warp-drive in a REPL environment may be impossible, since they\n // encourage choosing your own adventure without a buildless recommended path.\n // The use of nested configs (specifically env) is also problematic for\n // \"falling back to false\" as what all other macros-using libraries use.\n // (many of us have seen \"Cannot access DEBUG on undefined\" in build errors)\n // Even with this config, I have not successfully been able to use warp-drive\n // in any of my REPL-based projects.\n //\n // (Its also perfectly fine for warp-drive to decide they don't care about the same things I do)\n getGlobalConfig: () => ({\n WarpDrive: {\n debug: false,\n env: {\n DEBUG: false,\n TESTING: false,\n PRODUCTION: true,\n },\n activeLogging: false,\n compatWith: '99.0',\n features: {},\n deprecations: {},\n polyfillUUID: false,\n includeDataAdapter: false,\n },\n }),\n // Private\n \n // @ts-ignore\n importSync: (x: string) => window[Symbol.for('__repl-sdk__compiler__')].resolves[x],\n moduleExists: () => false,\n }),\n};\n\nconst markdownCompilationModules = {\n 'rehype-raw': () => import('rehype-raw'),\n 'rehype-stringify': () => import('rehype-stringify'),\n 'remark-gfm': () => import('remark-gfm'),\n 'remark-parse': () => import('remark-parse'),\n 'remark-rehype': () => import('remark-rehype'),\n unified: () => import('unified'),\n 'unist-util-visit': () => import('unist-util-visit'),\n};\n\n/**\n * If any real packages are defined here, they would fallback to fetching from NPM\n * instead of loading from this pre-made bundle.\n */\nexport const modules = (extraModules: ModuleMap): ModuleMap => ({\n ...coreLibraries,\n ...frameworkModules,\n ...extraModules,\n ...emberCompilationModules,\n ...markdownCompilationModules,\n});\n"],"names":["frameworkModules","@ember/application","@ember/application/instance","@ember/array","@ember/component","@ember/component/helper","@ember/component/template-only","@ember/debug","@ember/destroyable","@ember/helper","@ember/modifier","@ember/object","@ember/object/observers","@ember/owner","@ember/reactive","@ember/reactive/collections","@ember/renderer","@ember/routing","@ember/routing/route","@ember/routing/router","@ember/runloop","@ember/service","@ember/template","@ember/template-compilation","@ember/template-factory","@ember/test-helpers","@ember/test-waiters","@ember/test","@ember/utils","@ember/version","@glimmer/component","@glimmer/tracking","@glimmer/tracking/primitives/cache","coreLibraries","ember-resolver","ember-resources","ember-primitives","repl-sdk","emberCompilationModules","@ember/template-compiler/runtime","@ember/template-compiler","ember-source/dist/ember-template-compiler","ember-source/dist/ember-template-compiler.js","@babel/standalone","content-tag","decorator-transforms","decorator-transforms/runtime","babel-plugin-ember-template-compilation","babel-import-util","babel-plugin-debug-macros","@embroider/macros","macroCondition","x","dependencySatisfies","isDevelopingApp","getGlobalConfig","WarpDrive","debug","env","DEBUG","TESTING","PRODUCTION","activeLogging","compatWith","features","deprecations","polyfillUUID","includeDataAdapter","importSync","window","Symbol","for","resolves","moduleExists","markdownCompilationModules","rehype-raw","rehype-stringify","remark-gfm","remark-parse","remark-rehype","unified","unist-util-visit","modules","extraModules"],"mappings":"AAEA,MAAMA,gBAAgB,GAAG;AACvB,EAAA,oBAAoB,EAAEC,MAAM,OAAO,oBAAoB,CAAC;AACxD,EAAA,6B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AO,sBAAkB;AACrD,CAAC;;AAED;AACA;AACA;AACA;AACO,MAAMC,OAAO,GAAIC,YAAuB,KAAiB;AAC9D,EAAA,GAAGlD,aAAa;AAChB,EAAA,GAAGjC,gBAAgB;AACnB,EAAA,GAAGmF,YAAY;AACf,EAAA,GAAG7C,uBAAuB;EAC1B,GAAGoC;AACL,CAAC;;;;"}
1
+ {"version":3,"file":"known-modules.js","sources":["../../src/services/known-modules.ts"],"sourcesContent":["import type { ModuleMap } from '../compile/types.ts';\n\nconst frameworkModules = {\n '@ember/application': () => import('@ember/application'),\n '@ember/application/instance': () => import('@ember/application/instance'),\n '@ember/array': () => import('@ember/array'),\n '@ember/component': () => import('@ember/component'),\n '@ember/component/helper': () => import('@ember/component/helper'),\n '@ember/component/template-only': () => import('@ember/component/template-only'),\n '@ember/debug': () => import('@ember/debug'),\n '@ember/destroyable': () => import('@ember/destroyable'),\n '@ember/helper': () => import('@ember/helper'),\n '@ember/modifier': () => import('@ember/modifier'),\n '@ember/object': () => import('@ember/object'),\n '@ember/object/observers': () => import('@ember/object/observers'),\n '@ember/owner': () => import('@ember/owner'),\n '@ember/reactive': () => import('@ember/reactive'),\n '@ember/reactive/collections': () => import('@ember/reactive/collections'),\n '@ember/renderer': () => import('@ember/renderer'),\n '@ember/routing': () => import('@ember/routing'),\n '@ember/routing/route': () => import('@ember/routing/route'),\n '@ember/routing/router': () => import('@ember/routing/router'),\n '@ember/runloop': () => import('@ember/runloop'),\n '@ember/service': () => import('@ember/service'),\n '@ember/template': () => import('@ember/template'),\n '@ember/template-compilation': () => import('@ember/template-compilation'),\n '@ember/template-factory': () => import('@ember/template-factory'),\n '@ember/test-helpers': () => import('@ember/test-helpers'),\n '@ember/test-waiters': () => import('@ember/test-waiters'),\n '@ember/test': () => import('@ember/test'),\n '@ember/utils': () => import('@ember/utils'),\n '@ember/version': () => import('@ember/version'),\n '@glimmer/component': () => import('@glimmer/component'),\n '@glimmer/tracking': () => import('@glimmer/tracking'),\n '@glimmer/tracking/primitives/cache': () => import('@glimmer/tracking/primitives/cache'),\n};\n\nconst coreLibraries = {\n 'ember-resolver': () => import('ember-resolver'),\n 'ember-resources': () => import('ember-resources'),\n 'ember-primitives': () => import('ember-primitives'),\n 'repl-sdk': () => import('repl-sdk'),\n};\n\nconst emberCompilationModules = {\n '@ember/template-compiler/runtime': () => import('@ember/template-compiler/runtime'),\n '@ember/template-compiler': () => import('@ember/template-compiler/runtime'),\n 'ember-source/dist/ember-template-compiler': () =>\n import(\n \n // @ts-ignore\n 'ember-source/dist/ember-template-compiler.js'\n ),\n 'ember-source/dist/ember-template-compiler.js': () =>\n import(\n \n // @ts-ignore\n 'ember-source/dist/ember-template-compiler.js'\n ),\n // Direct Dependencies\n '@babel/standalone': () => import('@babel/standalone'),\n 'content-tag': () => import('content-tag'),\n 'decorator-transforms': () => import('decorator-transforms'),\n 'decorator-transforms/runtime': () => import('decorator-transforms/runtime'),\n 'babel-plugin-ember-template-compilation': () =>\n import('babel-plugin-ember-template-compilation'),\n // Dependencies of the above\n 'babel-import-util': () => import('babel-import-util'),\n \n // @ts-ignore\n 'babel-plugin-debug-macros': () => import('babel-plugin-debug-macros'),\n '@embroider/macros': () => ({\n // passthrough, we are not doing dead-code-elimination\n macroCondition: (x: boolean) => x,\n // I *could* actually implement this\n dependencySatisfies: () => true,\n isDevelopingApp: () => true,\n // Trying to use warp-drive in a REPL environment may be impossible, since they\n // encourage choosing your own adventure without a buildless recommended path.\n // The use of nested configs (specifically env) is also problematic for\n // \"falling back to false\" as what all other macros-using libraries use.\n // (many of us have seen \"Cannot access DEBUG on undefined\" in build errors)\n // Even with this config, I have not successfully been able to use warp-drive\n // in any of my REPL-based projects.\n //\n // (Its also perfectly fine for warp-drive to decide they don't care about the same things I do)\n getGlobalConfig: () => ({\n WarpDrive: {\n debug: false,\n env: {\n DEBUG: false,\n TESTING: false,\n PRODUCTION: true,\n },\n activeLogging: false,\n compatWith: '99.0',\n features: {},\n deprecations: {},\n polyfillUUID: false,\n includeDataAdapter: false,\n },\n }),\n // Private\n \n // @ts-ignore\n importSync: (x: string) => window[Symbol.for('__repl-sdk__compiler__')].resolves[x],\n moduleExists: () => false,\n }),\n};\n\nconst markdownCompilationModules = {\n // Provided directly in repl-sdk, but could be overridden\n // 'rehype-raw': () => import('rehype-raw'),\n // 'rehype-stringify': () => import('rehype-stringify'),\n // 'remark-gfm': () => import('remark-gfm'),\n // 'remark-parse': () => import('remark-parse'),\n // 'remark-rehype': () => import('remark-rehype'),\n // unified: () => import('unified'),\n // 'unist-util-visit': () => import('unist-util-visit'),\n};\n\n/**\n * If any real packages are defined here, they would fallback to fetching from NPM\n * instead of loading from this pre-made bundle.\n */\nexport const modules = (extraModules: ModuleMap): ModuleMap => ({\n ...coreLibraries,\n ...frameworkModules,\n ...extraModules,\n ...emberCompilationModules,\n ...markdownCompilationModules,\n});\n"],"names":["frameworkModules","@ember/application","@ember/application/instance","@ember/array","@ember/component","@ember/component/helper","@ember/component/template-only","@ember/debug","@ember/destroyable","@ember/helper","@ember/modifier","@ember/object","@ember/object/observers","@ember/owner","@ember/reactive","@ember/reactive/collections","@ember/renderer","@ember/routing","@ember/routing/route","@ember/routing/router","@ember/runloop","@ember/service","@ember/template","@ember/template-compilation","@ember/template-factory","@ember/test-helpers","@ember/test-waiters","@ember/test","@ember/utils","@ember/version","@glimmer/component","@glimmer/tracking","@glimmer/tracking/primitives/cache","coreLibraries","ember-resolver","ember-resources","ember-primitives","repl-sdk","emberCompilationModules","@ember/template-compiler/runtime","@ember/template-compiler","ember-source/dist/ember-template-compiler","ember-source/dist/ember-template-compiler.js","@babel/standalone","content-tag","decorator-transforms","decorator-transforms/runtime","babel-plugin-ember-template-compilation","babel-import-util","babel-plugin-debug-macros","@embroider/macros","macroCondition","x","dependencySatisfies","isDevelopingApp","getGlobalConfig","WarpDrive","debug","env","DEBUG","TESTING","PRODUCTION","activeLogging","compatWith","features","deprecations","polyfillUUID","includeDataAdapter","importSync","window","Symbol","for","resolves","moduleEx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B;EAC1B,GAAGoC;AACL,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-repl",
3
- "version": "7.1.0",
3
+ "version": "7.1.1",
4
4
  "type": "module",
5
5
  "description": "Library for enabling REPL and Playground creation with Ember/Glimmer",
6
6
  "keywords": [
@@ -109,13 +109,14 @@ const emberCompilationModules = {
109
109
  };
110
110
 
111
111
  const markdownCompilationModules = {
112
- 'rehype-raw': () => import('rehype-raw'),
113
- 'rehype-stringify': () => import('rehype-stringify'),
114
- 'remark-gfm': () => import('remark-gfm'),
115
- 'remark-parse': () => import('remark-parse'),
116
- 'remark-rehype': () => import('remark-rehype'),
117
- unified: () => import('unified'),
118
- 'unist-util-visit': () => import('unist-util-visit'),
112
+ // Provided directly in repl-sdk, but could be overridden
113
+ // 'rehype-raw': () => import('rehype-raw'),
114
+ // 'rehype-stringify': () => import('rehype-stringify'),
115
+ // 'remark-gfm': () => import('remark-gfm'),
116
+ // 'remark-parse': () => import('remark-parse'),
117
+ // 'remark-rehype': () => import('remark-rehype'),
118
+ // unified: () => import('unified'),
119
+ // 'unist-util-visit': () => import('unist-util-visit'),
119
120
  };
120
121
 
121
122
  /**
@@ -1,482 +0,0 @@
1
- import { m as markdownLineEndingOrSpace, u as unicodeWhitespace, a as unicodePunctuation, f as markdownSpace, e as markdownLineEnding } from './index-ZyJlPFQY.js';
2
-
3
- /**
4
- * Normalize an identifier (as found in references, definitions).
5
- *
6
- * Collapses markdown whitespace, trim, and then lower- and uppercase.
7
- *
8
- * Some characters are considered “uppercase”, such as U+03F4 (`ϴ`), but if their
9
- * lowercase counterpart (U+03B8 (`θ`)) is uppercased will result in a different
10
- * uppercase character (U+0398 (`Θ`)).
11
- * So, to get a canonical form, we perform both lower- and uppercase.
12
- *
13
- * Using uppercase last makes sure keys will never interact with default
14
- * prototypal values (such as `constructor`): nothing in the prototype of
15
- * `Object` is uppercase.
16
- *
17
- * @param {string} value
18
- * Identifier to normalize.
19
- * @returns {string}
20
- * Normalized identifier.
21
- */
22
- function normalizeIdentifier(value) {
23
- return value
24
- // Collapse markdown whitespace.
25
- .replace(/[\t\n\r ]+/g, " ")
26
- // Trim.
27
- .replace(/^ | $/g, '')
28
- // Some characters are considered “uppercase”, but if their lowercase
29
- // counterpart is uppercased will result in a different uppercase
30
- // character.
31
- // Hence, to get that form, we perform both lower- and uppercase.
32
- // Upper case makes sure keys will not interact with default prototypal
33
- // methods: no method is uppercase.
34
- .toLowerCase().toUpperCase();
35
- }
36
-
37
- /**
38
- * @import {Code} from 'micromark-util-types'
39
- */
40
-
41
- /**
42
- * Classify whether a code represents whitespace, punctuation, or something
43
- * else.
44
- *
45
- * Used for attention (emphasis, strong), whose sequences can open or close
46
- * based on the class of surrounding characters.
47
- *
48
- * > 👉 **Note**: eof (`null`) is seen as whitespace.
49
- *
50
- * @param {Code} code
51
- * Code.
52
- * @returns {typeof constants.characterGroupWhitespace | typeof constants.characterGroupPunctuation | undefined}
53
- * Group.
54
- */
55
- function classifyCharacter(code) {
56
- if (code === null || markdownLineEndingOrSpace(code) || unicodeWhitespace(code)) {
57
- return 1;
58
- }
59
- if (unicodePunctuation(code)) {
60
- return 2;
61
- }
62
- }
63
-
64
- /**
65
- * @typedef {import('mdast').Nodes} Nodes
66
- *
67
- * @typedef Options
68
- * Configuration (optional).
69
- * @property {boolean | null | undefined} [includeImageAlt=true]
70
- * Whether to use `alt` for `image`s (default: `true`).
71
- * @property {boolean | null | undefined} [includeHtml=true]
72
- * Whether to use `value` of HTML (default: `true`).
73
- */
74
-
75
- /** @type {Options} */
76
- const emptyOptions = {};
77
-
78
- /**
79
- * Get the text content of a node or list of nodes.
80
- *
81
- * Prefers the node’s plain-text fields, otherwise serializes its children,
82
- * and if the given value is an array, serialize the nodes in it.
83
- *
84
- * @param {unknown} [value]
85
- * Thing to serialize, typically `Node`.
86
- * @param {Options | null | undefined} [options]
87
- * Configuration (optional).
88
- * @returns {string}
89
- * Serialized `value`.
90
- */
91
- function toString(value, options) {
92
- const settings = emptyOptions;
93
- const includeImageAlt = typeof settings.includeImageAlt === 'boolean' ? settings.includeImageAlt : true;
94
- const includeHtml = typeof settings.includeHtml === 'boolean' ? settings.includeHtml : true;
95
- return one(value, includeImageAlt, includeHtml);
96
- }
97
-
98
- /**
99
- * One node or several nodes.
100
- *
101
- * @param {unknown} value
102
- * Thing to serialize.
103
- * @param {boolean} includeImageAlt
104
- * Include image `alt`s.
105
- * @param {boolean} includeHtml
106
- * Include HTML.
107
- * @returns {string}
108
- * Serialized node.
109
- */
110
- function one(value, includeImageAlt, includeHtml) {
111
- if (node(value)) {
112
- if ('value' in value) {
113
- return value.type === 'html' && !includeHtml ? '' : value.value;
114
- }
115
- if (includeImageAlt && 'alt' in value && value.alt) {
116
- return value.alt;
117
- }
118
- if ('children' in value) {
119
- return all(value.children, includeImageAlt, includeHtml);
120
- }
121
- }
122
- if (Array.isArray(value)) {
123
- return all(value, includeImageAlt, includeHtml);
124
- }
125
- return '';
126
- }
127
-
128
- /**
129
- * Serialize a list of nodes.
130
- *
131
- * @param {Array<unknown>} values
132
- * Thing to serialize.
133
- * @param {boolean} includeImageAlt
134
- * Include image `alt`s.
135
- * @param {boolean} includeHtml
136
- * Include HTML.
137
- * @returns {string}
138
- * Serialized nodes.
139
- */
140
- function all(values, includeImageAlt, includeHtml) {
141
- /** @type {Array<string>} */
142
- const result = [];
143
- let index = -1;
144
- while (++index < values.length) {
145
- result[index] = one(values[index], includeImageAlt, includeHtml);
146
- }
147
- return result.join('');
148
- }
149
-
150
- /**
151
- * Check if `value` looks like a node.
152
- *
153
- * @param {unknown} value
154
- * Thing.
155
- * @returns {value is Nodes}
156
- * Whether `value` is a node.
157
- */
158
- function node(value) {
159
- return Boolean(value && typeof value === 'object');
160
- }
161
-
162
- /**
163
- * Like `Array#splice`, but smarter for giant arrays.
164
- *
165
- * `Array#splice` takes all items to be inserted as individual argument which
166
- * causes a stack overflow in V8 when trying to insert 100k items for instance.
167
- *
168
- * Otherwise, this does not return the removed items, and takes `items` as an
169
- * array instead of rest parameters.
170
- *
171
- * @template {unknown} T
172
- * Item type.
173
- * @param {Array<T>} list
174
- * List to operate on.
175
- * @param {number} start
176
- * Index to remove/insert at (can be negative).
177
- * @param {number} remove
178
- * Number of items to remove.
179
- * @param {Array<T>} items
180
- * Items to inject into `list`.
181
- * @returns {undefined}
182
- * Nothing.
183
- */
184
- function splice(list, start, remove, items) {
185
- const end = list.length;
186
- let chunkStart = 0;
187
- /** @type {Array<unknown>} */
188
- let parameters;
189
-
190
- // Make start between zero and `end` (included).
191
- if (start < 0) {
192
- start = -start > end ? 0 : end + start;
193
- } else {
194
- start = start > end ? end : start;
195
- }
196
- remove = remove > 0 ? remove : 0;
197
-
198
- // No need to chunk the items if there’s only a couple (10k) items.
199
- if (items.length < 10000) {
200
- parameters = Array.from(items);
201
- parameters.unshift(start, remove);
202
- // @ts-expect-error Hush, it’s fine.
203
- list.splice(...parameters);
204
- } else {
205
- // Delete `remove` items starting from `start`
206
- if (remove) list.splice(start, remove);
207
-
208
- // Insert the items in chunks to not cause stack overflows.
209
- while (chunkStart < items.length) {
210
- parameters = items.slice(chunkStart, chunkStart + 10000);
211
- parameters.unshift(start, 0);
212
- // @ts-expect-error Hush, it’s fine.
213
- list.splice(...parameters);
214
- chunkStart += 10000;
215
- start += 10000;
216
- }
217
- }
218
- }
219
-
220
- /**
221
- * Append `items` (an array) at the end of `list` (another array).
222
- * When `list` was empty, returns `items` instead.
223
- *
224
- * This prevents a potentially expensive operation when `list` is empty,
225
- * and adds items in batches to prevent V8 from hanging.
226
- *
227
- * @template {unknown} T
228
- * Item type.
229
- * @param {Array<T>} list
230
- * List to operate on.
231
- * @param {Array<T>} items
232
- * Items to add to `list`.
233
- * @returns {Array<T>}
234
- * Either `list` or `items`.
235
- */
236
- function push(list, items) {
237
- if (list.length > 0) {
238
- splice(list, list.length, 0, items);
239
- return list;
240
- }
241
- return items;
242
- }
243
-
244
- /**
245
- * @import {
246
- * Extension,
247
- * Handles,
248
- * HtmlExtension,
249
- * NormalizedExtension
250
- * } from 'micromark-util-types'
251
- */
252
-
253
- const hasOwnProperty = {}.hasOwnProperty;
254
-
255
- /**
256
- * Combine multiple syntax extensions into one.
257
- *
258
- * @param {ReadonlyArray<Extension>} extensions
259
- * List of syntax extensions.
260
- * @returns {NormalizedExtension}
261
- * A single combined extension.
262
- */
263
- function combineExtensions(extensions) {
264
- /** @type {NormalizedExtension} */
265
- const all = {};
266
- let index = -1;
267
- while (++index < extensions.length) {
268
- syntaxExtension(all, extensions[index]);
269
- }
270
- return all;
271
- }
272
-
273
- /**
274
- * Merge `extension` into `all`.
275
- *
276
- * @param {NormalizedExtension} all
277
- * Extension to merge into.
278
- * @param {Extension} extension
279
- * Extension to merge.
280
- * @returns {undefined}
281
- * Nothing.
282
- */
283
- function syntaxExtension(all, extension) {
284
- /** @type {keyof Extension} */
285
- let hook;
286
- for (hook in extension) {
287
- const maybe = hasOwnProperty.call(all, hook) ? all[hook] : undefined;
288
- /** @type {Record<string, unknown>} */
289
- const left = maybe || (all[hook] = {});
290
- /** @type {Record<string, unknown> | undefined} */
291
- const right = extension[hook];
292
- /** @type {string} */
293
- let code;
294
- if (right) {
295
- for (code in right) {
296
- if (!hasOwnProperty.call(left, code)) left[code] = [];
297
- const value = right[code];
298
- constructs(
299
- // @ts-expect-error Looks like a list.
300
- left[code], Array.isArray(value) ? value : value ? [value] : []);
301
- }
302
- }
303
- }
304
- }
305
-
306
- /**
307
- * Merge `list` into `existing` (both lists of constructs).
308
- * Mutates `existing`.
309
- *
310
- * @param {Array<unknown>} existing
311
- * List of constructs to merge into.
312
- * @param {Array<unknown>} list
313
- * List of constructs to merge.
314
- * @returns {undefined}
315
- * Nothing.
316
- */
317
- function constructs(existing, list) {
318
- let index = -1;
319
- /** @type {Array<unknown>} */
320
- const before = [];
321
- while (++index < list.length) {
322
- (list[index].add === 'after' ? existing : before).push(list[index]);
323
- }
324
- splice(existing, 0, 0, before);
325
- }
326
-
327
- /**
328
- * @import {Event, Resolver, TokenizeContext} from 'micromark-util-types'
329
- */
330
-
331
- /**
332
- * Call all `resolveAll`s.
333
- *
334
- * @param {ReadonlyArray<{resolveAll?: Resolver | undefined}>} constructs
335
- * List of constructs, optionally with `resolveAll`s.
336
- * @param {Array<Event>} events
337
- * List of events.
338
- * @param {TokenizeContext} context
339
- * Context used by `tokenize`.
340
- * @returns {Array<Event>}
341
- * Changed events.
342
- */
343
- function resolveAll(constructs, events, context) {
344
- /** @type {Array<Resolver>} */
345
- const called = [];
346
- let index = -1;
347
- while (++index < constructs.length) {
348
- const resolve = constructs[index].resolveAll;
349
- if (resolve && !called.includes(resolve)) {
350
- events = resolve(events, context);
351
- called.push(resolve);
352
- }
353
- }
354
- return events;
355
- }
356
-
357
- /**
358
- * @import {Effects, State, TokenType} from 'micromark-util-types'
359
- */
360
-
361
-
362
- // To do: implement `spaceOrTab`, `spaceOrTabMinMax`, `spaceOrTabWithOptions`.
363
-
364
- /**
365
- * Parse spaces and tabs.
366
- *
367
- * There is no `nok` parameter:
368
- *
369
- * * spaces in markdown are often optional, in which case this factory can be
370
- * used and `ok` will be switched to whether spaces were found or not
371
- * * one line ending or space can be detected with `markdownSpace(code)` right
372
- * before using `factorySpace`
373
- *
374
- * ###### Examples
375
- *
376
- * Where `␉` represents a tab (plus how much it expands) and `␠` represents a
377
- * single space.
378
- *
379
- * ```markdown
380
- * ␉
381
- * ␠␠␠␠
382
- * ␉␠
383
- * ```
384
- *
385
- * @param {Effects} effects
386
- * Context.
387
- * @param {State} ok
388
- * State switched to when successful.
389
- * @param {TokenType} type
390
- * Type (`' \t'`).
391
- * @param {number | undefined} [max=Infinity]
392
- * Max (exclusive).
393
- * @returns {State}
394
- * Start state.
395
- */
396
- function factorySpace(effects, ok, type, max) {
397
- const limit = max ? max - 1 : Number.POSITIVE_INFINITY;
398
- let size = 0;
399
- return start;
400
-
401
- /** @type {State} */
402
- function start(code) {
403
- if (markdownSpace(code)) {
404
- effects.enter(type);
405
- return prefix(code);
406
- }
407
- return ok(code);
408
- }
409
-
410
- /** @type {State} */
411
- function prefix(code) {
412
- if (markdownSpace(code) && size++ < limit) {
413
- effects.consume(code);
414
- return prefix;
415
- }
416
- effects.exit(type);
417
- return ok(code);
418
- }
419
- }
420
-
421
- /**
422
- * @import {
423
- * Construct,
424
- * State,
425
- * TokenizeContext,
426
- * Tokenizer
427
- * } from 'micromark-util-types'
428
- */
429
-
430
- /** @type {Construct} */
431
- const blankLine = {
432
- partial: true,
433
- tokenize: tokenizeBlankLine
434
- };
435
-
436
- /**
437
- * @this {TokenizeContext}
438
- * Context.
439
- * @type {Tokenizer}
440
- */
441
- function tokenizeBlankLine(effects, ok, nok) {
442
- return start;
443
-
444
- /**
445
- * Start of blank line.
446
- *
447
- * > 👉 **Note**: `␠` represents a space character.
448
- *
449
- * ```markdown
450
- * > | ␠␠␊
451
- * ^
452
- * > | ␊
453
- * ^
454
- * ```
455
- *
456
- * @type {State}
457
- */
458
- function start(code) {
459
- return markdownSpace(code) ? factorySpace(effects, after, "linePrefix")(code) : after(code);
460
- }
461
-
462
- /**
463
- * At eof/eol, after optional whitespace.
464
- *
465
- * > 👉 **Note**: `␠` represents a space character.
466
- *
467
- * ```markdown
468
- * > | ␠␠␊
469
- * ^
470
- * > | ␊
471
- * ^
472
- * ```
473
- *
474
- * @type {State}
475
- */
476
- function after(code) {
477
- return code === null || markdownLineEnding(code) ? ok(code) : nok(code);
478
- }
479
- }
480
-
481
- export { combineExtensions as a, blankLine as b, classifyCharacter as c, factorySpace as f, normalizeIdentifier as n, push as p, resolveAll as r, splice as s, toString as t };
482
- //# sourceMappingURL=blank-line-Bzg2Qt4K.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blank-line-Bzg2Qt4K.js","sources":["../../../node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js","../../../node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js","../../../node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js","../../../node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js","../../../node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js","../../../node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js","../../../node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js"],"sourcesContent":["/**\n * Normalize an identifier (as found in references, definitions).\n *\n * Collapses markdown whitespace, trim, and then lower- and uppercase.\n *\n * Some characters are considered “uppercase”, such as U+03F4 (`ϴ`), but if their\n * lowercase counterpart (U+03B8 (`θ`)) is uppercased will result in a different\n * uppercase character (U+0398 (`Θ`)).\n * So, to get a canonical form, we perform both lower- and uppercase.\n *\n * Using uppercase last makes sure keys will never interact with default\n * prototypal values (such as `constructor`): nothing in the prototype of\n * `Object` is uppercase.\n *\n * @param {string} value\n * Identifier to normalize.\n * @returns {string}\n * Normalized identifier.\n */\nexport function normalizeIdentifier(value) {\n return value\n // Collapse markdown whitespace.\n .replace(/[\\t\\n\\r ]+/g, \" \")\n // Trim.\n .replace(/^ | $/g, '')\n // Some characters are considered “uppercase”, but if their lowercase\n // counterpart is uppercased will result in a different uppercase\n // character.\n // Hence, to get that form, we perform both lower- and uppercase.\n // Upper case makes sure keys will not interact with default prototypal\n // methods: no method is uppercase.\n .toLowerCase().toUpperCase();\n}","/**\n * @import {Code} from 'micromark-util-types'\n */\n\nimport { markdownLineEndingOrSpace, unicodePunctuation, unicodeWhitespace } from 'micromark-util-character';\n/**\n * Classify whether a code represents whitespace, punctuation, or something\n * else.\n *\n * Used for attention (emphasis, strong), whose sequences can open or close\n * based on the class of surrounding characters.\n *\n * > 👉 **Note**: eof (`null`) is seen as whitespace.\n *\n * @param {Code} code\n * Code.\n * @returns {typeof constants.characterGroupWhitespace | typeof constants.characterGroupPunctuation | undefined}\n * Group.\n */\nexport function classifyCharacter(code) {\n if (code === null || markdownLineEndingOrSpace(code) || unicodeWhitespace(code)) {\n return 1;\n }\n if (unicodePunctuation(code)) {\n return 2;\n }\n}","/**\n * @typedef {import('mdast').Nodes} Nodes\n *\n * @typedef Options\n * Configuration (optional).\n * @property {boolean | null | undefined} [includeImageAlt=true]\n * Whether to use `alt` for `image`s (default: `true`).\n * @property {boolean | null | undefined} [includeHtml=true]\n * Whether to use `value` of HTML (default: `true`).\n */\n\n/** @type {Options} */\nconst emptyOptions = {}\n\n/**\n * Get the text content of a node or list of nodes.\n *\n * Prefers the node’s plain-text fields, otherwise serializes its children,\n * and if the given value is an array, serialize the nodes in it.\n *\n * @param {unknown} [value]\n * Thing to serialize, typically `Node`.\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns {string}\n * Serialized `value`.\n */\nexport function toString(value, options) {\n const settings = options || emptyOptions\n const includeImageAlt =\n typeof settings.includeImageAlt === 'boolean'\n ? settings.includeImageAlt\n : true\n const includeHtml =\n typeof settings.includeHtml === 'boolean' ? settings.includeHtml : true\n\n return one(value, includeImageAlt, includeHtml)\n}\n\n/**\n * One node or several nodes.\n *\n * @param {unknown} value\n * Thing to serialize.\n * @param {boolean} includeImageAlt\n * Include image `alt`s.\n * @param {boolean} includeHtml\n * Include HTML.\n * @returns {string}\n * Serialized node.\n */\nfunction one(value, includeImageAlt, includeHtml) {\n if (node(value)) {\n if ('value' in value) {\n return value.type === 'html' && !includeHtml ? '' : value.value\n }\n\n if (includeImageAlt && 'alt' in value && value.alt) {\n return value.alt\n }\n\n if ('children' in value) {\n return all(value.children, includeImageAlt, includeHtml)\n }\n }\n\n if (Array.isArray(value)) {\n return all(value, includeImageAlt, includeHtml)\n }\n\n return ''\n}\n\n/**\n * Serialize a list of nodes.\n *\n * @param {Array<unknown>} values\n * Thing to serialize.\n * @param {boolean} includeImageAlt\n * Include image `alt`s.\n * @param {boolean} includeHtml\n * Include HTML.\n * @returns {string}\n * Serialized nodes.\n */\nfunction all(values, includeImageAlt, includeHtml) {\n /** @type {Array<string>} */\n const result = []\n let index = -1\n\n while (++index < values.length) {\n result[index] = one(values[index], includeImageAlt, includeHtml)\n }\n\n return result.join('')\n}\n\n/**\n * Check if `value` looks like a node.\n *\n * @param {unknown} value\n * Thing.\n * @returns {value is Nodes}\n * Whether `value` is a node.\n */\nfunction node(value) {\n return Boolean(value && typeof value === 'object')\n}\n","/**\n * Like `Array#splice`, but smarter for giant arrays.\n *\n * `Array#splice` takes all items to be inserted as individual argument which\n * causes a stack overflow in V8 when trying to insert 100k items for instance.\n *\n * Otherwise, this does not return the removed items, and takes `items` as an\n * array instead of rest parameters.\n *\n * @template {unknown} T\n * Item type.\n * @param {Array<T>} list\n * List to operate on.\n * @param {number} start\n * Index to remove/insert at (can be negative).\n * @param {number} remove\n * Number of items to remove.\n * @param {Array<T>} items\n * Items to inject into `list`.\n * @returns {undefined}\n * Nothing.\n */\nexport function splice(list, start, remove, items) {\n const end = list.length;\n let chunkStart = 0;\n /** @type {Array<unknown>} */\n let parameters;\n\n // Make start between zero and `end` (included).\n if (start < 0) {\n start = -start > end ? 0 : end + start;\n } else {\n start = start > end ? end : start;\n }\n remove = remove > 0 ? remove : 0;\n\n // No need to chunk the items if there’s only a couple (10k) items.\n if (items.length < 10000) {\n parameters = Array.from(items);\n parameters.unshift(start, remove);\n // @ts-expect-error Hush, it’s fine.\n list.splice(...parameters);\n } else {\n // Delete `remove` items starting from `start`\n if (remove) list.splice(start, remove);\n\n // Insert the items in chunks to not cause stack overflows.\n while (chunkStart < items.length) {\n parameters = items.slice(chunkStart, chunkStart + 10000);\n parameters.unshift(start, 0);\n // @ts-expect-error Hush, it’s fine.\n list.splice(...parameters);\n chunkStart += 10000;\n start += 10000;\n }\n }\n}\n\n/**\n * Append `items` (an array) at the end of `list` (another array).\n * When `list` was empty, returns `items` instead.\n *\n * This prevents a potentially expensive operation when `list` is empty,\n * and adds items in batches to prevent V8 from hanging.\n *\n * @template {unknown} T\n * Item type.\n * @param {Array<T>} list\n * List to operate on.\n * @param {Array<T>} items\n * Items to add to `list`.\n * @returns {Array<T>}\n * Either `list` or `items`.\n */\nexport function push(list, items) {\n if (list.length > 0) {\n splice(list, list.length, 0, items);\n return list;\n }\n return items;\n}","/**\n * @import {\n * Extension,\n * Handles,\n * HtmlExtension,\n * NormalizedExtension\n * } from 'micromark-util-types'\n */\n\nimport {splice} from 'micromark-util-chunked'\n\nconst hasOwnProperty = {}.hasOwnProperty\n\n/**\n * Combine multiple syntax extensions into one.\n *\n * @param {ReadonlyArray<Extension>} extensions\n * List of syntax extensions.\n * @returns {NormalizedExtension}\n * A single combined extension.\n */\nexport function combineExtensions(extensions) {\n /** @type {NormalizedExtension} */\n const all = {}\n let index = -1\n\n while (++index < extensions.length) {\n syntaxExtension(all, extensions[index])\n }\n\n return all\n}\n\n/**\n * Merge `extension` into `all`.\n *\n * @param {NormalizedExtension} all\n * Extension to merge into.\n * @param {Extension} extension\n * Extension to merge.\n * @returns {undefined}\n * Nothing.\n */\nfunction syntaxExtension(all, extension) {\n /** @type {keyof Extension} */\n let hook\n\n for (hook in extension) {\n const maybe = hasOwnProperty.call(all, hook) ? all[hook] : undefined\n /** @type {Record<string, unknown>} */\n const left = maybe || (all[hook] = {})\n /** @type {Record<string, unknown> | undefined} */\n const right = extension[hook]\n /** @type {string} */\n let code\n\n if (right) {\n for (code in right) {\n if (!hasOwnProperty.call(left, code)) left[code] = []\n const value = right[code]\n constructs(\n // @ts-expect-error Looks like a list.\n left[code],\n Array.isArray(value) ? value : value ? [value] : []\n )\n }\n }\n }\n}\n\n/**\n * Merge `list` into `existing` (both lists of constructs).\n * Mutates `existing`.\n *\n * @param {Array<unknown>} existing\n * List of constructs to merge into.\n * @param {Array<unknown>} list\n * List of constructs to merge.\n * @returns {undefined}\n * Nothing.\n */\nfunction constructs(existing, list) {\n let index = -1\n /** @type {Array<unknown>} */\n const before = []\n\n while (++index < list.length) {\n // @ts-expect-error Looks like an object.\n ;(list[index].add === 'after' ? existing : before).push(list[index])\n }\n\n splice(existing, 0, 0, before)\n}\n\n/**\n * Combine multiple HTML extensions into one.\n *\n * @param {ReadonlyArray<HtmlExtension>} htmlExtensions\n * List of HTML extensions.\n * @returns {HtmlExtension}\n * Single combined HTML extension.\n */\nexport function combineHtmlExtensions(htmlExtensions) {\n /** @type {HtmlExtension} */\n const handlers = {}\n let index = -1\n\n while (++index < htmlExtensions.length) {\n htmlExtension(handlers, htmlExtensions[index])\n }\n\n return handlers\n}\n\n/**\n * Merge `extension` into `all`.\n *\n * @param {HtmlExtension} all\n * Extension to merge into.\n * @param {HtmlExtension} extension\n * Extension to merge.\n * @returns {undefined}\n * Nothing.\n */\nfunction htmlExtension(all, extension) {\n /** @type {keyof HtmlExtension} */\n let hook\n\n for (hook in extension) {\n const maybe = hasOwnProperty.call(all, hook) ? all[hook] : undefined\n const left = maybe || (all[hook] = {})\n const right = extension[hook]\n /** @type {keyof Handles} */\n let type\n\n if (right) {\n for (type in right) {\n // @ts-expect-error assume document vs regular handler are managed correctly.\n left[type] = right[type]\n }\n }\n }\n}\n","/**\n * @import {Event, Resolver, TokenizeContext} from 'micromark-util-types'\n */\n\n/**\n * Call all `resolveAll`s.\n *\n * @param {ReadonlyArray<{resolveAll?: Resolver | undefined}>} constructs\n * List of constructs, optionally with `resolveAll`s.\n * @param {Array<Event>} events\n * List of events.\n * @param {TokenizeContext} context\n * Context used by `tokenize`.\n * @returns {Array<Event>}\n * Changed events.\n */\nexport function resolveAll(constructs, events, context) {\n /** @type {Array<Resolver>} */\n const called = []\n let index = -1\n\n while (++index < constructs.length) {\n const resolve = constructs[index].resolveAll\n\n if (resolve && !called.includes(resolve)) {\n events = resolve(events, context)\n called.push(resolve)\n }\n }\n\n return events\n}\n","/**\n * @import {Effects, State, TokenType} from 'micromark-util-types'\n */\n\nimport { markdownSpace } from 'micromark-util-character';\n\n// To do: implement `spaceOrTab`, `spaceOrTabMinMax`, `spaceOrTabWithOptions`.\n\n/**\n * Parse spaces and tabs.\n *\n * There is no `nok` parameter:\n *\n * * spaces in markdown are often optional, in which case this factory can be\n * used and `ok` will be switched to whether spaces were found or not\n * * one line ending or space can be detected with `markdownSpace(code)` right\n * before using `factorySpace`\n *\n * ###### Examples\n *\n * Where `␉` represents a tab (plus how much it expands) and `␠` represents a\n * single space.\n *\n * ```markdown\n * ␉\n * ␠␠␠␠\n * ␉␠\n * ```\n *\n * @param {Effects} effects\n * Context.\n * @param {State} ok\n * State switched to when successful.\n * @param {TokenType} type\n * Type (`' \\t'`).\n * @param {number | undefined} [max=Infinity]\n * Max (exclusive).\n * @returns {State}\n * Start state.\n */\nexport function factorySpace(effects, ok, type, max) {\n const limit = max ? max - 1 : Number.POSITIVE_INFINITY;\n let size = 0;\n return start;\n\n /** @type {State} */\n function start(code) {\n if (markdownSpace(code)) {\n effects.enter(type);\n return prefix(code);\n }\n return ok(code);\n }\n\n /** @type {State} */\n function prefix(code) {\n if (markdownSpace(code) && size++ < limit) {\n effects.consume(code);\n return prefix;\n }\n effects.exit(type);\n return ok(code);\n }\n}","/**\n * @import {\n * Construct,\n * State,\n * TokenizeContext,\n * Tokenizer\n * } from 'micromark-util-types'\n */\n\nimport { factorySpace } from 'micromark-factory-space';\nimport { markdownLineEnding, markdownSpace } from 'micromark-util-character';\n/** @type {Construct} */\nexport const blankLine = {\n partial: true,\n tokenize: tokenizeBlankLine\n};\n\n/**\n * @this {TokenizeContext}\n * Context.\n * @type {Tokenizer}\n */\nfunction tokenizeBlankLine(effects, ok, nok) {\n return start;\n\n /**\n * Start of blank line.\n *\n * > 👉 **Note**: `␠` represents a space character.\n *\n * ```markdown\n * > | ␠␠␊\n * ^\n * > | ␊\n * ^\n * ```\n *\n * @type {State}\n */\n function start(code) {\n return markdownSpace(code) ? factorySpace(effects, after, \"linePrefix\")(code) : after(code);\n }\n\n /**\n * At eof/eol, after optional whitespace.\n *\n * > 👉 **Note**: `␠` represents a space character.\n *\n * ```markdown\n * > | ␠␠␊\n * ^\n * > | ␊\n * ^\n * ```\n *\n * @type {State}\n */\n function after(code) {\n return code === null || markdownLineEnding(code) ? ok(code) : nok(code);\n }\n}"],"names":["normalizeIdentifier","value","replace","toLowerCase","toUpperCase","classifyCharacter","code","markdownLineEndingOrSpace","unicodeWhitespace","unicodePunctuation","emptyOptions","toString","options","settings","includeImageAlt","includeHtml","one","node","type","alt","all","children","Array","isArray","values","result","index","length","join","Boolean","splice","list","start","remove","items","end","chunkStart","parameters","from","unshift","slice","push","hasOwnProperty","combineExtensions","extensions","syntaxExtension","extension","hook","maybe","call","undefined","left","right","constructs","existing","before","add","resolveAll","events","context","called","resolve","includes","factorySpace","effects","ok","max","limit","Number","POSITIVE_INFINITY","size","markdownSpace","enter","prefix","consume","exit","blankLine","partial","tokenize","tokenizeBlankLine","nok","after","markdownLineEnding"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASA,mBAAmBA,CAACC,KAAK,EAAE;EACzC,OAAOA;AACP;AAAA,GACCC,OAAO,CAAC,aAAa,EAAE,GAAG;AAC3B;AAAA,GACCA,OAAO,CAAC,QAAQ,EAAE,EAAE;AACrB;AACA;AACA;AACA;AACA;AACA;AAAA,GACCC,WAAW,EAAE,CAACC,WAAW,EAAE;AAC9B;;AChCA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,iBAAiBA,CAACC,IAAI,EAAE;AACtC,EAAA,IAAIA,IAAI,KAAK,IAAI,IAAIC,yBAAyB,CAACD,IAAI,CAAC,IAAIE,iBAAiB,CAACF,IAAI,CAAC,EAAE;AAC/E,IAAA,OAAO,CAAC;AACV,EAAA;AACA,EAAA,IAAIG,kBAAkB,CAACH,IAA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CAAC1B,IAAI,EAAE;IACnB,OAAOiE,aAAa,CAACjE,IAAI,CAAC,GAAGyD,YAAY,CAACC,OAAO,EAAEiB,KAAK,EAAE,YAAY,CAAC,CAAC3E,IAAI,CAAC,GAAG2E,KAAK,CAAC3E,IAAI,CAAC;AAC7F,EAAA;;AAEA;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE,SAAS2E,KAAKA,CAAC3E,IAAI,EAAE;AACnB,IAAA,OAAOA,IAAI,KAAK,IAAI,IAAI4E,kBAAkB,CAAC5E,IAAI,CAAC,GAAG2D,EAAE,CAAC3D,IAAI,CAAC,GAAG0E,GAAG,CAAC1E,IAAI,CAAC;AACzE,EAAA;AACF;;;;","x_google_ignoreList":[0,1,2,3,4,5,6,7]}
@@ -1,4 +0,0 @@
1
- function ok() {}
2
-
3
- export { ok as o };
4
- //# sourceMappingURL=default-CoqAuVeH.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default-CoqAuVeH.js","sources":["../../../node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/default.js"],"sourcesContent":["export function deprecate(fn) {\n return fn\n}\n\nexport function equal() {}\n\nexport function ok() {}\n\nexport function unreachable() {}\n"],"names":["ok"],"mappings":"AAMO,SAASA,EAAEA,GAAG,CAAC;;;;","x_google_ignoreList":[0]}