(()=>{"use strict";const e=window.React,l=window.wp.i18n,t=window.wp.plugins,r=window.wp.components,{Fill:o,Slot:n}=(0,r.createSlotFill)("FireBox_Map_Repeater_Slotfill"),a=({children:l})=>(0,e.createElement)(o,null,l);a.Slot=({fillProps:l})=>(0,e.createElement)(n,{fillProps:l},(e=>e.length?e:null));const{Fill:i,Slot:c}=(0,r.createSlotFill)("FireBox_Map_Inspector_Controls_Controls_Slotfill"),s=({children:l})=>(0,e.createElement)(i,null,l);s.Slot=({fillProps:l})=>(0,e.createElement)(c,{fillProps:l},(e=>e.length?e:null)),(0,t.registerPlugin)("firebox-general-pro-slot-fills",{render:()=>(0,e.createElement)(e.Fragment,null,(0,e.createElement)(a,null,(({markers:t,onNewItemAdd:o})=>(0,e.createElement)(r.Button,{variant:"primary",className:"fpframework-button-fullwidth",onClick:o},(0,l.__)("Add Marker","firebox")))),(0,e.createElement)(s,null,(({attributes:t,setAttributes:o})=>(0,e.createElement)(r.RadioControl,{label:(0,l.__)("Scale","firebox"),className:"components-base-control",options:[{label:(0,l.__)("None","firebox"),value:""},{label:(0,l.__)("Metric","firebox"),value:"metric"},{label:(0,l.__)("Imperial","firebox"),value:"imperial"}],selected:t?.scale,onChange:e=>o({scale:e})}))))})})();