function removeChild$1(parent, node) {
  if (node.parentNode !== parent) {
    throw Error('The node to be removed is not a child of this node: ' +
      node);
  }
  if (!removeNode(node)) {
    // if removing from a shadyRoot, remove form host instead
    let container = isShadyRoot(parent) ?
      parent.host :
      parent;
    // not guaranteed to physically be in container; e.g.
    // undistributed nodes.
    let nativeParent = parentNode(node);
    if (container === nativeParent) {
      removeChild.call(container, node);
    }
  }
  _scheduleObserver(parent, null, node);
  return node;
}
/**
  Removes the given `node` from the element's `lightChildren`.
  This method also performs dom composition.
*/
Removes the given `node` from the element's `lightChildren`.
This method also performs dom composition.
Removes the given ` node ` from the element ' s ` lightChildren ` . This method also performs dom composition .
function removeChild$1(parent, node) {
  if (node.parentNode !== parent) {
    throw Error('The node to be removed is not a child of this node: ' +
      node);
  }
  if (!removeNode(node)) {
    let container = isShadyRoot(parent) ?
      parent.host :
      parent;
    let nativeParent = parentNode(node);
    if (container === nativeParent) {
      removeChild.call(container, node);
    }
  }
  _scheduleObserver(parent, null, node);
  return node;
}
function removeChild$1 ( parent , node ) { if ( node . parentNode !== parent ) { throw Error ( 'The node to be removed is not a child of this node: ' + node ) ; } if ( ! removeNode ( node ) ) { let container = isShadyRoot ( parent ) ? parent . host : parent ; let nativeParent = parentNode ( node ) ; if ( container === nativeParent ) { removeChild . call ( container , node ) ; } } _scheduleObserver ( parent , null , node ) ; return node ; }
Removes the given `node` from the element's `lightChildren`.
Removes the given ` node ` from the element ' s ` lightChildren ` .
// if removing from a shadyRoot, remove form host instead // not guaranteed to physically be in container; e.g. // undistributed nodes.