-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-404-js-0aa521ee150d11cdacf9.js.map
1 lines (1 loc) · 25.8 KB
/
component---src-pages-404-js-0aa521ee150d11cdacf9.js.map
1
{"version":3,"sources":["webpack:///./src/pages/404.js","webpack:///./src/components/seo.js","webpack:///./src/components/navigation/springLink.js","webpack:///./src/components/footer/index.js","webpack:///./src/images/noletorious-logo.svg","webpack:///./src/components/images/noelLogo.js","webpack:///./src/components/navigation/index.js","webpack:///./src/layouts/page/index.js"],"names":["__webpack_require__","r","__webpack_exports__","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","_layouts_page__WEBPACK_IMPORTED_MODULE_1__","_components_seo__WEBPACK_IMPORTED_MODULE_2__","NotFoundPage","a","createElement","title","SEO","_ref","description","lang","meta","site","_public_static_d_2417117884_json__WEBPACK_IMPORTED_MODULE_0__","data","metaDescription","siteMetadata","react__WEBPACK_IMPORTED_MODULE_1___default","react_helmet__WEBPACK_IMPORTED_MODULE_3___default","htmlAttributes","titleTemplate","name","content","property","author","concat","defaultProps","propTypes","PropTypes","string","arrayOf","object","isRequired","d","SpringLink","gatsby_plugin_transition_link__WEBPACK_IMPORTED_MODULE_1__","gatsby_plugin_transition_link__WEBPACK_IMPORTED_MODULE_1___default","to","children","exit","length","entry","delay","Footer","_useState","useState","setData","useEffect","console","log","axios","get","then","response","catch","error","className","join","react_bootstrap_Container__WEBPACK_IMPORTED_MODULE_4___default","react_bootstrap_Row__WEBPACK_IMPORTED_MODULE_3___default","style","height","react_bootstrap_Col__WEBPACK_IMPORTED_MODULE_2___default","xs","span","sm","footerStyle","footerItem","href","_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_6__","icon","faDribbble","size","faGithub","faLinkedin","Math","round","main","temp","src","weather","alt","width","marginBottom","module","exports","Image","react_default","noletoriousLogo","minWidth","Navigation","props","isHomeStatus","isHome","Fragment","gatsby_plugin_transition_link","transitionStatus","mount","includes","renderprops","from","paddingTop","paddingBottom","id","Container_default","Row_default","Col_default","display","opacity","prop","onClick","window","history","go","navigationStyle","backBtn","index_es","faCaretLeft","fontSize","springLink","noelLogo","color","gatsby_browser_entry","Layout","_this","_Component","call","this","state","checkIsHomePage","page","render","_this2","seo","exitStatus","transitionStatusPop","transform","navigation","footer","Component","node"],"mappings":"0FAAAA,EAAAC,EAAAC,GAAA,IAAAC,EAAAH,EAAA,GAAAI,EAAAJ,EAAAK,EAAAF,GAAAG,EAAAN,EAAA,KAAAO,EAAAP,EAAA,KAaeQ,UARM,kBACnBJ,EAAAK,EAAAC,cAACJ,EAAA,EAAD,KACEF,EAAAK,EAAAC,cAACH,EAAA,EAAD,CAAKI,MAAM,mBACXP,EAAAK,EAAAC,cAAA,uBACAN,EAAAK,EAAAC,cAAA,uKCGJ,SAASE,EAATC,GAAiD,IAAlCC,EAAkCD,EAAlCC,YAAaC,EAAqBF,EAArBE,KAAMC,EAAeH,EAAfG,KAAML,EAASE,EAATF,MAC9BM,EADuCC,EAAAC,KACvCF,KAcFG,EAAkBN,GAAeG,EAAKI,aAAaP,YAEzD,OACEQ,EAAAb,EAAAC,cAACa,EAAAd,EAAD,CACEe,eAAgB,CACdT,QAEFJ,MAAOA,EACPc,cAAa,QAAUR,EAAKI,aAAaV,MACzCK,KAAM,CACJ,CACEU,KAAI,cACJC,QAASP,GAEX,CACEQ,SAAQ,WACRD,QAAShB,GAEX,CACEiB,SAAQ,iBACRD,QAASP,GAEX,CACEQ,SAAQ,UACRD,QAAO,WAET,CACED,KAAI,eACJC,QAAO,WAET,CACED,KAAI,kBACJC,QAASV,EAAKI,aAAaQ,QAE7B,CACEH,KAAI,gBACJC,QAAShB,GAEX,CACEe,KAAI,sBACJC,QAASP,IAEXU,OAAOd,KAKfJ,EAAImB,aAAe,CACjBhB,KAAI,KACJC,KAAM,GACNF,YAAW,IAGbF,EAAIoB,UAAY,CACdlB,YAAamB,IAAUC,OACvBnB,KAAMkB,IAAUC,OAChBlB,K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AC,cAACqH,EAAA,KAAD,CACErF,GAAG,UADL,gDCzF1BsF,sBAEJ,SAAAA,EAAYhC,GAAO,IAAAiC,EAAA,OACjBA,EAAAC,EAAAC,KAAAC,KAAMpC,IAANoC,MACKC,MAAQ,CACXC,kBAAiBL,EAAKjC,MAAMuC,MAHbN,4GAOnBO,OAAA,WAAQ,IAAAC,EAAAL,KACN,OACExC,EAAAnF,EAAAC,cAAAkF,EAAAnF,EAAA0F,SAAA,KACEP,EAAAnF,EAAAC,cAACgI,EAAA,EAAD,CAAK/H,MAAM,0BACXiF,EAAAnF,EAAAC,cAAC0F,EAAA,gBAAD,KACG,SAAAvF,GAA0B,IAAvBwF,EAAuBxF,EAAvBwF,iBACIC,EAAQ,CAAE,WAAW,WAAWC,SAASF,GACzCsC,EAAa,CAAE,UAAU,UAAUpC,SAASF,GAC5CuC,EAA2C,QAArBvC,EAC5B,OACET,EAAAnF,EAAAC,cAAC8F,EAAA,OAAD,CACEC,KAAM,CACJQ,QAAiB,EACjB4B,UAAS,eAAgBF,EAAa,OAAS,GAAtC,KAEXjG,GAAI,CACFuE,QAASX,GAASsC,EAAsB,EAAI,EAC5CC,UAAS,eAAgBvC,EAAQ,EAAI,QAA5B,MAGV,SAAAN,GAAK,OACJJ,EAAAnF,EAAAC,cAAA,WAQEkF,EAAAnF,EAAAC,cAACoI,EAAD,CAAY5C,OAAUuC,EAAKJ,MAAMC,kBACjC1C,EAAAnF,EAAAC,cAAA,QAAMmD,UAAW,CAAC,SAAS,eAAeC,KAAK,KAAMG,MAAO+B,GACzDyC,EAAKzC,MAAMrD,eAQ1BiD,EAAAnF,EAAAC,cAACqI,EAAA,EAAD,WAhDaC,aAsDrBhB,EAAOhG,UAAY,CACjBW,SAAUV,IAAUgH,KAAK5G,YAGZ2F","file":"component---src-pages-404-js-0aa521ee150d11cdacf9.js","sourcesContent":["import React from \"react\"\r\n\r\nimport Layout from \"../layouts/page\"\r\nimport SEO from \"../components/seo\"\r\n\r\nconst NotFoundPage = () => (\r\n <Layout>\r\n <SEO title=\"404: Not found\" />\r\n <h1>NOT FOUND</h1>\r\n <p>You just hit a route that doesn't exist... the sadness.</p>\r\n </Layout>\r\n)\r\n\r\nexport default NotFoundPage\r\n","/**\r\n * SEO component that queries for data with\r\n * Gatsby's useStaticQuery React hook\r\n *\r\n * See: https://www.gatsbyjs.org/docs/use-static-query/\r\n */\r\n\r\nimport React from \"react\"\r\nimport PropTypes from \"prop-types\"\r\nimport Helmet from \"react-helmet\"\r\nimport { useStaticQuery, graphql } from \"gatsby\"\r\n\r\nfunction SEO({ description, lang, meta, title }) {\r\n const { site } = useStaticQuery(\r\n graphql`\r\n query {\r\n site {\r\n siteMetadata {\r\n title\r\n description\r\n author\r\n }\r\n }\r\n }\r\n `\r\n )\r\n\r\n const metaDescription = description || site.siteMetadata.description\r\n\r\n return (\r\n <Helmet\r\n htmlAttributes={{\r\n lang,\r\n }}\r\n title={title}\r\n titleTemplate={`%s | ${site.siteMetadata.title}`}\r\n meta={[\r\n {\r\n name: `description`,\r\n content: metaDescription,\r\n },\r\n {\r\n property: `og:title`,\r\n content: title,\r\n },\r\n {\r\n property: `og:description`,\r\n content: metaDescription,\r\n },\r\n {\r\n property: `og:type`,\r\n content: `website`,\r\n },\r\n {\r\n name: `twitter:card`,\r\n content: `summary`,\r\n },\r\n {\r\n name: `twitter:creator`,\r\n content: site.siteMetadata.author,\r\n },\r\n {\r\n name: `twitter:title`,\r\n content: title,\r\n },\r\n {\r\n name: `twitter:description`,\r\n content: metaDescription,\r\n },\r\n ].concat(meta)}\r\n />\r\n )\r\n}\r\n\r\nSEO.defaultProps = {\r\n lang: `en`,\r\n meta: [],\r\n description: ``,\r\n}\r\n\r\nSEO.propTypes = {\r\n description: PropTypes.string,\r\n lang: PropTypes.string,\r\n meta: PropTypes.arrayOf(PropTypes.object),\r\n title: PropTypes.string.isRequired,\r\n}\r\n\r\nexport default SEO\r\n","import React from 'react'\r\nimport TransitionLink from 'gatsby-plugin-transition-link'\r\n\r\n\r\nconst SpringLink = ({ to, children }) => (\r\n <TransitionLink \r\n to={to} \r\n exit={{ length:.75 }}\r\n entry={{ delay:.75,length: .75}}\r\n >\r\n {children}\r\n </TransitionLink>\r\n)\r\n\r\nexport { SpringLink }","import React,{useState,useEffect} from \"react\"\r\nimport Col from \"react-bootstrap/Col\"\r\nimport Row from \"react-bootstrap/Row\"\r\nimport Container from \"react-bootstrap/Container\"\r\nimport footerStyle from './footer.module.css'\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\nimport { faDribbble, faLinkedin, faGithub } from '@fortawesome/free-brands-svg-icons'\r\nimport axios from 'axios'\r\n \r\nconst Footer = () => {\r\n\r\n const [data, setData] = useState(null)\r\n \r\n\r\n useEffect(() => {\r\n console.log('======useEffect======')\r\n axios.get('https://api.openweathermap.org/data/2.5/weather?id=5746545&units=imperial&appid=9ff3b3252f2b747c427a1c0be7eecc50')\r\n .then(response =>{\r\n setData(response.data)\r\n // console.log(response)\r\n }).catch(error=>{\r\n console.log(error)\r\n })\r\n }, []);\r\n \r\n return(\r\n <footer className={['bg-footer'].join(' ')}>\r\n <Container>\r\n <Row className={['d-flex', 'align-items-center','justify-content-center'].join(' ')} style={{height:'200px'}}>\r\n <Col xs={{span:12}} sm={{span:4}}>\r\n <div className={['d-flex', 'align-items-center','justify-content-center'].join(' ')} >\r\n <ul className={['mb-0','ml-0','list-group','list-group-horizontal'].join(' ')}>\r\n <li className={['list-group-item', footerStyle.footerItem].join(' ')}>\r\n <a href=\"//dribbble.com/noletorious\">\r\n <FontAwesomeIcon icon={faDribbble} size=\"lg\"/> \r\n </a>\r\n </li>\r\n <li className={['list-group-item', footerStyle.footerItem].join(' ')}>\r\n <a href=\"//github.com/noletorious\">\r\n <FontAwesomeIcon icon={faGithub} size=\"lg\"/> \r\n </a>\r\n </li>\r\n <li className={['list-group-item', footerStyle.footerItem].join(' ')}>\r\n <a href=\"//linkedin.com/noletorious\">\r\n <FontAwesomeIcon icon={faLinkedin} size=\"lg\"/> \r\n </a>\r\n </li>\r\n </ul>\r\n </div>\r\n </Col>\r\n <Col xs={{span:12}} sm={{span:4}}>\r\n <div className={['d-flex', 'align-items-center','justify-content-center'].join(' ')}>\r\n <p className={['mb-0','text-white'].join(' ')}>Get in touch? <a href=\"mailto:[email protected]\">Email</a> is a quick way.</p>\r\n </div>\r\n </Col>\r\n <Col xs={{span:12}} sm={{span:4}}>\r\n <div className={['d-flex', 'align-items-center','justify-content-center'].join(' ')}>\r\n <h6 className={['mb-0','text-white','text-mute'].join(' ')}>\r\n {data ?\r\n data.name + \", OR \" + Math.round(data.main.temp)+\"°F\" \r\n : 'Loading weather data...'}\r\n </h6>\r\n <img src={data ? \"http://openweathermap.org/img/w/\" + data.weather[0].icon + \".png\" : null} alt=\"weather icon\" style={{width:'30px',marginBottom:'0'}}/>\r\n </div>\r\n </Col>\r\n </Row>\r\n </Container>\r\n </footer>\r\n )\r\n}\r\n\r\nexport default Footer\r\n","module.exports = \"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjYsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAyMDAgMjAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyMDAgMjAwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KCS5zdDB7ZmlsbDojRjQ0MzMxO30NCgkuc3Qxe2ZpbGw6bm9uZTtzdHJva2U6IzAwMDAwMDtzdHJva2Utd2lkdGg6OTtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQoJLnN0MntmaWxsOm5vbmU7c3Ryb2tlOiMwMDAwMDA7c3Ryb2tlLXdpZHRoOjE4O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoxMDt9DQo8L3N0eWxlPg0KPGc+DQoJPGNpcmNsZSBjbGFzcz0ic3QwIiBjeD0iMTAwIiBjeT0iMTAwIiByPSI5OS41Ii8+DQo8L2c+DQo8cGF0aCBjbGFzcz0ic3QxIiBkPSJNOTAuNyw5MyIvPg0KPHBhdGggY2xhc3M9InN0MiIgZD0iTTkwLjcsNTZoNDYuMnY4OS40TDYzLjEsNTkuNVYxNDZoMjguMyIvPg0KPC9zdmc+DQo=\"","import React from \"react\"\r\nimport noletoriousLogo from '../../images/noletorious-logo.svg'\r\n\r\n/*\r\n * This component is built using `gatsby-image` to automatically serve optimized\r\n * images with lazy loading and reduced file sizes. The image is loaded using a\r\n * `useStaticQuery`, which allows us to load the image from directly within this\r\n * component, rather than having to pass the image data down from pages.\r\n *\r\n * For more information, see the docs:\r\n * - `gatsby-image`: https://gatsby.dev/gatsby-image\r\n * - `useStaticQuery`: https://www.gatsbyjs.org/docs/use-static-query/\r\n */\r\n\r\nconst Image = () => {\r\n return <img alt=\"Noel Torres Logo\" src={noletoriousLogo} style={{minWidth:'70px'}} />\r\n}\r\n\r\nexport default Image\r\n","import React from 'react'\r\nimport { SpringLink } from './springLink'\r\nimport { Spring } from 'react-spring/renderprops'\r\nimport {Link} from 'gatsby'\r\nimport { TransitionState } from 'gatsby-plugin-transition-link'\r\nimport Container from 'react-bootstrap/Container'\r\nimport Row from 'react-bootstrap/Row'\r\nimport Col from 'react-bootstrap/Col'\r\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome'\r\nimport {faCaretLeft} from '@fortawesome/free-solid-svg-icons'\r\nimport NoletoriousLogo from '../../components/images/noelLogo'\r\nimport navigationStyle from './navigation.module.css'\r\n\r\nconst Navigation = (props) => {\r\n const isHomeStatus = props.isHome\r\n\r\n return (\r\n <>\r\n <TransitionState>\r\n {({ transitionStatus, exit, entry }) => {\r\n const mount = [ 'entering','entered'].includes(transitionStatus)\r\n // const exitStatus= [ 'exiting','exited'].includes(transitionStatus)\r\n // const seconds = mount ? entry.length : exit.length\r\n // console.log('exit object is', exit)\r\n // console.log('enter object is', entry)\r\n // console.log('exitSttus boolean is', exitStatus)\r\n // console.log('transitionstatus is', transitionStatus)\r\n // console.log('is Home Status is', isHomeStatus)\r\n // console.log('++++++++++++++++++++++++++++++++++++++++++')\r\n\r\n return (\r\n <Spring\r\n from={{\r\n paddingTop: props.isHome && mount ? '8vh' :'2vh',\r\n paddingBottom: props.isHome && mount ? '8vh' :'2vh'\r\n }}\r\n to={{\r\n paddingTop: props.isHome && mount ? '8vh' : !props.isHome && mount ? '2vh' : '2vh',\r\n paddingBottom: props.isHome && mount ? '8vh' : !props.isHome && mount ? '2vh' : '2vh'\r\n }}\r\n >\r\n {props => \r\n <div \r\n id='nav' \r\n className={[\"bg-white\", \"d-flex\", \"d-flex-row\", \"flex-wrap\", \"align-items-center\", \"border-bottom\"].join(' ')} style={props}\r\n >\r\n <Container>\r\n <Row>\r\n {/* Back, Home, Name and Title */}\r\n <Col className=\"d-flex flex-row align-items-center pl-0 flex-xs-column justify-content-center justify-content-sm-start\" xs={{span:12}} sm={{span:8}}>\r\n \r\n <Spring\r\n from={{\r\n display: mount && isHomeStatus ? 'block' : mount && !isHomeStatus ? 'block':'block',\r\n opacity: mount && isHomeStatus ? 1 : mount && !isHomeStatus ? 1:1\r\n }}\r\n to={{\r\n display:mount && isHomeStatus ? 'none' : mount && !isHomeStatus ? 'block':'block',\r\n opacity: mount && isHomeStatus ? 0 : mount && !isHomeStatus ? 1:1\r\n }}\r\n >{prop=>\r\n <div className=\"p-2\" style={prop}>\r\n <button \r\n title=\"Go back\" \r\n onClick={()=>window.history.go(-1)} \r\n className={['align-items-center','d-flex','px-0',navigationStyle.backBtn].join(' ')}\r\n >\r\n <FontAwesomeIcon icon={faCaretLeft} size=\"lg\" />\r\n </button>\r\n </div>\r\n }\r\n \r\n </Spring> \r\n\r\n {/* Make the golfer logo way large on the home page. */}\r\n <Spring\r\n from={{\r\n fontSize: mount && isHomeStatus ? '2em' : mount && !isHomeStatus ? '1em' :'1em' \r\n }}\r\n to={{\r\n fontSize: mount && isHomeStatus ? '2em' : mount && !isHomeStatus ? '1em' :'1em'\r\n }}\r\n >\r\n {props => \r\n <>\r\n <div className=\"p-2\" style={props}>\r\n <SpringLink to=\"/\">\r\n <NoletoriousLogo />\r\n {/* <span aria-label=\"noletorious\" role='img' className={navigationStyle.n}>🏌️</span> */}\r\n </SpringLink>\r\n </div>\r\n <div className=\"p-2\" style={props}>\r\n <span className='mb-0 font-weight-bold' style={{color:'#fff'}}>Noel Torres</span>\r\n <h6 className='my-0 text-light'>Full-stack Designer</h6>\r\n </div>\r\n </>\r\n }\r\n </Spring>\r\n \r\n </Col>\r\n {/* About, Work */}\r\n <Col className=\"d-flex align-items-center nav-items justify-content-center justify-content-sm-start\" xs={{span:12}} sm={{span:4}} style={{fontSize:'120%'}}>\r\n <div className=\"ml-sm-auto py-2\">\r\n <SpringLink to=\"/about\">About</SpringLink>\r\n </div>\r\n {/* <div className=\"p-2\">\r\n <SpringLink to=\"/blog\">Latest</SpringLink>\r\n </div> */}\r\n <div className=\"py-2 pl-4\">\r\n <Link \r\n to=\"/#work\">Work\r\n </Link>\r\n </div>\r\n </Col>\r\n </Row>\r\n </Container>\r\n </div>\r\n }\r\n </Spring>\r\n )\r\n }}\r\n </TransitionState>\r\n </>\r\n )\r\n}\r\n\r\nexport default Navigation","/**\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,{Component} from \"react\"\r\nimport PropTypes from \"prop-types\"\r\n\r\nimport Navigation from \"../../components/navigation\"\r\n// import HomePageSection from \"../../components/homePageSection\"\r\nimport Footer from \"../../components/footer\"\r\nimport SEO from '../../components/seo'\r\nimport { Spring } from 'react-spring/renderprops'\r\nimport { TransitionState } from 'gatsby-plugin-transition-link'\r\n\r\nimport \"bootstrap/dist/css/bootstrap.css\"\r\n\r\n\r\nclass Layout extends Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n checkIsHomePage: this.props.page ? true : false\r\n };\r\n }\r\n\r\n render(){\r\n return (\r\n <>\r\n <SEO title=\"Noel Torres Portfolio\"/>\r\n <TransitionState>\r\n {({ transitionStatus }) => {\r\n const mount = [ 'entering','entered'].includes(transitionStatus)\r\n const exitStatus = [ 'exiting','exited'].includes(transitionStatus)\r\n const transitionStatusPop = transitionStatus === 'POP' ? true : false\r\n return (\r\n <Spring\r\n from={{\r\n opacity: mount ? 0 : 0,\r\n transform: `translateY(${exitStatus ? '10px' : 0})`\r\n }}\r\n to={{\r\n opacity: mount || transitionStatusPop ? 1 : 0,\r\n transform: `translateY(${mount ? 0 : '10px'})`\r\n }}\r\n >\r\n {props =>\r\n <div> \r\n {/* {this.state.checkIsHomePage ? \r\n <div className='vh-100 d-flex flex-column'>\r\n <Navigation isHome = {this.state.checkIsHomePage}/>\r\n <HomePageSection style={props} />\r\n </div>\r\n : <Navigation isHome = {this.state.checkIsHomePage}/>\r\n } */}\r\n <Navigation isHome = {this.state.checkIsHomePage}/>\r\n <main className={['d-flex','flex-column'].join(' ')} style={props} >\r\n {this.props.children}\r\n </main>\r\n </div>\r\n }\r\n </Spring>\r\n )\r\n }}\r\n </TransitionState>\r\n <Footer />\r\n </>\r\n )\r\n }\r\n}\r\n\r\nLayout.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n}\r\n\r\nexport default Layout\r\n"],"sourceRoot":""}