!(function(){var lc=Object.defineProperty,uc=Object.defineProperties;var cc=Object.getOwnPropertyDescriptors;var kl=Object.getOwnPropertySymbols;var Eu=Object.prototype.hasOwnProperty,yu=Object.prototype.propertyIsEnumerable;var Hl=Math.pow,bu=(fe,re,y)=>re in fe?lc(fe,re,{enumerable:!0,configurable:!0,writable:!0,value:y}):fe[re]=y,ka=(fe,re)=>{for(var y in re||(re={}))Eu.call(re,y)&&bu(fe,y,re[y]);if(kl)for(var y of kl(re))yu.call(re,y)&&bu(fe,y,re[y]);return fe},Ks=(fe,re)=>uc(fe,cc(re));var Su=(fe,re)=>{var y={};for(var x in fe)Eu.call(fe,x)&&re.indexOf(x)<0&&(y[x]=fe[x]);if(fe!=null&&kl)for(var x of kl(fe))re.indexOf(x)<0&&yu.call(fe,x)&&(y[x]=fe[x]);return y};var zl=(fe,re,y)=>new Promise((x,ce)=>{var le=ie=>{try{ge(y.next(ie))}catch(Ce){ce(Ce)}},se=ie=>{try{ge(y.throw(ie))}catch(Ce){ce(Ce)}},ge=ie=>ie.done?x(ie.value):Promise.resolve(ie.value).then(le,se);ge((y=y.apply(fe,re)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[189],{66543:function(){"use strict"},59598:function(){"use strict"},21697:function(fe,re){"use strict";re.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},11081:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var fe={},re="5.0",y={},x=null,ce=!1,le=!1,se=null,ge=!1,ie=null,Ce=null,Le=0;Le4?parseFloat(rt):5};fe.setHTML5Codebase=function(rt,Tt){Ce=rt,Oe(rt,Tt)},fe.setJavaCodebase=fe.setJavaCodebaseVersion=fe.isCompiledInstalled=fe.setPreCompiledScriptPath=fe.setPreCompiledResourcePath=function(){},fe.setHTML5CodebaseVersion=function(rt,Tt){var St=parseFloat(rt);if(St!==NaN&&St<5){console.log("The GeoGebra HTML5 codebase version "+St+" is deprecated. Using version latest instead.");return}ie=rt,Be(rt,Tt)},fe.getHTML5CodebaseVersion=function(){return Ve},fe.getParameters=function(){return y},fe.setFontsCSSURL=function(rt){Ue=rt},fe.setGiacJSURL=function(rt){},fe.setJNLPFile=function(rt){ve=rt},fe.setJNLPBaseDir=function(rt){},fe.inject=function(){function rt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Tt="auto",St=y.id,nn,ct=!1,Wt=0;Wt=5)return!0;var rt=fe.getAppletObject();return rt&&typeof rt.recalculateEnvironments=="function"?(rt.recalculateEnvironments(),!0):!1},fe.startAnimation=function(){var rt=fe.getAppletObject();return rt&&typeof rt.startAnimation=="function"?(rt.startAnimation(),!0):!1},fe.stopAnimation=function(){var rt=fe.getAppletObject();return rt&&typeof rt.stopAnimation=="function"?(rt.stopAnimation(),!0):!1},fe.getAppletObject=function(){var rt=y.id!==void 0?y.id:"ggbApplet";return window[rt]},fe.resize=function(){};var Ge=function(rt,Tt,St){var nn=document.createElement("param");nn.setAttribute("name",Tt),nn.setAttribute("value",St),rt.appendChild(nn)},Pe=function(rt){return rt&&rt!=="false"},qe=function(rt,Tt,St){Ae(Ve)<=4.2&&(St=!0);var nn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==Ve||ggbHTML5LoadedCodebaseIsWebSimple&&!He)&&(nn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ct=document.createElement("div");ct.classList.add("appletParameters","notranslate");var Wt=Tt.width,Et=Tt.height;if(Tt.disableAutoScale=Tt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Tt.disableAutoScale,Tt.width!==void 0)if(Ae(Ve)<=4.4)Pe(Tt.showToolBar)&&(Tt.height-=7),Pe(Tt.showAlgebraInput)&&(Tt.height-=37),Tt.width<605&&Pe(Tt.showToolBar)&&(Tt.width=605,Wt=605);else{var zt=100;(Pe(Tt.showToolBar)||Pe(Tt.showMenuBar))&&(Tt.hasOwnProperty("customToolBar")&&(Tt.customToolbar=Tt.customToolBar),zt=Pe(Tt.showMenuBar)?245:155),Wt=5?(Tt.appletOnLoad=function(Dt){var Vt=rt.querySelector(".ggb_preview");Vt&&Vt.parentNode.removeChild(Vt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ue),window.GGBT_wsf_view&&$(window).trigger("resize"),xe(Dt)},oe||ue.appendChild(be)):ct.appendChild(be),ue.appendChild(ct),oe||rt.appendChild(ue),setTimeout(function(){fe.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(ct),rt.appendChild(De),Tt.appletOnLoad=function(Dt){fe.resize(),xe(Dt)}}function de(Dt,Vt){Vt&&typeof Vt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Dt,Vt.appletOnLoad):renderGGBElement(Dt),gt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Vt)}function _e(Dt,Vt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Dt,params:Vt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(pn){de(pn.article,pn.params)}),html5AppletsToProcess=null)},Ae(Ve)<5&&(Dt.className+=" geogebraweb")):de(Dt,Vt)}if(nn){scriptLoadStarted=!0;for(var bt=0;bt0?(Gt.remove(),ue.attr("id","fullscreencontent").show(),jQuery(xe).append(ue),window.dispatchEvent(new Event("resize"))):qe(Gt,Tt,!1),window.GGBT_wsf_view.launchFullScreen(xe)}else at=nn,qe(rt,Tt,!1);if(!window.GGBT_wsf_view)for(Et=0;Etrt/4*3&&(Gt=rt/4*3),xe=Gt/5.8,zt.setAttribute("src",We),zt.setAttribute("width",Gt),zt.setAttribute("height",xe);var ue=(rt-Gt)/2,oe=(Tt-xe)/2;zt.style.left=ue+"px",zt.style.top=oe+"px",ct.appendChild(zt)}}return ct.appendChild(Et),ct},Nt=function(rt){return rt=rt.toLowerCase(),rt==="html5"||rt==="screenshot"?rt:"html5"},et=["web","webSimple","web3d","tablet","tablet3d","phone"],Be=function(rt,Tt){if(Ve=rt,Tt){Oe(Ve,!0);return}var St=!ce;if(St){var nn=Ae(Ve);!isNaN(nn)&&nn<4.4&&(St=!1)}var ct,Wt;window.location.protocol.substr(0,4)==="http"?ct=window.location.protocol:ct="http:";var Et=Ve.indexOf("//");Et>0?Wt=Ve:Et===0?Wt=ct+Ve:Wt="https://www.geogebra.org/apps/5.2.814.0/";for(var zt in et)if(Ve.slice(et[zt].length*-1)===et[zt]||Ve.slice((et[zt].length+1)*-1)===et[zt]+"/"){Oe(Wt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&St&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!Pe(y.showToolBar)&&!Pe(y.showMenuBar)&&!Pe(y.showAlgebraInput)&&!Pe(y.enableRightClick)&&(!y.appName||y.appName=="classic")?Wt+="webSimple/":Wt+="web3d/",Oe(Wt,!1)},Oe=function(rt,Tt){if(rt.requirejs){Ye=rt;return}rt.slice(-1)!=="/"&&(rt+="/"),Ye=rt,Tt===null&&(Tt=rt.indexOf("http")===-1),we=Tt,Ze="web.nocache.js",He=!1;var St=Ye.split("/");St.length>1&&(!Tt&&St[St.length-2]==="webSimple"?(Ze="webSimple.nocache.js",He=!0):et.indexOf(St[St.length-2])>=0&&(Ze=St[St.length-2]+".nocache.js")),St=rt.split("/"),Ve=St[St.length-3],Ve.substr(0,4)==="test"?Ve=Ve.substr(4,1)+"."+Ve.substr(5,1):(Ve.substr(0,3)==="war"||Ve.substr(0,4)==="beta")&&(Ve="5.0");var nn=parseFloat(Ve);nn!==NaN&&nn<5&&rt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+nn+" is deprecated. Using version latest instead."),Be("5.0",Tt))},gt=function(rt,Tt){window.console&&window.console.log&&(!Tt||typeof Tt.showLogging=="undefined"||Tt.showLogging&&Tt.showLogging!=="false")&&console.log(rt)};y.material_id!==void 0?tt(At):At();function At(){var rt=re;ie!==null?rt=ie:parseFloat(rt)<5&&(rt="5.0"),Be(rt,!1),Ce!==null&&Oe(Ce,we),ge=!0}return fe},GGBAppletUtils=function(){"use strict";function fe(){return window.GGBT_wsf_edit!==void 0}function re(ge,ie){ie!=1?(ge.style.transformOrigin="0% 0% 0px",ge.style.webkitTransformOrigin="0% 0% 0px",ge.style.transform="scale("+ie+","+ie+")",ge.style.webkitTransform="scale("+ie+","+ie+")",ge.style.maxWidth="initial",ge.querySelector(".ggb_preview")!==null&&(ge.querySelector(".ggb_preview").style.maxWidth="initial"),ge.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ge.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ge.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ge.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ge.style.transform="none",ge.style.webkitTransform="none")}function y(ge,ie,Ce,Le,Se,ve){var Ye=null;if(ve!=null&&ve!="")for(var we=ge.parentNode;we!=null;)if((" "+we.className+" ").indexOf(" "+ve+" ")>-1){Ye=we;break}else we=we.parentNode;var at=0,Ve=0,Ze=0,He=0,Fe=0,We=0,Ne=0;if(Ye)at=Ye.offsetWidth,Ve=Math.max(Le?Ye.offsetWidth:0,Ye.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(at=Math.min(window.innerWidth,document.documentElement.clientWidth),Ve=Math.min(window.innerHeight,document.documentElement.clientHeight),Ze=at):(at=window.innerWidth,Ve=window.innerHeight,Ze=window.innerWidth),ge){var Ue=ge.getBoundingClientRect();Ue.left>0&&Ue.left<=at&&(Se===void 0||!Se)&&(document.dir==="rtl"?(Fe=at-Ue.width-Ue.left,We=Ze<=480?10:30):(We=Ue.left,Fe=Ze<=480?10:30),He=We+Fe)}if(ge&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ke=ge.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(He=40,Ne=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(He=0,Ne=40)}}return ge&&((Ce===void 0||!Ce)&&ie>0&&ie+He1&&(ve=!0)),ie&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ve=!0),!(ge.hasOwnProperty("disableAutoScale")&&ge.disableAutoScale))Se=x(ge,ie,ve,Ce,ge.scaleContainerClass);else return Le;return ve&&(!ge.hasOwnProperty("scale")||Le===1)?Se:Math.min(Le,Se)}function le(ge){var ie=Math.min(window.innerWidth,document.documentElement.clientWidth),Ce=Math.min(window.innerHeight,document.documentElement.clientHeight),Le=ge.getBoundingClientRect(),Se=(ie-Le.width)/2,ve=(Ce-Le.height)/2;ve<0&&(ve=0),ge.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Se<40?ge.style.left="40px":ge.style.left=Se+"px",ge.style.top=ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ve<40?ge.style.top="40px":ge.style.top=ve+"px",ge.style.left=Se+"px")}function se(ge,ie){var Ce=ge.querySelector(".appletParameters");if(Ce){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ie.id!==Ce.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ge)}if(Ce.parentElement&&/fullscreen/.test(Ce.parentElement.className))return;var Le=ce(ie,ge);fe()&&Ce.setAttribute("data-param-scale",Le);for(var Se=null,ve=0;ve=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(fe){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(fe){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(fe){var re=c[fe];return re==null?null:re},r=d,webModule.__errFn=e}function B(){function fe(ge){var ie=ge.lastIndexOf(rb);ie==-1&&(ie=ge.length);var Ce=ge.indexOf(sb);Ce==-1&&(Ce=ge.length);var Le=ge.lastIndexOf(tb,Math.min(Ce,ie));return Le>=O?ge.substring(O,Le+P):W}function re(ge){if(!ge.match(/^\w+:\/\//)){var ie=o.createElement(ub);ie.src=ge+vb,ge=fe(ie.src)}return ge}function y(){var ge=__gwt_getMetaProperty(wb);return ge!=null?ge:W}function x(){for(var ge=o.getElementsByTagName(_),ie=O;ieO?ge[ge.length-P].href:W}function le(){var ge=o.location;return ge.href==ge.protocol+zb+ge.host+ge.pathname+ge.search+ge.hash}var se=y();return se==W&&(se=x()),se==W&&(se=ce()),se==W&&le()&&(se=fe(o.location.href)),se=re(se),se}function C(fe){return fe.match(/^\//)||fe.match(/^[a-zA-Z]+:\/\//)?fe:webModule.__moduleBase+fe}function D(){var fe=[],re=O,y=[],x=[];function ce(ge){var ie=x[ge](),Ce=y[ge];if(ie in Ce)return ie;var Le=[];for(var Se in Ce)Le[Ce[Se]]=Se;throw r&&r(ge,Le,ie),null}if(__gwt_isKnownPropertyValue=function(ge,ie){return ie in y[ge]},webModule.__getPropMap=function(){var ge={};for(var ie in y)y.hasOwnProperty(ie)&&(ge[ie]=ce(ie));return ge},webModule.__computePropValue=ce,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var le;try{le=Cb;var se=le.indexOf(Db);se!=-1&&(re=parseInt(le.substring(se+P),$),le=le.substring(O,se))}catch(ge){}return webModule.__softPermutationId=re,C(le+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},67303:function(fe,re,y){"use strict";y.d(re,{Ax:function(){return se},Ds:function(){return ge},KI:function(){return Ce},SI:function(){return le},f1:function(){return ce}});var x=y(90524);function ce(Le){let Se=!0;if(Le.length>0){for(let ve=0;veHe in Ze?le(Ze,He,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Ze[He]=Fe,ve=(Ze,He)=>{for(var Fe in He||(He={}))Ce.call(He,Fe)&&Se(Ze,Fe,He[Fe]);if(ie)for(var Fe of ie(He))Le.call(He,Fe)&&Se(Ze,Fe,He[Fe]);return Ze},Ye=(Ze,He)=>se(Ze,ge(He)),we=(Ze,He)=>{var Fe={};for(var We in Ze)Ce.call(Ze,We)&&He.indexOf(We)<0&&(Fe[We]=Ze[We]);if(Ze!=null&&ie)for(var We of ie(Ze))He.indexOf(We)<0&&Le.call(Ze,We)&&(Fe[We]=Ze[We]);return Fe},at=(Ze,He,Fe)=>new Promise((We,Ne)=>{var Ue=Te=>{try{Ae(Fe.next(Te))}catch(je){Ne(je)}},ke=Te=>{try{Ae(Fe.throw(Te))}catch(je){Ne(je)}},Ae=Te=>Te.done?We(Te.value):Promise.resolve(Te.value).then(Ue,ke);Ae((Fe=Fe.apply(Ze,He)).next())});const Ve=Ze=>{var He=Ze,{children:Fe}=He,We=we(He,["children"]);const[Ne,Ue]=(0,ce.useState)(!1);return ce.createElement(x.ZP,Ye(ve({},We),{loading:Ne,onClick:ke=>at(void 0,null,function*(){try{Ue(!0),yield We.onClick(ke),Ue(!1)}catch(Ae){console.error(Ae),Ue(!1)}})}),Fe)}},6725:function(fe,re,y){"use strict";var x=y(86204),ce=y.n(x),le=Object.defineProperty,se=(Le,Se,ve)=>Se in Le?le(Le,Se,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Le[Se]=ve,ge=(Le,Se,ve)=>se(Le,typeof Se!="symbol"?Se+"":Se,ve),ie=(Le,Se,ve)=>new Promise((Ye,we)=>{var at=He=>{try{Ze(ve.next(He))}catch(Fe){we(Fe)}},Ve=He=>{try{Ze(ve.throw(He))}catch(Fe){we(Fe)}},Ze=He=>He.done?Ye(He.value):Promise.resolve(He.value).then(at,Ve);Ze((ve=ve.apply(Le,Se)).next())});class Ce extends x.EventEmitter{constructor(Se,ve){super(),ge(this,"url"),ge(this,"body"),ge(this,"fullContent",""),ge(this,"controller",null),ge(this,"buffer",""),this.url=Se,this.body=ve}startStream(){return ie(this,null,function*(){this.controller=new AbortController;const{signal:Se}=this.controller;try{const ve=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Se});if(!ve.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ve.status}`);const Ye=ve.headers.get("content-type");if(!Ye)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ye.includes("application/json")){const Ve=yield ve.json();this.emit("error",Ve);return}if(!Ye.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const we=ve.body.getReader(),at=new TextDecoder("utf-8");for(;;){const{done:Ve,value:Ze}=yield we.read();if(Ve)break;const He=at.decode(Ze,{stream:!0});this.buffer+=He;const Fe=this.buffer.split(` `);this.buffer=Fe.pop()||"";for(const We of Fe)if(We.startsWith("data:")){const Ne=We.slice(5).trim();if(Ne==="[DONE]")break;try{const Ue=JSON.parse(Ne);Ue.data&&this.handleData(Ue.data)}catch(Ue){this.buffer=We+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",Ue)}}}this.emit("done",this.fullContent)}catch(ve){ve.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ve.message)}})}handleData(Se){Se.content&&(this.fullContent+=Se.content,this.emit("data",{chunk:Se,full:this.fullContent}))}cancelRequest(){var Se;(Se=this.controller)==null||Se.abort()}}re.Z=Ce},68201:function(fe,re,y){"use strict";y.d(re,{Z:function(){return at}});var x=y(59301),ce=y(30641),le=y(77019),se=y(5269),ge={smartWrp:"smartWrp___NjRcB"},ie=y(51124),Ce=y(71360),Le=y(64885),Se=y(59301),ve=(Ve,Ze,He)=>new Promise((Fe,We)=>{var Ne=Ae=>{try{ke(He.next(Ae))}catch(Te){We(Te)}},Ue=Ae=>{try{ke(He.throw(Ae))}catch(Te){We(Te)}},ke=Ae=>Ae.done?Fe(Ae.value):Promise.resolve(Ae.value).then(Ne,Ue);ke((He=He.apply(Ve,Ze)).next())});const Ye=` \u5FEB\u901F\u6392\u5E8F\u6F14\u793A

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