{"version":3,"sources":["webpack:///./src/components/panels/ComponentHeader.js","webpack:///./src/components/panels/ComponentHeader.module.scss","webpack:///./src/components/non-panels/LocationComponent.js","webpack:///./src/pages/contact.js","webpack:///./src/components/non-panels/LocationComponent.module.scss","webpack:///./src/pages/contact.module.scss","webpack:///./src/utils/GTMEventDispatchers.js","webpack:///./src/components/non-panels/forms/replacementElements.js","webpack:///./src/images/Image_Contact_Contact_US.png"],"names":["ComponentHeader","id","rootClassName","rootStyle","rowClassName","rowStyle","overlay","overlayStyle","overlayColor","rootGatsbyBackgroundImageFluid","lineTop","text","textAlign","textClassName","textStyle","toLowerCase","margin","s","headerPanelPadding","sm","className","style","module","exports","Location","name","phone","email","fax","Embed","rootClass","location","height","class","locations","title","src","width","frameborder","border","allowfullscreen","aria-hidden","tabindex","pageQuery","ContactPage","data","strapiPContact","seo","SEO","hero","useSetPageData","main_heading","description","mainSection","backgroundTile","backgroundImage","backgroundImg","usMobile","textIntro","textMain","textLong","contactPadding","minHeight","usDesktop","HubSpotForm","mdPadding30","formId","replacementElement","bgColor","textColor","locationBackground","map","loc","process","GTM_WP_DOWNLOAD_LINK_EVENT_NAME","dispatchWPDownloadLinkClick","eventName","window","dataLayer","push","event","BlogSubscribeFormReplacementMessage","contactStyle","thanks","ContactFormReplacementMessage","WhitepaperLeadMagnetFormReplacementMessage","downloadLink","whitepaperDownload","href","download","onClick","EbookLeadMagnetFormReplacementMessage"],"mappings":"8FAAA,6DAiEeA,IAxDS,SAAC,GAgBlB,IAdLC,EAcI,EAdJA,GAcI,IAbJC,qBAaI,MAbY,WAaZ,EAZJC,EAYI,EAZJA,UACAC,EAWI,EAXJA,aACAC,EAUI,EAVJA,SACAC,EASI,EATJA,QACAC,EAQI,EARJA,aACAC,EAOI,EAPJA,aACAC,EAMI,EANJA,+BAMI,IAJJC,eAII,aAHJC,YAGI,MAHG,SAGH,MAFJC,iBAEI,MAFQ,SAER,MADJC,qBACI,MADY,eACZ,EAEEC,EAAY,GAElB,OAA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AAwC,SAAC,GAAD,IAAGL,EAAH,EAAGA,aAAH,OACnD,+BAAKlE,UAAW8D,IAAaK,oBAC3B,gDACA,4EACA,6BACEC,KAAMF,EACNG,UAAQ,EACRC,QAAS,kBAAMf,gBAHjB,e,qBC/CJrD,EAAOC,QAAU,IAA0B","file":"component---src-pages-contact-js-2551484f4743824cb176.js","sourcesContent":["import React from \"react\";\nimport { Col } from \"react-bootstrap\";\n\n//conpoments\nimport PanelFoundation from \"./PanelFoundation\";\n\n//styles\nimport s from \"./ComponentHeader.module.scss\";\n\nconst ComponentHeader = ({\n //from PanelFoundation\n id,\n rootClassName = \"bg-white\",\n rootStyle,\n rowClassName,\n rowStyle,\n overlay,\n overlayStyle,\n overlayColor,\n rootGatsbyBackgroundImageFluid,\n //component specific\n lineTop = true,\n text = \"Header\",\n textAlign = \"center\",\n textClassName = \"text-primary\"\n}) => {\n\n const textStyle = {};\n\n switch (textAlign.toLowerCase()) {\n case \"center\":\n textStyle.margin = \"0 auto\";\n break;\n case \"left\":\n textStyle.margin = \"0 auto 0 0\";\n break;\n case \"right\":\n textStyle.margin = \"0 0 0 auto\";\n break;\n }\n\n return (\n \n \n \n {text}\n \n \n \n );\n};\n\nexport default ComponentHeader;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"headerPanelPadding\":\"ComponentHeader-module--header-panel-padding--2f2QN\"};","import React from \"react\";\n\nimport s from \"./LocationComponent.module.scss\";\n\nexport default function Location({\n name,\n phone,\n email,\n fax,\n Embed,\n rootClass\n}) {\n return (\n
\n \n

{name}

\n {email ?

{email}

: null}\n {phone ? (\n

\n \n {phone}\n

\n ) : null}\n {fax ? (\n

\n \n {fax}\n

\n ) : (\n

 

\n )}\n
\n );\n}\n","import React from \"react\";\r\nimport { graphql } from \"gatsby\";\r\nimport Img from \"gatsby-image\";\r\n\r\n//components\r\nimport useSetPageData from \"../utils/useSetPageData\";\r\n// import AnimatedForm from \"../components/in-pages/ContactFormAnimated\";\r\nimport ComponentHeader from \"../components/panels/ComponentHeader\";\r\nimport LocationComponent from \"../components/non-panels/LocationComponent\";\r\n// import ShortForm from \"../components/forms/SmallSubscription\";\r\nimport HubSpotForm from \"../components/non-panels/forms/HubSpotForm\";\r\nimport { ContactFormReplacementMessage } from \"../components/non-panels/forms/replacementElements\";\r\nimport SEO from \"../components/seo\";\r\n\r\n//images\r\nimport backgroundImg from \"../images/Image_Contact_Contact_US.png\";\r\n\r\n// styles\r\nimport s from \"./contact.module.scss\";\r\n// import autoprefixer from \"autoprefixer\";\r\n\r\nconst locations = [\r\n {\r\n name: \"Global HQ\",\r\n phone: \"281-503-7002\",\r\n fax: \"281-520-3598\",\r\n Embed: ({ height }) => (\r\n \r\n )\r\n },\r\n {\r\n name: \"US Ohio\",\r\n phone: \"281-503-7002\",\r\n fax: \"281-520-3598\",\r\n Embed: ({ height }) => (\r\n \r\n )\r\n },\r\n {\r\n name: \"Malaysia\",\r\n phone: \"03-2276-3999\",\r\n fax: \"03 2276 4399\",\r\n Embed: ({ height }) => (\r\n \r\n )\r\n },\r\n {\r\n name: \"India\",\r\n phone: \"040-29881990\",\r\n Embed: ({ height }) => (\r\n \r\n )\r\n }\r\n];\r\n\r\nconst ContactPage = ({ location, data }) => {\r\n const { SEO: seo, hero } = data.strapiPContact;\r\n\r\n useSetPageData(location);\r\n\r\n return (\r\n <>\r\n {/* */}\r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n

