UNPKG

@ant-design/charts

Version:
2 lines 1.34 kB
"use strict";(self.webpackChunkCharts=self.webpackChunkCharts||[]).push([[394],{6394(n,t,e){e.r(t),e.d(t,{render:()=>l,unmount:()=>s});var r=e(5838),o=e(6003),u=function(n,t,e,r){return new(e||(e=Promise))(function(o,u){function c(n){try{a(r.next(n))}catch(n){u(n)}}function i(n){try{a(r.throw(n))}catch(n){u(n)}}function a(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e(function(n){n(t)})).then(c,i)}a((r=r.apply(n,t||[])).next())})},c="__rc_react_root__",i=null;function a(){return null===i&&(i=e.e(829).then(e.t.bind(e,3829,19)).catch(function(){return null})),i}function f(n){try{var t=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=n)}catch(n){}}function l(n,t){return u(this,void 0,void 0,(0,r.A)().m(function e(){var o,u;return(0,r.A)().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,a();case 1:if(null==(o=e.v)?void 0:o.createRoot){e.n=2;break}throw new Error("React 18+ createRoot not available");case 2:f(!0),u=t[c]||o.createRoot(t),f(!1),u.render(n),t[c]=u;case 3:return e.a(2)}},e)}))}function s(n){return u(this,void 0,void 0,(0,r.A)().m(function t(){return(0,r.A)().w(function(t){for(;;)if(0===t.n)return t.a(2,Promise.resolve().then(function(){var t;null===(t=n[c])||void 0===t||t.unmount(),delete n[c]}))},t)}))}}}]); //# sourceMappingURL=394.min.js.map