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AUF,KAAKC,GACXA,KAInB5B,EAAAA,cAAA,QAAMO,GAAG,QACJF,GACGA,EAAMyB,SACNzB,EAAMyB,QAAQH,KAAKC,GACRA,KAGlBvB,GAASA,EAAM0B,WACZ/B,EAAAA,cAAA,OAAKO,GAAG,aACHF,EAAM0B,UAAUJ,KAAKC,GACXA,KAInB5B,EAAAA,cAAA,cACKK,GACGA,EAAM2B,QACN3B,EAAM2B,OAAOL,KAAKC,GACPA,OAQnC,8BC9EAK,EAAOC,QAAUlC,2BCAjBiC,EAAOC,QAAUC","sources":["webpack://Msdyn365.Commerce.Online/./lib/default-page/module-registration.js?b25f","webpack://Msdyn365.Commerce.Online/./src/modules/default-page/default-page.tsx?b382","webpack://Msdyn365.Commerce.Online/external var \"React\"?0d3b","webpack://Msdyn365.Commerce.Online/external var \"ReactDOM\"?853b"],"sourcesContent":["const binding = { modules: {}, dataActions: {} };\n\n    (binding.modules['default-page'] = {\n        c: () => require('@msdyn365-commerce-modules/core-components/dist/lib/modules/default-page/default-page'),\n        $type: 'pageModule',\n        da: [],\n        \n        iNM: true,\n        ns: '@msdyn365-commerce-modules',\n        n: 'default-page',\n        p: 'core-components',\n        \n        pdp: '',\n        \n        \n        md: 'node_modules/@msdyn365-commerce-modules/core-components/dist/lib/modules/default-page'\n    });\n        \n\n        \n    window.__bindings__ = window.__bindings__ || {};\n    window.__bindings__.modules = {\n        ...window.__bindings__.modules || {},\n        ...binding.modules\n    };\n    \n        window.__bindings__.dataActions = {\n        ...window.__bindings__.dataActions || {},\n        ...binding.dataActions\n    };","/*!\n * Copyright (c) Microsoft Corporation.\n * All rights reserved. See LICENSE in the project root for license information.\n */\n\nimport { LogLevel } from '@msdyn365-commerce/telemetry-internal';\nimport * as React from 'react';\nimport { isEditorialMode } from '@msdyn365-commerce/core-internal';\nimport { IDefaultPageProps } from './default-page.props.autogenerated';\n\n/**\n *\n * CoreComponent component\n * @extends {React.PureComponent<IDefaultPageProps>}\n */\nclass DefaultPageContainer extends React.PureComponent<IDefaultPageProps<{}>> {\n    constructor(props: IDefaultPageProps<{}>) {\n        super(props);\n    }\n\n    public render(): JSX.Element {\n        const { slots, telemetry, id, typeName } = this.props;\n\n        let skipToMainText = this.props.config && this.props.config.skipToMainText;\n        telemetry.log(LogLevel.Debug, \"DefaultPageContainer rendering for '{id}/{typeName}'\", { values: [id, typeName] });\n\n        if (!skipToMainText) {\n            skipToMainText =\n                this.props.context.app && this.props.context.app.platform ? this.props.context.app.platform.skipToMainText : '';\n        }\n\n        const tabIndexSkipToMain = isEditorialMode(this.props.context.actionContext.requestContext) ? -1 : 0;\n\n        return (\n            <React.Fragment>\n                <a className='skip-to-main' href='#main' tabIndex={tabIndexSkipToMain}>\n                    {skipToMainText}\n                </a>\n                <header>\n                    {slots &&\n                        slots.header &&\n                        slots.header.map((children: React.ReactNode) => {\n                            return children;\n                        })}\n                </header>\n                {slots && slots.subheader && (\n                    <div id='subheader'>\n                        {slots.subheader.map((children: React.ReactNode) => {\n                            return children;\n                        })}\n                    </div>\n                )}\n                <main id='main'>\n                    {slots &&\n                        slots.primary &&\n                        slots.primary.map((children: React.ReactNode) => {\n                            return children;\n                        })}\n                </main>\n                {slots && slots.subfooter && (\n                    <div id='subfooter'>\n                        {slots.subfooter.map((children: React.ReactNode) => {\n                            return children;\n                        })}\n                    </div>\n                )}\n                <footer>\n                    {slots &&\n                        slots.footer &&\n                        slots.footer.map((children: React.ReactNode) => {\n                            return children;\n                        })}\n                </footer>\n            </React.Fragment>\n        );\n    }\n}\n\nexport default DefaultPageContainer;\n","module.exports = React;","module.exports = ReactDOM;"],"names":["binding","modules","dataActions","c","require","$type","da","iNM","ns","n","p","pdp","md","window","__bindings__","_objectSpread","DefaultPageContainer","React","constructor","props","super","render","slots","telemetry","id","typeName","this","skipToMainText","config","log","LogLevel","Debug","values","context","app","platform","tabIndexSkipToMain","isEditorialMode","actionContext","requestContext","className","href","tabIndex","header","map","children","subheader","primary","subfooter","footer","module","exports","ReactDOM"],"sourceRoot":""}