<?xml version="1.0" encoding="utf-8"?>
<odoo>

<!-- This contains the tour assets. They are included during testing. -->
<template id="point_of_sale.index" name="POS Index">&lt;!DOCTYPE html&gt;
<html>
    <head>
        <title>Odoo POS</title>
        <meta name="darkreader-lock"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
        <meta http-equiv="content-type" content="text/html, charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, interactive-widget=resizes-content"/>
        <link rel="icon" href="/point_of_sale/static/src/img/favicon.ico" type="image/x-icon"/>

        <style> body { background: #222; } </style>

        <script type="text/javascript">
            var odoo = <t t-out="json.dumps({
                'csrf_token': request.csrf_token(None),
                '__session_info__': session_info,
                'from_backend': from_backend,
                'pos_session_id': pos_session_id,
                'last_data_change': last_data_change,
                'pos_config_id': pos_config_id,
                'access_token': access_token,
                'urls_to_cache': urls_to_cache,
                'use_pos_fake_tours': use_pos_fake_tours,
                'use_lna': use_lna,
                'debug': debug,
            })"/>;
            // Prevent the menu_service to load anything. In an ideal world, POS assets would only contain
            // what is genuinely necessary, and not the whole backend.
            odoo.loadMenusPromise = Promise.resolve();
        </script>

        <t t-call="web.conditional_assets_tests">
            <t t-set="ignore_missing_deps" t-value="True"/>
        </t>
        <t t-if="request.cookies.get('pos_color_scheme') == 'dark'">
            <t t-call-assets="point_of_sale.assets_prod_dark"/>
        </t>
        <t t-else="">
            <t t-call-assets="point_of_sale.assets_prod"/>
        </t>
        <t t-if="use_pos_fake_tours">
            <t t-call-assets="point_of_sale.assets_debug" />
        </t>
    </head>
    <body class="pos">
    </body>
</html>
</template>

</odoo>
