PageSourceSearch

https://chainstream.io/_next/static/chunks/78054.09e0239bf9a99a7e.js

js chainstream.io collected 2026-10-05 02:42:41 UTC 3,544 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5770f435-aec4-40dc-9bb6-9aa311fd6b4d",e._sentryDebugIdIdentifier="sentry-dbid-5770f435-aec4-40dc-9bb6-9aa311fd6b4d")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[78054],{52428:function(e,t,o){o.r(t),o.d(t,{Map:function(){return c},MapControl:function(){return d},MapMarker:function(){return u},MapPopup:function(){return l}});var n=o(57437),r=o(48421),i=o(2265),s=o(22010);let c=(0,i.forwardRef)((e,t)=>{let{...i}=e;return(0,n.jsx)(r.ZP,{ref:t,mapLib:o.e(13415).then(o.t.bind(o,42520,23)),mapboxAccessToken:s.CONFIG.mapbox.apiKey,...i})});var a=o(78693);function l(e){let{sx:t,children:o,...i}=e;return(0,n.jsx)(a.Z,{component:r.GI,anchor:"bottom",sx:t,...i,children:o})}function u(e){let{...t}=e;return(0,n.jsx)(r.Jx,{...t,children:(0,n.jsx)(a.Z,{component:"svg",viewBox:"0 0 24 24",sx:{height:20,stroke:"none",cursor:"pointer",fill:e=>e.vars.palette.error.main,transform:"translate(".concat(-10,"px, ").concat(-20,"px)")},children:(0,n.jsx)("path",{d:"M20.2,15.7L20.2,15.7c1.1-1.6,1.8-3.6,1.8-5.7c0-5.6-4.5-10-10-10S2,4.5,2,10c0,2,0.6,3.9,1.6,5.4c0,0.1,0.1,0.2,0.2,0.3\n  c0,0,0.1,0.1,0.1,0.2c0.2,0.3,0.4,0.6,0.7,0.9c2.6,3.1,7.4,7.6,7.4,7.6s4.8-4.5,7.4-7.5c0.2-0.3,0.5-0.6,0.7-0.9\n  C20.1,15.8,20.2,15.8,20.2,15.7z"})})})}function d(e){let{hideScale:t,hideGeolocate:o,hideFullscreen:i,hideNavigation:s}=e;return(0,n.jsxs)(n.Fragment,{children:[!o&&(0,n.jsx)(r.$j,{position:"top-left",positionOptions:{enableHighAccuracy:!0}}),!i&&(0,n.jsx)(r.ot,{position:"top-left"}),!t&&(0,n.jsx)(r.jf,{position:"bottom-left"}),!s&&(0,n.jsx)(r.Pv,{position:"bottom-left"})]})}},78054:function(e,t,o){o.r(t),o.d(t,{MapClusters:function(){return u}});var n=o(57437),r=o(2265),i=o(48421),s=o(52428);let c={id:"clusters",type:"circle",source:"earthquakes",filter:["has","point_count"],paint:{"circle-color":["step",["get","point_count"],"#51bbd6",100,"#f1f075",750,"#f28cb1"],"circle-radius":["step",["get","point_count"],20,100,30,750,40]}},a={id:"cluster-count",type:"symbol",source:"earthquakes",filter:["has","point_count"],layout:{"text-field":"{point_count_abbreviated}","text-font":["DIN Offc Pro Medium","Arial Unicode MS Bold"],"text-size":12}},l={id:"unclustered-point",type:"circle",source:"earthquakes",filter:["!",["has","point_count"]],paint:{"circle-color":"#11b4da","circle-radius":4,"circle-stroke-width":1,"circle-stroke-color":"#FFFFFF"}};function u(e){let{...t}=e,o=(0,r.useRef)(null);return(0,n.jsx)(s.Map,{initialViewState:{latitude:40.67,longitude:-103.59,zoom:3},interactiveLayerIds:[c.id||""],onClick:e=>{var t,n,r;let i=null===(t=e.features)||void 0===t?void 0:t[0],s=null==i?void 0:null===(n=i.properties)||void 0===n?void 0:n.cluster_id;(null===(r=o.current)||void 0===r?void 0:r.getSource("earthquakes")).getClusterExpansionZoom(s,(e,t)=>{if(!e&&(null==i?void 0:i.geometry.type)==="Point"){var n;null===(n=o.current)||void 0===n||n.easeTo({center:null==i?void 0:i.geometry.coordinates,zoom:Number.isNaN(t)?3:t,duration:500})}})},ref:o,...t,children:(0,n.jsxs)(i.Hw,{id:"earthquakes",type:"geojson",data:"https://docs.mapbox.com/mapbox-gl-js/assets/earthquakes.geojson",cluster:!0,clusterMaxZoom:14,clusterRadius:50,children:[(0,n.jsx)(i.mh,{...c}),(0,n.jsx)(i.mh,{...a}),(0,n.jsx)(i.mh,{...l})]})})}}}]);
2//# sourceMappingURL=78054.09e0239bf9a99a7e.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.