{"version":3,"sources":["logo.svg","App.js","serviceWorker.js","index.js"],"names":["module","exports","videoName","App","props","state","display","this","setState","document","getElementById","style","divName","className","marginLeft","marginTop","id","onClick","showDiv","hideDiv","controls","height","width","muted","src","autoPlay","loop","Component","Boolean","window","location","hostname","match","ReactDOM","render","StrictMode","navigator","serviceWorker","ready","then","registration","unregister","catch","error","console","message"],"mappings":"+IAAAA,EAAOC,QAAU,IAA0B,kC,0DCKvCC,E,oEAwIWC,G,8DArIX,WAAYC,GAAQ,IAAD,8BACf,cAAMA,IACDC,MAAQ,CACTC,SAAQ,GAHG,E,sDAcfC,KAAKC,SAAU,CACXF,SAAQ,IAGZG,SAASC,eAAe,aAAaC,MAAML,QAAU,OACrDG,SAASC,eAAe,WAAWC,MAAML,QAAU,S,8BAG/CM,GAEJL,KAAKC,SAAU,CACXF,SAAS,IAIbG,SAASC,eAAe,aAAaC,MAAML,QAAU,QACrDG,SAASC,eAAe,WAAWC,MAAML,QAAU,QAErC,MAAXM,IAECV,EAAY,YAEF,MAAXU,IAECV,EAAY,WAEF,MAAXU,IAECV,EAAY,WAEF,MAAXU,IAECV,EAAY,YAEF,MAAXU,IAECV,EAAY,UAEF,MAAXU,IAECV,EAAY,Y,+BAIX,IAAD,OAER,OACI,yBAAKW,UAAW,cACZ,yBAAKA,UAAWN,KAAKF,MAAMC,QAAU,UAAY,gBAC7C,yBAAKO,UAAWN,KAAKF,MAAMC,QAAU,WAAa,kBAC9C,uBAAGO,UAAU,UAAb,4BACA,uBAAGA,UAAW,UAAUF,MAAO,CAACG,WAAW,QAASC,UAAU,SAA9D,oBACA,uBAAGF,UAAU,WAAb,qCACA,uBAAGA,UAAU,UAAUF,MAAO,CAACG,WAAW,QAASC,UAAU,UAA7D,uBAEJ,yBAAKC,GAAK,OAAOH,UAAYN,KAAKF,MAAMC,QAAU,OAAS,YAAaW,QAAS,kBAAI,EAAKC,QAAQ,QAC9F,yBAAKL,UAAU,UACZ,uBAAGA,UAAU,KAAb,sBAGP,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C,SAASC,SAASC,MACvB,2DCZNC,IAASC,OACP,kBAAC,IAAMC,WAAP,KACE,kBAAC,EAAD,OAEF1B,SAASC,eAAe,SDyHpB,kBAAmB0B,WACrBA,UAAUC,cAAcC,MACrBC,MAAK,SAAAC,GACJA,EAAaC,gBAEdC,OAAM,SAAAC,GACLC,QAAQD,MAAMA,EAAME,c","file":"static/js/main.d04b5cf3.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/logo.5d5d9eef.svg\";","import React, {Component} from 'react';\nimport logo from './logo.svg';\nimport './App.css';\n\n\nlet videoName;\n\nclass App extends Component{\n constructor(props) {\n super(props);\n this.state = {\n display:true,\n }\n\n }\n\n\n\n\n hideDiv() {\n\n\n this.setState ({\n display:true,\n\n });\n document.getElementById('middleDiv').style.display = 'none';\n document.getElementById('maskDiv').style.display = 'none';\n\n }\n showDiv(divName) {\n\n this.setState ({\n display: false,\n\n });\n\n document.getElementById('middleDiv').style.display = 'block';\n document.getElementById('maskDiv').style.display = 'block';\n\n if(divName == '01')\n {\n videoName = 'city.mp4';\n }\n if(divName == '02')\n {\n videoName = 'gis.mp4';\n }\n if(divName == '03')\n {\n videoName = 'tyg.mp4';\n }\n if(divName == '04')\n {\n videoName = 'fsfh.mp4';\n }\n if(divName == '05')\n {\n videoName = 'fl.mp4';\n }\n if(divName == '06')\n {\n videoName = 'zb.mp4';\n }\n }\n\n render(){\n\n return (\n
\n
\n
\n

视频展示

\n

Video Exhibition

\n

持续更新中...

\n

to be continued...

\n
\n
this.showDiv('01')}>\n
\n

React + Three.js

\n
\n
\n
this.showDiv('02')}>\n
\n

\n React + Cesium + Three.js\n

\n
\n
\n\n
this.showDiv('03')}>\n
\n

\n Unity3D\n

\n
\n
\n\n
\n\n
\n
this.showDiv('04')}>\n
\n

.net + unity3d

\n
\n
\n
this.showDiv('05')}>\n
\n

\n unity3d\n

\n
\n
\n
this.showDiv('06')}>\n
\n

\n .net + 3diva composer\n

\n
\n
\n\n
\n\n\n
this.hideDiv()}>\n\n
\n\n
\n
\n \n
\n
\n\n
\n )\n}\n\n}\n\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' },\n })\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then(registration => {\n registration.unregister();\n })\n .catch(error => {\n console.error(error.message);\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root')\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n"],"sourceRoot":""}