PageSourceSearch

https://dashboard.visme.co/v2/static/js/BaseAm4chartView.d30bd832f48161d1.chunk.js

js visme.co collected 2026-10-01 08:32:17 UTC 3,651 bytes, 3 lines download raw bytes

1(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};l.SENTRY_RELEASE={id:"4.106.2@5fb3279d0cc"};var d=new l.Error().stack;d&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[d]="8bb80aa2-4f5d-4d21-b601-01e4c09f95b4",l._sentryDebugIdIdentifier="sentry-dbid-8bb80aa2-4f5d-4d21-b601-01e4c09f95b4")}catch{}})(),(self.webpackChunkvisme_dashboard_web_app=self.webpackChunkvisme_dashboard_web_app||[]).push([["3158"],{85819(l,d,t){t.r(d),t.d(d,{default:()=>X});var e=t(65723),o=t(22155),C=t(12436),I=t(63675),f=t(78145),S=t(28603),y=t.n(S),s=t(71954),P=t(29058),h=t(83151),p=t.n(h);let A=!1;const x=(n,r)=>{if(A===!1){const a=p()(["am4chartType"],n);Object.assign(r.options,a)}A=!0};var N=t(25148),B=t(92360),G=t(7242),L=t(60564);const M=({ref:n,object:r,forceReInit:a,forceReInitCounter:i,isThumb:v,isDownloadedFonts:m})=>{const D=async()=>{if(!(0,s._n)(r))return null;r.setProp("isInitializationInProcess",!0),r.setProp("isShowingLoader",!0);let c;if(r.lastUsedChartConfig)c=r.lastUsedChartConfig;else{if(c=await(0,P.A)(r),c===null)return null;r.setProp("lastUsedChartConfig",c);const T=await(0,N.i)(B.O.am4core,r.partsGettersMapping);x(c.options,T)}const{options:u,...g}=y()(c),O=i===1;return G.Ay.add({isFirstInitialization:O,config:g,dom:n.current,am4chartType:u.am4chartType,isThumb:v,object:r,forceReInit:a})};(0,o.useEffect)(()=>{if(i===0)return;let u;return D().then(g=>{u=g}),()=>{if(u){if((0,s._n)(r)){const{isInitializedPropName:g,am4InstancePropName:O,animationTimerIdPropName:T}=r.getAm4InstanceProps(u);r.setProp(g,!1),r.setProp(O,null),r.setProp(T,null)}(0,L.A)(u,r.partsGettersMapping),u=null}}},[i]);const R=()=>{m&&a().then()};(0,o.useEffect)(R,[m])},U=(n,r)=>{const a=(0,o.useRef)(null),[i,v]=(0,o.useState)(0),m=()=>new Promise(R=>{v(i+1),(0,I.z7)(()=>!n.isInitializationInProcess).then(R)}),D=(0,f.A)(n);return M({ref:a,object:n,forceReInitCounter:i,forceReInit:m,isThumb:r,isDownloadedFonts:D}),a};var V=t(11894),H=t(25831),Y=t(72924),$=t(61665);const J=n=>{(0,H.A)(()=>[n.hasDynamicLink,n.isResizing],([r,a])=>{if(!r||a)return;let i;const v=6e4,m=()=>{n.importFromGoogle().then(()=>{i=setTimeout(m,v)})};return m(),()=>{i&&clearTimeout(i)}},{fireImmediately:!0})},z=()=>!0,K=({object:n})=>{J(n);const r=U(n,!1);return(0,e.jsx)("div",{ref:r,className:"am4-object-type-chart",children:!n.shouldHideOnFirstInitialization&&(0,e.jsx)(Y.A,{})})},Q=(0,o.memo)((0,C.PA)(K),z),W=({object:n,isThumb:r})=>{if(n.isBroken)return null;const a=r?$.A:Q;return(0,e.jsx)(a,{object:n})},F=(0,o.memo)((0,C.PA)(W),z),X=(0,o.memo)(({object:n,isThumb:r})=>(0,e.jsx)(V.A,{onError:()=>(0,e.jsx)(F,{object:n,isThumb:r}),children:(0,e.jsx)(F,{object:n,isThumb:r})}),z)},61665(l,d,t){t.d(d,{A:()=>y});var e=t(65723),o=t(22155),C=t(12436),I=t(19719),f=t(60655);const y=(0,C.PA)(({object:s})=>{const{appStore:P}=(0,I.g)();if((0,o.useEffect)(()=>{if(s.url||s.clientCapturedPreview||P.settings.isEditorMode)return;(()=>{try{const p=document.querySelectorAll(`[data-object-id="${s.id}"]`);for(const A of p){const E=A.querySelector("canvas");if(E){const x=E.toDataURL("image/png");s.setClientCapturedPreview(x);return}}}catch(p){console.error("Cannot get chart image",p)}})()},[s.id,s.url]),"handleDrawImageError"in s){const h=s;return(0,e.jsx)(f.A,{src:h.url,onError:h.handleDrawImageError})}return s.clientCapturedPreview&&!s.url?(0,e.jsx)(f.A,{src:s.clientCapturedPreview,className:"chart-thumb-client-rendered-image"}):(0,e.jsx)(f.A,{src:s.url,onError:()=>s.setProps({shouldExport:!0,isExported:!1})})})}}]);
2
3//# sourceMappingURL=BaseAm4chartView.d30bd832f48161d1.chunk.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.