houdini-svelte 0.0.0-20240625121833 → 0.0.0-20240705163828
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/plugin-cjs/index.js +255 -199
- package/build/plugin-esm/index.js +255 -199
- package/build/preprocess-cjs/index.js +255 -199
- package/build/preprocess-esm/index.js +255 -199
- package/build/test-cjs/index.js +255 -199
- package/build/test-esm/index.js +255 -199
- package/package.json +4 -4
|
@@ -154654,7 +154654,7 @@ function apply_mutations(node, mutations) {
|
|
|
154654
154654
|
return obj;
|
|
154655
154655
|
}
|
|
154656
154656
|
|
|
154657
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
154657
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/patterns.js
|
|
154658
154658
|
var regex_whitespace = /\s/;
|
|
154659
154659
|
var regex_whitespaces = /\s+/;
|
|
154660
154660
|
var regex_starts_with_whitespaces = /^[ \t\r\n]+/;
|
|
@@ -154668,7 +154668,7 @@ var regex_starts_with_vowel = /^[aeiou]/;
|
|
|
154668
154668
|
var regex_heading_tags = /^h[1-6]$/;
|
|
154669
154669
|
var regex_illegal_attribute_character = /(^[0-9-.])|[\^$@%&#?!|()[\]{}^*+~;]/;
|
|
154670
154670
|
|
|
154671
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
154671
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/utils/fuzzymatch.js
|
|
154672
154672
|
function fuzzymatch(name, names) {
|
|
154673
154673
|
if (names.length === 0)
|
|
154674
154674
|
return null;
|
|
@@ -154887,7 +154887,7 @@ function getLocator(source, options = {}) {
|
|
|
154887
154887
|
return locator2;
|
|
154888
154888
|
}
|
|
154889
154889
|
|
|
154890
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
154890
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/state.js
|
|
154891
154891
|
var warnings = [];
|
|
154892
154892
|
var filename;
|
|
154893
154893
|
var locator = getLocator("", { offsetLine: 1 });
|
|
@@ -154905,7 +154905,7 @@ function reset3(source, options) {
|
|
|
154905
154905
|
ignore_map.clear();
|
|
154906
154906
|
}
|
|
154907
154907
|
|
|
154908
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
154908
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/warnings.js
|
|
154909
154909
|
function w(node, code, message) {
|
|
154910
154910
|
let stack = ignore_stack;
|
|
154911
154911
|
if (node) {
|
|
@@ -155184,7 +155184,7 @@ function svelte_element_invalid_this(node) {
|
|
|
155184
155184
|
w(node, "svelte_element_invalid_this", "`this` should be an `{expression}`. Using a string attribute value will cause an error in future versions of Svelte");
|
|
155185
155185
|
}
|
|
155186
155186
|
|
|
155187
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
155187
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/utils/extract_svelte_ignore.js
|
|
155188
155188
|
var regex_svelte_ignore = /^\s*svelte-ignore\s/;
|
|
155189
155189
|
var replacements = {
|
|
155190
155190
|
"non-top-level-reactive-declaration": "reactive_declaration_invalid_placement",
|
|
@@ -155239,7 +155239,7 @@ function extract_svelte_ignore(offset2, text2, runes) {
|
|
|
155239
155239
|
return ignores;
|
|
155240
155240
|
}
|
|
155241
155241
|
|
|
155242
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
155242
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/legacy.js
|
|
155243
155243
|
function remove_surrounding_whitespace_nodes(nodes) {
|
|
155244
155244
|
const first = nodes.at(0);
|
|
155245
155245
|
const last = nodes.at(-1);
|
|
@@ -162896,7 +162896,7 @@ function D(e4) {
|
|
|
162896
162896
|
};
|
|
162897
162897
|
}
|
|
162898
162898
|
|
|
162899
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
162899
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/acorn.js
|
|
162900
162900
|
var ParserWithTS = Parser.extend(D({ allowSatisfies: true }));
|
|
162901
162901
|
function parse14(source, typescript) {
|
|
162902
162902
|
const parser = typescript ? ParserWithTS : Parser;
|
|
@@ -162978,7 +162978,7 @@ function amend(source, node) {
|
|
|
162978
162978
|
};
|
|
162979
162979
|
}
|
|
162980
162980
|
}
|
|
162981
|
-
if (node2.typeAnnotation && node2.end === void 0) {
|
|
162981
|
+
if (node2.typeAnnotation && (node2.end === void 0 || node2.end < node2.start)) {
|
|
162982
162982
|
let end = node2.typeAnnotation.start;
|
|
162983
162983
|
while (/\s/.test(source[end - 1]))
|
|
162984
162984
|
end -= 1;
|
|
@@ -162989,7 +162989,7 @@ function amend(source, node) {
|
|
|
162989
162989
|
});
|
|
162990
162990
|
}
|
|
162991
162991
|
|
|
162992
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
162992
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/utils/names.js
|
|
162993
162993
|
var reserved = [
|
|
162994
162994
|
"arguments",
|
|
162995
162995
|
"await",
|
|
@@ -163062,8 +163062,8 @@ function is_void(name) {
|
|
|
163062
163062
|
return void_element_names.includes(name) || name.toLowerCase() === "!doctype";
|
|
163063
163063
|
}
|
|
163064
163064
|
|
|
163065
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
163066
|
-
var
|
|
163065
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/errors.js
|
|
163066
|
+
var InternalCompileError = class extends Error {
|
|
163067
163067
|
name = "CompileError";
|
|
163068
163068
|
filename = filename;
|
|
163069
163069
|
position = void 0;
|
|
@@ -163095,7 +163095,7 @@ ${this.filename}`;
|
|
|
163095
163095
|
function e3(node, code, message) {
|
|
163096
163096
|
const start = typeof node === "number" ? node : node?.start;
|
|
163097
163097
|
const end = typeof node === "number" ? node : node?.end;
|
|
163098
|
-
throw new
|
|
163098
|
+
throw new InternalCompileError(code, message, start !== void 0 && end !== void 0 ? [start, end] : void 0);
|
|
163099
163099
|
}
|
|
163100
163100
|
function options_invalid_value(node, details) {
|
|
163101
163101
|
e3(node, "options_invalid_value", `Invalid compiler option: ${details}`);
|
|
@@ -163145,6 +163145,9 @@ function module_illegal_default_export(node) {
|
|
|
163145
163145
|
function props_duplicate(node) {
|
|
163146
163146
|
e3(node, "props_duplicate", "Cannot use `$props()` more than once");
|
|
163147
163147
|
}
|
|
163148
|
+
function props_illegal_name(node) {
|
|
163149
|
+
e3(node, "props_illegal_name", "Declaring or accessing a prop starting with `$$` is illegal (they are reserved for Svelte internals)");
|
|
163150
|
+
}
|
|
163148
163151
|
function props_invalid_identifier(node) {
|
|
163149
163152
|
e3(node, "props_invalid_identifier", "`$props()` can only be used with an object destructuring pattern");
|
|
163150
163153
|
}
|
|
@@ -163494,7 +163497,7 @@ function void_element_invalid_content(node) {
|
|
|
163494
163497
|
e3(node, "void_element_invalid_content", "Void elements cannot have children or closing tags");
|
|
163495
163498
|
}
|
|
163496
163499
|
|
|
163497
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
163500
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/read/expression.js
|
|
163498
163501
|
function read_expression(parser) {
|
|
163499
163502
|
try {
|
|
163500
163503
|
const node = parse_expression_at(parser.template, parser.ts, parser.index);
|
|
@@ -163520,7 +163523,7 @@ function read_expression(parser) {
|
|
|
163520
163523
|
}
|
|
163521
163524
|
}
|
|
163522
163525
|
|
|
163523
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
163526
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/read/script.js
|
|
163524
163527
|
var regex_closing_script_tag = /<\/script\s*>/;
|
|
163525
163528
|
var regex_starts_with_closing_script_tag = /^<\/script\s*>/;
|
|
163526
163529
|
function get_context(attributes) {
|
|
@@ -163564,7 +163567,7 @@ function read_script(parser, start, attributes) {
|
|
|
163564
163567
|
};
|
|
163565
163568
|
}
|
|
163566
163569
|
|
|
163567
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
163570
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/read/style.js
|
|
163568
163571
|
var REGEX_MATCHER = /^[~^$*|]?=/;
|
|
163569
163572
|
var REGEX_CLOSING_BRACKET = /[\s\]]/;
|
|
163570
163573
|
var REGEX_ATTRIBUTE_FLAGS = /^[a-zA-Z]+/;
|
|
@@ -164000,7 +164003,7 @@ function allow_comment_or_whitespace(parser) {
|
|
|
164000
164003
|
}
|
|
164001
164004
|
}
|
|
164002
164005
|
|
|
164003
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
164006
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/constants.js
|
|
164004
164007
|
var EACH_ITEM_REACTIVE = 1;
|
|
164005
164008
|
var EACH_INDEX_REACTIVE = 1 << 1;
|
|
164006
164009
|
var EACH_KEYED = 1 << 2;
|
|
@@ -164160,7 +164163,7 @@ function is_capture_event(name, mode = "exclude-on") {
|
|
|
164160
164163
|
return mode == "exclude-on" ? name !== "gotpointercapture" && name !== "lostpointercapture" : name !== "ongotpointercapture" && name !== "onlostpointercapture";
|
|
164161
164164
|
}
|
|
164162
164165
|
|
|
164163
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
164166
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/utils/entities.js
|
|
164164
164167
|
var entities_default = {
|
|
164165
164168
|
"CounterClockwiseContourIntegral;": 8755,
|
|
164166
164169
|
"ClockwiseContourIntegral;": 8754,
|
|
@@ -166395,7 +166398,7 @@ var entities_default = {
|
|
|
166395
166398
|
lt: 60
|
|
166396
166399
|
};
|
|
166397
166400
|
|
|
166398
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
166401
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/utils/html.js
|
|
166399
166402
|
var windows_1252 = [
|
|
166400
166403
|
8364,
|
|
166401
166404
|
129,
|
|
@@ -166526,7 +166529,7 @@ function closing_tag_omitted(current2, next2) {
|
|
|
166526
166529
|
return false;
|
|
166527
166530
|
}
|
|
166528
166531
|
|
|
166529
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
166532
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/utils/create.js
|
|
166530
166533
|
function create_fragment(transparent = false) {
|
|
166531
166534
|
return {
|
|
166532
166535
|
type: "Fragment",
|
|
@@ -166535,7 +166538,7 @@ function create_fragment(transparent = false) {
|
|
|
166535
166538
|
};
|
|
166536
166539
|
}
|
|
166537
166540
|
|
|
166538
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
166541
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/nodes.js
|
|
166539
166542
|
var element_nodes = [
|
|
166540
166543
|
"SvelteElement",
|
|
166541
166544
|
"RegularElement",
|
|
@@ -166566,7 +166569,7 @@ function create_attribute(name, start, end, value) {
|
|
|
166566
166569
|
};
|
|
166567
166570
|
}
|
|
166568
166571
|
|
|
166569
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
166572
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/state/element.js
|
|
166570
166573
|
var valid_tag_name = /^\!?[a-zA-Z]{1,}:?[a-zA-Z0-9\-]*/;
|
|
166571
166574
|
var regex_starts_with_invalid_attr_value = /^(\/>|[\s"'=<>`])/;
|
|
166572
166575
|
var root_only_meta_tags = /* @__PURE__ */ new Map([
|
|
@@ -167152,7 +167155,7 @@ function read_sequence(parser, done, location) {
|
|
|
167152
167155
|
unexpected_eof(parser.template.length);
|
|
167153
167156
|
}
|
|
167154
167157
|
|
|
167155
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
167158
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/utils/full_char_code_at.js
|
|
167156
167159
|
function full_char_code_at(str, i3) {
|
|
167157
167160
|
const code = str.charCodeAt(i3);
|
|
167158
167161
|
if (code <= 55295 || code >= 57344)
|
|
@@ -167161,7 +167164,7 @@ function full_char_code_at(str, i3) {
|
|
|
167161
167164
|
return (code << 10) + next2 - 56613888;
|
|
167162
167165
|
}
|
|
167163
167166
|
|
|
167164
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
167167
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/utils/bracket.js
|
|
167165
167168
|
var SQUARE_BRACKET_OPEN = "[".charCodeAt(0);
|
|
167166
167169
|
var SQUARE_BRACKET_CLOSE = "]".charCodeAt(0);
|
|
167167
167170
|
var CURLY_BRACKET_OPEN = "{".charCodeAt(0);
|
|
@@ -167184,7 +167187,7 @@ function get_bracket_close(open2) {
|
|
|
167184
167187
|
}
|
|
167185
167188
|
}
|
|
167186
167189
|
|
|
167187
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
167190
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/read/context.js
|
|
167188
167191
|
function read_pattern(parser) {
|
|
167189
167192
|
const start = parser.index;
|
|
167190
167193
|
let i3 = parser.index;
|
|
@@ -167270,7 +167273,7 @@ function read_type_annotation(parser) {
|
|
|
167270
167273
|
};
|
|
167271
167274
|
}
|
|
167272
167275
|
|
|
167273
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
167276
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/state/tag.js
|
|
167274
167277
|
var regex_whitespace_with_closing_curly_brace = /^\s*}/;
|
|
167275
167278
|
function tag(parser) {
|
|
167276
167279
|
const start = parser.index;
|
|
@@ -167700,12 +167703,15 @@ function special(parser) {
|
|
|
167700
167703
|
type: "RenderTag",
|
|
167701
167704
|
start,
|
|
167702
167705
|
end: parser.index,
|
|
167703
|
-
expression
|
|
167706
|
+
expression,
|
|
167707
|
+
metadata: {
|
|
167708
|
+
dynamic: false
|
|
167709
|
+
}
|
|
167704
167710
|
});
|
|
167705
167711
|
}
|
|
167706
167712
|
}
|
|
167707
167713
|
|
|
167708
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
167714
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/state/text.js
|
|
167709
167715
|
function text(parser) {
|
|
167710
167716
|
const start = parser.index;
|
|
167711
167717
|
let data2 = "";
|
|
@@ -167721,7 +167727,7 @@ function text(parser) {
|
|
|
167721
167727
|
});
|
|
167722
167728
|
}
|
|
167723
167729
|
|
|
167724
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
167730
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/state/fragment.js
|
|
167725
167731
|
function fragment(parser) {
|
|
167726
167732
|
if (parser.match("<")) {
|
|
167727
167733
|
return element;
|
|
@@ -167732,7 +167738,7 @@ function fragment(parser) {
|
|
|
167732
167738
|
return text;
|
|
167733
167739
|
}
|
|
167734
167740
|
|
|
167735
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
167741
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/read/options.js
|
|
167736
167742
|
var regex_valid_tag_name = /^[a-zA-Z][a-zA-Z0-9]*-[a-zA-Z0-9-]+$/;
|
|
167737
167743
|
function read_options(node) {
|
|
167738
167744
|
const component_options = {
|
|
@@ -167907,7 +167913,7 @@ function validate_tag(attribute, tag2) {
|
|
|
167907
167913
|
}
|
|
167908
167914
|
}
|
|
167909
167915
|
|
|
167910
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
167916
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/1-parse/index.js
|
|
167911
167917
|
var regex_position_indicator = / \(\d+:\d+\)$/;
|
|
167912
167918
|
var regex_lang_attribute = /<!--[^]*?-->|<script\s+(?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=(["'])?([^"' >]+)\1[^>]*>/g;
|
|
167913
167919
|
var Parser3 = class {
|
|
@@ -168091,12 +168097,12 @@ function parse15(template2) {
|
|
|
168091
168097
|
return parser.root;
|
|
168092
168098
|
}
|
|
168093
168099
|
|
|
168094
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
168100
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/utils/sanitize_template_string.js
|
|
168095
168101
|
function sanitize_template_string(str) {
|
|
168096
168102
|
return str.replace(/(`|\${|\\)/g, "\\$1");
|
|
168097
168103
|
}
|
|
168098
168104
|
|
|
168099
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
168105
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/utils/builders.js
|
|
168100
168106
|
function array(elements = []) {
|
|
168101
168107
|
return { type: "ArrayExpression", elements };
|
|
168102
168108
|
}
|
|
@@ -168352,7 +168358,7 @@ function is_reference(node, parent2) {
|
|
|
168352
168358
|
return false;
|
|
168353
168359
|
}
|
|
168354
168360
|
|
|
168355
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
168361
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/utils/ast.js
|
|
168356
168362
|
function object2(expression) {
|
|
168357
168363
|
while (expression.type === "MemberExpression") {
|
|
168358
168364
|
expression = expression.object;
|
|
@@ -168623,7 +168629,7 @@ function is_expression_async(expression) {
|
|
|
168623
168629
|
}
|
|
168624
168630
|
}
|
|
168625
168631
|
|
|
168626
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
168632
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/constants.js
|
|
168627
168633
|
var DOMProperties = [
|
|
168628
168634
|
...Object.values(AttributeAliases),
|
|
168629
168635
|
"value",
|
|
@@ -168778,7 +168784,7 @@ var EventModifiers = [
|
|
|
168778
168784
|
"trusted"
|
|
168779
168785
|
];
|
|
168780
168786
|
|
|
168781
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
168787
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/scope.js
|
|
168782
168788
|
function set_scope(scopes) {
|
|
168783
168789
|
return {
|
|
168784
168790
|
_(node, { next: next2, state }) {
|
|
@@ -168817,7 +168823,7 @@ function get_rune(node, scope) {
|
|
|
168817
168823
|
return joined;
|
|
168818
168824
|
}
|
|
168819
168825
|
|
|
168820
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
168826
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/visitors.js
|
|
168821
168827
|
var overrides = {
|
|
168822
168828
|
visit() {
|
|
168823
168829
|
throw new Error("Cannot call visit() during analysis");
|
|
@@ -168864,7 +168870,7 @@ function merge(...tasks) {
|
|
|
168864
168870
|
return combined;
|
|
168865
168871
|
}
|
|
168866
168872
|
|
|
168867
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
168873
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/bindings.js
|
|
168868
168874
|
var binding_properties = {
|
|
168869
168875
|
currentTime: {
|
|
168870
168876
|
valid_elements: ["audio", "video"],
|
|
@@ -169058,11 +169064,11 @@ var binding_properties = {
|
|
|
169058
169064
|
}
|
|
169059
169065
|
};
|
|
169060
169066
|
|
|
169061
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
169067
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/2-analyze/a11y.js
|
|
169062
169068
|
var import_aria_query = __toESM(require_lib8(), 1);
|
|
169063
169069
|
var import_axobject_query = __toESM(require_lib9(), 1);
|
|
169064
169070
|
|
|
169065
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
169071
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/utils/string.js
|
|
169066
169072
|
function list(strings, conjunction = "or") {
|
|
169067
169073
|
if (strings.length === 1)
|
|
169068
169074
|
return strings[0];
|
|
@@ -169071,7 +169077,7 @@ function list(strings, conjunction = "or") {
|
|
|
169071
169077
|
return `${strings.slice(0, -1).join(", ")} ${conjunction} ${strings[strings.length - 1]}`;
|
|
169072
169078
|
}
|
|
169073
169079
|
|
|
169074
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
169080
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/2-analyze/a11y.js
|
|
169075
169081
|
var aria_roles = import_aria_query.roles.keys();
|
|
169076
169082
|
var abstract_roles = aria_roles.filter((role) => import_aria_query.roles.get(role)?.abstract);
|
|
169077
169083
|
var non_abstract_roles = aria_roles.filter((name) => !abstract_roles.includes(name));
|
|
@@ -169611,12 +169617,7 @@ function check_element(node, state) {
|
|
|
169611
169617
|
let value = get_static_value2(attribute);
|
|
169612
169618
|
const schema = import_aria_query.aria.get(name);
|
|
169613
169619
|
if (schema !== void 0) {
|
|
169614
|
-
validate_aria_attribute_value(
|
|
169615
|
-
attribute,
|
|
169616
|
-
name,
|
|
169617
|
-
schema,
|
|
169618
|
-
value
|
|
169619
|
-
);
|
|
169620
|
+
validate_aria_attribute_value(attribute, name, schema, value);
|
|
169620
169621
|
}
|
|
169621
169622
|
if (name === "aria-activedescendant" && !is_dynamic_element && !is_interactive_element(node.name, attribute_map) && !attribute_map.has("tabindex")) {
|
|
169622
169623
|
a11y_aria_activedescendant_has_tabindex(attribute);
|
|
@@ -169894,7 +169895,7 @@ var a11y_validators = {
|
|
|
169894
169895
|
}
|
|
169895
169896
|
};
|
|
169896
169897
|
|
|
169897
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
169898
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/2-analyze/validation.js
|
|
169898
169899
|
function validate_attribute(attribute) {
|
|
169899
169900
|
if (attribute.value === true || attribute.value.length === 1)
|
|
169900
169901
|
return;
|
|
@@ -170051,7 +170052,14 @@ function validate_attribute_name(attribute) {
|
|
|
170051
170052
|
}
|
|
170052
170053
|
}
|
|
170053
170054
|
function validate_slot_attribute(context, attribute, is_component2 = false) {
|
|
170055
|
+
const parent2 = context.path.at(-2);
|
|
170054
170056
|
let owner = void 0;
|
|
170057
|
+
if (parent2?.type === "SnippetBlock") {
|
|
170058
|
+
if (!is_text_attribute(attribute)) {
|
|
170059
|
+
slot_attribute_invalid(attribute);
|
|
170060
|
+
}
|
|
170061
|
+
return;
|
|
170062
|
+
}
|
|
170055
170063
|
let i3 = context.path.length;
|
|
170056
170064
|
while (i3--) {
|
|
170057
170065
|
const ancestor = context.path[i3];
|
|
@@ -170064,7 +170072,7 @@ function validate_slot_attribute(context, attribute, is_component2 = false) {
|
|
|
170064
170072
|
slot_attribute_invalid(attribute);
|
|
170065
170073
|
}
|
|
170066
170074
|
if (owner.type === "Component" || owner.type === "SvelteComponent" || owner.type === "SvelteSelf") {
|
|
170067
|
-
if (owner !==
|
|
170075
|
+
if (owner !== parent2) {
|
|
170068
170076
|
slot_attribute_invalid_placement(attribute);
|
|
170069
170077
|
}
|
|
170070
170078
|
const name = attribute.value[0].data;
|
|
@@ -170098,6 +170106,14 @@ function validate_block_not_empty(node, context) {
|
|
|
170098
170106
|
}
|
|
170099
170107
|
}
|
|
170100
170108
|
var validation = {
|
|
170109
|
+
MemberExpression(node, context) {
|
|
170110
|
+
if (node.object.type === "Identifier" && node.property.type === "Identifier") {
|
|
170111
|
+
const binding = context.state.scope.get(node.object.name);
|
|
170112
|
+
if (binding?.kind === "rest_prop" && node.property.name.startsWith("$$")) {
|
|
170113
|
+
props_illegal_name(node.property);
|
|
170114
|
+
}
|
|
170115
|
+
}
|
|
170116
|
+
},
|
|
170101
170117
|
AssignmentExpression(node, context) {
|
|
170102
170118
|
validate_assignment(node, node.left, context.state);
|
|
170103
170119
|
},
|
|
@@ -170283,6 +170299,8 @@ var validation = {
|
|
|
170283
170299
|
});
|
|
170284
170300
|
},
|
|
170285
170301
|
RenderTag(node, context) {
|
|
170302
|
+
const callee = unwrap_optional(node.expression).callee;
|
|
170303
|
+
node.metadata.dynamic = callee.type !== "Identifier" || context.state.scope.get(callee.name)?.kind !== "normal";
|
|
170286
170304
|
context.state.analysis.uses_render_tags = true;
|
|
170287
170305
|
const raw_args = unwrap_optional(node.expression).arguments;
|
|
170288
170306
|
for (const arg of raw_args) {
|
|
@@ -170290,7 +170308,6 @@ var validation = {
|
|
|
170290
170308
|
render_tag_invalid_spread_argument(arg);
|
|
170291
170309
|
}
|
|
170292
170310
|
}
|
|
170293
|
-
const callee = unwrap_optional(node.expression).callee;
|
|
170294
170311
|
if (callee.type === "MemberExpression" && callee.property.type === "Identifier" && ["bind", "apply", "call"].includes(callee.property.name)) {
|
|
170295
170312
|
render_tag_invalid_call_expression(node);
|
|
170296
170313
|
}
|
|
@@ -170756,20 +170773,25 @@ var validation_runes = merge(validation, a11y_validators, {
|
|
|
170756
170773
|
if (args.length > 0) {
|
|
170757
170774
|
rune_invalid_arguments(node, rune);
|
|
170758
170775
|
}
|
|
170759
|
-
if (node.id.type !== "ObjectPattern") {
|
|
170776
|
+
if (node.id.type !== "ObjectPattern" && node.id.type !== "Identifier") {
|
|
170760
170777
|
props_invalid_identifier(node);
|
|
170761
170778
|
}
|
|
170762
170779
|
if (state.scope !== state.analysis.instance.scope) {
|
|
170763
170780
|
props_invalid_placement(node);
|
|
170764
170781
|
}
|
|
170765
|
-
|
|
170766
|
-
|
|
170767
|
-
if (property.
|
|
170768
|
-
|
|
170769
|
-
|
|
170770
|
-
|
|
170771
|
-
|
|
170772
|
-
|
|
170782
|
+
if (node.id.type === "ObjectPattern") {
|
|
170783
|
+
for (const property of node.id.properties) {
|
|
170784
|
+
if (property.type === "Property") {
|
|
170785
|
+
if (property.computed) {
|
|
170786
|
+
props_invalid_pattern(property);
|
|
170787
|
+
}
|
|
170788
|
+
if (property.key.type === "Identifier" && property.key.name.startsWith("$$")) {
|
|
170789
|
+
props_illegal_name(property);
|
|
170790
|
+
}
|
|
170791
|
+
const value = property.value.type === "AssignmentPattern" ? property.value.left : property.value;
|
|
170792
|
+
if (value.type !== "Identifier") {
|
|
170793
|
+
props_invalid_pattern(property);
|
|
170794
|
+
}
|
|
170773
170795
|
}
|
|
170774
170796
|
}
|
|
170775
170797
|
}
|
|
@@ -170797,7 +170819,7 @@ var validation_runes = merge(validation, a11y_validators, {
|
|
|
170797
170819
|
NewExpression: validation_runes_js.NewExpression
|
|
170798
170820
|
});
|
|
170799
170821
|
|
|
170800
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
170822
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/2-analyze/utils/check_graph_for_cycles.js
|
|
170801
170823
|
function check_graph_for_cycles(edges) {
|
|
170802
170824
|
const graph = edges.reduce((g2, edge) => {
|
|
170803
170825
|
const [u2, v2] = edge;
|
|
@@ -170831,7 +170853,7 @@ function check_graph_for_cycles(edges) {
|
|
|
170831
170853
|
return cycles[0];
|
|
170832
170854
|
}
|
|
170833
170855
|
|
|
170834
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
170856
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/3-transform/client/utils.js
|
|
170835
170857
|
function get_assignment_value(node, { state, visit: visit24 }) {
|
|
170836
170858
|
if (node.left.type === "Identifier") {
|
|
170837
170859
|
const operator = node.operator;
|
|
@@ -171016,7 +171038,7 @@ function serialize_set_binding(node, context, fallback, prefix, options) {
|
|
|
171016
171038
|
call2 = call("$.set", id(left_name), value);
|
|
171017
171039
|
}
|
|
171018
171040
|
if (state.scope.get(`$${left.name}`)?.kind === "store_sub") {
|
|
171019
|
-
return call("$.store_unsub", call2, literal2(`$${left.name}`), id("$$
|
|
171041
|
+
return call("$.store_unsub", call2, literal2(`$${left.name}`), id("$$stores"));
|
|
171020
171042
|
} else {
|
|
171021
171043
|
return call2;
|
|
171022
171044
|
}
|
|
@@ -171074,7 +171096,7 @@ function serialize_set_binding(node, context, fallback, prefix, options) {
|
|
|
171074
171096
|
)
|
|
171075
171097
|
);
|
|
171076
171098
|
}
|
|
171077
|
-
} else if (node.right.type === "Literal" && (node.operator === "+=" || node.operator === "-=")) {
|
|
171099
|
+
} else if (node.right.type === "Literal" && prefix != null && (node.operator === "+=" || node.operator === "-=")) {
|
|
171078
171100
|
return update(
|
|
171079
171101
|
node.operator === "+=" ? "++" : "--",
|
|
171080
171102
|
visit24(node.left),
|
|
@@ -171144,6 +171166,9 @@ function get_hoistable_params(node, context) {
|
|
|
171144
171166
|
push_unique(id("$$props"));
|
|
171145
171167
|
} else {
|
|
171146
171168
|
push_unique(id(binding.node.name));
|
|
171169
|
+
if (binding.kind === "rest_prop" && context.state.analysis.runes) {
|
|
171170
|
+
push_unique(id("$$props"));
|
|
171171
|
+
}
|
|
171147
171172
|
}
|
|
171148
171173
|
}
|
|
171149
171174
|
}
|
|
@@ -171242,14 +171267,14 @@ function create_derived(state, arg) {
|
|
|
171242
171267
|
return call(state.analysis.runes ? "$.derived" : "$.derived_safe_equal", arg);
|
|
171243
171268
|
}
|
|
171244
171269
|
|
|
171245
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
171270
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/css.js
|
|
171246
171271
|
var regex_css_browser_prefix = /^-((webkit)|(moz)|(o)|(ms))-/;
|
|
171247
171272
|
function remove_css_prefix(name) {
|
|
171248
171273
|
return name.replace(regex_css_browser_prefix, "");
|
|
171249
171274
|
}
|
|
171250
171275
|
var is_keyframes_node = (node) => remove_css_prefix(node.name) === "keyframes";
|
|
171251
171276
|
|
|
171252
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
171277
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/2-analyze/css/css-analyze.js
|
|
171253
171278
|
function is_global(relative_selector) {
|
|
171254
171279
|
const first = relative_selector.selectors[0];
|
|
171255
171280
|
return first.type === "PseudoClassSelector" && first.name === "global" && relative_selector.selectors.every(
|
|
@@ -171372,6 +171397,12 @@ var validation_visitors = {
|
|
|
171372
171397
|
};
|
|
171373
171398
|
var css_visitors = merge(analysis_visitors, validation_visitors);
|
|
171374
171399
|
|
|
171400
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/utils/assert.js
|
|
171401
|
+
function equal(actual, expected) {
|
|
171402
|
+
if (actual !== expected)
|
|
171403
|
+
throw new Error("Assertion failed");
|
|
171404
|
+
}
|
|
171405
|
+
|
|
171375
171406
|
// ../../node_modules/.pnpm/esrap@1.2.2/node_modules/esrap/src/handlers.js
|
|
171376
171407
|
var newline = { type: "Newline" };
|
|
171377
171408
|
var indent3 = { type: "Indent" };
|
|
@@ -172440,7 +172471,7 @@ if (typeof window !== "undefined" && typeof window.btoa === "function") {
|
|
|
172440
172471
|
btoa2 = (str) => Buffer.from(str, "utf-8").toString("base64");
|
|
172441
172472
|
}
|
|
172442
172473
|
|
|
172443
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
172474
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/3-transform/utils.js
|
|
172444
172475
|
function is_hoistable_function(node) {
|
|
172445
172476
|
if (node.type === "ArrowFunctionExpression" || node.type === "FunctionExpression" || node.type === "FunctionDeclaration") {
|
|
172446
172477
|
return node.metadata?.hoistable === true;
|
|
@@ -172525,54 +172556,58 @@ function clean_nodes(parent2, nodes, path3, namespace = "html", state, preserve_
|
|
|
172525
172556
|
regular.push(node);
|
|
172526
172557
|
}
|
|
172527
172558
|
}
|
|
172528
|
-
|
|
172529
|
-
|
|
172530
|
-
|
|
172531
|
-
|
|
172532
|
-
|
|
172533
|
-
|
|
172534
|
-
|
|
172535
|
-
|
|
172536
|
-
|
|
172537
|
-
|
|
172538
|
-
|
|
172539
|
-
|
|
172540
|
-
|
|
172541
|
-
|
|
172542
|
-
|
|
172543
|
-
|
|
172544
|
-
|
|
172545
|
-
|
|
172546
|
-
|
|
172547
|
-
|
|
172548
|
-
|
|
172549
|
-
|
|
172550
|
-
|
|
172551
|
-
|
|
172552
|
-
|
|
172553
|
-
|
|
172554
|
-
|
|
172555
|
-
|
|
172556
|
-
|
|
172557
|
-
|
|
172558
|
-
|
|
172559
|
-
|
|
172560
|
-
|
|
172561
|
-
|
|
172562
|
-
|
|
172563
|
-
|
|
172564
|
-
|
|
172565
|
-
|
|
172566
|
-
|
|
172567
|
-
|
|
172568
|
-
|
|
172559
|
+
let trimmed = regular;
|
|
172560
|
+
if (!preserve_whitespace) {
|
|
172561
|
+
trimmed = [];
|
|
172562
|
+
let first2, last;
|
|
172563
|
+
while ((first2 = regular[0]) && first2.type === "Text" && !regex_not_whitespace.test(first2.data)) {
|
|
172564
|
+
regular.shift();
|
|
172565
|
+
}
|
|
172566
|
+
if (first2?.type === "Text") {
|
|
172567
|
+
first2.raw = first2.raw.replace(regex_starts_with_whitespaces, "");
|
|
172568
|
+
first2.data = first2.data.replace(regex_starts_with_whitespaces, "");
|
|
172569
|
+
}
|
|
172570
|
+
while ((last = regular.at(-1)) && last.type === "Text" && !regex_not_whitespace.test(last.data)) {
|
|
172571
|
+
regular.pop();
|
|
172572
|
+
}
|
|
172573
|
+
if (last?.type === "Text") {
|
|
172574
|
+
last.raw = last.raw.replace(regex_ends_with_whitespaces, "");
|
|
172575
|
+
last.data = last.data.replace(regex_ends_with_whitespaces, "");
|
|
172576
|
+
}
|
|
172577
|
+
const can_remove_entirely = namespace === "svg" && (parent2.type !== "RegularElement" || parent2.name !== "text") && !path3.some((n2) => n2.type === "RegularElement" && n2.name === "text") || parent2.type === "RegularElement" && (parent2.name === "select" || parent2.name === "tr" || parent2.name === "table" || parent2.name === "tbody" || parent2.name === "thead" || parent2.name === "tfoot" || parent2.name === "colgroup" || parent2.name === "datalist");
|
|
172578
|
+
for (let i3 = 0; i3 < regular.length; i3++) {
|
|
172579
|
+
const prev = regular[i3 - 1];
|
|
172580
|
+
const node = regular[i3];
|
|
172581
|
+
const next2 = regular[i3 + 1];
|
|
172582
|
+
if (node.type === "Text") {
|
|
172583
|
+
if (prev?.type !== "ExpressionTag") {
|
|
172584
|
+
const prev_is_text_ending_with_whitespace = prev?.type === "Text" && regex_ends_with_whitespaces.test(prev.data);
|
|
172585
|
+
node.data = node.data.replace(
|
|
172586
|
+
regex_starts_with_whitespaces,
|
|
172587
|
+
prev_is_text_ending_with_whitespace ? "" : " "
|
|
172588
|
+
);
|
|
172589
|
+
node.raw = node.raw.replace(
|
|
172590
|
+
regex_starts_with_whitespaces,
|
|
172591
|
+
prev_is_text_ending_with_whitespace ? "" : " "
|
|
172592
|
+
);
|
|
172593
|
+
}
|
|
172594
|
+
if (next2?.type !== "ExpressionTag") {
|
|
172595
|
+
node.data = node.data.replace(regex_ends_with_whitespaces, " ");
|
|
172596
|
+
node.raw = node.raw.replace(regex_ends_with_whitespaces, " ");
|
|
172597
|
+
}
|
|
172598
|
+
if (node.data && (node.data !== " " || !can_remove_entirely)) {
|
|
172599
|
+
trimmed.push(node);
|
|
172600
|
+
}
|
|
172601
|
+
} else {
|
|
172569
172602
|
trimmed.push(node);
|
|
172570
172603
|
}
|
|
172571
|
-
} else {
|
|
172572
|
-
trimmed.push(node);
|
|
172573
172604
|
}
|
|
172574
172605
|
}
|
|
172575
|
-
|
|
172606
|
+
var first = trimmed[0];
|
|
172607
|
+
const is_standalone = trimmed.length === 1 && (first.type === "RenderTag" && !first.metadata.dynamic || first.type === "Component" && !state.options.hmr && !first.attributes.some(
|
|
172608
|
+
(attribute) => attribute.type === "Attribute" && attribute.name.startsWith("--")
|
|
172609
|
+
));
|
|
172610
|
+
return { hoisted, trimmed, is_standalone };
|
|
172576
172611
|
}
|
|
172577
172612
|
function infer_namespace(namespace, parent2, nodes) {
|
|
172578
172613
|
if (namespace !== "foreign") {
|
|
@@ -172654,14 +172689,12 @@ function transform_inspect_rune(node, context) {
|
|
|
172654
172689
|
with_arg
|
|
172655
172690
|
);
|
|
172656
172691
|
} else {
|
|
172657
|
-
const arg = node.arguments.map(
|
|
172658
|
-
(arg2) => visit24(arg2)
|
|
172659
|
-
);
|
|
172692
|
+
const arg = node.arguments.map((arg2) => visit24(arg2));
|
|
172660
172693
|
return call("$.inspect", as_fn ? thunk(array(arg)) : array(arg));
|
|
172661
172694
|
}
|
|
172662
172695
|
}
|
|
172663
172696
|
|
|
172664
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
172697
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/escaping.js
|
|
172665
172698
|
var ATTR_REGEX = /[&"<]/g;
|
|
172666
172699
|
var CONTENT_REGEX = /[&<]/g;
|
|
172667
172700
|
function escape_html(value, is_attr) {
|
|
@@ -172679,24 +172712,18 @@ function escape_html(value, is_attr) {
|
|
|
172679
172712
|
return escaped + str.substring(last);
|
|
172680
172713
|
}
|
|
172681
172714
|
|
|
172682
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
172715
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/internal/server/hydration.js
|
|
172683
172716
|
var BLOCK_OPEN = `<!--${HYDRATION_START}-->`;
|
|
172684
172717
|
var BLOCK_CLOSE = `<!--${HYDRATION_END}-->`;
|
|
172685
172718
|
var BLOCK_ANCHOR = `<!--${HYDRATION_ANCHOR}-->`;
|
|
172686
172719
|
var BLOCK_CLOSE_ELSE = `<!--${HYDRATION_END_ELSE}-->`;
|
|
172687
172720
|
|
|
172688
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
172721
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/3-transform/server/transform-server.js
|
|
172689
172722
|
var block_open = literal2(BLOCK_OPEN);
|
|
172690
172723
|
var block_close = literal2(BLOCK_CLOSE);
|
|
172691
172724
|
var block_anchor = literal2(BLOCK_ANCHOR);
|
|
172692
172725
|
|
|
172693
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
172694
|
-
function equal(actual, expected) {
|
|
172695
|
-
if (actual !== expected)
|
|
172696
|
-
throw new Error("Assertion failed");
|
|
172697
|
-
}
|
|
172698
|
-
|
|
172699
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.165/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/javascript-runes.js
|
|
172726
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/javascript-runes.js
|
|
172700
172727
|
var javascript_visitors_runes = {
|
|
172701
172728
|
ClassBody(node, { state, visit: visit24 }) {
|
|
172702
172729
|
const public_state = /* @__PURE__ */ new Map();
|
|
@@ -172848,34 +172875,42 @@ var javascript_visitors_runes = {
|
|
|
172848
172875
|
continue;
|
|
172849
172876
|
}
|
|
172850
172877
|
if (rune === "$props") {
|
|
172851
|
-
equal(declarator2.id.type, "ObjectPattern");
|
|
172852
172878
|
const seen = ["$$slots", "$$events", "$$legacy"];
|
|
172853
172879
|
if (state.analysis.custom_element) {
|
|
172854
172880
|
seen.push("$$host");
|
|
172855
172881
|
}
|
|
172856
|
-
|
|
172857
|
-
|
|
172858
|
-
|
|
172859
|
-
|
|
172860
|
-
|
|
172861
|
-
|
|
172862
|
-
|
|
172863
|
-
|
|
172864
|
-
|
|
172865
|
-
if (
|
|
172866
|
-
|
|
172867
|
-
|
|
172868
|
-
|
|
172869
|
-
|
|
172870
|
-
|
|
172871
|
-
|
|
172872
|
-
|
|
172873
|
-
|
|
172874
|
-
|
|
172875
|
-
|
|
172876
|
-
)
|
|
172882
|
+
if (declarator2.id.type === "Identifier") {
|
|
172883
|
+
const args2 = [id("$$props"), array(seen.map((name) => literal2(name)))];
|
|
172884
|
+
if (state.options.dev) {
|
|
172885
|
+
args2.push(literal2(declarator2.id.name));
|
|
172886
|
+
}
|
|
172887
|
+
declarations.push(declarator(declarator2.id, call("$.rest_props", ...args2)));
|
|
172888
|
+
} else {
|
|
172889
|
+
equal(declarator2.id.type, "ObjectPattern");
|
|
172890
|
+
for (const property of declarator2.id.properties) {
|
|
172891
|
+
if (property.type === "Property") {
|
|
172892
|
+
const key2 = property.key;
|
|
172893
|
+
const name = key2.type === "Identifier" ? key2.name : key2.value;
|
|
172894
|
+
seen.push(name);
|
|
172895
|
+
let id2 = property.value.type === "AssignmentPattern" ? property.value.left : property.value;
|
|
172896
|
+
equal(id2.type, "Identifier");
|
|
172897
|
+
const binding = state.scope.get(id2.name);
|
|
172898
|
+
let initial = binding.initial && visit24(binding.initial);
|
|
172899
|
+
if (initial && binding.mutated && should_proxy_or_freeze(initial, state.scope)) {
|
|
172900
|
+
initial = call("$.proxy", initial);
|
|
172901
|
+
}
|
|
172902
|
+
if (is_prop_source(binding, state)) {
|
|
172903
|
+
declarations.push(declarator(id2, get_prop_source(binding, state, name, initial)));
|
|
172904
|
+
}
|
|
172905
|
+
} else {
|
|
172906
|
+
const args2 = [id("$$props"), array(seen.map((name) => literal2(name)))];
|
|
172907
|
+
if (state.options.dev) {
|
|
172908
|
+
args2.push(
|
|
172909
|
+
literal2(property.argument.name)
|
|
172910
|
+
);
|
|
172911
|
+
}
|
|
172912
|
+
declarations.push(declarator(property.argument, call("$.rest_props", ...args2)));
|
|
172877
172913
|
}
|
|
172878
|
-
declarations.push(declarator(property.argument, call("$.rest_props", ...args2)));
|
|
172879
172914
|
}
|
|
172880
172915
|
}
|
|
172881
172916
|
continue;
|
|
@@ -173053,7 +173088,7 @@ function get_name(node) {
|
|
|
173053
173088
|
}
|
|
173054
173089
|
}
|
|
173055
173090
|
|
|
173056
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
173091
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/phases/3-transform/client/visitors/template.js
|
|
173057
173092
|
function get_attribute_name(element2, attribute, context) {
|
|
173058
173093
|
let name = attribute.name;
|
|
173059
173094
|
if (!element2.metadata.svg && !element2.metadata.mathml && context.state.metadata.namespace !== "foreign") {
|
|
@@ -173410,7 +173445,7 @@ function serialize_update_assignment(state, id2, init2, value, update2) {
|
|
|
173410
173445
|
function collect_parent_each_blocks(context) {
|
|
173411
173446
|
return context.path.filter((node) => node.type === "EachBlock");
|
|
173412
173447
|
}
|
|
173413
|
-
function serialize_inline_component(node, component_name, context) {
|
|
173448
|
+
function serialize_inline_component(node, component_name, context, anchor = context.state.node) {
|
|
173414
173449
|
const props_and_spreads = [];
|
|
173415
173450
|
const lets = [];
|
|
173416
173451
|
const children = {};
|
|
@@ -173494,9 +173529,7 @@ function serialize_inline_component(node, component_name, context) {
|
|
|
173494
173529
|
const assignment2 = assignment("=", attribute.expression, id("$$value"));
|
|
173495
173530
|
push_prop(
|
|
173496
173531
|
set(attribute.name, [
|
|
173497
|
-
stmt(
|
|
173498
|
-
serialize_set_binding(assignment2, context, () => context.visit(assignment2), false)
|
|
173499
|
-
)
|
|
173532
|
+
stmt(serialize_set_binding(assignment2, context, () => context.visit(assignment2)))
|
|
173500
173533
|
])
|
|
173501
173534
|
);
|
|
173502
173535
|
}
|
|
@@ -173600,13 +173633,14 @@ function serialize_inline_component(node, component_name, context) {
|
|
|
173600
173633
|
fn = (node_id) => {
|
|
173601
173634
|
return call(
|
|
173602
173635
|
"$.component",
|
|
173636
|
+
node_id,
|
|
173603
173637
|
thunk(context.visit(node.expression)),
|
|
173604
173638
|
arrow(
|
|
173605
|
-
[id(component_name)],
|
|
173639
|
+
[id("$$anchor"), id(component_name)],
|
|
173606
173640
|
block3([
|
|
173607
173641
|
...binding_initializers,
|
|
173608
173642
|
stmt(
|
|
173609
|
-
context.state.options.dev ? call("$.validate_dynamic_component", thunk(prev(
|
|
173643
|
+
context.state.options.dev ? call("$.validate_dynamic_component", thunk(prev(id("$$anchor")))) : prev(id("$$anchor"))
|
|
173610
173644
|
)
|
|
173611
173645
|
])
|
|
173612
173646
|
)
|
|
@@ -173620,12 +173654,12 @@ function serialize_inline_component(node, component_name, context) {
|
|
|
173620
173654
|
context.state.metadata.namespace === "svg" ? "<g><!></g>" : '<div style="display: contents"><!></div>'
|
|
173621
173655
|
);
|
|
173622
173656
|
statements.push(
|
|
173623
|
-
stmt(call("$.css_props",
|
|
173624
|
-
stmt(fn(member(
|
|
173657
|
+
stmt(call("$.css_props", anchor, thunk(object(custom_css_props)))),
|
|
173658
|
+
stmt(fn(member(anchor, id("lastChild"))))
|
|
173625
173659
|
);
|
|
173626
173660
|
} else {
|
|
173627
173661
|
context.state.template.push("<!>");
|
|
173628
|
-
statements.push(stmt(fn(
|
|
173662
|
+
statements.push(stmt(fn(anchor)));
|
|
173629
173663
|
}
|
|
173630
173664
|
return statements.length > 1 ? block3(statements) : statements[0];
|
|
173631
173665
|
}
|
|
@@ -173658,7 +173692,7 @@ function serialize_bind_this(bind_this, context, node) {
|
|
|
173658
173692
|
const bind_this_id = context.visit(bind_this);
|
|
173659
173693
|
const ids = Array.from(each_ids.values()).map((id2) => id("$$value_" + id2[0]));
|
|
173660
173694
|
const assignment2 = assignment("=", bind_this, id("$$value"));
|
|
173661
|
-
const update2 = serialize_set_binding(assignment2, context, () => context.visit(assignment2)
|
|
173695
|
+
const update2 = serialize_set_binding(assignment2, context, () => context.visit(assignment2));
|
|
173662
173696
|
for (const [binding, [, , expression]] of each_ids) {
|
|
173663
173697
|
binding.expression = expression;
|
|
173664
173698
|
}
|
|
@@ -173692,8 +173726,8 @@ function serialize_update(statement) {
|
|
|
173692
173726
|
const body = statement.type === "ExpressionStatement" ? statement.expression : block3([statement]);
|
|
173693
173727
|
return stmt(call("$.template_effect", thunk(body)));
|
|
173694
173728
|
}
|
|
173695
|
-
function serialize_render_stmt(
|
|
173696
|
-
return
|
|
173729
|
+
function serialize_render_stmt(update2) {
|
|
173730
|
+
return update2.length === 1 ? serialize_update(update2[0]) : stmt(call("$.template_effect", thunk(block3(update2))));
|
|
173697
173731
|
}
|
|
173698
173732
|
function serialize_event_handler(node, { state, visit: visit24 }) {
|
|
173699
173733
|
let handler;
|
|
@@ -173994,7 +174028,7 @@ var template_visitors = {
|
|
|
173994
174028
|
Fragment(node, context) {
|
|
173995
174029
|
const parent2 = context.path.at(-1) ?? node;
|
|
173996
174030
|
const namespace = infer_namespace(context.state.metadata.namespace, parent2, node.nodes);
|
|
173997
|
-
const { hoisted, trimmed } = clean_nodes(
|
|
174031
|
+
const { hoisted, trimmed, is_standalone } = clean_nodes(
|
|
173998
174032
|
parent2,
|
|
173999
174033
|
node.nodes,
|
|
174000
174034
|
context.path,
|
|
@@ -174076,30 +174110,33 @@ var template_visitors = {
|
|
|
174076
174110
|
);
|
|
174077
174111
|
close2 = stmt(call("$.append", id("$$anchor"), id3));
|
|
174078
174112
|
} else {
|
|
174079
|
-
|
|
174080
|
-
|
|
174081
|
-
const use_comment_template = state.template.length === 1 && state.template[0] === "<!>";
|
|
174082
|
-
if (use_comment_template) {
|
|
174083
|
-
body.push(var_builder(id2, call("$.comment")));
|
|
174113
|
+
if (is_standalone) {
|
|
174114
|
+
process_children(trimmed, () => id("$$anchor"), false, { ...context, state });
|
|
174084
174115
|
} else {
|
|
174116
|
+
const expression = (is_text) => is_text ? call("$.first_child", id2, true_instance) : call("$.first_child", id2);
|
|
174117
|
+
process_children(trimmed, expression, false, { ...context, state });
|
|
174085
174118
|
let flags = TEMPLATE_FRAGMENT;
|
|
174086
174119
|
if (state.metadata.context.template_needs_import_node) {
|
|
174087
174120
|
flags |= TEMPLATE_USE_IMPORT_NODE;
|
|
174088
174121
|
}
|
|
174089
|
-
|
|
174090
|
-
|
|
174091
|
-
|
|
174092
|
-
|
|
174093
|
-
|
|
174122
|
+
if (state.template.length === 1 && state.template[0] === "<!>") {
|
|
174123
|
+
body.push(var_builder(id2, call("$.comment")));
|
|
174124
|
+
} else {
|
|
174125
|
+
add_template(template_name, [
|
|
174126
|
+
template([quasi(state.template.join(""), true)], []),
|
|
174127
|
+
literal2(flags)
|
|
174128
|
+
]);
|
|
174129
|
+
body.push(var_builder(id2, call(template_name)));
|
|
174130
|
+
}
|
|
174131
|
+
close2 = stmt(call("$.append", id("$$anchor"), id2));
|
|
174094
174132
|
}
|
|
174095
174133
|
body.push(...state.before_init, ...state.init);
|
|
174096
|
-
close2 = stmt(call("$.append", id("$$anchor"), id2));
|
|
174097
174134
|
}
|
|
174098
174135
|
} else {
|
|
174099
174136
|
body.push(...state.before_init, ...state.init);
|
|
174100
174137
|
}
|
|
174101
174138
|
if (state.update.length > 0) {
|
|
174102
|
-
body.push(serialize_render_stmt(state));
|
|
174139
|
+
body.push(serialize_render_stmt(state.update));
|
|
174103
174140
|
}
|
|
174104
174141
|
body.push(...state.after_update);
|
|
174105
174142
|
if (close2 !== void 0) {
|
|
@@ -174198,22 +174235,23 @@ var template_visitors = {
|
|
|
174198
174235
|
context.state.template.push("<!>");
|
|
174199
174236
|
const callee = unwrap_optional(node.expression).callee;
|
|
174200
174237
|
const raw_args = unwrap_optional(node.expression).arguments;
|
|
174201
|
-
const
|
|
174202
|
-
|
|
174203
|
-
|
|
174204
|
-
args.push(thunk(context.visit(arg)));
|
|
174205
|
-
}
|
|
174238
|
+
const args = raw_args.map(
|
|
174239
|
+
(arg) => thunk(context.visit(arg))
|
|
174240
|
+
);
|
|
174206
174241
|
let snippet_function = context.visit(callee);
|
|
174207
174242
|
if (context.state.options.dev) {
|
|
174208
174243
|
snippet_function = call("$.validate_snippet", snippet_function);
|
|
174209
174244
|
}
|
|
174210
|
-
if (
|
|
174211
|
-
context.state.init.push(
|
|
174245
|
+
if (node.metadata.dynamic) {
|
|
174246
|
+
context.state.init.push(
|
|
174247
|
+
stmt(call("$.snippet", context.state.node, thunk(snippet_function), ...args))
|
|
174248
|
+
);
|
|
174212
174249
|
} else {
|
|
174213
174250
|
context.state.init.push(
|
|
174214
174251
|
stmt(
|
|
174215
174252
|
(node.expression.type === "CallExpression" ? call : maybe_call)(
|
|
174216
174253
|
snippet_function,
|
|
174254
|
+
context.state.node,
|
|
174217
174255
|
...args
|
|
174218
174256
|
)
|
|
174219
174257
|
)
|
|
@@ -174268,7 +174306,7 @@ var template_visitors = {
|
|
|
174268
174306
|
}
|
|
174269
174307
|
}
|
|
174270
174308
|
if (node.name === "noscript") {
|
|
174271
|
-
context.state.template.push("
|
|
174309
|
+
context.state.template.push("<noscript></noscript>");
|
|
174272
174310
|
return;
|
|
174273
174311
|
}
|
|
174274
174312
|
if (node.name === "script") {
|
|
@@ -174293,6 +174331,7 @@ var template_visitors = {
|
|
|
174293
174331
|
let has_content_editable_binding = false;
|
|
174294
174332
|
let img_might_be_lazy = false;
|
|
174295
174333
|
let might_need_event_replaying = false;
|
|
174334
|
+
let has_direction_attribute = false;
|
|
174296
174335
|
if (is_custom_element) {
|
|
174297
174336
|
metadata.context.template_needs_import_node = true;
|
|
174298
174337
|
}
|
|
@@ -174302,6 +174341,9 @@ var template_visitors = {
|
|
|
174302
174341
|
if (node.name === "img" && attribute.name === "loading") {
|
|
174303
174342
|
img_might_be_lazy = true;
|
|
174304
174343
|
}
|
|
174344
|
+
if (attribute.name === "dir") {
|
|
174345
|
+
has_direction_attribute = true;
|
|
174346
|
+
}
|
|
174305
174347
|
if ((attribute.name === "value" || attribute.name === "checked") && !is_text_attribute(attribute)) {
|
|
174306
174348
|
needs_input_reset = true;
|
|
174307
174349
|
needs_content_reset = true;
|
|
@@ -174426,8 +174468,10 @@ var template_visitors = {
|
|
|
174426
174468
|
node.name === "script" || state.preserve_whitespace,
|
|
174427
174469
|
state.options.preserveComments
|
|
174428
174470
|
);
|
|
174471
|
+
const has_declaration = node.fragment.nodes.some((node2) => node2.type === "SnippetBlock");
|
|
174472
|
+
const child_state = has_declaration ? { ...state, init: [], update: [], after_update: [] } : state;
|
|
174429
174473
|
for (const node2 of hoisted) {
|
|
174430
|
-
context.visit(node2,
|
|
174474
|
+
context.visit(node2, child_state);
|
|
174431
174475
|
}
|
|
174432
174476
|
process_children(
|
|
174433
174477
|
trimmed,
|
|
@@ -174436,8 +174480,22 @@ var template_visitors = {
|
|
|
174436
174480
|
node.name === "template" ? member(context.state.node, id("content")) : context.state.node
|
|
174437
174481
|
),
|
|
174438
174482
|
true,
|
|
174439
|
-
{ ...context, state }
|
|
174483
|
+
{ ...context, state: child_state }
|
|
174440
174484
|
);
|
|
174485
|
+
if (has_declaration) {
|
|
174486
|
+
context.state.init.push(
|
|
174487
|
+
block3([
|
|
174488
|
+
...child_state.init,
|
|
174489
|
+
child_state.update.length > 0 ? serialize_render_stmt(child_state.update) : empty2,
|
|
174490
|
+
...child_state.after_update
|
|
174491
|
+
])
|
|
174492
|
+
);
|
|
174493
|
+
}
|
|
174494
|
+
if (has_direction_attribute) {
|
|
174495
|
+
context.state.update.push(
|
|
174496
|
+
stmt(assignment("=", member(node_id, id("dir")), member(node_id, id("dir"))))
|
|
174497
|
+
);
|
|
174498
|
+
}
|
|
174441
174499
|
if (child_locations.length > 0) {
|
|
174442
174500
|
location.push(child_locations);
|
|
174443
174501
|
}
|
|
@@ -174495,7 +174553,7 @@ var template_visitors = {
|
|
|
174495
174553
|
}
|
|
174496
174554
|
const inner = inner_context.state.init;
|
|
174497
174555
|
if (inner_context.state.update.length > 0) {
|
|
174498
|
-
inner.push(serialize_render_stmt(inner_context.state));
|
|
174556
|
+
inner.push(serialize_render_stmt(inner_context.state.update));
|
|
174499
174557
|
}
|
|
174500
174558
|
inner.push(...inner_context.state.after_update);
|
|
174501
174559
|
inner.push(
|
|
@@ -174590,7 +174648,7 @@ var template_visitors = {
|
|
|
174590
174648
|
const create_mutation = (expression_for_id) => {
|
|
174591
174649
|
return (assignment2, context2) => {
|
|
174592
174650
|
if (assignment2.left.type !== "Identifier" && assignment2.left.type !== "MemberExpression") {
|
|
174593
|
-
return serialize_set_binding(assignment2, context2, () => assignment2
|
|
174651
|
+
return serialize_set_binding(assignment2, context2, () => assignment2);
|
|
174594
174652
|
}
|
|
174595
174653
|
const left = object2(assignment2.left);
|
|
174596
174654
|
const value = get_assignment_value(assignment2, context2);
|
|
@@ -174598,7 +174656,7 @@ var template_visitors = {
|
|
|
174598
174656
|
"$.invalidate_inner_signals",
|
|
174599
174657
|
thunk(sequence(indirect_dependencies))
|
|
174600
174658
|
);
|
|
174601
|
-
const invalidate_store = store_to_invalidate ? call("$.invalidate_store", id("$$
|
|
174659
|
+
const invalidate_store = store_to_invalidate ? call("$.invalidate_store", id("$$stores"), literal2(store_to_invalidate)) : void 0;
|
|
174602
174660
|
const sequence3 = [];
|
|
174603
174661
|
if (!context2.state.analysis.runes)
|
|
174604
174662
|
sequence3.push(invalidate);
|
|
@@ -174814,7 +174872,7 @@ var template_visitors = {
|
|
|
174814
174872
|
if (context.state.options.dev) {
|
|
174815
174873
|
snippet = call("$.wrap_snippet", snippet, id(context.state.analysis.name));
|
|
174816
174874
|
}
|
|
174817
|
-
const declaration2 =
|
|
174875
|
+
const declaration2 = const_builder(node.expression, snippet);
|
|
174818
174876
|
if (context.path.length === 1 && context.path[0].type === "Fragment") {
|
|
174819
174877
|
context.state.analysis.top_level_snippets.push(declaration2);
|
|
174820
174878
|
} else {
|
|
@@ -174861,7 +174919,7 @@ var template_visitors = {
|
|
|
174861
174919
|
assignment2,
|
|
174862
174920
|
context,
|
|
174863
174921
|
() => visit24(assignment2),
|
|
174864
|
-
|
|
174922
|
+
null,
|
|
174865
174923
|
{
|
|
174866
174924
|
skip_proxy_and_freeze: true
|
|
174867
174925
|
}
|
|
@@ -175019,19 +175077,17 @@ var template_visitors = {
|
|
|
175019
175077
|
}
|
|
175020
175078
|
},
|
|
175021
175079
|
Component(node, context) {
|
|
175022
|
-
|
|
175023
|
-
node
|
|
175024
|
-
);
|
|
175025
|
-
if (binding !== null && binding.kind !== "normal") {
|
|
175026
|
-
const component2 = serialize_inline_component(node, "$$component", context);
|
|
175080
|
+
if (node.metadata.dynamic) {
|
|
175081
|
+
const component2 = serialize_inline_component(node, "$$component", context, id("$$anchor"));
|
|
175027
175082
|
context.state.init.push(
|
|
175028
175083
|
stmt(
|
|
175029
175084
|
call(
|
|
175030
175085
|
"$.component",
|
|
175086
|
+
context.state.node,
|
|
175031
175087
|
thunk(
|
|
175032
175088
|
context.visit(member_id(node.name))
|
|
175033
175089
|
),
|
|
175034
|
-
arrow([id("$$component")], block3([component2]))
|
|
175090
|
+
arrow([id("$$anchor"), id("$$component")], block3([component2]))
|
|
175035
175091
|
)
|
|
175036
175092
|
)
|
|
175037
175093
|
);
|
|
@@ -175844,14 +175900,14 @@ function remapping(input, loader, options) {
|
|
|
175844
175900
|
return new SourceMap(traceMappings(tree), opts);
|
|
175845
175901
|
}
|
|
175846
175902
|
|
|
175847
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
175903
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/utils/push_array.js
|
|
175848
175904
|
function push_array(array2, items) {
|
|
175849
175905
|
for (let i3 = 0; i3 < items.length; i3++) {
|
|
175850
175906
|
array2.push(items[i3]);
|
|
175851
175907
|
}
|
|
175852
175908
|
}
|
|
175853
175909
|
|
|
175854
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
175910
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/utils/mapped_code.js
|
|
175855
175911
|
function last_line_length(s3) {
|
|
175856
175912
|
return s3.length - s3.lastIndexOf("\n") - 1;
|
|
175857
175913
|
}
|
|
@@ -176083,7 +176139,7 @@ function get_basename(filename2) {
|
|
|
176083
176139
|
return filename2.split(/[/\\]/).pop();
|
|
176084
176140
|
}
|
|
176085
176141
|
|
|
176086
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
176142
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/validate-options.js
|
|
176087
176143
|
var common = {
|
|
176088
176144
|
filename: string(void 0),
|
|
176089
176145
|
rootDir: string(typeof process !== "undefined" ? process.cwd?.() : void 0),
|
|
@@ -176257,7 +176313,7 @@ function throw_error2(msg) {
|
|
|
176257
176313
|
options_invalid_value(null, msg);
|
|
176258
176314
|
}
|
|
176259
176315
|
|
|
176260
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
176316
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/preprocess/decode_sourcemap.js
|
|
176261
176317
|
function decoded_sourcemap_from_generator(generator) {
|
|
176262
176318
|
let previous_generated_line = 1;
|
|
176263
176319
|
const converted_mappings = [[]];
|
|
@@ -176314,7 +176370,7 @@ function decode_map(processed) {
|
|
|
176314
176370
|
return decoded_map;
|
|
176315
176371
|
}
|
|
176316
176372
|
|
|
176317
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
176373
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/preprocess/replace_in_code.js
|
|
176318
176374
|
function slice_source(code_slice, offset2, { file_basename, filename: filename2, get_location }) {
|
|
176319
176375
|
return {
|
|
176320
176376
|
source: code_slice,
|
|
@@ -176357,7 +176413,7 @@ async function replace_in_code(regex, get_replacement, location) {
|
|
|
176357
176413
|
return perform_replacements(replacements2, location);
|
|
176358
176414
|
}
|
|
176359
176415
|
|
|
176360
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
176416
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/preprocess/index.js
|
|
176361
176417
|
var PreprocessResult = class {
|
|
176362
176418
|
source;
|
|
176363
176419
|
filename;
|
|
@@ -176540,7 +176596,7 @@ async function preprocess(source, preprocessor, options) {
|
|
|
176540
176596
|
return result.to_processed();
|
|
176541
176597
|
}
|
|
176542
176598
|
|
|
176543
|
-
// ../../node_modules/.pnpm/svelte@5.0.0-next.
|
|
176599
|
+
// ../../node_modules/.pnpm/svelte@5.0.0-next.175/node_modules/svelte/src/compiler/index.js
|
|
176544
176600
|
function parse16(source, { filename: filename2, rootDir, modern } = {}) {
|
|
176545
176601
|
reset3(source, { filename: filename2, rootDir });
|
|
176546
176602
|
const ast = parse15(source);
|