(a, b, c)
| 1535 | return b && b !== a ? b.nextSibling : null; |
| 1536 | } |
| 1537 | function S(a, b, c) { |
| 1538 | c = c ? c : new Set(); |
| 1539 | for (var d = a; d; ) { |
| 1540 | if (d.nodeType === Node.ELEMENT_NODE) { |
| 1541 | var e = d; |
| 1542 | b(e); |
| 1543 | var f = e.localName; |
| 1544 | if ('link' === f && 'import' === e.getAttribute('rel')) { |
| 1545 | d = e.import; |
| 1546 | if (d instanceof Node && !c.has(d)) |
| 1547 | for (c.add(d), d = d.firstChild; d; d = d.nextSibling) S(d, b, c); |
| 1548 | d = yb(a, e); |
| 1549 | continue; |
| 1550 | } else if ('template' === f) { |
| 1551 | d = yb(a, e); |
| 1552 | continue; |
| 1553 | } |
| 1554 | if ((e = e.__CE_shadowRoot)) |
| 1555 | for (e = e.firstChild; e; e = e.nextSibling) S(e, b, c); |
| 1556 | } |
| 1557 | d = d.firstChild ? d.firstChild : yb(a, d); |
| 1558 | } |
| 1559 | } |
| 1560 | function x(a, b, c) { |
| 1561 | a[b] = c; |
| 1562 | } |
no test coverage detected