{"version":3,"sources":["webpack:///./lib/dobbies-back-top-footer/module-registration.js?0148","webpack:///./src/modules/dobbies-back-top-footer/dobbies-back-top-footer.tsx?b069","webpack:///external \"React\"?c481","webpack:///external \"ReactDOM\"?4b2d"],"names":["binding","modules","dataActions","c","require","$type","da","iNM","ns","n","p","pdp","md","window","__bindings__","BackTopFooter","React","constructor","props","super","editProps","requestContext","this","context","request","onEdit","event","config","backtoTopText","target","value","telemetryContent","getTelemetryObject","telemetryPageName","friendlyName","telemetry","render","destination","BackToTop","href","title","ariaLabel","className","text","error","module","exports","ReactDOM"],"mappings":"wqBAAA,MAAMA,EAAU,CAAEC,QAAS,GAAIC,YAAa,IAEvCF,EAAQC,QAAQ,2BAA6B,CAC1CE,EAAG,IAAMC,EAAQ,QACjBC,MAAO,gBACPC,GAAI,GAEJC,KAAK,EACLC,GAAI,YACJC,EAAG,0BACHC,EAAG,YAEHC,IAAK,GAGLC,GAAI,uCAKRC,OAAOC,aAAeD,OAAOC,cAAgB,GAC7CD,OAAOC,aAAab,QAApB,OACOY,OAAOC,aAAab,SAAW,IAC/BD,EAAQC,SAGXY,OAAOC,aAAaZ,YAApB,OACGW,OAAOC,aAAaZ,aAAe,IACnCF,EAAQE,c,kCC5BnB,mCAiBA,MAAMa,UAAsBC,gBAQxBC,YAAYC,GACRC,MAAMD,GARO,KAAAE,UAAqC,CAClDC,eAAgBC,KAAKJ,MAAMK,QAAQC,QACnCC,OAASC,GAA0CJ,KAAKJ,MAAMS,OAAOC,cAAgBF,EAAMG,OAAOC,OAOlGR,KAAKS,iBAAmBC,6BACpBV,KAAKJ,MAAMK,QAAQC,QAAQS,kBAC3BX,KAAKJ,MAAMgB,aACXZ,KAAKJ,MAAMiB,WAIZC,SACH,OAAKd,KAAKJ,MAAMS,OAAOU,YAMnBrB,gBAACsB,YAAS,CACNC,KAAMjB,KAAKJ,MAAMS,OAAOU,YACxBG,MAAOlB,KAAKJ,MAAMS,OAAOa,MAAK,aAClBlB,KAAKJ,MAAMS,OAAOc,UAC9BC,UAAU,iBACVtB,UAAWE,KAAKF,UAChBuB,KAAMrB,KAAKJ,MAAMS,OAAOC,cACxBG,iBAAkBT,KAAKS,oBAZ3BT,KAAKJ,MAAMiB,UAAUS,MAAM,oEACpB,OAiBJ7B,a,mBCtDf8B,EAAOC,QAAU9B,O,mBCAjB6B,EAAOC,QAAUC,W","file":"static/js/85.ef3e087d6f8ab792ec63.chunk.js","sourcesContent":["const binding = { modules: {}, dataActions: {} };\n\n (binding.modules['dobbies-back-top-footer'] = {\n c: () => require('partner/modules/dobbies-back-top-footer/dobbies-back-top-footer.tsx'),\n $type: 'contentModule',\n da: [],\n \n iNM: false,\n ns: '__local__',\n n: 'dobbies-back-top-footer',\n p: '__local__',\n \n pdp: '',\n \n \n md: 'src/modules/dobbies-back-top-footer'\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 };","/*--------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * See License.txt in the project root for license information.\r\n *--------------------------------------------------------------*/\r\n\r\n/* eslint-disable no-duplicate-imports */\r\nimport * as Msdyn365 from '@msdyn365-commerce/core';\r\nimport { BackToTop, getTelemetryObject, ITelemetryContent } from '@msdyn365-commerce-modules/utilities';\r\nimport * as React from 'react';\r\n\r\nimport { IDobbiesBackTopFooterProps } from './dobbies-back-top-footer.props.autogenerated';\r\n\r\n/**\r\n *\r\n * BackTopFooter component.\r\n * @extends {React.PureComponent>}\r\n */\r\nclass BackTopFooter extends React.PureComponent> {\r\n private readonly editProps: Msdyn365.ITextEditProps = {\r\n requestContext: this.props.context.request,\r\n onEdit: (event: Msdyn365.ContentEditableEvent) => (this.props.config.backtoTopText = event.target.value)\r\n };\r\n\r\n private readonly telemetryContent?: ITelemetryContent;\r\n\r\n constructor(props: IDobbiesBackTopFooterProps<{}>) {\r\n super(props);\r\n this.telemetryContent = getTelemetryObject(\r\n this.props.context.request.telemetryPageName!,\r\n this.props.friendlyName,\r\n this.props.telemetry\r\n );\r\n }\r\n\r\n public render(): JSX.Element | null {\r\n if (!this.props.config.destination) {\r\n this.props.telemetry.error('BackToTop.destination has not been provided, module wont render.');\r\n return null;\r\n }\r\n\r\n return (\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default BackTopFooter;\r\n","module.exports = React;","module.exports = ReactDOM;"],"sourceRoot":""}