(()=>{"use strict";var e,r={4603:(e,r,o)=>{var n=o(5761),a=o(9800),t=o(7291),s=o(6424),i=o(7811),c=o(9529),l=o(7533),u=o(4804),p=o(196);const w=new s.Z({source:new c.Z}),f="pk.eyJ1IjoiZ2JvMiIsImEiOiJjazFraHV4N3gwZHliM2JucHYxdTNnNXh1In0.tzs3TxoVCaMNQf455mh-3w",m=new s.Z({source:new l.Z({url:"https://api.tiles.mapbox.com/v4/mapbox.20110804-hoa-foodinsecurity-3month.json?secure&access_token="+f,crossOrigin:"anonymous"})}),v=new s.Z({source:new l.Z({url:"https://api.tiles.mapbox.com/v4/mapbox.world-borders-light.json?secure&access_token="+f,crossOrigin:"anonymous"})}),d=new t.Z({layers:[m,v]}),h=new n.Z({layers:[w,d],target:"map2d",view:new a.ZP({center:(0,i.mi)([37.4057,8.81566]),zoom:4})});Cesium.Ion.defaultAccessToken=p.x;function y(e){switch(e){case"layer0":return w;case"layer1":return d;case"layer10":return m;case"layer11":return v;default:throw new Error("Unknown layer")}}new u.Z({map:h,target:"map3d"}).setEnabled(!0),window.toggleLayer=function(e,r){y(r).setVisible(e.checked)},window.setLayerOpacity=function(e,r){y(r).setOpacity(parseFloat(e.value))}}},o={};function n(e){var a=o[e];if(void 0!==a)return a.exports;var t=o[e]={exports:{}};return r[e].call(t.exports,t,t.exports,n),t.exports}n.m=r,e=[],n.O=(r,o,a,t)=>{if(!o){var s=1/0;for(u=0;u<e.length;u++){for(var[o,a,t]=e[u],i=!0,c=0;c<o.length;c++)(!1&t||s>=t)&&Object.keys(n.O).every((e=>n.O[e](o[c])))?o.splice(c--,1):(i=!1,t<s&&(s=t));if(i){e.splice(u--,1);var l=a();void 0!==l&&(r=l)}}return r}t=t||0;for(var u=e.length;u>0&&e[u-1][2]>t;u--)e[u]=e[u-1];e[u]=[o,a,t]},n.d=(e,r)=>{for(var o in r)n.o(r,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.j=966,(()=>{var e={966:0};n.O.j=r=>0===e[r];var r=(r,o)=>{var a,t,[s,i,c]=o,l=0;if(s.some((r=>0!==e[r]))){for(a in i)n.o(i,a)&&(n.m[a]=i[a]);if(c)var u=c(n)}for(r&&r(o);l<s.length;l++)t=s[l],n.o(e,t)&&e[t]&&e[t][0](),e[t]=0;return n.O(u)},o=self.webpackChunkol_cesium=self.webpackChunkol_cesium||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var a=n.O(void 0,[351],(()=>n(4603)));a=n.O(a)})();
//# sourceMappingURL=layer-group.be533ff3e949bac8b98b.js.map