/*! For license information please see index.js.LICENSE.txt */
define(["react","gpui-style-inject"],(function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(e),o=n(t);function i(e){var t={exports:{}};return e(t,t.exports),t.exports}Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()||Object.assign;var a=i((function(e,t){var n=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;n=o("react.element"),t.Fragment=o("react.fragment")}var i=r.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var o,s={},p=null,f=null;for(o in void 0!==r&&(p=""+r),void 0!==t.key&&(p=""+t.key),void 0!==t.ref&&(f=t.ref),t)a.call(t,o)&&!c.hasOwnProperty(o)&&(s[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===s[o]&&(s[o]=t[o]);return{$$typeof:n,type:e,key:p,ref:f,props:s,_owner:i.current}}t.jsx=s,t.jsxs=s})),c=i((function(e){e.exports=a}));o.default("html, body, #root {\n  width: 100%;\n  height: 100%;\n  \n}\n*{\n  padding: 0;\n  margin: 0;\n  box-sizing: border-box;\n}\n");return o.default(".index-module_container__iSbDg {\n  width: 100vw;\n  height: 100vh; }\n"),({gpui:t})=>{const{params:{lon:n=116.514,lat:r=39.915}}=t;return e.useEffect((()=>{("ThWvOseuQefH2K8UrrCK67LbYK96zy7k",new Promise((function(e,t){let n=document.createElement("script");n.type="text/javascript",n.src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=ThWvOseuQefH2K8UrrCK67LbYK96zy7k&callback=init",document.body.appendChild(n),window.init=()=>{e(window.BMapGL)}}))).then((e=>{const t=new e.Map("container");t.centerAndZoom(new e.Point(parseFloat(n),parseFloat(r)),19),t.enableScrollWheelZoom(!0)}))}),[]),c.jsx("div",{children:c.jsx("div",{id:"container",className:"index-module_container__iSbDg"},void 0)},void 0)}}));