"use strict";(self.webpackChunkWebComponents=self.webpackChunkWebComponents||[]).push([[680],{84680:(e,t,s)=>{s.r(t);var r=s(78673);window.wwList={};class o extends r.A{constructor(e){super(e),this.useRunestoneServices=!0,this.multipleanswers=!1,this.divid=e.orig.id,this.correct=null,this.optional=!1,this.answerList=[],this.correctList=[],this.question=null,this.caption="WebWork",this.containerDiv=e.orig,this.answers={},this.percent=0,"fakeww-ww-rs"!==this.divid&&this.checkServer("webwork",!0),window.wwList[this.divid]=this}restoreAnswers(e){e.answer||(e.answer=""),this.answers=e.answer,this.correct=e.correct,this.percent=e.percent,console.log(`about to decorate the status of WW ${this.divid} ${this.correct}`),this.decorateStatus()}checkLocalStorage(){var e;if(!this.graderactive){localStorage.length;var t=localStorage.getItem(this.localStorageKey());if(null!==t){let s=!1;try{e=JSON.parse(t),this.answers=e.answer,this.correct=e.correct,this.percent=e.percent,this.decorateStatus()}catch(e){console.log(`Error parsing stored WebWork data for ${this.divid}: ${e.message}`),s=!0}if(s||e.timestamp