PageSourceSearch

https://www.teachany.com/_nuxt/math-spiral-review-D4FEGzOw-29.js

js teachany.com collected 2026-09-24 09:54:23 UTC 28,560 bytes, 68 lines download raw bytes

1import{u as ge,_ as fe}from"./useWorkspaceInsert-DY_2ip2F-29.js";import{_ as ve}from"./ReportContent-VdHEl8HJ-29.js";import we from"./Testimonials-kJisZ5MW-29.js";import be from"./Feature-DHNL6Ihq-29.js";import ye from"./HowToWork-DVsS-Zlt-29.js";import ke from"./FAQ-BxG5g6Hl-29.js";import xe from"./Benefits-BTRTaa0g-29.js";import{f as I,g as qe,e as Ce,s as _e,c as O,a as $e,b as Te,d as Se}from"#entry";import{H as h,$ as t,U as m,O as c,a8 as F,a0 as n,B as i,a1 as u,ag as Me,a9 as $,ae as W,F as R,ab as Z,aa as Q,V as U,a3 as A,j as De,c as H,r as J,i as T}from"./lazy-qrcode-oXPcgXJC-29.js";import"./lazy-pdf-GO-7vVHk-29.js";import{_ as Re}from"./_plugin-vue_export-helper-DlAUqK2U-29.js";import{r as Ae}from"./ArrowPathIcon-CkyHREyi-29.js";import{r as Ie}from"./DocumentDuplicateIcon-DdDKQlq1-29.js";import{r as Y}from"./MicrophoneIcon-CFKRClWn-29.js";import{r as Le}from"./ClipboardDocumentIcon-DfvaZB1o-29.js";import{r as Ge}from"./PrinterIcon-YQc8B1oZ-29.js";import"./useWorkspaceHost-DU2TCSNo-29.js";import"./FeatureIcon-CGq9ZIrf-29.js";import"./nuxt-link-D_rgCK5z-29.js";import"./index-BvZBNbWF-29.js";function ze(L,e){return m(),h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 15.75V18m-7.5-6.75h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V13.5Zm0 2.25h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V18Zm2.498-6.75h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V13.5Zm0 2.25h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V18Zm2.504-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5Zm0 2.25h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V18Zm2.498-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5ZM8.25 6h7.5v2.25h-7.5V6ZM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A48.507 48.507 0 0 0 12 2.25Z"})])}const Ee={__name:"MathSpiralLandingPage",setup(L){const{t:e}=I();qe();const g=()=>{window.location.href="/tools/math-spiral-review"},l=[{label:e("mathspiral.features.automatic.label")||"Automatic Math Spiral Review Generation",title:e("mathspiral.features.automatic.title")||"Versatile Math Practice for Every Classroom",description:e("mathspiral.features.automatic.description")||"Effortlessly generate spiral review worksheets and quizzes covering a wide range of math skills, including arithmetic, fractions, algebra, geometry, and word problems. Our online math spiral review maker uses your input to create well-structured, curriculum-aligned questions, making it easy to reinforce essential concepts and track student progress.",linkText:e("mathspiral.features.automatic.linkText")||"Try the Math Review Generator",link:"#",iconBgClass:"bg-green-100",iconClass:"text-green-600",iconType:"calendar",imageSrc:"https://project.deletetweets.ai/teachany_images/tools/mathspiral1.webp",imageAlt:e("mathspiral.features.automatic.imageAlt")||"Tablet displaying math formulas and diagrams in a classroom setting",gradientClass:"from-green-500 to-blue-500"},{label:e("mathspiral.features.customizable.label")||"Customizable and Flexible",title:e("mathspiral.features.customizable.title")||"Personalize Every Math Spiral Review",description:e("mathspiral.features.customizable.description")||"Choose specific topics, adjust difficulty, set the number of questions, and focus on the math concepts that matter most. Edit any generated question to suit your teaching style or support individual learning needs. Whether you need worksheets for class, homework, or targeted intervention, our math practice generator adapts to fit every situation.",linkText:e("mathspiral.features.customizable.linkText")||"Explore Customization Options",link:"#",iconBgClass:"bg-blue-100",iconClass:"text-blue-600",iconType:"user",imageSrc:"https://project.deletetweets.ai/teachany_images/tools/mathspiral2.webp",imageAlt:e("mathspiral.features.customizable.imageAlt")||"Personalized math spiral review with adjustable topics and difficulty",gradientClass:"from-blue-500 to-purple-500"}],f=[{title:e("mathspiral.steps.enterTopics.title")||"Enter Math Topics or Content",description:e("mathspiral.steps.enterTopics.description")||"Specify the math skills, standards, or topics you want to review. The more detail you provide, the more tailored your spiral review will be.",iconType:"input",iconBgClass:"bg-green-100",iconClass:"text-green-600"},{title:e("mathspiral.steps.chooseQuestions.title")||"Choose Question Types and Settings",description:e("mathspiral.steps.chooseQuestions.description")||"Select from multiple-choice, short answer, word problems, and more. Adjust difficulty, question count, and focus areas to match your goals.",iconType:"check",iconBgClass:"bg-yellow-100",iconClass:"text-yellow-600"},{title:e("mathspiral.steps.generateReview.title")||"Generate, Review, and Export",description:e("mathspiral.steps.generateReview.description")||"The math spiral review generator creates your worksheet in moments. Review, edit, and download your custom math questions for classroom or online use.",iconType:"share",iconBgClass:"bg-teal-100",iconClass:"text-teal-600"}],v=[{title:e("mathspiral.benefitsData.saveTime.title")||"Save Time, Maximize Math Practice",description:e("mathspiral.benefitsData.saveTime.description")||"Quickly generate high-quality, varied math questions—no more searching for spiral review resources or creating worksheets from scratch.",points:[e("mathspiral.benefitsData.saveTime.points.0")||"Automatic math question generation",e("mathspiral.benefitsData.saveTime.points.1")||"Covers all major math topics and skills",e("mathspiral.benefitsData.saveTime.points.2")||"No design experience needed"],iconName:"lightning",iconBgClass:"bg-green-50",iconColor:"text-green-600"},{title:e("mathspiral.benefitsData.adapts.title")||"Adapts to Any Grade or Skill Level",description:e("mathspiral.benefitsData.adapts.description")||"Our math spiral review tool customizes practice to your curriculum, standards, and students' unique needs.",points:[e("mathspiral.benefitsData.adapts.points.0")||"Fully customizable math worksheets",e("mathspiral.benefitsData.adapts.points.1")||"Supports elementary, middle, and high school math",e("mathspiral.benefitsData.adapts.points.2")||"Adjustable question complexity and focus"],iconName:"rocket",iconBgClass:"bg-blue-50",iconColor:"text-blue-600"},{title:e("mathspiral.benefitsData.boost.title")||"Boost Student Achievement & Confidence",description:e("mathspiral.benefitsData.boost.description")||"Well-structured, scaffolded practice helps students retain math skills and build lasting understanding.",points:[e("mathspiral.benefitsData.boost.points.0")||"Clear, student-friendly questions",e("mathspiral.benefitsData.boost.points.1")||"Consistent, error-free formatting",e("mathspiral.benefitsData.boost.points.2")||"Printable and digital-friendly worksheets"],iconName:"user",iconBgClass:"bg-purple-50",iconColor:"text-purple-600"}],x=[{name:e("mathspiral.testimonialsData.benjamin.name")||"Benjamin Moore",designation:e("mathspiral.testimonialsData.benjamin.designation")||"5th Grade Math Teacher",quote:e("mathspiral.testimonialsData.benjamin.quote")||"The math spiral review generator has made lesson planning so much easier. My students love the variety, and I appreciate how much time I save!",image:"https://video.deletetweets.ai/Transmonkey/sub_keyword/jpg_trans/jpguser1.webp"},{name:e("mathspiral.testimonialsData.carlos.name")||"Carlos Rivera",designation:e("mathspiral.testimonialsData.carlos.designation")||"Middle School Math Interventionist",quote:e("mathspiral.testimonialsData.carlos.quote")||"Custom math practice for every group in minutes—this tool is a game changer for differentiation.",image:"https://video.deletetweets.ai/Transmonkey/sub_keyword/ppt_trans/pptuser1.webp"},{name:e("mathspiral.testimonialsData.james.name")||"James Brown",designation:e("mathspiral.testimonialsData.james.designation")||"Parent",quote:e("mathspiral.testimonialsData.james.quote")||"I use the math review maker at home to help my child practice tricky concepts. It's clear, effective, and easy to use!",image:"https://video.deletetweets.ai/Transmonkey/sub_keyword/jpg_trans/jpguser2.webp"}],y=[{question:e("mathspiral.faqsData.howItWorks.question")||"How does the math spiral review generator work?",answer:e("mathspiral.faqsData.howItWorks.answer")||"Just enter your math topics or standards, select question types, and our tool instantly creates a custom spiral review worksheet for you.",isOpen:!0},{question:e("mathspiral.faqsData.canCustomize.question")||"Can I customize or edit the generated math questions?",answer:e("mathspiral.faqsData.canCustomize.answer")||"Absolutely! You can review, modify, and personalize any question before downloading your math spiral review.",isOpen:!1},{question:e("mathspiral.faqsData.mathTopics.question")||"What math topics are supported?",answer:e("mathspiral.faqsData.mathTopics.answer")||"You can generate practice for arithmetic, fractions, decimals, algebra, geometry, word problems, and more—across all grade levels.",isOpen:!1},{question:e("mathspiral.faqsData.contentPrivate.question")||"Is my content private and secure?",answer:e("mathspiral.faqsData.contentPrivate.answer")||"Yes. Your input is confidential and used only to generate your math review. We never share or store your content.",isOpen:!1},{question:e("mathspiral.faqsData.experienceNeeded.question")||"Do I need experience making math worksheets?",answer:e("mathspiral.faqsData.experienceNeeded.answer")||"No experience required. Our math spiral review maker guides you and formats everything automatically.",isOpen:!1}];return(p,G)=>{const S=we;return m(),h("div",null,[c(be,{title:p.$t("mathspiral.feature.title")||"Create Custom Math Spiral Review Worksheets Online",description:p.$t("mathspiral.feature.description")||"Easily design personalized math spiral review worksheets and quizzes with our online math review maker. Generate questions that span multiple math topics and skills, tailored to your curriculum or students' needs.",features:l},null,8,["title","description"]),c(ye,{title:p.$t("mathspiral.howtowork.title")||"How to Create Tailored Math Spiral Review Questions Online",description:p.$t("mathspiral.howtowork.description")||"Streamline your lesson planning and help students master key concepts with our math spiral review generator. In just a few steps, you can build engaging, standards-based math practice for any grade or topic.",ctaText:p.$t("mathspiral.howtowork.ctaText")||"Start Creating Math Spiral Review",steps:f,routePath:"/tools/math-spiral-review",onClick:g},null,8,["title","description","ctaText"]),c(xe,{title:p.$t("mathspiral.benefits.title")||"The Benefits of Using Our Math Spiral Review Generator",subtitle:p.$t("mathspiral.benefits.subtitle")||"Discover how easy it is to create effective, engaging math practice for any classroom setting",benefitsData:v},null,8,["title","subtitle"]),c(S,{title:p.$t("mathspiral.testimonials.title")||"Trusted by Math Teachers and Families",description:p.$t("mathspiral.testimonials.description")||"See how our online math review maker helps educators and learners strengthen skills and build confidence every day",testimonials:x},null,8,["title","description"]),c(ke,{title:p.$t("mathspiral.faq.title")||"Math Spiral Review Generator FAQ",subtitle:p.$t("mathspiral.faq.subtitle")||"Find answers about building custom math review worksheets online",customFaqs:y},null,8,["title","subtitle"])])}}},je={class:"px-4 py-8 md:py-12"},Be={class:"p-6 md:p-10 max-w-4xl mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-sm"},Pe={class:"text-center mb-10"},Ve={class:"text-3xl font-bold text-gray-900 dark:text-gray-100 mb-3"},Ne={class:"text-md text-gray-600 dark:text-gray-400"},Oe={class:"flex space-x-4 mb-6"}
1,Fe={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},We={for:"grade-level",class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2"},Ze={disabled:"",value:""},Qe=["value"],Ue={for:"question-count",class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2"},He=["value"],Je={for:"math-content",class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2"},Ye={class:"relative rounded-md shadow-sm"},Xe=["placeholder"],Ke={class:"absolute top-3 left-3 flex items-center space-x-2 text-gray-400 dark:text-gray-500"},et=["aria-label"],tt={for:"additional-standards",class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2"},at={class:"relative rounded-md shadow-sm"},st=["placeholder"],rt={class:"absolute top-3 left-3 flex items-center space-x-2 text-gray-400 dark:text-gray-500"},ot=["aria-label"],it={class:"pt-4"},nt=["disabled"],lt={key:0,class:"flex items-center"},dt={key:1,class:"flex items-center"},pt={key:0,class:"mt-10 p-6 border border-green-100 dark:border-green-900 rounded-lg bg-green-50 dark:bg-green-900/20 shadow-inner"},ct={class:"flex justify-between mb-4"},mt={class:"text-xl font-semibold text-gray-800 dark:text-gray-200"},ut={class:"flex space-x-3"},ht={class:"prose prose-sm dark:prose-invert max-w-none whitespace-pre-wrap text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-800 p-6 rounded-md border border-gray-100 dark:border-gray-700 shadow-sm overflow-auto"},gt=["innerHTML"],ft={__name:"math-spiral-review",async setup(L){let e,g;const{t:l,locale:f}=I(),v=I(),x=Ce(),{user:y,canUseNumber:p}=_e(x),G=T("loginModal"),S=T("payModal"),z=T("isWorkspace"),E=T("isOffice");try{const{data:a}=([e,g]=F(()=>O(`i18n_mathspiralreview_${f.value}`,()=>$fetch(`https://project.deletetweets.ai/teachany_language/tools_generate_version1_new/${f.value}.json`))),e=await e,g(),e);v.mergeLocaleMessage(v.locale.value,a.value)}catch{}try{const{data:a}=([e,g]=F(()=>O(`i18n_content_mathspiralreview_${f.value}`,()=>$fetch(`https://project.deletetweets.ai/teachany_language/tools_content_version1/${f.value}.json`))),e=await e,g(),e);v.mergeLocaleMessage(v.locale.value,a.value)}catch{}const{openaiFetch:X}=Se(),j=$e(),K=H(()=>["Grade 1","Grade 2","Grade 3","Grade 4","Grade 5","Grade 6","Grade 7","Grade 8","Grade 9","Grade 10","Grade 11","Grade 12"].map((a,r)=>l(`mathspiralreview.gradeLevels[${r}]`)||a)),s=De({gradeLevel:"",questionCount:5,mathContent:"",additionalStandards:""});j.query.text&&(s.mathContent=j.query.text);const w=J(!1),d=J(null),{isInserting:ee,insertStatusType:te,insertStatusMessage:ae,insertButtonLabel:se,canInsert:re,insertWorkspaceResult:oe,resetWorkspaceInsertStatus:B}=ge({toolSlug:"math-spiral-review",title:"Math Spiral Review",content:d,hasContent:()=>!!d.value}),P=H(()=>d.value?d.value.replace(/^# (.*$)/gm,'<h1 class="text-2xl font-bold mb-4 text-gray-900 dark:text-gray-100 text-center">$1</h1>').replace(/^## (.*$)/gm,'<h2 class="text-xl font-semibold mb-3 text-green-600 dark:text-green-400">$1</h2>').replace(/^(\d+)\. (.*$)/gm,'<div class="mb-6 pb-4 border-b border-gray-100 dark:border-gray-700"><p class="font-bold text-gray-800 dark:text-gray-200">$1. $2</p>').replace(/^(答案|Answer|答え|정답)[::]\s*(.*$)/gm,'<p class="mt-2 pl-4 text-green-600 dark:text-green-400 font-medium">$1: $2</p></div>').replace(/\$(.*?)\$/g,(r,k)=>`<span class="math-formula">${k.replace(/\\sqrt/g,"√").replace(/\\frac\{([^}]*)\}\{([^}]*)\}/g,"$1/$2").replace(/\\cdot/g,"×").replace(/\\times/g,"×").replace(/\\div/g,"÷").replace(/\\le/g,"≤").replace(/\\ge/g,"≥").replace(/\\neq/g,"≠").replace(/\\approx/g,"≈").replace(/\\pi/g,"π").replace(/\^2/g,"²").replace(/\^3/g,"³").replace(/\\_/g,"_").replace(/\\{/g,"{").replace(/\\}/g,"}")}</span>`).replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\*(.*?)\*/g,"<em>$1</em>").replace(/\n\n/g,'<div class="my-2"></div>'):""),ie=()=>{s.gradeLevel="",s.questionCount=5,s.mathContent="",s.additionalStandards="",d.value=null,B()},ne=()=>{s.gradeLevel=l("mathspiralreview.demo.gradeLevel")||"Grade 9",s.questionCount=l("mathspiralreview.demo.questionCount")||5,s.mathContent=l("mathspiralreview.demo.mathContent")||"Quadratic equations, application problems, function graphs",s.additionalStandards=l("mathspiralreview.demo.additionalStandards")||"Coordinate geometry, similar triangles"},le=()=>{d.value&&navigator.clipboard.writeText(d.value).then(()=>{alert(l("mathspiralreview.system.alerts.copied")||"Review questions copied to clipboard!")}
1).catch(a=>{})},de=()=>{const a=document.createElement("div");a.innerHTML=`
2    <style>
3      body { 
4        font-family: Arial, sans-serif; 
5        line-height: 1.6; 
6        color: #333; 
7        max-width: 800px;
8        margin: 0 auto;
9        padding: 2rem;
10      }
11      h1 { 
12        font-size: 1.5rem; 
13        text-align: center;
14        margin-bottom: 1.5rem; 
15      }
16      .question {
17        margin-bottom: 1.5rem;
18        padding-bottom: 1rem;
19        border-bottom: 1px solid #eee;
20      }
21      .question-number {
22        font-weight: bold;
23      }
24      .answer {
25        font-weight: 500;
26        color: #047857;
27        margin-top: 0.5rem;
28        padding-left: 1rem;
29      }
30      @media print {
31        @page { margin: 2cm; }
32        .answer { display: none; }
33        .no-print { display: none; }
34      }
35    </style>
36    <div>
37      <h1>${s.gradeLevel} ${l("mathspiralreview.system.print.title")||"Math Spiral Review - "} ${s.mathContent}</h1>
38      <div class="no-print" style="text-align: center; margin-bottom: 1rem;">
39        <label><input type="checkbox" onclick="document.querySelectorAll('.answer').forEach(el => el.style.display = this.checked ? 'block' : 'none')"> ${l("mathspiralreview.system.print.checkboxLabel")||"Show Answers"}</label>
40      </div>
41      ${P.value}
42    </div>
43  `;const r=window.open("","_blank");r.document.write(a.innerHTML),r.document.close(),r.focus(),setTimeout(()=>{r.print()},500)},pe=async()=>{if(!y.value){G.value.open();return}if(p.value===0&&!y.value.is_subscribed){S.value.open();return}w.value=!0,d.value=null,B();const a={payload:{messages:[{role:"system",content:`You are an experienced math teacher who excels at creating math practice problems that follow the spiral review concept. Please generate a set of math spiral review questions based on the provided information.
44
45The core idea of spiral review is to combine new content with previously learned content, helping students continuously reinforce knowledge while expanding new knowledge.
46
47CRITICAL LANGUAGE REQUIREMENT: You MUST respond in the EXACT SAME LANGUAGE as the user's input. If the user writes in English, respond entirely in English. If the user writes in Chinese, respond entirely in Chinese. If the user writes in Japanese, respond entirely in Japanese. This applies to ALL content including questions, answers, and explanations.
48
49Please note:
501. Questions should strictly match the difficulty level of the specified grade
512. Focus mainly on generating questions around the specified math content
523. If additional standards are provided, integrate them into some questions
534. Each question must include both the question and the answer
545. Question difficulty should progress from simple to complex
556. Use Markdown format, number questions using "1. " format
567. Answers should include detailed solution steps
578. Some problems should have real-world application scenarios
589. For math formulas, use simple text notation, avoid complex LaTeX symbols. For example use "x²" instead of "x^2", use "√" instead of "\\sqrt", use "a/b" for fractions instead of "\\frac{a}{b}"`},{role:"user",content:`Please generate a set of math spiral review questions for the following conditions:
59          
60Grade Level: ${s.gradeLevel}
61Number of Questions: ${s.questionCount}
62Math Content: ${s.mathContent}
63${s.additionalStandards?`Additional Standards: ${s.additionalStandards}`:""}
64
65Please create ${s.questionCount} math problems that align with the spiral review concept, focusing mainly on ${s.mathContent}, while appropriately incorporating some previously learned foundational concepts${s.additionalStandards?` and ${s.additionalStandards}`:""}. The difficulty should progress from simple to complex, and please provide detailed answers and explanations for each question.
66
67IMPORTANT: Respond in the same language as my input above.`}],temperature:.7,top_p:1}};try{const r=await X.chat(a);if(r.ok){const k=r.body.getReader(),q=new TextDecoder;let b="",o="";try{for(;;){const{done:V,value:me}=await k.read();if(V)break;const ue=q.decode(me,{stream:!0}),he=o+ue;o="";const C=he.split(`
68`);for(let M=0;M<C.length-1;M++){const _=C[M].trim();if(_.startsWith("data: ")){const N=_.substring(6);if(N!=="[DONE]")try{const D=JSON.parse(N);D.content&&(b+=D.content,d.value=b)}catch{}}else _&&(b+=_)}o=C[C.length-1],d.value=b}
68x.addFreeUsageCnt()}catch{d.value=l("mathspiralreview.system.errors.streamError")||"Error reading response data, please try again"}finally{w.value=!1}}else d.value=l("mathspiralreview.system.errors.requestFailed")||"Request failed, please check your network connection and try again",w.value=!1}catch{d.value=l("mathspiralreview.system.errors.generateError")||"Error generating review questions, please try again",w.value=!1}},ce=a=>{};return Te({title:l("mathspiralreview.webpage_title")||"Create Math Spiral Review Worksheets Online | TeachAny",meta:[{name:"keywords",content:""},{name:"description",content:l("mathspiralreview.webpage_des")||"Create custom math spiral review worksheets and quizzes online with TeachAny. Personalize topics, set difficulty, and support any grade level easily."},{property:"og-site_name",content:"Math Spiral Review Generator"},{property:"og:title",content:"Create Math Spiral Review Worksheets Online | TeachAny"},{property:"og:image",content:""},{property:"og:description",content:"Create custom math spiral review worksheets and quizzes online with TeachAny. Personalize topics, set difficulty, and support any grade level easily."}]}),(a,r)=>{const k=fe,q=ve,b=Ee;return m(),h(R,null,[t("div",je,[t("div",Be,[t("div",Pe,[t("h1",Ve,n(a.$t("mathspiralreview.page.title")||"Math Spiral Review"),1),t("p",Ne,n(a.$t("mathspiralreview.page.description")||"Generate spiral review question sets for any math standard or topic"),1)]),t("div",Oe,[t("button",{onClick:ie,class:"text-sm flex items-center text-indigo-600 hover:text-indigo-800 dark:text-indigo-400 dark:hover:text-indigo-300 font-medium"},[c(i(Ae),{class:"w-4 h-4 mr-1"}),u(" "+n(a.$t("mathspiralreview.page.clearButton")||"Clear Input"),1)]),t("button",{onClick:ne,class:"text-sm flex items-center text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300 font-medium"},[c(i(Ie),{class:"w-4 h-4 mr-1"}),u(" "+n(a.$t("mathspiralreview.page.demoButton")||"Example"),1)])]),t("form",{onSubmit:Me(pe,["prevent"]),class:"space-y-6"},[t("div",Fe,[t("div",null,[t("label",We,[u(n(a.$t("mathspiralreview.page.gradeLevel.label")||"Grade Level:")+" ",1),r[4]||(r[4]=t("span",{class:"text-red-500"}," * ",-1))]),$(t("select",{id:"grade-level","onUpdate:modelValue":r[0]||(r[0]=o=>s.gradeLevel=o),required:"",class:"block w-full px-3 py-3 border border-gray-200 dark:border-gray-600 bg-gray-50 dark:bg-gray-700 rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent sm:text-sm dark:text-white"},[t("option",Ze,n(a.$t("mathspiralreview.page.gradeLevel.placeholder")||"Please select grade"),1),(m(!0),h(R,null,Z(K.value,o=>(m(),h("option",{key:o,value:o},n(o),9,Qe))),128))],512),[[W,s.gradeLevel]])]),t("div",null,[t("label",Ue,[u(n(a.$t("mathspiralreview.page.questionCount.label")||"Number of Questions:")+" ",1),r[5]||(r[5]=t("span",{class:"text-red-500"},"*",-1))]),$(t("select",{id:"question-count","onUpdate:modelValue":r[1]||(r[1]=o=>s.questionCount=o),required:"",class:"block w-full px-3 py-3 border border-gray-200 dark:border-gray-600 bg-gray-50 dark:bg-gray-700 rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent sm:text-sm dark:text-white"},[(m(),h(R,null,Z(20,o=>t("option",{key:o,value:o},n(o)+" "+n(a.$t("mathspiralreview.page.questionCount.questions")||"questions"),9,He)),64))],512),[[W,s.questionCount]])])]),t("div",null,[t("label",Je,[u(n(a.$t("mathspiralreview.page.mathContent.label")||"Math Content:")+" ",1),r[6]||(r[6]=t("span",{class:"text-red-500"},"* ",-1))]),t("div",Ye,[$(t("textarea",{id:"math-content","onUpdate:modelValue":r[2]||(r[2]=o=>s.mathContent=o),required:"",rows:"3",placeholder:a.$t("mathspiralreview.page.mathContent.placeholder")||"Enter math standards, topics, etc., such as: linear equations, Pythagorean theorem, fraction operations, geometric transformations...",class:"block w-full pl-10 pr-10 py-3 border border-gray-200 dark:border-gray-600 bg-gray-50 dark:bg-gray-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent sm:text-sm dark:text-white placeholder-gray-400 dark:placeholder-gray-500 resize-none"},null,8,Xe),[[Q,s.mathContent]]),t("div",Ke,[t("button",{type:"button",class:"hover:text-gray-600 dark:hover:text-gray-300","aria-label":a.$t("mathspiralreview.page.ariaLabels.useMicrophoneInput")||"Use microphone to input"},[c(i(Y),{class:"h-5 w-5"})],8,et)])])]),t("div",null,[t("label",tt,n(a.$t("mathspiralreview.page.additionalStandards.label")||"Additional Standards (optional):"),1),t("div",at,[$(t("textarea",{id:"additional-standards","onUpdate:modelValue":r[3]||(r[3]=o=>s.additionalStandards=o),rows:"3",placeholder:a.$t("mathspiralreview.page.additionalStandards.placeholder")||"Enter any additional math standards or topics that will be integrated 
68with the main content into review questions...",class:"block w-full pl-10 pr-10 py-3 border border-gray-200 dark:border-gray-600 bg-gray-50 dark:bg-gray-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent sm:text-sm dark:text-white placeholder-gray-400 dark:placeholder-gray-500 resize-none"},null,8,st),[[Q,s.additionalStandards]]),t("div",rt,[t("button",{type:"button",class:"hover:text-gray-600 dark:hover:text-gray-300","aria-label":a.$t("mathspiralreview.page.ariaLabels.useMicrophoneInput")||"Use microphone to input"},[c(i(Y),{class:"h-5 w-5"})],8,ot)])])]),t("div",it,[t("button",{type:"submit",class:"w-full flex justify-center py-3 px-4 border border-transparent rounded-full shadow-md text-lg font-semibold text-white bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 dark:focus:ring-offset-gray-800 transition duration-150 ease-in-out transform hover:scale-[1.02] disabled:opacity-70 disabled:cursor-not-allowed",disabled:w.value},[w.value?(m(),h("span",dt,[r[7]||(r[7]=t("svg",{class:"animate-spin -ml-1 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)),u(" "+n(a.$t("mathspiralreview.page.buttons.generating")||"Generating..."),1)])):(m(),h("span",lt,[c(i(ze),{class:"w-5 h-5 mr-2 -ml-1"}),u(" "+n(a.$t("mathspiralreview.page.buttons.generate")||"Generate Review Questions"),1)]))],8,nt)])],32),d.value?(m(),h("div",pt,[t("div",ct,[t("h2",mt,n(a.$t("mathspiralreview.page.results.title")||"Math Spiral Review Questions:"),1),t("div",ut,[t("button",{onClick:le,class:"text-sm flex items-center text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-300 font-medium"},[c(i(Le),{class:"w-4 h-4 mr-1"}),u(" "+n(a.$t("mathspiralreview.page.results.copyButton")||"Copy"),1)]),t("button",{onClick:de,class:"text-sm flex items-center text-green-600 hover:text-green-800 dark:text-green-400 dark:hover:text-green-300 font-medium"},[c(i(Ge),{class:"w-4 h-4 mr-1"}),u(" "+n(a.$t("mathspiralreview.page.results.printButton")||"Print"),1)]),i(z)||i(E)?(m(),U(k,{key:0,disabled:!i(re),loading:i(ee),label:i(se),"status-message":i(ae),"status-type":i(te),onInsert:i(oe)},null,8,["disabled","loading","label","status-message","status-type","onInsert"])):A("",!0),c(q,{"content-type":"math-spiral-review",onReported:ce})])]),t("div",ht,[t("div",{innerHTML:P.value},null,8,gt)])])):A("",!0)])]),!i(z)&&!i(E)&&!i(y)?(m(),U(b,{key:0})):A("",!0)],64)}}},Et=Re(ft,[["__scopeId","data-v-6dd98cd5"]]);export{Et 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.