docs/vendor.js
function getClosestComponentAncestor(node) {
    while (node.tNode.type === 2 /* View */) {
        node = node.view[HOST_NODE];
    }
    return node;
}
function getClosestComponentAncestor(node) {
    while (node.tNode.type === 2 /* View */) {
        node = node.view[HOST_NODE];
    }
    return node;
}
function getClosestComponentAncestor ( node ) { while ( node . tNode . type === 2 /* View */ ) { node = node . view [ HOST_NODE ] ; } return node ; }
If the node is an embedded view, traverses up the view tree to return the closest
ancestor view that is attached to a component. If it's already a component node,
returns itself.
If the node is an embedded view traverses up the view tree to return the closest ancestor view that is attached to a component . If it s already a component node returns itself .