diff --git a/404.html b/404.html index bd2ae54..9ed124c 100644 --- a/404.html +++ b/404.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo1s/foo/index.html b/demo1s/foo/index.html index bd2ae54..9ed124c 100644 --- a/demo1s/foo/index.html +++ b/demo1s/foo/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo1s/foo2/index.html b/demo1s/foo2/index.html index bd2ae54..9ed124c 100644 --- a/demo1s/foo2/index.html +++ b/demo1s/foo2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo1s/get-name/index.html b/demo1s/get-name/index.html index bd2ae54..9ed124c 100644 --- a/demo1s/get-name/index.html +++ b/demo1s/get-name/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo1s/get-name2/index.html b/demo1s/get-name2/index.html index bd2ae54..9ed124c 100644 --- a/demo1s/get-name2/index.html +++ b/demo1s/get-name2/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo1s/index.html b/demo1s/index.html index bd2ae54..9ed124c 100644 --- a/demo1s/index.html +++ b/demo1s/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo2s/foo22/index.html b/demo2s/foo22/index.html index bd2ae54..9ed124c 100644 --- a/demo2s/foo22/index.html +++ b/demo2s/foo22/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/demo2s/index.html b/demo2s/index.html index bd2ae54..9ed124c 100644 --- a/demo2s/index.html +++ b/demo2s/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/dumi__theme__ContextWrapper.4e914a63.async.js b/dumi__theme__ContextWrapper.d99b9840.async.js similarity index 53% rename from dumi__theme__ContextWrapper.4e914a63.async.js rename to dumi__theme__ContextWrapper.d99b9840.async.js index 5bfccaa..949d878 100644 --- a/dumi__theme__ContextWrapper.4e914a63.async.js +++ b/dumi__theme__ContextWrapper.d99b9840.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[458],{81434:function(v,t,e){e.r(t),e.d(t,{default:function(){return p}});var m=e(54306),d=e.n(m),_=e(50959),n=e(99754),s=e(5302),o=e(4401),i=e(34218),u=e(11527),c={};function p(){var E=(0,n.pC)(),h=(0,_.useState)(!1),r=d()(h,2),f=r[0],g=r[1],a=(0,_.useRef)(n.m8.location.pathname);return(0,_.useEffect)(function(){return n.m8.listen(function(l){l.location.pathname!==a.current&&(a.current=l.location.pathname,document.documentElement.scrollTo(0,0))})},[]),(0,u.jsx)(s.D.Provider,{value:{pkg:{name:"demo",repository:{type:"git",url:"https://github.com/liangskyli/dumi-lerna-demo"},authors:["liangsky <640634387@qq.com>"]},historyType:"browser",entryExports:c,demos:o.DE,components:o.wx,locales:i.k,loading:f,setLoading:g,hostname:void 0,themeConfig:{title:"dumi-lerna-demo",footer:"Open-source MIT Licensed | Copyright \xA9 2023-present",prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"demo",socialLinks:{github:"https://github.com/liangskyli/dumi-lerna-demo"},editLink:"https://github.com/liangskyli/dumi-lerna-demo/edit/gh-pages/{filename}"},_2_level_nav_available:!0},children:E})}}}]); +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[458],{81434:function(g,t,e){e.r(t),e.d(t,{default:function(){return E}});var m=e(54306),d=e.n(m),_=e(50959),n=e(99754),s=e(5302),o=e(4401),i=e(34218),u=e(11527),c={};function E(){var p=(0,n.pC)(),h=(0,_.useState)(!1),r=d()(h,2),f=r[0],v=r[1],l=(0,_.useRef)(n.m8.location.pathname);return(0,_.useEffect)(function(){return n.m8.listen(function(a){a.location.pathname!==l.current&&(l.current=a.location.pathname,document.documentElement.scrollTo(0,0))})},[]),(0,u.jsx)(s.D.Provider,{value:{pkg:{name:"demo",repository:{type:"git",url:"https://github.com/liangskyli/dumi-lerna-demo"},authors:["liangsky <640634387@qq.com>"]},historyType:"browser",entryExports:c,demos:o.DE,components:o.wx,locales:i.k,loading:f,setLoading:v,hostname:void 0,themeConfig:{title:"dumi-lerna-demo",footer:"Open-source MIT Licensed | Copyright \xA9 2023-present",prefersColor:{default:"light",switch:!0},nprogress:!0,lastUpdated:!0,name:"demo",socialLinks:{github:"https://github.com/liangskyli/dumi-lerna-demo"},editLink:"https://github.com/liangskyli/dumi-lerna-demo/edit/workflow/{filename}"},_2_level_nav_available:!0},children:p})}}}]); diff --git a/guide/index.html b/guide/index.html index bd2ae54..9ed124c 100644 --- a/guide/index.html +++ b/guide/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/index.html b/index.html index bd2ae54..9ed124c 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/umi.77203746.js b/umi.f5148f92.js similarity index 99% rename from umi.77203746.js rename to umi.f5148f92.js index 50be925..1ce1539 100644 --- a/umi.77203746.js +++ b/umi.f5148f92.js @@ -17,7 +17,7 @@ Try polyfilling it using "@formatjs/intl-listformat" Try polyfilling it using "@formatjs/intl-displaynames" `,R.jK.MISSING_INTL_API));var Nt=(0,k.L6)(Pe,ye);try{return _e(it,Nt).of(We)}catch(Kt){ct(new q.Qe("Error formatting display name.",it,Kt))}}function Te(xe){var _e=xe?xe[Object.keys(xe)[0]]:void 0;return typeof _e=="string"}function ie(xe){xe.onWarn&&xe.defaultRichTextElements&&Te(xe.messages||{})&&xe.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. Please consider using "@formatjs/cli" to pre-compile your messages for performance. -For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function pe(xe,_e){var We=(0,k.ax)(_e),Pe=(0,T.pi)((0,T.pi)({},k.Z0),xe),it=Pe.locale,ct=Pe.defaultLocale,wt=Pe.onError;return it?!Intl.NumberFormat.supportedLocalesOf(it).length&&wt?wt(new q.gb('Missing locale data for locale: "'.concat(it,'" in Intl.NumberFormat. Using default locale: "').concat(ct,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(it).length&&wt&&wt(new q.gb('Missing locale data for locale: "'.concat(it,'" in Intl.DateTimeFormat. Using default locale: "').concat(ct,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(wt&&wt(new q.OV('"locale" was not configured, using "'.concat(ct,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),Pe.locale=Pe.defaultLocale||"en"),ie(Pe),(0,T.pi)((0,T.pi)({},Pe),{formatters:We,formatNumber:X.bind(null,Pe,We.getNumberFormat),formatNumberToParts:se.bind(null,Pe,We.getNumberFormat),formatRelativeTime:re.bind(null,Pe,We.getRelativeTimeFormat),formatDate:H.bind(null,Pe,We.getDateTimeFormat),formatDateToParts:te.bind(null,Pe,We.getDateTimeFormat),formatTime:z.bind(null,Pe,We.getDateTimeFormat),formatDateTimeRange:V.bind(null,Pe,We.getDateTimeFormat),formatTimeToParts:Me.bind(null,Pe,We.getDateTimeFormat),formatPlural:Je.bind(null,Pe,We.getPluralRules),formatMessage:he.bind(null,Pe,We),$t:he.bind(null,Pe,We),formatList:Q.bind(null,Pe,We.getListFormat),formatListToParts:ue.bind(null,Pe,We.getListFormat),formatDisplayName:Ee.bind(null,Pe,We.getDisplayNames)})}var K=e(15851);function ce(xe){return{locale:xe.locale,timeZone:xe.timeZone,fallbackOnEmptyString:xe.fallbackOnEmptyString,formats:xe.formats,textComponent:xe.textComponent,messages:xe.messages,defaultLocale:xe.defaultLocale,defaultFormats:xe.defaultFormats,onError:xe.onError,onWarn:xe.onWarn,wrapRichTextChunksInFragment:xe.wrapRichTextChunksInFragment,defaultRichTextElements:xe.defaultRichTextElements}}function be(xe){return xe&&Object.keys(xe).reduce(function(_e,We){var Pe=xe[We];return _e[We]=(0,K.Gt)(Pe)?(0,U.dt)(Pe):Pe,_e},{})}var $e=function(xe,_e,We,Pe){for(var it=[],ct=4;ct0&&arguments[0]!==void 0?arguments[0]:[],_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return C.length!==_.length||C.some((j,de)=>!Object.is(j,_[de]))}function N(C){if(C==null||typeof C.didCatch!="boolean"||typeof C.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found");return!0}function k(){const C=useContext(x);N(C);const[_,j]=useState({error:null,hasError:!1}),de=useMemo(()=>({resetBoundary:()=>{C==null||C.resetErrorBoundary(),j({error:null,hasError:!1})},showBoundary:Ke=>j({error:Ke,hasError:!0})}),[C==null?void 0:C.resetErrorBoundary]);if(_.hasError)throw _.error;return de}function T(C,_){const j=forwardRef((Ke,ut)=>createElement(M,_,createElement(C,uc(Cl({},Ke),{ref:ut})))),de=C.displayName||C.name||"Unknown";return j.displayName="withErrorBoundary(".concat(de,")"),j}function L(){return L=Object.assign?Object.assign.bind():function(C){for(var _=1;_0&&arguments[0]!==void 0?arguments[0]:[],_=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return C.length!==_.length||C.some((j,de)=>!Object.is(j,_[de]))}function N(C){if(C==null||typeof C.didCatch!="boolean"||typeof C.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found");return!0}function k(){const C=useContext(x);N(C);const[_,j]=useState({error:null,hasError:!1}),de=useMemo(()=>({resetBoundary:()=>{C==null||C.resetErrorBoundary(),j({error:null,hasError:!1})},showBoundary:Ke=>j({error:Ke,hasError:!0})}),[C==null?void 0:C.resetErrorBoundary]);if(_.hasError)throw _.error;return de}function T(C,_){const j=forwardRef((Ke,ut)=>createElement(M,_,createElement(C,uc(Cl({},Ke),{ref:ut})))),de=C.displayName||C.name||"Unknown";return j.displayName="withErrorBoundary(".concat(de,")"),j}function L(){return L=Object.assign?Object.assign.bind():function(C){for(var _=1;_C.length)&&(_=C.length);for(var j=0,de=new Array(_);j<_;j++)de[j]=C[j];return de}function Ne(C,_){var j=C==null?null:typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(j!=null){var de,Ke,ut,at,st=[],pt=!0,vt=!1;try{if(ut=(j=j.call(C)).next,_===0){if(Object(j)!==j)return;pt=!1}else for(;!(pt=(de=ut.call(j)).done)&&(st.push(de.value),st.length!==_);pt=!0);}catch(Bt){vt=!0,Ke=Bt}finally{try{if(!pt&&j.return!=null&&(at=j.return(),Object(at)!==at))return}finally{if(vt)throw Ke}}return st}}function he(C){if(Array.isArray(C))return C}var le=function(_){var j=useRouteMeta(),de=j.frontmatter,Ke=useCallback(function(vt,Bt){var Sr,Vt=[],qt=Bt.filter(function(Ur){return!Ur.previewerProps.debug});if((Sr=vt.demo)!==null&&Sr!==void 0&&Sr.cols&&vt.demo.cols>1&&(typeof window=="undefined"||window.innerWidth>1024)){for(var hr=0;hrC.length)&&(_=C.length);for(var j=0,de=new Array(_);j<_;j++)de[j]=C[j];return de}function re(C,_){var j=C==null?null:typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(j!=null){var de,Ke,ut,at,st=[],pt=!0,vt=!1;try{if(ut=(j=j.call(C)).next,_===0){if(Object(j)!==j)return;pt=!1}else for(;!(pt=(de=ut.call(j)).done)&&(st.push(de.value),st.length!==_);pt=!0);}catch(Bt){vt=!0,Ke=Bt}finally{try{if(!pt&&j.return!=null&&(at=j.return(),Object(at)!==at))return}finally{if(vt)throw Ke}}return st}}function ee(C){if(Array.isArray(C))return C}var I="tab",H=function(){var _=(0,o.TH)(),j=_.pathname,de=(0,o.lr)(),Ke=se(de,1),ut=Ke[0],at=(0,n.useCallback)(function(st){st?ut.set(I,st):ut.delete(I),o.m8.push({pathname:j,search:"?".concat(ut.toString())})},[ut]);return[ut.get(I),at]},z=function(){var _,j=ni(),de=j.tabs,Ke=H(),ut=se(Ke,1),at=ut[0];return de==null||(_=de.find(function(st){var pt=st.key;return at===pt}))===null||_===void 0?void 0:_.meta};function V(C,_){return Ye(C)||Je(C,_)||Me(C,_)||te()}function te(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Me(C,_){if(C){if(typeof C=="string")return Fe(C,_);var j=Object.prototype.toString.call(C).slice(8,-1);if(j==="Object"&&C.constructor&&(j=C.constructor.name),j==="Map"||j==="Set")return Array.from(C);if(j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j))return Fe(C,_)}}function Fe(C,_){(_==null||_>C.length)&&(_=C.length);for(var j=0,de=new Array(_);j<_;j++)de[j]=C[j];return de}function Je(C,_){var j=C==null?null:typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(j!=null){var de,Ke,ut,at,st=[],pt=!0,vt=!1;try{if(ut=(j=j.call(C)).next,_===0){if(Object(j)!==j)return;pt=!1}else for(;!(pt=(de=ut.call(j)).done)&&(st.push(de.value),st.length!==_);pt=!0);}catch(Bt){vt=!0,Ke=Bt}finally{try{if(!pt&&j.return!=null&&(at=j.return(),Object(at)!==at))return}finally{if(vt)throw Ke}}return st}}function Ye(C){if(Array.isArray(C))return C}var Ue=function(_){var j=ni(),de=j.tabs,Ke=H(),ut=V(Ke,2),at=ut[0],st=ut[1],pt=(0,n.useState)(function(){return de==null?void 0:de.find(function(Vt){var qt=Vt.key;return qt===at})}),vt=V(pt,2),Bt=vt[0],Sr=vt[1];return n.createElement(n.Fragment,null,n.createElement(X,{tabs:de,tabKey:at,onChange:function(qt){Sr(qt),st(qt==null?void 0:qt.key)}}),Bt?n.createElement(Bt.components.default):_.children)},qe=e(71401),Q=e(46980);function ue(C,_){return pe(C)||ie(C,_)||Ee(C,_)||ye()}function ye(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. @@ -107,7 +107,7 @@ Error generating stack: `+A.message+` In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}l.exports=v,l.exports.__esModule=!0,l.exports.default=l.exports},57213:function(l,v,e){var o=e(52510);function a(s,i){var d=Object.keys(s);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);i&&(c=c.filter(function(m){return Object.getOwnPropertyDescriptor(s,m).enumerable})),d.push.apply(d,c)}return d}function n(s){for(var i=1;i=0;--se){var R=this.tryEntries[se],B=R.completion;if(R.tryLoc==="root")return X("end");if(R.tryLoc<=this.prev){var Y=i.call(R,"catchLoc"),re=i.call(R,"finallyLoc");if(Y&&re){if(this.prev=0;--X){var se=this.tryEntries[X];if(se.tryLoc<=this.prev&&i.call(se,"finallyLoc")&&this.prev=0;--Z){var X=this.tryEntries[Z];if(X.finallyLoc===le)return this.complete(X.completion,X.afterLoc),fe(X),w}},catch:function(le){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var X=this.tryEntries[Z];if(X.tryLoc===le){var se=X.completion;if(se.type==="throw"){var R=se.arg;fe(X)}return R}}throw new Error("illegal catch attempt")},delegateYield:function(le,Z,X){return this.delegate={iterator:Ce(le),resultName:Z,nextLoc:X},this.method==="next"&&(this.arg=void 0),w}},n}l.exports=a,l.exports.__esModule=!0,l.exports.default=l.exports},54306:function(l,v,e){var o=e(5548),a=e(40790),n=e(41442),s=e(15324);function i(d,c){return o(d)||a(d,c)||n(d,c)||s()}l.exports=i,l.exports.__esModule=!0,l.exports.default=l.exports},93299:function(l,v,e){var o=e(37635).default;function a(n,s){if(o(n)!=="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var d=i.call(n,s||"default");if(o(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(n)}l.exports=a,l.exports.__esModule=!0,l.exports.default=l.exports},26982:function(l,v,e){var o=e(37635).default,a=e(93299);function n(s){var i=a(s,"string");return o(i)==="symbol"?i:String(i)}l.exports=n,l.exports.__esModule=!0,l.exports.default=l.exports},37635:function(l){function v(e){"@babel/helpers - typeof";return l.exports=v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},l.exports.__esModule=!0,l.exports.default=l.exports,v(e)}l.exports=v,l.exports.__esModule=!0,l.exports.default=l.exports},41442:function(l,v,e){var o=e(25705);function a(n,s){if(n){if(typeof n=="string")return o(n,s);var i=Object.prototype.toString.call(n).slice(8,-1);if(i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set")return Array.from(n);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return o(n,s)}}l.exports=a,l.exports.__esModule=!0,l.exports.default=l.exports},20533:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(a){if(Array.isArray(a))return a}},24572:function(l,v,e){"use strict";e.d(v,{Z:function(){return a}});var o=e(1536);function a(n,s,i){return s=(0,o.Z)(s),s in n?Object.defineProperty(n,s,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[s]=i,n}},51163:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(){return o=Object.assign?Object.assign.bind():function(a){for(var n=1;n=0)&&(i[c]=n[c]);return i}function a(n,s){if(n==null)return{};var i=o(n,s),d,c;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,d)&&(i[d]=n[d])}return i}},1536:function(l,v,e){"use strict";e.d(v,{Z:function(){return n}});var o=e(26143);function a(s,i){if((0,o.Z)(s)!=="object"||s===null)return s;var d=s[Symbol.toPrimitive];if(d!==void 0){var c=d.call(s,i||"default");if((0,o.Z)(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(s)}function n(s){var i=a(s,"string");return(0,o.Z)(i)==="symbol"?i:String(i)}},26143:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(a){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(a)}},64002:function(l,v,e){"use strict";e.d(v,{Z:function(){return a}});function o(n,s){(s==null||s>n.length)&&(s=n.length);for(var i=0,d=new Array(s);ia.length)&&(n=a.length);for(var s=0,i=new Array(n);s=0)&&(i[c]=n[c]);return i}function a(n,s){if(n==null)return{};var i=o(n,s),d,c;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,d)&&(i[d]=n[d])}return i}},63387:function(l,v,e){"use strict";e.d(v,{Z:function(){return i}});function o(d){if(Array.isArray(d))return d}function a(d,c){var m=d==null?null:typeof Symbol!="undefined"&&d[Symbol.iterator]||d["@@iterator"];if(m!=null){var y,p,h,E,b=[],w=!0,x=!1;try{if(h=(m=m.call(d)).next,c===0){if(Object(m)!==m)return;w=!1}else for(;!(w=(y=h.call(m)).done)&&(b.push(y.value),b.length!==c);w=!0);}catch(P){x=!0,p=P}finally{try{if(!w&&m.return!=null&&(E=m.return(),Object(E)!==E))return}finally{if(x)throw p}}return b}}var n=e(49373);function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(d,c){return o(d)||a(d,c)||(0,n.Z)(d,c)||s()}},13120:function(l,v,e){"use strict";e.d(v,{Z:function(){return d}});var o=e(28592);function a(c){if(Array.isArray(c))return(0,o.Z)(c)}function n(c){if(typeof Symbol!="undefined"&&c[Symbol.iterator]!=null||c["@@iterator"]!=null)return Array.from(c)}var s=e(49373);function i(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(c){return a(c)||n(c)||(0,s.Z)(c)||i()}},76236:function(l,v,e){"use strict";e.d(v,{Z:function(){return n}});var o=e(26188);function a(s,i){if((0,o.Z)(s)!=="object"||s===null)return s;var d=s[Symbol.toPrimitive];if(d!==void 0){var c=d.call(s,i||"default");if((0,o.Z)(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(s)}function n(s){var i=a(s,"string");return(0,o.Z)(i)==="symbol"?i:String(i)}},26188:function(l,v,e){"use strict";e.d(v,{Z:function(){return o}});function o(a){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(a)}},49373:function(l,v,e){"use strict";e.d(v,{Z:function(){return a}});var o=e(28592);function a(n,s){if(n){if(typeof n=="string")return(0,o.Z)(n,s);var i=Object.prototype.toString.call(n).slice(8,-1);if(i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set")return Array.from(n);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return(0,o.Z)(n,s)}}},99938:function(l,v,e){"use strict";e.d(v,{ZT:function(){return a},_T:function(){return s},ev:function(){return k},pi:function(){return n}});var o=function(R,B){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Y,re){Y.__proto__=re}||function(Y,re){for(var ee in re)Object.prototype.hasOwnProperty.call(re,ee)&&(Y[ee]=re[ee])},o(R,B)};function a(R,B){if(typeof B!="function"&&B!==null)throw new TypeError("Class extends value "+String(B)+" is not a constructor or null");o(R,B);function Y(){this.constructor=R}R.prototype=B===null?Object.create(B):(Y.prototype=B.prototype,new Y)}var n=function(){return n=Object.assign||function(B){for(var Y,re=1,ee=arguments.length;re=0;z--)(H=R[z])&&(I=(ee<3?H(I):ee>3?H(B,Y,I):H(B,Y))||I);return ee>3&&I&&Object.defineProperty(B,Y,I),I}function d(R,B){return function(Y,re){B(Y,re,R)}}function c(R,B,Y,re,ee,I){function H(ue){if(ue!==void 0&&typeof ue!="function")throw new TypeError("Function expected");return ue}for(var z=re.kind,V=z==="getter"?"get":z==="setter"?"set":"value",te=!B&&R?re.static?R:R.prototype:null,Me=B||(te?Object.getOwnPropertyDescriptor(te,re.name):{}),Fe,Je=!1,Ye=Y.length-1;Ye>=0;Ye--){var Ue={};for(var qe in re)Ue[qe]=qe==="access"?{}:re[qe];for(var qe in re.access)Ue.access[qe]=re.access[qe];Ue.addInitializer=function(ue){if(Je)throw new TypeError("Cannot add initializers after decoration has completed");I.push(H(ue||null))};var Q=(0,Y[Ye])(z==="accessor"?{get:Me.get,set:Me.set}:Me[V],Ue);if(z==="accessor"){if(Q===void 0)continue;if(Q===null||typeof Q!="object")throw new TypeError("Object expected");(Fe=H(Q.get))&&(Me.get=Fe),(Fe=H(Q.set))&&(Me.set=Fe),(Fe=H(Q.init))&&ee.unshift(Fe)}else(Fe=H(Q))&&(z==="field"?ee.unshift(Fe):Me[V]=Fe)}te&&Object.defineProperty(te,re.name,Me),Je=!0}function m(R,B,Y){for(var re=arguments.length>2,ee=0;ee0&&I[I.length-1])&&(te[0]===6||te[0]===2)){Y=0;continue}if(te[0]===3&&(!I||te[1]>I[0]&&te[1]=R.length&&(R=void 0),{value:R&&R[re++],done:!R}}};throw new TypeError(B?"Object is not iterable.":"Symbol.iterator is not defined.")}function M(R,B){var Y=typeof Symbol=="function"&&R[Symbol.iterator];if(!Y)return R;var re=Y.call(R),ee,I=[],H;try{for(;(B===void 0||B-- >0)&&!(ee=re.next()).done;)I.push(ee.value)}catch(z){H={error:z}}finally{try{ee&&!ee.done&&(Y=re.return)&&Y.call(re)}finally{if(H)throw H.error}}return I}function D(){for(var R=[],B=0;B1||z(Je,Ye)})})}function z(Je,Ye){try{V(re[Je](Ye))}catch(Ue){Fe(I[0][3],Ue)}}function V(Je){Je.value instanceof T?Promise.resolve(Je.value.v).then(te,Me):Fe(I[0][2],Je)}function te(Je){z("next",Je)}function Me(Je){z("throw",Je)}function Fe(Je,Ye){Je(Ye),I.shift(),I.length&&z(I[0][0],I[0][1])}}function U(R){var B,Y;return B={},re("next"),re("throw",function(ee){throw ee}),re("return"),B[Symbol.iterator]=function(){return this},B;function re(ee,I){B[ee]=R[ee]?function(H){return(Y=!Y)?{value:T(R[ee](H)),done:!1}:I?I(H):H}:I}}function J(R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var B=R[Symbol.asyncIterator],Y;return B?B.call(R):(R=typeof P=="function"?P(R):R[Symbol.iterator](),Y={},re("next"),re("throw"),re("return"),Y[Symbol.asyncIterator]=function(){return this},Y);function re(I){Y[I]=R[I]&&function(H){return new Promise(function(z,V){H=R[I](H),ee(z,V,H.done,H.value)})}}function ee(I,H,z,V){Promise.resolve(V).then(function(te){I({value:te,done:z})},H)}}function ne(R,B){return Object.defineProperty?Object.defineProperty(R,"raw",{value:B}):R.raw=B,R}var q=Object.create?function(R,B){Object.defineProperty(R,"default",{enumerable:!0,value:B})}:function(R,B){R.default=B};function fe(R){if(R&&R.__esModule)return R;var B={};if(R!=null)for(var Y in R)Y!=="default"&&Object.prototype.hasOwnProperty.call(R,Y)&&w(B,R,Y);return q(B,R),B}function Ae(R){return R&&R.__esModule?R:{default:R}}function Ce(R,B,Y,re){if(Y==="a"&&!re)throw new TypeError("Private accessor was defined without a getter");if(typeof B=="function"?R!==B||!re:!B.has(R))throw new TypeError("Cannot read private member from an object whose class did not declare it");return Y==="m"?re:Y==="a"?re.call(R):re?re.value:B.get(R)}function Ne(R,B,Y,re,ee){if(re==="m")throw new TypeError("Private method is not writable");if(re==="a"&&!ee)throw new TypeError("Private accessor was defined without a setter");if(typeof B=="function"?R!==B||!ee:!B.has(R))throw new TypeError("Cannot write private member to an object whose class did not declare it");return re==="a"?ee.call(R,Y):ee?ee.value=Y:B.set(R,Y),Y}function he(R,B){if(B===null||typeof B!="object"&&typeof B!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof R=="function"?B===R:R.has(B)}function le(R,B,Y){if(B!=null){if(typeof B!="object"&&typeof B!="function")throw new TypeError("Object expected.");var re;if(Y){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");re=B[Symbol.asyncDispose]}if(re===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");re=B[Symbol.dispose]}if(typeof re!="function")throw new TypeError("Object not disposable.");R.stack.push({value:B,dispose:re,async:Y})}else Y&&R.stack.push({async:!0});return B}var Z=typeof SuppressedError=="function"?SuppressedError:function(R,B,Y){var re=new Error(Y);return re.name="SuppressedError",re.error=R,re.suppressed=B,re};function X(R){function B(re){R.error=R.hasError?new Z(re,R.error,"An error was suppressed during disposal."):re,R.hasError=!0}function Y(){for(;R.stack.length;){var re=R.stack.pop();try{var ee=re.dispose&&re.dispose.call(re.value);if(re.async)return Promise.resolve(ee).then(Y,function(I){return B(I),Y()})}catch(I){B(I)}}if(R.hasError)throw R.error}return Y()}var se={__extends:a,__assign:n,__rest:s,__decorate:i,__param:d,__metadata:h,__awaiter:E,__generator:b,__createBinding:w,__exportStar:x,__values:P,__read:M,__spread:D,__spreadArrays:N,__spreadArray:k,__await:T,__asyncGenerator:L,__asyncDelegator:U,__asyncValues:J,__makeTemplateObject:ne,__importStar:fe,__importDefault:Ae,__classPrivateFieldGet:Ce,__classPrivateFieldSet:Ne,__classPrivateFieldIn:he,__addDisposableResource:le,__disposeResources:X}}},__webpack_module_cache__={};function __webpack_require__(l){var v=__webpack_module_cache__[l];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[l]={exports:{}};return __webpack_modules__[l].call(e.exports,e,e.exports,__webpack_require__),e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.n=function(l){var v=l&&l.__esModule?function(){return l.default}:function(){return l};return __webpack_require__.d(v,{a:v}),v}}(),function(){var l=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,o){if(o&1&&(e=this(e)),o&8||typeof e=="object"&&e&&(o&4&&e.__esModule||o&16&&typeof e.then=="function"))return e;var a=Object.create(null);__webpack_require__.r(a);var n={};v=v||[null,l({}),l([]),l(l)];for(var s=o&2&&e;typeof s=="object"&&!~v.indexOf(s);s=l(s))Object.getOwnPropertyNames(s).forEach(function(i){n[i]=function(){return e[i]}});return n.default=function(){return e},__webpack_require__.d(a,n),a}}(),function(){__webpack_require__.d=function(l,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(l,e)&&Object.defineProperty(l,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(l){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](l,v),v},[]))}}(),function(){__webpack_require__.u=function(l){return""+({29:"packages__demo2__src__index.md",96:"dumi__theme__layouts__DocLayout",123:"packages__demo1__src__utils__get-name__index.md",392:"packages__demo1__src__index.md",400:"dumi__pages__404",427:"packages__demo2__src__foo22__index.md",448:"dumi__pages__Demo",458:"dumi__theme__ContextWrapper",742:"packages__demo1__src__foo__index.md",785:"packages__demo1__src__utils__get-name2__index.md",810:"packages__demo1__src__foo2__index.md",935:"docs__index.md",937:"docs__guide.md"}[l]||l)+"."+{29:"1bd0c938",53:"80011dbc",96:"1bf17903",123:"c0bf0f6c",392:"3c1d616b",400:"128dd462",427:"6cac8f3c",443:"9cf8df12",448:"26ae554b",458:"4e914a63",629:"9bc66e4f",742:"6352d0cf",785:"d3e6e4ca",810:"f7303439",924:"e597f147",935:"6886a334",937:"c87d9b8b"}[l]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(l){return""+({29:"packages__demo2__src__index.md",123:"packages__demo1__src__utils__get-name__index.md",392:"packages__demo1__src__index.md",400:"dumi__pages__404",427:"packages__demo2__src__foo22__index.md",448:"dumi__pages__Demo",742:"packages__demo1__src__foo__index.md",785:"packages__demo1__src__utils__get-name2__index.md",810:"packages__demo1__src__foo2__index.md",935:"docs__index.md",937:"docs__guide.md"}[l]||l)+"."+{29:"778c6473",53:"930732dc",123:"778c6473",392:"778c6473",400:"8b85f2d9",427:"778c6473",443:"c19858b8",448:"578aa5c0",742:"778c6473",785:"778c6473",810:"778c6473",935:"778c6473",937:"778c6473"}[l]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(l){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.o=function(l,v){return Object.prototype.hasOwnProperty.call(l,v)}}(),function(){var l={},v="demo:";__webpack_require__.l=function(e,o,a,n){if(l[e]){l[e].push(o);return}var s,i;if(a!==void 0)for(var d=document.getElementsByTagName("script"),c=0;c=0;z--)(H=R[z])&&(I=(ee<3?H(I):ee>3?H(B,Y,I):H(B,Y))||I);return ee>3&&I&&Object.defineProperty(B,Y,I),I}function d(R,B){return function(Y,re){B(Y,re,R)}}function c(R,B,Y,re,ee,I){function H(ue){if(ue!==void 0&&typeof ue!="function")throw new TypeError("Function expected");return ue}for(var z=re.kind,V=z==="getter"?"get":z==="setter"?"set":"value",te=!B&&R?re.static?R:R.prototype:null,Me=B||(te?Object.getOwnPropertyDescriptor(te,re.name):{}),Fe,Je=!1,Ye=Y.length-1;Ye>=0;Ye--){var Ue={};for(var qe in re)Ue[qe]=qe==="access"?{}:re[qe];for(var qe in re.access)Ue.access[qe]=re.access[qe];Ue.addInitializer=function(ue){if(Je)throw new TypeError("Cannot add initializers after decoration has completed");I.push(H(ue||null))};var Q=(0,Y[Ye])(z==="accessor"?{get:Me.get,set:Me.set}:Me[V],Ue);if(z==="accessor"){if(Q===void 0)continue;if(Q===null||typeof Q!="object")throw new TypeError("Object expected");(Fe=H(Q.get))&&(Me.get=Fe),(Fe=H(Q.set))&&(Me.set=Fe),(Fe=H(Q.init))&&ee.unshift(Fe)}else(Fe=H(Q))&&(z==="field"?ee.unshift(Fe):Me[V]=Fe)}te&&Object.defineProperty(te,re.name,Me),Je=!0}function m(R,B,Y){for(var re=arguments.length>2,ee=0;ee0&&I[I.length-1])&&(te[0]===6||te[0]===2)){Y=0;continue}if(te[0]===3&&(!I||te[1]>I[0]&&te[1]=R.length&&(R=void 0),{value:R&&R[re++],done:!R}}};throw new TypeError(B?"Object is not iterable.":"Symbol.iterator is not defined.")}function M(R,B){var Y=typeof Symbol=="function"&&R[Symbol.iterator];if(!Y)return R;var re=Y.call(R),ee,I=[],H;try{for(;(B===void 0||B-- >0)&&!(ee=re.next()).done;)I.push(ee.value)}catch(z){H={error:z}}finally{try{ee&&!ee.done&&(Y=re.return)&&Y.call(re)}finally{if(H)throw H.error}}return I}function D(){for(var R=[],B=0;B1||z(Je,Ye)})})}function z(Je,Ye){try{V(re[Je](Ye))}catch(Ue){Fe(I[0][3],Ue)}}function V(Je){Je.value instanceof T?Promise.resolve(Je.value.v).then(te,Me):Fe(I[0][2],Je)}function te(Je){z("next",Je)}function Me(Je){z("throw",Je)}function Fe(Je,Ye){Je(Ye),I.shift(),I.length&&z(I[0][0],I[0][1])}}function U(R){var B,Y;return B={},re("next"),re("throw",function(ee){throw ee}),re("return"),B[Symbol.iterator]=function(){return this},B;function re(ee,I){B[ee]=R[ee]?function(H){return(Y=!Y)?{value:T(R[ee](H)),done:!1}:I?I(H):H}:I}}function J(R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var B=R[Symbol.asyncIterator],Y;return B?B.call(R):(R=typeof P=="function"?P(R):R[Symbol.iterator](),Y={},re("next"),re("throw"),re("return"),Y[Symbol.asyncIterator]=function(){return this},Y);function re(I){Y[I]=R[I]&&function(H){return new Promise(function(z,V){H=R[I](H),ee(z,V,H.done,H.value)})}}function ee(I,H,z,V){Promise.resolve(V).then(function(te){I({value:te,done:z})},H)}}function ne(R,B){return Object.defineProperty?Object.defineProperty(R,"raw",{value:B}):R.raw=B,R}var q=Object.create?function(R,B){Object.defineProperty(R,"default",{enumerable:!0,value:B})}:function(R,B){R.default=B};function fe(R){if(R&&R.__esModule)return R;var B={};if(R!=null)for(var Y in R)Y!=="default"&&Object.prototype.hasOwnProperty.call(R,Y)&&w(B,R,Y);return q(B,R),B}function Ae(R){return R&&R.__esModule?R:{default:R}}function Ce(R,B,Y,re){if(Y==="a"&&!re)throw new TypeError("Private accessor was defined without a getter");if(typeof B=="function"?R!==B||!re:!B.has(R))throw new TypeError("Cannot read private member from an object whose class did not declare it");return Y==="m"?re:Y==="a"?re.call(R):re?re.value:B.get(R)}function Ne(R,B,Y,re,ee){if(re==="m")throw new TypeError("Private method is not writable");if(re==="a"&&!ee)throw new TypeError("Private accessor was defined without a setter");if(typeof B=="function"?R!==B||!ee:!B.has(R))throw new TypeError("Cannot write private member to an object whose class did not declare it");return re==="a"?ee.call(R,Y):ee?ee.value=Y:B.set(R,Y),Y}function he(R,B){if(B===null||typeof B!="object"&&typeof B!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof R=="function"?B===R:R.has(B)}function le(R,B,Y){if(B!=null){if(typeof B!="object"&&typeof B!="function")throw new TypeError("Object expected.");var re;if(Y){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");re=B[Symbol.asyncDispose]}if(re===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");re=B[Symbol.dispose]}if(typeof re!="function")throw new TypeError("Object not disposable.");R.stack.push({value:B,dispose:re,async:Y})}else Y&&R.stack.push({async:!0});return B}var Z=typeof SuppressedError=="function"?SuppressedError:function(R,B,Y){var re=new Error(Y);return re.name="SuppressedError",re.error=R,re.suppressed=B,re};function X(R){function B(re){R.error=R.hasError?new Z(re,R.error,"An error was suppressed during disposal."):re,R.hasError=!0}function Y(){for(;R.stack.length;){var re=R.stack.pop();try{var ee=re.dispose&&re.dispose.call(re.value);if(re.async)return Promise.resolve(ee).then(Y,function(I){return B(I),Y()})}catch(I){B(I)}}if(R.hasError)throw R.error}return Y()}var se={__extends:a,__assign:n,__rest:s,__decorate:i,__param:d,__metadata:h,__awaiter:E,__generator:b,__createBinding:w,__exportStar:x,__values:P,__read:M,__spread:D,__spreadArrays:N,__spreadArray:k,__await:T,__asyncGenerator:L,__asyncDelegator:U,__asyncValues:J,__makeTemplateObject:ne,__importStar:fe,__importDefault:Ae,__classPrivateFieldGet:Ce,__classPrivateFieldSet:Ne,__classPrivateFieldIn:he,__addDisposableResource:le,__disposeResources:X}}},__webpack_module_cache__={};function __webpack_require__(l){var v=__webpack_module_cache__[l];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[l]={exports:{}};return __webpack_modules__[l].call(e.exports,e,e.exports,__webpack_require__),e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.n=function(l){var v=l&&l.__esModule?function(){return l.default}:function(){return l};return __webpack_require__.d(v,{a:v}),v}}(),function(){var l=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,o){if(o&1&&(e=this(e)),o&8||typeof e=="object"&&e&&(o&4&&e.__esModule||o&16&&typeof e.then=="function"))return e;var a=Object.create(null);__webpack_require__.r(a);var n={};v=v||[null,l({}),l([]),l(l)];for(var s=o&2&&e;typeof s=="object"&&!~v.indexOf(s);s=l(s))Object.getOwnPropertyNames(s).forEach(function(i){n[i]=function(){return e[i]}});return n.default=function(){return e},__webpack_require__.d(a,n),a}}(),function(){__webpack_require__.d=function(l,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(l,e)&&Object.defineProperty(l,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(l){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](l,v),v},[]))}}(),function(){__webpack_require__.u=function(l){return""+({29:"packages__demo2__src__index.md",96:"dumi__theme__layouts__DocLayout",123:"packages__demo1__src__utils__get-name__index.md",392:"packages__demo1__src__index.md",400:"dumi__pages__404",427:"packages__demo2__src__foo22__index.md",448:"dumi__pages__Demo",458:"dumi__theme__ContextWrapper",742:"packages__demo1__src__foo__index.md",785:"packages__demo1__src__utils__get-name2__index.md",810:"packages__demo1__src__foo2__index.md",935:"docs__index.md",937:"docs__guide.md"}[l]||l)+"."+{29:"1bd0c938",53:"80011dbc",96:"1bf17903",123:"c0bf0f6c",392:"3c1d616b",400:"128dd462",427:"6cac8f3c",443:"9cf8df12",448:"26ae554b",458:"d99b9840",629:"9bc66e4f",742:"6352d0cf",785:"d3e6e4ca",810:"f7303439",924:"e597f147",935:"6886a334",937:"c87d9b8b"}[l]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(l){return""+({29:"packages__demo2__src__index.md",123:"packages__demo1__src__utils__get-name__index.md",392:"packages__demo1__src__index.md",400:"dumi__pages__404",427:"packages__demo2__src__foo22__index.md",448:"dumi__pages__Demo",742:"packages__demo1__src__foo__index.md",785:"packages__demo1__src__utils__get-name2__index.md",810:"packages__demo1__src__foo2__index.md",935:"docs__index.md",937:"docs__guide.md"}[l]||l)+"."+{29:"778c6473",53:"930732dc",123:"778c6473",392:"778c6473",400:"8b85f2d9",427:"778c6473",443:"c19858b8",448:"578aa5c0",742:"778c6473",785:"778c6473",810:"778c6473",935:"778c6473",937:"778c6473"}[l]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(l){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.o=function(l,v){return Object.prototype.hasOwnProperty.call(l,v)}}(),function(){var l={},v="demo:";__webpack_require__.l=function(e,o,a,n){if(l[e]){l[e].push(o);return}var s,i;if(a!==void 0)for(var d=document.getElementsByTagName("script"),c=0;c0})),Dn=ua({routesById:jt,routeComponents:mn,parentId:tn.id,loadingComponent:Yt.loadingComponent,reactRouter5Compat:Yt.reactRouter5Compat});return Dn.length>0&&(tn.children=Dn,tn.routes=Dn),tn})}function Oi(Yt){var jt=(0,xa.UO)(),wr=(0,Vt.Z)((0,Vt.Z)({},Yt),{},{to:(0,xa.Gn)(Yt.to,jt)});return Ht.createElement(xa.Fg,(0,ro.Z)({replace:!0},wr))}function Ti(Yt){var jt=Yt.route,wr=jt.redirect,mn=(0,mo.Z)(jt,Po),yn=Yt.reactRouter5Compat?go:Ai;return(0,Vt.Z)({element:wr?Ht.createElement(Oi,{to:wr}):Ht.createElement(yo.X.Provider,{value:{route:Yt.route}},Ht.createElement(yn,{loader:Ht.memo(Yt.routeComponent),loadingComponent:Yt.loadingComponent||Mo,hasChildren:Yt.hasChildren}))},mn)}function Mo(){return Ht.createElement("div",null)}function go(Yt){var jt=(0,yo.Q)(),wr=jt.route,mn=(0,_a.Ov)(),yn=mn.history,tn=mn.clientRoutes,Dn=(0,xa.UO)(),Fn={params:Dn,isExact:!0,path:wr.path,url:yn.location.pathname},Fa=Yt.loader;return Ht.createElement(Ht.Suspense,{fallback:Ht.createElement(Yt.loadingComponent,null)},Ht.createElement(Fa,{location:yn.location,match:Fn,history:yn,params:Dn,route:wr,routes:tn},Yt.hasChildren&&Ht.createElement(xa.j3,null)))}function Ai(Yt){var jt=Yt.loader;return Ht.createElement(Ht.Suspense,{fallback:Ht.createElement(Yt.loadingComponent,null)},Ht.createElement(jt,null))}var Ba=null;function Ho(){return Ba}function $s(Yt){var jt=Yt.history,wr=Ht.useState({action:jt.action,location:jt.location}),mn=Vr(wr,2),yn=mn[0],tn=mn[1];return(0,Ht.useLayoutEffect)(function(){return jt.listen(tn)},[jt]),(0,Ht.useLayoutEffect)(function(){function Dn(Fn){Yt.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Yt.routes,clientRoutes:Yt.clientRoutes,location:Fn.location,action:Fn.action,basename:Yt.basename,isFirst:!!Fn.isFirst}})}return Dn({location:yn.location,action:yn.action,isFirst:!0}),jt.listen(Dn)},[jt,Yt.routes,Yt.clientRoutes]),Ht.createElement(xa.F0,{navigator:jt,location:yn.location,basename:Yt.basename},Yt.children)}function Yi(){var Yt=(0,_a.Ov)(),jt=Yt.clientRoutes;return(0,xa.V$)(jt)}var ms=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],ys=function(jt,wr){var mn=jt.basename||"/",yn=ua({routesById:jt.routes,routeComponents:jt.routeComponents,loadingComponent:jt.loadingComponent,reactRouter5Compat:jt.reactRouter5Compat});jt.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:yn}});for(var tn=Ht.createElement($s,{basename:mn,pluginManager:jt.pluginManager,routes:jt.routes,clientRoutes:yn,history:jt.history},wr),Dn=0,Fn=ms;Dn1&&location.pathname.endsWith("/")&&history.replaceState({},"",location.pathname.slice(0,-1)+location.search+location.hash),function(){var Yt=typeof navigator!="undefined"&&navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&localStorage.getItem("dumi:prefers-color")||"light",jt=window.matchMedia("(prefers-color-scheme: dark)").matches,wr=["light","dark","auto"];document.documentElement.setAttribute("data-prefers-color",Yt===wr[2]?jt?wr[1]:wr[0]:wr.indexOf(Yt)>-1?Yt:wr[0])}(),bs(),window.g_umi={version:"4.0.79"},(0,Bt.rl)((0,vt.We)())})()})(); }()); \ No newline at end of file diff --git a/~demos/:id/index.html b/~demos/:id/index.html index bd2ae54..9ed124c 100644 --- a/~demos/:id/index.html +++ b/~demos/:id/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/~demos/foo-demo-0/index.html b/~demos/foo-demo-0/index.html index bd2ae54..9ed124c 100644 --- a/~demos/foo-demo-0/index.html +++ b/~demos/foo-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/~demos/foo2-demo-0/index.html b/~demos/foo2-demo-0/index.html index bd2ae54..9ed124c 100644 --- a/~demos/foo2-demo-0/index.html +++ b/~demos/foo2-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file diff --git a/~demos/foo22-demo-0/index.html b/~demos/foo22-demo-0/index.html index bd2ae54..9ed124c 100644 --- a/~demos/foo22-demo-0/index.html +++ b/~demos/foo22-demo-0/index.html @@ -7,6 +7,6 @@
- + \ No newline at end of file