[{"data":1,"prerenderedAt":6304},["ShallowReactive",2],{"content-/ai/real-time-generation":3,"related-ai":6274},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"keywords":10,"author":11,"date":12,"category":13,"image":14,"body":15,"_type":6268,"_id":6269,"_source":6270,"_file":6271,"_stem":6272,"_extension":6273},"/ai/real-time-generation","ai",false,"","实时生成","享受实时流式生成带来的即时反馈体验","实时生成, 流式输出, 即时反馈, HTMLPAGE","HTMLPAGE","2025-11-27","AI 技术","/content-images/ai/ai.jpg",{"type":16,"children":17,"toc":6239},"root",[18,26,33,39,48,505,515,540,545,553,984,992,1015,1021,1027,1035,1053,1061,1353,1359,1369,1387,1395,1574,1580,1590,1633,1641,1928,1934,1942,1960,1968,2298,2304,2309,2317,3080,3088,3594,3599,3607,4284,4292,4900,4906,4912,5063,5068,5076,5094,5102,5120,5126,5131,5139,5475,5480,5488,5506,5514,6020,6026,6031,6039,6057,6065,6083,6091,6109,6114,6122,6140,6148,6166,6172,6220,6224,6233],{"type":19,"tag":20,"props":21,"children":22},"element","p",{},[23],{"type":24,"value":25},"text","HTMLPAGE AI 的实时流式生成能力让你看到 AI 创作的全过程，并能在任何时刻进行干预和调整，提供前所未有的透明度和控制力。",{"type":19,"tag":27,"props":28,"children":30},"h2",{"id":29},"核心技术架构",[31],{"type":24,"value":32},"📌 核心技术架构",{"type":19,"tag":34,"props":35,"children":37},"h3",{"id":36},"流式计算引擎",[38],{"type":24,"value":36},{"type":19,"tag":20,"props":40,"children":41},{},[42],{"type":19,"tag":43,"props":44,"children":45},"strong",{},[46],{"type":24,"value":47},"分块处理机制",{"type":19,"tag":49,"props":50,"children":54},"pre",{"className":51,"code":52,"language":53,"meta":7,"style":7},"language-javascript shiki shiki-themes github-dark github-dark","// 实时生成流程示例\nconst realTimeGenerator = {\n  // 初始化生成器\n  initStream: function(prompt, options) {\n    return new ReadableStream({\n      async start(controller) {\n        // 第一阶段：结构生成\n        controller.enqueue({\n          type: 'structure',\n          data: '\u003Cdiv class=\"container\">',\n          progress: 5\n        });\n        \n        // 第二阶段：内容填充\n        controller.enqueue({\n          type: 'content',\n          data: '\u003Ch1>页面标题\u003C/h1>',\n          progress: 15\n        });\n        \n        // 第三阶段：样式应用\n        controller.enqueue({\n          type: 'styles',\n          data: 'CSS样式规则',\n          progress: 25\n        });\n      }\n    });\n  }\n};\n","javascript",[55],{"type":19,"tag":56,"props":57,"children":58},"code",{"__ignoreMap":7},[59,71,98,107,153,177,204,213,231,251,269,283,292,301,310,326,343,360,373,381,389,398,414,431,448,461,469,478,487,496],{"type":19,"tag":60,"props":61,"children":64},"span",{"class":62,"line":63},"line",1,[65],{"type":19,"tag":60,"props":66,"children":68},{"style":67},"--shiki-default:#6A737D;--shiki-dark:#6A737D",[69],{"type":24,"value":70},"// 实时生成流程示例\n",{"type":19,"tag":60,"props":72,"children":74},{"class":62,"line":73},2,[75,81,87,92],{"type":19,"tag":60,"props":76,"children":78},{"style":77},"--shiki-default:#F97583;--shiki-dark:#F97583",[79],{"type":24,"value":80},"const",{"type":19,"tag":60,"props":82,"children":84},{"style":83},"--shiki-default:#79B8FF;--shiki-dark:#79B8FF",[85],{"type":24,"value":86}," realTimeGenerator",{"type":19,"tag":60,"props":88,"children":89},{"style":77},[90],{"type":24,"value":91}," =",{"type":19,"tag":60,"props":93,"children":95},{"style":94},"--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8",[96],{"type":24,"value":97}," {\n",{"type":19,"tag":60,"props":99,"children":101},{"class":62,"line":100},3,[102],{"type":19,"tag":60,"props":103,"children":104},{"style":67},[105],{"type":24,"value":106},"  // 初始化生成器\n",{"type":19,"tag":60,"props":108,"children":110},{"class":62,"line":109},4,[111,117,122,127,132,138,143,148],{"type":19,"tag":60,"props":112,"children":114},{"style":113},"--shiki-default:#B392F0;--shiki-dark:#B392F0",[115],{"type":24,"value":116},"  initStream",{"type":19,"tag":60,"props":118,"children":119},{"style":94},[120],{"type":24,"value":121},": ",{"type":19,"tag":60,"props":123,"children":124},{"style":77},[125],{"type":24,"value":126},"function",{"type":19,"tag":60,"props":128,"children":129},{"style":94},[130],{"type":24,"value":131},"(",{"type":19,"tag":60,"props":133,"children":135},{"style":134},"--shiki-default:#FFAB70;--shiki-dark:#FFAB70",[136],{"type":24,"value":137},"prompt",{"type":19,"tag":60,"props":139,"children":140},{"style":94},[141],{"type":24,"value":142},", ",{"type":19,"tag":60,"props":144,"children":145},{"style":134},[146],{"type":24,"value":147},"options",{"type":19,"tag":60,"props":149,"children":150},{"style":94},[151],{"type":24,"value":152},") {\n",{"type":19,"tag":60,"props":154,"children":156},{"class":62,"line":155},5,[157,162,167,172],{"type":19,"tag":60,"props":158,"children":159},{"style":77},[160],{"type":24,"value":161},"    return",{"type":19,"tag":60,"props":163,"children":164},{"style":77},[165],{"type":24,"value":166}," new",{"type":19,"tag":60,"props":168,"children":169},{"style":113},[170],{"type":24,"value":171}," ReadableStream",{"type":19,"tag":60,"props":173,"children":174},{"style":94},[175],{"type":24,"value":176},"({\n",{"type":19,"tag":60,"props":178,"children":180},{"class":62,"line":179},6,[181,186,191,195,200],{"type":19,"tag":60,"props":182,"children":183},{"style":77},[184],{"type":24,"value":185},"      async",{"type":19,"tag":60,"props":187,"children":188},{"style":113},[189],{"type":24,"value":190}," start",{"type":19,"tag":60,"props":192,"children":193},{"style":94},[194],{"type":24,"value":131},{"type":19,"tag":60,"props":196,"children":197},{"style":134},[198],{"type":24,"value":199},"controller",{"type":19,"tag":60,"props":201,"children":202},{"style":94},[203],{"type":24,"value":152},{"type":19,"tag":60,"props":205,"children":207},{"class":62,"line":206},7,[208],{"type":19,"tag":60,"props":209,"children":210},{"style":67},[211],{"type":24,"value":212},"        // 第一阶段：结构生成\n",{"type":19,"tag":60,"props":214,"children":216},{"class":62,"line":215},8,[217,222,227],{"type":19,"tag":60,"props":218,"children":219},{"style":94},[220],{"type":24,"value":221},"        controller.",{"type":19,"tag":60,"props":223,"children":224},{"style":113},[225],{"type":24,"value":226},"enqueue",{"type":19,"tag":60,"props":228,"children":229},{"style":94},[230],{"type":24,"value":176},{"type":19,"tag":60,"props":232,"children":234},{"class":62,"line":233},9,[235,240,246],{"type":19,"tag":60,"props":236,"children":237},{"style":94},[238],{"type":24,"value":239},"          type: ",{"type":19,"tag":60,"props":241,"children":243},{"style":242},"--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF",[244],{"type":24,"value":245},"'structure'",{"type":19,"tag":60,"props":247,"children":248},{"style":94},[249],{"type":24,"value":250},",\n",{"type":19,"tag":60,"props":252,"children":254},{"class":62,"line":253},10,[255,260,265],{"type":19,"tag":60,"props":256,"children":257},{"style":94},[258],{"type":24,"value":259},"          data: ",{"type":19,"tag":60,"props":261,"children":262},{"style":242},[263],{"type":24,"value":264},"'\u003Cdiv class=\"container\">'",{"type":19,"tag":60,"props":266,"children":267},{"style":94},[268],{"type":24,"value":250},{"type":19,"tag":60,"props":270,"children":272},{"class":62,"line":271},11,[273,278],{"type":19,"tag":60,"props":274,"children":275},{"style":94},[276],{"type":24,"value":277},"          progress: ",{"type":19,"tag":60,"props":279,"children":280},{"style":83},[281],{"type":24,"value":282},"5\n",{"type":19,"tag":60,"props":284,"children":286},{"class":62,"line":285},12,[287],{"type":19,"tag":60,"props":288,"children":289},{"style":94},[290],{"type":24,"value":291},"        });\n",{"type":19,"tag":60,"props":293,"children":295},{"class":62,"line":294},13,[296],{"type":19,"tag":60,"props":297,"children":298},{"style":94},[299],{"type":24,"value":300},"        \n",{"type":19,"tag":60,"props":302,"children":304},{"class":62,"line":303},14,[305],{"type":19,"tag":60,"props":306,"children":307},{"style":67},[308],{"type":24,"value":309},"        // 第二阶段：内容填充\n",{"type":19,"tag":60,"props":311,"children":313},{"class":62,"line":312},15,[314,318,322],{"type":19,"tag":60,"props":315,"children":316},{"style":94},[317],{"type":24,"value":221},{"type":19,"tag":60,"props":319,"children":320},{"style":113},[321],{"type":24,"value":226},{"type":19,"tag":60,"props":323,"children":324},{"style":94},[325],{"type":24,"value":176},{"type":19,"tag":60,"props":327,"children":329},{"class":62,"line":328},16,[330,334,339],{"type":19,"tag":60,"props":331,"children":332},{"style":94},[333],{"type":24,"value":239},{"type":19,"tag":60,"props":335,"children":336},{"style":242},[337],{"type":24,"value":338},"'content'",{"type":19,"tag":60,"props":340,"children":341},{"style":94},[342],{"type":24,"value":250},{"type":19,"tag":60,"props":344,"children":346},{"class":62,"line":345},17,[347,351,356],{"type":19,"tag":60,"props":348,"children":349},{"style":94},[350],{"type":24,"value":259},{"type":19,"tag":60,"props":352,"children":353},{"style":242},[354],{"type":24,"value":355},"'\u003Ch1>页面标题\u003C/h1>'",{"type":19,"tag":60,"props":357,"children":358},{"style":94},[359],{"type":24,"value":250},{"type":19,"tag":60,"props":361,"children":363},{"class":62,"line":362},18,[364,368],{"type":19,"tag":60,"props":365,"children":366},{"style":94},[367],{"type":24,"value":277},{"type":19,"tag":60,"props":369,"children":370},{"style":83},[371],{"type":24,"value":372},"15\n",{"type":19,"tag":60,"props":374,"children":376},{"class":62,"line":375},19,[377],{"type":19,"tag":60,"props":378,"children":379},{"style":94},[380],{"type":24,"value":291},{"type":19,"tag":60,"props":382,"children":384},{"class":62,"line":383},20,[385],{"type":19,"tag":60,"props":386,"children":387},{"style":94},[388],{"type":24,"value":300},{"type":19,"tag":60,"props":390,"children":392},{"class":62,"line":391},21,[393],{"type":19,"tag":60,"props":394,"children":395},{"style":67},[396],{"type":24,"value":397},"        // 第三阶段：样式应用\n",{"type":19,"tag":60,"props":399,"children":401},{"class":62,"line":400},22,[402,406,410],{"type":19,"tag":60,"props":403,"children":404},{"style":94},[405],{"type":24,"value":221},{"type":19,"tag":60,"props":407,"children":408},{"style":113},[409],{"type":24,"value":226},{"type":19,"tag":60,"props":411,"children":412},{"style":94},[413],{"type":24,"value":176},{"type":19,"tag":60,"props":415,"children":417},{"class":62,"line":416},23,[418,422,427],{"type":19,"tag":60,"props":419,"children":420},{"style":94},[421],{"type":24,"value":239},{"type":19,"tag":60,"props":423,"children":424},{"style":242},[425],{"type":24,"value":426},"'styles'",{"type":19,"tag":60,"props":428,"children":429},{"style":94},[430],{"type":24,"value":250},{"type":19,"tag":60,"props":432,"children":434},{"class":62,"line":433},24,[435,439,444],{"type":19,"tag":60,"props":436,"children":437},{"style":94},[438],{"type":24,"value":259},{"type":19,"tag":60,"props":440,"children":441},{"style":242},[442],{"type":24,"value":443},"'CSS样式规则'",{"type":19,"tag":60,"props":445,"children":446},{"style":94},[447],{"type":24,"value":250},{"type":19,"tag":60,"props":449,"children":451},{"class":62,"line":450},25,[452,456],{"type":19,"tag":60,"props":453,"children":454},{"style":94},[455],{"type":24,"value":277},{"type":19,"tag":60,"props":457,"children":458},{"style":83},[459],{"type":24,"value":460},"25\n",{"type":19,"tag":60,"props":462,"children":464},{"class":62,"line":463},26,[465],{"type":19,"tag":60,"props":466,"children":467},{"style":94},[468],{"type":24,"value":291},{"type":19,"tag":60,"props":470,"children":472},{"class":62,"line":471},27,[473],{"type":19,"tag":60,"props":474,"children":475},{"style":94},[476],{"type":24,"value":477},"      }\n",{"type":19,"tag":60,"props":479,"children":481},{"class":62,"line":480},28,[482],{"type":19,"tag":60,"props":483,"children":484},{"style":94},[485],{"type":24,"value":486},"    });\n",{"type":19,"tag":60,"props":488,"children":490},{"class":62,"line":489},29,[491],{"type":19,"tag":60,"props":492,"children":493},{"style":94},[494],{"type":24,"value":495},"  }\n",{"type":19,"tag":60,"props":497,"children":499},{"class":62,"line":498},30,[500],{"type":19,"tag":60,"props":501,"children":502},{"style":94},[503],{"type":24,"value":504},"};\n",{"type":19,"tag":20,"props":506,"children":507},{},[508,513],{"type":19,"tag":43,"props":509,"children":510},{},[511],{"type":24,"value":512},"WebSocket实时通信",{"type":24,"value":514},"\n采用WebSocket协议确保低延迟的双向通信：",{"type":19,"tag":516,"props":517,"children":518},"ul",{},[519,525,530,535],{"type":19,"tag":520,"props":521,"children":522},"li",{},[523],{"type":24,"value":524},"客户端实时接收生成片段",{"type":19,"tag":520,"props":526,"children":527},{},[528],{"type":24,"value":529},"服务端接收用户干预指令",{"type":19,"tag":520,"props":531,"children":532},{},[533],{"type":24,"value":534},"支持断点续传和错误恢复",{"type":19,"tag":520,"props":536,"children":537},{},[538],{"type":24,"value":539},"自适应网络状况调整传输策略",{"type":19,"tag":34,"props":541,"children":543},{"id":542},"增量渲染系统",[544],{"type":24,"value":542},{"type":19,"tag":20,"props":546,"children":547},{},[548],{"type":19,"tag":43,"props":549,"children":550},{},[551],{"type":24,"value":552},"DOM增量更新",{"type":19,"tag":49,"props":554,"children":558},{"className":555,"code":556,"language":557,"meta":7,"style":7},"language-html shiki shiki-themes github-dark github-dark","\u003C!-- 阶段1：基础结构 -->\n\u003Cdiv id=\"page-container\" class=\"generating\">\n  \u003Cheader class=\"placeholder\">生成中...\u003C/header>\n\u003C/div>\n\n\u003C!-- 阶段2：内容填充 -->\n\u003Cdiv id=\"page-container\" class=\"generating\">\n  \u003Cheader>\n    \u003Ch1>欢迎来到我们的产品\u003C/h1>\n    \u003Cp class=\"placeholder\">副标题生成中...\u003C/p>\n  \u003C/header>\n\u003C/div>\n\n\u003C!-- 阶段3：完整内容 -->\n\u003Cdiv id=\"page-container\" class=\"complete\">\n  \u003Cheader>\n    \u003Ch1>欢迎来到我们的产品\u003C/h1>\n    \u003Cp>革新性解决方案，助力业务增长\u003C/p>\n  \u003C/header>\n\u003C/div>\n","html",[559],{"type":19,"tag":56,"props":560,"children":561},{"__ignoreMap":7},[562,570,618,657,673,682,690,729,744,770,806,822,837,844,852,892,907,930,954,969],{"type":19,"tag":60,"props":563,"children":564},{"class":62,"line":63},[565],{"type":19,"tag":60,"props":566,"children":567},{"style":67},[568],{"type":24,"value":569},"\u003C!-- 阶段1：基础结构 -->\n",{"type":19,"tag":60,"props":571,"children":572},{"class":62,"line":73},[573,578,584,589,594,599,604,608,613],{"type":19,"tag":60,"props":574,"children":575},{"style":94},[576],{"type":24,"value":577},"\u003C",{"type":19,"tag":60,"props":579,"children":581},{"style":580},"--shiki-default:#85E89D;--shiki-dark:#85E89D",[582],{"type":24,"value":583},"div",{"type":19,"tag":60,"props":585,"children":586},{"style":113},[587],{"type":24,"value":588}," id",{"type":19,"tag":60,"props":590,"children":591},{"style":94},[592],{"type":24,"value":593},"=",{"type":19,"tag":60,"props":595,"children":596},{"style":242},[597],{"type":24,"value":598},"\"page-container\"",{"type":19,"tag":60,"props":600,"children":601},{"style":113},[602],{"type":24,"value":603}," class",{"type":19,"tag":60,"props":605,"children":606},{"style":94},[607],{"type":24,"value":593},{"type":19,"tag":60,"props":609,"children":610},{"style":242},[611],{"type":24,"value":612},"\"generating\"",{"type":19,"tag":60,"props":614,"children":615},{"style":94},[616],{"type":24,"value":617},">\n",{"type":19,"tag":60,"props":619,"children":620},{"class":62,"line":100},[621,626,631,635,639,644,649,653],{"type":19,"tag":60,"props":622,"children":623},{"style":94},[624],{"type":24,"value":625},"  \u003C",{"type":19,"tag":60,"props":627,"children":628},{"style":580},[629],{"type":24,"value":630},"header",{"type":19,"tag":60,"props":632,"children":633},{"style":113},[634],{"type":24,"value":603},{"type":19,"tag":60,"props":636,"children":637},{"style":94},[638],{"type":24,"value":593},{"type":19,"tag":60,"props":640,"children":641},{"style":242},[642],{"type":24,"value":643},"\"placeholder\"",{"type":19,"tag":60,"props":645,"children":646},{"style":94},[647],{"type":24,"value":648},">生成中...\u003C/",{"type":19,"tag":60,"props":650,"children":651},{"style":580},[652],{"type":24,"value":630},{"type":19,"tag":60,"props":654,"children":655},{"style":94},[656],{"type":24,"value":617},{"type":19,"tag":60,"props":658,"children":659},{"class":62,"line":109},[660,665,669],{"type":19,"tag":60,"props":661,"children":662},{"style":94},[663],{"type":24,"value":664},"\u003C/",{"type":19,"tag":60,"props":666,"children":667},{"style":580},[668],{"type":24,"value":583},{"type":19,"tag":60,"props":670,"children":671},{"style":94},[672],{"type":24,"value":617},{"type":19,"tag":60,"props":674,"children":675},{"class":62,"line":155},[676],{"type":19,"tag":60,"props":677,"children":679},{"emptyLinePlaceholder":678},true,[680],{"type":24,"value":681},"\n",{"type":19,"tag":60,"props":683,"children":684},{"class":62,"line":179},[685],{"type":19,"tag":60,"props":686,"children":687},{"style":67},[688],{"type":24,"value":689},"\u003C!-- 阶段2：内容填充 -->\n",{"type":19,"tag":60,"props":691,"children":692},{"class":62,"line":206},[693,697,701,705,709,713,717,721,725],{"type":19,"tag":60,"props":694,"children":695},{"style":94},[696],{"type":24,"value":577},{"type":19,"tag":60,"props":698,"children":699},{"style":580},[700],{"type":24,"value":583},{"type":19,"tag":60,"props":702,"children":703},{"style":113},[704],{"type":24,"value":588},{"type":19,"tag":60,"props":706,"children":707},{"style":94},[708],{"type":24,"value":593},{"type":19,"tag":60,"props":710,"children":711},{"style":242},[712],{"type":24,"value":598},{"type":19,"tag":60,"props":714,"children":715},{"style":113},[716],{"type":24,"value":603},{"type":19,"tag":60,"props":718,"children":719},{"style":94},[720],{"type":24,"value":593},{"type":19,"tag":60,"props":722,"children":723},{"style":242},[724],{"type":24,"value":612},{"type":19,"tag":60,"props":726,"children":727},{"style":94},[728],{"type":24,"value":617},{"type":19,"tag":60,"props":730,"children":731},{"class":62,"line":215},[732,736,740],{"type":19,"tag":60,"props":733,"children":734},{"style":94},[735],{"type":24,"value":625},{"type":19,"tag":60,"props":737,"children":738},{"style":580},[739],{"type":24,"value":630},{"type":19,"tag":60,"props":741,"children":742},{"style":94},[743],{"type":24,"value":617},{"type":19,"tag":60,"props":745,"children":746},{"class":62,"line":233},[747,752,757,762,766],{"type":19,"tag":60,"props":748,"children":749},{"style":94},[750],{"type":24,"value":751},"    \u003C",{"type":19,"tag":60,"props":753,"children":754},{"style":580},[755],{"type":24,"value":756},"h1",{"type":19,"tag":60,"props":758,"children":759},{"style":94},[760],{"type":24,"value":761},">欢迎来到我们的产品\u003C/",{"type":19,"tag":60,"props":763,"children":764},{"style":580},[765],{"type":24,"value":756},{"type":19,"tag":60,"props":767,"children":768},{"style":94},[769],{"type":24,"value":617},{"type":19,"tag":60,"props":771,"children":772},{"class":62,"line":253},[773,777,781,785,789,793,798,802],{"type":19,"tag":60,"props":774,"children":775},{"style":94},[776],{"type":24,"value":751},{"type":19,"tag":60,"props":778,"children":779},{"style":580},[780],{"type":24,"value":20},{"type":19,"tag":60,"props":782,"children":783},{"style":113},[784],{"type":24,"value":603},{"type":19,"tag":60,"props":786,"children":787},{"style":94},[788],{"type":24,"value":593},{"type":19,"tag":60,"props":790,"children":791},{"style":242},[792],{"type":24,"value":643},{"type":19,"tag":60,"props":794,"children":795},{"style":94},[796],{"type":24,"value":797},">副标题生成中...\u003C/",{"type":19,"tag":60,"props":799,"children":800},{"style":580},[801],{"type":24,"value":20},{"type":19,"tag":60,"props":803,"children":804},{"style":94},[805],{"type":24,"value":617},{"type":19,"tag":60,"props":807,"children":808},{"class":62,"line":271},[809,814,818],{"type":19,"tag":60,"props":810,"children":811},{"style":94},[812],{"type":24,"value":813},"  \u003C/",{"type":19,"tag":60,"props":815,"children":816},{"style":580},[817],{"type":24,"value":630},{"type":19,"tag":60,"props":819,"children":820},{"style":94},[821],{"type":24,"value":617},{"type":19,"tag":60,"props":823,"children":824},{"class":62,"line":285},[825,829,833],{"type":19,"tag":60,"props":826,"children":827},{"style":94},[828],{"type":24,"value":664},{"type":19,"tag":60,"props":830,"children":831},{"style":580},[832],{"type":24,"value":583},{"type":19,"tag":60,"props":834,"children":835},{"style":94},[836],{"type":24,"value":617},{"type":19,"tag":60,"props":838,"children":839},{"class":62,"line":294},[840],{"type":19,"tag":60,"props":841,"children":842},{"emptyLinePlaceholder":678},[843],{"type":24,"value":681},{"type":19,"tag":60,"props":845,"children":846},{"class":62,"line":303},[847],{"type":19,"tag":60,"props":848,"children":849},{"style":67},[850],{"type":24,"value":851},"\u003C!-- 阶段3：完整内容 -->\n",{"type":19,"tag":60,"props":853,"children":854},{"class":62,"line":312},[855,859,863,867,871,875,879,883,888],{"type":19,"tag":60,"props":856,"children":857},{"style":94},[858],{"type":24,"value":577},{"type":19,"tag":60,"props":860,"children":861},{"style":580},[862],{"type":24,"value":583},{"type":19,"tag":60,"props":864,"children":865},{"style":113},[866],{"type":24,"value":588},{"type":19,"tag":60,"props":868,"children":869},{"style":94},[870],{"type":24,"value":593},{"type":19,"tag":60,"props":872,"children":873},{"style":242},[874],{"type":24,"value":598},{"type":19,"tag":60,"props":876,"children":877},{"style":113},[878],{"type":24,"value":603},{"type":19,"tag":60,"props":880,"children":881},{"style":94},[882],{"type":24,"value":593},{"type":19,"tag":60,"props":884,"children":885},{"style":242},[886],{"type":24,"value":887},"\"complete\"",{"type":19,"tag":60,"props":889,"children":890},{"style":94},[891],{"type":24,"value":617},{"type":19,"tag":60,"props":893,"children":894},{"class":62,"line":328},[895,899,903],{"type":19,"tag":60,"props":896,"children":897},{"style":94},[898],{"type":24,"value":625},{"type":19,"tag":60,"props":900,"children":901},{"style":580},[902],{"type":24,"value":630},{"type":19,"tag":60,"props":904,"children":905},{"style":94},[906],{"type":24,"value":617},{"type":19,"tag":60,"props":908,"children":909},{"class":62,"line":345},[910,914,918,922,926],{"type":19,"tag":60,"props":911,"children":912},{"style":94},[913],{"type":24,"value":751},{"type":19,"tag":60,"props":915,"children":916},{"style":580},[917],{"type":24,"value":756},{"type":19,"tag":60,"props":919,"children":920},{"style":94},[921],{"type":24,"value":761},{"type":19,"tag":60,"props":923,"children":924},{"style":580},[925],{"type":24,"value":756},{"type":19,"tag":60,"props":927,"children":928},{"style":94},[929],{"type":24,"value":617},{"type":19,"tag":60,"props":931,"children":932},{"class":62,"line":362},[933,937,941,946,950],{"type":19,"tag":60,"props":934,"children":935},{"style":94},[936],{"type":24,"value":751},{"type":19,"tag":60,"props":938,"children":939},{"style":580},[940],{"type":24,"value":20},{"type":19,"tag":60,"props":942,"children":943},{"style":94},[944],{"type":24,"value":945},">革新性解决方案，助力业务增长\u003C/",{"type":19,"tag":60,"props":947,"children":948},{"style":580},[949],{"type":24,"value":20},{"type":19,"tag":60,"props":951,"children":952},{"style":94},[953],{"type":24,"value":617},{"type":19,"tag":60,"props":955,"children":956},{"class":62,"line":375},[957,961,965],{"type":19,"tag":60,"props":958,"children":959},{"style":94},[960],{"type":24,"value":813},{"type":19,"tag":60,"props":962,"children":963},{"style":580},[964],{"type":24,"value":630},{"type":19,"tag":60,"props":966,"children":967},{"style":94},[968],{"type":24,"value":617},{"type":19,"tag":60,"props":970,"children":971},{"class":62,"line":383},[972,976,980],{"type":19,"tag":60,"props":973,"children":974},{"style":94},[975],{"type":24,"value":664},{"type":19,"tag":60,"props":977,"children":978},{"style":580},[979],{"type":24,"value":583},{"type":19,"tag":60,"props":981,"children":982},{"style":94},[983],{"type":24,"value":617},{"type":19,"tag":20,"props":985,"children":986},{},[987],{"type":19,"tag":43,"props":988,"children":989},{},[990],{"type":24,"value":991},"CSS渐进式加载",{"type":19,"tag":516,"props":993,"children":994},{},[995,1000,1005,1010],{"type":19,"tag":520,"props":996,"children":997},{},[998],{"type":24,"value":999},"关键样式优先加载",{"type":19,"tag":520,"props":1001,"children":1002},{},[1003],{"type":24,"value":1004},"视觉效果逐步增强",{"type":19,"tag":520,"props":1006,"children":1007},{},[1008],{"type":24,"value":1009},"动画和交互最后添加",{"type":19,"tag":520,"props":1011,"children":1012},{},[1013],{"type":24,"value":1014},"响应式样式智能适配",{"type":19,"tag":27,"props":1016,"children":1018},{"id":1017},"实时生成的深度优势",[1019],{"type":24,"value":1020},"🎯 实时生成的深度优势",{"type":19,"tag":34,"props":1022,"children":1024},{"id":1023},"_1-即时反馈与交互",[1025],{"type":24,"value":1026},"1. 即时反馈与交互",{"type":19,"tag":20,"props":1028,"children":1029},{},[1030],{"type":19,"tag":43,"props":1031,"children":1032},{},[1033],{"type":24,"value":1034},"毫秒级响应",{"type":19,"tag":516,"props":1036,"children":1037},{},[1038,1043,1048],{"type":19,"tag":520,"props":1039,"children":1040},{},[1041],{"type":24,"value":1042},"用户输入到首字节响应：\u003C200ms",{"type":19,"tag":520,"props":1044,"children":1045},{},[1046],{"type":24,"value":1047},"连续内容流输出延迟：\u003C50ms",{"type":19,"tag":520,"props":1049,"children":1050},{},[1051],{"type":24,"value":1052},"用户干预响应时间：\u003C100ms",{"type":19,"tag":20,"props":1054,"children":1055},{},[1056],{"type":19,"tag":43,"props":1057,"children":1058},{},[1059],{"type":24,"value":1060},"智能预测与预加载",{"type":19,"tag":49,"props":1062,"children":1066},{"className":1063,"code":1064,"language":1065,"meta":7,"style":7},"language-python shiki shiki-themes github-dark github-dark","class PredictiveGenerator:\n    def __init__(self):\n        self.context_history = []\n        self.user_preferences = {}\n    \n    def predict_next_section(self, current_context):\n        \"\"\"基于上下文预测下一个可能的内容段\"\"\"\n        predictions = self.ml_model.predict([\n            current_context,\n            self.user_preferences,\n            self.context_history[-5:]  # 最近5次交互\n        ])\n        \n        # 预生成高概率内容\n        for prediction in predictions[:3]:\n            if prediction.confidence > 0.7:\n                self.pre_generate(prediction.content_type)\n","python",[1067],{"type":19,"tag":56,"props":1068,"children":1069},{"__ignoreMap":7},[1070,1088,1106,1128,1149,1157,1174,1182,1204,1212,1225,1257,1265,1272,1280,1313,1340],{"type":19,"tag":60,"props":1071,"children":1072},{"class":62,"line":63},[1073,1078,1083],{"type":19,"tag":60,"props":1074,"children":1075},{"style":77},[1076],{"type":24,"value":1077},"class",{"type":19,"tag":60,"props":1079,"children":1080},{"style":113},[1081],{"type":24,"value":1082}," PredictiveGenerator",{"type":19,"tag":60,"props":1084,"children":1085},{"style":94},[1086],{"type":24,"value":1087},":\n",{"type":19,"tag":60,"props":1089,"children":1090},{"class":62,"line":73},[1091,1096,1101],{"type":19,"tag":60,"props":1092,"children":1093},{"style":77},[1094],{"type":24,"value":1095},"    def",{"type":19,"tag":60,"props":1097,"children":1098},{"style":83},[1099],{"type":24,"value":1100}," __init__",{"type":19,"tag":60,"props":1102,"children":1103},{"style":94},[1104],{"type":24,"value":1105},"(self):\n",{"type":19,"tag":60,"props":1107,"children":1108},{"class":62,"line":100},[1109,1114,1119,1123],{"type":19,"tag":60,"props":1110,"children":1111},{"style":83},[1112],{"type":24,"value":1113},"        self",{"type":19,"tag":60,"props":1115,"children":1116},{"style":94},[1117],{"type":24,"value":1118},".context_history ",{"type":19,"tag":60,"props":1120,"children":1121},{"style":77},[1122],{"type":24,"value":593},{"type":19,"tag":60,"props":1124,"children":1125},{"style":94},[1126],{"type":24,"value":1127}," []\n",{"type":19,"tag":60,"props":1129,"children":1130},{"class":62,"line":109},[1131,1135,1140,1144],{"type":19,"tag":60,"props":1132,"children":1133},{"style":83},[1134],{"type":24,"value":1113},{"type":19,"tag":60,"props":1136,"children":1137},{"style":94},[1138],{"type":24,"value":1139},".user_preferences ",{"type":19,"tag":60,"props":1141,"children":1142},{"style":77},[1143],{"type":24,"value":593},{"type":19,"tag":60,"props":1145,"children":1146},{"style":94},[1147],{"type":24,"value":1148}," {}\n",{"type":19,"tag":60,"props":1150,"children":1151},{"class":62,"line":155},[1152],{"type":19,"tag":60,"props":1153,"children":1154},{"style":94},[1155],{"type":24,"value":1156},"    \n",{"type":19,"tag":60,"props":1158,"children":1159},{"class":62,"line":179},[1160,1164,1169],{"type":19,"tag":60,"props":1161,"children":1162},{"style":77},[1163],{"type":24,"value":1095},{"type":19,"tag":60,"props":1165,"children":1166},{"style":113},[1167],{"type":24,"value":1168}," predict_next_section",{"type":19,"tag":60,"props":1170,"children":1171},{"style":94},[1172],{"type":24,"value":1173},"(self, current_context):\n",{"type":19,"tag":60,"props":1175,"children":1176},{"class":62,"line":206},[1177],{"type":19,"tag":60,"props":1178,"children":1179},{"style":242},[1180],{"type":24,"value":1181},"        \"\"\"基于上下文预测下一个可能的内容段\"\"\"\n",{"type":19,"tag":60,"props":1183,"children":1184},{"class":62,"line":215},[1185,1190,1194,1199],{"type":19,"tag":60,"props":1186,"children":1187},{"style":94},[1188],{"type":24,"value":1189},"        predictions ",{"type":19,"tag":60,"props":1191,"children":1192},{"style":77},[1193],{"type":24,"value":593},{"type":19,"tag":60,"props":1195,"children":1196},{"style":83},[1197],{"type":24,"value":1198}," self",{"type":19,"tag":60,"props":1200,"children":1201},{"style":94},[1202],{"type":24,"value":1203},".ml_model.predict([\n",{"type":19,"tag":60,"props":1205,"children":1206},{"class":62,"line":233},[1207],{"type":19,"tag":60,"props":1208,"children":1209},{"style":94},[1210],{"type":24,"value":1211},"            current_context,\n",{"type":19,"tag":60,"props":1213,"children":1214},{"class":62,"line":253},[1215,1220],{"type":19,"tag":60,"props":1216,"children":1217},{"style":83},[1218],{"type":24,"value":1219},"            self",{"type":19,"tag":60,"props":1221,"children":1222},{"style":94},[1223],{"type":24,"value":1224},".user_preferences,\n",{"type":19,"tag":60,"props":1226,"children":1227},{"class":62,"line":271},[1228,1232,1237,1242,1247,1252],{"type":19,"tag":60,"props":1229,"children":1230},{"style":83},[1231],{"type":24,"value":1219},{"type":19,"tag":60,"props":1233,"children":1234},{"style":94},[1235],{"type":24,"value":1236},".context_history[",{"type":19,"tag":60,"props":1238,"children":1239},{"style":77},[1240],{"type":24,"value":1241},"-",{"type":19,"tag":60,"props":1243,"children":1244},{"style":83},[1245],{"type":24,"value":1246},"5",{"type":19,"tag":60,"props":1248,"children":1249},{"style":94},[1250],{"type":24,"value":1251},":]  ",{"type":19,"tag":60,"props":1253,"children":1254},{"style":67},[1255],{"type":24,"value":1256},"# 最近5次交互\n",{"type":19,"tag":60,"props":1258,"children":1259},{"class":62,"line":285},[1260],{"type":19,"tag":60,"props":1261,"children":1262},{"style":94},[1263],{"type":24,"value":1264},"        ])\n",{"type":19,"tag":60,"props":1266,"children":1267},{"class":62,"line":294},[1268],{"type":19,"tag":60,"props":1269,"children":1270},{"style":94},[1271],{"type":24,"value":300},{"type":19,"tag":60,"props":1273,"children":1274},{"class":62,"line":303},[1275],{"type":19,"tag":60,"props":1276,"children":1277},{"style":67},[1278],{"type":24,"value":1279},"        # 预生成高概率内容\n",{"type":19,"tag":60,"props":1281,"children":1282},{"class":62,"line":312},[1283,1288,1293,1298,1303,1308],{"type":19,"tag":60,"props":1284,"children":1285},{"style":77},[1286],{"type":24,"value":1287},"        for",{"type":19,"tag":60,"props":1289,"children":1290},{"style":94},[1291],{"type":24,"value":1292}," prediction ",{"type":19,"tag":60,"props":1294,"children":1295},{"style":77},[1296],{"type":24,"value":1297},"in",{"type":19,"tag":60,"props":1299,"children":1300},{"style":94},[1301],{"type":24,"value":1302}," predictions[:",{"type":19,"tag":60,"props":1304,"children":1305},{"style":83},[1306],{"type":24,"value":1307},"3",{"type":19,"tag":60,"props":1309,"children":1310},{"style":94},[1311],{"type":24,"value":1312},"]:\n",{"type":19,"tag":60,"props":1314,"children":1315},{"class":62,"line":328},[1316,1321,1326,1331,1336],{"type":19,"tag":60,"props":1317,"children":1318},{"style":77},[1319],{"type":24,"value":1320},"            if",{"type":19,"tag":60,"props":1322,"children":1323},{"style":94},[1324],{"type":24,"value":1325}," prediction.confidence ",{"type":19,"tag":60,"props":1327,"children":1328},{"style":77},[1329],{"type":24,"value":1330},">",{"type":19,"tag":60,"props":1332,"children":1333},{"style":83},[1334],{"type":24,"value":1335}," 0.7",{"type":19,"tag":60,"props":1337,"children":1338},{"style":94},[1339],{"type":24,"value":1087},{"type":19,"tag":60,"props":1341,"children":1342},{"class":62,"line":345},[1343,1348],{"type":19,"tag":60,"props":1344,"children":1345},{"style":83},[1346],{"type":24,"value":1347},"                self",{"type":19,"tag":60,"props":1349,"children":1350},{"style":94},[1351],{"type":24,"value":1352},".pre_generate(prediction.content_type)\n",{"type":19,"tag":34,"props":1354,"children":1356},{"id":1355},"_2-过程可视化与学习",[1357],{"type":24,"value":1358},"2. 过程可视化与学习",{"type":19,"tag":20,"props":1360,"children":1361},{},[1362,1367],{"type":19,"tag":43,"props":1363,"children":1364},{},[1365],{"type":24,"value":1366},"生成步骤可视化",{"type":24,"value":1368},"\n提供清晰的进度指示器：",{"type":19,"tag":516,"props":1370,"children":1371},{},[1372,1377,1382],{"type":19,"tag":520,"props":1373,"children":1374},{},[1375],{"type":24,"value":1376},"当前阶段：结构规划 → 内容生成 → 样式设计 → 优化调整",{"type":19,"tag":520,"props":1378,"children":1379},{},[1380],{"type":24,"value":1381},"完成百分比：实时显示0-100%进度",{"type":19,"tag":520,"props":1383,"children":1384},{},[1385],{"type":24,"value":1386},"预计剩余时间：基于历史数据智能估算",{"type":19,"tag":20,"props":1388,"children":1389},{},[1390],{"type":19,"tag":43,"props":1391,"children":1392},{},[1393],{"type":24,"value":1394},"AI思考过程展示",{"type":19,"tag":49,"props":1396,"children":1400},{"className":1397,"code":1398,"language":1399,"meta":7,"style":7},"language-json shiki shiki-themes github-dark github-dark","{\n  \"thinking_process\": {\n    \"step\": \"内容策略制定\",\n    \"reasoning\": \"基于'SaaS产品'关键词，选择B2B营销策略\",\n    \"alternatives\": [\n      \"技术特性导向\",\n      \"ROI收益导向\", \n      \"用户体验导向\"\n    ],\n    \"selected\": \"ROI收益导向\",\n    \"confidence\": 0.85\n  }\n}\n","json",[1401],{"type":19,"tag":56,"props":1402,"children":1403},{"__ignoreMap":7},[1404,1412,1425,1446,1467,1480,1492,1505,1513,1521,1542,1559,1566],{"type":19,"tag":60,"props":1405,"children":1406},{"class":62,"line":63},[1407],{"type":19,"tag":60,"props":1408,"children":1409},{"style":94},[1410],{"type":24,"value":1411},"{\n",{"type":19,"tag":60,"props":1413,"children":1414},{"class":62,"line":73},[1415,1420],{"type":19,"tag":60,"props":1416,"children":1417},{"style":83},[1418],{"type":24,"value":1419},"  \"thinking_process\"",{"type":19,"tag":60,"props":1421,"children":1422},{"style":94},[1423],{"type":24,"value":1424},": {\n",{"type":19,"tag":60,"props":1426,"children":1427},{"class":62,"line":100},[1428,1433,1437,1442],{"type":19,"tag":60,"props":1429,"children":1430},{"style":83},[1431],{"type":24,"value":1432},"    \"step\"",{"type":19,"tag":60,"props":1434,"children":1435},{"style":94},[1436],{"type":24,"value":121},{"type":19,"tag":60,"props":1438,"children":1439},{"style":242},[1440],{"type":24,"value":1441},"\"内容策略制定\"",{"type":19,"tag":60,"props":1443,"children":1444},{"style":94},[1445],{"type":24,"value":250},{"type":19,"tag":60,"props":1447,"children":1448},{"class":62,"line":109},[1449,1454,1458,1463],{"type":19,"tag":60,"props":1450,"children":1451},{"style":83},[1452],{"type":24,"value":1453},"    \"reasoning\"",{"type":19,"tag":60,"props":1455,"children":1456},{"style":94},[1457],{"type":24,"value":121},{"type":19,"tag":60,"props":1459,"children":1460},{"style":242},[1461],{"type":24,"value":1462},"\"基于'SaaS产品'关键词，选择B2B营销策略\"",{"type":19,"tag":60,"props":1464,"children":1465},{"style":94},[1466],{"type":24,"value":250},{"type":19,"tag":60,"props":1468,"children":1469},{"class":62,"line":155},[1470,1475],{"type":19,"tag":60,"props":1471,"children":1472},{"style":83},[1473],{"type":24,"value":1474},"    \"alternatives\"",{"type":19,"tag":60,"props":1476,"children":1477},{"style":94},[1478],{"type":24,"value":1479},": [\n",{"type":19,"tag":60,"props":1481,"children":1482},{"class":62,"line":179},[1483,1488],{"type":19,"tag":60,"props":1484,"children":1485},{"style":242},[1486],{"type":24,"value":1487},"      \"技术特性导向\"",{"type":19,"tag":60,"props":1489,"children":1490},{"style":94},[1491],{"type":24,"value":250},{"type":19,"tag":60,"props":1493,"children":1494},{"class":62,"line":206},[1495,1500],{"type":19,"tag":60,"props":1496,"children":1497},{"style":242},[1498],{"type":24,"value":1499},"      \"ROI收益导向\"",{"type":19,"tag":60,"props":1501,"children":1502},{"style":94},[1503],{"type":24,"value":1504},", \n",{"type":19,"tag":60,"props":1506,"children":1507},{"class":62,"line":215},[1508],{"type":19,"tag":60,"props":1509,"children":1510},{"style":242},[1511],{"type":24,"value":1512},"      \"用户体验导向\"\n",{"type":19,"tag":60,"props":1514,"children":1515},{"class":62,"line":233},[1516],{"type":19,"tag":60,"props":1517,"children":1518},{"style":94},[1519],{"type":24,"value":1520},"    ],\n",{"type":19,"tag":60,"props":1522,"children":1523},{"class":62,"line":253},[1524,1529,1533,1538],{"type":19,"tag":60,"props":1525,"children":1526},{"style":83},[1527],{"type":24,"value":1528},"    \"selected\"",{"type":19,"tag":60,"props":1530,"children":1531},{"style":94},[1532],{"type":24,"value":121},{"type":19,"tag":60,"props":1534,"children":1535},{"style":242},[1536],{"type":24,"value":1537},"\"ROI收益导向\"",{"type":19,"tag":60,"props":1539,"children":1540},{"style":94},[1541],{"type":24,"value":250},{"type":19,"tag":60,"props":1543,"children":1544},{"class":62,"line":271},[1545,1550,1554],{"type":19,"tag":60,"props":1546,"children":1547},{"style":83},[1548],{"type":24,"value":1549},"    \"confidence\"",{"type":19,"tag":60,"props":1551,"children":1552},{"style":94},[1553],{"type":24,"value":121},{"type":19,"tag":60,"props":1555,"children":1556},{"style":83},[1557],{"type":24,"value":1558},"0.85\n",{"type":19,"tag":60,"props":1560,"children":1561},{"class":62,"line":285},[1562],{"type":19,"tag":60,"props":1563,"children":1564},{"style":94},[1565],{"type":24,"value":495},{"type":19,"tag":60,"props":1567,"children":1568},{"class":62,"line":294},[1569],{"type":19,"tag":60,"props":1570,"children":1571},{"style":94},[1572],{"type":24,"value":1573},"}\n",{"type":19,"tag":34,"props":1575,"children":1577},{"id":1576},"_3-智能中途干预",[1578],{"type":24,"value":1579},"3. 智能中途干预",{"type":19,"tag":20,"props":1581,"children":1582},{},[1583,1588],{"type":19,"tag":43,"props":1584,"children":1585},{},[1586],{"type":24,"value":1587},"细粒度控制点",{"type":24,"value":1589},"\n用户可以在任意时刻进行干预：",{"type":19,"tag":516,"props":1591,"children":1592},{},[1593,1603,1613,1623],{"type":19,"tag":520,"props":1594,"children":1595},{},[1596,1601],{"type":19,"tag":43,"props":1597,"children":1598},{},[1599],{"type":24,"value":1600},"结构阶段",{"type":24,"value":1602},"：修改布局方案",{"type":19,"tag":520,"props":1604,"children":1605},{},[1606,1611],{"type":19,"tag":43,"props":1607,"children":1608},{},[1609],{"type":24,"value":1610},"内容阶段",{"type":24,"value":1612},"：调整文案方向",{"type":19,"tag":520,"props":1614,"children":1615},{},[1616,1621],{"type":19,"tag":43,"props":1617,"children":1618},{},[1619],{"type":24,"value":1620},"样式阶段",{"type":24,"value":1622},"：变更视觉风格",{"type":19,"tag":520,"props":1624,"children":1625},{},[1626,1631],{"type":19,"tag":43,"props":1627,"children":1628},{},[1629],{"type":24,"value":1630},"优化阶段",{"type":24,"value":1632},"：微调细节效果",{"type":19,"tag":20,"props":1634,"children":1635},{},[1636],{"type":19,"tag":43,"props":1637,"children":1638},{},[1639],{"type":24,"value":1640},"干预影响分析",{"type":19,"tag":49,"props":1642,"children":1644},{"className":51,"code":1643,"language":53,"meta":7,"style":7},"const interventionAnalyzer = {\n  analyzeImpact: function(intervention, currentState) {\n    const impact = {\n      affected_sections: this.getAffectedSections(intervention),\n      regeneration_cost: this.calculateRegenerationTime(intervention),\n      quality_impact: this.assessQualityChange(intervention)\n    };\n    \n    return {\n      canProceed: impact.regeneration_cost \u003C 30, // 秒\n      recommendation: impact.quality_impact > 0 ? 'proceed' : 'suggest_alternative',\n      estimated_time: impact.regeneration_cost\n    };\n  }\n};\n",[1645],{"type":19,"tag":56,"props":1646,"children":1647},{"__ignoreMap":7},[1648,1668,1706,1727,1755,1780,1806,1814,1821,1832,1858,1899,1907,1914,1921],{"type":19,"tag":60,"props":1649,"children":1650},{"class":62,"line":63},[1651,1655,1660,1664],{"type":19,"tag":60,"props":1652,"children":1653},{"style":77},[1654],{"type":24,"value":80},{"type":19,"tag":60,"props":1656,"children":1657},{"style":83},[1658],{"type":24,"value":1659}," interventionAnalyzer",{"type":19,"tag":60,"props":1661,"children":1662},{"style":77},[1663],{"type":24,"value":91},{"type":19,"tag":60,"props":1665,"children":1666},{"style":94},[1667],{"type":24,"value":97},{"type":19,"tag":60,"props":1669,"children":1670},{"class":62,"line":73},[1671,1676,1680,1684,1688,1693,1697,1702],{"type":19,"tag":60,"props":1672,"children":1673},{"style":113},[1674],{"type":24,"value":1675},"  analyzeImpact",{"type":19,"tag":60,"props":1677,"children":1678},{"style":94},[1679],{"type":24,"value":121},{"type":19,"tag":60,"props":1681,"children":1682},{"style":77},[1683],{"type":24,"value":126},{"type":19,"tag":60,"props":1685,"children":1686},{"style":94},[1687],{"type":24,"value":131},{"type":19,"tag":60,"props":1689,"children":1690},{"style":134},[1691],{"type":24,"value":1692},"intervention",{"type":19,"tag":60,"props":1694,"children":1695},{"style":94},[1696],{"type":24,"value":142},{"type":19,"tag":60,"props":1698,"children":1699},{"style":134},[1700],{"type":24,"value":1701},"currentState",{"type":19,"tag":60,"props":1703,"children":1704},{"style":94},[1705],{"type":24,"value":152},{"type":19,"tag":60,"props":1707,"children":1708},{"class":62,"line":100},[1709,1714,1719,1723],{"type":19,"tag":60,"props":1710,"children":1711},{"style":77},[1712],{"type":24,"value":1713},"    const",{"type":19,"tag":60,"props":1715,"children":1716},{"style":83},[1717],{"type":24,"value":1718}," impact",{"type":19,"tag":60,"props":1720,"children":1721},{"style":77},[1722],{"type":24,"value":91},{"type":19,"tag":60,"props":1724,"children":1725},{"style":94},[1726],{"type":24,"value":97},{"type":19,"tag":60,"props":1728,"children":1729},{"class":62,"line":109},[1730,1735,1740,1745,1750],{"type":19,"tag":60,"props":1731,"children":1732},{"style":94},[1733],{"type":24,"value":1734},"      affected_sections: ",{"type":19,"tag":60,"props":1736,"children":1737},{"style":83},[1738],{"type":24,"value":1739},"this",{"type":19,"tag":60,"props":1741,"children":1742},{"style":94},[1743],{"type":24,"value":1744},".",{"type":19,"tag":60,"props":1746,"children":1747},{"style":113},[1748],{"type":24,"value":1749},"getAffectedSections",{"type":19,"tag":60,"props":1751,"children":1752},{"style":94},[1753],{"type":24,"value":1754},"(intervention),\n",{"type":19,"tag":60,"props":1756,"children":1757},{"class":62,"line":155},[1758,1763,1767,1771,1776],{"type":19,"tag":60,"props":1759,"children":1760},{"style":94},[1761],{"type":24,"value":1762},"      regeneration_cost: ",{"type":19,"tag":60,"props":1764,"children":1765},{"style":83},[1766],{"type":24,"value":1739},{"type":19,"tag":60,"props":1768,"children":1769},{"style":94},[1770],{"type":24,"value":1744},{"type":19,"tag":60,"props":1772,"children":1773},{"style":113},[1774],{"type":24,"value":1775},"calculateRegenerationTime",{"type":19,"tag":60,"props":1777,"children":1778},{"style":94},[1779],{"type":24,"value":1754},{"type":19,"tag":60,"props":1781,"children":1782},{"class":62,"line":179},[1783,1788,1792,1796,1801],{"type":19,"tag":60,"props":1784,"children":1785},{"style":94},[1786],{"type":24,"value":1787},"      quality_impact: ",{"type":19,"tag":60,"props":1789,"children":1790},{"style":83},[1791],{"type":24,"value":1739},{"type":19,"tag":60,"props":1793,"children":1794},{"style":94},[1795],{"type":24,"value":1744},{"type":19,"tag":60,"props":1797,"children":1798},{"style":113},[1799],{"type":24,"value":1800},"assessQualityChange",{"type":19,"tag":60,"props":1802,"children":1803},{"style":94},[1804],{"type":24,"value":1805},"(intervention)\n",{"type":19,"tag":60,"props":1807,"children":1808},{"class":62,"line":206},[1809],{"type":19,"tag":60,"props":1810,"children":1811},{"style":94},[1812],{"type":24,"value":1813},"    };\n",{"type":19,"tag":60,"props":1815,"children":1816},{"class":62,"line":215},[1817],{"type":19,"tag":60,"props":1818,"children":1819},{"style":94},[1820],{"type":24,"value":1156},{"type":19,"tag":60,"props":1822,"children":1823},{"class":62,"line":233},[1824,1828],{"type":19,"tag":60,"props":1825,"children":1826},{"style":77},[1827],{"type":24,"value":161},{"type":19,"tag":60,"props":1829,"children":1830},{"style":94},[1831],{"type":24,"value":97},{"type":19,"tag":60,"props":1833,"children":1834},{"class":62,"line":253},[1835,1840,1844,1849,1853],{"type":19,"tag":60,"props":1836,"children":1837},{"style":94},[1838],{"type":24,"value":1839},"      canProceed: impact.regeneration_cost ",{"type":19,"tag":60,"props":1841,"children":1842},{"style":77},[1843],{"type":24,"value":577},{"type":19,"tag":60,"props":1845,"children":1846},{"style":83},[1847],{"type":24,"value":1848}," 30",{"type":19,"tag":60,"props":1850,"children":1851},{"style":94},[1852],{"type":24,"value":142},{"type":19,"tag":60,"props":1854,"children":1855},{"style":67},[1856],{"type":24,"value":1857},"// 秒\n",{"type":19,"tag":60,"props":1859,"children":1860},{"class":62,"line":271},[1861,1866,1870,1875,1880,1885,1890,1895],{"type":19,"tag":60,"props":1862,"children":1863},{"style":94},[1864],{"type":24,"value":1865},"      recommendation: impact.quality_impact ",{"type":19,"tag":60,"props":1867,"children":1868},{"style":77},[1869],{"type":24,"value":1330},{"type":19,"tag":60,"props":1871,"children":1872},{"style":83},[1873],{"type":24,"value":1874}," 0",{"type":19,"tag":60,"props":1876,"children":1877},{"style":77},[1878],{"type":24,"value":1879}," ?",{"type":19,"tag":60,"props":1881,"children":1882},{"style":242},[1883],{"type":24,"value":1884}," 'proceed'",{"type":19,"tag":60,"props":1886,"children":1887},{"style":77},[1888],{"type":24,"value":1889}," :",{"type":19,"tag":60,"props":1891,"children":1892},{"style":242},[1893],{"type":24,"value":1894}," 'suggest_alternative'",{"type":19,"tag":60,"props":1896,"children":1897},{"style":94},[1898],{"type":24,"value":250},{"type":19,"tag":60,"props":1900,"children":1901},{"class":62,"line":285},[1902],{"type":19,"tag":60,"props":1903,"children":1904},{"style":94},[1905],{"type":24,"value":1906},"      estimated_time: impact.regeneration_cost\n",{"type":19,"tag":60,"props":1908,"children":1909},{"class":62,"line":294},[1910],{"type":19,"tag":60,"props":1911,"children":1912},{"style":94},[1913],{"type":24,"value":1813},{"type":19,"tag":60,"props":1915,"children":1916},{"class":62,"line":303},[1917],{"type":19,"tag":60,"props":1918,"children":1919},{"style":94},[1920],{"type":24,"value":495},{"type":19,"tag":60,"props":1922,"children":1923},{"class":62,"line":312},[1924],{"type":19,"tag":60,"props":1925,"children":1926},{"style":94},[1927],{"type":24,"value":504},{"type":19,"tag":34,"props":1929,"children":1931},{"id":1930},"_4-自适应性能优化",[1932],{"type":24,"value":1933},"4. 自适应性能优化",{"type":19,"tag":20,"props":1935,"children":1936},{},[1937],{"type":19,"tag":43,"props":1938,"children":1939},{},[1940],{"type":24,"value":1941},"网络状况自适应",{"type":19,"tag":516,"props":1943,"children":1944},{},[1945,1950,1955],{"type":19,"tag":520,"props":1946,"children":1947},{},[1948],{"type":24,"value":1949},"高速网络：高频率小片段传输",{"type":19,"tag":520,"props":1951,"children":1952},{},[1953],{"type":24,"value":1954},"中速网络：中频率中等片段",{"type":19,"tag":520,"props":1956,"children":1957},{},[1958],{"type":24,"value":1959},"慢速网络：低频率大片段缓存",{"type":19,"tag":20,"props":1961,"children":1962},{},[1963],{"type":19,"tag":43,"props":1964,"children":1965},{},[1966],{"type":24,"value":1967},"设备性能匹配",{"type":19,"tag":49,"props":1969,"children":1971},{"className":51,"code":1970,"language":53,"meta":7,"style":7},"const performanceAdapter = {\n  detectCapability: function() {\n    const capability = {\n      cpu_cores: navigator.hardwareConcurrency || 4,\n      memory: navigator.deviceMemory || 4,\n      connection: navigator.connection?.effectiveType || '4g'\n    };\n    \n    // 根据设备能力调整生成策略\n    if (capability.cpu_cores >= 8 && capability.memory >= 8) {\n      return 'high_performance'; // 并行生成多个版本\n    } else if (capability.cpu_cores >= 4) {\n      return 'balanced'; // 平衡生成\n    } else {\n      return 'conservative'; // 保守生成\n    }\n  }\n};\n",[1972],{"type":19,"tag":56,"props":1973,"children":1974},{"__ignoreMap":7},[1975,1995,2016,2036,2058,2078,2095,2102,2109,2117,2162,2185,2219,2240,2255,2276,2284,2291],{"type":19,"tag":60,"props":1976,"children":1977},{"class":62,"line":63},[1978,1982,1987,1991],{"type":19,"tag":60,"props":1979,"children":1980},{"style":77},[1981],{"type":24,"value":80},{"type":19,"tag":60,"props":1983,"children":1984},{"style":83},[1985],{"type":24,"value":1986}," performanceAdapter",{"type":19,"tag":60,"props":1988,"children":1989},{"style":77},[1990],{"type":24,"value":91},{"type":19,"tag":60,"props":1992,"children":1993},{"style":94},[1994],{"type":24,"value":97},{"type":19,"tag":60,"props":1996,"children":1997},{"class":62,"line":73},[1998,2003,2007,2011],{"type":19,"tag":60,"props":1999,"children":2000},{"style":113},[2001],{"type":24,"value":2002},"  detectCapability",{"type":19,"tag":60,"props":2004,"children":2005},{"style":94},[2006],{"type":24,"value":121},{"type":19,"tag":60,"props":2008,"children":2009},{"style":77},[2010],{"type":24,"value":126},{"type":19,"tag":60,"props":2012,"children":2013},{"style":94},[2014],{"type":24,"value":2015},"() {\n",{"type":19,"tag":60,"props":2017,"children":2018},{"class":62,"line":100},[2019,2023,2028,2032],{"type":19,"tag":60,"props":2020,"children":2021},{"style":77},[2022],{"type":24,"value":1713},{"type":19,"tag":60,"props":2024,"children":2025},{"style":83},[2026],{"type":24,"value":2027}," capability",{"type":19,"tag":60,"props":2029,"children":2030},{"style":77},[2031],{"type":24,"value":91},{"type":19,"tag":60,"props":2033,"children":2034},{"style":94},[2035],{"type":24,"value":97},{"type":19,"tag":60,"props":2037,"children":2038},{"class":62,"line":109},[2039,2044,2049,2054],{"type":19,"tag":60,"props":2040,"children":2041},{"style":94},[2042],{"type":24,"value":2043},"      cpu_cores: navigator.hardwareConcurrency ",{"type":19,"tag":60,"props":2045,"children":2046},{"style":77},[2047],{"type":24,"value":2048},"||",{"type":19,"tag":60,"props":2050,"children":2051},{"style":83},[2052],{"type":24,"value":2053}," 4",{"type":19,"tag":60,"props":2055,"children":2056},{"style":94},[2057],{"type":24,"value":250},{"type":19,"tag":60,"props":2059,"children":2060},{"class":62,"line":155},[2061,2066,2070,2074],{"type":19,"tag":60,"props":2062,"children":2063},{"style":94},[2064],{"type":24,"value":2065},"      memory: navigator.deviceMemory ",{"type":19,"tag":60,"props":2067,"children":2068},{"style":77},[2069],{"type":24,"value":2048},{"type":19,"tag":60,"props":2071,"children":2072},{"style":83},[2073],{"type":24,"value":2053},{"type":19,"tag":60,"props":2075,"children":2076},{"style":94},[2077],{"type":24,"value":250},{"type":19,"tag":60,"props":2079,"children":2080},{"class":62,"line":179},[2081,2086,2090],{"type":19,"tag":60,"props":2082,"children":2083},{"style":94},[2084],{"type":24,"value":2085},"      connection: navigator.connection?.effectiveType ",{"type":19,"tag":60,"props":2087,"children":2088},{"style":77},[2089],{"type":24,"value":2048},{"type":19,"tag":60,"props":2091,"children":2092},{"style":242},[2093],{"type":24,"value":2094}," '4g'\n",{"type":19,"tag":60,"props":2096,"children":2097},{"class":62,"line":206},[2098],{"type":19,"tag":60,"props":2099,"children":2100},{"style":94},[2101],{"type":24,"value":1813},{"type":19,"tag":60,"props":2103,"children":2104},{"class":62,"line":215},[2105],{"type":19,"tag":60,"props":2106,"children":2107},{"style":94},[2108],{"type":24,"value":1156},{"type":19,"tag":60,"props":2110,"children":2111},{"class":62,"line":233},[2112],{"type":19,"tag":60,"props":2113,"children":2114},{"style":67},[2115],{"type":24,"value":2116},"    // 根据设备能力调整生成策略\n",{"type":19,"tag":60,"props":2118,"children":2119},{"class":62,"line":253},[2120,2125,2130,2135,2140,2145,2150,2154,2158],{"type":19,"tag":60,"props":2121,"children":2122},{"style":77},[2123],{"type":24,"value":2124},"    if",{"type":19,"tag":60,"props":2126,"children":2127},{"style":94},[2128],{"type":24,"value":2129}," (capability.cpu_cores ",{"type":19,"tag":60,"props":2131,"children":2132},{"style":77},[2133],{"type":24,"value":2134},">=",{"type":19,"tag":60,"props":2136,"children":2137},{"style":83},[2138],{"type":24,"value":2139}," 8",{"type":19,"tag":60,"props":2141,"children":2142},{"style":77},[2143],{"type":24,"value":2144}," &&",{"type":19,"tag":60,"props":2146,"children":2147},{"style":94},[2148],{"type":24,"value":2149}," capability.memory ",{"type":19,"tag":60,"props":2151,"children":2152},{"style":77},[2153],{"type":24,"value":2134},{"type":19,"tag":60,"props":2155,"children":2156},{"style":83},[2157],{"type":24,"value":2139},{"type":19,"tag":60,"props":2159,"children":2160},{"style":94},[2161],{"type":24,"value":152},{"type":19,"tag":60,"props":2163,"children":2164},{"class":62,"line":271},[2165,2170,2175,2180],{"type":19,"tag":60,"props":2166,"children":2167},{"style":77},[2168],{"type":24,"value":2169},"      return",{"type":19,"tag":60,"props":2171,"children":2172},{"style":242},[2173],{"type":24,"value":2174}," 'high_performance'",{"type":19,"tag":60,"props":2176,"children":2177},{"style":94},[2178],{"type":24,"value":2179},"; ",{"type":19,"tag":60,"props":2181,"children":2182},{"style":67},[2183],{"type":24,"value":2184},"// 并行生成多个版本\n",{"type":19,"tag":60,"props":2186,"children":2187},{"class":62,"line":285},[2188,2193,2198,2203,2207,2211,2215],{"type":19,"tag":60,"props":2189,"children":2190},{"style":94},[2191],{"type":24,"value":2192},"    } ",{"type":19,"tag":60,"props":2194,"children":2195},{"style":77},[2196],{"type":24,"value":2197},"else",{"type":19,"tag":60,"props":2199,"children":2200},{"style":77},[2201],{"type":24,"value":2202}," if",{"type":19,"tag":60,"props":2204,"children":2205},{"style":94},[2206],{"type":24,"value":2129},{"type":19,"tag":60,"props":2208,"children":2209},{"style":77},[2210],{"type":24,"value":2134},{"type":19,"tag":60,"props":2212,"children":2213},{"style":83},[2214],{"type":24,"value":2053},{"type":19,"tag":60,"props":2216,"children":2217},{"style":94},[2218],{"type":24,"value":152},{"type":19,"tag":60,"props":2220,"children":2221},{"class":62,"line":294},[2222,2226,2231,2235],{"type":19,"tag":60,"props":2223,"children":2224},{"style":77},[2225],{"type":24,"value":2169},{"type":19,"tag":60,"props":2227,"children":2228},{"style":242},[2229],{"type":24,"value":2230}," 'balanced'",{"type":19,"tag":60,"props":2232,"children":2233},{"style":94},[2234],{"type":24,"value":2179},{"type":19,"tag":60,"props":2236,"children":2237},{"style":67},[2238],{"type":24,"value":2239},"// 平衡生成\n",{"type":19,"tag":60,"props":2241,"children":2242},{"class":62,"line":303},[2243,2247,2251],{"type":19,"tag":60,"props":2244,"children":2245},{"style":94},[2246],{"type":24,"value":2192},{"type":19,"tag":60,"props":2248,"children":2249},{"style":77},[2250],{"type":24,"value":2197},{"type":19,"tag":60,"props":2252,"children":2253},{"style":94},[2254],{"type":24,"value":97},{"type":19,"tag":60,"props":2256,"children":2257},{"class":62,"line":312},[2258,2262,2267,2271],{"type":19,"tag":60,"props":2259,"children":2260},{"style":77},[2261],{"type":24,"value":2169},{"type":19,"tag":60,"props":2263,"children":2264},{"style":242},[2265],{"type":24,"value":2266}," 'conservative'",{"type":19,"tag":60,"props":2268,"children":2269},{"style":94},[2270],{"type":24,"value":2179},{"type":19,"tag":60,"props":2272,"children":2273},{"style":67},[2274],{"type":24,"value":2275},"// 保守生成\n",{"type":19,"tag":60,"props":2277,"children":2278},{"class":62,"line":328},[2279],{"type":19,"tag":60,"props":2280,"children":2281},{"style":94},[2282],{"type":24,"value":2283},"    }\n",{"type":19,"tag":60,"props":2285,"children":2286},{"class":62,"line":345},[2287],{"type":19,"tag":60,"props":2288,"children":2289},{"style":94},[2290],{"type":24,"value":495},{"type":19,"tag":60,"props":2292,"children":2293},{"class":62,"line":362},[2294],{"type":19,"tag":60,"props":2295,"children":2296},{"style":94},[2297],{"type":24,"value":504},{"type":19,"tag":27,"props":2299,"children":2301},{"id":2300},"技术实现详解",[2302],{"type":24,"value":2303},"💻 技术实现详解",{"type":19,"tag":34,"props":2305,"children":2307},{"id":2306},"前端实时渲染",[2308],{"type":24,"value":2306},{"type":19,"tag":20,"props":2310,"children":2311},{},[2312],{"type":19,"tag":43,"props":2313,"children":2314},{},[2315],{"type":24,"value":2316},"React Stream渲染",{"type":19,"tag":49,"props":2318,"children":2322},{"className":2319,"code":2320,"language":2321,"meta":7,"style":7},"language-jsx shiki shiki-themes github-dark github-dark","import { Suspense } from 'react';\n\nfunction RealTimePageBuilder({ streamSource }) {\n  return (\n    \u003Cdiv className=\"real-time-canvas\">\n      \u003CSuspense fallback={\u003CGeneratingPlaceholder />}>\n        \u003CStreamingContent source={streamSource}>\n          {(chunk, isComplete) => (\n            \u003CPageSection \n              content={chunk} \n              className={isComplete ? 'complete' : 'generating'}\n            />\n          )}\n        \u003C/StreamingContent>\n      \u003C/Suspense>\n    \u003C/div>\n  );\n}\n\nfunction GeneratingPlaceholder() {\n  return (\n    \u003Cdiv className=\"placeholder-container\">\n      \u003Cdiv className=\"skeleton-loader\">\n        \u003Cdiv className=\"skeleton-header\">\u003C/div>\n        \u003Cdiv className=\"skeleton-content\">\u003C/div>\n        \u003Cdiv className=\"skeleton-sidebar\">\u003C/div>\n      \u003C/div>\n      \u003Cdiv className=\"progress-indicator\">\n        \u003Cspan>AI正在思考...\u003C/span>\n        \u003Cdiv className=\"progress-bar\">\n          \u003Cdiv className=\"progress-fill\">\u003C/div>\n        \u003C/div>\n      \u003C/div>\n    \u003C/div>\n  );\n}\n","jsx",[2323],{"type":19,"tag":56,"props":2324,"children":2325},{"__ignoreMap":7},[2326,2354,2361,2388,2401,2430,2467,2494,2530,2548,2565,2605,2613,2621,2637,2653,2669,2677,2684,2691,2707,2718,2746,2774,2811,2847,2883,2898,2926,2950,2978,3016,3032,3048,3064,3072],{"type":19,"tag":60,"props":2327,"children":2328},{"class":62,"line":63},[2329,2334,2339,2344,2349],{"type":19,"tag":60,"props":2330,"children":2331},{"style":77},[2332],{"type":24,"value":2333},"import",{"type":19,"tag":60,"props":2335,"children":2336},{"style":94},[2337],{"type":24,"value":2338}," { Suspense } ",{"type":19,"tag":60,"props":2340,"children":2341},{"style":77},[2342],{"type":24,"value":2343},"from",{"type":19,"tag":60,"props":2345,"children":2346},{"style":242},[2347],{"type":24,"value":2348}," 'react'",{"type":19,"tag":60,"props":2350,"children":2351},{"style":94},[2352],{"type":24,"value":2353},";\n",{"type":19,"tag":60,"props":2355,"children":2356},{"class":62,"line":73},[2357],{"type":19,"tag":60,"props":2358,"children":2359},{"emptyLinePlaceholder":678},[2360],{"type":24,"value":681},{"type":19,"tag":60,"props":2362,"children":2363},{"class":62,"line":100},[2364,2368,2373,2378,2383],{"type":19,"tag":60,"props":2365,"children":2366},{"style":77},[2367],{"type":24,"value":126},{"type":19,"tag":60,"props":2369,"children":2370},{"style":113},[2371],{"type":24,"value":2372}," RealTimePageBuilder",{"type":19,"tag":60,"props":2374,"children":2375},{"style":94},[2376],{"type":24,"value":2377},"({ ",{"type":19,"tag":60,"props":2379,"children":2380},{"style":134},[2381],{"type":24,"value":2382},"streamSource",{"type":19,"tag":60,"props":2384,"children":2385},{"style":94},[2386],{"type":24,"value":2387}," }) {\n",{"type":19,"tag":60,"props":2389,"children":2390},{"class":62,"line":109},[2391,2396],{"type":19,"tag":60,"props":2392,"children":2393},{"style":77},[2394],{"type":24,"value":2395},"  return",{"type":19,"tag":60,"props":2397,"children":2398},{"style":94},[2399],{"type":24,"value":2400}," (\n",{"type":19,"tag":60,"props":2402,"children":2403},{"class":62,"line":155},[2404,2408,2412,2417,2421,2426],{"type":19,"tag":60,"props":2405,"children":2406},{"style":94},[2407],{"type":24,"value":751},{"type":19,"tag":60,"props":2409,"children":2410},{"style":580},[2411],{"type":24,"value":583},{"type":19,"tag":60,"props":2413,"children":2414},{"style":113},[2415],{"type":24,"value":2416}," className",{"type":19,"tag":60,"props":2418,"children":2419},{"style":77},[2420],{"type":24,"value":593},{"type":19,"tag":60,"props":2422,"children":2423},{"style":242},[2424],{"type":24,"value":2425},"\"real-time-canvas\"",{"type":19,"tag":60,"props":2427,"children":2428},{"style":94},[2429],{"type":24,"value":617},{"type":19,"tag":60,"props":2431,"children":2432},{"class":62,"line":179},[2433,2438,2443,2448,2452,2457,2462],{"type":19,"tag":60,"props":2434,"children":2435},{"style":94},[2436],{"type":24,"value":2437},"      \u003C",{"type":19,"tag":60,"props":2439,"children":2440},{"style":83},[2441],{"type":24,"value":2442},"Suspense",{"type":19,"tag":60,"props":2444,"children":2445},{"style":113},[2446],{"type":24,"value":2447}," fallback",{"type":19,"tag":60,"props":2449,"children":2450},{"style":77},[2451],{"type":24,"value":593},{"type":19,"tag":60,"props":2453,"children":2454},{"style":94},[2455],{"type":24,"value":2456},"{\u003C",{"type":19,"tag":60,"props":2458,"children":2459},{"style":83},[2460],{"type":24,"value":2461},"GeneratingPlaceholder",{"type":19,"tag":60,"props":2463,"children":2464},{"style":94},[2465],{"type":24,"value":2466}," />}>\n",{"type":19,"tag":60,"props":2468,"children":2469},{"class":62,"line":206},[2470,2475,2480,2485,2489],{"type":19,"tag":60,"props":2471,"children":2472},{"style":94},[2473],{"type":24,"value":2474},"        \u003C",{"type":19,"tag":60,"props":2476,"children":2477},{"style":83},[2478],{"type":24,"value":2479},"StreamingContent",{"type":19,"tag":60,"props":2481,"children":2482},{"style":113},[2483],{"type":24,"value":2484}," source",{"type":19,"tag":60,"props":2486,"children":2487},{"style":77},[2488],{"type":24,"value":593},{"type":19,"tag":60,"props":2490,"children":2491},{"style":94},[2492],{"type":24,"value":2493},"{streamSource}>\n",{"type":19,"tag":60,"props":2495,"children":2496},{"class":62,"line":215},[2497,2502,2507,2511,2516,2521,2526],{"type":19,"tag":60,"props":2498,"children":2499},{"style":94},[2500],{"type":24,"value":2501},"          {(",{"type":19,"tag":60,"props":2503,"children":2504},{"style":134},[2505],{"type":24,"value":2506},"chunk",{"type":19,"tag":60,"props":2508,"children":2509},{"style":94},[2510],{"type":24,"value":142},{"type":19,"tag":60,"props":2512,"children":2513},{"style":134},[2514],{"type":24,"value":2515},"isComplete",{"type":19,"tag":60,"props":2517,"children":2518},{"style":94},[2519],{"type":24,"value":2520},") ",{"type":19,"tag":60,"props":2522,"children":2523},{"style":77},[2524],{"type":24,"value":2525},"=>",{"type":19,"tag":60,"props":2527,"children":2528},{"style":94},[2529],{"type":24,"value":2400},{"type":19,"tag":60,"props":2531,"children":2532},{"class":62,"line":233},[2533,2538,2543],{"type":19,"tag":60,"props":2534,"children":2535},{"style":94},[2536],{"type":24,"value":2537},"            \u003C",{"type":19,"tag":60,"props":2539,"children":2540},{"style":83},[2541],{"type":24,"value":2542},"PageSection",{"type":19,"tag":60,"props":2544,"children":2545},{"style":94},[2546],{"type":24,"value":2547}," \n",{"type":19,"tag":60,"props":2549,"children":2550},{"class":62,"line":253},[2551,2556,2560],{"type":19,"tag":60,"props":2552,"children":2553},{"style":113},[2554],{"type":24,"value":2555},"              content",{"type":19,"tag":60,"props":2557,"children":2558},{"style":77},[2559],{"type":24,"value":593},{"type":19,"tag":60,"props":2561,"children":2562},{"style":94},[2563],{"type":24,"value":2564},"{chunk} \n",{"type":19,"tag":60,"props":2566,"children":2567},{"class":62,"line":271},[2568,2573,2577,2582,2587,2592,2596,2601],{"type":19,"tag":60,"props":2569,"children":2570},{"style":113},[2571],{"type":24,"value":2572},"              className",{"type":19,"tag":60,"props":2574,"children":2575},{"style":77},[2576],{"type":24,"value":593},{"type":19,"tag":60,"props":2578,"children":2579},{"style":94},[2580],{"type":24,"value":2581},"{isComplete ",{"type":19,"tag":60,"props":2583,"children":2584},{"style":77},[2585],{"type":24,"value":2586},"?",{"type":19,"tag":60,"props":2588,"children":2589},{"style":242},[2590],{"type":24,"value":2591}," 'complete'",{"type":19,"tag":60,"props":2593,"children":2594},{"style":77},[2595],{"type":24,"value":1889},{"type":19,"tag":60,"props":2597,"children":2598},{"style":242},[2599],{"type":24,"value":2600}," 'generating'",{"type":19,"tag":60,"props":2602,"children":2603},{"style":94},[2604],{"type":24,"value":1573},{"type":19,"tag":60,"props":2606,"children":2607},{"class":62,"line":285},[2608],{"type":19,"tag":60,"props":2609,"children":2610},{"style":94},[2611],{"type":24,"value":2612},"            />\n",{"type":19,"tag":60,"props":2614,"children":2615},{"class":62,"line":294},[2616],{"type":19,"tag":60,"props":2617,"children":2618},{"style":94},[2619],{"type":24,"value":2620},"          )}\n",{"type":19,"tag":60,"props":2622,"children":2623},{"class":62,"line":303},[2624,2629,2633],{"type":19,"tag":60,"props":2625,"children":2626},{"style":94},[2627],{"type":24,"value":2628},"        \u003C/",{"type":19,"tag":60,"props":2630,"children":2631},{"style":83},[2632],{"type":24,"value":2479},{"type":19,"tag":60,"props":2634,"children":2635},{"style":94},[2636],{"type":24,"value":617},{"type":19,"tag":60,"props":2638,"children":2639},{"class":62,"line":312},[2640,2645,2649],{"type":19,"tag":60,"props":2641,"children":2642},{"style":94},[2643],{"type":24,"value":2644},"      \u003C/",{"type":19,"tag":60,"props":2646,"children":2647},{"style":83},[2648],{"type":24,"value":2442},{"type":19,"tag":60,"props":2650,"children":2651},{"style":94},[2652],{"type":24,"value":617},{"type":19,"tag":60,"props":2654,"children":2655},{"class":62,"line":328},[2656,2661,2665],{"type":19,"tag":60,"props":2657,"children":2658},{"style":94},[2659],{"type":24,"value":2660},"    \u003C/",{"type":19,"tag":60,"props":2662,"children":2663},{"style":580},[2664],{"type":24,"value":583},{"type":19,"tag":60,"props":2666,"children":2667},{"style":94},[2668],{"type":24,"value":617},{"type":19,"tag":60,"props":2670,"children":2671},{"class":62,"line":345},[2672],{"type":19,"tag":60,"props":2673,"children":2674},{"style":94},[2675],{"type":24,"value":2676},"  );\n",{"type":19,"tag":60,"props":2678,"children":2679},{"class":62,"line":362},[2680],{"type":19,"tag":60,"props":2681,"children":2682},{"style":94},[2683],{"type":24,"value":1573},{"type":19,"tag":60,"props":2685,"children":2686},{"class":62,"line":375},[2687],{"type":19,"tag":60,"props":2688,"children":2689},{"emptyLinePlaceholder":678},[2690],{"type":24,"value":681},{"type":19,"tag":60,"props":2692,"children":2693},{"class":62,"line":383},[2694,2698,2703],{"type":19,"tag":60,"props":2695,"children":2696},{"style":77},[2697],{"type":24,"value":126},{"type":19,"tag":60,"props":2699,"children":2700},{"style":113},[2701],{"type":24,"value":2702}," GeneratingPlaceholder",{"type":19,"tag":60,"props":2704,"children":2705},{"style":94},[2706],{"type":24,"value":2015},{"type":19,"tag":60,"props":2708,"children":2709},{"class":62,"line":391},[2710,2714],{"type":19,"tag":60,"props":2711,"children":2712},{"style":77},[2713],{"type":24,"value":2395},{"type":19,"tag":60,"props":2715,"children":2716},{"style":94},[2717],{"type":24,"value":2400},{"type":19,"tag":60,"props":2719,"children":2720},{"class":62,"line":400},[2721,2725,2729,2733,2737,2742],{"type":19,"tag":60,"props":2722,"children":2723},{"style":94},[2724],{"type":24,"value":751},{"type":19,"tag":60,"props":2726,"children":2727},{"style":580},[2728],{"type":24,"value":583},{"type":19,"tag":60,"props":2730,"children":2731},{"style":113},[2732],{"type":24,"value":2416},{"type":19,"tag":60,"props":2734,"children":2735},{"style":77},[2736],{"type":24,"value":593},{"type":19,"tag":60,"props":2738,"children":2739},{"style":242},[2740],{"type":24,"value":2741},"\"placeholder-container\"",{"type":19,"tag":60,"props":2743,"children":2744},{"style":94},[2745],{"type":24,"value":617},{"type":19,"tag":60,"props":2747,"children":2748},{"class":62,"line":416},[2749,2753,2757,2761,2765,2770],{"type":19,"tag":60,"props":2750,"children":2751},{"style":94},[2752],{"type":24,"value":2437},{"type":19,"tag":60,"props":2754,"children":2755},{"style":580},[2756],{"type":24,"value":583},{"type":19,"tag":60,"props":2758,"children":2759},{"style":113},[2760],{"type":24,"value":2416},{"type":19,"tag":60,"props":2762,"children":2763},{"style":77},[2764],{"type":24,"value":593},{"type":19,"tag":60,"props":2766,"children":2767},{"style":242},[2768],{"type":24,"value":2769},"\"skeleton-loader\"",{"type":19,"tag":60,"props":2771,"children":2772},{"style":94},[2773],{"type":24,"value":617},{"type":19,"tag":60,"props":2775,"children":2776},{"class":62,"line":433},[2777,2781,2785,2789,2793,2798,2803,2807],{"type":19,"tag":60,"props":2778,"children":2779},{"style":94},[2780],{"type":24,"value":2474},{"type":19,"tag":60,"props":2782,"children":2783},{"style":580},[2784],{"type":24,"value":583},{"type":19,"tag":60,"props":2786,"children":2787},{"style":113},[2788],{"type":24,"value":2416},{"type":19,"tag":60,"props":2790,"children":2791},{"style":77},[2792],{"type":24,"value":593},{"type":19,"tag":60,"props":2794,"children":2795},{"style":242},[2796],{"type":24,"value":2797},"\"skeleton-header\"",{"type":19,"tag":60,"props":2799,"children":2800},{"style":94},[2801],{"type":24,"value":2802},">\u003C/",{"type":19,"tag":60,"props":2804,"children":2805},{"style":580},[2806],{"type":24,"value":583},{"type":19,"tag":60,"props":2808,"children":2809},{"style":94},[2810],{"type":24,"value":617},{"type":19,"tag":60,"props":2812,"children":2813},{"class":62,"line":450},[2814,2818,2822,2826,2830,2835,2839,2843],{"type":19,"tag":60,"props":2815,"children":2816},{"style":94},[2817],{"type":24,"value":2474},{"type":19,"tag":60,"props":2819,"children":2820},{"style":580},[2821],{"type":24,"value":583},{"type":19,"tag":60,"props":2823,"children":2824},{"style":113},[2825],{"type":24,"value":2416},{"type":19,"tag":60,"props":2827,"children":2828},{"style":77},[2829],{"type":24,"value":593},{"type":19,"tag":60,"props":2831,"children":2832},{"style":242},[2833],{"type":24,"value":2834},"\"skeleton-content\"",{"type":19,"tag":60,"props":2836,"children":2837},{"style":94},[2838],{"type":24,"value":2802},{"type":19,"tag":60,"props":2840,"children":2841},{"style":580},[2842],{"type":24,"value":583},{"type":19,"tag":60,"props":2844,"children":2845},{"style":94},[2846],{"type":24,"value":617},{"type":19,"tag":60,"props":2848,"children":2849},{"class":62,"line":463},[2850,2854,2858,2862,2866,2871,2875,2879],{"type":19,"tag":60,"props":2851,"children":2852},{"style":94},[2853],{"type":24,"value":2474},{"type":19,"tag":60,"props":2855,"children":2856},{"style":580},[2857],{"type":24,"value":583},{"type":19,"tag":60,"props":2859,"children":2860},{"style":113},[2861],{"type":24,"value":2416},{"type":19,"tag":60,"props":2863,"children":2864},{"style":77},[2865],{"type":24,"value":593},{"type":19,"tag":60,"props":2867,"children":2868},{"style":242},[2869],{"type":24,"value":2870},"\"skeleton-sidebar\"",{"type":19,"tag":60,"props":2872,"children":2873},{"style":94},[2874],{"type":24,"value":2802},{"type":19,"tag":60,"props":2876,"children":2877},{"style":580},[2878],{"type":24,"value":583},{"type":19,"tag":60,"props":2880,"children":2881},{"style":94},[2882],{"type":24,"value":617},{"type":19,"tag":60,"props":2884,"children":2885},{"class":62,"line":471},[2886,2890,2894],{"type":19,"tag":60,"props":2887,"children":2888},{"style":94},[2889],{"type":24,"value":2644},{"type":19,"tag":60,"props":2891,"children":2892},{"style":580},[2893],{"type":24,"value":583},{"type":19,"tag":60,"props":2895,"children":2896},{"style":94},[2897],{"type":24,"value":617},{"type":19,"tag":60,"props":2899,"children":2900},{"class":62,"line":480},[2901,2905,2909,2913,2917,2922],{"type":19,"tag":60,"props":2902,"children":2903},{"style":94},[2904],{"type":24,"value":2437},{"type":19,"tag":60,"props":2906,"children":2907},{"style":580},[2908],{"type":24,"value":583},{"type":19,"tag":60,"props":2910,"children":2911},{"style":113},[2912],{"type":24,"value":2416},{"type":19,"tag":60,"props":2914,"children":2915},{"style":77},[2916],{"type":24,"value":593},{"type":19,"tag":60,"props":2918,"children":2919},{"style":242},[2920],{"type":24,"value":2921},"\"progress-indicator\"",{"type":19,"tag":60,"props":2923,"children":2924},{"style":94},[2925],{"type":24,"value":617},{"type":19,"tag":60,"props":2927,"children":2928},{"class":62,"line":489},[2929,2933,2937,2942,2946],{"type":19,"tag":60,"props":2930,"children":2931},{"style":94},[2932],{"type":24,"value":2474},{"type":19,"tag":60,"props":2934,"children":2935},{"style":580},[2936],{"type":24,"value":60},{"type":19,"tag":60,"props":2938,"children":2939},{"style":94},[2940],{"type":24,"value":2941},">AI正在思考...\u003C/",{"type":19,"tag":60,"props":2943,"children":2944},{"style":580},[2945],{"type":24,"value":60},{"type":19,"tag":60,"props":2947,"children":2948},{"style":94},[2949],{"type":24,"value":617},{"type":19,"tag":60,"props":2951,"children":2952},{"class":62,"line":498},[2953,2957,2961,2965,2969,2974],{"type":19,"tag":60,"props":2954,"children":2955},{"style":94},[2956],{"type":24,"value":2474},{"type":19,"tag":60,"props":2958,"children":2959},{"style":580},[2960],{"type":24,"value":583},{"type":19,"tag":60,"props":2962,"children":2963},{"style":113},[2964],{"type":24,"value":2416},{"type":19,"tag":60,"props":2966,"children":2967},{"style":77},[2968],{"type":24,"value":593},{"type":19,"tag":60,"props":2970,"children":2971},{"style":242},[2972],{"type":24,"value":2973},"\"progress-bar\"",{"type":19,"tag":60,"props":2975,"children":2976},{"style":94},[2977],{"type":24,"value":617},{"type":19,"tag":60,"props":2979,"children":2981},{"class":62,"line":2980},31,[2982,2987,2991,2995,2999,3004,3008,3012],{"type":19,"tag":60,"props":2983,"children":2984},{"style":94},[2985],{"type":24,"value":2986},"          \u003C",{"type":19,"tag":60,"props":2988,"children":2989},{"style":580},[2990],{"type":24,"value":583},{"type":19,"tag":60,"props":2992,"children":2993},{"style":113},[2994],{"type":24,"value":2416},{"type":19,"tag":60,"props":2996,"children":2997},{"style":77},[2998],{"type":24,"value":593},{"type":19,"tag":60,"props":3000,"children":3001},{"style":242},[3002],{"type":24,"value":3003},"\"progress-fill\"",{"type":19,"tag":60,"props":3005,"children":3006},{"style":94},[3007],{"type":24,"value":2802},{"type":19,"tag":60,"props":3009,"children":3010},{"style":580},[3011],{"type":24,"value":583},{"type":19,"tag":60,"props":3013,"children":3014},{"style":94},[3015],{"type":24,"value":617},{"type":19,"tag":60,"props":3017,"children":3019},{"class":62,"line":3018},32,[3020,3024,3028],{"type":19,"tag":60,"props":3021,"children":3022},{"style":94},[3023],{"type":24,"value":2628},{"type":19,"tag":60,"props":3025,"children":3026},{"style":580},[3027],{"type":24,"value":583},{"type":19,"tag":60,"props":3029,"children":3030},{"style":94},[3031],{"type":24,"value":617},{"type":19,"tag":60,"props":3033,"children":3035},{"class":62,"line":3034},33,[3036,3040,3044],{"type":19,"tag":60,"props":3037,"children":3038},{"style":94},[3039],{"type":24,"value":2644},{"type":19,"tag":60,"props":3041,"children":3042},{"style":580},[3043],{"type":24,"value":583},{"type":19,"tag":60,"props":3045,"children":3046},{"style":94},[3047],{"type":24,"value":617},{"type":19,"tag":60,"props":3049,"children":3051},{"class":62,"line":3050},34,[3052,3056,3060],{"type":19,"tag":60,"props":3053,"children":3054},{"style":94},[3055],{"type":24,"value":2660},{"type":19,"tag":60,"props":3057,"children":3058},{"style":580},[3059],{"type":24,"value":583},{"type":19,"tag":60,"props":3061,"children":3062},{"style":94},[3063],{"type":24,"value":617},{"type":19,"tag":60,"props":3065,"children":3067},{"class":62,"line":3066},35,[3068],{"type":19,"tag":60,"props":3069,"children":3070},{"style":94},[3071],{"type":24,"value":2676},{"type":19,"tag":60,"props":3073,"children":3075},{"class":62,"line":3074},36,[3076],{"type":19,"tag":60,"props":3077,"children":3078},{"style":94},[3079],{"type":24,"value":1573},{"type":19,"tag":20,"props":3081,"children":3082},{},[3083],{"type":19,"tag":43,"props":3084,"children":3085},{},[3086],{"type":24,"value":3087},"CSS动画与过渡",{"type":19,"tag":49,"props":3089,"children":3093},{"className":3090,"code":3091,"language":3092,"meta":7,"style":7},"language-css shiki shiki-themes github-dark github-dark",".generating-element {\n  opacity: 0;\n  transform: translateY(20px);\n  animation: fadeInUp 0.5s ease-out forwards;\n}\n\n@keyframes fadeInUp {\n  to {\n    opacity: 1;\n    transform: translateY(0);\n  }\n}\n\n.skeleton-loader {\n  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);\n  background-size: 200% 100%;\n  animation: loading 1.5s infinite;\n}\n\n@keyframes loading {\n  0% { background-position: 200% 0; }\n  100% { background-position: -200% 0; }\n}\n","css",[3094],{"type":19,"tag":56,"props":3095,"children":3096},{"__ignoreMap":7},[3097,3109,3130,3166,3203,3210,3217,3234,3246,3267,3295,3302,3309,3316,3328,3417,3451,3481,3488,3495,3511,3550,3587],{"type":19,"tag":60,"props":3098,"children":3099},{"class":62,"line":63},[3100,3105],{"type":19,"tag":60,"props":3101,"children":3102},{"style":113},[3103],{"type":24,"value":3104},".generating-element",{"type":19,"tag":60,"props":3106,"children":3107},{"style":94},[3108],{"type":24,"value":97},{"type":19,"tag":60,"props":3110,"children":3111},{"class":62,"line":73},[3112,3117,3121,3126],{"type":19,"tag":60,"props":3113,"children":3114},{"style":83},[3115],{"type":24,"value":3116},"  opacity",{"type":19,"tag":60,"props":3118,"children":3119},{"style":94},[3120],{"type":24,"value":121},{"type":19,"tag":60,"props":3122,"children":3123},{"style":83},[3124],{"type":24,"value":3125},"0",{"type":19,"tag":60,"props":3127,"children":3128},{"style":94},[3129],{"type":24,"value":2353},{"type":19,"tag":60,"props":3131,"children":3132},{"class":62,"line":100},[3133,3138,3142,3147,3151,3156,3161],{"type":19,"tag":60,"props":3134,"children":3135},{"style":83},[3136],{"type":24,"value":3137},"  transform",{"type":19,"tag":60,"props":3139,"children":3140},{"style":94},[3141],{"type":24,"value":121},{"type":19,"tag":60,"props":3143,"children":3144},{"style":83},[3145],{"type":24,"value":3146},"translateY",{"type":19,"tag":60,"props":3148,"children":3149},{"style":94},[3150],{"type":24,"value":131},{"type":19,"tag":60,"props":3152,"children":3153},{"style":83},[3154],{"type":24,"value":3155},"20",{"type":19,"tag":60,"props":3157,"children":3158},{"style":77},[3159],{"type":24,"value":3160},"px",{"type":19,"tag":60,"props":3162,"children":3163},{"style":94},[3164],{"type":24,"value":3165},");\n",{"type":19,"tag":60,"props":3167,"children":3168},{"class":62,"line":109},[3169,3174,3179,3184,3189,3194,3199],{"type":19,"tag":60,"props":3170,"children":3171},{"style":83},[3172],{"type":24,"value":3173},"  animation",{"type":19,"tag":60,"props":3175,"children":3176},{"style":94},[3177],{"type":24,"value":3178},": fadeInUp ",{"type":19,"tag":60,"props":3180,"children":3181},{"style":83},[3182],{"type":24,"value":3183},"0.5",{"type":19,"tag":60,"props":3185,"children":3186},{"style":77},[3187],{"type":24,"value":3188},"s",{"type":19,"tag":60,"props":3190,"children":3191},{"style":83},[3192],{"type":24,"value":3193}," ease-out",{"type":19,"tag":60,"props":3195,"children":3196},{"style":83},[3197],{"type":24,"value":3198}," forwards",{"type":19,"tag":60,"props":3200,"children":3201},{"style":94},[3202],{"type":24,"value":2353},{"type":19,"tag":60,"props":3204,"children":3205},{"class":62,"line":155},[3206],{"type":19,"tag":60,"props":3207,"children":3208},{"style":94},[3209],{"type":24,"value":1573},{"type":19,"tag":60,"props":3211,"children":3212},{"class":62,"line":179},[3213],{"type":19,"tag":60,"props":3214,"children":3215},{"emptyLinePlaceholder":678},[3216],{"type":24,"value":681},{"type":19,"tag":60,"props":3218,"children":3219},{"class":62,"line":206},[3220,3225,3230],{"type":19,"tag":60,"props":3221,"children":3222},{"style":77},[3223],{"type":24,"value":3224},"@keyframes",{"type":19,"tag":60,"props":3226,"children":3227},{"style":134},[3228],{"type":24,"value":3229}," fadeInUp",{"type":19,"tag":60,"props":3231,"children":3232},{"style":94},[3233],{"type":24,"value":97},{"type":19,"tag":60,"props":3235,"children":3236},{"class":62,"line":215},[3237,3242],{"type":19,"tag":60,"props":3238,"children":3239},{"style":113},[3240],{"type":24,"value":3241},"  to",{"type":19,"tag":60,"props":3243,"children":3244},{"style":94},[3245],{"type":24,"value":97},{"type":19,"tag":60,"props":3247,"children":3248},{"class":62,"line":233},[3249,3254,3258,3263],{"type":19,"tag":60,"props":3250,"children":3251},{"style":83},[3252],{"type":24,"value":3253},"    opacity",{"type":19,"tag":60,"props":3255,"children":3256},{"style":94},[3257],{"type":24,"value":121},{"type":19,"tag":60,"props":3259,"children":3260},{"style":83},[3261],{"type":24,"value":3262},"1",{"type":19,"tag":60,"props":3264,"children":3265},{"style":94},[3266],{"type":24,"value":2353},{"type":19,"tag":60,"props":3268,"children":3269},{"class":62,"line":253},[3270,3275,3279,3283,3287,3291],{"type":19,"tag":60,"props":3271,"children":3272},{"style":83},[3273],{"type":24,"value":3274},"    transform",{"type":19,"tag":60,"props":3276,"children":3277},{"style":94},[3278],{"type":24,"value":121},{"type":19,"tag":60,"props":3280,"children":3281},{"style":83},[3282],{"type":24,"value":3146},{"type":19,"tag":60,"props":3284,"children":3285},{"style":94},[3286],{"type":24,"value":131},{"type":19,"tag":60,"props":3288,"children":3289},{"style":83},[3290],{"type":24,"value":3125},{"type":19,"tag":60,"props":3292,"children":3293},{"style":94},[3294],{"type":24,"value":3165},{"type":19,"tag":60,"props":3296,"children":3297},{"class":62,"line":271},[3298],{"type":19,"tag":60,"props":3299,"children":3300},{"style":94},[3301],{"type":24,"value":495},{"type":19,"tag":60,"props":3303,"children":3304},{"class":62,"line":285},[3305],{"type":19,"tag":60,"props":3306,"children":3307},{"style":94},[3308],{"type":24,"value":1573},{"type":19,"tag":60,"props":3310,"children":3311},{"class":62,"line":294},[3312],{"type":19,"tag":60,"props":3313,"children":3314},{"emptyLinePlaceholder":678},[3315],{"type":24,"value":681},{"type":19,"tag":60,"props":3317,"children":3318},{"class":62,"line":303},[3319,3324],{"type":19,"tag":60,"props":3320,"children":3321},{"style":113},[3322],{"type":24,"value":3323},".skeleton-loader",{"type":19,"tag":60,"props":3325,"children":3326},{"style":94},[3327],{"type":24,"value":97},{"type":19,"tag":60,"props":3329,"children":3330},{"class":62,"line":312},[3331,3336,3340,3345,3349,3354,3359,3363,3368,3373,3378,3382,3387,3392,3396,3400,3404,3409,3413],{"type":19,"tag":60,"props":3332,"children":3333},{"style":83},[3334],{"type":24,"value":3335},"  background",{"type":19,"tag":60,"props":3337,"children":3338},{"style":94},[3339],{"type":24,"value":121},{"type":19,"tag":60,"props":3341,"children":3342},{"style":83},[3343],{"type":24,"value":3344},"linear-gradient",{"type":19,"tag":60,"props":3346,"children":3347},{"style":94},[3348],{"type":24,"value":131},{"type":19,"tag":60,"props":3350,"children":3351},{"style":83},[3352],{"type":24,"value":3353},"90",{"type":19,"tag":60,"props":3355,"children":3356},{"style":77},[3357],{"type":24,"value":3358},"deg",{"type":19,"tag":60,"props":3360,"children":3361},{"style":94},[3362],{"type":24,"value":142},{"type":19,"tag":60,"props":3364,"children":3365},{"style":83},[3366],{"type":24,"value":3367},"#f0f0f0",{"type":19,"tag":60,"props":3369,"children":3370},{"style":83},[3371],{"type":24,"value":3372}," 25",{"type":19,"tag":60,"props":3374,"children":3375},{"style":77},[3376],{"type":24,"value":3377},"%",{"type":19,"tag":60,"props":3379,"children":3380},{"style":94},[3381],{"type":24,"value":142},{"type":19,"tag":60,"props":3383,"children":3384},{"style":83},[3385],{"type":24,"value":3386},"#e0e0e0",{"type":19,"tag":60,"props":3388,"children":3389},{"style":83},[3390],{"type":24,"value":3391}," 50",{"type":19,"tag":60,"props":3393,"children":3394},{"style":77},[3395],{"type":24,"value":3377},{"type":19,"tag":60,"props":3397,"children":3398},{"style":94},[3399],{"type":24,"value":142},{"type":19,"tag":60,"props":3401,"children":3402},{"style":83},[3403],{"type":24,"value":3367},{"type":19,"tag":60,"props":3405,"children":3406},{"style":83},[3407],{"type":24,"value":3408}," 75",{"type":19,"tag":60,"props":3410,"children":3411},{"style":77},[3412],{"type":24,"value":3377},{"type":19,"tag":60,"props":3414,"children":3415},{"style":94},[3416],{"type":24,"value":3165},{"type":19,"tag":60,"props":3418,"children":3419},{"class":62,"line":328},[3420,3425,3429,3434,3438,3443,3447],{"type":19,"tag":60,"props":3421,"children":3422},{"style":83},[3423],{"type":24,"value":3424},"  background-size",{"type":19,"tag":60,"props":3426,"children":3427},{"style":94},[3428],{"type":24,"value":121},{"type":19,"tag":60,"props":3430,"children":3431},{"style":83},[3432],{"type":24,"value":3433},"200",{"type":19,"tag":60,"props":3435,"children":3436},{"style":77},[3437],{"type":24,"value":3377},{"type":19,"tag":60,"props":3439,"children":3440},{"style":83},[3441],{"type":24,"value":3442}," 100",{"type":19,"tag":60,"props":3444,"children":3445},{"style":77},[3446],{"type":24,"value":3377},{"type":19,"tag":60,"props":3448,"children":3449},{"style":94},[3450],{"type":24,"value":2353},{"type":19,"tag":60,"props":3452,"children":3453},{"class":62,"line":345},[3454,3458,3463,3468,3472,3477],{"type":19,"tag":60,"props":3455,"children":3456},{"style":83},[3457],{"type":24,"value":3173},{"type":19,"tag":60,"props":3459,"children":3460},{"style":94},[3461],{"type":24,"value":3462},": loading ",{"type":19,"tag":60,"props":3464,"children":3465},{"style":83},[3466],{"type":24,"value":3467},"1.5",{"type":19,"tag":60,"props":3469,"children":3470},{"style":77},[3471],{"type":24,"value":3188},{"type":19,"tag":60,"props":3473,"children":3474},{"style":83},[3475],{"type":24,"value":3476}," infinite",{"type":19,"tag":60,"props":3478,"children":3479},{"style":94},[3480],{"type":24,"value":2353},{"type":19,"tag":60,"props":3482,"children":3483},{"class":62,"line":362},[3484],{"type":19,"tag":60,"props":3485,"children":3486},{"style":94},[3487],{"type":24,"value":1573},{"type":19,"tag":60,"props":3489,"children":3490},{"class":62,"line":375},[3491],{"type":19,"tag":60,"props":3492,"children":3493},{"emptyLinePlaceholder":678},[3494],{"type":24,"value":681},{"type":19,"tag":60,"props":3496,"children":3497},{"class":62,"line":383},[3498,3502,3507],{"type":19,"tag":60,"props":3499,"children":3500},{"style":77},[3501],{"type":24,"value":3224},{"type":19,"tag":60,"props":3503,"children":3504},{"style":134},[3505],{"type":24,"value":3506}," loading",{"type":19,"tag":60,"props":3508,"children":3509},{"style":94},[3510],{"type":24,"value":97},{"type":19,"tag":60,"props":3512,"children":3513},{"class":62,"line":391},[3514,3519,3524,3529,3533,3537,3541,3545],{"type":19,"tag":60,"props":3515,"children":3516},{"style":113},[3517],{"type":24,"value":3518},"  0%",{"type":19,"tag":60,"props":3520,"children":3521},{"style":94},[3522],{"type":24,"value":3523}," { ",{"type":19,"tag":60,"props":3525,"children":3526},{"style":83},[3527],{"type":24,"value":3528},"background-position",{"type":19,"tag":60,"props":3530,"children":3531},{"style":94},[3532],{"type":24,"value":121},{"type":19,"tag":60,"props":3534,"children":3535},{"style":83},[3536],{"type":24,"value":3433},{"type":19,"tag":60,"props":3538,"children":3539},{"style":77},[3540],{"type":24,"value":3377},{"type":19,"tag":60,"props":3542,"children":3543},{"style":83},[3544],{"type":24,"value":1874},{"type":19,"tag":60,"props":3546,"children":3547},{"style":94},[3548],{"type":24,"value":3549},"; }\n",{"type":19,"tag":60,"props":3551,"children":3552},{"class":62,"line":400},[3553,3558,3562,3566,3570,3575,3579,3583],{"type":19,"tag":60,"props":3554,"children":3555},{"style":113},[3556],{"type":24,"value":3557},"  100%",{"type":19,"tag":60,"props":3559,"children":3560},{"style":94},[3561],{"type":24,"value":3523},{"type":19,"tag":60,"props":3563,"children":3564},{"style":83},[3565],{"type":24,"value":3528},{"type":19,"tag":60,"props":3567,"children":3568},{"style":94},[3569],{"type":24,"value":121},{"type":19,"tag":60,"props":3571,"children":3572},{"style":83},[3573],{"type":24,"value":3574},"-200",{"type":19,"tag":60,"props":3576,"children":3577},{"style":77},[3578],{"type":24,"value":3377},{"type":19,"tag":60,"props":3580,"children":3581},{"style":83},[3582],{"type":24,"value":1874},{"type":19,"tag":60,"props":3584,"children":3585},{"style":94},[3586],{"type":24,"value":3549},{"type":19,"tag":60,"props":3588,"children":3589},{"class":62,"line":416},[3590],{"type":19,"tag":60,"props":3591,"children":3592},{"style":94},[3593],{"type":24,"value":1573},{"type":19,"tag":34,"props":3595,"children":3597},{"id":3596},"后端流式处理",[3598],{"type":24,"value":3596},{"type":19,"tag":20,"props":3600,"children":3601},{},[3602],{"type":19,"tag":43,"props":3603,"children":3604},{},[3605],{"type":24,"value":3606},"Node.js Stream API",{"type":19,"tag":49,"props":3608,"children":3610},{"className":51,"code":3609,"language":53,"meta":7,"style":7},"const express = require('express');\nconst { Transform } = require('stream');\n\napp.get('/api/generate-stream', (req, res) => {\n  res.setHeader('Content-Type', 'text/event-stream');\n  res.setHeader('Cache-Control', 'no-cache');\n  res.setHeader('Connection', 'keep-alive');\n\n  const generator = new AIContentGenerator(req.query);\n  \n  generator.on('chunk', (data) => {\n    res.write(`data: ${JSON.stringify(data)}\\n\\n`);\n  });\n  \n  generator.on('complete', () => {\n    res.write('data: [DONE]\\n\\n');\n    res.end();\n  });\n  \n  generator.on('error', (error) => {\n    res.write(`data: ${JSON.stringify({error: error.message})}\\n\\n`);\n    res.end();\n  });\n  \n  generator.start();\n});\n",[3611],{"type":19,"tag":56,"props":3612,"children":3613},{"__ignoreMap":7},[3614,3648,3690,3697,3750,3785,3818,3851,3858,3889,3897,3940,4008,4016,4023,4056,4089,4106,4113,4120,4161,4231,4246,4253,4260,4276],{"type":19,"tag":60,"props":3615,"children":3616},{"class":62,"line":63},[3617,3621,3626,3630,3635,3639,3644],{"type":19,"tag":60,"props":3618,"children":3619},{"style":77},[3620],{"type":24,"value":80},{"type":19,"tag":60,"props":3622,"children":3623},{"style":83},[3624],{"type":24,"value":3625}," express",{"type":19,"tag":60,"props":3627,"children":3628},{"style":77},[3629],{"type":24,"value":91},{"type":19,"tag":60,"props":3631,"children":3632},{"style":113},[3633],{"type":24,"value":3634}," require",{"type":19,"tag":60,"props":3636,"children":3637},{"style":94},[3638],{"type":24,"value":131},{"type":19,"tag":60,"props":3640,"children":3641},{"style":242},[3642],{"type":24,"value":3643},"'express'",{"type":19,"tag":60,"props":3645,"children":3646},{"style":94},[3647],{"type":24,"value":3165},{"type":19,"tag":60,"props":3649,"children":3650},{"class":62,"line":73},[3651,3655,3659,3664,3669,3673,3677,3681,3686],{"type":19,"tag":60,"props":3652,"children":3653},{"style":77},[3654],{"type":24,"value":80},{"type":19,"tag":60,"props":3656,"children":3657},{"style":94},[3658],{"type":24,"value":3523},{"type":19,"tag":60,"props":3660,"children":3661},{"style":83},[3662],{"type":24,"value":3663},"Transform",{"type":19,"tag":60,"props":3665,"children":3666},{"style":94},[3667],{"type":24,"value":3668}," } ",{"type":19,"tag":60,"props":3670,"children":3671},{"style":77},[3672],{"type":24,"value":593},{"type":19,"tag":60,"props":3674,"children":3675},{"style":113},[3676],{"type":24,"value":3634},{"type":19,"tag":60,"props":3678,"children":3679},{"style":94},[3680],{"type":24,"value":131},{"type":19,"tag":60,"props":3682,"children":3683},{"style":242},[3684],{"type":24,"value":3685},"'stream'",{"type":19,"tag":60,"props":3687,"children":3688},{"style":94},[3689],{"type":24,"value":3165},{"type":19,"tag":60,"props":3691,"children":3692},{"class":62,"line":100},[3693],{"type":19,"tag":60,"props":3694,"children":3695},{"emptyLinePlaceholder":678},[3696],{"type":24,"value":681},{"type":19,"tag":60,"props":3698,"children":3699},{"class":62,"line":109},[3700,3705,3710,3714,3719,3724,3729,3733,3738,3742,3746],{"type":19,"tag":60,"props":3701,"children":3702},{"style":94},[3703],{"type":24,"value":3704},"app.",{"type":19,"tag":60,"props":3706,"children":3707},{"style":113},[3708],{"type":24,"value":3709},"get",{"type":19,"tag":60,"props":3711,"children":3712},{"style":94},[3713],{"type":24,"value":131},{"type":19,"tag":60,"props":3715,"children":3716},{"style":242},[3717],{"type":24,"value":3718},"'/api/generate-stream'",{"type":19,"tag":60,"props":3720,"children":3721},{"style":94},[3722],{"type":24,"value":3723},", (",{"type":19,"tag":60,"props":3725,"children":3726},{"style":134},[3727],{"type":24,"value":3728},"req",{"type":19,"tag":60,"props":3730,"children":3731},{"style":94},[3732],{"type":24,"value":142},{"type":19,"tag":60,"props":3734,"children":3735},{"style":134},[3736],{"type":24,"value":3737},"res",{"type":19,"tag":60,"props":3739,"children":3740},{"style":94},[3741],{"type":24,"value":2520},{"type":19,"tag":60,"props":3743,"children":3744},{"style":77},[3745],{"type":24,"value":2525},{"type":19,"tag":60,"props":3747,"children":3748},{"style":94},[3749],{"type":24,"value":97},{"type":19,"tag":60,"props":3751,"children":3752},{"class":62,"line":155},[3753,3758,3763,3767,3772,3776,3781],{"type":19,"tag":60,"props":3754,"children":3755},{"style":94},[3756],{"type":24,"value":3757},"  res.",{"type":19,"tag":60,"props":3759,"children":3760},{"style":113},[3761],{"type":24,"value":3762},"setHeader",{"type":19,"tag":60,"props":3764,"children":3765},{"style":94},[3766],{"type":24,"value":131},{"type":19,"tag":60,"props":3768,"children":3769},{"style":242},[3770],{"type":24,"value":3771},"'Content-Type'",{"type":19,"tag":60,"props":3773,"children":3774},{"style":94},[3775],{"type":24,"value":142},{"type":19,"tag":60,"props":3777,"children":3778},{"style":242},[3779],{"type":24,"value":3780},"'text/event-stream'",{"type":19,"tag":60,"props":3782,"children":3783},{"style":94},[3784],{"type":24,"value":3165},{"type":19,"tag":60,"props":3786,"children":3787},{"class":62,"line":179},[3788,3792,3796,3800,3805,3809,3814],{"type":19,"tag":60,"props":3789,"children":3790},{"style":94},[3791],{"type":24,"value":3757},{"type":19,"tag":60,"props":3793,"children":3794},{"style":113},[3795],{"type":24,"value":3762},{"type":19,"tag":60,"props":3797,"children":3798},{"style":94},[3799],{"type":24,"value":131},{"type":19,"tag":60,"props":3801,"children":3802},{"style":242},[3803],{"type":24,"value":3804},"'Cache-Control'",{"type":19,"tag":60,"props":3806,"children":3807},{"style":94},[3808],{"type":24,"value":142},{"type":19,"tag":60,"props":3810,"children":3811},{"style":242},[3812],{"type":24,"value":3813},"'no-cache'",{"type":19,"tag":60,"props":3815,"children":3816},{"style":94},[3817],{"type":24,"value":3165},{"type":19,"tag":60,"props":3819,"children":3820},{"class":62,"line":206},[3821,3825,3829,3833,3838,3842,3847],{"type":19,"tag":60,"props":3822,"children":3823},{"style":94},[3824],{"type":24,"value":3757},{"type":19,"tag":60,"props":3826,"children":3827},{"style":113},[3828],{"type":24,"value":3762},{"type":19,"tag":60,"props":3830,"children":3831},{"style":94},[3832],{"type":24,"value":131},{"type":19,"tag":60,"props":3834,"children":3835},{"style":242},[3836],{"type":24,"value":3837},"'Connection'",{"type":19,"tag":60,"props":3839,"children":3840},{"style":94},[3841],{"type":24,"value":142},{"type":19,"tag":60,"props":3843,"children":3844},{"style":242},[3845],{"type":24,"value":3846},"'keep-alive'",{"type":19,"tag":60,"props":3848,"children":3849},{"style":94},[3850],{"type":24,"value":3165},{"type":19,"tag":60,"props":3852,"children":3853},{"class":62,"line":215},[3854],{"type":19,"tag":60,"props":3855,"children":3856},{"emptyLinePlaceholder":678},[3857],{"type":24,"value":681},{"type":19,"tag":60,"props":3859,"children":3860},{"class":62,"line":233},[3861,3866,3871,3875,3879,3884],{"type":19,"tag":60,"props":3862,"children":3863},{"style":77},[3864],{"type":24,"value":3865},"  const",{"type":19,"tag":60,"props":3867,"children":3868},{"style":83},[3869],{"type":24,"value":3870}," generator",{"type":19,"tag":60,"props":3872,"children":3873},{"style":77},[3874],{"type":24,"value":91},{"type":19,"tag":60,"props":3876,"children":3877},{"style":77},[3878],{"type":24,"value":166},{"type":19,"tag":60,"props":3880,"children":3881},{"style":113},[3882],{"type":24,"value":3883}," AIContentGenerator",{"type":19,"tag":60,"props":3885,"children":3886},{"style":94},[3887],{"type":24,"value":3888},"(req.query);\n",{"type":19,"tag":60,"props":3890,"children":3891},{"class":62,"line":253},[3892],{"type":19,"tag":60,"props":3893,"children":3894},{"style":94},[3895],{"type":24,"value":3896},"  \n",{"type":19,"tag":60,"props":3898,"children":3899},{"class":62,"line":271},[3900,3905,3910,3914,3919,3923,3928,3932,3936],{"type":19,"tag":60,"props":3901,"children":3902},{"style":94},[3903],{"type":24,"value":3904},"  generator.",{"type":19,"tag":60,"props":3906,"children":3907},{"style":113},[3908],{"type":24,"value":3909},"on",{"type":19,"tag":60,"props":3911,"children":3912},{"style":94},[3913],{"type":24,"value":131},{"type":19,"tag":60,"props":3915,"children":3916},{"style":242},[3917],{"type":24,"value":3918},"'chunk'",{"type":19,"tag":60,"props":3920,"children":3921},{"style":94},[3922],{"type":24,"value":3723},{"type":19,"tag":60,"props":3924,"children":3925},{"style":134},[3926],{"type":24,"value":3927},"data",{"type":19,"tag":60,"props":3929,"children":3930},{"style":94},[3931],{"type":24,"value":2520},{"type":19,"tag":60,"props":3933,"children":3934},{"style":77},[3935],{"type":24,"value":2525},{"type":19,"tag":60,"props":3937,"children":3938},{"style":94},[3939],{"type":24,"value":97},{"type":19,"tag":60,"props":3941,"children":3942},{"class":62,"line":285},[3943,3948,3953,3957,3962,3967,3971,3976,3980,3984,3989,3994,3999,4004],{"type":19,"tag":60,"props":3944,"children":3945},{"style":94},[3946],{"type":24,"value":3947},"    res.",{"type":19,"tag":60,"props":3949,"children":3950},{"style":113},[3951],{"type":24,"value":3952},"write",{"type":19,"tag":60,"props":3954,"children":3955},{"style":94},[3956],{"type":24,"value":131},{"type":19,"tag":60,"props":3958,"children":3959},{"style":242},[3960],{"type":24,"value":3961},"`data: ${",{"type":19,"tag":60,"props":3963,"children":3964},{"style":83},[3965],{"type":24,"value":3966},"JSON",{"type":19,"tag":60,"props":3968,"children":3969},{"style":242},[3970],{"type":24,"value":1744},{"type":19,"tag":60,"props":3972,"children":3973},{"style":113},[3974],{"type":24,"value":3975},"stringify",{"type":19,"tag":60,"props":3977,"children":3978},{"style":242},[3979],{"type":24,"value":131},{"type":19,"tag":60,"props":3981,"children":3982},{"style":94},[3983],{"type":24,"value":3927},{"type":19,"tag":60,"props":3985,"children":3986},{"style":242},[3987],{"type":24,"value":3988},")",{"type":19,"tag":60,"props":3990,"children":3991},{"style":242},[3992],{"type":24,"value":3993},"}",{"type":19,"tag":60,"props":3995,"children":3996},{"style":83},[3997],{"type":24,"value":3998},"\\n\\n",{"type":19,"tag":60,"props":4000,"children":4001},{"style":242},[4002],{"type":24,"value":4003},"`",{"type":19,"tag":60,"props":4005,"children":4006},{"style":94},[4007],{"type":24,"value":3165},{"type":19,"tag":60,"props":4009,"children":4010},{"class":62,"line":294},[4011],{"type":19,"tag":60,"props":4012,"children":4013},{"style":94},[4014],{"type":24,"value":4015},"  });\n",{"type":19,"tag":60,"props":4017,"children":4018},{"class":62,"line":303},[4019],{"type":19,"tag":60,"props":4020,"children":4021},{"style":94},[4022],{"type":24,"value":3896},{"type":19,"tag":60,"props":4024,"children":4025},{"class":62,"line":312},[4026,4030,4034,4038,4043,4048,4052],{"type":19,"tag":60,"props":4027,"children":4028},{"style":94},[4029],{"type":24,"value":3904},{"type":19,"tag":60,"props":4031,"children":4032},{"style":113},[4033],{"type":24,"value":3909},{"type":19,"tag":60,"props":4035,"children":4036},{"style":94},[4037],{"type":24,"value":131},{"type":19,"tag":60,"props":4039,"children":4040},{"style":242},[4041],{"type":24,"value":4042},"'complete'",{"type":19,"tag":60,"props":4044,"children":4045},{"style":94},[4046],{"type":24,"value":4047},", () ",{"type":19,"tag":60,"props":4049,"children":4050},{"style":77},[4051],{"type":24,"value":2525},{"type":19,"tag":60,"props":4053,"children":4054},{"style":94},[4055],{"type":24,"value":97},{"type":19,"tag":60,"props":4057,"children":4058},{"class":62,"line":328},[4059,4063,4067,4071,4076,4080,4085],{"type":19,"tag":60,"props":4060,"children":4061},{"style":94},[4062],{"type":24,"value":3947},{"type":19,"tag":60,"props":4064,"children":4065},{"style":113},[4066],{"type":24,"value":3952},{"type":19,"tag":60,"props":4068,"children":4069},{"style":94},[4070],{"type":24,"value":131},{"type":19,"tag":60,"props":4072,"children":4073},{"style":242},[4074],{"type":24,"value":4075},"'data: [DONE]",{"type":19,"tag":60,"props":4077,"children":4078},{"style":83},[4079],{"type":24,"value":3998},{"type":19,"tag":60,"props":4081,"children":4082},{"style":242},[4083],{"type":24,"value":4084},"'",{"type":19,"tag":60,"props":4086,"children":4087},{"style":94},[4088],{"type":24,"value":3165},{"type":19,"tag":60,"props":4090,"children":4091},{"class":62,"line":345},[4092,4096,4101],{"type":19,"tag":60,"props":4093,"children":4094},{"style":94},[4095],{"type":24,"value":3947},{"type":19,"tag":60,"props":4097,"children":4098},{"style":113},[4099],{"type":24,"value":4100},"end",{"type":19,"tag":60,"props":4102,"children":4103},{"style":94},[4104],{"type":24,"value":4105},"();\n",{"type":19,"tag":60,"props":4107,"children":4108},{"class":62,"line":362},[4109],{"type":19,"tag":60,"props":4110,"children":4111},{"style":94},[4112],{"type":24,"value":4015},{"type":19,"tag":60,"props":4114,"children":4115},{"class":62,"line":375},[4116],{"type":19,"tag":60,"props":4117,"children":4118},{"style":94},[4119],{"type":24,"value":3896},{"type":19,"tag":60,"props":4121,"children":4122},{"class":62,"line":383},[4123,4127,4131,4135,4140,4144,4149,4153,4157],{"type":19,"tag":60,"props":4124,"children":4125},{"style":94},[4126],{"type":24,"value":3904},{"type":19,"tag":60,"props":4128,"children":4129},{"style":113},[4130],{"type":24,"value":3909},{"type":19,"tag":60,"props":4132,"children":4133},{"style":94},[4134],{"type":24,"value":131},{"type":19,"tag":60,"props":4136,"children":4137},{"style":242},[4138],{"type":24,"value":4139},"'error'",{"type":19,"tag":60,"props":4141,"children":4142},{"style":94},[4143],{"type":24,"value":3723},{"type":19,"tag":60,"props":4145,"children":4146},{"style":134},[4147],{"type":24,"value":4148},"error",{"type":19,"tag":60,"props":4150,"children":4151},{"style":94},[4152],{"type":24,"value":2520},{"type":19,"tag":60,"props":4154,"children":4155},{"style":77},[4156],{"type":24,"value":2525},{"type":19,"tag":60,"props":4158,"children":4159},{"style":94},[4160],{"type":24,"value":97},{"type":19,"tag":60,"props":4162,"children":4163},{"class":62,"line":391},[4164,4168,4172,4176,4180,4184,4188,4192,4197,4201,4205,4210,4215,4219,4223,4227],{"type":19,"tag":60,"props":4165,"children":4166},{"style":94},[4167],{"type":24,"value":3947},{"type":19,"tag":60,"props":4169,"children":4170},{"style":113},[4171],{"type":24,"value":3952},{"type":19,"tag":60,"props":4173,"children":4174},{"style":94},[4175],{"type":24,"value":131},{"type":19,"tag":60,"props":4177,"children":4178},{"style":242},[4179],{"type":24,"value":3961},{"type":19,"tag":60,"props":4181,"children":4182},{"style":83},[4183],{"type":24,"value":3966},{"type":19,"tag":60,"props":4185,"children":4186},{"style":242},[4187],{"type":24,"value":1744},{"type":19,"tag":60,"props":4189,"children":4190},{"style":113},[4191],{"type":24,"value":3975},{"type":19,"tag":60,"props":4193,"children":4194},{"style":242},[4195],{"type":24,"value":4196},"({error: ",{"type":19,"tag":60,"props":4198,"children":4199},{"style":94},[4200],{"type":24,"value":4148},{"type":19,"tag":60,"props":4202,"children":4203},{"style":242},[4204],{"type":24,"value":1744},{"type":19,"tag":60,"props":4206,"children":4207},{"style":94},[4208],{"type":24,"value":4209},"message",{"type":19,"tag":60,"props":4211,"children":4212},{"style":242},[4213],{"type":24,"value":4214},"})",{"type":19,"tag":60,"props":4216,"children":4217},{"style":242},[4218],{"type":24,"value":3993},{"type":19,"tag":60,"props":4220,"children":4221},{"style":83},[4222],{"type":24,"value":3998},{"type":19,"tag":60,"props":4224,"children":4225},{"style":242},[4226],{"type":24,"value":4003},{"type":19,"tag":60,"props":4228,"children":4229},{"style":94},[4230],{"type":24,"value":3165},{"type":19,"tag":60,"props":4232,"children":4233},{"class":62,"line":400},[4234,4238,4242],{"type":19,"tag":60,"props":4235,"children":4236},{"style":94},[4237],{"type":24,"value":3947},{"type":19,"tag":60,"props":4239,"children":4240},{"style":113},[4241],{"type":24,"value":4100},{"type":19,"tag":60,"props":4243,"children":4244},{"style":94},[4245],{"type":24,"value":4105},{"type":19,"tag":60,"props":4247,"children":4248},{"class":62,"line":416},[4249],{"type":19,"tag":60,"props":4250,"children":4251},{"style":94},[4252],{"type":24,"value":4015},{"type":19,"tag":60,"props":4254,"children":4255},{"class":62,"line":433},[4256],{"type":19,"tag":60,"props":4257,"children":4258},{"style":94},[4259],{"type":24,"value":3896},{"type":19,"tag":60,"props":4261,"children":4262},{"class":62,"line":450},[4263,4267,4272],{"type":19,"tag":60,"props":4264,"children":4265},{"style":94},[4266],{"type":24,"value":3904},{"type":19,"tag":60,"props":4268,"children":4269},{"style":113},[4270],{"type":24,"value":4271},"start",{"type":19,"tag":60,"props":4273,"children":4274},{"style":94},[4275],{"type":24,"value":4105},{"type":19,"tag":60,"props":4277,"children":4278},{"class":62,"line":463},[4279],{"type":19,"tag":60,"props":4280,"children":4281},{"style":94},[4282],{"type":24,"value":4283},"});\n",{"type":19,"tag":20,"props":4285,"children":4286},{},[4287],{"type":19,"tag":43,"props":4288,"children":4289},{},[4290],{"type":24,"value":4291},"Python异步生成器",{"type":19,"tag":49,"props":4293,"children":4295},{"className":1063,"code":4294,"language":1065,"meta":7,"style":7},"import asyncio\nfrom fastapi import FastAPI\nfrom fastapi.responses import StreamingResponse\n\napp = FastAPI()\n\nclass RealTimeContentGenerator:\n    async def generate_stream(self, prompt: str):\n        \"\"\"异步生成内容流\"\"\"\n        stages = [\n            \"analyzing_requirements\",\n            \"planning_structure\", \n            \"generating_content\",\n            \"applying_styles\",\n            \"optimizing_performance\"\n        ]\n        \n        for i, stage in enumerate(stages):\n            # 模拟AI处理时间\n            await asyncio.sleep(0.5)\n            \n            chunk = await self.process_stage(stage, prompt)\n            \n            yield f\"data: {json.dumps({\n                'stage': stage,\n                'content': chunk,\n                'progress': (i + 1) / len(stages) * 100\n            })}\\n\\n\"\n        \n        yield \"data: [DONE]\\n\\n\"\n\n@app.get(\"/stream-generate\")\nasync def stream_generate(prompt: str):\n    generator = RealTimeContentGenerator()\n    return StreamingResponse(\n        generator.generate_stream(prompt),\n        media_type=\"text/event-stream\"\n    )\n",[4296],{"type":19,"tag":56,"props":4297,"children":4298},{"__ignoreMap":7},[4299,4311,4332,4353,4360,4377,4384,4400,4433,4441,4458,4470,4482,4494,4506,4514,4522,4529,4555,4563,4585,4593,4619,4626,4654,4667,4680,4732,4750,4757,4778,4785,4806,4836,4853,4865,4873,4891],{"type":19,"tag":60,"props":4300,"children":4301},{"class":62,"line":63},[4302,4306],{"type":19,"tag":60,"props":4303,"children":4304},{"style":77},[4305],{"type":24,"value":2333},{"type":19,"tag":60,"props":4307,"children":4308},{"style":94},[4309],{"type":24,"value":4310}," asyncio\n",{"type":19,"tag":60,"props":4312,"children":4313},{"class":62,"line":73},[4314,4318,4323,4327],{"type":19,"tag":60,"props":4315,"children":4316},{"style":77},[4317],{"type":24,"value":2343},{"type":19,"tag":60,"props":4319,"children":4320},{"style":94},[4321],{"type":24,"value":4322}," fastapi ",{"type":19,"tag":60,"props":4324,"children":4325},{"style":77},[4326],{"type":24,"value":2333},{"type":19,"tag":60,"props":4328,"children":4329},{"style":94},[4330],{"type":24,"value":4331}," FastAPI\n",{"type":19,"tag":60,"props":4333,"children":4334},{"class":62,"line":100},[4335,4339,4344,4348],{"type":19,"tag":60,"props":4336,"children":4337},{"style":77},[4338],{"type":24,"value":2343},{"type":19,"tag":60,"props":4340,"children":4341},{"style":94},[4342],{"type":24,"value":4343}," fastapi.responses ",{"type":19,"tag":60,"props":4345,"children":4346},{"style":77},[4347],{"type":24,"value":2333},{"type":19,"tag":60,"props":4349,"children":4350},{"style":94},[4351],{"type":24,"value":4352}," StreamingResponse\n",{"type":19,"tag":60,"props":4354,"children":4355},{"class":62,"line":109},[4356],{"type":19,"tag":60,"props":4357,"children":4358},{"emptyLinePlaceholder":678},[4359],{"type":24,"value":681},{"type":19,"tag":60,"props":4361,"children":4362},{"class":62,"line":155},[4363,4368,4372],{"type":19,"tag":60,"props":4364,"children":4365},{"style":94},[4366],{"type":24,"value":4367},"app ",{"type":19,"tag":60,"props":4369,"children":4370},{"style":77},[4371],{"type":24,"value":593},{"type":19,"tag":60,"props":4373,"children":4374},{"style":94},[4375],{"type":24,"value":4376}," FastAPI()\n",{"type":19,"tag":60,"props":4378,"children":4379},{"class":62,"line":179},[4380],{"type":19,"tag":60,"props":4381,"children":4382},{"emptyLinePlaceholder":678},[4383],{"type":24,"value":681},{"type":19,"tag":60,"props":4385,"children":4386},{"class":62,"line":206},[4387,4391,4396],{"type":19,"tag":60,"props":4388,"children":4389},{"style":77},[4390],{"type":24,"value":1077},{"type":19,"tag":60,"props":4392,"children":4393},{"style":113},[4394],{"type":24,"value":4395}," RealTimeContentGenerator",{"type":19,"tag":60,"props":4397,"children":4398},{"style":94},[4399],{"type":24,"value":1087},{"type":19,"tag":60,"props":4401,"children":4402},{"class":62,"line":215},[4403,4408,4413,4418,4423,4428],{"type":19,"tag":60,"props":4404,"children":4405},{"style":77},[4406],{"type":24,"value":4407},"    async",{"type":19,"tag":60,"props":4409,"children":4410},{"style":77},[4411],{"type":24,"value":4412}," def",{"type":19,"tag":60,"props":4414,"children":4415},{"style":113},[4416],{"type":24,"value":4417}," generate_stream",{"type":19,"tag":60,"props":4419,"children":4420},{"style":94},[4421],{"type":24,"value":4422},"(self, prompt: ",{"type":19,"tag":60,"props":4424,"children":4425},{"style":83},[4426],{"type":24,"value":4427},"str",{"type":19,"tag":60,"props":4429,"children":4430},{"style":94},[4431],{"type":24,"value":4432},"):\n",{"type":19,"tag":60,"props":4434,"children":4435},{"class":62,"line":233},[4436],{"type":19,"tag":60,"props":4437,"children":4438},{"style":242},[4439],{"type":24,"value":4440},"        \"\"\"异步生成内容流\"\"\"\n",{"type":19,"tag":60,"props":4442,"children":4443},{"class":62,"line":253},[4444,4449,4453],{"type":19,"tag":60,"props":4445,"children":4446},{"style":94},[4447],{"type":24,"value":4448},"        stages ",{"type":19,"tag":60,"props":4450,"children":4451},{"style":77},[4452],{"type":24,"value":593},{"type":19,"tag":60,"props":4454,"children":4455},{"style":94},[4456],{"type":24,"value":4457}," [\n",{"type":19,"tag":60,"props":4459,"children":4460},{"class":62,"line":271},[4461,4466],{"type":19,"tag":60,"props":4462,"children":4463},{"style":242},[4464],{"type":24,"value":4465},"            \"analyzing_requirements\"",{"type":19,"tag":60,"props":4467,"children":4468},{"style":94},[4469],{"type":24,"value":250},{"type":19,"tag":60,"props":4471,"children":4472},{"class":62,"line":285},[4473,4478],{"type":19,"tag":60,"props":4474,"children":4475},{"style":242},[4476],{"type":24,"value":4477},"            \"planning_structure\"",{"type":19,"tag":60,"props":4479,"children":4480},{"style":94},[4481],{"type":24,"value":1504},{"type":19,"tag":60,"props":4483,"children":4484},{"class":62,"line":294},[4485,4490],{"type":19,"tag":60,"props":4486,"children":4487},{"style":242},[4488],{"type":24,"value":4489},"            \"generating_content\"",{"type":19,"tag":60,"props":4491,"children":4492},{"style":94},[4493],{"type":24,"value":250},{"type":19,"tag":60,"props":4495,"children":4496},{"class":62,"line":303},[4497,4502],{"type":19,"tag":60,"props":4498,"children":4499},{"style":242},[4500],{"type":24,"value":4501},"            \"applying_styles\"",{"type":19,"tag":60,"props":4503,"children":4504},{"style":94},[4505],{"type":24,"value":250},{"type":19,"tag":60,"props":4507,"children":4508},{"class":62,"line":312},[4509],{"type":19,"tag":60,"props":4510,"children":4511},{"style":242},[4512],{"type":24,"value":4513},"            \"optimizing_performance\"\n",{"type":19,"tag":60,"props":4515,"children":4516},{"class":62,"line":328},[4517],{"type":19,"tag":60,"props":4518,"children":4519},{"style":94},[4520],{"type":24,"value":4521},"        ]\n",{"type":19,"tag":60,"props":4523,"children":4524},{"class":62,"line":345},[4525],{"type":19,"tag":60,"props":4526,"children":4527},{"style":94},[4528],{"type":24,"value":300},{"type":19,"tag":60,"props":4530,"children":4531},{"class":62,"line":362},[4532,4536,4541,4545,4550],{"type":19,"tag":60,"props":4533,"children":4534},{"style":77},[4535],{"type":24,"value":1287},{"type":19,"tag":60,"props":4537,"children":4538},{"style":94},[4539],{"type":24,"value":4540}," i, stage ",{"type":19,"tag":60,"props":4542,"children":4543},{"style":77},[4544],{"type":24,"value":1297},{"type":19,"tag":60,"props":4546,"children":4547},{"style":83},[4548],{"type":24,"value":4549}," enumerate",{"type":19,"tag":60,"props":4551,"children":4552},{"style":94},[4553],{"type":24,"value":4554},"(stages):\n",{"type":19,"tag":60,"props":4556,"children":4557},{"class":62,"line":375},[4558],{"type":19,"tag":60,"props":4559,"children":4560},{"style":67},[4561],{"type":24,"value":4562},"            # 模拟AI处理时间\n",{"type":19,"tag":60,"props":4564,"children":4565},{"class":62,"line":383},[4566,4571,4576,4580],{"type":19,"tag":60,"props":4567,"children":4568},{"style":77},[4569],{"type":24,"value":4570},"            await",{"type":19,"tag":60,"props":4572,"children":4573},{"style":94},[4574],{"type":24,"value":4575}," asyncio.sleep(",{"type":19,"tag":60,"props":4577,"children":4578},{"style":83},[4579],{"type":24,"value":3183},{"type":19,"tag":60,"props":4581,"children":4582},{"style":94},[4583],{"type":24,"value":4584},")\n",{"type":19,"tag":60,"props":4586,"children":4587},{"class":62,"line":391},[4588],{"type":19,"tag":60,"props":4589,"children":4590},{"style":94},[4591],{"type":24,"value":4592},"            \n",{"type":19,"tag":60,"props":4594,"children":4595},{"class":62,"line":400},[4596,4601,4605,4610,4614],{"type":19,"tag":60,"props":4597,"children":4598},{"style":94},[4599],{"type":24,"value":4600},"            chunk ",{"type":19,"tag":60,"props":4602,"children":4603},{"style":77},[4604],{"type":24,"value":593},{"type":19,"tag":60,"props":4606,"children":4607},{"style":77},[4608],{"type":24,"value":4609}," await",{"type":19,"tag":60,"props":4611,"children":4612},{"style":83},[4613],{"type":24,"value":1198},{"type":19,"tag":60,"props":4615,"children":4616},{"style":94},[4617],{"type":24,"value":4618},".process_stage(stage, prompt)\n",{"type":19,"tag":60,"props":4620,"children":4621},{"class":62,"line":416},[4622],{"type":19,"tag":60,"props":4623,"children":4624},{"style":94},[4625],{"type":24,"value":4592},{"type":19,"tag":60,"props":4627,"children":4628},{"class":62,"line":433},[4629,4634,4639,4644,4649],{"type":19,"tag":60,"props":4630,"children":4631},{"style":77},[4632],{"type":24,"value":4633},"            yield",{"type":19,"tag":60,"props":4635,"children":4636},{"style":77},[4637],{"type":24,"value":4638}," f",{"type":19,"tag":60,"props":4640,"children":4641},{"style":242},[4642],{"type":24,"value":4643},"\"data: ",{"type":19,"tag":60,"props":4645,"children":4646},{"style":83},[4647],{"type":24,"value":4648},"{",{"type":19,"tag":60,"props":4650,"children":4651},{"style":94},[4652],{"type":24,"value":4653},"json.dumps({\n",{"type":19,"tag":60,"props":4655,"children":4656},{"class":62,"line":450},[4657,4662],{"type":19,"tag":60,"props":4658,"children":4659},{"style":242},[4660],{"type":24,"value":4661},"                'stage'",{"type":19,"tag":60,"props":4663,"children":4664},{"style":94},[4665],{"type":24,"value":4666},": stage,\n",{"type":19,"tag":60,"props":4668,"children":4669},{"class":62,"line":463},[4670,4675],{"type":19,"tag":60,"props":4671,"children":4672},{"style":242},[4673],{"type":24,"value":4674},"                'content'",{"type":19,"tag":60,"props":4676,"children":4677},{"style":94},[4678],{"type":24,"value":4679},": chunk,\n",{"type":19,"tag":60,"props":4681,"children":4682},{"class":62,"line":471},[4683,4688,4693,4698,4703,4707,4712,4717,4722,4727],{"type":19,"tag":60,"props":4684,"children":4685},{"style":242},[4686],{"type":24,"value":4687},"                'progress'",{"type":19,"tag":60,"props":4689,"children":4690},{"style":94},[4691],{"type":24,"value":4692},": (i ",{"type":19,"tag":60,"props":4694,"children":4695},{"style":77},[4696],{"type":24,"value":4697},"+",{"type":19,"tag":60,"props":4699,"children":4700},{"style":83},[4701],{"type":24,"value":4702}," 1",{"type":19,"tag":60,"props":4704,"children":4705},{"style":94},[4706],{"type":24,"value":2520},{"type":19,"tag":60,"props":4708,"children":4709},{"style":77},[4710],{"type":24,"value":4711},"/",{"type":19,"tag":60,"props":4713,"children":4714},{"style":83},[4715],{"type":24,"value":4716}," len",{"type":19,"tag":60,"props":4718,"children":4719},{"style":94},[4720],{"type":24,"value":4721},"(stages) ",{"type":19,"tag":60,"props":4723,"children":4724},{"style":77},[4725],{"type":24,"value":4726},"*",{"type":19,"tag":60,"props":4728,"children":4729},{"style":83},[4730],{"type":24,"value":4731}," 100\n",{"type":19,"tag":60,"props":4733,"children":4734},{"class":62,"line":480},[4735,4740,4745],{"type":19,"tag":60,"props":4736,"children":4737},{"style":94},[4738],{"type":24,"value":4739},"            })",{"type":19,"tag":60,"props":4741,"children":4742},{"style":83},[4743],{"type":24,"value":4744},"}\\n\\n",{"type":19,"tag":60,"props":4746,"children":4747},{"style":242},[4748],{"type":24,"value":4749},"\"\n",{"type":19,"tag":60,"props":4751,"children":4752},{"class":62,"line":489},[4753],{"type":19,"tag":60,"props":4754,"children":4755},{"style":94},[4756],{"type":24,"value":300},{"type":19,"tag":60,"props":4758,"children":4759},{"class":62,"line":498},[4760,4765,4770,4774],{"type":19,"tag":60,"props":4761,"children":4762},{"style":77},[4763],{"type":24,"value":4764},"        yield",{"type":19,"tag":60,"props":4766,"children":4767},{"style":242},[4768],{"type":24,"value":4769}," \"data: [DONE]",{"type":19,"tag":60,"props":4771,"children":4772},{"style":83},[4773],{"type":24,"value":3998},{"type":19,"tag":60,"props":4775,"children":4776},{"style":242},[4777],{"type":24,"value":4749},{"type":19,"tag":60,"props":4779,"children":4780},{"class":62,"line":2980},[4781],{"type":19,"tag":60,"props":4782,"children":4783},{"emptyLinePlaceholder":678},[4784],{"type":24,"value":681},{"type":19,"tag":60,"props":4786,"children":4787},{"class":62,"line":3018},[4788,4793,4797,4802],{"type":19,"tag":60,"props":4789,"children":4790},{"style":113},[4791],{"type":24,"value":4792},"@app.get",{"type":19,"tag":60,"props":4794,"children":4795},{"style":94},[4796],{"type":24,"value":131},{"type":19,"tag":60,"props":4798,"children":4799},{"style":242},[4800],{"type":24,"value":4801},"\"/stream-generate\"",{"type":19,"tag":60,"props":4803,"children":4804},{"style":94},[4805],{"type":24,"value":4584},{"type":19,"tag":60,"props":4807,"children":4808},{"class":62,"line":3034},[4809,4814,4818,4823,4828,4832],{"type":19,"tag":60,"props":4810,"children":4811},{"style":77},[4812],{"type":24,"value":4813},"async",{"type":19,"tag":60,"props":4815,"children":4816},{"style":77},[4817],{"type":24,"value":4412},{"type":19,"tag":60,"props":4819,"children":4820},{"style":113},[4821],{"type":24,"value":4822}," stream_generate",{"type":19,"tag":60,"props":4824,"children":4825},{"style":94},[4826],{"type":24,"value":4827},"(prompt: ",{"type":19,"tag":60,"props":4829,"children":4830},{"style":83},[4831],{"type":24,"value":4427},{"type":19,"tag":60,"props":4833,"children":4834},{"style":94},[4835],{"type":24,"value":4432},{"type":19,"tag":60,"props":4837,"children":4838},{"class":62,"line":3050},[4839,4844,4848],{"type":19,"tag":60,"props":4840,"children":4841},{"style":94},[4842],{"type":24,"value":4843},"    generator ",{"type":19,"tag":60,"props":4845,"children":4846},{"style":77},[4847],{"type":24,"value":593},{"type":19,"tag":60,"props":4849,"children":4850},{"style":94},[4851],{"type":24,"value":4852}," RealTimeContentGenerator()\n",{"type":19,"tag":60,"props":4854,"children":4855},{"class":62,"line":3066},[4856,4860],{"type":19,"tag":60,"props":4857,"children":4858},{"style":77},[4859],{"type":24,"value":161},{"type":19,"tag":60,"props":4861,"children":4862},{"style":94},[4863],{"type":24,"value":4864}," StreamingResponse(\n",{"type":19,"tag":60,"props":4866,"children":4867},{"class":62,"line":3074},[4868],{"type":19,"tag":60,"props":4869,"children":4870},{"style":94},[4871],{"type":24,"value":4872},"        generator.generate_stream(prompt),\n",{"type":19,"tag":60,"props":4874,"children":4876},{"class":62,"line":4875},37,[4877,4882,4886],{"type":19,"tag":60,"props":4878,"children":4879},{"style":134},[4880],{"type":24,"value":4881},"        media_type",{"type":19,"tag":60,"props":4883,"children":4884},{"style":77},[4885],{"type":24,"value":593},{"type":19,"tag":60,"props":4887,"children":4888},{"style":242},[4889],{"type":24,"value":4890},"\"text/event-stream\"\n",{"type":19,"tag":60,"props":4892,"children":4894},{"class":62,"line":4893},38,[4895],{"type":19,"tag":60,"props":4896,"children":4897},{"style":94},[4898],{"type":24,"value":4899},"    )\n",{"type":19,"tag":27,"props":4901,"children":4903},{"id":4902},"性能指标与用户体验",[4904],{"type":24,"value":4905},"📊 性能指标与用户体验",{"type":19,"tag":34,"props":4907,"children":4909},{"id":4908},"关键性能指标kpi",[4910],{"type":24,"value":4911},"关键性能指标(KPI)",{"type":19,"tag":4913,"props":4914,"children":4915},"table",{},[4916,4945],{"type":19,"tag":4917,"props":4918,"children":4919},"thead",{},[4920],{"type":19,"tag":4921,"props":4922,"children":4923},"tr",{},[4924,4930,4935,4940],{"type":19,"tag":4925,"props":4926,"children":4927},"th",{},[4928],{"type":24,"value":4929},"指标",{"type":19,"tag":4925,"props":4931,"children":4932},{},[4933],{"type":24,"value":4934},"目标值",{"type":19,"tag":4925,"props":4936,"children":4937},{},[4938],{"type":24,"value":4939},"实际表现",{"type":19,"tag":4925,"props":4941,"children":4942},{},[4943],{"type":24,"value":4944},"优化效果",{"type":19,"tag":4946,"props":4947,"children":4948},"tbody",{},[4949,4973,4996,5018,5041],{"type":19,"tag":4921,"props":4950,"children":4951},{},[4952,4958,4963,4968],{"type":19,"tag":4953,"props":4954,"children":4955},"td",{},[4956],{"type":24,"value":4957},"首字节时间(TTFB)",{"type":19,"tag":4953,"props":4959,"children":4960},{},[4961],{"type":24,"value":4962},"\u003C200ms",{"type":19,"tag":4953,"props":4964,"children":4965},{},[4966],{"type":24,"value":4967},"180ms",{"type":19,"tag":4953,"props":4969,"children":4970},{},[4971],{"type":24,"value":4972},"✅ 达标",{"type":19,"tag":4921,"props":4974,"children":4975},{},[4976,4981,4986,4991],{"type":19,"tag":4953,"props":4977,"children":4978},{},[4979],{"type":24,"value":4980},"首次内容渲染(FCP)",{"type":19,"tag":4953,"props":4982,"children":4983},{},[4984],{"type":24,"value":4985},"\u003C800ms",{"type":19,"tag":4953,"props":4987,"children":4988},{},[4989],{"type":24,"value":4990},"650ms",{"type":19,"tag":4953,"props":4992,"children":4993},{},[4994],{"type":24,"value":4995},"✅ 优秀",{"type":19,"tag":4921,"props":4997,"children":4998},{},[4999,5004,5009,5014],{"type":19,"tag":4953,"props":5000,"children":5001},{},[5002],{"type":24,"value":5003},"连续更新延迟",{"type":19,"tag":4953,"props":5005,"children":5006},{},[5007],{"type":24,"value":5008},"\u003C50ms",{"type":19,"tag":4953,"props":5010,"children":5011},{},[5012],{"type":24,"value":5013},"35ms",{"type":19,"tag":4953,"props":5015,"children":5016},{},[5017],{"type":24,"value":4995},{"type":19,"tag":4921,"props":5019,"children":5020},{},[5021,5026,5031,5036],{"type":19,"tag":4953,"props":5022,"children":5023},{},[5024],{"type":24,"value":5025},"内存使用增长",{"type":19,"tag":4953,"props":5027,"children":5028},{},[5029],{"type":24,"value":5030},"\u003C10MB/分钟",{"type":19,"tag":4953,"props":5032,"children":5033},{},[5034],{"type":24,"value":5035},"6MB/分钟",{"type":19,"tag":4953,"props":5037,"children":5038},{},[5039],{"type":24,"value":5040},"✅ 良好",{"type":19,"tag":4921,"props":5042,"children":5043},{},[5044,5049,5054,5059],{"type":19,"tag":4953,"props":5045,"children":5046},{},[5047],{"type":24,"value":5048},"CPU使用率",{"type":19,"tag":4953,"props":5050,"children":5051},{},[5052],{"type":24,"value":5053},"\u003C30%",{"type":19,"tag":4953,"props":5055,"children":5056},{},[5057],{"type":24,"value":5058},"22%",{"type":19,"tag":4953,"props":5060,"children":5061},{},[5062],{"type":24,"value":5040},{"type":19,"tag":34,"props":5064,"children":5066},{"id":5065},"用户体验改进数据",[5067],{"type":24,"value":5065},{"type":19,"tag":20,"props":5069,"children":5070},{},[5071],{"type":19,"tag":43,"props":5072,"children":5073},{},[5074],{"type":24,"value":5075},"生成过程满意度",{"type":19,"tag":516,"props":5077,"children":5078},{},[5079,5084,5089],{"type":19,"tag":520,"props":5080,"children":5081},{},[5082],{"type":24,"value":5083},"93% 用户认为实时反馈增强了控制感",{"type":19,"tag":520,"props":5085,"children":5086},{},[5087],{"type":24,"value":5088},"87% 用户表示减少了等待焦虑",{"type":19,"tag":520,"props":5090,"children":5091},{},[5092],{"type":24,"value":5093},"91% 用户愿意推荐给他人使用",{"type":19,"tag":20,"props":5095,"children":5096},{},[5097],{"type":19,"tag":43,"props":5098,"children":5099},{},[5100],{"type":24,"value":5101},"效率提升统计",{"type":19,"tag":516,"props":5103,"children":5104},{},[5105,5110,5115],{"type":19,"tag":520,"props":5106,"children":5107},{},[5108],{"type":24,"value":5109},"平均生成时间缩短40%（相比批量生成）",{"type":19,"tag":520,"props":5111,"children":5112},{},[5113],{"type":24,"value":5114},"用户干预率提升60%（更精确控制）",{"type":19,"tag":520,"props":5116,"children":5117},{},[5118],{"type":24,"value":5119},"最终满意度提高35%",{"type":19,"tag":27,"props":5121,"children":5123},{"id":5122},"高级特性与定制",[5124],{"type":24,"value":5125},"🔧 高级特性与定制",{"type":19,"tag":34,"props":5127,"children":5129},{"id":5128},"个性化生成策略",[5130],{"type":24,"value":5128},{"type":19,"tag":20,"props":5132,"children":5133},{},[5134],{"type":19,"tag":43,"props":5135,"children":5136},{},[5137],{"type":24,"value":5138},"用户习惯学习",{"type":19,"tag":49,"props":5140,"children":5142},{"className":1063,"code":5141,"language":1065,"meta":7,"style":7},"class UserPreferenceLearner:\n    def __init__(self, user_id):\n        self.user_id = user_id\n        self.interaction_history = []\n        self.preference_model = None\n    \n    def learn_from_intervention(self, intervention_data):\n        \"\"\"从用户干预中学习偏好\"\"\"\n        feature_vector = self.extract_features(intervention_data)\n        self.interaction_history.append({\n            'timestamp': datetime.now(),\n            'intervention_type': intervention_data.type,\n            'context': intervention_data.context,\n            'user_satisfaction': intervention_data.feedback\n        })\n        \n        # 更新个人化模型\n        self.update_preference_model()\n    \n    def predict_user_preference(self, context):\n        \"\"\"预测用户在特定上下文中的偏好\"\"\"\n        if self.preference_model:\n            return self.preference_model.predict(context)\n        return self.get_default_preferences()\n",[5143],{"type":19,"tag":56,"props":5144,"children":5145},{"__ignoreMap":7},[5146,5162,5178,5199,5219,5240,5247,5264,5272,5293,5305,5318,5331,5344,5357,5365,5372,5380,5392,5399,5416,5424,5441,5458],{"type":19,"tag":60,"props":5147,"children":5148},{"class":62,"line":63},[5149,5153,5158],{"type":19,"tag":60,"props":5150,"children":5151},{"style":77},[5152],{"type":24,"value":1077},{"type":19,"tag":60,"props":5154,"children":5155},{"style":113},[5156],{"type":24,"value":5157}," UserPreferenceLearner",{"type":19,"tag":60,"props":5159,"children":5160},{"style":94},[5161],{"type":24,"value":1087},{"type":19,"tag":60,"props":5163,"children":5164},{"class":62,"line":73},[5165,5169,5173],{"type":19,"tag":60,"props":5166,"children":5167},{"style":77},[5168],{"type":24,"value":1095},{"type":19,"tag":60,"props":5170,"children":5171},{"style":83},[5172],{"type":24,"value":1100},{"type":19,"tag":60,"props":5174,"children":5175},{"style":94},[5176],{"type":24,"value":5177},"(self, user_id):\n",{"type":19,"tag":60,"props":5179,"children":5180},{"class":62,"line":100},[5181,5185,5190,5194],{"type":19,"tag":60,"props":5182,"children":5183},{"style":83},[5184],{"type":24,"value":1113},{"type":19,"tag":60,"props":5186,"children":5187},{"style":94},[5188],{"type":24,"value":5189},".user_id ",{"type":19,"tag":60,"props":5191,"children":5192},{"style":77},[5193],{"type":24,"value":593},{"type":19,"tag":60,"props":5195,"children":5196},{"style":94},[5197],{"type":24,"value":5198}," user_id\n",{"type":19,"tag":60,"props":5200,"children":5201},{"class":62,"line":109},[5202,5206,5211,5215],{"type":19,"tag":60,"props":5203,"children":5204},{"style":83},[5205],{"type":24,"value":1113},{"type":19,"tag":60,"props":5207,"children":5208},{"style":94},[5209],{"type":24,"value":5210},".interaction_history ",{"type":19,"tag":60,"props":5212,"children":5213},{"style":77},[5214],{"type":24,"value":593},{"type":19,"tag":60,"props":5216,"children":5217},{"style":94},[5218],{"type":24,"value":1127},{"type":19,"tag":60,"props":5220,"children":5221},{"class":62,"line":155},[5222,5226,5231,5235],{"type":19,"tag":60,"props":5223,"children":5224},{"style":83},[5225],{"type":24,"value":1113},{"type":19,"tag":60,"props":5227,"children":5228},{"style":94},[5229],{"type":24,"value":5230},".preference_model ",{"type":19,"tag":60,"props":5232,"children":5233},{"style":77},[5234],{"type":24,"value":593},{"type":19,"tag":60,"props":5236,"children":5237},{"style":83},[5238],{"type":24,"value":5239}," None\n",{"type":19,"tag":60,"props":5241,"children":5242},{"class":62,"line":179},[5243],{"type":19,"tag":60,"props":5244,"children":5245},{"style":94},[5246],{"type":24,"value":1156},{"type":19,"tag":60,"props":5248,"children":5249},{"class":62,"line":206},[5250,5254,5259],{"type":19,"tag":60,"props":5251,"children":5252},{"style":77},[5253],{"type":24,"value":1095},{"type":19,"tag":60,"props":5255,"children":5256},{"style":113},[5257],{"type":24,"value":5258}," learn_from_intervention",{"type":19,"tag":60,"props":5260,"children":5261},{"style":94},[5262],{"type":24,"value":5263},"(self, intervention_data):\n",{"type":19,"tag":60,"props":5265,"children":5266},{"class":62,"line":215},[5267],{"type":19,"tag":60,"props":5268,"children":5269},{"style":242},[5270],{"type":24,"value":5271},"        \"\"\"从用户干预中学习偏好\"\"\"\n",{"type":19,"tag":60,"props":5273,"children":5274},{"class":62,"line":233},[5275,5280,5284,5288],{"type":19,"tag":60,"props":5276,"children":5277},{"style":94},[5278],{"type":24,"value":5279},"        feature_vector ",{"type":19,"tag":60,"props":5281,"children":5282},{"style":77},[5283],{"type":24,"value":593},{"type":19,"tag":60,"props":5285,"children":5286},{"style":83},[5287],{"type":24,"value":1198},{"type":19,"tag":60,"props":5289,"children":5290},{"style":94},[5291],{"type":24,"value":5292},".extract_features(intervention_data)\n",{"type":19,"tag":60,"props":5294,"children":5295},{"class":62,"line":253},[5296,5300],{"type":19,"tag":60,"props":5297,"children":5298},{"style":83},[5299],{"type":24,"value":1113},{"type":19,"tag":60,"props":5301,"children":5302},{"style":94},[5303],{"type":24,"value":5304},".interaction_history.append({\n",{"type":19,"tag":60,"props":5306,"children":5307},{"class":62,"line":271},[5308,5313],{"type":19,"tag":60,"props":5309,"children":5310},{"style":242},[5311],{"type":24,"value":5312},"            'timestamp'",{"type":19,"tag":60,"props":5314,"children":5315},{"style":94},[5316],{"type":24,"value":5317},": datetime.now(),\n",{"type":19,"tag":60,"props":5319,"children":5320},{"class":62,"line":285},[5321,5326],{"type":19,"tag":60,"props":5322,"children":5323},{"style":242},[5324],{"type":24,"value":5325},"            'intervention_type'",{"type":19,"tag":60,"props":5327,"children":5328},{"style":94},[5329],{"type":24,"value":5330},": intervention_data.type,\n",{"type":19,"tag":60,"props":5332,"children":5333},{"class":62,"line":294},[5334,5339],{"type":19,"tag":60,"props":5335,"children":5336},{"style":242},[5337],{"type":24,"value":5338},"            'context'",{"type":19,"tag":60,"props":5340,"children":5341},{"style":94},[5342],{"type":24,"value":5343},": intervention_data.context,\n",{"type":19,"tag":60,"props":5345,"children":5346},{"class":62,"line":303},[5347,5352],{"type":19,"tag":60,"props":5348,"children":5349},{"style":242},[5350],{"type":24,"value":5351},"            'user_satisfaction'",{"type":19,"tag":60,"props":5353,"children":5354},{"style":94},[5355],{"type":24,"value":5356},": intervention_data.feedback\n",{"type":19,"tag":60,"props":5358,"children":5359},{"class":62,"line":312},[5360],{"type":19,"tag":60,"props":5361,"children":5362},{"style":94},[5363],{"type":24,"value":5364},"        })\n",{"type":19,"tag":60,"props":5366,"children":5367},{"class":62,"line":328},[5368],{"type":19,"tag":60,"props":5369,"children":5370},{"style":94},[5371],{"type":24,"value":300},{"type":19,"tag":60,"props":5373,"children":5374},{"class":62,"line":345},[5375],{"type":19,"tag":60,"props":5376,"children":5377},{"style":67},[5378],{"type":24,"value":5379},"        # 更新个人化模型\n",{"type":19,"tag":60,"props":5381,"children":5382},{"class":62,"line":362},[5383,5387],{"type":19,"tag":60,"props":5384,"children":5385},{"style":83},[5386],{"type":24,"value":1113},{"type":19,"tag":60,"props":5388,"children":5389},{"style":94},[5390],{"type":24,"value":5391},".update_preference_model()\n",{"type":19,"tag":60,"props":5393,"children":5394},{"class":62,"line":375},[5395],{"type":19,"tag":60,"props":5396,"children":5397},{"style":94},[5398],{"type":24,"value":1156},{"type":19,"tag":60,"props":5400,"children":5401},{"class":62,"line":383},[5402,5406,5411],{"type":19,"tag":60,"props":5403,"children":5404},{"style":77},[5405],{"type":24,"value":1095},{"type":19,"tag":60,"props":5407,"children":5408},{"style":113},[5409],{"type":24,"value":5410}," predict_user_preference",{"type":19,"tag":60,"props":5412,"children":5413},{"style":94},[5414],{"type":24,"value":5415},"(self, context):\n",{"type":19,"tag":60,"props":5417,"children":5418},{"class":62,"line":391},[5419],{"type":19,"tag":60,"props":5420,"children":5421},{"style":242},[5422],{"type":24,"value":5423},"        \"\"\"预测用户在特定上下文中的偏好\"\"\"\n",{"type":19,"tag":60,"props":5425,"children":5426},{"class":62,"line":400},[5427,5432,5436],{"type":19,"tag":60,"props":5428,"children":5429},{"style":77},[5430],{"type":24,"value":5431},"        if",{"type":19,"tag":60,"props":5433,"children":5434},{"style":83},[5435],{"type":24,"value":1198},{"type":19,"tag":60,"props":5437,"children":5438},{"style":94},[5439],{"type":24,"value":5440},".preference_model:\n",{"type":19,"tag":60,"props":5442,"children":5443},{"class":62,"line":416},[5444,5449,5453],{"type":19,"tag":60,"props":5445,"children":5446},{"style":77},[5447],{"type":24,"value":5448},"            return",{"type":19,"tag":60,"props":5450,"children":5451},{"style":83},[5452],{"type":24,"value":1198},{"type":19,"tag":60,"props":5454,"children":5455},{"style":94},[5456],{"type":24,"value":5457},".preference_model.predict(context)\n",{"type":19,"tag":60,"props":5459,"children":5460},{"class":62,"line":433},[5461,5466,5470],{"type":19,"tag":60,"props":5462,"children":5463},{"style":77},[5464],{"type":24,"value":5465},"        return",{"type":19,"tag":60,"props":5467,"children":5468},{"style":83},[5469],{"type":24,"value":1198},{"type":19,"tag":60,"props":5471,"children":5472},{"style":94},[5473],{"type":24,"value":5474},".get_default_preferences()\n",{"type":19,"tag":34,"props":5476,"children":5478},{"id":5477},"协作式实时生成",[5479],{"type":24,"value":5477},{"type":19,"tag":20,"props":5481,"children":5482},{},[5483],{"type":19,"tag":43,"props":5484,"children":5485},{},[5486],{"type":24,"value":5487},"多用户同步",{"type":19,"tag":516,"props":5489,"children":5490},{},[5491,5496,5501],{"type":19,"tag":520,"props":5492,"children":5493},{},[5494],{"type":24,"value":5495},"支持团队成员同时观看生成过程",{"type":19,"tag":520,"props":5497,"children":5498},{},[5499],{"type":24,"value":5500},"实时评论和建议系统",{"type":19,"tag":520,"props":5502,"children":5503},{},[5504],{"type":24,"value":5505},"权限控制和变更审批流程",{"type":19,"tag":20,"props":5507,"children":5508},{},[5509],{"type":19,"tag":43,"props":5510,"children":5511},{},[5512],{"type":24,"value":5513},"版本管理",{"type":19,"tag":49,"props":5515,"children":5517},{"className":51,"code":5516,"language":53,"meta":7,"style":7},"const versionManager = {\n  snapshots: [],\n  \n  createSnapshot: function(currentState, trigger) {\n    const snapshot = {\n      id: Date.now(),\n      timestamp: new Date(),\n      state: this.deepClone(currentState),\n      trigger: trigger, // 'auto' | 'user_intervention' | 'milestone'\n      user: getCurrentUser()\n    };\n    \n    this.snapshots.push(snapshot);\n    \n    // 保持最近50个快照\n    if (this.snapshots.length > 50) {\n      this.snapshots.splice(0, this.snapshots.length - 50);\n    }\n  },\n  \n  revertToSnapshot: function(snapshotId) {\n    const snapshot = this.snapshots.find(s => s.id === snapshotId);\n    if (snapshot) {\n      return this.restoreState(snapshot.state);\n    }\n  }\n};\n",[5518],{"type":19,"tag":56,"props":5519,"children":5520},{"__ignoreMap":7},[5521,5541,5549,5556,5593,5613,5631,5653,5679,5692,5710,5717,5724,5747,5754,5762,5800,5854,5861,5869,5876,5905,5962,5974,5999,6006,6013],{"type":19,"tag":60,"props":5522,"children":5523},{"class":62,"line":63},[5524,5528,5533,5537],{"type":19,"tag":60,"props":5525,"children":5526},{"style":77},[5527],{"type":24,"value":80},{"type":19,"tag":60,"props":5529,"children":5530},{"style":83},[5531],{"type":24,"value":5532}," versionManager",{"type":19,"tag":60,"props":5534,"children":5535},{"style":77},[5536],{"type":24,"value":91},{"type":19,"tag":60,"props":5538,"children":5539},{"style":94},[5540],{"type":24,"value":97},{"type":19,"tag":60,"props":5542,"children":5543},{"class":62,"line":73},[5544],{"type":19,"tag":60,"props":5545,"children":5546},{"style":94},[5547],{"type":24,"value":5548},"  snapshots: [],\n",{"type":19,"tag":60,"props":5550,"children":5551},{"class":62,"line":100},[5552],{"type":19,"tag":60,"props":5553,"children":5554},{"style":94},[5555],{"type":24,"value":3896},{"type":19,"tag":60,"props":5557,"children":5558},{"class":62,"line":109},[5559,5564,5568,5572,5576,5580,5584,5589],{"type":19,"tag":60,"props":5560,"children":5561},{"style":113},[5562],{"type":24,"value":5563},"  createSnapshot",{"type":19,"tag":60,"props":5565,"children":5566},{"style":94},[5567],{"type":24,"value":121},{"type":19,"tag":60,"props":5569,"children":5570},{"style":77},[5571],{"type":24,"value":126},{"type":19,"tag":60,"props":5573,"children":5574},{"style":94},[5575],{"type":24,"value":131},{"type":19,"tag":60,"props":5577,"children":5578},{"style":134},[5579],{"type":24,"value":1701},{"type":19,"tag":60,"props":5581,"children":5582},{"style":94},[5583],{"type":24,"value":142},{"type":19,"tag":60,"props":5585,"children":5586},{"style":134},[5587],{"type":24,"value":5588},"trigger",{"type":19,"tag":60,"props":5590,"children":5591},{"style":94},[5592],{"type":24,"value":152},{"type":19,"tag":60,"props":5594,"children":5595},{"class":62,"line":155},[5596,5600,5605,5609],{"type":19,"tag":60,"props":5597,"children":5598},{"style":77},[5599],{"type":24,"value":1713},{"type":19,"tag":60,"props":5601,"children":5602},{"style":83},[5603],{"type":24,"value":5604}," snapshot",{"type":19,"tag":60,"props":5606,"children":5607},{"style":77},[5608],{"type":24,"value":91},{"type":19,"tag":60,"props":5610,"children":5611},{"style":94},[5612],{"type":24,"value":97},{"type":19,"tag":60,"props":5614,"children":5615},{"class":62,"line":179},[5616,5621,5626],{"type":19,"tag":60,"props":5617,"children":5618},{"style":94},[5619],{"type":24,"value":5620},"      id: Date.",{"type":19,"tag":60,"props":5622,"children":5623},{"style":113},[5624],{"type":24,"value":5625},"now",{"type":19,"tag":60,"props":5627,"children":5628},{"style":94},[5629],{"type":24,"value":5630},"(),\n",{"type":19,"tag":60,"props":5632,"children":5633},{"class":62,"line":206},[5634,5639,5644,5649],{"type":19,"tag":60,"props":5635,"children":5636},{"style":94},[5637],{"type":24,"value":5638},"      timestamp: ",{"type":19,"tag":60,"props":5640,"children":5641},{"style":77},[5642],{"type":24,"value":5643},"new",{"type":19,"tag":60,"props":5645,"children":5646},{"style":113},[5647],{"type":24,"value":5648}," Date",{"type":19,"tag":60,"props":5650,"children":5651},{"style":94},[5652],{"type":24,"value":5630},{"type":19,"tag":60,"props":5654,"children":5655},{"class":62,"line":215},[5656,5661,5665,5669,5674],{"type":19,"tag":60,"props":5657,"children":5658},{"style":94},[5659],{"type":24,"value":5660},"      state: ",{"type":19,"tag":60,"props":5662,"children":5663},{"style":83},[5664],{"type":24,"value":1739},{"type":19,"tag":60,"props":5666,"children":5667},{"style":94},[5668],{"type":24,"value":1744},{"type":19,"tag":60,"props":5670,"children":5671},{"style":113},[5672],{"type":24,"value":5673},"deepClone",{"type":19,"tag":60,"props":5675,"children":5676},{"style":94},[5677],{"type":24,"value":5678},"(currentState),\n",{"type":19,"tag":60,"props":5680,"children":5681},{"class":62,"line":233},[5682,5687],{"type":19,"tag":60,"props":5683,"children":5684},{"style":94},[5685],{"type":24,"value":5686},"      trigger: trigger, ",{"type":19,"tag":60,"props":5688,"children":5689},{"style":67},[5690],{"type":24,"value":5691},"// 'auto' | 'user_intervention' | 'milestone'\n",{"type":19,"tag":60,"props":5693,"children":5694},{"class":62,"line":253},[5695,5700,5705],{"type":19,"tag":60,"props":5696,"children":5697},{"style":94},[5698],{"type":24,"value":5699},"      user: ",{"type":19,"tag":60,"props":5701,"children":5702},{"style":113},[5703],{"type":24,"value":5704},"getCurrentUser",{"type":19,"tag":60,"props":5706,"children":5707},{"style":94},[5708],{"type":24,"value":5709},"()\n",{"type":19,"tag":60,"props":5711,"children":5712},{"class":62,"line":271},[5713],{"type":19,"tag":60,"props":5714,"children":5715},{"style":94},[5716],{"type":24,"value":1813},{"type":19,"tag":60,"props":5718,"children":5719},{"class":62,"line":285},[5720],{"type":19,"tag":60,"props":5721,"children":5722},{"style":94},[5723],{"type":24,"value":1156},{"type":19,"tag":60,"props":5725,"children":5726},{"class":62,"line":294},[5727,5732,5737,5742],{"type":19,"tag":60,"props":5728,"children":5729},{"style":83},[5730],{"type":24,"value":5731},"    this",{"type":19,"tag":60,"props":5733,"children":5734},{"style":94},[5735],{"type":24,"value":5736},".snapshots.",{"type":19,"tag":60,"props":5738,"children":5739},{"style":113},[5740],{"type":24,"value":5741},"push",{"type":19,"tag":60,"props":5743,"children":5744},{"style":94},[5745],{"type":24,"value":5746},"(snapshot);\n",{"type":19,"tag":60,"props":5748,"children":5749},{"class":62,"line":303},[5750],{"type":19,"tag":60,"props":5751,"children":5752},{"style":94},[5753],{"type":24,"value":1156},{"type":19,"tag":60,"props":5755,"children":5756},{"class":62,"line":312},[5757],{"type":19,"tag":60,"props":5758,"children":5759},{"style":67},[5760],{"type":24,"value":5761},"    // 保持最近50个快照\n",{"type":19,"tag":60,"props":5763,"children":5764},{"class":62,"line":328},[5765,5769,5774,5778,5782,5787,5792,5796],{"type":19,"tag":60,"props":5766,"children":5767},{"style":77},[5768],{"type":24,"value":2124},{"type":19,"tag":60,"props":5770,"children":5771},{"style":94},[5772],{"type":24,"value":5773}," (",{"type":19,"tag":60,"props":5775,"children":5776},{"style":83},[5777],{"type":24,"value":1739},{"type":19,"tag":60,"props":5779,"children":5780},{"style":94},[5781],{"type":24,"value":5736},{"type":19,"tag":60,"props":5783,"children":5784},{"style":83},[5785],{"type":24,"value":5786},"length",{"type":19,"tag":60,"props":5788,"children":5789},{"style":77},[5790],{"type":24,"value":5791}," >",{"type":19,"tag":60,"props":5793,"children":5794},{"style":83},[5795],{"type":24,"value":3391},{"type":19,"tag":60,"props":5797,"children":5798},{"style":94},[5799],{"type":24,"value":152},{"type":19,"tag":60,"props":5801,"children":5802},{"class":62,"line":345},[5803,5808,5812,5817,5821,5825,5829,5833,5837,5841,5846,5850],{"type":19,"tag":60,"props":5804,"children":5805},{"style":83},[5806],{"type":24,"value":5807},"      this",{"type":19,"tag":60,"props":5809,"children":5810},{"style":94},[5811],{"type":24,"value":5736},{"type":19,"tag":60,"props":5813,"children":5814},{"style":113},[5815],{"type":24,"value":5816},"splice",{"type":19,"tag":60,"props":5818,"children":5819},{"style":94},[5820],{"type":24,"value":131},{"type":19,"tag":60,"props":5822,"children":5823},{"style":83},[5824],{"type":24,"value":3125},{"type":19,"tag":60,"props":5826,"children":5827},{"style":94},[5828],{"type":24,"value":142},{"type":19,"tag":60,"props":5830,"children":5831},{"style":83},[5832],{"type":24,"value":1739},{"type":19,"tag":60,"props":5834,"children":5835},{"style":94},[5836],{"type":24,"value":5736},{"type":19,"tag":60,"props":5838,"children":5839},{"style":83},[5840],{"type":24,"value":5786},{"type":19,"tag":60,"props":5842,"children":5843},{"style":77},[5844],{"type":24,"value":5845}," -",{"type":19,"tag":60,"props":5847,"children":5848},{"style":83},[5849],{"type":24,"value":3391},{"type":19,"tag":60,"props":5851,"children":5852},{"style":94},[5853],{"type":24,"value":3165},{"type":19,"tag":60,"props":5855,"children":5856},{"class":62,"line":362},[5857],{"type":19,"tag":60,"props":5858,"children":5859},{"style":94},[5860],{"type":24,"value":2283},{"type":19,"tag":60,"props":5862,"children":5863},{"class":62,"line":375},[5864],{"type":19,"tag":60,"props":5865,"children":5866},{"style":94},[5867],{"type":24,"value":5868},"  },\n",{"type":19,"tag":60,"props":5870,"children":5871},{"class":62,"line":383},[5872],{"type":19,"tag":60,"props":5873,"children":5874},{"style":94},[5875],{"type":24,"value":3896},{"type":19,"tag":60,"props":5877,"children":5878},{"class":62,"line":391},[5879,5884,5888,5892,5896,5901],{"type":19,"tag":60,"props":5880,"children":5881},{"style":113},[5882],{"type":24,"value":5883},"  revertToSnapshot",{"type":19,"tag":60,"props":5885,"children":5886},{"style":94},[5887],{"type":24,"value":121},{"type":19,"tag":60,"props":5889,"children":5890},{"style":77},[5891],{"type":24,"value":126},{"type":19,"tag":60,"props":5893,"children":5894},{"style":94},[5895],{"type":24,"value":131},{"type":19,"tag":60,"props":5897,"children":5898},{"style":134},[5899],{"type":24,"value":5900},"snapshotId",{"type":19,"tag":60,"props":5902,"children":5903},{"style":94},[5904],{"type":24,"value":152},{"type":19,"tag":60,"props":5906,"children":5907},{"class":62,"line":400},[5908,5912,5916,5920,5925,5929,5934,5938,5942,5947,5952,5957],{"type":19,"tag":60,"props":5909,"children":5910},{"style":77},[5911],{"type":24,"value":1713},{"type":19,"tag":60,"props":5913,"children":5914},{"style":83},[5915],{"type":24,"value":5604},{"type":19,"tag":60,"props":5917,"children":5918},{"style":77},[5919],{"type":24,"value":91},{"type":19,"tag":60,"props":5921,"children":5922},{"style":83},[5923],{"type":24,"value":5924}," this",{"type":19,"tag":60,"props":5926,"children":5927},{"style":94},[5928],{"type":24,"value":5736},{"type":19,"tag":60,"props":5930,"children":5931},{"style":113},[5932],{"type":24,"value":5933},"find",{"type":19,"tag":60,"props":5935,"children":5936},{"style":94},[5937],{"type":24,"value":131},{"type":19,"tag":60,"props":5939,"children":5940},{"style":134},[5941],{"type":24,"value":3188},{"type":19,"tag":60,"props":5943,"children":5944},{"style":77},[5945],{"type":24,"value":5946}," =>",{"type":19,"tag":60,"props":5948,"children":5949},{"style":94},[5950],{"type":24,"value":5951}," s.id ",{"type":19,"tag":60,"props":5953,"children":5954},{"style":77},[5955],{"type":24,"value":5956},"===",{"type":19,"tag":60,"props":5958,"children":5959},{"style":94},[5960],{"type":24,"value":5961}," snapshotId);\n",{"type":19,"tag":60,"props":5963,"children":5964},{"class":62,"line":416},[5965,5969],{"type":19,"tag":60,"props":5966,"children":5967},{"style":77},[5968],{"type":24,"value":2124},{"type":19,"tag":60,"props":5970,"children":5971},{"style":94},[5972],{"type":24,"value":5973}," (snapshot) {\n",{"type":19,"tag":60,"props":5975,"children":5976},{"class":62,"line":433},[5977,5981,5985,5989,5994],{"type":19,"tag":60,"props":5978,"children":5979},{"style":77},[5980],{"type":24,"value":2169},{"type":19,"tag":60,"props":5982,"children":5983},{"style":83},[5984],{"type":24,"value":5924},{"type":19,"tag":60,"props":5986,"children":5987},{"style":94},[5988],{"type":24,"value":1744},{"type":19,"tag":60,"props":5990,"children":5991},{"style":113},[5992],{"type":24,"value":5993},"restoreState",{"type":19,"tag":60,"props":5995,"children":5996},{"style":94},[5997],{"type":24,"value":5998},"(snapshot.state);\n",{"type":19,"tag":60,"props":6000,"children":6001},{"class":62,"line":450},[6002],{"type":19,"tag":60,"props":6003,"children":6004},{"style":94},[6005],{"type":24,"value":2283},{"type":19,"tag":60,"props":6007,"children":6008},{"class":62,"line":463},[6009],{"type":19,"tag":60,"props":6010,"children":6011},{"style":94},[6012],{"type":24,"value":495},{"type":19,"tag":60,"props":6014,"children":6015},{"class":62,"line":471},[6016],{"type":19,"tag":60,"props":6017,"children":6018},{"style":94},[6019],{"type":24,"value":504},{"type":19,"tag":27,"props":6021,"children":6023},{"id":6022},"未来发展路线",[6024],{"type":24,"value":6025},"🚀 未来发展路线",{"type":19,"tag":34,"props":6027,"children":6029},{"id":6028},"下一代实时生成",[6030],{"type":24,"value":6028},{"type":19,"tag":20,"props":6032,"children":6033},{},[6034],{"type":19,"tag":43,"props":6035,"children":6036},{},[6037],{"type":24,"value":6038},"量子加速计算",{"type":19,"tag":516,"props":6040,"children":6041},{},[6042,6047,6052],{"type":19,"tag":520,"props":6043,"children":6044},{},[6045],{"type":24,"value":6046},"探索量子计算在内容生成中的应用",{"type":19,"tag":520,"props":6048,"children":6049},{},[6050],{"type":24,"value":6051},"超大规模模型的实时推理优化",{"type":19,"tag":520,"props":6053,"children":6054},{},[6055],{"type":24,"value":6056},"多模态融合生成（文本+图像+音频）",{"type":19,"tag":20,"props":6058,"children":6059},{},[6060],{"type":19,"tag":43,"props":6061,"children":6062},{},[6063],{"type":24,"value":6064},"边缘计算集成",{"type":19,"tag":516,"props":6066,"children":6067},{},[6068,6073,6078],{"type":19,"tag":520,"props":6069,"children":6070},{},[6071],{"type":24,"value":6072},"本地AI模型部署",{"type":19,"tag":520,"props":6074,"children":6075},{},[6076],{"type":24,"value":6077},"离线实时生成能力",{"type":19,"tag":520,"props":6079,"children":6080},{},[6081],{"type":24,"value":6082},"隐私保护增强",{"type":19,"tag":20,"props":6084,"children":6085},{},[6086],{"type":19,"tag":43,"props":6087,"children":6088},{},[6089],{"type":24,"value":6090},"AR/VR集成",{"type":19,"tag":516,"props":6092,"children":6093},{},[6094,6099,6104],{"type":19,"tag":520,"props":6095,"children":6096},{},[6097],{"type":24,"value":6098},"3D空间中的实时页面生成",{"type":19,"tag":520,"props":6100,"children":6101},{},[6102],{"type":24,"value":6103},"手势控制和语音干预",{"type":19,"tag":520,"props":6105,"children":6106},{},[6107],{"type":24,"value":6108},"沉浸式协作体验",{"type":19,"tag":34,"props":6110,"children":6112},{"id":6111},"智能化升级",[6113],{"type":24,"value":6111},{"type":19,"tag":20,"props":6115,"children":6116},{},[6117],{"type":19,"tag":43,"props":6118,"children":6119},{},[6120],{"type":24,"value":6121},"情感计算集成",{"type":19,"tag":516,"props":6123,"children":6124},{},[6125,6130,6135],{"type":19,"tag":520,"props":6126,"children":6127},{},[6128],{"type":24,"value":6129},"检测用户情绪状态",{"type":19,"tag":520,"props":6131,"children":6132},{},[6133],{"type":24,"value":6134},"自适应生成节奏",{"type":19,"tag":520,"props":6136,"children":6137},{},[6138],{"type":24,"value":6139},"个性化交互体验",{"type":19,"tag":20,"props":6141,"children":6142},{},[6143],{"type":19,"tag":43,"props":6144,"children":6145},{},[6146],{"type":24,"value":6147},"预测性生成",{"type":19,"tag":516,"props":6149,"children":6150},{},[6151,6156,6161],{"type":19,"tag":520,"props":6152,"children":6153},{},[6154],{"type":24,"value":6155},"基于用户行为预测需求",{"type":19,"tag":520,"props":6157,"children":6158},{},[6159],{"type":24,"value":6160},"主动生成候选方案",{"type":19,"tag":520,"props":6162,"children":6163},{},[6164],{"type":24,"value":6165},"智能推荐优化建议",{"type":19,"tag":27,"props":6167,"children":6169},{"id":6168},"技术生态链接",[6170],{"type":24,"value":6171},"🔗 技术生态链接",{"type":19,"tag":516,"props":6173,"children":6174},{},[6175,6185,6194,6203,6212],{"type":19,"tag":520,"props":6176,"children":6177},{},[6178],{"type":19,"tag":6179,"props":6180,"children":6182},"a",{"href":6181},"/ai/streaming-generation.md",[6183],{"type":24,"value":6184},"流式生成技术详解",{"type":19,"tag":520,"props":6186,"children":6187},{},[6188],{"type":19,"tag":6179,"props":6189,"children":6191},{"href":6190},"/ai/multi-agent-collaboration.md",[6192],{"type":24,"value":6193},"多代理实时协作",{"type":19,"tag":520,"props":6195,"children":6196},{},[6197],{"type":19,"tag":6179,"props":6198,"children":6200},{"href":6199},"/guide/performance-optimization.md",[6201],{"type":24,"value":6202},"性能优化策略",{"type":19,"tag":520,"props":6204,"children":6205},{},[6206],{"type":19,"tag":6179,"props":6207,"children":6209},{"href":6208},"/guide/ux-design.md",[6210],{"type":24,"value":6211},"用户体验设计",{"type":19,"tag":520,"props":6213,"children":6214},{},[6215],{"type":19,"tag":6179,"props":6216,"children":6218},{"href":6217},"/docs/api-integration.md",[6219],{"type":24,"value":512},{"type":19,"tag":6221,"props":6222,"children":6223},"hr",{},[],{"type":19,"tag":20,"props":6225,"children":6226},{},[6227],{"type":19,"tag":6228,"props":6229,"children":6230},"em",{},[6231],{"type":24,"value":6232},"实时生成技术代表了AI内容创作的未来方向，通过透明化、可控化的生成过程，让AI真正成为人类创意的强力助手。",{"type":19,"tag":6234,"props":6235,"children":6236},"style",{},[6237],{"type":24,"value":6238},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":7,"searchDepth":100,"depth":100,"links":6240},[6241,6245,6251,6255,6259,6263,6267],{"id":29,"depth":73,"text":32,"children":6242},[6243,6244],{"id":36,"depth":100,"text":36},{"id":542,"depth":100,"text":542},{"id":1017,"depth":73,"text":1020,"children":6246},[6247,6248,6249,6250],{"id":1023,"depth":100,"text":1026},{"id":1355,"depth":100,"text":1358},{"id":1576,"depth":100,"text":1579},{"id":1930,"depth":100,"text":1933},{"id":2300,"depth":73,"text":2303,"children":6252},[6253,6254],{"id":2306,"depth":100,"text":2306},{"id":3596,"depth":100,"text":3596},{"id":4902,"depth":73,"text":4905,"children":6256},[6257,6258],{"id":4908,"depth":100,"text":4911},{"id":5065,"depth":100,"text":5065},{"id":5122,"depth":73,"text":5125,"children":6260},[6261,6262],{"id":5128,"depth":100,"text":5128},{"id":5477,"depth":100,"text":5477},{"id":6022,"depth":73,"text":6025,"children":6264},[6265,6266],{"id":6028,"depth":100,"text":6028},{"id":6111,"depth":100,"text":6111},{"id":6168,"depth":73,"text":6171},"markdown","content:ai:real-time-generation.md","content","ai/real-time-generation.md","ai/real-time-generation","md",[6275,6286,6295],{"_path":6276,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":6277,"description":6278,"keywords":6279,"schemaType":6280,"author":11,"date":6281,"image":6282,"_type":6268,"_id":6283,"_source":6270,"_file":6284,"_stem":6285,"_extension":6273},"/ai/architecture-overview","AI架构概述 - HTMLPAGE智能网页生成系统","HTMLPAGE AI系统架构深度解析，了解多智能体协作、实时流式生成、模块化组装等核心技术，探索AI如何革新网页设计流程。","AI网页生成, 多智能体系统, 实时流式AI, 智能网页设计, AI架构, 机器学习","TechArticle","2025-11-24","/content-images/ai/architecture-overview.jpg","content:ai:architecture-overview.md","ai/architecture-overview.md","ai/architecture-overview",{"_path":6287,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":6288,"description":6289,"keywords":6290,"author":11,"date":12,"category":6291,"image":14,"_type":6268,"_id":6292,"_source":6270,"_file":6293,"_stem":6294,"_extension":6273},"/ai/batch-creation","批量页面创建","模板 + 提示词模式组合进行多页面高效率生成","批量页面创建, 批量生成, 提示词模板, HTMLPAGE","应用场景","content:ai:batch-creation.md","ai/batch-creation.md","ai/batch-creation",{"_path":6296,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":6297,"description":6298,"keywords":6299,"author":11,"date":12,"category":6300,"image":14,"_type":6268,"_id":6301,"_source":6270,"_file":6302,"_stem":6303,"_extension":6273},"/ai/case-studies","AI 案例研究","HTMLPAGE AI 在不同行业和场景中的成功应用案例","AI 案例研究, 成功案例, 页面生成, HTMLPAGE","案例研究","content:ai:case-studies.md","ai/case-studies.md","ai/case-studies",1774945284228]