Files
ai-course/node_modules/.cache/babel-loader/14997117e1c8fedf011c4dc264708d50fe6ddb24313075c46f20e6e0f723c948.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
6.8 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 { isMotionValue } from 'motion-dom';\nimport { invariant } from 'motion-utils';\nimport { visualElementStore } from '../../render/store.mjs';\nimport { animateTarget } from '../interfaces/visual-element-target.mjs';\nimport { createDOMVisualElement, createObjectVisualElement } from '../utils/create-visual-element.mjs';\nimport { isDOMKeyframes } from '../utils/is-dom-keyframes.mjs';\nimport { resolveSubjects } from './resolve-subjects.mjs';\nimport { animateSingleValue } from './single-value.mjs';\nfunction isSingleValue(subject, keyframes) {\n return isMotionValue(subject) || typeof subject === \"number\" || typeof subject === \"string\" && !isDOMKeyframes(keyframes);\n}\n/**\n * Implementation\n */\nfunction animateSubject(subject, keyframes, options, scope) {\n const animations = [];\n if (isSingleValue(subject, keyframes)) {\n animations.push(animateSingleValue(subject, isDOMKeyframes(keyframes) ? keyframes.default || keyframes : keyframes, options ? options.default || options : options));\n } else {\n const subjects = resolveSubjects(subject, keyframes, scope);\n const numSubjects = subjects.length;\n invariant(Boolean(numSubjects), \"No valid elements provided.\");\n for (let i = 0; i < numSubjects; i++) {\n const thisSubject = subjects[i];\n const createVisualElement = thisSubject instanceof Element ? createDOMVisualElement : createObjectVisualElement;\n if (!visualElementStore.has(thisSubject)) {\n createVisualElement(thisSubject);\n }\n const visualElement = visualElementStore.get(thisSubject);\n const transition = _objectSpread({}, options);\n /**\n * Resolve stagger function if provided.\n */\n if (\"delay\" in transition && typeof transition.delay === \"function\") {\n transition.delay = transition.delay(i, numSubjects);\n }\n animations.push(...animateTarget(visualElement, _objectSpread(_objectSpread({}, keyframes), {}, {\n transition\n }), {}));\n }\n }\n return animations;\n}\nexport { animateSubject };","map":{"version":3,"names":["isMotionValue","invariant","visualElementStore","animateTarget","createDOMVisualElement","createObjectVisualElement","isDOMKeyframes","resolveSubjects","animateSingleValue","isSingleValue","subject","keyframes","animateSubject","options","scope","animations","push","default","subjects","numSubjects","length","Boolean","i","thisSubject","createVisualElement","Element","has","visualElement","get","transition","_objectSpread","delay"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/animation/animate/subject.mjs"],"sourcesContent":["import { isMotionValue } from 'motion-dom';\nimport { invariant } from 'motion-utils';\nimport { visualElementStore } from '../../render/store.mjs';\nimport { animateTarget } from '../interfaces/visual-element-target.mjs';\nimport { createDOMVisualElement, createObjectVisualElement } from '../utils/create-visual-element.mjs';\nimport { isDOMKeyframes } from '../utils/is-dom-keyframes.mjs';\nimport { resolveSubjects } from './resolve-subjects.mjs';\nimport { animateSingleValue } from './single-value.mjs';\n\nfunction isSingleValue(subject, keyframes) {\n return (isMotionValue(subject) ||\n typeof subject === \"number\" ||\n (typeof subject === \"string\" && !isDOMKeyframes(keyframes)));\n}\n/**\n * Implementation\n */\nfunction animateSubject(subject, keyframes, options, scope) {\n const animations = [];\n if (isSingleValue(subject, keyframes)) {\n animations.push(animateSingleValue(subject, isDOMKeyframes(keyframes)\n ? keyframes.default || keyframes\n : keyframes, options ? options.default || options : options));\n }\n else {\n const subjects = resolveSubjects(subject, keyframes, scope);\n const numSubjects = subjects.length;\n invariant(Boolean(numSubjects), \"No valid elements provided.\");\n for (let i = 0; i < numSubjects; i++) {\n const thisSubject = subjects[i];\n const createVisualElement = thisSubject instanceof Element\n ? createDOMVisualElement\n : createObjectVisualElement;\n if (!visualElementStore.has(thisSubject)) {\n createVisualElement(thisSubject);\n }\n const visualElement = visualElementStore.get(thisSubject);\n const transition = { ...options };\n /**\n * Resolve stagger function if provided.\n */\n if (\"delay\" in transition &&\n typeof transition.delay === \"function\") {\n transition.delay = transition.delay(i, numSubjects);\n }\n animations.push(...animateTarget(visualElement, { ...keyframes, transition }, {}));\n }\n }\n return animations;\n}\n\nexport { animateSubject };\n"],"mappings":";AAAA,SAASA,aAAa,QAAQ,YAAY;AAC1C,SAASC,SAAS,QAAQ,cAAc;AACxC,SAASC,kBAAkB,QAAQ,wBAAwB;AAC3D,SAASC,aAAa,QAAQ,yCAAyC;AACvE,SAASC,sBAAsB,EAAEC,yBAAyB,QAAQ,oCAAoC;AACtG,SAASC,cAAc,QAAQ,+BAA+B;AAC9D,SAASC,eAAe,QAAQ,wBAAwB;AACxD,SAASC,kBAAkB,QAAQ,oBAAoB;AAEvD,SAASC,aAAaA,CAACC,OAAO,EAAEC,SAAS,EAAE;EACvC,OAAQX,aAAa,CAACU,OAAO,CAAC,IAC1B,OAAOA,OAAO,KAAK,QAAQ,IAC1B,OAAOA,OAAO,KAAK,QAAQ,IAAI,CAACJ,cAAc,CAACK,SAAS,CAAE;AACnE;AACA;AACA;AACA;AACA,SAASC,cAAcA,CAACF,OAAO,EAAEC,SAAS,EAAEE,OAAO,EAAEC,KAAK,EAAE;EACxD,MAAMC,UAAU,GAAG,EAAE;EACrB,IAAIN,aAAa,CAACC,OAAO,EAAEC,SAAS,CAAC,EAAE;IACnCI,UAAU,CAACC,IAAI,CAACR,kBAAkB,CAACE,OAAO,EAAEJ,cAAc,CAACK,SAAS,CAAC,GAC/DA,SAAS,CAACM,OAAO,IAAIN,SAAS,GAC9BA,SAAS,EAAEE,OAAO,GAAGA,OAAO,CAACI,OAAO,IAAIJ,OAAO,GAAGA,OAAO,CAAC,CAAC;EACrE,CAAC,MAC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