chore: 教程站补 .gitignore/README,移除误提交的 dist 与构建缓存
This commit is contained in:
1 parent
690ec5eaf5
commit
8454a7abab
20 files changed
+18
-157
No files matched your search
@@ -0,0 +1,3 @@
|
||||
node_modules
|
||||
dist
|
||||
tsconfig.tsbuildinfo
|
||||
@@ -0,0 +1,15 @@
|
||||
# @stack/tutorial —— 全栈教程站(AI 时代版)
|
||||
|
||||
大纲见 [OUTLINE.md](./OUTLINE.md)(依据 ai-era-tutorial skill:靶子先行、步骤=目标+验收、代理区/价值区分类、指派三样、脱靶提醒、认知基础就地露出)。
|
||||
|
||||
- **Vite MPA**:根目录每 `*.html` 一个入口 → `src/pages/<name>/main.tsx`(与 design-lab 同构)
|
||||
- **页面**:`index.html` 课程书架(入口画像 / 六章卡 / 主线与进度);`ch1–ch6.html` 章节页(章头靶子 → 步骤 → 积木 → 认知基础 → 指派)
|
||||
- **View Transitions**:`@view-transition { navigation: auto }` 跨文档交叉淡入(MPA 不闪白);书架相框 ↔ 章节页章头同名 `view-transition-name: ch-<id>` 共享元素变形;站头 `site-header` 常驻;`prefers-reduced-motion` 下禁用
|
||||
- **设计系统**:组件与 tokens 复制自 `apps/design-lab`(孟菲斯 × 拟物卡)
|
||||
- **内容**:`src/lib/chapters.ts`(六章的靶子/步骤/积木/指派数据),改内容只动这一个文件
|
||||
|
||||
```bash
|
||||
yarn workspace @stack/tutorial dev # 开发
|
||||
yarn workspace @stack/tutorial build # 构建
|
||||
yarn workspace @stack/tutorial preview # 预览
|
||||
```
|
||||
@@ -1 +0,0 @@
|
||||
import{j as e,P as o,C as d,B as p,a as h,S as x,M as m,W as b,T as j,R as g,A as N}from"./MemphisCard-Bt0vyCOo.js";const i=[1,2,3,4,5,6];function k({id:a}){const t=d[a],r=h[a],l=i[a-2],n=i[a];return e.jsxs(o,{active:a,children:[e.jsxs("div",{className:"flex items-center gap-4 rounded-2xl border-2 border-ink p-5 shadow-hard",style:{background:t.color,viewTransitionName:`ch-${a}`},children:[e.jsx("span",{className:"text-[44px] leading-none",children:t.emoji}),e.jsxs("div",{className:"flex-1",children:[e.jsxs("h1",{className:"m-0 text-[24px] font-extrabold text-ink",children:["第 ",a," 章 · ",t.title]}),e.jsxs("div",{className:"mt-1.5 flex flex-wrap gap-x-6 gap-y-1 text-[12px] font-semibold text-ink",children:[e.jsxs("span",{children:["▲ 目标:",t.target.goal]}),e.jsxs("span",{children:["○ 预期:",t.target.expectation]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:["● 积木 ",e.jsx(p,{bricks:t.target.bricks}),t.target.bricks.length," 块"]})]})]})]}),e.jsxs("div",{className:"mt-8",children:[e.jsx(x,{label:"步骤",note:"每步先分类:这一步的过程里有没有学习价值",children:e.jsx("ol",{className:"m-0 list-none space-y-3 p-0",children:r.steps.map((s,c)=>e.jsxs("li",{className:"rounded-xl border-2 border-ink bg-paper p-4 shadow-hard",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2.5",children:[e.jsx("span",{className:"flex h-6 w-6 items-center justify-center rounded-full border-2 border-ink bg-white text-[12px] font-extrabold",children:c+1}),s.kind==="value"?e.jsx(m,{className:"text-[13.5px]",children:s.title}):e.jsxs("span",{className:"flex items-center gap-1.5 text-[13.5px] font-bold text-ink",children:[e.jsx(b,{size:30}),s.title,e.jsx("span",{className:"rounded-full bg-clash3b/15 px-2 py-0.5 text-[10.5px]",children:"代理区 · 交给 agent"})]})]}),e.jsx("p",{className:"m-0 mt-2 text-[12.5px] leading-relaxed text-body",children:s.what}),e.jsxs("p",{className:"m-0 mt-1.5 text-[12px] text-ink",children:[e.jsx("b",{children:"验收"}),":",s.accept]})]},s.title))})}),e.jsx(x,{label:"积木清单",note:"从靶子倒推、每块三句话、教一块带一族",children:e.jsx("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-3",children:r.bricks.map(s=>e.jsxs("div",{className:"rounded-xl border-2 border-ink bg-paper p-3.5 shadow-hard",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(j,{size:13}),e.jsx("b",{className:"text-[13px]",children:s.name})]}),e.jsxs("p",{className:"m-0 mt-1.5 text-[11.5px] leading-relaxed text-body",children:[e.jsx("b",{children:"是什么"}),":",s.what,e.jsx("br",{}),e.jsx("b",{children:"为何在这"}),":",s.why,e.jsx("br",{}),e.jsx("b",{children:"带一族"}),":",s.family]})]},s.name))})}),r.base&&e.jsx(x,{label:"认知基础",note:"脚下的地(env/库/运行环境)——第一次用到就地露出",children:e.jsxs("div",{className:"flex items-start gap-3 rounded-xl border-2 border-dashed border-ink/40 bg-clash3b/15 p-4",children:[e.jsx(g,{size:18,className:"mt-0.5 shrink-0"}),e.jsx("p",{className:"m-0 text-[12.5px] leading-relaxed text-body",children:r.base})]})}),r.assign&&e.jsx(x,{label:"指派学习",note:"位置给坐标、预期当尺子、场景管巩固;讲解交给你的 agent",children:e.jsx(N,{...r.assign})}),e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[l?e.jsxs("a",{href:`/ch${l}.html`,className:"rounded-xl border-2 border-ink bg-paper px-4 py-2 text-[12.5px] font-bold text-ink no-underline shadow-hard",children:["← 第 ",l," 章 · ",d[l].title]}):e.jsx("span",{}),e.jsx("a",{href:"/index.html",className:"rounded-xl border-2 border-ink bg-ink px-4 py-2 text-[12.5px] font-bold text-paper no-underline",children:"返回书架"}),n?e.jsxs("a",{href:`/ch${n}.html`,className:"rounded-xl border-2 border-ink bg-paper px-4 py-2 text-[12.5px] font-bold text-ink no-underline shadow-hard",children:["第 ",n," 章 · ",d[n].title," →"]}):e.jsx("span",{})]})]})]})}export{k as C};
|
||||
@@ -1 +0,0 @@
|
||||
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--font-weight-normal:400;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-wide:.025em;--leading-snug:1.375;--leading-relaxed:1.625;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-clash1a:#ff6b6b;--color-clash1b:#4ecdc4;--color-clash2a:#ffd93d;--color-clash2b:#a78bfa;--color-clash3a:#ff8fab;--color-clash3b:#5b8def;--color-ink:#111;--color-paper:#fff9f0;--color-mute:#8a7a5c;--color-body:#3d3d3d;--drop-shadow-hard:5px 5px 0 var(--color-ink);--color-ch1:#ff6b6b;--color-ch2:#ff8fab;--color-ch3:#ffd93d;--color-ch4:#4ecdc4;--color-ch5:#5b8def;--color-ch6:#a78bfa}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-Line truncated
|
||||
@@ -1,43 +0,0 @@
|
||||
(function(){const L=document.createElement("link").relList;if(L&&L.supports&&L.supports("modulepreload"))return;for(const M of document.querySelectorAll('link[rel="modulepreload"]'))ue(M);new MutationObserver(M=>{for(const Q of M)if(Q.type==="childList")for(const ce of Q.addedNodes)ce.tagName==="LINK"&&ce.rel==="modulepreload"&&ue(ce)}).observe(document,{childList:!0,subtree:!0});function m(M){const Q={};return M.integrity&&(Q.integrity=M.integrity),M.referrerPolicy&&(Q.referrerPolicy=M.referrerPolicy),M.crossOrigin==="use-credentials"?Q.credentials="include":M.crossOrigin==="anonymous"?Q.credentials="omit":Q.credentials="same-origin",Q}function ue(M){if(M.ep)return;M.ep=!0;const Q=m(M);fetch(M.href,Q)}})();var _o={exports:{}},gr={},Co={exports:{}},I={};/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var _a;function Tf(){if(_a)return I;_a=1;var w=Symbol.for("react.element"),L=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),ue=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Q=Symbol.for("react.provider"),ce=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),me=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),X=Symbol.iterator;function K(c){return c===null||typeof c!="object"?null:(c=X&&c[X]||c["@@iterator"],typeof c=="function"?c:null)}var Se={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Pe=Object.assign,G={};function Y(c,v,D){this.props=c,this.context=v,this.refs=G,this.updater=D||Se}Y.prototype.isReactComponent={},Y.prototype.setState=function(c,v){if(typeof c!="object"&&typeof c!="function"&&c!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,c,v,"setState")},Y.prototype.forceUpdate=function(c){this.updater.enqueueForceUpdate(this,c,"forceUpdate")};function vt(){}vt.prototype=Y.prototype;function st(c,v,D){this.props=c,this.context=v,this.refs=G,this.updater=D||Se}var qe=st.prototype=new vt;qe.constructor=st,Pe(qe,Y.prototype),qe.isPureReactComponent=!0;var xe=Array.isArray,be=Object.prototype.hasOwnProperty,ze={current:null},Re={key:!0,ref:!0,__self:!0,__source:!0};function Qe(c,v,D){var F,A={},V=null,Z=null;if(v!=null)for(F in v.ref!==void 0&&(Z=v.ref),v.key!==void 0&&(V=""+v.key),v)be.call(v,F)&&!Re.hasOwnProperty(F)&&(A[F]=v[F]);var H=arguments.length-2;if(H===1)A.children=D;else if(1<H){for(var ee=Array(H),Ve=0;Ve<H;Ve++)ee[Ve]=arguments[Ve+2];A.children=ee}if(c&&c.defaultProps)for(F in H=c.defaultProps,H)A[F]===void 0&&(A[F]=H[F]);return{$$typeof:w,type:c,key:V,ref:Z,props:A,_owner:ze.current}}function Nt(c,v){return{$$typeof:w,type:c.type,key:v,ref:c.ref,props:c.props,_owner:c._owner}}function yt(c){return typeof c=="object"&&c!==null&&c.$$typeof===w}function Kt(c){var v={"=":"=0",":":"=2"};return"$"+c.replace(/[=:]/g,function(D){return v[D]})}var at=/\/+/g;function Ae(c,v){return typeof c=="object"&&c!==null&&c.key!=null?Kt(""+c.key):v.toString(36)}function et(c,v,D,F,A){var V=typeof c;(V==="undefined"||V==="boolean")&&(c=null);var Z=!1;if(c===null)Z=!0;else switch(V){case"string":case"number":Z=!0;break;case"object":switch(c.$$typeof){case w:case L:Z=!0}}if(Z)return Z=c,A=A(Z),c=F===""?"."+Ae(Z,0):F,xe(A)?(D="",c!=null&&(D=c.replace(at,"$&/")+"/"),et(A,v,D,"",function(Ve){return Ve})):A!=null&&(yt(A)&&(A=Nt(A,D+(!A.key||Z&&Z.key===A.key?"":(""+A.key).replace(at,"$&/")+"/")+c)),v.push(A)),1;if(Z=0,F=F===""?".":F+":",xe(c))for(var H=0;H<c.length;H++){V=c[H];var ee=F+Ae(V,H);Z+=et(V,v,D,ee,A)}else if(ee=K(c),typeof ee=="function")for(c=ee.call(c),H=0;!(V=c.next()).done;)V=V.value,ee=F+Ae(V,H++),Z+=et(V,v,D,ee,A);else if(V==="object")throw v=String(c),Error("Objects are not valid as a React child (found: "+(v==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":v)+"). If you meant to render a collection of children, use an array instead.");return Z}function ct(c,v,D){if(c==null)return c;var F=[],A=0;return et(c,F,"","",function(V){return v.call(D,V,A++)}),F}function je(c){if(c._status===-1){var v=c._result;v=v(),v.then(function(D){(c._status===0||c._status===-1)&&(c._status=1,c._result=D)},function(D){(c._status===0||c._status===-1)&&(c._status=2,c._result=D)}),c._status===-1&&(c._status=0,c._result=v)}if(c._status===1)return c._result.default;throw c._result}var ie={current:null},S={transition:null},j={ReactCurrentDispatcher:ie,ReactCurrentBatchConfig:S,ReactCurrentOwner:ze};function C(){throw Error("act(...) is not supported in production builds of React.")}return I.Children={map:ct,forEach:function(c,v,D){ct(c,function(){v.apply(this,arguments)},D)},count:function(c){var v=0;return ct(c,function(){v++}),v},toArray:function(c){return ct(c,function(v){return v})||[]},only:function(c){if(!yt(c))throw Error("React.Children.only expected to receive a single React element child.");return c}},I.Component=Y,I.Fragment=m,I.Profiler=M,I.PureComponent=st,I.StrictMode=ue,I.Suspense=B,I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,I.act=C,I.cloneElement=function(c,v,D){if(c==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+c+".");var F=Pe({},c.props),A=c.key,V=c.ref,Z=c._owner;if(v!=null){if(v.ref!==void 0&&(V=v.ref,Z=ze.current),v.key!==void 0&&(A=""+v.key),c.type&&c.type.defaultProps)var H=c.type.defaultProps;for(ee in v)be.call(v,ee)&&!Re.hasOwnProperty(ee)&&(F[ee]=v[ee]===void 0&&H!==void 0?H[ee]:v[ee])}var ee=arguments.length-2;if(ee===1)F.children=D;else if(1<ee){H=Array(ee);for(var Ve=0;Ve<ee;Ve++)H[Ve]=arguments[Ve+2];F.children=H}return{$$typeof:w,type:c.type,key:A,ref:V,props:F,_owner:Z}},I.createContext=function(c){return c={$$typeof:ce,_currentVaLine truncated
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Na;function Rf(){if(Na)return gr;Na=1;var w=Lo(),L=Symbol.for("react.element"),m=Symbol.for("react.fragment"),ue=Object.prototype.hasOwnProperty,M=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Q={key:!0,ref:!0,__self:!0,__source:!0};function ce(ne,B,me){var he,X={},K=null,Se=null;me!==void 0&&(K=""+me),B.key!==void 0&&(K=""+B.key),B.ref!==void 0&&(Se=B.ref);for(he in B)ue.call(B,he)&&!Q.hasOwnProperty(he)&&(X[he]=B[he]);if(ne&&ne.defaultProps)for(he in B=ne.defaultProps,B)X[he]===void 0&&(X[he]=B[he]);return{$$typeof:L,type:ne,key:K,ref:Se,props:X,_owner:M.current}}return gr.Fragment=m,gr.jsx=ce,gr.jsxs=ce,gr}var Pa;function jf(){return Pa||(Pa=1,_o.exports=Rf()),_o.exports}var E=jf(),Ll={},No={exports:{}},Ue={},Po={exports:{}},zo={};/**
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var za;function Of(){return za||(za=1,(function(w){function L(S,j){var C=S.length;S.push(j);e:for(;0<C;){var c=C-1>>>1,v=S[c];if(0<M(v,j))S[c]=j,S[C]=v,C=c;else break e}}function m(S){return S.length===0?null:S[0]}function ue(S){if(S.length===0)return null;var j=S[0],C=S.pop();if(C!==j){S[0]=C;e:for(var c=0,v=S.length,D=v>>>1;c<D;){var F=2*(c+1)-1,A=S[F],V=F+1,Z=S[V];if(0>M(A,C))V<v&&0>M(Z,A)?(S[c]=Z,S[V]=C,c=V):(S[c]=A,S[F]=C,c=F);else if(V<v&&0>M(Z,C))S[c]=Z,S[V]=C,c=V;else break e}}return j}function M(S,j){var C=S.sortIndex-j.sortIndex;return C!==0?C:S.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var Q=performance;w.unstable_now=function(){return Q.now()}}else{var ce=Date,ne=ce.now();w.unstable_now=function(){return ce.now()-ne}}var B=[],me=[],he=1,X=null,K=3,Se=!1,Pe=!1,G=!1,Y=typeof setTimeout=="function"?setTimeout:null,vt=typeof clearTimeout=="function"?clearTimeout:null,st=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function qe(S){for(var j=m(me);j!==null;){if(j.callback===null)ue(me);else if(j.startTime<=S)ue(me),j.sortIndex=j.expirationTime,L(B,j);else break;j=m(me)}}function xe(S){if(G=!1,qe(S),!Pe)if(m(B)!==null)Pe=!0,je(be);else{var j=m(me);j!==null&&ie(xe,j.startTime-S)}}function be(S,j){Pe=!1,G&&(G=!1,vt(Qe),Qe=-1),Se=!0;var C=K;try{for(qe(j),X=m(B);X!==null&&(!(X.expirationTime>j)||S&&!Kt());){var c=X.callback;if(typeof c=="function"){X.callback=null,K=X.priorityLevel;var v=c(X.expirationTime<=j);j=w.unstable_now(),typeof v=="function"?X.callback=v:X===m(B)&&ue(B),qe(j)}else ue(B);X=m(B)}if(X!==null)var D=!0;else{var F=m(me);F!==null&&ie(xe,F.startTime-j),D=!1}return D}finally{X=null,K=C,Se=!1}}var ze=!1,Re=null,Qe=-1,Nt=5,yt=-1;function Kt(){return!(w.unstable_now()-yt<Nt)}function at(){if(Re!==null){var S=w.unstable_now();yt=S;var j=!0;try{j=Re(!0,S)}finally{j?Ae():(ze=!1,Re=null)}}else ze=!1}var Ae;if(typeof st=="function")Ae=function(){st(at)};else if(typeof MessageChannel<"u"){var et=new MessageChannel,ct=et.port2;et.port1.onmessage=at,Ae=function(){ct.postMessage(null)}}else Ae=function(){Y(at,0)};function je(S){Re=S,ze||(ze=!0,Ae())}function ie(S,j){Qe=Y(function(){S(w.unstable_now())},j)}w.unstable_IdlePriority=5,w.unstable_ImmediatePriority=1,w.unstable_LowPriority=4,w.unstable_NormalPriority=3,w.unstable_Profiling=null,w.unstable_UserBlockingPriority=2,w.unstable_cancelCallback=function(S){S.callback=null},w.unstable_continueExecution=function(){Pe||Se||(Pe=!0,je(be))},w.unstable_forceFrameRate=function(S){0>S||125<S?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Nt=0<S?Math.floor(1e3/S):5},w.unstable_getCurrentPriorityLevel=function(){return K},w.unstable_getFirstCallbackNode=function(){return m(B)},w.unstable_next=function(S){switch(K){case 1:case 2:case 3:var j=3;break;default:j=K}var C=K;K=j;try{return S()}finally{K=C}},w.unstable_pauseExecution=function(){},w.unstable_requestPaint=function(){},w.unstable_runWithPriority=function(S,j){switch(S){case 1:case 2:case 3:case 4:case 5:break;default:S=3}var C=K;K=S;try{return j()}finally{K=C}},w.unstable_scheduleCallback=function(S,j,C){var c=w.unstable_now();switch(typeof C=="object"&&C!==null?(C=C.delay,C=typeof C=="number"&&0<C?c+C:c):C=c,S){case 1:var v=-1;break;case 2:v=250;break;case 5:v=1073741823;break;case 4:v=1e4;break;default:v=5e3}return v=C+v,S={id:he++,callback:j,priorityLevel:S,startTime:C,expirationTime:v,sortIndex:-1},C>c?(S.sortIndex=C,L(me,S),m(B)===null&&S===m(me)&&(G?(vt(Qe),Qe=-1):G=!0,ie(xe,C-c))):(S.sortIndex=v,L(B,S),Pe||Se||(Pe=!0,je(be))),S},w.unstable_shouldYield=Kt,w.unstable_wrapCallback=function(S){var j=K;return function(){var C=K;K=j;try{return S.apply(this,arguments)}finally{K=C}}}})(zo)),zo}var La;function Mf(){return La||(La=1,Po.exports=Of()),Po.exports}/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var Ta;function Df(){if(Ta)return Ue;Ta=1;var w=Lo(),L=Mf();function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ue=new Set,M={};function Q(e,t){ce(e,t),ce(e+"Capture",t)}function ce(e,t){for(M[e]=t,e=0;e<t.length;e++)ue.add(t[e])}var ne=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),B=Object.prototype.hasOwnProperty,me=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,he={},X={};function K(e){return B.call(X,e)?!0:B.call(he,e)?!1:me.test(e)?X[e]=!0:(he[e]=!0,!1)}function Se(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Pe(e,t,n,r){if(t===null||typeof t>"u"||Se(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function G(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Y[e]=new G(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Y[t]=new G(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Y[e]=new G(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Y[e]=new G(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Y[e]=new G(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Y[e]=new G(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Y[e]=new G(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Y[e]=new G(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Y[e]=new G(e,5,!1,e.toLowerCase(),null,!1,!1)});var vt=/[\-:]([a-z])/g;function st(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(vt,st);Y[t]=new G(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(vt,st);Y[t]=new G(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(vt,st);Y[t]=new G(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Y[e]=new G(e,1,!1,e.toLowerCase(),null,!1,!1)}),Y.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Y[e]=new G(e,1,!1,e.toLowerCase(),null,!0,!0)});function qe(e,t,n,r){var l=Y.hasOwnProperty(t)?Y[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!==
Line truncated
|
||||
`+c+e}var D=!1;function F(e,t){if(!e||D)return"";D=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(p){var r=p}Reflect.construct(e,[],t)}else{try{t.call()}catch(p){r=p}e.call(t.prototype)}else{try{throw Error()}catch(p){r=p}e()}}catch(p){if(p&&r&&typeof p.stack=="string"){for(var l=p.stack.split(`
|
||||
`),i=r.stack.split(`
|
||||
`),o=l.length-1,u=i.length-1;1<=o&&0<=u&&l[o]!==i[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==i[u]){if(o!==1||u!==1)do if(o--,u--,0>u||l[o]!==i[u]){var s=`
|
||||
`+l[o].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{D=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?v(e):""}function A(e){switch(e.tag){case 5:return v(e.type);case 16:return v("Lazy");case 13:return v("Suspense");case 19:return v("SuspenseList");case 0:case 2:case 15:return e=F(e.type,!1),e;case 11:return e=F(e.type.render,!1),e;case 1:return e=F(e.type,!0),e;default:return""}}function V(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Re:return"Fragment";case ze:return"Portal";case Nt:return"Profiler";case Qe:return"StrictMode";case Ae:return"Suspense";case et:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Kt:return(e.displayName||"Context")+".Consumer";case yt:return(e._context.displayName||"Context")+".Provider";case at:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ct:return t=e.displayName||null,t!==null?t:V(e.type)||"Memo";case je:t=e._payload,e=e._init;try{return V(e(t))}catch{}}return null}function Z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===Qe?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ee(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ve(e){var t=ee(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function wr(e){e._valueTracker||(e._valueTracker=Ve(e))}function To(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ee(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function kr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Tl(e,t){var n=t.checked;return C({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ro(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=H(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function jo(e,t){t=t.checked,t!=null&&qe(e,"checked",t,!1)}function Rl(e,t){jo(e,t);var n=H(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?jl(e,t.type,n):t.hasOwnProperty("defaultValue")&&jl(e,t.type,H(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Oo(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function jl(e,t,n){(t!=="number"||kr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var On=Array.isArray;function un(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Ol(e,t){if(t.dangerouslySetInnerHTML!
Line truncated
|
||||
`).replace(Bc,"")}function Br(e,t,n){if(t=Hu(t),Hu(e)!==t&&n)throw Error(m(425))}function Hr(){}var mi=null,hi=null;function vi(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var yi=typeof setTimeout=="function"?setTimeout:void 0,Hc=typeof clearTimeout=="function"?clearTimeout:void 0,Wu=typeof Promise=="function"?Promise:void 0,Wc=typeof queueMicrotask=="function"?queueMicrotask:typeof Wu<"u"?function(e){return Wu.resolve(null).then(e).catch(Qc)}:yi;function Qc(e){setTimeout(function(){throw e})}function gi(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),Qn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Qn(t)}function Ot(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Qu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var vn=Math.random().toString(36).slice(2),dt="__reactFiber$"+vn,nr="__reactProps$"+vn,gt="__reactContainer$"+vn,wi="__reactEvents$"+vn,Kc="__reactListeners$"+vn,Yc="__reactHandles$"+vn;function Xt(e){var t=e[dt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[gt]||n[dt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Qu(e);e!==null;){if(n=e[dt])return n;e=Qu(e)}return t}e=n,n=e.parentNode}return null}function rr(e){return e=e[dt]||e[gt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function yn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(m(33))}function Wr(e){return e[nr]||null}var ki=[],gn=-1;function Mt(e){return{current:e}}function b(e){0>gn||(e.current=ki[gn],ki[gn]=null,gn--)}function J(e,t){gn++,ki[gn]=e.current,e.current=t}var Dt={},Ee=Mt(Dt),Oe=Mt(!1),Gt=Dt;function wn(e,t){var n=e.type.contextTypes;if(!n)return Dt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Me(e){return e=e.childContextTypes,e!=null}function Qr(){b(Oe),b(Ee)}function Ku(e,t,n){if(Ee.current!==Dt)throw Error(m(168));J(Ee,t),J(Oe,n)}function Yu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(m(108,Z(e)||"Unknown",l));return C({},n,r)}function Kr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Dt,Gt=Ee.current,J(Ee,e),J(Oe,Oe.current),!0}function Xu(e,t,n){var r=e.stateNode;if(!r)throw Error(m(169));n?(e=Yu(e,t,Gt),r.__reactInternalMemoizedMergedChildContext=e,b(Oe),b(Ee),J(Ee,e)):b(Oe),J(Oe,n)}var wt=null,Yr=!1,Si=!1;function Gu(e){wt===null?wt=[e]:wt.push(e)}function Xc(e){Yr=!0,Gu(e)}function It(){if(!Si&&wt!==null){Si=!0;var e=0,t=W;try{var n=wt;for(W=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}wt=null,Yr=!1}catch(l){throw wt!==null&&(wt=wt.slice(e+1)),Jo(Hl,It),l}finally{W=t,Si=!1}}return null}var kn=[],Sn=0,Xr=null,Gr=0,Ke=[],Ye=0,Zt=null,kt=1,St="";function Jt(e,t){kn[Sn++]=Gr,kn[Sn++]=Xr,Xr=e,Gr=t}function Zu(e,t,n){Ke[Ye++]=kt,Ke[Ye++]=St,Ke[Ye++]=Zt,Zt=e;var r=kt;e=St;var l=32-tt(r)-1;r&=~(1<<l),n+=1;var i=32-tt(t)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,kt=1<<32-tt(t)+l|n<<l|r,St=i+e}else kt=1<<i|n<<l|r,St=e}function xi(e){e.return!==null&&(Jt(e,1),Zu(e,1,0))}function Ei(e){for(;e===Xr;)Xr=kn[--Sn],kn[Sn]=null,Gr=kn[--Sn],kn[Sn]=null;for(;e===Zt;)Zt=Ke[--Ye],Ke[Ye]=null,St=Ke[--Ye],Ke[Ye]=null,kt=Ke[--Ye],Ke[Ye]=null}var Be=null,He=null,te=!1,rt=null;function Ju(e,t){var n=Je(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function qu(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Be=e,He=Ot(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Be=e,He=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Zt!==null?{id:kt,overflow:St}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Je(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Be=e,He=null,!0):!1;default:return!1}}function _i(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ci(e){if(te){var t=He;if(t){var n=t;if(!qu(e,t)){if(_i(e))throw Error(m(418));t=Ot(n.nextSibling);var r=Be;t&&qu(e,t)?Ju(r,n):(e.flags=e.flags&-4097|2,te=!1,Be=e)}}else{if(_i(e))throw Error(m(418));e.flags=e.flags&-4097|2,te=!1,Be=e}}}function bu(e){for(e=e.return;e!==null&&
Line truncated
|
||||
Error generating stack: `+i.message+`
|
||||
`+i.stack}return{value:e,source:t,stack:l,digest:null}}function Yi(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Xi(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var rf=typeof WeakMap=="function"?WeakMap:Map;function Os(e,t,n){n=Et(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){hl||(hl=!0,ao=r),Xi(e,t)},n}function Ms(e,t,n){n=Et(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Xi(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Xi(e,t),typeof r!="function"&&(Vt===null?Vt=new Set([this]):Vt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Ds(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new rf;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=gf.bind(null,e,t,n),t.then(e,e))}function Is(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Fs(e,t,n,r,l){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Et(-1,1),t.tag=2,Ut(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var lf=xe.ReactCurrentOwner,De=!1;function Le(e,t,n,r){t.child=e===null?rs(t,null,n,r):En(t,e.child,n,r)}function Us(e,t,n,r,l){n=n.render;var i=t.ref;return Cn(t,l),r=Ai(e,t,n,r,i,l),n=Vi(),e!==null&&!De?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,_t(e,t,l)):(te&&n&&xi(t),t.flags|=1,Le(e,t,r,l),t.child)}function As(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!yo(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Vs(e,t,i,r,l)):(e=Sl(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&l)===0){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Jn,n(o,r)&&e.ref===t.ref)return _t(e,t,l)}return t.flags|=1,e=Wt(i,r),e.ref=t.ref,e.return=t,t.child=e}function Vs(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(Jn(i,r)&&e.ref===t.ref)if(De=!1,t.pendingProps=r=i,(e.lanes&l)!==0)(e.flags&131072)!==0&&(De=!0);else return t.lanes=e.lanes,_t(e,t,l)}return Gi(e,t,n,r,l)}function $s(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},J(Ln,We),We|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,J(Ln,We),We|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,J(Ln,We),We|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,J(Ln,We),We|=r;return Le(e,t,l,n),t.child}function Bs(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Gi(e,t,n,r,l){var i=Me(n)?Gt:Ee.current;return i=wn(t,i),Cn(t,l),n=Ai(e,t,n,r,i,l),r=Vi(),e!==null&&!De?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,_t(e,t,l)):(te&&r&&xi(t),t.flags|=1,Le(e,t,n,l),t.child)}function Hs(e,t,n,r,l){if(Me(n)){var i=!0;Kr(t)}else i=!1;if(Cn(t,l),t.stateNode===null)cl(e,t),Rs(t,n,r),Ki(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var s=o.context,p=n.contextType;typeof p=="object"&&p!==null?p=Xe(p):(p=Me(n)?Gt:Ee.current,p=wn(t,p));var y=n.getDerivedStateFromProps,g=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function";g||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||s!==p)&&js(t,o,r,p),Ft=!1;var h=t.memoizedState;o.state=h,tl(t,r,o,l),s=t.memoizedState,u!==r||h!==s||Oe.current||Ft?(typeof y=="function"&&(Qi(t,n,y,r),s=t.memoizedState),(u=Ft||Ts(t,n,u,r,h,s,p))?(g||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=p,r=u):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,is(e,t),u=t.memoizedProps,p=t.type===t.elementType?u:lt(t.type,u),o.props=p,g=t.pendingProps,h=o.context,s=n.contextType,typeof s=="object"&&s!==null?s=Xe(s):(s=Me(n)?Gt:Ee.current,s=wn(t,s));var x=n.getDerivedStateFromProps;(y=typeof x=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==g||h!==s)&&js(t,o,r,s),Ft=!1,h=t.memoizedState,o.state=h,tl(t,r,o,l);v
Line truncated
|
||||
shadow-hard transition-transform duration-150 focus-visible:outline-none
|
||||
hover:-translate-y-[3px] hover:shadow-hard-lift
|
||||
focus-visible:-translate-y-[3px] focus-visible:shadow-hard-lift`,onMouseEnter:()=>ne(!0),onMouseLeave:()=>ne(!1),onFocus:()=>ne(!0),onBlur:()=>ne(!1),"aria-label":`${w.title}:${w.target.goal}`,children:[L&&E.jsx(Wf,{n:L}),E.jsxs("div",{className:"relative flex aspect-video items-center justify-center overflow-hidden rounded-lg border-[3px] border-ink",style:{background:w.color,boxShadow:"inset 0 3px 8px rgba(26,26,26,0.30), inset 0 -1px 0 rgba(255,255,255,0.55)",viewTransitionName:`ch-${w.id}`},children:[X?w.gifUrl?E.jsx("img",{src:w.gifUrl,alt:w.target.expectation,className:"h-full w-full object-cover"}):E.jsxs("span",{className:"px-3 text-center text-[11px] font-bold leading-snug text-paper",children:["▶ ",w.target.expectation]}):me?E.jsx("span",{className:"px-3 text-center text-[11px] leading-snug text-ink/80 mix-blend-multiply",children:w.target.goal}):ue?E.jsx("span",{className:"px-3 text-center text-[11.5px] font-semibold leading-snug text-ink",children:ue}):E.jsx("span",{style:{fontSize:m?"28px":"40px"},children:w.emoji}),E.jsxs("span",{className:"absolute left-1.5 top-1 text-[9px] font-bold tracking-wide text-paper",children:["预期结果",X?" · GIF":""]}),E.jsx($f,{size:16,className:"absolute bottom-1.5 right-1.5"})]}),E.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[E.jsx(Vf,{size:14}),E.jsx("b",{className:"flex-1 text-[14px] text-[#2b1d10] [text-shadow:0_1px_1px_rgba(255,255,255,0.9)]",children:w.title}),!m&&E.jsx(Hf,{bricks:w.target.bricks})]})]})}export{Jf as A,Hf as B,Uf as C,bf as M,Xf as P,$f as R,Gf as S,Vf as T,qf as W,Yf as a,Kf as b,Qf as c,ed as d,Zf as e,E as j};
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{c as t,j as e}from"./MemphisCard-Bt0vyCOo.js";import{C as o}from"./ChapterPage-BXpyh5yo.js";t.createRoot(document.getElementById("root")).render(e.jsx(o,{id:1}));
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{c as t,j as e}from"./MemphisCard-Bt0vyCOo.js";import{C as o}from"./ChapterPage-BXpyh5yo.js";t.createRoot(document.getElementById("root")).render(e.jsx(o,{id:2}));
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{c as t,j as e}from"./MemphisCard-Bt0vyCOo.js";import{C as o}from"./ChapterPage-BXpyh5yo.js";t.createRoot(document.getElementById("root")).render(e.jsx(o,{id:3}));
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{c as t,j as e}from"./MemphisCard-Bt0vyCOo.js";import{C as o}from"./ChapterPage-BXpyh5yo.js";t.createRoot(document.getElementById("root")).render(e.jsx(o,{id:4}));
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{c as t,j as e}from"./MemphisCard-Bt0vyCOo.js";import{C as o}from"./ChapterPage-BXpyh5yo.js";t.createRoot(document.getElementById("root")).render(e.jsx(o,{id:5}));
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{c as t,j as e}from"./MemphisCard-Bt0vyCOo.js";import{C as o}from"./ChapterPage-BXpyh5yo.js";t.createRoot(document.getElementById("root")).render(e.jsx(o,{id:6}));
|
||||
-1
@@ -1 +0,0 @@
|
||||
import{j as e,b as g,C as l,P as v,S as j,d as u,e as b,c as $}from"./MemphisCard-Bt0vyCOo.js";function y(){return e.jsx("div",{className:"flex flex-wrap gap-5",children:g.map(r=>e.jsxs("div",{"data-comp":"entry-card",className:"w-[252px] rounded-xl border-2 border-ink bg-paper p-3 shadow-hard",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"flex h-[26px] w-[26px] items-center justify-center rounded-lg border-2 border-ink text-[14px]",style:{background:l[r.entry].color},children:r.icon}),e.jsx("b",{className:"text-[13px]",children:r.name})]}),e.jsx("div",{className:"mt-2 flex flex-wrap items-center gap-1.5",children:r.path.map((s,n)=>e.jsxs("span",{className:"flex items-center gap-1.5",children:[n>0&&e.jsx("span",{className:"text-[10px] text-mute",children:"→"}),e.jsxs("a",{href:`/ch${s}.html`,className:`rounded-full border-[1.5px] border-ink px-2.5 py-0.5 text-[10.5px] no-underline ${s===r.entry?"bg-clash2a font-extrabold":"bg-white"}`,children:[s===r.entry&&["①","②","③"][g.indexOf(r)]," ",l[s].title]})]},s))}),e.jsx("p",{className:"m-0 mt-2 text-[10px] leading-relaxed text-mute",children:r.note})]},r.name))})}const k=["var(--color-clash2a)","var(--color-clash1b)","var(--color-clash3a)","var(--color-clash1a)"];function N(r,s,n,c,o=8){if(Math.abs(c-s)<1)return`M ${r} ${s} H ${n}`;const i=c>s,x=i?1:0,m=i?0:1,h=Math.max(r+o,n-2*o);return`M ${r} ${s} H ${h} A ${o} ${o} 0 0 ${x} ${h+o} ${s+(i?o:-o)} V ${c-(i?o:-o)} A ${o} ${o} 0 0 ${m} ${h+2*o} ${c} H ${n}`}function w({edges:r,nodes:s,width:n,height:c}){const o=t=>k[t%k.length],i=r.filter(t=>t.kind==="seq"),x=new Map;i.forEach(t=>x.set(t.to,[...x.get(t.to)??[],t]));const m=new Set;x.forEach(t=>m.add(t[0].to));let h=0;return e.jsxs("svg",{width:n,height:c,viewBox:`0 0 ${n} ${c}`,className:"pointer-events-none absolute left-0 top-0 z-10","aria-hidden":!0,children:[r.map((t,d)=>{const a=s[t.from],p=s[t.to];if(!a||!p)return null;const f=N(a.right,a.y,p.borderLeft,p.y);return t.kind==="rel"?e.jsx("path",{d:f,stroke:"var(--color-ink)",strokeWidth:2,fill:"none",strokeDasharray:"4 2"},d):t.kind==="family"?e.jsx("path",{d:f,stroke:"var(--color-ink)",strokeWidth:2.4,fill:"none",strokeDasharray:"0.1 6",strokeLinecap:"round"},d):e.jsx("path",{d:f,stroke:"var(--color-ink)",strokeWidth:2.5,fill:"none"},d)}),i.map(t=>{const d=s[t.from],a=s[t.to];if(!d||!a)return null;const p=x.get(t.to),f=p.length>1&&m.has(t.to);return e.jsxs("g",{children:[e.jsx("circle",{cx:d.right,cy:d.y,r:6,fill:o(h++),stroke:"var(--color-ink)",strokeWidth:2}),f?e.jsx("rect",{x:a.borderLeft-3,y:a.y-10,width:6,height:20,rx:3,fill:"var(--color-clash1a)",stroke:"var(--color-ink)",strokeWidth:2}):p.length===1?e.jsx("circle",{cx:a.borderLeft,cy:a.y,r:6,fill:o(h++),stroke:"var(--color-ink)",strokeWidth:2}):null]},`st-${t.from}-${t.to}`)})]})}const L={1:{id:1,borderLeft:40,right:290,y:180},2:{id:2,borderLeft:380,right:630,y:108},5:{id:5,borderLeft:700,right:840,y:108}},E=[{id:1,entry:1},{id:2,entry:2},{id:3},{id:4},{id:5},{id:6,entry:3}];function R(){return e.jsxs(v,{title:"全栈工程师教程 · 书架",desc:"靶子先行:每章先给目标、预期结果、积木清单,步骤只写「产出什么+核对什么」;过程有没有学习价值,每步先分类。",children:[e.jsx(j,{label:"入口画像",note:"推荐不是强制——无锁",children:e.jsx(y,{})}),e.jsx(j,{label:"六章",note:"卡片是入口;点相框进入章节",children:e.jsx("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3",children:E.map(({id:r,entry:s})=>e.jsx(u,{chapter:l[r],entry:s},r))})}),e.jsx(j,{label:"主线与进度",note:"实线=先后;点线=同族;票券=完成状态",children:e.jsxs("div",{className:"relative h-[520px] overflow-hidden rounded-2xl bg-paper",children:[e.jsx(w,{edges:[{from:1,to:2,kind:"seq"},{from:2,to:5,kind:"seq"},{from:2,to:5,kind:"family"}],nodes:L,width:1160,height:520}),e.jsx("div",{className:"absolute left-[40px] top-[110px] w-[250px]",children:e.jsx(u,{chapter:l[1]})}),e.jsx("div",{className:"absolute left-[380px] top-[44px] w-[250px] -rotate-1",children:e.jsx(u,{chapter:l[2]})}),e.jsx("div",{className:"absolute left-[700px] top-[44px] w-[140px]",children:e.jsx(u,{chapter:l[5],compact:!0})}),e.jsxs("div",{className:"absolute left-[60px] top-[380px] flex gap-4",children:[e.jsx(b,{chapter:l[1],done:!0}),e.jsx(b,{chapter:l[5],done:!1})]})]})})]})}$.createRoot(document.getElementById("root")).render(e.jsx(R,{}));
|
||||
Vendored
-15
@@ -1,15 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>第 1 章 · 快速开始</title>
|
||||
<script type="module" crossorigin src="/assets/ch1-4Q5uZSC1.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/MemphisCard-Bt0vyCOo.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ChapterPage-BXpyh5yo.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/MemphisCard-BhlJqdpt.css">
|
||||
</head>
|
||||
<body class="bg-paper text-ink">
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Vendored
-15
@@ -1,15 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>第 2 章 · React</title>
|
||||
<script type="module" crossorigin src="/assets/ch2-I_xty9mu.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/MemphisCard-Bt0vyCOo.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ChapterPage-BXpyh5yo.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/MemphisCard-BhlJqdpt.css">
|
||||
</head>
|
||||
<body class="bg-paper text-ink">
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Vendored
-15
@@ -1,15 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>第 3 章 · 更多示例</title>
|
||||
<script type="module" crossorigin src="/assets/ch3-BI1L42dc.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/MemphisCard-Bt0vyCOo.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ChapterPage-BXpyh5yo.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/MemphisCard-BhlJqdpt.css">
|
||||
</head>
|
||||
<body class="bg-paper text-ink">
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Vendored
-15
@@ -1,15 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>第 4 章 · 更多 · 构建</title>
|
||||
<script type="module" crossorigin src="/assets/ch4-JSkfKoE3.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/MemphisCard-Bt0vyCOo.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ChapterPage-BXpyh5yo.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/MemphisCard-BhlJqdpt.css">
|
||||
</head>
|
||||
<body class="bg-paper text-ink">
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Vendored
-15
@@ -1,15 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>第 5 章 · 全栈基础</title>
|
||||
<script type="module" crossorigin src="/assets/ch5-Dgq5inz8.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/MemphisCard-Bt0vyCOo.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ChapterPage-BXpyh5yo.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/MemphisCard-BhlJqdpt.css">
|
||||
</head>
|
||||
<body class="bg-paper text-ink">
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Vendored
-15
@@ -1,15 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>第 6 章 · 高级教程</title>
|
||||
<script type="module" crossorigin src="/assets/ch6-CJLq_8pR.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/MemphisCard-Bt0vyCOo.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ChapterPage-BXpyh5yo.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/MemphisCard-BhlJqdpt.css">
|
||||
</head>
|
||||
<body class="bg-paper text-ink">
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Vendored
-14
@@ -1,14 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>stack·教程 · 书架</title>
|
||||
<script type="module" crossorigin src="/assets/index-CvM7B7BF.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/MemphisCard-Bt0vyCOo.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/MemphisCard-BhlJqdpt.css">
|
||||
</head>
|
||||
<body class="bg-paper text-ink">
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1 +0,0 @@
|
||||
{"root":["./src/components/ChapterPage.tsx","./src/components/EntryGuide.tsx","./src/components/MemphisCard.tsx","./src/components/RouteLine.tsx","./src/components/Ticket.tsx","./src/components/shapes.tsx","./src/lib/chapters.ts","./src/lib/types.ts","./src/lib/ui.tsx","./src/pages/ch1/main.tsx","./src/pages/ch2/main.tsx","./src/pages/ch3/main.tsx","./src/pages/ch4/main.tsx","./src/pages/ch5/main.tsx","./src/pages/ch6/main.tsx","./src/pages/index/App.tsx","./src/pages/index/main.tsx","./vite.config.ts"],"version":"5.6.3"}
|
||||
Reference in new issue
Block a user