import{ax as S,bd as b,V as g,aB as t,ao as a,L as _}from"./app-k0jcl5PQ.js";import{V as h}from"./Di9d6zcy.chunk.js";import{b as u,c as I}from"./BLYja3A6.chunk.js";import{D as T}from"./V7wC9s5_.chunk.js";import{D,a as N,b as O,c as E,d as M}from"./DnLUOQTx.chunk.js";const A="_background_1nrxn_2",f={background:A},H="myShares.demoInsights",i=_.encloseNamespace(H);function v(e){const[r,o]=S(g.INSIGHTS_DEMO_HIDDEN,!1,{storage:b.LocalStorage});if(r&&e.enableHiding)return;const c=e.breakpoints.xs||e.breakpoints.sm,s=e.shareType===t.Open?D:N;function d(){return{...e.demoInteractive,id:T}}function m(){const n=[{...M,button:!c,appLink:s}];return e.enableHiding&&n.push({svg:h,label:i("hideDemo"),group:"insights",className:"btn btn-outline-dark",onClick:()=>o(!0)}),n}const l={...e.shareType===t.Open?O:E,sharedObject:d()};return a.jsxs("div",{className:e.className,children:[a.jsx(u,{heading:e.heading??i("demoHeading"),isFirst:e.isFirst??!1}),a.jsx("div",{className:`${f.background} rounded-3 mb-4`,children:a.jsx(I,{shareData:l,getObjectActions:m,imageCdnUrl:e.imageCdnUrl,yearGroups:e.yearGroups,breakpoints:e.breakpoints,className:"bg-light-blue",appLink:(()=>s)})})]})}export{v as M};
//# sourceMappingURL=CznAEkX8.chunk.js.map
