(self.webpackChunk=self.webpackChunk||[]).push([[2303],{52310:function(_e,xt,AA){"use strict";AA.d(xt,{Z:function(){return _}});var d=AA(87462),Te=AA(67294),dA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},kA=dA,BA=AA(74643),Z=function(L,c){return Te.createElement(BA.Z,(0,d.Z)({},L,{ref:c,icon:kA}))},_=Te.forwardRef(Z)},55304:function(_e,xt,AA){"use strict";AA.d(xt,{Z:function(){return _}});var d=AA(87462),Te=AA(67294),dA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},kA=dA,BA=AA(74643),Z=function(L,c){return Te.createElement(BA.Z,(0,d.Z)({},L,{ref:c,icon:kA}))},_=Te.forwardRef(Z)},87922:function(_e,xt,AA){"use strict";AA.d(xt,{Z:function(){return _}});var d=AA(87462),Te=AA(67294),dA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},kA=dA,BA=AA(74643),Z=function(L,c){return Te.createElement(BA.Z,(0,d.Z)({},L,{ref:c,icon:kA}))},_=Te.forwardRef(Z)},54262:function(_e,xt,AA){"use strict";AA.d(xt,{Z:function(){return _}});var d=AA(87462),Te=AA(67294),dA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},kA=dA,BA=AA(74643),Z=function(L,c){return Te.createElement(BA.Z,(0,d.Z)({},L,{ref:c,icon:kA}))},_=Te.forwardRef(Z)},60580:function(_e,xt,AA){"use strict";AA.d(xt,{Z:function(){return b}});var d=AA(71577),Te=AA(67294),dA=Object.defineProperty,kA=Object.defineProperties,BA=Object.getOwnPropertyDescriptors,Z=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,L=(j,E,U)=>E in j?dA(j,E,{enumerable:!0,configurable:!0,writable:!0,value:U}):j[E]=U,c=(j,E)=>{for(var U in E||(E={}))_.call(E,U)&&L(j,U,E[U]);if(Z)for(var U of Z(E))m.call(E,U)&&L(j,U,E[U]);return j},N=(j,E)=>kA(j,BA(E)),D=(j,E)=>{var U={};for(var F in j)_.call(j,F)&&E.indexOf(F)<0&&(U[F]=j[F]);if(j!=null&&Z)for(var F of Z(j))E.indexOf(F)<0&&m.call(j,F)&&(U[F]=j[F]);return U},x=(j,E,U)=>new Promise((F,G)=>{var J=NA=>{try{nA(U.next(NA))}catch(LA){G(LA)}},rA=NA=>{try{nA(U.throw(NA))}catch(LA){G(LA)}},nA=NA=>NA.done?F(NA.value):Promise.resolve(NA.value).then(J,rA);nA((U=U.apply(j,E)).next())});const b=j=>{var E=j,{children:U}=E,F=D(E,["children"]);const[G,J]=(0,Te.useState)(!1);return Te.createElement(d.ZP,N(c({},F),{loading:G,onClick:rA=>x(void 0,null,function*(){try{J(!0),yield F.onClick(rA),J(!1)}catch(nA){console.error(nA),J(!1)}})}),U)}},56243:function(_e,xt,AA){"use strict";var d=AA(17187),Te=AA.n(d),dA=Object.defineProperty,kA=(m,L,c)=>L in m?dA(m,L,{enumerable:!0,configurable:!0,writable:!0,value:c}):m[L]=c,BA=(m,L,c)=>kA(m,typeof L!="symbol"?L+"":L,c),Z=(m,L,c)=>new Promise((N,D)=>{var x=E=>{try{j(c.next(E))}catch(U){D(U)}},b=E=>{try{j(c.throw(E))}catch(U){D(U)}},j=E=>E.done?N(E.value):Promise.resolve(E.value).then(x,b);j((c=c.apply(m,L)).next())});class _ extends d.EventEmitter{constructor(L,c){super(),BA(this,"url"),BA(this,"body"),BA(this,"fullContent",""),BA(this,"controller",null),BA(this,"buffer",""),this.url=L,this.body=c}startStream(){return Z(this,null,function*(){this.controller=new AbortController;const{signal:L}=this.controller;try{const c=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:L});if(!c.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${c.status}`);const N=c.headers.get("content-type");if(!N)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(N.includes("application/json")){const b=yield c.json();this.emit("error",b);return}if(!N.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const D=c.body.getReader(),x=new TextDecoder("utf-8");for(;;){const{done:b,value:j}=yield D.read();if(b)break;const E=x.decode(j,{stream:!0});this.buffer+=E;const U=this.buffer.split(` `);this.buffer=U.pop()||"";for(const F of U)if(F.startsWith("data:")){const G=F.slice(5).trim();if(G==="[DONE]")break;try{const J=JSON.parse(G);J.data&&this.handleData(J.data)}catch(J){this.buffer=F+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",J)}}}this.emit("done",this.fullContent)}catch(c){c.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",c.message)}})}handleData(L){L.content&&(this.fullContent+=L.content,this.emit("data",{chunk:L,full:this.fullContent}))}cancelRequest(){var L;(L=this.controller)==null||L.abort()}}xt.Z=_},21826:function(_e,xt,AA){"use strict";AA.d(xt,{Z:function(){return mA}});var d=AA(67294),Te=AA(94668),dA=AA(91733),kA=AA(17274),BA=AA(86032),Z=AA(74855),_={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm",runCode:"runCode___MYs9m"},m=AA(2453),L=AA(99398),c=AA(36576),N=AA(41807),D=AA(67127),x=AA(81897),b=AA(72565),j=AA(71230),E=AA(15746),U={smartWrp:"smartWrp___NjRcB"},F=AA(36295),G=AA(80150),J=AA(60580),rA=AA(67294),nA=(aA,sA,Ae)=>new Promise((_A,se)=>{var Je=Ue=>{try{Ve(Ae.next(Ue))}catch(ot){se(ot)}},We=Ue=>{try{Ve(Ae.throw(Ue))}catch(ot){se(ot)}},Ve=Ue=>Ue.done?_A(Ue.value):Promise.resolve(Ue.value).then(Je,We);Ve((Ae=Ae.apply(aA,sA)).next())});const NA=` \u5FEB\u901F\u6392\u5E8F\u6F14\u793A

\u5FEB\u901F\u6392\u5E8F\u7B97\u6CD5\u6F14\u793A