PageSourceSearch

https://giga-drill.com/_nuxt/DUkX-bV3.js

js giga-drill.com collected 2026-10-06 08:03:44 UTC 2,289 bytes, 1 lines download raw bytes

1import{b as j}from"./B1ANI7s_.js";import{d as M}from"./DpSUvzOu.js";import{g as x}from"./dQh_cajN.js";import{d as r}from"./B9BvQYN_.js";import{_ as E}from"./DlAUqK2U.js";import{a as g}from"./CrfJppij.js";import{V as H}from"./6nf4KObW.js";import{r as i,B as K,g as S,o as W,c as q,b as m,w as h,a as y,H as a,ae as N,aj as A,G as D,n as L}from"./C--HIF4D.js";import"./COzyvX5r.js";const O=["innerHTML"],z="width: 200px;",F={__name:"WariaiMotoTimes",props:{params:Object},emits:["answer"],setup(T,{expose:V,emit:C}){const c=T,n=i(""),u=i(""),l=i(""),e=i(""),d=i(null),b=K(()=>`${u.value}倍すると${n.value}${l.value}になる、もとの数は何${l.value}ですか?`),k=[t=>!!t||"入れて!"],_=async()=>{n.value="",u.value="",l.value="",e.value="",R(),await L(()=>d.value.focus())},R=()=>{l.value=M.unit[Math.floor(Math.random()*M.unit.length)];const t=()=>{for(let f=0;f<1e4;f++){const p=x.randomNumComfortable(c.params.factor_array,c.params.moto_min,c.params.moto_max),v=x.randomNum(1,99,0)/100;if(p*v==Math.round(p*v))return[p,v]}},[o,s]=t();u.value=s,n.value=Math.round(o*s)},$=t=>{const o=Math.round(n.value/u.value),s=o==e.value;return{question:b.value,true_answer:o,your_answer:e.value,is_correct:s,kuraberu:n.value,ratio:u.value,unit:l.value}},w=C,B=t=>{if(t.key=="Enter"&&e.value)return w("answer")};V({start:_,checkAnswer:$,onTouchPanelPress:t=>{e.value===null&&(e.value=""),t=="C"?e.value="":t==="answer"?w("answer"):e.value+=t,d.value.focus()}});const P=j();return S(()=>_()),(t,o)=>(W(),q("div",null,[m(g,{class:"mb-2 text-center"},{default:h(()=>[y("span",{innerHTML:a(b),class:N(["font-weight-bold",{"text-h3":!a(r).isMobile(),"text-h5":a(r).isMobile()}])},null,10,O)]),_:1}),m(g,null,{default:h(()=>[m(H,{class:"justify-center pb-6 mb-2"},{default:h(()=>[y("div",{style:z},[m(A,{ref_key:"answerRef",ref:d,onKeydown:B,modelValue:a(e),"onUpdate:modelValue":o[0]||(o[0]=s=>D(e)?e.value=s:null),label:"答え",class:N(["text-h3 answer",{"text-h3":!a(r).isMobile(),"text-h5":a(r).isMobile()}]),height:a(r).isMobile()?60:100,"hide-spin-buttons":"",variant:"outlined",rules:k,readonly:a(r).isMobileOrTablet()&&!a(P).isEnableKeyboard},null,8,["modelValue","class","height","readonly"])])]),_:1})]),_:1})]))}},ae=E(F,[["__scopeId","data-v-867e8577"]]);export{ae as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.