{return this.allChildren(this.rootNode());}
appendChildAfterSorting(child){}
updateVisibleNodes(force){const guardZoneHeight=40;const scrollHeight=this.scrollContainer.scrollHeight;let scrollTop=this.scrollContainer.scrollTop;let scrollBottom=scrollHeight-scrollTop-this.scrollContainer.offsetHeight;scrollTop=Math.max(0,scrollTop-guardZoneHeight);scrollBottom=Math.max(0,scrollBottom-guardZoneHeight);let viewPortHeight=scrollHeight-scrollTop-scrollBottom;if(!force&&scrollTop>=this._topPaddingHeight&&scrollBottom>=this._bottomPaddingHeight)
return;const hysteresisHeight=500;scrollTop-=hysteresisHeight;viewPortHeight+=2*hysteresisHeight;const selectedNode=this.selectedNode;this.rootNode().removeChildren();this._topPaddingHeight=0;this._bottomPaddingHeight=0;this._addVisibleNodes(this.rootNode(),scrollTop,scrollTop+viewPortHeight);this.setVerticalPadding(this._topPaddingHeight,this._bottomPaddingHeight);if(selectedNode){if(selectedNode.parent)
selectedNode.select(true);else
this.selectedNode=selectedNode;}}
_addVisibleNodes(parentNode,topBound,bottomBound){if(!parentNode.expanded)
return 0;const children=this.allChildren(parentNode);let topPadding=0;const nameFilterValue=this._nameFilter?this._nameFilter.value().toLowerCase():'';let i=0;for(;i<children.length;++i){const child=children[i];if(nameFilterValue&&child.filteredOut&&child.filteredOut(nameFilterValue))
continue;const newTop=topPadding+this._nodeHeight(child);if(newTop>topBound)
break;topPadding=newTop;}
let position=topPadding;for(;i<children.length&&position<bottomBound;++i){const child=children[i];if(nameFilterValue&&child.filteredOut&&child.filteredOut(nameFilterValue))
continue;const hasChildren=child.hasChildren();child.removeChildren();child.setHasChildren(hasChildren);parentNode.appendChild(child);position+=child.nodeSelfHeight();position+=this._addVisibleNodes(child,topBound-position,bottomBound-position);}
let bottomPadding=0;for(;i<children.length;++i){const child=children[i];if(nameFilterValue&&child.filteredOut&&child.filteredOut(nameF﻿// C++/WinRT v1.0.180227.3

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#pragma once
#include "winrt/impl/Windows.ApplicationModel.Payments.0.h"
#include "winrt/impl/Windows.ApplicationModel.Payments.Provider.0.h"

WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Payments::Provider {

struct WINRT_EBO IPaymentAppCanMakePaymentTriggerDetails :
    Windows::Foundation::IInspectable,
    impl::consume_t<IPaymentAppCanMakePaymentTriggerDetails>
{
    IPaymentAppCanMakePaymentTriggerDetails(std::nullptr_t = nullptr) noexcept {}
};

struct WINRT_EBO IPaymentAppManager :
    Windows::Foundation::IInspectable,
    impl::consume_t<IPaymentAppManager>
{
    IPaymentAppManager(std::nullptr_t = nullptr) noexcept {}
};

struct WINRT_EBO IPaymentAppManagerStatics :
    Windows::Foundation::IInspectable,
    impl::consume_t<IPaymentAppManagerStatics>
{
    IPaymentAppManagerStatics(std::nullptr_t = nullptr) noexcept {}
};

struct WINRT_EBO IPaymentTransaction :
    Windows::Foundation::IInspectable,
    impl::consume_t<IPaymentTransaction>
{
    IPaymentTransaction(std::nullptr_t = nullptr) noexcept {}
};

struct WINRT_EBO IPaymentTransactionAcceptResult :
    Windows::Foundation::IInspectable,
    impl::consume_t<IPaymentTransactionAcceptResult>
{
    IPaymentTransactionAcceptResult(std::nullptr_t = nullptr) noexcept {}
};

struct WINRT_EBO IPaymentTransactionStatics :
    Windows::Foundation::IInspectable,
    impl::consume_t<IPaymentTransactionStatics>
{
    IPaymentTransactionStatics(std::nullptr_t = nullptr) noexcept {}
};

}
