frontend/build/static/js/main.9c5e355c.chunk.js

1 line
1.9 KiB
JavaScript

(this.webpackJsonpmarketingsystem=this.webpackJsonpmarketingsystem||[]).push([[4],{38:function(e,t,n){},45:function(e,t,n){},46:function(e,t,n){},56:function(e,t,n){},57:function(e,t,n){"use strict";n.r(t);var c=n(0),o=n(18),a=n.n(o),i=(n(45),n(24)),r=n(25),l=n(26),u=n(27),s=n(20),b=n(3),j=(n(46),n(38),n(61)),h=n(1),f=Object(c.lazy)((function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(2),n.e(6)]).then(n.bind(null,609))})),p=Object(c.lazy)((function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(2),n.e(7)]).then(n.bind(null,617))})),m=Object(c.lazy)((function(){return Promise.all([n.e(0),n.e(10)]).then(n.bind(null,592))})),O=Object(c.lazy)((function(){return Promise.all([n.e(0),n.e(1),n.e(11),n.e(2),n.e(9)]).then(n.bind(null,597))})),d=function(e){Object(l.a)(n,e);var t=Object(u.a)(n);function n(){var e;Object(i.a)(this,n);for(var c=arguments.length,o=new Array(c),a=0;a<c;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={pathname:""},e}return Object(r.a)(n,[{key:"componentWillMount",value:function(){var e=window.location.href.lastIndexOf("/"),t=window.location.href.substr(e);this.setState({pathname:"".concat(t)})}},{key:"render",value:function(){return Object(h.jsx)(s.a,{children:Object(h.jsxs)(c.Suspense,{fallback:Object(h.jsx)(j.a,{loading:!0,icon:"circle",iconText:"\u52a0\u8f7d\u4e2d..."}),children:[Object(h.jsx)(b.b,{path:"/login",exact:!0,component:p}),Object(h.jsx)(b.b,{path:"/edittemplate",exact:!0,component:O}),Object(h.jsx)(b.b,{path:"/home",component:f}),Object(h.jsx)(b.b,{exact:!0,path:"/",render:function(){return Object(h.jsx)(b.a,{to:"/login"})}}),Object(h.jsx)(b.b,{component:m})]})})}}]),n}(c.Component),x=function(e){e&&e instanceof Function&&n.e(12).then(n.bind(null,593)).then((function(t){var n=t.getCLS,c=t.getFID,o=t.getFCP,a=t.getLCP,i=t.getTTFB;n(e),c(e),o(e),a(e),i(e)}))};n(55),n(56);a.a.render(Object(h.jsx)(d,{}),document.getElementById("root")),x()}},[[57,5,8]]]);