\r\n Contact Us\r\n

\r\n
\r\n

Have any questions?

\r\n

Let's Talk

\r\n

\r\n We have a talented team that is excited to help you with your\r\n needs! Contact us today to schedule a free consultation and\r\n experience the difference with NITCO.\r\n

\r\n
\r\n
\r\n \r\n

Us

\r\n {/* */}\r\n }\r\n />\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n {locations.map(loc => (\r\n
\r\n \r\n
\r\n ))}\r\n
\r\n
\r\n
\r\n {/*
\r\n
\r\n
\r\n {locations.map(loc => (\r\n \r\n ))}\r\n
\r\n
\r\n
*/}\r\n \r\n );\r\n};\r\n\r\nexport default ContactPage;\r\n\r\nexport const pageQuery = graphql`\r\n query {\r\n strapiPContact {\r\n SEO {\r\n description\r\n }\r\n hero {\r\n main_heading\r\n main_subheading\r\n contact_hero_image {\r\n childImageSharp {\r\n fixed(width: 100, height: 100) {\r\n ...GatsbyImageSharpFixed\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n`;\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"location\":\"LocationComponent-module--location--5lAJW\",\"name\":\"LocationComponent-module--name--1u8FT\",\"phone\":\"LocationComponent-module--phone--2eP-U\",\"fax\":\"LocationComponent-module--fax--UrU3w\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"contactFormSection\":\"contact-module--contact-form-section--2IBqA\",\"textSection\":\"contact-module--text-section--4GWXw\",\"textMain\":\"contact-module--text-main--2ACQ8\",\"textLong\":\"contact-module--text-long--3prTI\",\"contactPadding\":\"contact-module--contact-padding--3_xKx\",\"maps\":\"contact-module--maps--2U0dS\",\"backgroundTile\":\"contact-module--background-tile--3Gldm\",\"locationBackground\":\"contact-module--location-background--2bUfE\",\"overlay\":\"contact-module--overlay--2oxcf\",\"panelPadding\":\"contact-module--panel-padding--2r9bb\",\"mainSection\":\"contact-module--main-section--TWFoe\",\"usMobile\":\"contact-module--us-mobile--v0QRh\",\"usDesktop\":\"contact-module--us-desktop--3rtcm\",\"mdPadding30\":\"contact-module--md-padding-30--26HsU\"};","// Event names must match what is configured in the google tag manager console.\n// There should be the ability to set and update these in configuration.\n// However, I have set defaults to their current values.\nconst {\n GTM_CONDENSED_FORM_SUBMISSION_EVENT_NAME,\n GTM_FULL_FORM_SUBMISSION_EVENT_NAME,\n GTM_WP_DOWNLOAD_LINK_EVENT_NAME\n} = process.env;\n\n/**\n * When the user fills in the condensed sign up form on the blog list views,\n * this fires the corresponding google tag event.\n */\nexport function dispatchCondensedFormSubmission() {\n const eventName =\n GTM_CONDENSED_FORM_SUBMISSION_EVENT_NAME || \"BlogFormSubmission\";\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push({\n event: eventName\n });\n}\n\n/**\n * When the user submits the full form on the whitepaper page in order to download the WP,\n * this fires the corresponding google tag manager event.\n */\nexport function dispatchFullFormSubmission() {\n const eventName =\n GTM_FULL_FORM_SUBMISSION_EVENT_NAME || \"WhitepaperFormSubmit\";\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push({\n event: eventName\n });\n}\n\n/**\n * When the user clicks the link to download the Whitepaper after filling out their information\n * this fires the corresponding google tag manager event.\n */\nexport function dispatchWPDownloadLinkClick() {\n const eventName = GTM_WP_DOWNLOAD_LINK_EVENT_NAME || \"WhitepaperDownloadLink\";\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push({\n event: eventName\n });\n}\n","import React from \"react\";\n\nimport contactStyle from \"./Contact.module.scss\";\n\nimport { dispatchWPDownloadLinkClick } from \"../../../utils/GTMEventDispatchers\";\n\n// Blog info bar short form.\nexport const BlogSubscribeFormReplacementMessage = () => (\n
\n

\n Done!Thank you so much for your subscription.\n

\n
\n);\n\n// Contact Form replacement message.\nexport const ContactFormReplacementMessage = () => (\n
\n

\n Done!Thanks so much for reaching out.\n
\n You'll hear back from us right away.\n

\n
\n);\n\n// Whitepaper conversion form replacement message.\nexport const WhitepaperLeadMagnetFormReplacementMessage = ({\n downloadLink\n}) => (\n
\n

Thank You!

\n

Here is your whitepaper ready for download.

\n dispatchWPDownloadLinkClick()}\n >\n DOWNLOAD\n \n
\n);\n\nexport const EbookLeadMagnetFormReplacementMessage = ({ downloadLink }) => (\n
\n

Thank You!

\n

Here is your E-book ready for download.

\n dispatchWPDownloadLinkClick()}\n >\n DOWNLOAD\n \n
\n);\n","module.exports = __webpack_public_path__ + \"static/Image_Contact_Contact_US-8aedddd062df0d5f30c11912332e34b6.png\";"],"sourceRoot":""}