"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime");require("react");const h=require("react-redux"),m=e=>t.jsx(g,{...e}),g=e=>{const{editing:s=!1,unique:a,intl:C,"data-csv":j="","data-selected-chart-data":n="{}","data-height":o,"data-width":c=100,"data-margin":i=0,settings:r}=e,d=r?r.apache_superset_url:"",u=decodeURIComponent(d),p=decodeURIComponent(n),l=`${u}/superset/explore/?form_data=${p}&standalone=1`;return t.jsx("div",{id:`superset-chart-${a}`,children:t.jsx("iframe",{src:l,seamless:"seamless",title:"superset-chart",style:{border:"none",width:c+"%",height:o+"px",margin:i+"px"}})})},x=(e,s)=>({}),S={},f=h.connect(x,S)(m);exports.default=f;
