Files
ai-course/node_modules/.cache/babel-loader/5e9039427be52ab3aadd1a5afeb24949d344407b958ae4da1b2c01205da27983.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
2.6 KiB
JSON

{"ast":null,"code":"import { isMotionValue } from 'motion-dom';\nimport { isForcedMotionValue } from '../../../motion/utils/is-forced-motion-value.mjs';\nfunction scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n const {\n style\n } = props;\n const newValues = {};\n for (const key in style) {\n var _visualElement$getVal;\n if (isMotionValue(style[key]) || prevProps.style && isMotionValue(prevProps.style[key]) || isForcedMotionValue(key, props) || (visualElement === null || visualElement === void 0 || (_visualElement$getVal = visualElement.getValue(key)) === null || _visualElement$getVal === void 0 ? void 0 : _visualElement$getVal.liveStyle) !== undefined) {\n newValues[key] = style[key];\n }\n }\n return newValues;\n}\nexport { scrapeMotionValuesFromProps };","map":{"version":3,"names":["isMotionValue","isForcedMotionValue","scrapeMotionValuesFromProps","props","prevProps","visualElement","style","newValues","key","_visualElement$getVal","getValue","liveStyle","undefined"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs"],"sourcesContent":["import { isMotionValue } from 'motion-dom';\nimport { isForcedMotionValue } from '../../../motion/utils/is-forced-motion-value.mjs';\n\nfunction scrapeMotionValuesFromProps(props, prevProps, visualElement) {\n const { style } = props;\n const newValues = {};\n for (const key in style) {\n if (isMotionValue(style[key]) ||\n (prevProps.style &&\n isMotionValue(prevProps.style[key])) ||\n isForcedMotionValue(key, props) ||\n visualElement?.getValue(key)?.liveStyle !== undefined) {\n newValues[key] = style[key];\n }\n }\n return newValues;\n}\n\nexport { scrapeMotionValuesFromProps };\n"],"mappings":"AAAA,SAASA,aAAa,QAAQ,YAAY;AAC1C,SAASC,mBAAmB,QAAQ,kDAAkD;AAEtF,SAASC,2BAA2BA,CAACC,KAAK,EAAEC,SAAS,EAAEC,aAAa,EAAE;EAClE,MAAM;IAAEC;EAAM,CAAC,GAAGH,KAAK;EACvB,MAAMI,SAAS,GAAG,CAAC,CAAC;EACpB,KAAK,MAAMC,GAAG,IAAIF,KAAK,EAAE;IAAA,IAAAG,qBAAA;IACrB,IAAIT,aAAa,CAACM,KAAK,CAACE,GAAG,CAAC,CAAC,IACxBJ,SAAS,CAACE,KAAK,IACZN,aAAa,CAACI,SAAS,CAACE,KAAK,CAACE,GAAG,CAAC,CAAE,IACxCP,mBAAmB,CAACO,GAAG,EAAEL,KAAK,CAAC,IAC/B,CAAAE,aAAa,aAAbA,aAAa,gBAAAI,qBAAA,GAAbJ,aAAa,CAAEK,QAAQ,CAACF,GAAG,CAAC,cAAAC,qBAAA,uBAA5BA,qBAAA,CAA8BE,SAAS,MAAKC,SAAS,EAAE;MACvDL,SAAS,CAACC,GAAG,CAAC,GAAGF,KAAK,CAACE,GAAG,CAAC;IAC/B;EACJ;EACA,OAAOD,SAAS;AACpB;AAEA,SAASL,2BAA2B","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}