Files
ai-course/node_modules/.cache/babel-loader/2d765f6ab432055f2c1c1dbef7230f2cef491a1b5df6f68468b77c09340da54b.json
KQL ce6aa207e9 fix: 修复图片路径以适配GitHub Pages base path
- 将所有图片路径从绝对路径改为使用 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>
2025-11-04 09:24:45 +08:00

1 line
5.3 KiB
JSON

{"ast":null,"code":"import _objectSpread from \"/Users/apple/Documents/cursor/Web\\u8BFE\\u4EF6/AI\\u8BFE/education_web_\\u591AAgent\\u534F\\u4F5C\\u7CFB\\u7EDF/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";\nimport _objectWithoutProperties from \"/Users/apple/Documents/cursor/Web\\u8BFE\\u4EF6/AI\\u8BFE/education_web_\\u591AAgent\\u534F\\u4F5C\\u7CFB\\u7EDF/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nconst _excluded = [\"source\", \"container\"];\nimport { supportsScrollTimeline } from 'motion-dom';\nimport { scrollInfo } from '../track.mjs';\nconst timelineCache = new Map();\nfunction scrollTimelineFallback(options) {\n const currentTime = {\n value: 0\n };\n const cancel = scrollInfo(info => {\n currentTime.value = info[options.axis].progress * 100;\n }, options);\n return {\n currentTime,\n cancel\n };\n}\nfunction getTimeline(_ref) {\n var _timelineCache$get, _options$target, _containerCache$get, _options$offset;\n let {\n source,\n container\n } = _ref,\n options = _objectWithoutProperties(_ref, _excluded);\n const {\n axis\n } = options;\n if (source) container = source;\n const containerCache = (_timelineCache$get = timelineCache.get(container)) !== null && _timelineCache$get !== void 0 ? _timelineCache$get : new Map();\n timelineCache.set(container, containerCache);\n const targetKey = (_options$target = options.target) !== null && _options$target !== void 0 ? _options$target : \"self\";\n const targetCache = (_containerCache$get = containerCache.get(targetKey)) !== null && _containerCache$get !== void 0 ? _containerCache$get : {};\n const axisKey = axis + ((_options$offset = options.offset) !== null && _options$offset !== void 0 ? _options$offset : []).join(\",\");\n if (!targetCache[axisKey]) {\n targetCache[axisKey] = !options.target && supportsScrollTimeline() ? new ScrollTimeline({\n source: container,\n axis\n }) : scrollTimelineFallback(_objectSpread({\n container\n }, options));\n }\n return targetCache[axisKey];\n}\nexport { getTimeline };","map":{"version":3,"names":["supportsScrollTimeline","scrollInfo","timelineCache","Map","scrollTimelineFallback","options","currentTime","value","cancel","info","axis","progress","getTimeline","_ref","_timelineCache$get","_options$target","_containerCache$get","_options$offset","source","container","_objectWithoutProperties","_excluded","containerCache","get","set","targetKey","target","targetCache","axisKey","offset","join","ScrollTimeline","_objectSpread"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/render/dom/scroll/utils/get-timeline.mjs"],"sourcesContent":["import { supportsScrollTimeline } from 'motion-dom';\nimport { scrollInfo } from '../track.mjs';\n\nconst timelineCache = new Map();\nfunction scrollTimelineFallback(options) {\n const currentTime = { value: 0 };\n const cancel = scrollInfo((info) => {\n currentTime.value = info[options.axis].progress * 100;\n }, options);\n return { currentTime, cancel };\n}\nfunction getTimeline({ source, container, ...options }) {\n const { axis } = options;\n if (source)\n container = source;\n const containerCache = timelineCache.get(container) ?? new Map();\n timelineCache.set(container, containerCache);\n const targetKey = options.target ?? \"self\";\n const targetCache = containerCache.get(targetKey) ?? {};\n const axisKey = axis + (options.offset ?? []).join(\",\");\n if (!targetCache[axisKey]) {\n targetCache[axisKey] =\n !options.target && supportsScrollTimeline()\n ? new ScrollTimeline({ source: container, axis })\n : scrollTimelineFallback({ container, ...options });\n }\n return targetCache[axisKey];\n}\n\nexport { getTimeline };\n"],"mappings":";;;AAAA,SAASA,sBAAsB,QAAQ,YAAY;AACnD,SAASC,UAAU,QAAQ,cAAc;AAEzC,MAAMC,aAAa,GAAG,IAAIC,GAAG,CAAC,CAAC;AAC/B,SAASC,sBAAs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