authentication-popup.phtml 867 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. // @codingStandardsIgnoreFile
  7. /** @var \Magento\Customer\Block\Account\AuthenticationPopup $block */
  8. ?>
  9. <div id="authenticationPopup" data-bind="scope:'authenticationPopup'" style="display: none;">
  10. <script>
  11. window.authenticationPopup = <?= /* @noEscape */ $block->getSerializedConfig() ?>;
  12. </script>
  13. <!-- ko template: getTemplate() --><!-- /ko -->
  14. <script type="text/x-magento-init">
  15. {
  16. "#authenticationPopup": {
  17. "Magento_Ui/js/core/app": <?= /* @noEscape */ $block->getJsLayout() ?>
  18. },
  19. "*": {
  20. "Magento_Ui/js/block-loader": "<?= $block->escapeJs($block->escapeUrl($block->getViewFileUrl('images/loader-1.gif'))) ?>"
  21. }
  22. }
  23. </script>
  24. </div>