@digipair/skill-html 0.94.0-4 → 0.94.0-8
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/index.cjs.js +66 -74
- package/dist/index.esm.js +66 -74
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -23919,14 +23919,14 @@ function indent(str, spaces) {
|
|
|
23919
23919
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23920
23920
|
// match is required
|
|
23921
23921
|
if (!match) {
|
|
23922
|
-
return
|
|
23922
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23923
23923
|
v: nextMatch1
|
|
23924
23924
|
};
|
|
23925
23925
|
}
|
|
23926
23926
|
var token = match.token, offset = match.offset;
|
|
23927
23927
|
i1 += offset;
|
|
23928
23928
|
if (token === ' ') {
|
|
23929
|
-
return
|
|
23929
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23930
23930
|
}
|
|
23931
23931
|
tokens1 = _to_consumable_array$1$1(tokens1).concat([
|
|
23932
23932
|
token
|
|
@@ -23945,7 +23945,7 @@ function indent(str, spaces) {
|
|
|
23945
23945
|
if (contextKeys.some(function(el) {
|
|
23946
23946
|
return el.startsWith(name);
|
|
23947
23947
|
})) {
|
|
23948
|
-
return
|
|
23948
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23949
23949
|
}
|
|
23950
23950
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23951
23951
|
return el === name;
|
|
@@ -23964,9 +23964,9 @@ function indent(str, spaces) {
|
|
|
23964
23964
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23965
23965
|
return el.startsWith(name);
|
|
23966
23966
|
})) {
|
|
23967
|
-
return
|
|
23967
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23968
23968
|
}
|
|
23969
|
-
return
|
|
23969
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23970
23970
|
v: nextMatch1
|
|
23971
23971
|
};
|
|
23972
23972
|
};
|
|
@@ -144548,66 +144548,58 @@ internalConstants.cloningSteps = Symbol("cloning steps");
|
|
|
144548
144548
|
* This SymbolTree is used to build the tree for all Node in a document
|
|
144549
144549
|
*/ internalConstants.domSymbolTree = new SymbolTree("DOM SymbolTree");
|
|
144550
144550
|
|
|
144551
|
-
var
|
|
144552
|
-
var
|
|
144553
|
-
|
|
144554
|
-
function
|
|
144555
|
-
|
|
144556
|
-
|
|
144557
|
-
|
|
144558
|
-
|
|
144559
|
-
|
|
144560
|
-
|
|
144561
|
-
|
|
144562
|
-
|
|
144563
|
-
|
|
144564
|
-
|
|
144565
|
-
|
|
144566
|
-
|
|
144567
|
-
|
|
144568
|
-
|
|
144569
|
-
|
|
144570
|
-
|
|
144571
|
-
|
|
144572
|
-
|
|
144573
|
-
|
|
144574
|
-
|
|
144575
|
-
|
|
144576
|
-
|
|
144577
|
-
|
|
144578
|
-
|
|
144579
|
-
|
|
144580
|
-
|
|
144581
|
-
|
|
144582
|
-
|
|
144583
|
-
|
|
144584
|
-
|
|
144585
|
-
|
|
144586
|
-
|
|
144587
|
-
|
|
144588
|
-
|
|
144589
|
-
|
|
144590
|
-
|
|
144591
|
-
|
|
144592
|
-
|
|
144593
|
-
|
|
144594
|
-
|
|
144595
|
-
|
|
144596
|
-
if (current === nodeA) {
|
|
144597
|
-
return true;
|
|
144598
|
-
}
|
|
144599
|
-
current = domSymbolTree.following(current);
|
|
144600
|
-
}
|
|
144601
|
-
return false;
|
|
144602
|
-
}
|
|
144603
|
-
node$2 = {
|
|
144604
|
-
nodeLength: nodeLength,
|
|
144605
|
-
nodeRoot: nodeRoot,
|
|
144606
|
-
isInclusiveAncestor: isInclusiveAncestor,
|
|
144607
|
-
isFollowing: isFollowing
|
|
144608
|
-
};
|
|
144609
|
-
return node$2;
|
|
144551
|
+
var NODE_TYPE$4 = nodeType;
|
|
144552
|
+
var domSymbolTree$4 = internalConstants.domSymbolTree;
|
|
144553
|
+
// https://dom.spec.whatwg.org/#concept-node-length
|
|
144554
|
+
function nodeLength(node) {
|
|
144555
|
+
switch(node.nodeType){
|
|
144556
|
+
case NODE_TYPE$4.DOCUMENT_TYPE_NODE:
|
|
144557
|
+
return 0;
|
|
144558
|
+
case NODE_TYPE$4.TEXT_NODE:
|
|
144559
|
+
case NODE_TYPE$4.PROCESSING_INSTRUCTION_NODE:
|
|
144560
|
+
case NODE_TYPE$4.COMMENT_NODE:
|
|
144561
|
+
return node.data.length;
|
|
144562
|
+
default:
|
|
144563
|
+
return domSymbolTree$4.childrenCount(node);
|
|
144564
|
+
}
|
|
144565
|
+
}
|
|
144566
|
+
// https://dom.spec.whatwg.org/#concept-tree-root
|
|
144567
|
+
function nodeRoot$1(node) {
|
|
144568
|
+
while(domSymbolTree$4.parent(node)){
|
|
144569
|
+
node = domSymbolTree$4.parent(node);
|
|
144570
|
+
}
|
|
144571
|
+
return node;
|
|
144572
|
+
}
|
|
144573
|
+
// https://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor
|
|
144574
|
+
function isInclusiveAncestor(ancestorNode, node) {
|
|
144575
|
+
while(node){
|
|
144576
|
+
if (ancestorNode === node) {
|
|
144577
|
+
return true;
|
|
144578
|
+
}
|
|
144579
|
+
node = domSymbolTree$4.parent(node);
|
|
144580
|
+
}
|
|
144581
|
+
return false;
|
|
144582
|
+
}
|
|
144583
|
+
// https://dom.spec.whatwg.org/#concept-tree-following
|
|
144584
|
+
function isFollowing(nodeA, nodeB) {
|
|
144585
|
+
if (nodeA === nodeB) {
|
|
144586
|
+
return false;
|
|
144587
|
+
}
|
|
144588
|
+
var current = nodeB;
|
|
144589
|
+
while(current){
|
|
144590
|
+
if (current === nodeA) {
|
|
144591
|
+
return true;
|
|
144592
|
+
}
|
|
144593
|
+
current = domSymbolTree$4.following(current);
|
|
144594
|
+
}
|
|
144595
|
+
return false;
|
|
144610
144596
|
}
|
|
144597
|
+
var node$2 = {
|
|
144598
|
+
nodeLength: nodeLength,
|
|
144599
|
+
nodeRoot: nodeRoot$1,
|
|
144600
|
+
isInclusiveAncestor: isInclusiveAncestor,
|
|
144601
|
+
isFollowing: isFollowing
|
|
144602
|
+
};
|
|
144611
144603
|
|
|
144612
144604
|
var namespaces = {};
|
|
144613
144605
|
|
|
@@ -145937,7 +145929,7 @@ function _ts_values(o) {
|
|
|
145937
145929
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
145938
145930
|
}
|
|
145939
145931
|
var NODE_TYPE$3 = nodeType;
|
|
145940
|
-
var nodeRoot =
|
|
145932
|
+
var nodeRoot = node$2.nodeRoot;
|
|
145941
145933
|
var HTML_NS$1 = namespaces.HTML_NS;
|
|
145942
145934
|
var domSymbolTree$2 = internalConstants.domSymbolTree;
|
|
145943
145935
|
var _require$9 = mutationObservers, signalSlotList = _require$9.signalSlotList, queueMutationObserverMicrotask = _require$9.queueMutationObserverMicrotask;
|
|
@@ -148599,7 +148591,7 @@ function requireEventTargetImpl () {
|
|
|
148599
148591
|
var DOMException = DOMException$3;
|
|
148600
148592
|
var reportException = runtimeScriptErrors;
|
|
148601
148593
|
var idlUtils = utilsExports;
|
|
148602
|
-
var nodeRoot =
|
|
148594
|
+
var nodeRoot = node$2.nodeRoot;
|
|
148603
148595
|
var _require = shadowDom, isNode = _require.isNode, isShadowRoot = _require.isShadowRoot, isSlotable = _require.isSlotable, getEventTargetParent = _require.getEventTargetParent, isShadowInclusiveAncestor = _require.isShadowInclusiveAncestor, retarget = _require.retarget;
|
|
148604
148596
|
var MouseEvent = requireMouseEvent();
|
|
148605
148597
|
var EVENT_PHASE = {
|
|
@@ -155504,7 +155496,7 @@ function requireNodeImpl () {
|
|
|
155504
155496
|
var _require = requireNode$2(), clone = _require.clone, locateNamespacePrefix = _require.locateNamespacePrefix, locateNamespace = _require.locateNamespace;
|
|
155505
155497
|
var setAnExistingAttributeValue = attributes$1.setAnExistingAttributeValue;
|
|
155506
155498
|
var NodeList$1 = NodeList;
|
|
155507
|
-
var _require1 =
|
|
155499
|
+
var _require1 = node$2, nodeRoot = _require1.nodeRoot, nodeLength = _require1.nodeLength, isInclusiveAncestor = _require1.isInclusiveAncestor;
|
|
155508
155500
|
var domSymbolTree = internalConstants.domSymbolTree;
|
|
155509
155501
|
var documentBaseURLSerialized = documentBaseUrl.documentBaseURLSerialized;
|
|
155510
155502
|
var queueTreeMutationRecord = mutationObservers.queueTreeMutationRecord;
|
|
@@ -179496,7 +179488,7 @@ function requireDocumentOrShadowRootImpl () {
|
|
|
179496
179488
|
return Constructor;
|
|
179497
179489
|
}
|
|
179498
179490
|
var NODE_TYPE = nodeType;
|
|
179499
|
-
var nodeRoot =
|
|
179491
|
+
var nodeRoot = node$2.nodeRoot;
|
|
179500
179492
|
var retarget = shadowDom.retarget;
|
|
179501
179493
|
var DocumentOrShadowRootImpl = /*#__PURE__*/ function() {
|
|
179502
179494
|
function DocumentOrShadowRootImpl() {
|
|
@@ -179668,7 +179660,7 @@ function requireShadowRootImpl () {
|
|
|
179668
179660
|
return _possible_constructor_return(this, result);
|
|
179669
179661
|
};
|
|
179670
179662
|
}
|
|
179671
|
-
var nodeRoot =
|
|
179663
|
+
var nodeRoot = node$2.nodeRoot;
|
|
179672
179664
|
var mixin = utils$7.mixin;
|
|
179673
179665
|
var DocumentFragment = requireDocumentFragmentImpl().implementation;
|
|
179674
179666
|
var DocumentOrShadowRootImpl = requireDocumentOrShadowRootImpl().implementation;
|
|
@@ -195404,7 +195396,7 @@ function requireBoundaryPoint () {
|
|
|
195404
195396
|
if (hasRequiredBoundaryPoint) return boundaryPoint;
|
|
195405
195397
|
hasRequiredBoundaryPoint = 1;
|
|
195406
195398
|
var domSymbolTree = internalConstants.domSymbolTree;
|
|
195407
|
-
var _require =
|
|
195399
|
+
var _require = node$2, nodeRoot = _require.nodeRoot, isFollowing = _require.isFollowing, isInclusiveAncestor = _require.isInclusiveAncestor;
|
|
195408
195400
|
// Returns 0 if equal, +1 for after and -1 for before
|
|
195409
195401
|
// https://dom.spec.whatwg.org/#concept-range-bp-after
|
|
195410
195402
|
function compareBoundaryPointsPosition(bpA, bpB) {
|
|
@@ -195538,7 +195530,7 @@ function requireRangeImpl () {
|
|
|
195538
195530
|
var HTML_NS = namespaces.HTML_NS;
|
|
195539
195531
|
var domSymbolTree = internalConstants.domSymbolTree;
|
|
195540
195532
|
var compareBoundaryPointsPosition = requireBoundaryPoint().compareBoundaryPointsPosition;
|
|
195541
|
-
var _require =
|
|
195533
|
+
var _require = node$2, nodeRoot = _require.nodeRoot, nodeLength = _require.nodeLength, isInclusiveAncestor = _require.isInclusiveAncestor;
|
|
195542
195534
|
var createElement = requireCreateElement().createElement;
|
|
195543
195535
|
var AbstractRangeImpl = requireAbstractRangeImpl().implementation;
|
|
195544
195536
|
var Range = requireRange$1();
|
|
@@ -237785,7 +237777,7 @@ function requireHTMLLabelElementImpl () {
|
|
|
237785
237777
|
var domSymbolTree = internalConstants.domSymbolTree;
|
|
237786
237778
|
var NODE_TYPE = nodeType;
|
|
237787
237779
|
var _require = requireFormControls(), isLabelable = _require.isLabelable, isDisabled = _require.isDisabled, isInteractiveContent = _require.isInteractiveContent;
|
|
237788
|
-
var isInclusiveAncestor =
|
|
237780
|
+
var isInclusiveAncestor = node$2.isInclusiveAncestor;
|
|
237789
237781
|
var fireAnEvent = events$2.fireAnEvent;
|
|
237790
237782
|
function sendClickToAssociatedNode(node) {
|
|
237791
237783
|
fireAnEvent("click", node, MouseEvent, {
|
|
@@ -246709,7 +246701,7 @@ function requireHTMLSlotElementImpl () {
|
|
|
246709
246701
|
var idlUtils = utilsExports;
|
|
246710
246702
|
var HTMLElement = requireHTMLElement();
|
|
246711
246703
|
var HTMLElementImpl = requireHTMLElementImpl().implementation;
|
|
246712
|
-
var nodeRoot =
|
|
246704
|
+
var nodeRoot = node$2.nodeRoot;
|
|
246713
246705
|
var _require = shadowDom, assignSlotableForTree = _require.assignSlotableForTree, findFlattenedSlotables = _require.findFlattenedSlotables;
|
|
246714
246706
|
var HTMLSlotElementImpl = /*#__PURE__*/ function(HTMLElementImpl) {
|
|
246715
246707
|
_inherits(HTMLSlotElementImpl, HTMLElementImpl);
|
|
@@ -304367,7 +304359,7 @@ function requireSelectionImpl () {
|
|
|
304367
304359
|
}
|
|
304368
304360
|
var DOMException = DOMException$3;
|
|
304369
304361
|
var NODE_TYPE = nodeType;
|
|
304370
|
-
var _require =
|
|
304362
|
+
var _require = node$2, nodeLength = _require.nodeLength, nodeRoot = _require.nodeRoot;
|
|
304371
304363
|
var domSymbolTree = internalConstants.domSymbolTree;
|
|
304372
304364
|
var compareBoundaryPointsPosition = requireBoundaryPoint().compareBoundaryPointsPosition;
|
|
304373
304365
|
var _require1 = requireRangeImpl(), setBoundaryPointStart = _require1.setBoundaryPointStart, setBoundaryPointEnd = _require1.setBoundaryPointEnd;
|
package/dist/index.esm.js
CHANGED
|
@@ -23917,14 +23917,14 @@ function indent(str, spaces) {
|
|
|
23917
23917
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23918
23918
|
// match is required
|
|
23919
23919
|
if (!match) {
|
|
23920
|
-
return
|
|
23920
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23921
23921
|
v: nextMatch1
|
|
23922
23922
|
};
|
|
23923
23923
|
}
|
|
23924
23924
|
var token = match.token, offset = match.offset;
|
|
23925
23925
|
i1 += offset;
|
|
23926
23926
|
if (token === ' ') {
|
|
23927
|
-
return
|
|
23927
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23928
23928
|
}
|
|
23929
23929
|
tokens1 = _to_consumable_array$1$1(tokens1).concat([
|
|
23930
23930
|
token
|
|
@@ -23943,7 +23943,7 @@ function indent(str, spaces) {
|
|
|
23943
23943
|
if (contextKeys.some(function(el) {
|
|
23944
23944
|
return el.startsWith(name);
|
|
23945
23945
|
})) {
|
|
23946
|
-
return
|
|
23946
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23947
23947
|
}
|
|
23948
23948
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23949
23949
|
return el === name;
|
|
@@ -23962,9 +23962,9 @@ function indent(str, spaces) {
|
|
|
23962
23962
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23963
23963
|
return el.startsWith(name);
|
|
23964
23964
|
})) {
|
|
23965
|
-
return
|
|
23965
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23966
23966
|
}
|
|
23967
|
-
return
|
|
23967
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23968
23968
|
v: nextMatch1
|
|
23969
23969
|
};
|
|
23970
23970
|
};
|
|
@@ -144546,66 +144546,58 @@ internalConstants.cloningSteps = Symbol("cloning steps");
|
|
|
144546
144546
|
* This SymbolTree is used to build the tree for all Node in a document
|
|
144547
144547
|
*/ internalConstants.domSymbolTree = new SymbolTree("DOM SymbolTree");
|
|
144548
144548
|
|
|
144549
|
-
var
|
|
144550
|
-
var
|
|
144551
|
-
|
|
144552
|
-
function
|
|
144553
|
-
|
|
144554
|
-
|
|
144555
|
-
|
|
144556
|
-
|
|
144557
|
-
|
|
144558
|
-
|
|
144559
|
-
|
|
144560
|
-
|
|
144561
|
-
|
|
144562
|
-
|
|
144563
|
-
|
|
144564
|
-
|
|
144565
|
-
|
|
144566
|
-
|
|
144567
|
-
|
|
144568
|
-
|
|
144569
|
-
|
|
144570
|
-
|
|
144571
|
-
|
|
144572
|
-
|
|
144573
|
-
|
|
144574
|
-
|
|
144575
|
-
|
|
144576
|
-
|
|
144577
|
-
|
|
144578
|
-
|
|
144579
|
-
|
|
144580
|
-
|
|
144581
|
-
|
|
144582
|
-
|
|
144583
|
-
|
|
144584
|
-
|
|
144585
|
-
|
|
144586
|
-
|
|
144587
|
-
|
|
144588
|
-
|
|
144589
|
-
|
|
144590
|
-
|
|
144591
|
-
|
|
144592
|
-
|
|
144593
|
-
|
|
144594
|
-
if (current === nodeA) {
|
|
144595
|
-
return true;
|
|
144596
|
-
}
|
|
144597
|
-
current = domSymbolTree.following(current);
|
|
144598
|
-
}
|
|
144599
|
-
return false;
|
|
144600
|
-
}
|
|
144601
|
-
node$2 = {
|
|
144602
|
-
nodeLength: nodeLength,
|
|
144603
|
-
nodeRoot: nodeRoot,
|
|
144604
|
-
isInclusiveAncestor: isInclusiveAncestor,
|
|
144605
|
-
isFollowing: isFollowing
|
|
144606
|
-
};
|
|
144607
|
-
return node$2;
|
|
144549
|
+
var NODE_TYPE$4 = nodeType;
|
|
144550
|
+
var domSymbolTree$4 = internalConstants.domSymbolTree;
|
|
144551
|
+
// https://dom.spec.whatwg.org/#concept-node-length
|
|
144552
|
+
function nodeLength(node) {
|
|
144553
|
+
switch(node.nodeType){
|
|
144554
|
+
case NODE_TYPE$4.DOCUMENT_TYPE_NODE:
|
|
144555
|
+
return 0;
|
|
144556
|
+
case NODE_TYPE$4.TEXT_NODE:
|
|
144557
|
+
case NODE_TYPE$4.PROCESSING_INSTRUCTION_NODE:
|
|
144558
|
+
case NODE_TYPE$4.COMMENT_NODE:
|
|
144559
|
+
return node.data.length;
|
|
144560
|
+
default:
|
|
144561
|
+
return domSymbolTree$4.childrenCount(node);
|
|
144562
|
+
}
|
|
144563
|
+
}
|
|
144564
|
+
// https://dom.spec.whatwg.org/#concept-tree-root
|
|
144565
|
+
function nodeRoot$1(node) {
|
|
144566
|
+
while(domSymbolTree$4.parent(node)){
|
|
144567
|
+
node = domSymbolTree$4.parent(node);
|
|
144568
|
+
}
|
|
144569
|
+
return node;
|
|
144570
|
+
}
|
|
144571
|
+
// https://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor
|
|
144572
|
+
function isInclusiveAncestor(ancestorNode, node) {
|
|
144573
|
+
while(node){
|
|
144574
|
+
if (ancestorNode === node) {
|
|
144575
|
+
return true;
|
|
144576
|
+
}
|
|
144577
|
+
node = domSymbolTree$4.parent(node);
|
|
144578
|
+
}
|
|
144579
|
+
return false;
|
|
144580
|
+
}
|
|
144581
|
+
// https://dom.spec.whatwg.org/#concept-tree-following
|
|
144582
|
+
function isFollowing(nodeA, nodeB) {
|
|
144583
|
+
if (nodeA === nodeB) {
|
|
144584
|
+
return false;
|
|
144585
|
+
}
|
|
144586
|
+
var current = nodeB;
|
|
144587
|
+
while(current){
|
|
144588
|
+
if (current === nodeA) {
|
|
144589
|
+
return true;
|
|
144590
|
+
}
|
|
144591
|
+
current = domSymbolTree$4.following(current);
|
|
144592
|
+
}
|
|
144593
|
+
return false;
|
|
144608
144594
|
}
|
|
144595
|
+
var node$2 = {
|
|
144596
|
+
nodeLength: nodeLength,
|
|
144597
|
+
nodeRoot: nodeRoot$1,
|
|
144598
|
+
isInclusiveAncestor: isInclusiveAncestor,
|
|
144599
|
+
isFollowing: isFollowing
|
|
144600
|
+
};
|
|
144609
144601
|
|
|
144610
144602
|
var namespaces = {};
|
|
144611
144603
|
|
|
@@ -145935,7 +145927,7 @@ function _ts_values(o) {
|
|
|
145935
145927
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
145936
145928
|
}
|
|
145937
145929
|
var NODE_TYPE$3 = nodeType;
|
|
145938
|
-
var nodeRoot =
|
|
145930
|
+
var nodeRoot = node$2.nodeRoot;
|
|
145939
145931
|
var HTML_NS$1 = namespaces.HTML_NS;
|
|
145940
145932
|
var domSymbolTree$2 = internalConstants.domSymbolTree;
|
|
145941
145933
|
var _require$9 = mutationObservers, signalSlotList = _require$9.signalSlotList, queueMutationObserverMicrotask = _require$9.queueMutationObserverMicrotask;
|
|
@@ -148597,7 +148589,7 @@ function requireEventTargetImpl () {
|
|
|
148597
148589
|
var DOMException = DOMException$3;
|
|
148598
148590
|
var reportException = runtimeScriptErrors;
|
|
148599
148591
|
var idlUtils = utilsExports;
|
|
148600
|
-
var nodeRoot =
|
|
148592
|
+
var nodeRoot = node$2.nodeRoot;
|
|
148601
148593
|
var _require = shadowDom, isNode = _require.isNode, isShadowRoot = _require.isShadowRoot, isSlotable = _require.isSlotable, getEventTargetParent = _require.getEventTargetParent, isShadowInclusiveAncestor = _require.isShadowInclusiveAncestor, retarget = _require.retarget;
|
|
148602
148594
|
var MouseEvent = requireMouseEvent();
|
|
148603
148595
|
var EVENT_PHASE = {
|
|
@@ -155502,7 +155494,7 @@ function requireNodeImpl () {
|
|
|
155502
155494
|
var _require = requireNode$2(), clone = _require.clone, locateNamespacePrefix = _require.locateNamespacePrefix, locateNamespace = _require.locateNamespace;
|
|
155503
155495
|
var setAnExistingAttributeValue = attributes$1.setAnExistingAttributeValue;
|
|
155504
155496
|
var NodeList$1 = NodeList;
|
|
155505
|
-
var _require1 =
|
|
155497
|
+
var _require1 = node$2, nodeRoot = _require1.nodeRoot, nodeLength = _require1.nodeLength, isInclusiveAncestor = _require1.isInclusiveAncestor;
|
|
155506
155498
|
var domSymbolTree = internalConstants.domSymbolTree;
|
|
155507
155499
|
var documentBaseURLSerialized = documentBaseUrl.documentBaseURLSerialized;
|
|
155508
155500
|
var queueTreeMutationRecord = mutationObservers.queueTreeMutationRecord;
|
|
@@ -179494,7 +179486,7 @@ function requireDocumentOrShadowRootImpl () {
|
|
|
179494
179486
|
return Constructor;
|
|
179495
179487
|
}
|
|
179496
179488
|
var NODE_TYPE = nodeType;
|
|
179497
|
-
var nodeRoot =
|
|
179489
|
+
var nodeRoot = node$2.nodeRoot;
|
|
179498
179490
|
var retarget = shadowDom.retarget;
|
|
179499
179491
|
var DocumentOrShadowRootImpl = /*#__PURE__*/ function() {
|
|
179500
179492
|
function DocumentOrShadowRootImpl() {
|
|
@@ -179666,7 +179658,7 @@ function requireShadowRootImpl () {
|
|
|
179666
179658
|
return _possible_constructor_return(this, result);
|
|
179667
179659
|
};
|
|
179668
179660
|
}
|
|
179669
|
-
var nodeRoot =
|
|
179661
|
+
var nodeRoot = node$2.nodeRoot;
|
|
179670
179662
|
var mixin = utils$7.mixin;
|
|
179671
179663
|
var DocumentFragment = requireDocumentFragmentImpl().implementation;
|
|
179672
179664
|
var DocumentOrShadowRootImpl = requireDocumentOrShadowRootImpl().implementation;
|
|
@@ -195402,7 +195394,7 @@ function requireBoundaryPoint () {
|
|
|
195402
195394
|
if (hasRequiredBoundaryPoint) return boundaryPoint;
|
|
195403
195395
|
hasRequiredBoundaryPoint = 1;
|
|
195404
195396
|
var domSymbolTree = internalConstants.domSymbolTree;
|
|
195405
|
-
var _require =
|
|
195397
|
+
var _require = node$2, nodeRoot = _require.nodeRoot, isFollowing = _require.isFollowing, isInclusiveAncestor = _require.isInclusiveAncestor;
|
|
195406
195398
|
// Returns 0 if equal, +1 for after and -1 for before
|
|
195407
195399
|
// https://dom.spec.whatwg.org/#concept-range-bp-after
|
|
195408
195400
|
function compareBoundaryPointsPosition(bpA, bpB) {
|
|
@@ -195536,7 +195528,7 @@ function requireRangeImpl () {
|
|
|
195536
195528
|
var HTML_NS = namespaces.HTML_NS;
|
|
195537
195529
|
var domSymbolTree = internalConstants.domSymbolTree;
|
|
195538
195530
|
var compareBoundaryPointsPosition = requireBoundaryPoint().compareBoundaryPointsPosition;
|
|
195539
|
-
var _require =
|
|
195531
|
+
var _require = node$2, nodeRoot = _require.nodeRoot, nodeLength = _require.nodeLength, isInclusiveAncestor = _require.isInclusiveAncestor;
|
|
195540
195532
|
var createElement = requireCreateElement().createElement;
|
|
195541
195533
|
var AbstractRangeImpl = requireAbstractRangeImpl().implementation;
|
|
195542
195534
|
var Range = requireRange$1();
|
|
@@ -237783,7 +237775,7 @@ function requireHTMLLabelElementImpl () {
|
|
|
237783
237775
|
var domSymbolTree = internalConstants.domSymbolTree;
|
|
237784
237776
|
var NODE_TYPE = nodeType;
|
|
237785
237777
|
var _require = requireFormControls(), isLabelable = _require.isLabelable, isDisabled = _require.isDisabled, isInteractiveContent = _require.isInteractiveContent;
|
|
237786
|
-
var isInclusiveAncestor =
|
|
237778
|
+
var isInclusiveAncestor = node$2.isInclusiveAncestor;
|
|
237787
237779
|
var fireAnEvent = events$2.fireAnEvent;
|
|
237788
237780
|
function sendClickToAssociatedNode(node) {
|
|
237789
237781
|
fireAnEvent("click", node, MouseEvent, {
|
|
@@ -246707,7 +246699,7 @@ function requireHTMLSlotElementImpl () {
|
|
|
246707
246699
|
var idlUtils = utilsExports;
|
|
246708
246700
|
var HTMLElement = requireHTMLElement();
|
|
246709
246701
|
var HTMLElementImpl = requireHTMLElementImpl().implementation;
|
|
246710
|
-
var nodeRoot =
|
|
246702
|
+
var nodeRoot = node$2.nodeRoot;
|
|
246711
246703
|
var _require = shadowDom, assignSlotableForTree = _require.assignSlotableForTree, findFlattenedSlotables = _require.findFlattenedSlotables;
|
|
246712
246704
|
var HTMLSlotElementImpl = /*#__PURE__*/ function(HTMLElementImpl) {
|
|
246713
246705
|
_inherits(HTMLSlotElementImpl, HTMLElementImpl);
|
|
@@ -304365,7 +304357,7 @@ function requireSelectionImpl () {
|
|
|
304365
304357
|
}
|
|
304366
304358
|
var DOMException = DOMException$3;
|
|
304367
304359
|
var NODE_TYPE = nodeType;
|
|
304368
|
-
var _require =
|
|
304360
|
+
var _require = node$2, nodeLength = _require.nodeLength, nodeRoot = _require.nodeRoot;
|
|
304369
304361
|
var domSymbolTree = internalConstants.domSymbolTree;
|
|
304370
304362
|
var compareBoundaryPointsPosition = requireBoundaryPoint().compareBoundaryPointsPosition;
|
|
304371
304363
|
var _require1 = requireRangeImpl(), setBoundaryPointStart = _require1.setBoundaryPointStart, setBoundaryPointEnd = _require1.setBoundaryPointEnd;
|