"use strict";(globalThis.webpackChunksuperset=globalThis.webpackChunksuperset||[]).push([[3897],{93897:(t,e,a)=>{a.r(e),a.d(e,{default:()=>h,getLayer:()=>d});var r=a(91018),o=a(41857),i=a(25564),l=a(47823),c=a(32548),n=a(2445);function s(t){var e;return(null==(e=t.object)?void 0:e.extraProps)&&(0,n.Y)("div",{className:"deckgl-tooltip",children:Object.keys(t.object.extraProps).map(((e,a)=>(0,n.Y)(c.A,{label:`${e}: `,value:`${t.object.extraProps[e]}`},`prop-${a}`)))})}function d(t,e,a,l){const c=t,n=c.color_picker,d=[n.r,n.g,n.b,255*n.a];let h=e.data.features.map((t=>({...t,path:t.path,width:c.line_width,color:d})));return c.js_data_mutator&&(h=(0,i.A)(c.js_data_mutator)(h)),new r.A({id:`path-layer-${c.slice_id}`,getColor:t=>t.color,getPath:t=>t.path,getWidth:t=>t.width,data:h,rounded:!0,widthScale:1,widthUnits:c.line_width_unit,...(0,o.T)(c,l,s)})}const h=(0,l.y)(d,(function(t){let e=[];return t.forEach((t=>{e=e.concat(t.path)})),e}))}}]);