{"version":3,"file":"LazyModelPage.ec2256889285aee5.0.6737.0.js","mappings":"4aAUO,SAASA,GAAM,UAAEC,IACtB,MAAOC,EAAcC,IAAmB,IAAAC,UAAgC,MAGlEC,GAAY,QAAkB,CAAEH,eAAcI,cAAc,EAAMC,GAAIN,IAE5E,OACE,gBAACO,EAAY,CAACC,IALAA,GAAwBN,EAAgBM,GAK7B,iBAAiB,SAAQ,sBAC/CJ,GAAa,gBAAC,IAAc,MAGnC,CAEA,MAAMG,E,8DAAe,mBAAU;;;;ECZxB,SAASE,GAAU,UAAET,IAC1B,MAAMU,GAAkB,IAAAC,UAAyB,KAAM,CAAGC,UAAU,KAAU,IAE9E,OACE,gBAAC,MAAgB,CAACC,MAAO,OACvB,gBAAC,KAAkB,CAACC,MAAOJ,GACzB,gBAACX,EAAK,CAACC,UAAWA,KAI1B,CAEA,S","sources":["webpack://aurora-new-frontend/./packages/lead-capture/src/pages/model/components/model.tsx","webpack://aurora-new-frontend/./packages/lead-capture/src/pages/model/model-page.tsx"],"sourcesContent":["import React, { useState } from 'react';\n\nimport { useLeadCaptureCad } from '@aurorasolar/cad-ui';\nimport { CadLoadingPage } from '@aurorasolar/cad-ui/src/cad-wrapper/cad-loading-page';\nimport styled from '@xstyled/styled-components';\n\nexport interface ModelProps {\n projectId: string;\n}\n\nexport function Model({ projectId }: ModelProps) {\n const [cadContainer, setCadContainer] = useState(null);\n const setRef = (ref: HTMLDivElement) => setCadContainer(ref);\n\n const isLoading = useLeadCaptureCad({ cadContainer, hasOrbitMode: true, id: projectId });\n\n return (\n \n {isLoading && }\n \n );\n}\n\nconst CadContainer = styled.div`\n position: absolute;\n inset: 0;\n cursor: move !important;\n`;\n","import React, { useMemo } from 'react';\n\nimport { CadContextProvider, CadContextValue } from '@aurorasolar/cad-ui';\nimport * as DS from '@aurorasolar/ds';\n\nimport { Model } from './components/model';\n\nexport interface ModelPageProps {\n projectId: string;\n}\n\nexport function ModelPage({ projectId }: ModelPageProps) {\n const cadContextValue = useMemo(() => ({ isLoaded: false }), []);\n\n return (\n \n \n \n \n \n );\n}\n\nexport default ModelPage;\n"],"names":["Model","projectId","cadContainer","setCadContainer","useState","isLoading","hasOrbitMode","id","CadContainer","ref","ModelPage","cadContextValue","useMemo","isLoaded","theme","value"],"sourceRoot":""}