{"version":3,"sources":["webpack:///./src/components/Layouts/layout.js","webpack:///./src/pages/licensing-compliance/licensed-builder-complaint.js","webpack:///./src/components/iFrame/iFrame.js"],"names":["Layout","_ref","header","subheader","breadcrumb","view","children","props","isScreenSm","useMediaQuery","maxWidth","React","createElement","Fragment","NavMobile","Nav","PageHeader","className","PageFooter","FileComplaintPage","intl","useIntl","FormattedMessage","id","SEO","tlang","locale","title","formatMessage","Container","Row","Col","IFrameCont","src","height","setHeight","useState","useEffect","window","addEventListener","e","message","data","scroll","top","left","behavior","style"],"mappings":"wHAAA,iGA6BeA,IAbAC,IAAkE,IAAjE,OAAEC,EAAM,UAAEC,EAAS,WAAEC,EAAU,KAAEC,EAAI,SAAEC,KAAaC,GAAON,EAC1E,MAAMO,EAAaC,wBAAc,CAAEC,SAAU,OAE7C,OACCC,IAAAC,cAAAD,IAAAE,SAAA,KACEL,EAAaG,IAAAC,cAACE,IAAS,CAACT,KAAMA,IAAWM,IAAAC,cAACG,IAAG,CAACV,KAAMA,IACpDH,GAAUS,IAAAC,cAACI,IAAU,CAACd,OAAQA,EAAQC,UAAWA,EAAWC,WAAYA,IACzEO,IAAAC,cAAA,QAAMK,UAAU,YAAYX,GAC5BK,IAAAC,cAACM,IAAU,S,kCCxBd,4FAmCeC,UA3BWA,KACzB,MAAMC,EAAOC,oBAEb,OACCV,IAAAC,cAACZ,IAAM,CACNG,UAAWQ,IAAAC,cAACU,mBAAgB,CAACC,GAAG,0BAChCrB,OAAQS,IAAAC,cAACU,mBAAgB,CAACC,GAAG,gCAE7BZ,IAAAC,cAACY,IAAG,CAACC,MAAOL,EAAKM,OAAQC,MAAOP,EAAKQ,cAAc,CAAEL,GAAI,wBACzDZ,IAAAC,cAACiB,YAAS,KACTlB,IAAAC,cAACkB,MAAG,KACHnB,IAAAC,cAACmB,MAAG,KACHpB,IAAAC,cAACoB,IAAU,CACVL,MAAM,uCACNM,IACiB,OAAhBb,EAAKM,OACF,yEACA,iF,kCCzBX,yBAyBeM,IAvBI/B,IAAqB,IAApB,IAAEgC,EAAG,MAAEN,GAAO1B,EACjC,MAAM,EAACiC,EAAO,EAACC,GAAaC,mBAAS,GAmBrC,OAjBAC,oBAAU,KACTC,OAAOC,iBACN,WACA,SAAUC,GACT,IAAIC,EAAUD,EAAEE,KAEhBP,EAAUM,EAAQP,WAEnB,GAEDI,OAAOK,OAAO,CACbC,IAAK,EACLC,KAAM,EACNC,SAAU,YAET,IAEInC,IAAAC,cAAA,UAAQW,GAAG,SAASI,MAAOA,EAAOoB,MAAO,CAAEb,OAAWA,EAAH,MAAiBD,IAAKA","file":"component---src-pages-licensing-compliance-licensed-builder-complaint-js-f5d4f1a50c2344cf2bdb.js","sourcesContent":["/**\r\n * Layout component that queries for data\r\n * with Gatsby's useStaticQuery component\r\n *\r\n * See: https://www.gatsbyjs.org/docs/use-static-query/\r\n */\r\n\r\nimport React from 'react';\r\nimport { useMediaQuery } from 'react-responsive';\r\nimport '../../styles/App.scss';\r\n\r\nimport Nav from '../Nav/Nav';\r\nimport NavMobile from '../Nav/NavMobile';\r\nimport PageHeader from '../PageHeader/PageHeader';\r\nimport PageFooter from '../PageFooter/PageFooter';\r\n\r\nconst Layout = ({ header, subheader, breadcrumb, view, children, ...props }) => {\r\n\tconst isScreenSm = useMediaQuery({ maxWidth: 1200 });\r\n\r\n\treturn (\r\n\t\t<>\r\n\t\t\t{isScreenSm ? : }\r\n\t\t\t{header && }\r\n\t\t\t{children}\r\n\t\t\t\r\n\t\t>\r\n\t);\r\n};\r\n\r\nexport default Layout;\r\n","import React from 'react';\r\nimport { Container, Row, Col } from 'react-grid-system';\r\nimport { useIntl, FormattedMessage } from 'gatsby-plugin-intl';\r\n\r\nimport Layout from '../../components/Layouts/layout';\r\nimport SEO from '../../components/seo';\r\nimport IFrameCont from '../../components/iFrame/iFrame';\r\n\r\nconst FileComplaintPage = () => {\r\n\tconst intl = useIntl();\r\n\r\n\treturn (\r\n\t\t}\r\n\t\t\theader={}\r\n\t\t>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default FileComplaintPage;\r\n","import React, { useState, useEffect } from 'react';\r\n\r\nconst IFrameCont = ({ src, title }) => {\r\n\tconst [height, setHeight] = useState(0);\r\n\r\n\tuseEffect(() => {\r\n\t\twindow.addEventListener(\r\n\t\t\t'message',\r\n\t\t\tfunction (e) {\r\n\t\t\t\tlet message = e.data;\r\n\t\t\t\t// console.log('message received: ', message)\r\n\t\t\t\tsetHeight(message.height);\r\n\t\t\t},\r\n\t\t\tfalse\r\n\t\t);\r\n\t\twindow.scroll({\r\n\t\t\ttop: 0,\r\n\t\t\tleft: 0,\r\n\t\t\tbehavior: 'smooth'\r\n\t\t});\r\n\t}, []);\r\n\r\n\treturn ;\r\n};\r\n\r\nexport default IFrameCont;\r\n"],"sourceRoot":""}