text: (()=>{var e={716:(e,t,s)=>{s(537),e.exports=class{#e;constructor(e){this.#e=e,this.name=window.location.pathname}get canResolve(){return!0}get id(){return this.#e.id}resolve(){if(this.name.includes("doplnovacka"))$(`span:contains(${this.#e.options.find((e=>1===e.correct))?.option?.[0]?.[1]})`).click();else if(this.name.includes("vpisovani")){let e=this.#e.question.find((e=>"input"===e[0]))?.[1];document.getElementById("answer0").value=e.answer[0],document.getElementById("evaluate").click()}else if(this.name.includes("diktat"))if(this.name.includes("mluvene")){let e=this.#e.correct;document.getElementById("sentence").value=e,document.getElementById("evaluate").click()}else{let e=Array.from(this.#e.childNodes)[1];Array.from(e.childNodes).find((e=>"1"===e.getAttribute("correct"))).click()}}}},354:(e,t,s)=>{const n=s(716);e.exports=class{constructor(){this.answers=[]}get(){let e=window.location.pathname;return e.includes("diktat")?e.includes("mluvene")?this.answers=[{correct:items[itemOffset][_0x251e("0x17")].sentences[sentenceOffset][_0x251e("0x2")],id:"s0"}]:this.answers=Array.from(document.getElementsByTagName("span")).filter((e=>e.id.includes("gap"))):["doplnovacka","vpisovani"].some((t=>e.includes(t)))&&(this.answers=Array(questions.find((t=>t.id==e.split("/")[2])))),this.answers.map((e=>new n(e)))}}},537:e=>{e.exports=class{constructor(e,t){console.log(`%c${e} %c${t}`,"color:red","color:white")}}}},t={};function s(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,s),a.exports}(()=>{const e=s(354),t=s(537),n=(new e).get();let i=1;for(let e of n)e.resolve(),e.canResolve?new t("[RESOLVE]",`Answer ${i} (${e.id}) has been resolved!`):new t("[RESOLVE]",`I can't resolve answer ${i} (${e.id})!`),i++})()})();