- 将所有图片路径从绝对路径改为使用 process.env.PUBLIC_URL - 修复 HomePage.tsx 中所有图片引用 - 修复 CoursePage.tsx 中所有图片引用 - 确保图片在 GitHub Pages 上正确加载 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 line
2.2 KiB
JSON
1 line
2.2 KiB
JSON
{"ast":null,"code":"const isNotNull = value => value !== null;\nfunction getFinalKeyframe(keyframes, _ref, finalKeyframe) {\n let {\n repeat,\n repeatType = \"loop\"\n } = _ref;\n let speed = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;\n const resolvedKeyframes = keyframes.filter(isNotNull);\n const useFirstKeyframe = speed < 0 || repeat && repeatType !== \"loop\" && repeat % 2 === 1;\n const index = useFirstKeyframe ? 0 : resolvedKeyframes.length - 1;\n return !index || finalKeyframe === undefined ? resolvedKeyframes[index] : finalKeyframe;\n}\nexport { getFinalKeyframe };","map":{"version":3,"names":["isNotNull","value","getFinalKeyframe","keyframes","_ref","finalKeyframe","repeat","repeatType","speed","arguments","length","undefined","resolvedKeyframes","filter","useFirstKeyframe","index"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs"],"sourcesContent":["const isNotNull = (value) => value !== null;\nfunction getFinalKeyframe(keyframes, { repeat, repeatType = \"loop\" }, finalKeyframe, speed = 1) {\n const resolvedKeyframes = keyframes.filter(isNotNull);\n const useFirstKeyframe = speed < 0 || (repeat && repeatType !== \"loop\" && repeat % 2 === 1);\n const index = useFirstKeyframe ? 0 : resolvedKeyframes.length - 1;\n return !index || finalKeyframe === undefined\n ? resolvedKeyframes[index]\n : finalKeyframe;\n}\n\nexport { getFinalKeyframe };\n"],"mappings":"AAAA,MAAMA,SAAS,GAAIC,KAAK,IAAKA,KAAK,KAAK,IAAI;AAC3C,SAASC,gBAAgBA,CAACC,SAAS,EAAAC,IAAA,EAAmCC,aAAa,EAAa;EAAA,IAA3D;IAAEC,MAAM;IAAEC,UAAU,GAAG;EAAO,CAAC,GAAAH,IAAA;EAAA,IAAiBI,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC;EAC1F,MAAMG,iBAAiB,GAAGT,SAAS,CAACU,MAAM,CAACb,SAAS,CAAC;EACrD,MAAMc,gBAAgB,GAAGN,KAAK,GAAG,CAAC,IAAKF,MAAM,IAAIC,UAAU,KAAK,MAAM,IAAID,MAAM,GAAG,CAAC,KAAK,CAAE;EAC3F,MAAMS,KAAK,GAAGD,gBAAgB,GAAG,CAAC,GAAGF,iBAAiB,CAACF,MAAM,GAAG,CAAC;EACjE,OAAO,CAACK,KAAK,IAAIV,aAAa,KAAKM,SAAS,GACtCC,iBAAiB,CAACG,KAAK,CAAC,GACxBV,aAAa;AACvB;AAEA,SAASH,gBAAgB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |