@vue/compiler-sfc 3.6.0-beta.14 → 3.6.0-beta.15
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/dist/compiler-sfc.cjs.js +3658 -706
- package/dist/compiler-sfc.esm-browser.js +608 -560
- package/package.json +9 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compiler-sfc v3.6.0-beta.
|
|
2
|
+
* @vue/compiler-sfc v3.6.0-beta.15
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -3607,7 +3607,7 @@ const errorMessages$1 = {
|
|
|
3607
3607
|
[54]: ``
|
|
3608
3608
|
};
|
|
3609
3609
|
//#endregion
|
|
3610
|
-
//#region node_modules/.pnpm/@babel+parser@7.29.
|
|
3610
|
+
//#region node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/lib/index.js
|
|
3611
3611
|
var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3612
3612
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3613
3613
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
@@ -17141,7 +17141,7 @@ const tokenizer = new Tokenizer(stack, {
|
|
|
17141
17141
|
}
|
|
17142
17142
|
},
|
|
17143
17143
|
oncdata(start, end) {
|
|
17144
|
-
if (stack[0].ns !== 0) onText(getSlice(start, end), start, end);
|
|
17144
|
+
if ((stack[0] ? stack[0].ns : currentOptions.ns) !== 0) onText(getSlice(start, end), start, end);
|
|
17145
17145
|
else emitError(1, start - 9);
|
|
17146
17146
|
},
|
|
17147
17147
|
onprocessinginstruction(start) {
|
|
@@ -17615,7 +17615,7 @@ function getSelfName(filename) {
|
|
|
17615
17615
|
const nameMatch = filename.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/);
|
|
17616
17616
|
return nameMatch ? capitalize(camelize(nameMatch[1])) : null;
|
|
17617
17617
|
}
|
|
17618
|
-
function createTransformContext(root, { filename = "", prefixIdentifiers = false, hoistStatic = false, hmr = false, cacheHandlers = false, nodeTransforms = [], directiveTransforms = {}, transformHoist = null, isBuiltInComponent = NOOP, isCustomElement = NOOP, expressionPlugins = [], scopeId = null, slotted = true, ssr = false, inSSR = false, ssrCssVars = ``, bindingMetadata = EMPTY_OBJ, inline = false, isTS = false, onError = defaultOnError, onWarn = defaultOnWarn, compatConfig }) {
|
|
17618
|
+
function createTransformContext(root, { filename = "", prefixIdentifiers = false, hoistStatic = false, hmr = false, cacheHandlers = false, nodeTransforms = [], directiveTransforms = {}, transformHoist = null, isBuiltInComponent = NOOP, isCustomElement = NOOP, expressionPlugins = [], scopeId = null, slotted = true, ssr = false, inSSR = false, ssrCssVars = ``, bindingMetadata = EMPTY_OBJ, inline = false, isTS = false, eventDelegation = true, onError = defaultOnError, onWarn = defaultOnWarn, compatConfig }) {
|
|
17619
17619
|
const context = {
|
|
17620
17620
|
filename,
|
|
17621
17621
|
selfName: getSelfName(filename),
|
|
@@ -17637,6 +17637,7 @@ function createTransformContext(root, { filename = "", prefixIdentifiers = false
|
|
|
17637
17637
|
bindingMetadata,
|
|
17638
17638
|
inline,
|
|
17639
17639
|
isTS,
|
|
17640
|
+
eventDelegation,
|
|
17640
17641
|
onError,
|
|
17641
17642
|
onWarn,
|
|
17642
17643
|
compatConfig,
|
|
@@ -17648,6 +17649,7 @@ function createTransformContext(root, { filename = "", prefixIdentifiers = false
|
|
|
17648
17649
|
imports: [],
|
|
17649
17650
|
cached: [],
|
|
17650
17651
|
constantCache: /* @__PURE__ */ new WeakMap(),
|
|
17652
|
+
vForMemoKeyedNodes: /* @__PURE__ */ new WeakSet(),
|
|
17651
17653
|
temps: 0,
|
|
17652
17654
|
identifiers: Object.create(null),
|
|
17653
17655
|
identifierScopes: Object.create(null),
|
|
@@ -20515,7 +20517,7 @@ const transformExpression = (node, context) => {
|
|
|
20515
20517
|
if (dir.type === 7 && dir.name !== "for") {
|
|
20516
20518
|
const exp = dir.exp;
|
|
20517
20519
|
const arg = dir.arg;
|
|
20518
|
-
if (exp && exp.type === 4 && !(dir.name === "on" && arg) && !(memo && arg && arg.type === 4 && arg.content === "key")) dir.exp = processExpression(exp, context, dir.name === "slot");
|
|
20520
|
+
if (exp && exp.type === 4 && !(dir.name === "on" && arg) && !(memo && context.vForMemoKeyedNodes.has(node) && arg && arg.type === 4 && arg.content === "key")) dir.exp = processExpression(exp, context, dir.name === "slot");
|
|
20519
20521
|
if (arg && arg.type === 4 && !arg.isStatic) dir.arg = processExpression(arg, context);
|
|
20520
20522
|
}
|
|
20521
20523
|
}
|
|
@@ -20774,7 +20776,10 @@ const transformFor = createStructuralDirectiveTransform$1("for", (node, dir, con
|
|
|
20774
20776
|
let keyExp = keyProp && (keyProp.type === 6 ? keyProp.value ? createSimpleExpression(keyProp.value.content, true) : void 0 : keyProp.exp);
|
|
20775
20777
|
const keyProperty = keyExp ? createObjectProperty(`key`, keyExp) : null;
|
|
20776
20778
|
if (isTemplate && memo) memo.exp = processExpression(memo.exp, context);
|
|
20777
|
-
if ((isTemplate || memo) && keyProperty && isDirKey)
|
|
20779
|
+
if ((isTemplate || memo) && keyProperty && isDirKey) {
|
|
20780
|
+
keyExp = keyProp.exp = keyProperty.value = processExpression(keyProperty.value, context);
|
|
20781
|
+
if (memo) context.vForMemoKeyedNodes.add(node);
|
|
20782
|
+
}
|
|
20778
20783
|
const isStableFragment = forNode.source.type === 4 && forNode.source.constType > 0;
|
|
20779
20784
|
const fragmentFlag = isStableFragment ? 64 : keyProp ? 128 : 256;
|
|
20780
20785
|
forNode.codegenNode = createVNodeCall(context, helper(FRAGMENT), void 0, renderExp, fragmentFlag, void 0, void 0, true, !isStableFragment, false, node.loc);
|
|
@@ -24866,6 +24871,13 @@ function getLiteralExpressionValue(exp, excludeNumber) {
|
|
|
24866
24871
|
}
|
|
24867
24872
|
return exp.isStatic ? exp.content : null;
|
|
24868
24873
|
}
|
|
24874
|
+
function isInTransition(context) {
|
|
24875
|
+
const parentNode = context.parent && context.parent.node;
|
|
24876
|
+
return !!(parentNode && isTransitionNode(parentNode));
|
|
24877
|
+
}
|
|
24878
|
+
function isTransitionNode(node) {
|
|
24879
|
+
return node.type === 1 && isTransitionTag(node.tag);
|
|
24880
|
+
}
|
|
24869
24881
|
function isTransitionTag(tag) {
|
|
24870
24882
|
tag = tag.toLowerCase();
|
|
24871
24883
|
return tag === "transition" || tag === "vaportransition";
|
|
@@ -25097,6 +25109,7 @@ const defaultOptions = {
|
|
|
25097
25109
|
bindingMetadata: EMPTY_OBJ,
|
|
25098
25110
|
inline: false,
|
|
25099
25111
|
isTS: false,
|
|
25112
|
+
eventDelegation: true,
|
|
25100
25113
|
onError: defaultOnError,
|
|
25101
25114
|
onWarn: defaultOnWarn
|
|
25102
25115
|
};
|
|
@@ -27649,7 +27662,6 @@ function transformNativeElement(node, propsResult, staticKey, singleRoot, contex
|
|
|
27649
27662
|
let template = "";
|
|
27650
27663
|
template += `<${tag}`;
|
|
27651
27664
|
if (scopeId) template += ` ${scopeId}`;
|
|
27652
|
-
const dynamicProps = [];
|
|
27653
27665
|
if (propsResult[0]) {
|
|
27654
27666
|
const [, dynamicArgs, expressions] = propsResult;
|
|
27655
27667
|
context.registerEffect(expressions, {
|
|
@@ -27670,54 +27682,24 @@ function transformNativeElement(node, propsResult, staticKey, singleRoot, contex
|
|
|
27670
27682
|
};
|
|
27671
27683
|
for (const prop of propsResult[1]) {
|
|
27672
27684
|
const { key, values } = prop;
|
|
27685
|
+
let foldedValue;
|
|
27673
27686
|
if (context.imports.some((imported) => values[0].content.includes(imported.exp.content))) {
|
|
27674
27687
|
if (!prevWasQuoted) template += ` `;
|
|
27675
27688
|
template += `${key.content}="${IMPORT_EXP_START}${values[0].content}${IMPORT_EXP_END}"`;
|
|
27676
27689
|
prevWasQuoted = true;
|
|
27677
|
-
} else if (key.isStatic && !prop.modifier && isBooleanAttr(key.content)) if (values.length === 1 && (values[0].isStatic || values[0].content === "''") && !dynamicKeys.includes(key.content)) {
|
|
27678
|
-
const value = values[0].content === "''" ? "" : values[0].content;
|
|
27679
|
-
appendTemplateProp(key.content, value);
|
|
27680
|
-
} else {
|
|
27681
|
-
const include = foldBooleanAttrValue(values);
|
|
27682
|
-
if (include != null) {
|
|
27683
|
-
if (include) appendTemplateProp(key.content);
|
|
27684
|
-
} else {
|
|
27685
|
-
dynamicProps.push(key.content);
|
|
27686
|
-
context.registerEffect(values, {
|
|
27687
|
-
type: 3,
|
|
27688
|
-
element: context.reference(),
|
|
27689
|
-
prop,
|
|
27690
|
-
tag
|
|
27691
|
-
}, getEffectIndex);
|
|
27692
|
-
}
|
|
27693
|
-
}
|
|
27694
|
-
else if (key.isStatic && !prop.modifier && hasBoundValue(values)) {
|
|
27695
|
-
let foldedValue;
|
|
27696
|
-
if (key.content === "class") foldedValue = foldClassValues(values);
|
|
27697
|
-
else if (key.content === "style") foldedValue = foldStyleValues(values);
|
|
27698
|
-
if (foldedValue != null) {
|
|
27699
|
-
if (foldedValue) appendTemplateProp(key.content, foldedValue, true);
|
|
27700
|
-
} else {
|
|
27701
|
-
dynamicProps.push(key.content);
|
|
27702
|
-
context.registerEffect(values, {
|
|
27703
|
-
type: 3,
|
|
27704
|
-
element: context.reference(),
|
|
27705
|
-
prop,
|
|
27706
|
-
tag
|
|
27707
|
-
}, getEffectIndex);
|
|
27708
|
-
}
|
|
27709
27690
|
} else if (key.isStatic && values.length === 1 && (values[0].isStatic || values[0].content === "''") && !dynamicKeys.includes(key.content)) {
|
|
27710
27691
|
const value = values[0].content === "''" ? "" : values[0].content;
|
|
27711
27692
|
appendTemplateProp(key.content, value);
|
|
27712
|
-
} else {
|
|
27713
|
-
|
|
27714
|
-
|
|
27715
|
-
|
|
27716
|
-
|
|
27717
|
-
|
|
27718
|
-
|
|
27719
|
-
|
|
27720
|
-
|
|
27693
|
+
} else if (key.isStatic && !prop.modifier && isBooleanAttr(key.content) && (foldedValue = foldBooleanAttrValue(values)) != null) {
|
|
27694
|
+
if (foldedValue) appendTemplateProp(key.content);
|
|
27695
|
+
} else if (key.isStatic && !prop.modifier && hasBoundValue(values) && (foldedValue = key.content === "class" ? foldClassValues(values) : key.content === "style" ? foldStyleValues(values) : void 0) != null) {
|
|
27696
|
+
if (foldedValue) appendTemplateProp(key.content, foldedValue, true);
|
|
27697
|
+
} else context.registerEffect(values, {
|
|
27698
|
+
type: 3,
|
|
27699
|
+
element: context.reference(),
|
|
27700
|
+
prop,
|
|
27701
|
+
tag
|
|
27702
|
+
}, getEffectIndex);
|
|
27721
27703
|
}
|
|
27722
27704
|
}
|
|
27723
27705
|
template += `>` + context.childrenTemplate.join("");
|
|
@@ -28446,12 +28428,10 @@ const transformVOn = (dir, node, context) => {
|
|
|
28446
28428
|
const { keyModifiers, nonKeyModifiers, eventOptionModifiers } = resolveModifiers(arg.isStatic ? `on${arg.content}` : arg, modifiers, null, loc);
|
|
28447
28429
|
let keyOverride;
|
|
28448
28430
|
const isStaticClick = arg.isStatic && arg.content.toLowerCase() === "click";
|
|
28449
|
-
if (nonKeyModifiers.includes("middle")) {
|
|
28450
|
-
if (keyOverride) {}
|
|
28451
|
-
if (!isStaticClick && !arg.isStatic) keyOverride = ["click", "mouseup"];
|
|
28452
|
-
}
|
|
28453
28431
|
if (nonKeyModifiers.includes("right")) {
|
|
28454
28432
|
if (!isStaticClick && !arg.isStatic) keyOverride = ["click", "contextmenu"];
|
|
28433
|
+
} else if (nonKeyModifiers.includes("middle")) {
|
|
28434
|
+
if (!isStaticClick && !arg.isStatic) keyOverride = ["click", "mouseup"];
|
|
28455
28435
|
}
|
|
28456
28436
|
arg = normalizeStaticEventArg(arg, nonKeyModifiers);
|
|
28457
28437
|
if (keyModifiers.length && isStaticExp(arg) && !isKeyboardEvent(`on${arg.content.toLowerCase()}`)) keyModifiers.length = 0;
|
|
@@ -28465,7 +28445,7 @@ const transformVOn = (dir, node, context) => {
|
|
|
28465
28445
|
options: eventOptionModifiers
|
|
28466
28446
|
}
|
|
28467
28447
|
};
|
|
28468
|
-
const delegate = arg.isStatic && !eventOptionModifiers.length && !hasStopHandlerForStaticEvent(node, arg.content) && delegatedEvents(arg.content);
|
|
28448
|
+
const delegate = context.options.eventDelegation && arg.isStatic && !eventOptionModifiers.length && !hasStopHandlerForStaticEvent(node, arg.content) && delegatedEvents(arg.content);
|
|
28469
28449
|
const operation = {
|
|
28470
28450
|
type: 6,
|
|
28471
28451
|
element: context.reference(),
|
|
@@ -28486,8 +28466,8 @@ function normalizeStaticEventArg(arg, nonKeyModifiers) {
|
|
|
28486
28466
|
if (!arg.isStatic) return arg;
|
|
28487
28467
|
let normalized = arg;
|
|
28488
28468
|
const isStaticClick = arg.content.toLowerCase() === "click";
|
|
28489
|
-
if (nonKeyModifiers.includes("middle") && isStaticClick) normalized = extend({}, normalized, { content: "mouseup" });
|
|
28490
28469
|
if (nonKeyModifiers.includes("right") && isStaticClick) normalized = extend({}, normalized, { content: "contextmenu" });
|
|
28470
|
+
else if (nonKeyModifiers.includes("middle") && isStaticClick) normalized = extend({}, normalized, { content: "mouseup" });
|
|
28491
28471
|
return normalized;
|
|
28492
28472
|
}
|
|
28493
28473
|
function hasStopHandlerForStaticEvent(node, eventName) {
|
|
@@ -28688,11 +28668,14 @@ function processIf(node, dir, context) {
|
|
|
28688
28668
|
}
|
|
28689
28669
|
while (lastIfNode.negative && lastIfNode.negative.type === 15) lastIfNode = lastIfNode.negative;
|
|
28690
28670
|
if (dir.name === "else-if" && lastIfNode.negative) context.options.onError(createCompilerError(30, node.loc));
|
|
28691
|
-
|
|
28692
|
-
|
|
28693
|
-
|
|
28671
|
+
const comments = context.comment;
|
|
28672
|
+
if (comments.length) {
|
|
28673
|
+
if (!isInTransition(context)) {
|
|
28674
|
+
node = wrapTemplate(node, ["else-if", "else"]);
|
|
28675
|
+
context.node = node = extend({}, node, { children: [...comments, ...node.children] });
|
|
28676
|
+
}
|
|
28677
|
+
comments.length = 0;
|
|
28694
28678
|
}
|
|
28695
|
-
context.root.comment = [];
|
|
28696
28679
|
const [branch, onExit] = createIfBranch(node, context);
|
|
28697
28680
|
if (dir.name === "else") lastIfNode.negative = branch;
|
|
28698
28681
|
else lastIfNode.negative = {
|
|
@@ -33471,7 +33454,7 @@ const trimPlugin = () => {
|
|
|
33471
33454
|
};
|
|
33472
33455
|
trimPlugin.postcss = true;
|
|
33473
33456
|
//#endregion
|
|
33474
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
33457
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/util/unesc.js
|
|
33475
33458
|
var require_unesc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
33476
33459
|
exports.__esModule = true;
|
|
33477
33460
|
exports["default"] = unesc;
|
|
@@ -33523,7 +33506,7 @@ var require_unesc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
33523
33506
|
module.exports = exports.default;
|
|
33524
33507
|
}));
|
|
33525
33508
|
//#endregion
|
|
33526
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
33509
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/util/getProp.js
|
|
33527
33510
|
var require_getProp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
33528
33511
|
exports.__esModule = true;
|
|
33529
33512
|
exports["default"] = getProp;
|
|
@@ -33539,7 +33522,7 @@ var require_getProp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
33539
33522
|
module.exports = exports.default;
|
|
33540
33523
|
}));
|
|
33541
33524
|
//#endregion
|
|
33542
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
33525
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/util/ensureObject.js
|
|
33543
33526
|
var require_ensureObject = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
33544
33527
|
exports.__esModule = true;
|
|
33545
33528
|
exports["default"] = ensureObject;
|
|
@@ -33554,7 +33537,7 @@ var require_ensureObject = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
33554
33537
|
module.exports = exports.default;
|
|
33555
33538
|
}));
|
|
33556
33539
|
//#endregion
|
|
33557
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
33540
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/util/stripComments.js
|
|
33558
33541
|
var require_stripComments = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
33559
33542
|
exports.__esModule = true;
|
|
33560
33543
|
exports["default"] = stripComments;
|
|
@@ -33575,38 +33558,93 @@ var require_stripComments = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
33575
33558
|
module.exports = exports.default;
|
|
33576
33559
|
}));
|
|
33577
33560
|
//#endregion
|
|
33578
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
33561
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/util/maxNestingDepth.js
|
|
33562
|
+
var require_maxNestingDepth = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
33563
|
+
exports.__esModule = true;
|
|
33564
|
+
exports.MAX_NESTING_DEPTH = void 0;
|
|
33565
|
+
exports["default"] = resolveMaxNestingDepth;
|
|
33566
|
+
/**
|
|
33567
|
+
* The default maximum selector nesting depth allowed when parsing or
|
|
33568
|
+
* serializing a selector. Going beyond this would otherwise recurse deeply
|
|
33569
|
+
* enough to overflow the call stack (CVE-2026-9358 / CWE-674). Real-world
|
|
33570
|
+
* selectors never get anywhere near this, so it acts purely as a safety net
|
|
33571
|
+
* that turns an uncatchable stack overflow into a catchable error.
|
|
33572
|
+
*/
|
|
33573
|
+
var MAX_NESTING_DEPTH = exports.MAX_NESTING_DEPTH = 256;
|
|
33574
|
+
/**
|
|
33575
|
+
* Coerce a user-supplied nesting-depth limit into a safe value. Anything that
|
|
33576
|
+
* is not a non-negative safe integer (NaN, Infinity, negative numbers, or a
|
|
33577
|
+
* non-number) would disable or break the guard, so it falls back to the
|
|
33578
|
+
* default.
|
|
33579
|
+
*
|
|
33580
|
+
* @param {unknown} value the limit provided through the `maxNestingDepth` option
|
|
33581
|
+
* @returns {number} a safe, non-negative integer limit
|
|
33582
|
+
*/
|
|
33583
|
+
function resolveMaxNestingDepth(value) {
|
|
33584
|
+
return Number.isSafeInteger(value) && value >= 0 ? value : MAX_NESTING_DEPTH;
|
|
33585
|
+
}
|
|
33586
|
+
}));
|
|
33587
|
+
//#endregion
|
|
33588
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/util/index.js
|
|
33579
33589
|
var require_util$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
33580
33590
|
exports.__esModule = true;
|
|
33581
|
-
exports.unesc = exports.stripComments = exports.getProp = exports.ensureObject = void 0;
|
|
33591
|
+
exports.unesc = exports.stripComments = exports.resolveMaxNestingDepth = exports.getProp = exports.ensureObject = exports.MAX_NESTING_DEPTH = void 0;
|
|
33582
33592
|
exports.unesc = _interopRequireDefault(require_unesc())["default"];
|
|
33583
33593
|
exports.getProp = _interopRequireDefault(require_getProp())["default"];
|
|
33584
33594
|
exports.ensureObject = _interopRequireDefault(require_ensureObject())["default"];
|
|
33585
33595
|
exports.stripComments = _interopRequireDefault(require_stripComments())["default"];
|
|
33586
|
-
|
|
33587
|
-
|
|
33596
|
+
var _maxNestingDepth = _interopRequireWildcard(require_maxNestingDepth());
|
|
33597
|
+
exports.resolveMaxNestingDepth = _maxNestingDepth["default"];
|
|
33598
|
+
exports.MAX_NESTING_DEPTH = _maxNestingDepth.MAX_NESTING_DEPTH;
|
|
33599
|
+
function _interopRequireWildcard(e, t) {
|
|
33600
|
+
if ("function" == typeof WeakMap) var r = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
|
|
33601
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
33602
|
+
if (!t && e && e.__esModule) return e;
|
|
33603
|
+
var o, i, f = {
|
|
33604
|
+
__proto__: null,
|
|
33605
|
+
"default": e
|
|
33606
|
+
};
|
|
33607
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
33608
|
+
if (o = t ? n : r) {
|
|
33609
|
+
if (o.has(e)) return o.get(e);
|
|
33610
|
+
o.set(e, f);
|
|
33611
|
+
}
|
|
33612
|
+
for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]);
|
|
33613
|
+
return f;
|
|
33614
|
+
})(e, t);
|
|
33615
|
+
}
|
|
33616
|
+
function _interopRequireDefault(e) {
|
|
33617
|
+
return e && e.__esModule ? e : { "default": e };
|
|
33588
33618
|
}
|
|
33589
33619
|
}));
|
|
33590
33620
|
//#endregion
|
|
33591
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
33621
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/node.js
|
|
33592
33622
|
var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
33593
33623
|
exports.__esModule = true;
|
|
33594
33624
|
exports["default"] = void 0;
|
|
33595
33625
|
var _util = require_util$1();
|
|
33596
|
-
function _defineProperties(
|
|
33597
|
-
for (var
|
|
33598
|
-
var
|
|
33599
|
-
|
|
33600
|
-
descriptor.configurable = true;
|
|
33601
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
33602
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
33626
|
+
function _defineProperties(e, r) {
|
|
33627
|
+
for (var t = 0; t < r.length; t++) {
|
|
33628
|
+
var o = r[t];
|
|
33629
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
33603
33630
|
}
|
|
33604
33631
|
}
|
|
33605
|
-
function _createClass(
|
|
33606
|
-
|
|
33607
|
-
|
|
33608
|
-
|
|
33609
|
-
|
|
33632
|
+
function _createClass(e, r, t) {
|
|
33633
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
33634
|
+
}
|
|
33635
|
+
function _toPropertyKey(t) {
|
|
33636
|
+
var i = _toPrimitive(t, "string");
|
|
33637
|
+
return "symbol" == typeof i ? i : i + "";
|
|
33638
|
+
}
|
|
33639
|
+
function _toPrimitive(t, r) {
|
|
33640
|
+
if ("object" != typeof t || !t) return t;
|
|
33641
|
+
var e = t[Symbol.toPrimitive];
|
|
33642
|
+
if (void 0 !== e) {
|
|
33643
|
+
var i = e.call(t, r || "default");
|
|
33644
|
+
if ("object" != typeof i) return i;
|
|
33645
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
33646
|
+
}
|
|
33647
|
+
return ("string" === r ? String : Number)(t);
|
|
33610
33648
|
}
|
|
33611
33649
|
var cloneNode = function cloneNode(obj, parent) {
|
|
33612
33650
|
if (typeof obj !== "object" || obj === null) return obj;
|
|
@@ -33695,6 +33733,9 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
33695
33733
|
this.rawSpaceAfter
|
|
33696
33734
|
].join("");
|
|
33697
33735
|
};
|
|
33736
|
+
_proto._stringify = function _stringify() {
|
|
33737
|
+
return this.toString();
|
|
33738
|
+
};
|
|
33698
33739
|
_createClass(Node, [{
|
|
33699
33740
|
key: "rawSpaceBefore",
|
|
33700
33741
|
get: function get() {
|
|
@@ -33723,7 +33764,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
33723
33764
|
module.exports = exports.default;
|
|
33724
33765
|
}));
|
|
33725
33766
|
//#endregion
|
|
33726
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
33767
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/types.js
|
|
33727
33768
|
var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
33728
33769
|
exports.__esModule = true;
|
|
33729
33770
|
exports.UNIVERSAL = exports.TAG = exports.STRING = exports.SELECTOR = exports.ROOT = exports.PSEUDO = exports.NESTING = exports.ID = exports.COMMENT = exports.COMBINATOR = exports.CLASS = exports.ATTRIBUTE = void 0;
|
|
@@ -33741,94 +33782,90 @@ var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
33741
33782
|
exports.UNIVERSAL = "universal";
|
|
33742
33783
|
}));
|
|
33743
33784
|
//#endregion
|
|
33744
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
33785
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/container.js
|
|
33745
33786
|
var require_container = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
33746
33787
|
exports.__esModule = true;
|
|
33747
33788
|
exports["default"] = void 0;
|
|
33789
|
+
var _util = require_util$1();
|
|
33748
33790
|
var _node = _interopRequireDefault(require_node());
|
|
33749
33791
|
var types = _interopRequireWildcard(require_types());
|
|
33750
|
-
function
|
|
33751
|
-
if (typeof WeakMap
|
|
33752
|
-
|
|
33753
|
-
|
|
33754
|
-
|
|
33755
|
-
|
|
33756
|
-
|
|
33757
|
-
|
|
33758
|
-
|
|
33759
|
-
|
|
33760
|
-
|
|
33761
|
-
|
|
33762
|
-
|
|
33763
|
-
|
|
33764
|
-
|
|
33765
|
-
|
|
33766
|
-
|
|
33767
|
-
|
|
33768
|
-
|
|
33769
|
-
|
|
33770
|
-
|
|
33771
|
-
|
|
33772
|
-
return
|
|
33773
|
-
|
|
33774
|
-
|
|
33775
|
-
|
|
33776
|
-
}
|
|
33777
|
-
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
33778
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
33779
|
-
if (it) return (it = it.call(o)).next.bind(it);
|
|
33780
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
33781
|
-
if (it) o = it;
|
|
33782
|
-
var i = 0;
|
|
33792
|
+
function _interopRequireWildcard(e, t) {
|
|
33793
|
+
if ("function" == typeof WeakMap) var r = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
|
|
33794
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
33795
|
+
if (!t && e && e.__esModule) return e;
|
|
33796
|
+
var o, i, f = {
|
|
33797
|
+
__proto__: null,
|
|
33798
|
+
"default": e
|
|
33799
|
+
};
|
|
33800
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
33801
|
+
if (o = t ? n : r) {
|
|
33802
|
+
if (o.has(e)) return o.get(e);
|
|
33803
|
+
o.set(e, f);
|
|
33804
|
+
}
|
|
33805
|
+
for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]);
|
|
33806
|
+
return f;
|
|
33807
|
+
})(e, t);
|
|
33808
|
+
}
|
|
33809
|
+
function _interopRequireDefault(e) {
|
|
33810
|
+
return e && e.__esModule ? e : { "default": e };
|
|
33811
|
+
}
|
|
33812
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
33813
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
33814
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
33815
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
33816
|
+
t && (r = t);
|
|
33817
|
+
var o = 0;
|
|
33783
33818
|
return function() {
|
|
33784
|
-
|
|
33785
|
-
|
|
33786
|
-
|
|
33787
|
-
value: o[i++]
|
|
33819
|
+
return o >= r.length ? { done: !0 } : {
|
|
33820
|
+
done: !1,
|
|
33821
|
+
value: r[o++]
|
|
33788
33822
|
};
|
|
33789
33823
|
};
|
|
33790
33824
|
}
|
|
33791
33825
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
33792
33826
|
}
|
|
33793
|
-
function _unsupportedIterableToArray(
|
|
33794
|
-
if (
|
|
33795
|
-
|
|
33796
|
-
|
|
33797
|
-
|
|
33798
|
-
|
|
33799
|
-
|
|
33800
|
-
|
|
33801
|
-
|
|
33802
|
-
|
|
33803
|
-
|
|
33804
|
-
|
|
33805
|
-
|
|
33806
|
-
|
|
33807
|
-
|
|
33808
|
-
|
|
33809
|
-
|
|
33810
|
-
|
|
33811
|
-
|
|
33812
|
-
|
|
33813
|
-
|
|
33814
|
-
|
|
33815
|
-
|
|
33816
|
-
|
|
33817
|
-
|
|
33818
|
-
|
|
33819
|
-
return
|
|
33820
|
-
|
|
33821
|
-
|
|
33822
|
-
|
|
33823
|
-
|
|
33824
|
-
|
|
33825
|
-
|
|
33826
|
-
|
|
33827
|
-
|
|
33828
|
-
|
|
33829
|
-
|
|
33830
|
-
|
|
33831
|
-
|
|
33827
|
+
function _unsupportedIterableToArray(r, a) {
|
|
33828
|
+
if (r) {
|
|
33829
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
33830
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
33831
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
33832
|
+
}
|
|
33833
|
+
}
|
|
33834
|
+
function _arrayLikeToArray(r, a) {
|
|
33835
|
+
(null == a || a > r.length) && (a = r.length);
|
|
33836
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
33837
|
+
return n;
|
|
33838
|
+
}
|
|
33839
|
+
function _defineProperties(e, r) {
|
|
33840
|
+
for (var t = 0; t < r.length; t++) {
|
|
33841
|
+
var o = r[t];
|
|
33842
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
33843
|
+
}
|
|
33844
|
+
}
|
|
33845
|
+
function _createClass(e, r, t) {
|
|
33846
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
33847
|
+
}
|
|
33848
|
+
function _toPropertyKey(t) {
|
|
33849
|
+
var i = _toPrimitive(t, "string");
|
|
33850
|
+
return "symbol" == typeof i ? i : i + "";
|
|
33851
|
+
}
|
|
33852
|
+
function _toPrimitive(t, r) {
|
|
33853
|
+
if ("object" != typeof t || !t) return t;
|
|
33854
|
+
var e = t[Symbol.toPrimitive];
|
|
33855
|
+
if (void 0 !== e) {
|
|
33856
|
+
var i = e.call(t, r || "default");
|
|
33857
|
+
if ("object" != typeof i) return i;
|
|
33858
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
33859
|
+
}
|
|
33860
|
+
return ("string" === r ? String : Number)(t);
|
|
33861
|
+
}
|
|
33862
|
+
function _inheritsLoose(t, o) {
|
|
33863
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
33864
|
+
}
|
|
33865
|
+
function _setPrototypeOf(t, e) {
|
|
33866
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
33867
|
+
return t.__proto__ = e, t;
|
|
33868
|
+
}, _setPrototypeOf(t, e);
|
|
33832
33869
|
}
|
|
33833
33870
|
exports["default"] = /* @__PURE__ */ function(_Node) {
|
|
33834
33871
|
_inheritsLoose(Container, _Node);
|
|
@@ -34016,21 +34053,21 @@ var require_container = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34016
34053
|
});
|
|
34017
34054
|
};
|
|
34018
34055
|
_proto.walkUniversals = function walkUniversals(callback) {
|
|
34019
|
-
var
|
|
34056
|
+
var _this0 = this;
|
|
34020
34057
|
return this.walk(function(selector) {
|
|
34021
|
-
if (selector.type === types.UNIVERSAL) return callback.call(
|
|
34058
|
+
if (selector.type === types.UNIVERSAL) return callback.call(_this0, selector);
|
|
34022
34059
|
});
|
|
34023
34060
|
};
|
|
34024
34061
|
_proto.split = function split(callback) {
|
|
34025
|
-
var
|
|
34062
|
+
var _this1 = this;
|
|
34026
34063
|
var current = [];
|
|
34027
34064
|
return this.reduce(function(memo, node, index) {
|
|
34028
|
-
var split = callback.call(
|
|
34065
|
+
var split = callback.call(_this1, node);
|
|
34029
34066
|
current.push(node);
|
|
34030
34067
|
if (split) {
|
|
34031
34068
|
memo.push(current);
|
|
34032
34069
|
current = [];
|
|
34033
|
-
} else if (index ===
|
|
34070
|
+
} else if (index === _this1.length - 1) memo.push(current);
|
|
34034
34071
|
return memo;
|
|
34035
34072
|
}, []);
|
|
34036
34073
|
};
|
|
@@ -34052,8 +34089,14 @@ var require_container = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34052
34089
|
_proto.sort = function sort(callback) {
|
|
34053
34090
|
return this.nodes.sort(callback);
|
|
34054
34091
|
};
|
|
34055
|
-
_proto.toString = function toString() {
|
|
34056
|
-
|
|
34092
|
+
_proto.toString = function toString(options) {
|
|
34093
|
+
if (options === void 0) options = {};
|
|
34094
|
+
return this._stringify(options, 0, (0, _util.resolveMaxNestingDepth)(options.maxNestingDepth));
|
|
34095
|
+
};
|
|
34096
|
+
_proto._stringify = function _stringify(options, depth, max) {
|
|
34097
|
+
return this.map(function(child) {
|
|
34098
|
+
return child._stringify(options, depth, max);
|
|
34099
|
+
}).join("");
|
|
34057
34100
|
};
|
|
34058
34101
|
_createClass(Container, [
|
|
34059
34102
|
{
|
|
@@ -34080,41 +34123,45 @@ var require_container = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34080
34123
|
module.exports = exports.default;
|
|
34081
34124
|
}));
|
|
34082
34125
|
//#endregion
|
|
34083
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
34126
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/root.js
|
|
34084
34127
|
var require_root = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34085
34128
|
exports.__esModule = true;
|
|
34086
34129
|
exports["default"] = void 0;
|
|
34087
34130
|
var _container = _interopRequireDefault(require_container());
|
|
34088
34131
|
var _types = require_types();
|
|
34089
|
-
function _interopRequireDefault(
|
|
34090
|
-
return
|
|
34091
|
-
}
|
|
34092
|
-
function _defineProperties(
|
|
34093
|
-
for (var
|
|
34094
|
-
var
|
|
34095
|
-
|
|
34096
|
-
|
|
34097
|
-
|
|
34098
|
-
|
|
34099
|
-
}
|
|
34100
|
-
}
|
|
34101
|
-
function
|
|
34102
|
-
|
|
34103
|
-
|
|
34104
|
-
|
|
34105
|
-
|
|
34106
|
-
|
|
34107
|
-
|
|
34108
|
-
|
|
34109
|
-
|
|
34110
|
-
|
|
34111
|
-
|
|
34112
|
-
|
|
34113
|
-
|
|
34114
|
-
|
|
34115
|
-
|
|
34116
|
-
|
|
34117
|
-
|
|
34132
|
+
function _interopRequireDefault(e) {
|
|
34133
|
+
return e && e.__esModule ? e : { "default": e };
|
|
34134
|
+
}
|
|
34135
|
+
function _defineProperties(e, r) {
|
|
34136
|
+
for (var t = 0; t < r.length; t++) {
|
|
34137
|
+
var o = r[t];
|
|
34138
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
34139
|
+
}
|
|
34140
|
+
}
|
|
34141
|
+
function _createClass(e, r, t) {
|
|
34142
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
34143
|
+
}
|
|
34144
|
+
function _toPropertyKey(t) {
|
|
34145
|
+
var i = _toPrimitive(t, "string");
|
|
34146
|
+
return "symbol" == typeof i ? i : i + "";
|
|
34147
|
+
}
|
|
34148
|
+
function _toPrimitive(t, r) {
|
|
34149
|
+
if ("object" != typeof t || !t) return t;
|
|
34150
|
+
var e = t[Symbol.toPrimitive];
|
|
34151
|
+
if (void 0 !== e) {
|
|
34152
|
+
var i = e.call(t, r || "default");
|
|
34153
|
+
if ("object" != typeof i) return i;
|
|
34154
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
34155
|
+
}
|
|
34156
|
+
return ("string" === r ? String : Number)(t);
|
|
34157
|
+
}
|
|
34158
|
+
function _inheritsLoose(t, o) {
|
|
34159
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
34160
|
+
}
|
|
34161
|
+
function _setPrototypeOf(t, e) {
|
|
34162
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
34163
|
+
return t.__proto__ = e, t;
|
|
34164
|
+
}, _setPrototypeOf(t, e);
|
|
34118
34165
|
}
|
|
34119
34166
|
exports["default"] = /* @__PURE__ */ function(_Container) {
|
|
34120
34167
|
_inheritsLoose(Root, _Container);
|
|
@@ -34124,9 +34171,9 @@ var require_root = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34124
34171
|
return _this;
|
|
34125
34172
|
}
|
|
34126
34173
|
var _proto = Root.prototype;
|
|
34127
|
-
_proto.
|
|
34174
|
+
_proto._stringify = function _stringify(options, depth, max) {
|
|
34128
34175
|
var str = this.reduce(function(memo, selector) {
|
|
34129
|
-
memo.push(
|
|
34176
|
+
memo.push(selector._stringify(options, depth, max));
|
|
34130
34177
|
return memo;
|
|
34131
34178
|
}, []).join(",");
|
|
34132
34179
|
return this.trailingComma ? str + "," : str;
|
|
@@ -34146,26 +34193,22 @@ var require_root = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34146
34193
|
module.exports = exports.default;
|
|
34147
34194
|
}));
|
|
34148
34195
|
//#endregion
|
|
34149
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
34196
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/selector.js
|
|
34150
34197
|
var require_selector = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34151
34198
|
exports.__esModule = true;
|
|
34152
34199
|
exports["default"] = void 0;
|
|
34153
34200
|
var _container = _interopRequireDefault(require_container());
|
|
34154
34201
|
var _types = require_types();
|
|
34155
|
-
function _interopRequireDefault(
|
|
34156
|
-
return
|
|
34157
|
-
}
|
|
34158
|
-
function _inheritsLoose(
|
|
34159
|
-
|
|
34160
|
-
|
|
34161
|
-
|
|
34162
|
-
|
|
34163
|
-
|
|
34164
|
-
|
|
34165
|
-
o.__proto__ = p;
|
|
34166
|
-
return o;
|
|
34167
|
-
};
|
|
34168
|
-
return _setPrototypeOf(o, p);
|
|
34202
|
+
function _interopRequireDefault(e) {
|
|
34203
|
+
return e && e.__esModule ? e : { "default": e };
|
|
34204
|
+
}
|
|
34205
|
+
function _inheritsLoose(t, o) {
|
|
34206
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
34207
|
+
}
|
|
34208
|
+
function _setPrototypeOf(t, e) {
|
|
34209
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
34210
|
+
return t.__proto__ = e, t;
|
|
34211
|
+
}, _setPrototypeOf(t, e);
|
|
34169
34212
|
}
|
|
34170
34213
|
exports["default"] = /* @__PURE__ */ function(_Container) {
|
|
34171
34214
|
_inheritsLoose(Selector, _Container);
|
|
@@ -34240,7 +34283,7 @@ var require_cssesc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34240
34283
|
module.exports = cssesc;
|
|
34241
34284
|
}));
|
|
34242
34285
|
//#endregion
|
|
34243
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
34286
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/className.js
|
|
34244
34287
|
var require_className = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34245
34288
|
exports.__esModule = true;
|
|
34246
34289
|
exports["default"] = void 0;
|
|
@@ -34248,35 +34291,39 @@ var require_className = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34248
34291
|
var _util = require_util$1();
|
|
34249
34292
|
var _node = _interopRequireDefault(require_node());
|
|
34250
34293
|
var _types = require_types();
|
|
34251
|
-
function _interopRequireDefault(
|
|
34252
|
-
return
|
|
34253
|
-
}
|
|
34254
|
-
function _defineProperties(
|
|
34255
|
-
for (var
|
|
34256
|
-
var
|
|
34257
|
-
|
|
34258
|
-
|
|
34259
|
-
|
|
34260
|
-
|
|
34261
|
-
}
|
|
34262
|
-
}
|
|
34263
|
-
function
|
|
34264
|
-
|
|
34265
|
-
|
|
34266
|
-
|
|
34267
|
-
|
|
34268
|
-
|
|
34269
|
-
|
|
34270
|
-
|
|
34271
|
-
|
|
34272
|
-
|
|
34273
|
-
|
|
34274
|
-
|
|
34275
|
-
|
|
34276
|
-
|
|
34277
|
-
|
|
34278
|
-
|
|
34279
|
-
|
|
34294
|
+
function _interopRequireDefault(e) {
|
|
34295
|
+
return e && e.__esModule ? e : { "default": e };
|
|
34296
|
+
}
|
|
34297
|
+
function _defineProperties(e, r) {
|
|
34298
|
+
for (var t = 0; t < r.length; t++) {
|
|
34299
|
+
var o = r[t];
|
|
34300
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
34301
|
+
}
|
|
34302
|
+
}
|
|
34303
|
+
function _createClass(e, r, t) {
|
|
34304
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
34305
|
+
}
|
|
34306
|
+
function _toPropertyKey(t) {
|
|
34307
|
+
var i = _toPrimitive(t, "string");
|
|
34308
|
+
return "symbol" == typeof i ? i : i + "";
|
|
34309
|
+
}
|
|
34310
|
+
function _toPrimitive(t, r) {
|
|
34311
|
+
if ("object" != typeof t || !t) return t;
|
|
34312
|
+
var e = t[Symbol.toPrimitive];
|
|
34313
|
+
if (void 0 !== e) {
|
|
34314
|
+
var i = e.call(t, r || "default");
|
|
34315
|
+
if ("object" != typeof i) return i;
|
|
34316
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
34317
|
+
}
|
|
34318
|
+
return ("string" === r ? String : Number)(t);
|
|
34319
|
+
}
|
|
34320
|
+
function _inheritsLoose(t, o) {
|
|
34321
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
34322
|
+
}
|
|
34323
|
+
function _setPrototypeOf(t, e) {
|
|
34324
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
34325
|
+
return t.__proto__ = e, t;
|
|
34326
|
+
}, _setPrototypeOf(t, e);
|
|
34280
34327
|
}
|
|
34281
34328
|
exports["default"] = /* @__PURE__ */ function(_Node) {
|
|
34282
34329
|
_inheritsLoose(ClassName, _Node);
|
|
@@ -34311,26 +34358,22 @@ var require_className = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34311
34358
|
module.exports = exports.default;
|
|
34312
34359
|
}));
|
|
34313
34360
|
//#endregion
|
|
34314
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
34361
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/comment.js
|
|
34315
34362
|
var require_comment = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34316
34363
|
exports.__esModule = true;
|
|
34317
34364
|
exports["default"] = void 0;
|
|
34318
34365
|
var _node = _interopRequireDefault(require_node());
|
|
34319
34366
|
var _types = require_types();
|
|
34320
|
-
function _interopRequireDefault(
|
|
34321
|
-
return
|
|
34322
|
-
}
|
|
34323
|
-
function _inheritsLoose(
|
|
34324
|
-
|
|
34325
|
-
|
|
34326
|
-
|
|
34327
|
-
|
|
34328
|
-
|
|
34329
|
-
|
|
34330
|
-
o.__proto__ = p;
|
|
34331
|
-
return o;
|
|
34332
|
-
};
|
|
34333
|
-
return _setPrototypeOf(o, p);
|
|
34367
|
+
function _interopRequireDefault(e) {
|
|
34368
|
+
return e && e.__esModule ? e : { "default": e };
|
|
34369
|
+
}
|
|
34370
|
+
function _inheritsLoose(t, o) {
|
|
34371
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
34372
|
+
}
|
|
34373
|
+
function _setPrototypeOf(t, e) {
|
|
34374
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
34375
|
+
return t.__proto__ = e, t;
|
|
34376
|
+
}, _setPrototypeOf(t, e);
|
|
34334
34377
|
}
|
|
34335
34378
|
exports["default"] = /* @__PURE__ */ function(_Node) {
|
|
34336
34379
|
_inheritsLoose(Comment, _Node);
|
|
@@ -34344,26 +34387,22 @@ var require_comment = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34344
34387
|
module.exports = exports.default;
|
|
34345
34388
|
}));
|
|
34346
34389
|
//#endregion
|
|
34347
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
34390
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/id.js
|
|
34348
34391
|
var require_id = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34349
34392
|
exports.__esModule = true;
|
|
34350
34393
|
exports["default"] = void 0;
|
|
34351
34394
|
var _node = _interopRequireDefault(require_node());
|
|
34352
34395
|
var _types = require_types();
|
|
34353
|
-
function _interopRequireDefault(
|
|
34354
|
-
return
|
|
34355
|
-
}
|
|
34356
|
-
function _inheritsLoose(
|
|
34357
|
-
|
|
34358
|
-
|
|
34359
|
-
|
|
34360
|
-
|
|
34361
|
-
|
|
34362
|
-
|
|
34363
|
-
o.__proto__ = p;
|
|
34364
|
-
return o;
|
|
34365
|
-
};
|
|
34366
|
-
return _setPrototypeOf(o, p);
|
|
34396
|
+
function _interopRequireDefault(e) {
|
|
34397
|
+
return e && e.__esModule ? e : { "default": e };
|
|
34398
|
+
}
|
|
34399
|
+
function _inheritsLoose(t, o) {
|
|
34400
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
34401
|
+
}
|
|
34402
|
+
function _setPrototypeOf(t, e) {
|
|
34403
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
34404
|
+
return t.__proto__ = e, t;
|
|
34405
|
+
}, _setPrototypeOf(t, e);
|
|
34367
34406
|
}
|
|
34368
34407
|
exports["default"] = /* @__PURE__ */ function(_Node) {
|
|
34369
34408
|
_inheritsLoose(ID, _Node);
|
|
@@ -34381,42 +34420,46 @@ var require_id = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34381
34420
|
module.exports = exports.default;
|
|
34382
34421
|
}));
|
|
34383
34422
|
//#endregion
|
|
34384
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
34423
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/namespace.js
|
|
34385
34424
|
var require_namespace = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34386
34425
|
exports.__esModule = true;
|
|
34387
34426
|
exports["default"] = void 0;
|
|
34388
34427
|
var _cssesc = _interopRequireDefault(require_cssesc());
|
|
34389
34428
|
var _util = require_util$1();
|
|
34390
34429
|
var _node = _interopRequireDefault(require_node());
|
|
34391
|
-
function _interopRequireDefault(
|
|
34392
|
-
return
|
|
34393
|
-
}
|
|
34394
|
-
function _defineProperties(
|
|
34395
|
-
for (var
|
|
34396
|
-
var
|
|
34397
|
-
|
|
34398
|
-
|
|
34399
|
-
|
|
34400
|
-
|
|
34401
|
-
}
|
|
34402
|
-
}
|
|
34403
|
-
function
|
|
34404
|
-
|
|
34405
|
-
|
|
34406
|
-
|
|
34407
|
-
|
|
34408
|
-
|
|
34409
|
-
|
|
34410
|
-
|
|
34411
|
-
|
|
34412
|
-
|
|
34413
|
-
|
|
34414
|
-
|
|
34415
|
-
|
|
34416
|
-
|
|
34417
|
-
|
|
34418
|
-
|
|
34419
|
-
|
|
34430
|
+
function _interopRequireDefault(e) {
|
|
34431
|
+
return e && e.__esModule ? e : { "default": e };
|
|
34432
|
+
}
|
|
34433
|
+
function _defineProperties(e, r) {
|
|
34434
|
+
for (var t = 0; t < r.length; t++) {
|
|
34435
|
+
var o = r[t];
|
|
34436
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
34437
|
+
}
|
|
34438
|
+
}
|
|
34439
|
+
function _createClass(e, r, t) {
|
|
34440
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
34441
|
+
}
|
|
34442
|
+
function _toPropertyKey(t) {
|
|
34443
|
+
var i = _toPrimitive(t, "string");
|
|
34444
|
+
return "symbol" == typeof i ? i : i + "";
|
|
34445
|
+
}
|
|
34446
|
+
function _toPrimitive(t, r) {
|
|
34447
|
+
if ("object" != typeof t || !t) return t;
|
|
34448
|
+
var e = t[Symbol.toPrimitive];
|
|
34449
|
+
if (void 0 !== e) {
|
|
34450
|
+
var i = e.call(t, r || "default");
|
|
34451
|
+
if ("object" != typeof i) return i;
|
|
34452
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
34453
|
+
}
|
|
34454
|
+
return ("string" === r ? String : Number)(t);
|
|
34455
|
+
}
|
|
34456
|
+
function _inheritsLoose(t, o) {
|
|
34457
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
34458
|
+
}
|
|
34459
|
+
function _setPrototypeOf(t, e) {
|
|
34460
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
34461
|
+
return t.__proto__ = e, t;
|
|
34462
|
+
}, _setPrototypeOf(t, e);
|
|
34420
34463
|
}
|
|
34421
34464
|
exports["default"] = /* @__PURE__ */ function(_Node) {
|
|
34422
34465
|
_inheritsLoose(Namespace, _Node);
|
|
@@ -34476,26 +34519,22 @@ var require_namespace = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34476
34519
|
module.exports = exports.default;
|
|
34477
34520
|
}));
|
|
34478
34521
|
//#endregion
|
|
34479
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
34522
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/tag.js
|
|
34480
34523
|
var require_tag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34481
34524
|
exports.__esModule = true;
|
|
34482
34525
|
exports["default"] = void 0;
|
|
34483
34526
|
var _namespace = _interopRequireDefault(require_namespace());
|
|
34484
34527
|
var _types = require_types();
|
|
34485
|
-
function _interopRequireDefault(
|
|
34486
|
-
return
|
|
34487
|
-
}
|
|
34488
|
-
function _inheritsLoose(
|
|
34489
|
-
|
|
34490
|
-
|
|
34491
|
-
|
|
34492
|
-
|
|
34493
|
-
|
|
34494
|
-
|
|
34495
|
-
o.__proto__ = p;
|
|
34496
|
-
return o;
|
|
34497
|
-
};
|
|
34498
|
-
return _setPrototypeOf(o, p);
|
|
34528
|
+
function _interopRequireDefault(e) {
|
|
34529
|
+
return e && e.__esModule ? e : { "default": e };
|
|
34530
|
+
}
|
|
34531
|
+
function _inheritsLoose(t, o) {
|
|
34532
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
34533
|
+
}
|
|
34534
|
+
function _setPrototypeOf(t, e) {
|
|
34535
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
34536
|
+
return t.__proto__ = e, t;
|
|
34537
|
+
}, _setPrototypeOf(t, e);
|
|
34499
34538
|
}
|
|
34500
34539
|
exports["default"] = /* @__PURE__ */ function(_Namespace) {
|
|
34501
34540
|
_inheritsLoose(Tag, _Namespace);
|
|
@@ -34509,26 +34548,22 @@ var require_tag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34509
34548
|
module.exports = exports.default;
|
|
34510
34549
|
}));
|
|
34511
34550
|
//#endregion
|
|
34512
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
34551
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/string.js
|
|
34513
34552
|
var require_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34514
34553
|
exports.__esModule = true;
|
|
34515
34554
|
exports["default"] = void 0;
|
|
34516
34555
|
var _node = _interopRequireDefault(require_node());
|
|
34517
34556
|
var _types = require_types();
|
|
34518
|
-
function _interopRequireDefault(
|
|
34519
|
-
return
|
|
34520
|
-
}
|
|
34521
|
-
function _inheritsLoose(
|
|
34522
|
-
|
|
34523
|
-
|
|
34524
|
-
|
|
34525
|
-
|
|
34526
|
-
|
|
34527
|
-
|
|
34528
|
-
o.__proto__ = p;
|
|
34529
|
-
return o;
|
|
34530
|
-
};
|
|
34531
|
-
return _setPrototypeOf(o, p);
|
|
34557
|
+
function _interopRequireDefault(e) {
|
|
34558
|
+
return e && e.__esModule ? e : { "default": e };
|
|
34559
|
+
}
|
|
34560
|
+
function _inheritsLoose(t, o) {
|
|
34561
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
34562
|
+
}
|
|
34563
|
+
function _setPrototypeOf(t, e) {
|
|
34564
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
34565
|
+
return t.__proto__ = e, t;
|
|
34566
|
+
}, _setPrototypeOf(t, e);
|
|
34532
34567
|
}
|
|
34533
34568
|
exports["default"] = /* @__PURE__ */ function(_Node) {
|
|
34534
34569
|
_inheritsLoose(String, _Node);
|
|
@@ -34542,26 +34577,22 @@ var require_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34542
34577
|
module.exports = exports.default;
|
|
34543
34578
|
}));
|
|
34544
34579
|
//#endregion
|
|
34545
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
34580
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/pseudo.js
|
|
34546
34581
|
var require_pseudo = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34547
34582
|
exports.__esModule = true;
|
|
34548
34583
|
exports["default"] = void 0;
|
|
34549
34584
|
var _container = _interopRequireDefault(require_container());
|
|
34550
34585
|
var _types = require_types();
|
|
34551
|
-
function _interopRequireDefault(
|
|
34552
|
-
return
|
|
34553
|
-
}
|
|
34554
|
-
function _inheritsLoose(
|
|
34555
|
-
|
|
34556
|
-
|
|
34557
|
-
|
|
34558
|
-
|
|
34559
|
-
|
|
34560
|
-
|
|
34561
|
-
o.__proto__ = p;
|
|
34562
|
-
return o;
|
|
34563
|
-
};
|
|
34564
|
-
return _setPrototypeOf(o, p);
|
|
34586
|
+
function _interopRequireDefault(e) {
|
|
34587
|
+
return e && e.__esModule ? e : { "default": e };
|
|
34588
|
+
}
|
|
34589
|
+
function _inheritsLoose(t, o) {
|
|
34590
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
34591
|
+
}
|
|
34592
|
+
function _setPrototypeOf(t, e) {
|
|
34593
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
34594
|
+
return t.__proto__ = e, t;
|
|
34595
|
+
}, _setPrototypeOf(t, e);
|
|
34565
34596
|
}
|
|
34566
34597
|
exports["default"] = /* @__PURE__ */ function(_Container) {
|
|
34567
34598
|
_inheritsLoose(Pseudo, _Container);
|
|
@@ -34571,8 +34602,11 @@ var require_pseudo = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34571
34602
|
return _this;
|
|
34572
34603
|
}
|
|
34573
34604
|
var _proto = Pseudo.prototype;
|
|
34574
|
-
_proto.
|
|
34575
|
-
|
|
34605
|
+
_proto._stringify = function _stringify(options, depth, max) {
|
|
34606
|
+
if (depth >= max) throw new Error("Cannot serialize selector: nesting depth exceeds the maximum of " + max + ".");
|
|
34607
|
+
var params = this.length ? "(" + this.map(function(child) {
|
|
34608
|
+
return child._stringify(options, depth + 1, max);
|
|
34609
|
+
}).join(",") + ")" : "";
|
|
34576
34610
|
return [
|
|
34577
34611
|
this.rawSpaceBefore,
|
|
34578
34612
|
this.stringifyProperty("value"),
|
|
@@ -34642,7 +34676,7 @@ var require_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34642
34676
|
}
|
|
34643
34677
|
}));
|
|
34644
34678
|
//#endregion
|
|
34645
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
34679
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/attribute.js
|
|
34646
34680
|
var require_attribute = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
34647
34681
|
exports.__esModule = true;
|
|
34648
34682
|
exports["default"] = void 0;
|
|
@@ -34652,35 +34686,39 @@ var require_attribute = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34652
34686
|
var _namespace = _interopRequireDefault(require_namespace());
|
|
34653
34687
|
var _types = require_types();
|
|
34654
34688
|
var _CSSESC_QUOTE_OPTIONS;
|
|
34655
|
-
function _interopRequireDefault(
|
|
34656
|
-
return
|
|
34657
|
-
}
|
|
34658
|
-
function _defineProperties(
|
|
34659
|
-
for (var
|
|
34660
|
-
var
|
|
34661
|
-
|
|
34662
|
-
|
|
34663
|
-
|
|
34664
|
-
|
|
34665
|
-
}
|
|
34666
|
-
}
|
|
34667
|
-
function
|
|
34668
|
-
|
|
34669
|
-
|
|
34670
|
-
|
|
34671
|
-
|
|
34672
|
-
|
|
34673
|
-
|
|
34674
|
-
|
|
34675
|
-
|
|
34676
|
-
|
|
34677
|
-
|
|
34678
|
-
|
|
34679
|
-
|
|
34680
|
-
|
|
34681
|
-
|
|
34682
|
-
|
|
34683
|
-
|
|
34689
|
+
function _interopRequireDefault(e) {
|
|
34690
|
+
return e && e.__esModule ? e : { "default": e };
|
|
34691
|
+
}
|
|
34692
|
+
function _defineProperties(e, r) {
|
|
34693
|
+
for (var t = 0; t < r.length; t++) {
|
|
34694
|
+
var o = r[t];
|
|
34695
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
34696
|
+
}
|
|
34697
|
+
}
|
|
34698
|
+
function _createClass(e, r, t) {
|
|
34699
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
34700
|
+
}
|
|
34701
|
+
function _toPropertyKey(t) {
|
|
34702
|
+
var i = _toPrimitive(t, "string");
|
|
34703
|
+
return "symbol" == typeof i ? i : i + "";
|
|
34704
|
+
}
|
|
34705
|
+
function _toPrimitive(t, r) {
|
|
34706
|
+
if ("object" != typeof t || !t) return t;
|
|
34707
|
+
var e = t[Symbol.toPrimitive];
|
|
34708
|
+
if (void 0 !== e) {
|
|
34709
|
+
var i = e.call(t, r || "default");
|
|
34710
|
+
if ("object" != typeof i) return i;
|
|
34711
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
34712
|
+
}
|
|
34713
|
+
return ("string" === r ? String : Number)(t);
|
|
34714
|
+
}
|
|
34715
|
+
function _inheritsLoose(t, o) {
|
|
34716
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
34717
|
+
}
|
|
34718
|
+
function _setPrototypeOf(t, e) {
|
|
34719
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
34720
|
+
return t.__proto__ = e, t;
|
|
34721
|
+
}, _setPrototypeOf(t, e);
|
|
34684
34722
|
}
|
|
34685
34723
|
var deprecate = require_browser();
|
|
34686
34724
|
var WRAPPED_IN_QUOTES = /^('|")([^]*)\1$/;
|
|
@@ -34715,7 +34753,7 @@ var require_attribute = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34715
34753
|
opts.quoteMark = quoteMark;
|
|
34716
34754
|
return opts;
|
|
34717
34755
|
}
|
|
34718
|
-
var Attribute = /* @__PURE__ */ function(_Namespace) {
|
|
34756
|
+
var Attribute = exports["default"] = /* @__PURE__ */ function(_Namespace) {
|
|
34719
34757
|
_inheritsLoose(Attribute, _Namespace);
|
|
34720
34758
|
function Attribute(opts) {
|
|
34721
34759
|
var _this;
|
|
@@ -34949,7 +34987,6 @@ var require_attribute = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34949
34987
|
]);
|
|
34950
34988
|
return Attribute;
|
|
34951
34989
|
}(_namespace["default"]);
|
|
34952
|
-
exports["default"] = Attribute;
|
|
34953
34990
|
Attribute.NO_QUOTE = null;
|
|
34954
34991
|
Attribute.SINGLE_QUOTE = "'";
|
|
34955
34992
|
Attribute.DOUBLE_QUOTE = "\"";
|
|
@@ -34968,26 +35005,22 @@ var require_attribute = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34968
35005
|
}
|
|
34969
35006
|
}));
|
|
34970
35007
|
//#endregion
|
|
34971
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
35008
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/universal.js
|
|
34972
35009
|
var require_universal = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34973
35010
|
exports.__esModule = true;
|
|
34974
35011
|
exports["default"] = void 0;
|
|
34975
35012
|
var _namespace = _interopRequireDefault(require_namespace());
|
|
34976
35013
|
var _types = require_types();
|
|
34977
|
-
function _interopRequireDefault(
|
|
34978
|
-
return
|
|
34979
|
-
}
|
|
34980
|
-
function _inheritsLoose(
|
|
34981
|
-
|
|
34982
|
-
|
|
34983
|
-
|
|
34984
|
-
|
|
34985
|
-
|
|
34986
|
-
|
|
34987
|
-
o.__proto__ = p;
|
|
34988
|
-
return o;
|
|
34989
|
-
};
|
|
34990
|
-
return _setPrototypeOf(o, p);
|
|
35014
|
+
function _interopRequireDefault(e) {
|
|
35015
|
+
return e && e.__esModule ? e : { "default": e };
|
|
35016
|
+
}
|
|
35017
|
+
function _inheritsLoose(t, o) {
|
|
35018
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
35019
|
+
}
|
|
35020
|
+
function _setPrototypeOf(t, e) {
|
|
35021
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
35022
|
+
return t.__proto__ = e, t;
|
|
35023
|
+
}, _setPrototypeOf(t, e);
|
|
34991
35024
|
}
|
|
34992
35025
|
exports["default"] = /* @__PURE__ */ function(_Namespace) {
|
|
34993
35026
|
_inheritsLoose(Universal, _Namespace);
|
|
@@ -35002,26 +35035,22 @@ var require_universal = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35002
35035
|
module.exports = exports.default;
|
|
35003
35036
|
}));
|
|
35004
35037
|
//#endregion
|
|
35005
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
35038
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/combinator.js
|
|
35006
35039
|
var require_combinator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
35007
35040
|
exports.__esModule = true;
|
|
35008
35041
|
exports["default"] = void 0;
|
|
35009
35042
|
var _node = _interopRequireDefault(require_node());
|
|
35010
35043
|
var _types = require_types();
|
|
35011
|
-
function _interopRequireDefault(
|
|
35012
|
-
return
|
|
35013
|
-
}
|
|
35014
|
-
function _inheritsLoose(
|
|
35015
|
-
|
|
35016
|
-
|
|
35017
|
-
|
|
35018
|
-
|
|
35019
|
-
|
|
35020
|
-
|
|
35021
|
-
o.__proto__ = p;
|
|
35022
|
-
return o;
|
|
35023
|
-
};
|
|
35024
|
-
return _setPrototypeOf(o, p);
|
|
35044
|
+
function _interopRequireDefault(e) {
|
|
35045
|
+
return e && e.__esModule ? e : { "default": e };
|
|
35046
|
+
}
|
|
35047
|
+
function _inheritsLoose(t, o) {
|
|
35048
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
35049
|
+
}
|
|
35050
|
+
function _setPrototypeOf(t, e) {
|
|
35051
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
35052
|
+
return t.__proto__ = e, t;
|
|
35053
|
+
}, _setPrototypeOf(t, e);
|
|
35025
35054
|
}
|
|
35026
35055
|
exports["default"] = /* @__PURE__ */ function(_Node) {
|
|
35027
35056
|
_inheritsLoose(Combinator, _Node);
|
|
@@ -35035,26 +35064,22 @@ var require_combinator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35035
35064
|
module.exports = exports.default;
|
|
35036
35065
|
}));
|
|
35037
35066
|
//#endregion
|
|
35038
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
35067
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/nesting.js
|
|
35039
35068
|
var require_nesting = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
35040
35069
|
exports.__esModule = true;
|
|
35041
35070
|
exports["default"] = void 0;
|
|
35042
35071
|
var _node = _interopRequireDefault(require_node());
|
|
35043
35072
|
var _types = require_types();
|
|
35044
|
-
function _interopRequireDefault(
|
|
35045
|
-
return
|
|
35046
|
-
}
|
|
35047
|
-
function _inheritsLoose(
|
|
35048
|
-
|
|
35049
|
-
|
|
35050
|
-
|
|
35051
|
-
|
|
35052
|
-
|
|
35053
|
-
|
|
35054
|
-
o.__proto__ = p;
|
|
35055
|
-
return o;
|
|
35056
|
-
};
|
|
35057
|
-
return _setPrototypeOf(o, p);
|
|
35073
|
+
function _interopRequireDefault(e) {
|
|
35074
|
+
return e && e.__esModule ? e : { "default": e };
|
|
35075
|
+
}
|
|
35076
|
+
function _inheritsLoose(t, o) {
|
|
35077
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
35078
|
+
}
|
|
35079
|
+
function _setPrototypeOf(t, e) {
|
|
35080
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) {
|
|
35081
|
+
return t.__proto__ = e, t;
|
|
35082
|
+
}, _setPrototypeOf(t, e);
|
|
35058
35083
|
}
|
|
35059
35084
|
exports["default"] = /* @__PURE__ */ function(_Node) {
|
|
35060
35085
|
_inheritsLoose(Nesting, _Node);
|
|
@@ -35069,7 +35094,7 @@ var require_nesting = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35069
35094
|
module.exports = exports.default;
|
|
35070
35095
|
}));
|
|
35071
35096
|
//#endregion
|
|
35072
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
35097
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/sortAscending.js
|
|
35073
35098
|
var require_sortAscending = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
35074
35099
|
exports.__esModule = true;
|
|
35075
35100
|
exports["default"] = sortAscending;
|
|
@@ -35081,7 +35106,7 @@ var require_sortAscending = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
35081
35106
|
module.exports = exports.default;
|
|
35082
35107
|
}));
|
|
35083
35108
|
//#endregion
|
|
35084
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
35109
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/tokenTypes.js
|
|
35085
35110
|
var require_tokenTypes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
35086
35111
|
exports.__esModule = true;
|
|
35087
35112
|
exports.word = exports.tilde = exports.tab = exports.str = exports.space = exports.slash = exports.singleQuote = exports.semicolon = exports.plus = exports.pipe = exports.openSquare = exports.openParenthesis = exports.newline = exports.greaterThan = exports.feed = exports.equals = exports.doubleQuote = exports.dollar = exports.cr = exports.comment = exports.comma = exports.combinator = exports.colon = exports.closeSquare = exports.closeParenthesis = exports.caret = exports.bang = exports.backslash = exports.at = exports.asterisk = exports.ampersand = void 0;
|
|
@@ -35103,8 +35128,7 @@ var require_tokenTypes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
35103
35128
|
exports.pipe = 124;
|
|
35104
35129
|
exports.greaterThan = 62;
|
|
35105
35130
|
exports.space = 32;
|
|
35106
|
-
var singleQuote = 39;
|
|
35107
|
-
exports.singleQuote = singleQuote;
|
|
35131
|
+
var singleQuote = exports.singleQuote = 39;
|
|
35108
35132
|
exports.doubleQuote = 34;
|
|
35109
35133
|
exports.slash = 47;
|
|
35110
35134
|
exports.bang = 33;
|
|
@@ -35119,36 +35143,29 @@ var require_tokenTypes = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
35119
35143
|
exports.combinator = -3;
|
|
35120
35144
|
}));
|
|
35121
35145
|
//#endregion
|
|
35122
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
35146
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/tokenize.js
|
|
35123
35147
|
var require_tokenize = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
35124
35148
|
exports.__esModule = true;
|
|
35125
35149
|
exports.FIELDS = void 0;
|
|
35126
35150
|
exports["default"] = tokenize;
|
|
35127
35151
|
var t = _interopRequireWildcard(require_tokenTypes());
|
|
35128
35152
|
var _unescapable, _wordDelimiters;
|
|
35129
|
-
function
|
|
35130
|
-
if (typeof WeakMap
|
|
35131
|
-
|
|
35132
|
-
|
|
35133
|
-
|
|
35134
|
-
|
|
35135
|
-
|
|
35136
|
-
|
|
35137
|
-
|
|
35138
|
-
|
|
35139
|
-
|
|
35140
|
-
|
|
35141
|
-
|
|
35142
|
-
|
|
35143
|
-
|
|
35144
|
-
|
|
35145
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
35146
|
-
if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);
|
|
35147
|
-
else newObj[key] = obj[key];
|
|
35148
|
-
}
|
|
35149
|
-
newObj["default"] = obj;
|
|
35150
|
-
if (cache) cache.set(obj, newObj);
|
|
35151
|
-
return newObj;
|
|
35153
|
+
function _interopRequireWildcard(e, t) {
|
|
35154
|
+
if ("function" == typeof WeakMap) var r = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
|
|
35155
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
35156
|
+
if (!t && e && e.__esModule) return e;
|
|
35157
|
+
var o, i, f = {
|
|
35158
|
+
__proto__: null,
|
|
35159
|
+
"default": e
|
|
35160
|
+
};
|
|
35161
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
35162
|
+
if (o = t ? n : r) {
|
|
35163
|
+
if (o.has(e)) return o.get(e);
|
|
35164
|
+
o.set(e, f);
|
|
35165
|
+
}
|
|
35166
|
+
for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]);
|
|
35167
|
+
return f;
|
|
35168
|
+
})(e, t);
|
|
35152
35169
|
}
|
|
35153
35170
|
var unescapable = (_unescapable = {}, _unescapable[t.tab] = true, _unescapable[t.newline] = true, _unescapable[t.cr] = true, _unescapable[t.feed] = true, _unescapable);
|
|
35154
35171
|
var wordDelimiters = (_wordDelimiters = {}, _wordDelimiters[t.space] = true, _wordDelimiters[t.tab] = true, _wordDelimiters[t.newline] = true, _wordDelimiters[t.cr] = true, _wordDelimiters[t.feed] = true, _wordDelimiters[t.ampersand] = true, _wordDelimiters[t.asterisk] = true, _wordDelimiters[t.bang] = true, _wordDelimiters[t.comma] = true, _wordDelimiters[t.colon] = true, _wordDelimiters[t.semicolon] = true, _wordDelimiters[t.openParenthesis] = true, _wordDelimiters[t.closeParenthesis] = true, _wordDelimiters[t.openSquare] = true, _wordDelimiters[t.closeSquare] = true, _wordDelimiters[t.singleQuote] = true, _wordDelimiters[t.doubleQuote] = true, _wordDelimiters[t.plus] = true, _wordDelimiters[t.pipe] = true, _wordDelimiters[t.tilde] = true, _wordDelimiters[t.greaterThan] = true, _wordDelimiters[t.equals] = true, _wordDelimiters[t.dollar] = true, _wordDelimiters[t.caret] = true, _wordDelimiters[t.slash] = true, _wordDelimiters);
|
|
@@ -35344,7 +35361,7 @@ var require_tokenize = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
35344
35361
|
}
|
|
35345
35362
|
}));
|
|
35346
35363
|
//#endregion
|
|
35347
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
35364
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/parser.js
|
|
35348
35365
|
var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
35349
35366
|
exports.__esModule = true;
|
|
35350
35367
|
exports["default"] = void 0;
|
|
@@ -35366,47 +35383,48 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35366
35383
|
var types = _interopRequireWildcard(require_types());
|
|
35367
35384
|
var _util = require_util$1();
|
|
35368
35385
|
var _WHITESPACE_TOKENS, _Object$assign;
|
|
35369
|
-
function
|
|
35370
|
-
if (typeof WeakMap
|
|
35371
|
-
|
|
35372
|
-
|
|
35373
|
-
|
|
35374
|
-
|
|
35375
|
-
|
|
35376
|
-
|
|
35377
|
-
|
|
35378
|
-
|
|
35379
|
-
|
|
35380
|
-
|
|
35381
|
-
|
|
35382
|
-
|
|
35383
|
-
|
|
35384
|
-
|
|
35385
|
-
|
|
35386
|
-
|
|
35387
|
-
|
|
35388
|
-
|
|
35389
|
-
|
|
35390
|
-
|
|
35391
|
-
|
|
35392
|
-
|
|
35393
|
-
|
|
35394
|
-
|
|
35395
|
-
|
|
35396
|
-
|
|
35397
|
-
|
|
35398
|
-
|
|
35399
|
-
|
|
35400
|
-
|
|
35401
|
-
|
|
35402
|
-
|
|
35403
|
-
|
|
35404
|
-
|
|
35405
|
-
|
|
35406
|
-
|
|
35407
|
-
|
|
35408
|
-
|
|
35409
|
-
|
|
35386
|
+
function _interopRequireWildcard(e, t) {
|
|
35387
|
+
if ("function" == typeof WeakMap) var r = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
|
|
35388
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
35389
|
+
if (!t && e && e.__esModule) return e;
|
|
35390
|
+
var o, i, f = {
|
|
35391
|
+
__proto__: null,
|
|
35392
|
+
"default": e
|
|
35393
|
+
};
|
|
35394
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
35395
|
+
if (o = t ? n : r) {
|
|
35396
|
+
if (o.has(e)) return o.get(e);
|
|
35397
|
+
o.set(e, f);
|
|
35398
|
+
}
|
|
35399
|
+
for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]);
|
|
35400
|
+
return f;
|
|
35401
|
+
})(e, t);
|
|
35402
|
+
}
|
|
35403
|
+
function _interopRequireDefault(e) {
|
|
35404
|
+
return e && e.__esModule ? e : { "default": e };
|
|
35405
|
+
}
|
|
35406
|
+
function _defineProperties(e, r) {
|
|
35407
|
+
for (var t = 0; t < r.length; t++) {
|
|
35408
|
+
var o = r[t];
|
|
35409
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
35410
|
+
}
|
|
35411
|
+
}
|
|
35412
|
+
function _createClass(e, r, t) {
|
|
35413
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
35414
|
+
}
|
|
35415
|
+
function _toPropertyKey(t) {
|
|
35416
|
+
var i = _toPrimitive(t, "string");
|
|
35417
|
+
return "symbol" == typeof i ? i : i + "";
|
|
35418
|
+
}
|
|
35419
|
+
function _toPrimitive(t, r) {
|
|
35420
|
+
if ("object" != typeof t || !t) return t;
|
|
35421
|
+
var e = t[Symbol.toPrimitive];
|
|
35422
|
+
if (void 0 !== e) {
|
|
35423
|
+
var i = e.call(t, r || "default");
|
|
35424
|
+
if ("object" != typeof i) return i;
|
|
35425
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
35426
|
+
}
|
|
35427
|
+
return ("string" === r ? String : Number)(t);
|
|
35410
35428
|
}
|
|
35411
35429
|
var WHITESPACE_TOKENS = (_WHITESPACE_TOKENS = {}, _WHITESPACE_TOKENS[tokens.space] = true, _WHITESPACE_TOKENS[tokens.cr] = true, _WHITESPACE_TOKENS[tokens.feed] = true, _WHITESPACE_TOKENS[tokens.newline] = true, _WHITESPACE_TOKENS[tokens.tab] = true, _WHITESPACE_TOKENS);
|
|
35412
35430
|
var WHITESPACE_EQUIV_TOKENS = Object.assign({}, WHITESPACE_TOKENS, (_Object$assign = {}, _Object$assign[tokens.comment] = true, _Object$assign));
|
|
@@ -35472,6 +35490,8 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35472
35490
|
safe: false
|
|
35473
35491
|
}, options);
|
|
35474
35492
|
this.position = 0;
|
|
35493
|
+
this.nestingDepth = 0;
|
|
35494
|
+
this.maxNestingDepth = (0, _util.resolveMaxNestingDepth)(this.options.maxNestingDepth);
|
|
35475
35495
|
this.css = typeof this.rule === "string" ? this.rule : this.rule.selector;
|
|
35476
35496
|
this.tokens = (0, _tokenize["default"])({
|
|
35477
35497
|
css: this.css,
|
|
@@ -35906,15 +35926,21 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35906
35926
|
var cache = this.current;
|
|
35907
35927
|
last.append(selector);
|
|
35908
35928
|
this.current = selector;
|
|
35909
|
-
|
|
35910
|
-
|
|
35911
|
-
if (this.currToken[_tokenize.FIELDS.
|
|
35912
|
-
|
|
35913
|
-
|
|
35914
|
-
this.
|
|
35915
|
-
|
|
35916
|
-
|
|
35929
|
+
this.nestingDepth++;
|
|
35930
|
+
try {
|
|
35931
|
+
if (this.nestingDepth > this.maxNestingDepth) this.error("Cannot parse selector: nesting depth exceeds the maximum of " + this.maxNestingDepth + ".", { index: this.currToken[_tokenize.FIELDS.START_POS] });
|
|
35932
|
+
while (this.position < this.tokens.length && unbalanced) {
|
|
35933
|
+
if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.openParenthesis) unbalanced++;
|
|
35934
|
+
if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) unbalanced--;
|
|
35935
|
+
if (unbalanced) this.parse();
|
|
35936
|
+
else {
|
|
35937
|
+
this.current.source.end = tokenEnd(this.currToken);
|
|
35938
|
+
this.current.parent.source.end = tokenEnd(this.currToken);
|
|
35939
|
+
this.position++;
|
|
35940
|
+
}
|
|
35917
35941
|
}
|
|
35942
|
+
} finally {
|
|
35943
|
+
this.nestingDepth--;
|
|
35918
35944
|
}
|
|
35919
35945
|
this.current = cache;
|
|
35920
35946
|
} else {
|
|
@@ -36204,13 +36230,13 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36204
36230
|
module.exports = exports.default;
|
|
36205
36231
|
}));
|
|
36206
36232
|
//#endregion
|
|
36207
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
36233
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/processor.js
|
|
36208
36234
|
var require_processor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
36209
36235
|
exports.__esModule = true;
|
|
36210
36236
|
exports["default"] = void 0;
|
|
36211
36237
|
var _parser = _interopRequireDefault(require_parser());
|
|
36212
|
-
function _interopRequireDefault(
|
|
36213
|
-
return
|
|
36238
|
+
function _interopRequireDefault(e) {
|
|
36239
|
+
return e && e.__esModule ? e : { "default": e };
|
|
36214
36240
|
}
|
|
36215
36241
|
exports["default"] = /* @__PURE__ */ function() {
|
|
36216
36242
|
function Processor(func, options) {
|
|
@@ -36234,7 +36260,14 @@ var require_processor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36234
36260
|
return new _parser["default"](rule, this._parseOptions(options)).root;
|
|
36235
36261
|
};
|
|
36236
36262
|
_proto._parseOptions = function _parseOptions(options) {
|
|
36237
|
-
|
|
36263
|
+
var merged = Object.assign({}, this.options, options);
|
|
36264
|
+
return {
|
|
36265
|
+
lossy: this._isLossy(merged),
|
|
36266
|
+
maxNestingDepth: merged.maxNestingDepth
|
|
36267
|
+
};
|
|
36268
|
+
};
|
|
36269
|
+
_proto._stringifyOptions = function _stringifyOptions(options) {
|
|
36270
|
+
return { maxNestingDepth: Object.assign({}, this.options, options).maxNestingDepth };
|
|
36238
36271
|
};
|
|
36239
36272
|
_proto._run = function _run(rule, options) {
|
|
36240
36273
|
var _this = this;
|
|
@@ -36245,7 +36278,7 @@ var require_processor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36245
36278
|
Promise.resolve(_this.func(root)).then(function(transform) {
|
|
36246
36279
|
var string = void 0;
|
|
36247
36280
|
if (_this._shouldUpdateSelector(rule, options)) {
|
|
36248
|
-
string = root.toString();
|
|
36281
|
+
string = root.toString(_this._stringifyOptions(options));
|
|
36249
36282
|
rule.selector = string;
|
|
36250
36283
|
}
|
|
36251
36284
|
return {
|
|
@@ -36267,7 +36300,7 @@ var require_processor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36267
36300
|
if (transform && typeof transform.then === "function") throw new Error("Selector processor returned a promise to a synchronous call.");
|
|
36268
36301
|
var string = void 0;
|
|
36269
36302
|
if (options.updateSelector && typeof rule !== "string") {
|
|
36270
|
-
string = root.toString();
|
|
36303
|
+
string = root.toString(this._stringifyOptions(options));
|
|
36271
36304
|
rule.selector = string;
|
|
36272
36305
|
}
|
|
36273
36306
|
return {
|
|
@@ -36293,20 +36326,21 @@ var require_processor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36293
36326
|
return this._runSync(rule, options).transform;
|
|
36294
36327
|
};
|
|
36295
36328
|
_proto.process = function process(rule, options) {
|
|
36329
|
+
var _this2 = this;
|
|
36296
36330
|
return this._run(rule, options).then(function(result) {
|
|
36297
|
-
return result.string || result.root.toString();
|
|
36331
|
+
return result.string || result.root.toString(_this2._stringifyOptions(options));
|
|
36298
36332
|
});
|
|
36299
36333
|
};
|
|
36300
36334
|
_proto.processSync = function processSync(rule, options) {
|
|
36301
36335
|
var result = this._runSync(rule, options);
|
|
36302
|
-
return result.string || result.root.toString();
|
|
36336
|
+
return result.string || result.root.toString(this._stringifyOptions(options));
|
|
36303
36337
|
};
|
|
36304
36338
|
return Processor;
|
|
36305
36339
|
}();
|
|
36306
36340
|
module.exports = exports.default;
|
|
36307
36341
|
}));
|
|
36308
36342
|
//#endregion
|
|
36309
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
36343
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/constructors.js
|
|
36310
36344
|
var require_constructors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
36311
36345
|
exports.__esModule = true;
|
|
36312
36346
|
exports.universal = exports.tag = exports.string = exports.selector = exports.root = exports.pseudo = exports.nesting = exports.id = exports.comment = exports.combinator = exports.className = exports.attribute = void 0;
|
|
@@ -36322,8 +36356,8 @@ var require_constructors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
36322
36356
|
var _string = _interopRequireDefault(require_string());
|
|
36323
36357
|
var _tag = _interopRequireDefault(require_tag());
|
|
36324
36358
|
var _universal = _interopRequireDefault(require_universal());
|
|
36325
|
-
function _interopRequireDefault(
|
|
36326
|
-
return
|
|
36359
|
+
function _interopRequireDefault(e) {
|
|
36360
|
+
return e && e.__esModule ? e : { "default": e };
|
|
36327
36361
|
}
|
|
36328
36362
|
exports.attribute = function attribute(opts) {
|
|
36329
36363
|
return new _attribute["default"](opts);
|
|
@@ -36363,7 +36397,7 @@ var require_constructors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
36363
36397
|
};
|
|
36364
36398
|
}));
|
|
36365
36399
|
//#endregion
|
|
36366
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
36400
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/guards.js
|
|
36367
36401
|
var require_guards = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
36368
36402
|
exports.__esModule = true;
|
|
36369
36403
|
exports.isComment = exports.isCombinator = exports.isClassName = exports.isAttribute = void 0;
|
|
@@ -36385,20 +36419,17 @@ var require_guards = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
36385
36419
|
function isNodeType(type, node) {
|
|
36386
36420
|
return isNode(node) && node.type === type;
|
|
36387
36421
|
}
|
|
36388
|
-
var isAttribute = isNodeType.bind(null, _types.ATTRIBUTE);
|
|
36389
|
-
exports.isAttribute = isAttribute;
|
|
36422
|
+
var isAttribute = exports.isAttribute = isNodeType.bind(null, _types.ATTRIBUTE);
|
|
36390
36423
|
exports.isClassName = isNodeType.bind(null, _types.CLASS);
|
|
36391
36424
|
exports.isCombinator = isNodeType.bind(null, _types.COMBINATOR);
|
|
36392
36425
|
exports.isComment = isNodeType.bind(null, _types.COMMENT);
|
|
36393
36426
|
exports.isIdentifier = isNodeType.bind(null, _types.ID);
|
|
36394
36427
|
exports.isNesting = isNodeType.bind(null, _types.NESTING);
|
|
36395
|
-
var isPseudo = isNodeType.bind(null, _types.PSEUDO);
|
|
36396
|
-
exports.isPseudo = isPseudo;
|
|
36428
|
+
var isPseudo = exports.isPseudo = isNodeType.bind(null, _types.PSEUDO);
|
|
36397
36429
|
exports.isRoot = isNodeType.bind(null, _types.ROOT);
|
|
36398
36430
|
exports.isSelector = isNodeType.bind(null, _types.SELECTOR);
|
|
36399
36431
|
exports.isString = isNodeType.bind(null, _types.STRING);
|
|
36400
|
-
var isTag = isNodeType.bind(null, _types.TAG);
|
|
36401
|
-
exports.isTag = isTag;
|
|
36432
|
+
var isTag = exports.isTag = isNodeType.bind(null, _types.TAG);
|
|
36402
36433
|
exports.isUniversal = isNodeType.bind(null, _types.UNIVERSAL);
|
|
36403
36434
|
function isPseudoElement(node) {
|
|
36404
36435
|
return isPseudo(node) && node.value && (node.value.startsWith("::") || node.value.toLowerCase() === ":before" || node.value.toLowerCase() === ":after" || node.value.toLowerCase() === ":first-letter" || node.value.toLowerCase() === ":first-line");
|
|
@@ -36414,7 +36445,7 @@ var require_guards = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
36414
36445
|
}
|
|
36415
36446
|
}));
|
|
36416
36447
|
//#endregion
|
|
36417
|
-
//#region node_modules/.pnpm/postcss-selector-parser@7.1.
|
|
36448
|
+
//#region node_modules/.pnpm/postcss-selector-parser@7.1.2/node_modules/postcss-selector-parser/dist/selectors/index.js
|
|
36418
36449
|
var require_selectors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
36419
36450
|
exports.__esModule = true;
|
|
36420
36451
|
var _types = require_types();
|
|
@@ -36443,32 +36474,25 @@ var import_dist = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((expor
|
|
|
36443
36474
|
exports["default"] = void 0;
|
|
36444
36475
|
var _processor = _interopRequireDefault(require_processor());
|
|
36445
36476
|
var selectors = _interopRequireWildcard(require_selectors());
|
|
36446
|
-
function
|
|
36447
|
-
if (typeof WeakMap
|
|
36448
|
-
|
|
36449
|
-
|
|
36450
|
-
|
|
36451
|
-
|
|
36452
|
-
|
|
36453
|
-
|
|
36454
|
-
|
|
36455
|
-
|
|
36456
|
-
|
|
36457
|
-
|
|
36458
|
-
|
|
36459
|
-
|
|
36460
|
-
|
|
36461
|
-
|
|
36462
|
-
|
|
36463
|
-
|
|
36464
|
-
|
|
36465
|
-
}
|
|
36466
|
-
newObj["default"] = obj;
|
|
36467
|
-
if (cache) cache.set(obj, newObj);
|
|
36468
|
-
return newObj;
|
|
36469
|
-
}
|
|
36470
|
-
function _interopRequireDefault(obj) {
|
|
36471
|
-
return obj && obj.__esModule ? obj : { "default": obj };
|
|
36477
|
+
function _interopRequireWildcard(e, t) {
|
|
36478
|
+
if ("function" == typeof WeakMap) var r = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
|
|
36479
|
+
return (_interopRequireWildcard = function _interopRequireWildcard(e, t) {
|
|
36480
|
+
if (!t && e && e.__esModule) return e;
|
|
36481
|
+
var o, i, f = {
|
|
36482
|
+
__proto__: null,
|
|
36483
|
+
"default": e
|
|
36484
|
+
};
|
|
36485
|
+
if (null === e || "object" != typeof e && "function" != typeof e) return f;
|
|
36486
|
+
if (o = t ? n : r) {
|
|
36487
|
+
if (o.has(e)) return o.get(e);
|
|
36488
|
+
o.set(e, f);
|
|
36489
|
+
}
|
|
36490
|
+
for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]);
|
|
36491
|
+
return f;
|
|
36492
|
+
})(e, t);
|
|
36493
|
+
}
|
|
36494
|
+
function _interopRequireDefault(e) {
|
|
36495
|
+
return e && e.__esModule ? e : { "default": e };
|
|
36472
36496
|
}
|
|
36473
36497
|
var parser = function parser(processor) {
|
|
36474
36498
|
return new _processor["default"](processor);
|
|
@@ -40231,7 +40255,10 @@ function resolveTypeElements(ctx, node, scope, typeParameters) {
|
|
|
40231
40255
|
return canCache ? node._resolvedElements = resolved : resolved;
|
|
40232
40256
|
}
|
|
40233
40257
|
function innerResolveTypeElements(ctx, node, scope, typeParameters) {
|
|
40234
|
-
if (node
|
|
40258
|
+
if (hasVueIgnore(node)) {
|
|
40259
|
+
if ((node.type === "TSIntersectionType" || node.type === "TSUnionType") && node.types.length > 1) return mergeElements([{ props: {} }, ...node.types.slice(1).map((t) => resolveTypeElements(ctx, t, scope, typeParameters))], node.type);
|
|
40260
|
+
return { props: {} };
|
|
40261
|
+
}
|
|
40235
40262
|
switch (node.type) {
|
|
40236
40263
|
case "TSTypeLiteral": return typeElementsToMap(ctx, node.members, scope, typeParameters);
|
|
40237
40264
|
case "TSInterfaceDeclaration": return resolveInterfaceMembers(ctx, node, scope, typeParameters);
|
|
@@ -40306,6 +40333,9 @@ function typeElementsToMap(ctx, elements, scope = ctxToScope(ctx), typeParameter
|
|
|
40306
40333
|
} else if (e.type === "TSCallSignatureDeclaration") (res.calls || (res.calls = [])).push(e);
|
|
40307
40334
|
return res;
|
|
40308
40335
|
}
|
|
40336
|
+
function hasVueIgnore(node) {
|
|
40337
|
+
return !!(node.leadingComments && node.leadingComments.some((c) => c.value.includes("@vue-ignore")));
|
|
40338
|
+
}
|
|
40309
40339
|
function mergeElements(maps, type) {
|
|
40310
40340
|
if (maps.length === 1) return maps[0];
|
|
40311
40341
|
const res = { props: {} };
|
|
@@ -41390,6 +41420,7 @@ function transformDestructuredProps(ctx, vueImportAliases) {
|
|
|
41390
41420
|
if (ctx.options.propsDestructure === false) return;
|
|
41391
41421
|
const rootScope = Object.create(null);
|
|
41392
41422
|
const scopeStack = [rootScope];
|
|
41423
|
+
const functionScopeStack = [rootScope];
|
|
41393
41424
|
let currentScope = rootScope;
|
|
41394
41425
|
const excludedIds = /* @__PURE__ */ new WeakSet();
|
|
41395
41426
|
const parentStack = [];
|
|
@@ -41399,16 +41430,19 @@ function transformDestructuredProps(ctx, vueImportAliases) {
|
|
|
41399
41430
|
rootScope[local] = true;
|
|
41400
41431
|
propsLocalToPublicMap[local] = key;
|
|
41401
41432
|
}
|
|
41402
|
-
function pushScope() {
|
|
41403
|
-
|
|
41433
|
+
function pushScope(isFunctionScope = false) {
|
|
41434
|
+
const scope = currentScope = Object.create(currentScope);
|
|
41435
|
+
scopeStack.push(scope);
|
|
41436
|
+
if (isFunctionScope) functionScopeStack.push(scope);
|
|
41404
41437
|
}
|
|
41405
|
-
function popScope() {
|
|
41438
|
+
function popScope(isFunctionScope = false) {
|
|
41406
41439
|
scopeStack.pop();
|
|
41440
|
+
if (isFunctionScope) functionScopeStack.pop();
|
|
41407
41441
|
currentScope = scopeStack[scopeStack.length - 1] || null;
|
|
41408
41442
|
}
|
|
41409
|
-
function registerLocalBinding(id) {
|
|
41443
|
+
function registerLocalBinding(id, scope = currentScope) {
|
|
41410
41444
|
excludedIds.add(id);
|
|
41411
|
-
if (
|
|
41445
|
+
if (scope) scope[id.name] = false;
|
|
41412
41446
|
else ctx.error("registerBinding called without active scope, something is wrong.", id);
|
|
41413
41447
|
}
|
|
41414
41448
|
function walkScope(node, isRoot = false) {
|
|
@@ -41419,14 +41453,22 @@ function transformDestructuredProps(ctx, vueImportAliases) {
|
|
|
41419
41453
|
} else if (stmt.type === "ExportNamedDeclaration" && stmt.declaration && stmt.declaration.type === "VariableDeclaration") walkVariableDeclaration(stmt.declaration, isRoot);
|
|
41420
41454
|
else if (stmt.type === "LabeledStatement" && stmt.body.type === "VariableDeclaration") walkVariableDeclaration(stmt.body, isRoot);
|
|
41421
41455
|
}
|
|
41422
|
-
function walkVariableDeclaration(stmt, isRoot = false) {
|
|
41456
|
+
function walkVariableDeclaration(stmt, isRoot = false, scope = stmt.kind === "var" ? functionScopeStack[functionScopeStack.length - 1] : currentScope) {
|
|
41423
41457
|
if (stmt.declare) return;
|
|
41424
41458
|
for (const decl of stmt.declarations) {
|
|
41425
41459
|
const isDefineProps = isRoot && decl.init && isCallOf(unwrapTSNode(decl.init), "defineProps");
|
|
41426
41460
|
for (const id of extractIdentifiers(decl.id)) if (isDefineProps) excludedIds.add(id);
|
|
41427
|
-
else registerLocalBinding(id);
|
|
41461
|
+
else registerLocalBinding(id, scope);
|
|
41428
41462
|
}
|
|
41429
41463
|
}
|
|
41464
|
+
function walkFunctionScopeVarDeclarations(scopeNode, isRoot = false) {
|
|
41465
|
+
const scope = functionScopeStack[functionScopeStack.length - 1];
|
|
41466
|
+
walk$2(scopeNode, { enter(node, parent) {
|
|
41467
|
+
if (parent && parent.type.startsWith("TS") && !TS_NODE_TYPES.includes(parent.type)) return this.skip();
|
|
41468
|
+
if (isFunctionType(node) || node.type === "ClassDeclaration" || node.type === "ClassExpression") return this.skip();
|
|
41469
|
+
if (node.type === "VariableDeclaration" && node.kind === "var") walkVariableDeclaration(node, isRoot && parent === scopeNode, scope);
|
|
41470
|
+
} });
|
|
41471
|
+
}
|
|
41430
41472
|
function rewriteId(id, parent, parentStack) {
|
|
41431
41473
|
if (parent.type === "AssignmentExpression" && id === parent.left || parent.type === "UpdateExpression") ctx.error(`Cannot assign to destructured props as they are readonly.`, id);
|
|
41432
41474
|
if (isStaticProperty(parent) && parent.shorthand) {
|
|
@@ -41440,6 +41482,7 @@ function transformDestructuredProps(ctx, vueImportAliases) {
|
|
|
41440
41482
|
}
|
|
41441
41483
|
}
|
|
41442
41484
|
const ast = ctx.scriptSetupAst;
|
|
41485
|
+
walkFunctionScopeVarDeclarations(ast, true);
|
|
41443
41486
|
walkScope(ast, true);
|
|
41444
41487
|
walk$2(ast, {
|
|
41445
41488
|
enter(node, parent) {
|
|
@@ -41448,9 +41491,12 @@ function transformDestructuredProps(ctx, vueImportAliases) {
|
|
|
41448
41491
|
checkUsage(node, "watch", vueImportAliases.watch);
|
|
41449
41492
|
checkUsage(node, "toRef", vueImportAliases.toRef);
|
|
41450
41493
|
if (isFunctionType(node)) {
|
|
41451
|
-
pushScope();
|
|
41494
|
+
pushScope(true);
|
|
41452
41495
|
walkFunctionParams(node, registerLocalBinding);
|
|
41453
|
-
if (node.body.type === "BlockStatement")
|
|
41496
|
+
if (node.body.type === "BlockStatement") {
|
|
41497
|
+
walkFunctionScopeVarDeclarations(node.body);
|
|
41498
|
+
walkScope(node.body);
|
|
41499
|
+
}
|
|
41454
41500
|
return;
|
|
41455
41501
|
}
|
|
41456
41502
|
if (node.type === "CatchClause") {
|
|
@@ -41479,7 +41525,9 @@ function transformDestructuredProps(ctx, vueImportAliases) {
|
|
|
41479
41525
|
},
|
|
41480
41526
|
leave(node, parent) {
|
|
41481
41527
|
parent && parentStack.pop();
|
|
41482
|
-
if (
|
|
41528
|
+
if (isFunctionType(node)) popScope(true);
|
|
41529
|
+
else if (node.type === "BlockStatement" && !isFunctionType(parent)) popScope();
|
|
41530
|
+
else if (node.type === "CatchClause" || node.type === "ForOfStatement" || node.type === "ForInStatement" || node.type === "ForStatement") popScope();
|
|
41483
41531
|
}
|
|
41484
41532
|
});
|
|
41485
41533
|
}
|
|
@@ -42157,7 +42205,7 @@ function mergeSourceMaps(scriptMap, templateMap, templateLineOffset) {
|
|
|
42157
42205
|
//#endregion
|
|
42158
42206
|
//#region packages/compiler-sfc/src/index.ts
|
|
42159
42207
|
init_objectSpread2();
|
|
42160
|
-
const version = "3.6.0-beta.
|
|
42208
|
+
const version = "3.6.0-beta.15";
|
|
42161
42209
|
const parseCache = parseCache$1;
|
|
42162
42210
|
const errorMessages = _objectSpread2(_objectSpread2({}, errorMessages$1), DOMErrorMessages);
|
|
42163
42211
|
const walk = walk$2;
|