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phTitle/index.tsx","webpack://_N_E/./components/Section/index.tsx","webpack://_N_E/./components/head.js","webpack://_N_E/./context/Lead/leadSession.ts","webpack://_N_E/./data/cleaningPackages.ts","webpack://_N_E/./pages/thank-you.tsx","webpack://_N_E/?3dc4","webpack://_N_E/./node_modules/react-bootstrap/esm/Container.js"],"sourcesContent":["import React from 'react';\nimport Head from 'next/head';\n\ninterface OpenGraphDescriptionProps {\n // add open graph description props here\n children: React.ReactNode;\n}\n\nconst OpenGraphDescription: React.FC = ({\n children,\n}: OpenGraphDescriptionProps) => {\n const description = children.toString();\n\n return (\n \n {/* Add open graph description Content Here */}\n \n \n \n \n );\n};\n\nexport default OpenGraphDescription;\n","import React from 'react';\nimport Head from 'next/head';\n\ninterface OpenGraphTitleProps{\n title: string;\n}\n\nconst OpenGraphTitle: React.FC = ({ title }: OpenGraphTitleProps) => (\n \n {title}\n \n \n\n \n);\n\nexport default OpenGraphTitle;\n","/**\n * Create a page section with different background colors, vertical padding and widths\n * Defaults to transparent, top and bottom, col-xs-12/col-md-11/col-lg-10\n */\nimport React from 'react';\nimport { Row, Col, Container } from 'react-bootstrap';\n// import style from './Section.module.scss';\n\ninterface SectionProps {\n children?: React.ReactNode;\n className?: string;\n color?: string;\n padding?: string;\n xs?: number;\n md?: number;\n lg?: number;\n}\n\nconst Section: React.FC = ({\n xs,\n md,\n lg,\n color,\n className,\n children,\n padding,\n}: SectionProps) => {\n const sectionColor: string = color || 'transparent';\n const sectionXs: number = xs || 12;\n const sectionMd: number = md || 11;\n const sectionLg: number = lg || 10;\n let sectionPadding: string | boolean = 'y';\n\n if (padding === 'top') {\n sectionPadding = 't';\n } else if (padding === 'bottom') {\n sectionPadding = 'b';\n } else if (padding === 'none' || padding === null) {\n sectionPadding = false;\n }\n\n return (\n \n {children && (\n \n \n \n {children || null}\n \n \n \n )}\n \n );\n};\n\nexport default Section;\n","/**\n * SEO component that sets up the and page metadata.\n *\n * @link https://github.com/nfl/react-helmet\n */\nimport { datadogRum } from '@datadog/browser-rum';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport Helmet from 'react-helmet';\nimport { pink500 } from '../ui/colors';\n\nconst colorTheme = pink500;\n\nfunction Head({ slug, description, lang, meta, title }) {\n const metaDescription = description || 'Meta';\n // const metaDescription = 'Meta';\n datadogRum.init({\n applicationId: '2b8a7178-88fd-4eae-b1fc-d466adbcda4c',\n clientToken: 'puba6170b123e376449351616f417bffbae',\n site: 'datadoghq.com',\n service: 'hubsite',\n\n sessionSampleRate: 100,\n sessionReplaySampleRate: 100, // if not included, the default is 100\n trackResources: true,\n trackLongTasks: true,\n trackUserInteractions: true,\n silentMultipleInit: true,\n });\n\n datadogRum.startSessionReplayRecording();\n return (\n \n {/* */}\n {/* */}\n \n );\n}\n\nHead.defaultProps = {\n lang: 'en',\n meta: [],\n description: '',\n};\n\nHead.propTypes = {\n description: PropTypes.string,\n lang: PropTypes.string,\n meta: PropTypes.arrayOf(PropTypes.object),\n title: PropTypes.string.isRequired,\n};\n\nexport default Head;\n","import axios from 'axios';\n\nimport { LeadAppointment } from './lead.types';\n\nconst leadRequest = axios.create({\n validateStatus: (status) => status >= 200 && status < 500,\n});\n\ntype LeadRequestData = {\n leadId: number;\n franchiseeId?: number;\n cleaningDate?: string;\n appointment?: LeadAppointment\n}\n\nconst leadSession = ({\n get: async () => {\n const response = await leadRequest.get('/api/lead-session/')\n .then(({ data }) => data)\n .catch((error) => error);\n return response;\n },\n set: async (\n leadId : number,\n franchiseeId?: number,\n cleaningDate?: string,\n appointment?: LeadAppointment,\n ) => {\n let requestData : LeadRequestData = { leadId };\n if (franchiseeId) {\n requestData.franchiseeId = franchiseeId;\n }\n if (cleaningDate) {\n requestData.cleaningDate = cleaningDate;\n }\n if (appointment) {\n requestData.appointment = appointment;\n }\n // console.log(\"Setting lead with data: \", requestData)\n const response = await leadRequest.post('/api/lead-session/', requestData)\n .then(({ data }) => data)\n .catch((error) => error);\n return response;\n },\n clear: async () => {\n const response = await leadRequest.delete('/api/lead-session/', {})\n .then(({ data }) => data)\n .catch((error) => error);\n return response;\n },\n\n});\n\nexport default leadSession;\n","export type CleaningPackageData = {\n id: number;\n name: string;\n slug?: string;\n description: string;\n}\n\nexport const single : Array = [\n {\n id: 1,\n name: 'Design with Time',\n slug: 'one-time/design-with-time/',\n description: \"Our Design with Time Cleaning Package is perfect for homeowners looking for a one-time clean or occasional services. It's like creating your own custom cleaning plan! With sessions lasting from 2 to 5 hours, your cleaning team will tackle your tasks based on your priorities. We'll strive to finish everything on your list within the time frame you've chosen. Our teams are motivated to deliver top-notch results, so they'll work efficiently to complete your tasks within the allotted time. Keep in mind, you're paying for time that can vary based on the complexity of the job. If we need more time, we'll gladly work with you to schedule additional hours. Have a lengthy to-do list? Explore our Deep Clean Package for a more comprehensive cleaning experience.\",\n },\n {\n id: 9,\n name: 'Deep Clean',\n slug: 'one-time/deep-cleaning/',\n description: 'Our Deep Cleaning Package is the most thorough cleaning service. The most significant difference between the Deep Cleaning Package and our other cleaning packages is the amount of time and detail we spend cleaning what we refer to as your vertical surfaces. Vertical surfaces include baseboards, trim work, interior windows, blinds, exterior cabinets/drawers, light fixtures, and doors.',\n },\n {\n id: 17,\n name: 'Move In/Move Out',\n slug: 'one-time/move/',\n description: 'Our Empty Home Move In/Out Cleaning Package is perfect for the homeowner who needs a vacant home, apartment, or condo cleaned. This package will help ensure your home is move-in ready! To ensure the highest quality of service, personal belongings must be removed prior to your cleaning.',\n },\n];\n\nexport const weekly : Array = [\n {\n id: 6,\n name: 'Premium Weekly',\n slug: 'recurring/premium/',\n description: \"The Premium Maintenance Cleaning package offers thorough cleaning service for customers that desire a home cleaning on a regular basis. To maintain the standard on cleanliness, Two Maids will clean vertical surfaces such as windows, doors, and baseboards in a rotation each cleaning throughout the life of the recurrence. It's best to start services with a Deep Clean to tackle any build-up and ensure all vertical surfaces are thoroughly cleaning on the first visit.\",\n },\n {\n id: 10,\n name: 'Alternating Weekly',\n slug: 'recurring/alternating/',\n description: 'With the Alternating Cleaning Package we are able to alternate your cleaning services between our Premium and Touch-Up cleaning services.\\nThis specific cleaning package is best suited for the homeowner who does not require detailed cleaning on a regular basis, but still wishes to receive high quality house cleaning once a week, or every other week. With this package, our team of Personal House Cleaners will rotate between the Premium and Touch Up service packages, performing tasks related to each service during each visit. Please review the descriptions for the Premium and Touch Up packages to fully understand what is offered in each alternating service.',\n },\n];\n\nexport const biweekly : Array = [\n {\n id: 5,\n name: 'Premium Biweekly',\n slug: 'recurring/premium/',\n description: \"The Premium Maintenance Cleaning package offers thorough cleaning service for customers that desire a home cleaning on a regular basis. To maintain the standard on cleanliness, Two Maids will clean vertical surfaces such as windows, doors, and baseboards in a rotation each cleaning throughout the life of the recurrence. It's best to start services with a Deep Clean to tackle any build-up and ensure all vertical surfaces are thoroughly cleaning on the first visit.\",\n },\n {\n id: 2,\n name: 'Alternating Biweekly',\n slug: 'recurring/alternating/',\n description: 'With the Alternating Cleaning Package we are able to alternate your cleaning services between our Premium and Touch-Up cleaning services.\\nThis specific cleaning package is best suited for the homeowner who does not require detailed cleaning on a regular basis, but still wishes to receive high quality house cleaning once a week, or every other week. With this package, our team of Personal House Cleaners will rotate between the Premium and Touch Up service packages, performing tasks related to each service during each visit. Please review the descriptions for the Premium and Touch Up packages to fully understand what is offered in each alternating service.',\n },\n];\nexport const monthly: Array = [\n {\n id: 4,\n name: 'Premium Monthly',\n slug: 'recurring/premium/',\n description: \"The Premium Maintenance Cleaning package offers thorough cleaning service for customers that desire a home cleaning on a regular basis. To maintain the standard on cleanliness, Two Maids will clean vertical surfaces such as windows, doors, and baseboards in a rotation each cleaning throughout the life of the recurrence. It's best to start services with a Deep Clean to tackle any build-up and ensure all vertical surfaces are thoroughly cleaning on the first visit.\",\n },\n];\nexport const allPackages : Array = [\n ...single, ...weekly, ...biweekly, ...monthly,\n];\n\nexport const getPackageById = (packageId: number): CleaningPackageData => {\n const packages = allPackages.filter(({ id }) => id === packageId);\n if (packages.length === 1) return packages[0];\n return ({\n id: -1,\n name: 'No Package Selected',\n description: '',\n });\n};\n\nexport default ({\n single, weekly, biweekly, monthly,\n});\n","import React, { useEffect, useState } from 'react';\n// import Link from 'next/link';\n// import { faCheckCircle } from '@fortawesome/free-solid-svg-icons';\n// import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport camelcaseKeys from 'camelcase-keys';\nimport { DateTime } from 'luxon';\nimport { withIronSession } from 'next-iron-session';\nimport { Col, Row } from 'react-bootstrap';\nimport Head from '../components/head';\nimport Layout from '../components/Layout';\nimport OpenGraphDescription from '../components/OpenGraphDescription';\nimport OpenGraphTitle from '../components/OpenGraphTitle';\nimport Section from '../components/Section';\n// import PageTitle from '../components/PageTitle';\n// import { faInfoCircle } from '@fortawesome/free-solid-svg-icons';\nimport axios from 'axios';\nimport moment from 'moment';\nimport { useDispatch, useSelector } from 'react-redux';\n// import BookingSummary from '../components/BookingSummary';\nimport PhoneLink from '../components/PhoneLink';\n// import TipSelection from '../components/TipSelection';\nimport { FranchiseeProvider } from '../context/Franchisee';\nimport { FranchiseeState } from '../context/Franchisee/franchisee.types';\nimport { LeadAppointment, LeadState } from '../context/Lead/lead.types';\nimport leadSession from '../context/Lead/leadSession';\nimport { getPackageById } from '../data/cleaningPackages';\nimport { setResetStore } from '../features/user/userSlice';\nimport db from '../SDKs/firebase/firebase';\nimport Gataware from '../SDKs/Gataware';\nimport leadConfig from '../sessions/lead';\nimport { updateVonigoCustomClientField } from '../utils/vonigoApiCalls';\n// import SVG from \"react-inlinesvg\"\nexport const getServerSideProps = withIronSession(async ({ req, res }) => {\n try {\n const leadId = req.session.get('leadId');\n const franchiseeId =\n req.session.get('franchiseeId') === undefined\n ? 14\n : req.session.get('franchiseeId');\n const cleaningDate = req.session.get('cleaningDate');\n const appointment = req.session.get('appointment');\n\n // if (!leadId) {\n // res.setHeader('location', '/book/');\n // res.statusCode = 302;\n // return res.end();\n // }\n\n // if (!cleaningDate) {\n // res.setHeader('location', '/schedule/');\n // res.statusCode = 302;\n // return res.end();\n // }\n // if (!appointment) {\n // res.setHeader('location', '/confirm/');\n // res.statusCode = 302;\n // return res.end();\n // }\n\n const locationsRequest = Gataware.getLocations({\n ids: [franchiseeId],\n }).then(({ data }) => JSON.parse(data));\n\n const leadRequest = Gataware.lead.checkIfLeadExists({ leadId });\n\n const [franchiseesResponse, lead] = await Promise.all([\n locationsRequest,\n leadRequest,\n ]);\n\n const franchisees = franchiseesResponse.data.map((franchisee) =>\n camelcaseKeys(franchisee)\n );\n\n const [franchisee] = franchisees;\n\n console.log({ franchisee, lead, appointment });\n\n return {\n props: {\n franchisee: franchisee ?? {},\n appointment: appointment ?? '',\n lead: lead ?? {},\n },\n };\n } catch (e) {\n // res.setHeader('location', '/book/');\n // res.statusCode = 302;\n // return res.end();\n return {\n props: {\n franchisee: {},\n appointment: '',\n lead: {},\n },\n };\n }\n}, leadConfig);\n\ninterface ThankYouPageProps {\n /* add thank you page props here */\n franchisee: FranchiseeState;\n lead: LeadState;\n appointment: LeadAppointment;\n}\n\nconst ThankYou: React.FC = ({\n franchisee,\n lead,\n appointment,\n}: ThankYouPageProps) => {\n const {\n firstName,\n lastName,\n phonePrimary,\n bedrooms,\n bathrooms,\n people,\n pets,\n squareFootage,\n email,\n addressLineOne,\n addressLineTwo,\n state,\n city,\n zipCode,\n price,\n tax,\n totalPrice,\n watchedVideo,\n serviceFee,\n } = lead;\n\n const [adjustedTotal, setAdjustedTotal] = useState(0);\n const morningTimes = ['480', '510', '540', '570', '600', '630'];\n const midDayTimes = ['660', '690', '720', '750', '780', '810'];\n const afternoonTimes = ['840', '870', '900', '930', '960', '990', '1020'];\n const cleaningDate: DateTime = DateTime.fromISO(lead.dateTime);\n\n const [selectedPackage, setSelectedPackage] = useState({});\n const dispatch = useDispatch();\n\n useEffect(() => {\n setLeadPackage(lead?.package);\n leadSession.clear();\n setTimeout(() => {\n const userStatusDatabaseRef = db.ref(`/online/${lead.id}`);\n userStatusDatabaseRef.remove();\n }, 60000);\n }, []);\n\n useEffect(() => {\n if (typeof totalPrice === 'string') {\n setAdjustedTotal(parseFloat(totalPrice));\n }\n });\n\n useEffect(() => {\n try {\n db.ref(process.env.kpiDashboardCollectionName + '/' + lead?.id).update({\n step: 7,\n });\n } catch (error) {\n console.log(error);\n }\n try {\n if (!lead?.id) return;\n const userStatusDatabaseRef = db.ref(`/online/${lead?.id}`);\n\n db.ref('.info/connected').on('value', async (snap) => {\n if (snap.val() === true) {\n await userStatusDatabaseRef.onDisconnect().remove();\n await userStatusDatabaseRef.set({\n leadID: lead?.id,\n });\n } else {\n await userStatusDatabaseRef.remove();\n }\n });\n } catch (error) {\n console.log(error);\n }\n }, []);\n\n const displayTime = (): string => {\n if (cleaningDate === null) return '';\n if (cleaningDate.hour >= 8 && cleaningDate.hour < 11)\n return 'Morning (8am - 11am)';\n if (cleaningDate.hour >= 11 && cleaningDate.hour < 13)\n return 'Midday (11am - 2pm)';\n if (cleaningDate.hour >= 13) return 'Afternoon (2pm-5pm)';\n return '';\n };\n\n const packageId =\n typeof lead.package === 'string'\n ? parseInt(lead.package, 10)\n : lead.package;\n\n const [billingAddressLineOne, setBillingAddressLineOne] =\n useState('');\n const [billingAddressLineTwo, setBillingAddressLineTwo] =\n useState('');\n\n const [billingCity, setBillingCity] = useState('');\n\n const [billingState, setBillingState] = useState('');\n\n const [billingZipCode, setBillingZipCode] = useState('');\n\n const [tips, setTips] = useState(0);\n const [thankYouPageTipInput, setThankYouPageTipInput] = useState(0);\n const [leadPackage, setLeadPackage] = useState(null);\n\n const [customer, setCustomer] = useState(0);\n const [id, setID] = useState(0);\n\n useEffect(() => {\n const billingAddressData = axios\n .get('/api/billing-address-session/')\n .then((res) => {\n // console.log(res.data.data.billingAddress);\n if (res.data.data.billingAddress.sameAddress === false) {\n setBillingAddressLineOne(\n res.data.data.billingAddress.billingAddressLineOne\n );\n setBillingAddressLineTwo(\n res.data.data.billingAddress.billingAddressLineTwo\n );\n\n setBillingCity(res.data.data.billingAddress.billingCity);\n\n setBillingState(res.data.data.billingAddress.billingState);\n\n setBillingZipCode(res.data.data.billingAddress.billingZipCode);\n } else {\n setBillingAddressLineOne(addressLineOne);\n setBillingAddressLineTwo(addressLineTwo);\n setBillingCity(city);\n setBillingState(state);\n setBillingZipCode(zipCode);\n }\n })\n .catch((err) => console.log(err));\n }, []);\n\n useEffect(() => {\n const fetchData = async () => {\n // get the data from the api\n const data = await axios.get('/api/tips-session/');\n setTips(data.data.data.tipsData.tips);\n setCustomer(data.data.data.tipsData.customer);\n setID(data.data.data.tipsData.id);\n };\n\n // call the function\n fetchData()\n // make sure to catch any error\n .catch(console.error);\n }, []);\n\n const setTipFromThankYou = (val) => {\n setThankYouPageTipInput(val);\n };\n\n return (\n \n \n \n \n \n Thank you for booking with Two Maids !\n \n
\n \n
\n

