!function(e){function t(t){for(var r,i,u=t[0],c=t[1],d=t[2],s=0,p=[];s<u.length;s++)i=u[s],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);for(l&&l(t);p.length;)p.shift()();return a.push.apply(a,d||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],r=!0,u=1;u<n.length;u++){var c=n[u];0!==o[c]&&(r=!1)}r&&(a.splice(t--,1),e=i(i.s=n[0]))}return e}var r={},o={19:0},a=[];function i(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var u=window.webpackJsonp=window.webpackJsonp||[],c=u.push.bind(u);u.push=t,u=u.slice();for(var d=0;d<u.length;d++)t(u[d]);var l=c;a.push([218,0]),n()}({218:function(e,t,n){e.exports=n(219)},219:function(e,t,n){"use strict";n.r(t);var r=n(55),o=n(43),a=n(31),i=n(85),u=n(19),c=n(25),d=n(21),l=n(26),s=n(24),p=n(17),f=n(32),m=n(34);let w=0,y=0,h=0;const M=[],g=new p.a({source:new s.b}),b=new l.a({layers:[g],target:"map2d",view:new d.a({center:[0,0],zoom:2})});Cesium.Ion.defaultAccessToken="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0MzAyNzUyYi0zY2QxLTQxZDItODRkOS1hNTA3MDU3ZTBiMDUiLCJpZCI6MjU0MSwiaWF0IjoxNTMzNjI1MTYwfQ.oHn1SUWJa12esu7XUUtEoc1BbEbuZpRocLetw6M6_AA";const v=new c.a({map:b}),I=v.getCesiumScene();I.terrainProvider=Cesium.createWorldTerrain(),v.setEnabled(!0);let T;new Cesium.ScreenSpaceEventHandler(I.canvas).setInputAction(e=>{const t=I.drillPick(e.position);if(Cesium.defined(t))for(let e=0;e<t.length;++e){const n=t[e].primitive;if(n.olFeature==T)continue;Cesium.Ellipsoid.WGS84.cartesianToCartographic(n.position);T=n.olFeature}else T=void 0},Cesium.ScreenSpaceEventType.LEFT_CLICK),window.clearFeatures=function(){M.forEach(e=>{b.getLayers().remove(e)}),M.length=0,w=document.getElementById("total").innerHTML=0,document.getElementById("created").innerHTML="",document.getElementById("added").innerHTML=""},window.addFeatures=function(){let e=Date.now();const t=[],n=18e6;for(let e=0;e<1e3;++e){const e=new f.a({geometry:new m.a([2*n*Math.random()-n,2*n*Math.random()-n,n*Math.random()])}),r=[new u.b({image:new i.a({radius:2,fill:new a.a({color:[255*Math.random(),255*Math.random(),255*Math.random(),Math.random()]})})})];e.setStyle(r),e.setId(n*Math.random()),t.push(e)}let c=Date.now();y=c-e,e=c;const d=new o.a({}),l=new r.a({source:d});d.addFeatures(t),b.addLayer(l),M.push(l),c=Date.now(),h=c-e,w+=1e3,document.getElementById("total").innerHTML=w,document.getElementById("created").innerHTML=`Features created in ${y}ms.`,document.getElementById("added").innerHTML=`Features added in ${h}ms.`}}});
//# sourceMappingURL=synthvectors.e5c21e83d56ebfbc42e9.js.map