ant-design/8bb9fdeb-async.de29a1c6.js
2025-06-10 09:02:15 +00:00

1 line
1.3 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["8bb9fdeb"],{"40176bb9":function(e,t,o){"use strict";o.d(t,"__esModule",{value:!0}),o.d(t,"default",{enumerable:!0,get:function(){return b;}});var a=o("777fffbe"),s=o("852bbaa9"),l=o("f19d2b93"),n=o("5b220c3d"),d=o("e22febe0"),u=o("a9d1a279"),c=o("9c86e52a"),i=a._(o("0a03b273")),r=s._(o("e67f7d0e"));let f={"docs/spec/download":"docs/resources","docs/spec/work-with-us":"docs/resources"};var b=({router:e})=>{let{pathname:t}=(0,c.useLocation)(),o=r.isZhCN(t);return(0,n.useEffect)(()=>{let a=Object.keys(f);for(let s=0;s<a.length;s+=1){let l=a[s];t.includes(l)&&e.replace(r.getLocalizedPathname(`/${f[l]}`,o).pathname);}let{yuyanMonitor:s}=window;null==s||s.log({code:11,msg:`Page not found: ${location.href}; Source: ${document.referrer}`});},[]),(0,l.jsx)(u.Result,{status:"404",title:"404",subTitle:o?"\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u8C8C\u4F3C\u4E0D\u5B58\u5728\uFF1F":"Sorry, the page you visited does not exist.",extra:(0,l.jsx)(i.default,{to:r.getLocalizedPathname("/",o),children:(0,l.jsx)(u.Button,{type:"primary",icon:(0,l.jsx)(d.HomeOutlined,{}),children:o?"\u8FD4\u56DE Ant Design \u9996\u9875":"Back to home page"})})});};}}]);