\n Thank You,{' '}\n \n {lead.firstName}\n \n

\n

We've scheduled your appointment!

\n

\n A local representative will contact you to confirm all details of\n your appointment. Check your inbox for a confirmation email and\n our welcome packet.\n

\n

\n If you have any questions, feel free to reach us at{' '}\n .\n

\n
\n
\n {/* */}\n
\n
\n
\n
\n \n BOOKING SUMMARY\n \n {appointment?.id && (\n

\n Order #{appointment.id}\n

\n )}\n
\n
\n \n \n

\n \n {getPackageById(packageId).name}\n \n

\n

\n \n {squareFootage} sq. ft.\n \n
\n {bedrooms} bedrooms\n
\n {bathrooms} bathrooms\n
\n {people} people\n
\n {pets} pets\n

\n \n \n {/* Add vonigo here */}\n

\n {cleaningDate !== null &&\n cleaningDate.toFormat('DDDD') !== 'Invalid DateTime' && (\n <>\n \n {cleaningDate.toFormat('DDDD')}\n \n\n
\n \n \n {displayTime()}\n \n \n \n )}\n\n

\n \n
\n
\n
\n {/* Thank You */}\n {/* Add thank you page content Here */}\n \n \n
\n\n

Customer Information

\n\n
\n
\n

\n Contact Information\n

\n

\n {firstName} {lastName}\n

\n

{phonePrimary}

\n

{email}

\n
\n <>\n
\n

\n Service Address\n

\n

\n {addressLineOne}, {addressLineTwo && addressLineTwo}{' '}\n

\n

\n {city}, {state}, {zipCode}\n

\n

United States

\n
\n {billingAddressLineOne && (\n
\n

\n Billing Address\n

\n

\n {billingAddressLineOne},{' '}\n {billingAddressLineTwo && billingAddressLineTwo}\n

\n

\n {billingCity}, {billingState}, {billingZipCode}\n

\n

United States

\n
\n )}\n \n
\n
\n \n \n
\n {lead.totalPrice && (\n \n \n {typeof lead.price === 'string' ? (\n \n

Price:

\n

${Number(lead.price).toFixed(2)}

\n \n ) : (\n \n

Price:

\n

${Number(lead.price).toFixed(2)}

\n \n )}\n {lead.watchedVideo && (\n \n

Discount:

\n

-$10.00

\n \n )}\n {lead.serviceFee > 0 && (\n <>\n {' '}\n \n

Service Fee:

\n

${lead.serviceFee}

\n \n \n {' '}\n \n This service fee helps us operate Two Maids.\n
\n \n \n )}{' '}\n {(tips > 0 || lead.tip > 0) && (\n \n

Tip:

\n

${tips > 0 ? tips : lead.tip}

\n \n )}\n {tax > 0 && (\n <>\n \n

Estimated Tax:

\n

$ {Number(tax).toFixed(2)}

\n \n \n {' '}\n \n Finalized tax will be shown on your order receipt.\n \n \n \n )}\n \n

Total:

\n

\n $\n {lead.tip == 0 && tips > 0\n ? (Number(lead.totalPrice) + Number(tips)).toFixed(\n 2\n )\n : Number(lead.totalPrice).toFixed(2)}\n

\n \n
\n \n )}\n \n \n \n
\n
\n
\n );\n};\n\nexport default ThankYou;\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/thank-you\",\n function () {\n return require(\"private-next-pages/thank-you.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/thank-you\"])\n });\n }\n ","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"bsPrefix\", \"fluid\", \"as\", \"className\"];\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar defaultProps = {\n fluid: false\n};\nvar Container = /*#__PURE__*/React.forwardRef(function (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n fluid = _ref.fluid,\n _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'div' : _ref$as,\n className = _ref.className,\n props = _objectWithoutPropertiesLoose(_ref, _excluded);\n\n var prefix = useBootstrapPrefix(bsPrefix, 'container');\n var suffix = typeof fluid === 'string' ? \"-\" + fluid : '-fluid';\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref\n }, props, {\n className: classNames(className, fluid ? \"\" + prefix + suffix : prefix)\n }));\n});\nContainer.displayName = 'Container';\nContainer.defaultProps = defaultProps;\nexport default Container;"],"names":["description","children","toString","name","content","property","title","xs","md","lg","color","className","padding","sectionColor","sectionXs","sectionMd","sectionLg","sectionPadding","colorTheme","pink500","Head","slug","lang","meta","metaDescription","datadogRum","applicationId","clientToken","site","service","sessionSampleRate","sessionReplaySampleRate","trackResources","trackLongTasks","trackUserInteractions","silentMultipleInit","htmlAttributes","bodyAttributes","class","titleTemplate","link","rel","href","sizes","concat","defaultProps","leadRequest","axios","validateStatus","status","leadSession","get","then","data","error","response","set","leadId","franchiseeId","cleaningDate","appointment","requestData","post","clear","single","id","weekly","biweekly","monthly","allPackages","getPackageById","packageId","packages","filter","length","franchisee","lead","firstName","lastName","phonePrimary","bedrooms","bathrooms","people","pets","squareFootage","email","addressLineOne","addressLineTwo","state","city","zipCode","tax","price","totalPrice","watchedVideo","serviceFee","useState","setAdjustedTotal","DateTime","dateTime","useDispatch","useEffect","setLeadPackage","setTimeout","db","remove","parseFloat","process","update","step","console","log","userStatusDatabaseRef","on","snap","val","onDisconnect","leadID","parseInt","billingAddressLineOne","setBillingAddressLineOne","billingAddressLineTwo","setBillingAddressLineTwo","billingCity","setBillingCity","billingState","setBillingState","billingZipCode","setBillingZipCode","tips","setTips","setCustomer","setID","res","billingAddress","sameAddress","err","fetchData","tipsData","customer","franchiseeValue","alternateFooter","src","alt","number","style","paddingLeft","toFormat","hour","marginRight","Number","toFixed","fontSize","tip","paddingTop","window","__NEXT_P","push","_excluded","Container","_ref","ref","bsPrefix","fluid","_ref$as","as","Component","props","prefix","suffix","displayName"],"sourceRoot":""}