PageSourceSearch

https://yapyapgo.com/_next/static/immutable/chunks/41u2r7cff6co1.js

js yapyapgo.com collected 2026-10-06 18:25:33 UTC 16,830 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,74076,70137,e=>{"use strict";var s=e.i(43476),a=e.i(71645);let r={USD:1,AED:3.67,AFN:71,ALL:92,AMD:387,ANG:1.79,AOA:910,ARS:1e3,AUD:1.52,AWG:1.79,AZN:1.7,BAM:1.8,BBD:2,BDT:119,BGN:1.8,BHD:.376,BIF:2900,BMD:1,BND:1.35,BOB:6.91,BRL:5.4,BSD:1,BTN:83.5,BWP:13.6,BYN:3.27,BZD:2.01,CAD:1.37,CDF:2800,CHF:.88,CLP:950,CNY:7.25,COP:4100,CRC:510,CUP:24,CVE:101,CZK:23,DJF:178,DKK:6.9,DOP:60,DZD:134,EGP:49,ERN:15,ETB:120,EUR:.92,FJD:2.25,FKP:.79,GBP:.79,GEL:2.7,GHS:15,GIP:.79,GMD:68,GNF:8600,GTQ:7.75,GYD:209,HKD:7.81,HNL:24.7,HTG:132,HUF:360,IDR:16e3,ILS:3.7,INR:83.5,IQD:1310,IRR:42e3,ISK:138,JMD:156,JOD:.709,JPY:157,KES:129,KGS:89,KHR:4100,KMF:452,KPW:900,KRW:1370,KWD:.307,KYD:.83,KZT:470,LAK:21e3,LBP:89500,LKR:300,LRD:190,LSL:18,LYD:4.85,MAD:9.9,MDL:17.8,MGA:4500,MKD:56.5,MMK:2100,MNT:3450,MOP:8.05,MRU:39.6,MUR:46,MVR:15.4,MWK:1730,MXN:18.5,MYR:4.45,MZN:64,NAD:18,NGN:1500,NIO:36.7,NOK:10.7,NPR:133,NZD:1.63,OMR:.385,PEN:3.75,PGK:3.9,PHP:58,PKR:278,PLN:3.95,PYG:7500,QAR:3.64,RON:4.57,RSD:108,RUB:90,RWF:1300,SAR:3.75,SBD:8.5,SCR:13.5,SDG:600,SEK:10.5,SGD:1.34,SHP:.79,SLE:22.7,SOS:571,SRD:35,SSP:1300,STN:22.5,SYP:13e3,SZL:18,THB:35,TJS:10.9,TMT:3.5,TND:3.1,TOP:2.35,TRY:32,TTD:6.8,TWD:32.3,TZS:2600,UAH:41,UGX:3750,UYU:39,UZS:12700,VES:36,VND:25400,VUV:119,WST:2.75,XAF:600,XCD:2.7,XOF:600,XPF:109,YER:250,ZAR:18.5,ZMW:26},c=Object.keys(r);function n(e){return"string"==typeof e&&Object.prototype.hasOwnProperty.call(r,e)}let i=new Map;function t(e,s,a=r){let c=function(e,s,a=r){return e*(a[s]??r[s])}(e,s,a),n=Number.isInteger(c)?0:function(e){let s=i.get(e);if(void 0===s){try{s=new Intl.NumberFormat("en",{style:"currency",currency:e}).resolvedOptions().maximumFractionDigits??2}catch{s=2}i.set(e,s)}return s}(s);try{return new Intl.NumberFormat("en-US",{style:"currency",currency:s,currencyDisplay:"symbol",minimumFractionDigits:n,maximumFractionDigits:n}).format(c)}catch{return`${c.toLocaleString("en-US")} ${s}`}}let l=null,o="yyg_ccy",d="yyg_ccy_geo";e.s(["COOKIE_CURRENCY",0,o,"COOKIE_CURRENCY_GEO",0,d,"CURRENCY_CODES",0,c,"CURRENCY_RATES",0,r,"DEFAULT_CURRENCY",0,"USD","PINNED_CURRENCIES",0,["USD","GBP","EUR","VND","AUD"],"currencyName",0,function(e){try{return(l??=new Intl.DisplayNames(["en"],{type:"currency"})).of(e)??e}catch{return e}},"currencySymbol",0,function(e){try{let s=new Intl.NumberFormat("en",{style:"currency",currency:e,currencyDisplay:"narrowSymbol"}).formatToParts(0);return s.find(e=>"currency"===e.type)?.value??e}catch{return e}},"formatMoney",0,t,"isCurrencyCode",0,n],70137);let u=(0,a.createContext)(null);function m(e){if("u"<typeof document)return null;let s=document.cookie.match(RegExp(`(?:^|; )${e}=([^;]*)`));return s?decodeURIComponent(s[1]):null}e.s(["CurrencyProvider",0,function({initial:e,initialRates:c,children:i}){let[l,h]=(0,a.useState)(e??"USD"),[p,x]=(0,a.useState)(c??r);(0,a.useEffect)(()=>{let e=m(o),s=m(d),a=n(e)?e:n(s)?s:null;a&&h(a)},[]),(0,a.useEffect)(()=>{if(c)return;let e=!1;return fetch("/api/fx-rates").then(e=>e.ok?e.json():null).then(s=>{!e&&s?.rates&&x(s.rates)}).catch(()=>{}),()=>{e=!0}},[c]);let N=(0,a.useCallback)(e=>{h(e),document.cookie=`${o}=${e}; path=/; max-age=31536000; samesite=lax`},[]),f=(0,a.useCallback)(e=>t(e,l,p),[l,p]);return(0,s.jsx)(u.Provider,{value:{currency:l,setCurrency:N,rates:p,format:f},children:i})},"useCurrency",0,function(){return(0,a.useContext)(u)??{currency:"USD",setCurrency:()=>{},rates:r,format:e=>t(e,"USD")}}],74076)},88019,e=>{"use strict";var s=e.i(43476),a=e.i(71645),r=e.i(70137),c=e.i(74076);function n(e){return{code:e,name:(0,r.currencyName)(e),symbol:(0,r.currencySymbol)(e)}}e.s(["default",0,function({className:e}){let{currency:i,setCurrency:t}=(0,c.useCurrency)(),[l,o]=(0,a.useState)(!1),[d,u]=(0,a.useState)(""),[m,h]=(0,a.useState)(0),p=(0,a.useRef)(null),x=(0,a.useRef)(null),N=(0,a.useRef)(null),f=(0,a.useMemo)(()=>r.CURRENCY_CODES.map(n).sort((e,s)=>e.name.localeCompare(s.name)),[]),j=(0,a.useMemo)(()=>r.PINNED_CURRENCIES.map(n),[]),g=d.trim().toLowerCase(),y=(0,a.useMemo)(()=>g?f.filter(e=>e.code.toLowerCase().includes(g)||e.name.toLowerCase().includes(g)):f,[g,f]),S=n(i),[v,b]=(0,a.useState)(g);function D(){o(!1),u("")}function C(e,a,r=!1){let c=e.code===i;return(0,s.jsxs)("li",{role:"option","aria-selected":c,"data-highlighted":r||void 0,className:`currency-combo-option${c?" selected":""}${r?" highlighted":""}`,onClick:()=>{t(e.code),D()},children:[(0,s.jsx)("span",{className:"currency-combo-sym",children:e.symbol}),(0,s.jsx)("span",{className:"currency-combo-code",children:e.code}),(0,s.jsx)("span",{className:"currency-combo-name",children:e.name})]},`${a}-${e.code}`)}return g!==v&&(b(g),h(0)),(0,a.useEffect)(()=>{l&&x.current?.focus()},[l]),(0,a.useEffect)(()=>
1{if(!l)return;let e=e=>{p.current&&!p.current.contains(e.target)&&D()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[l]),(0,a.useEffect)(()=>{l&&g&&N.current?.querySelector('[data-highlighted="true"]')?.scrollIntoView({block:"nearest"})},[m,l,g]),(0,s.jsxs)("div",{className:`currency-switcher${e?` ${e}`:""}`,ref:p,children:[(0,s.jsx)("span",{className:"currency-switcher-label",children:"Currency"}),(0,s.jsxs)("div",{className:"currency-combo",children:[(0,s.jsxs)("button",{type:"button",className:"currency-combo-trigger","aria-haspopup":"listbox","aria-expanded":l,onClick:()=>l?D():o(!0),children:[S.symbol," ",S.code," — ",S.name]}),l&&(0,s.jsxs)("div",{className:"currency-combo-panel",children:[(0,s.jsx)("input",{ref:x,type:"text",className:"currency-combo-search",placeholder:"Search currency or code…",value:d,onChange:e=>u(e.target.value),onKeyDown:function(e){if("Escape"===e.key)D();else if("ArrowDown"===e.key)e.preventDefault(),h(e=>Math.min(e+1,Math.max(y.length-1,0)));else if("ArrowUp"===e.key)e.preventDefault(),h(e=>Math.max(e-1,0));else if("Enter"===e.key){e.preventDefault();let s=y[m]??y[0];s&&(t(s.code),D())}},"aria-label":"Search currencies"}),(0,s.jsxs)("ul",{className:"currency-combo-list",role:"listbox",ref:N,children:[!g&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("li",{className:"currency-combo-group","aria-hidden":"true",children:"Popular"}),j.map(e=>C(e,"pin")),(0,s.jsx)("li",{className:"currency-combo-group","aria-hidden":"true",children:"All currencies"}),f.map(e=>C(e,"all"))]}),g&&0===y.length&&(0,s.jsxs)("li",{className:"currency-combo-empty",children:["No currencies match “",d,"”."]}),g&&y.map((e,s)=>C(e,"f",s===m))]})]})]})]})}])},2369,e=>{"use strict";var s=e.i(43476),a=e.i(71645),r=e.i(22016),c=e.i(82477),n=e.i(21060),i=e.i(88019),t=e.i(74076);function l(){return(0,s.jsx)(c.YapIcon,{name:"action-check",size:16,className:"check"})}e.s(["default",0,function(){let[e,c]=(0,a.useState)(!1),o=e?"annual":"monthly",{currency:d,format:u}=(0,t.useCurrency)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"pricing-controls",children:[(0,s.jsx)("div",{className:"pricing-currency-row",children:(0,s.jsx)(i.default,{})}),(0,s.jsxs)("div",{className:"pricing-toggle",children:[(0,s.jsx)("button",{className:`pricing-toggle-btn${!e?" active":""}`,onClick:()=>c(!1),children:"Monthly"}),(0,s.jsxs)("button",{className:`pricing-toggle-btn${e?" active":""}`,onClick:()=>c(!0),children:["Annual ",(0,s.jsx)("span",{className:"pricing-toggle-save",children:"2 months free"})]})]})]}),(0,s.jsxs)("div",{className:"pricing-grid",children:[(0,s.jsxs)("div",{className:"pricing-card",children:[(0,s.jsx)("div",{className:"pricing-tier",children:"Free"}),(0,s.jsx)("div",{className:"pricing-price",children:u(0)}),(0,s.jsx)("div",{className:"pricing-cadence",children:"forever"}),(0,s.jsx)("div",{className:"pricing-divider"}),(0,s.jsxs)("div",{className:"pricing-features",children:[(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Instant pairing for any class size"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Free Conversation mode"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Timed Talk mode"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Suggested Vocabulary per question"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Age group filtering"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Saved class lists — unlimited"})]})]}),(0,s.jsx)(r.default,{href:"/setup",className:"pricing-btn",children:"Get started free"})]}),(0,s.jsxs)("div",{className:"pricing-card featured",children:[(0,s.jsx)("div",{className:"pricing-featured-badge",children:"Most popular"}),(0,s.jsx)("div",{className:"pricing-tier",children:"Basic"}),(0,s.jsx)("div",{className:"pricing-price",children:u(e?30:3)}),(0,s.jsx)("div",{className:"pricing-cadence",children:e?"per year":"per month"}),(0,s.jsx)("div",{className:"pricing-divider"}),(0,s.jsxs)("div",{className:"pricing-features",children:[(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Everything in Free"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Topic Discussion mode"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Debate mode with motions"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"IELTS Speaking — all parts"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Language ability level filtering"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"All our games + Arcade"})]})]}),(0,s.jsx)(r.default,{href:`/signup?plan=basic&interval=${o}`,className:"pricing-btn primary",children:"Start 30-day free trial"}),(0,s.jsx)("p",{className:"pricing-trial-note",children:"30 days free · card required · cancel anytime"})]}),(0,s.jsxs)("div",{className:"pricing-card featured-premium",children:[(0,s.jsx)("div",{className:"pricing-featured-badge",children:"Best value"}),(0,s.jsx)("div",{className:"pricing-tier",children:"Premium"}),(0,s.jsx)("div",{className:"pricing-price",children:u(e?50:5)}),(0,s.jsx)("div",{className:"pricing-cadence",children:e?"per year":"per month"}),(0,s.jsx)("div",{className:"pricing-divider"}),(0,s.jsxs)("div",{className:"pricing-features",children:[(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Everything in Basic"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Custom Topic — any topic"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Custom Motion Topic for Debate"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Smart Pairing — set language ability level per student"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Conflict avoidance — set rules to avoid grouping certain students"})]}),(0,s.jsxs)("div",{className:"pricing-feature",children:[(0,s.jsx)(l,{}),(0,s.jsx)("span",{className:"feature-text",children:"Pedagogical pairing modes"})]})]}),(0,s.jsx)(r.default,{href:`/signup?plan=premium&interval=${o}`,className:"pricing-btn primary",children:"Start 30-day free trial"}),(0,s.jsx)("p",{className:"pricing-trial-note",children:"30 days free · card required · cancel anytime"})]})]}),(0,s.jsx)(n.default,{}),"USD"!==d&&(0,s.jsxs)("p",{className:"pricing-currency-note",children:["Prices shown in ",d," are indicative and update with exchange rates. All plans are billed 
1in US dollars (USD) at checkout."]})]})}])},21060,e=>{"use strict";var s=e.i(43476),a=e.i(71645),r=e.i(22016),c=e.i(74076);let n=[{minSeats:5,maxSeats:24,perSeat:40,discountPct:20},{minSeats:25,maxSeats:49,perSeat:35,discountPct:30},{minSeats:50,maxSeats:99,perSeat:30,discountPct:40},{minSeats:100,maxSeats:null,perSeat:25,discountPct:50}];function i(e){for(let s of n)if(e>=s.minSeats&&(null===s.maxSeats||e<=s.maxSeats))return s;return n[0]}e.s(["default",0,function(){let[e,t]=(0,a.useState)("10"),{format:l}=(0,c.useCurrency)(),o=(0,a.useMemo)(()=>{let s=parseInt(e,10);return!Number.isFinite(s)||s<5?5:s>99999?99999:s},[e]),d=i(o),u=o*d.perSeat,m=function(e){let s=i(e),a=n.indexOf(s);if(a===n.length-1)return null;let r=n[a+1],c=e*s.perSeat,t=r.minSeats*r.perSeat;return t<c?{addSeats:r.minSeats-e,saveAmount:c-t,nextThreshold:r.minSeats,nextPerSeat:r.perSeat}:null}(o),h=e=>{t(String(Math.max(5,Math.min(99999,o+e))))};return(0,s.jsxs)("div",{className:"schools-band",id:"schools",children:[(0,s.jsxs)("div",{className:"schools-band-header",children:[(0,s.jsx)("div",{className:"schools-band-eyebrow",children:"For institutions"}),(0,s.jsx)("h3",{className:"schools-band-title",children:"YapYapGo for Schools"}),(0,s.jsx)("p",{className:"schools-band-sub",children:"Annual seat-based subscriptions for language centers, schools, and agencies. The more teachers, the lower the per-seat rate, every seat reprices when you cross a tier."})]}),(0,s.jsxs)("div",{className:"schools-band-body",children:[(0,s.jsxs)("div",{className:"schools-calculator",children:[(0,s.jsx)("label",{htmlFor:"schools-seats-input",className:"schools-calc-label",children:"Number of teachers"}),(0,s.jsxs)("div",{className:"schools-seats-row",children:[(0,s.jsx)("button",{type:"button",className:"schools-seats-btn",onClick:()=>h(-1),"aria-label":"Reduce teachers by 1",children:"−"}),(0,s.jsx)("input",{id:"schools-seats-input",type:"text",inputMode:"numeric",pattern:"[0-9]*",value:e,onChange:e=>{let s=e.target.value;(""===s||/^\d+$/.test(s))&&t(s)},onBlur:()=>{let s=parseInt(e,10);!Number.isFinite(s)||s<5?t(String(5)):s>99999?t(String(99999)):t(String(s))},className:"schools-seats-input","aria-label":"Number of teachers"}),(0,s.jsx)("button",{type:"button",className:"schools-seats-btn",onClick:()=>h(1),"aria-label":"Add 1 teacher",children:"+"})]}),(0,s.jsx)("div",{className:"schools-calc-hint",children:"5-seat minimum. Annual billing only. Got hundreds of teachers? Type any number, no upper limit."})]}),(0,s.jsxs)("div",{className:"schools-pricing",children:[(0,s.jsxs)("div",{className:"schools-pricing-rate",children:[(0,s.jsx)("span",{className:"schools-pricing-rate-amount",children:l(d.perSeat)}),(0,s.jsx)("span",{className:"schools-pricing-rate-unit",children:"per teacher / year"})]}),(0,s.jsxs)("div",{className:"schools-pricing-total",children:[(0,s.jsx)("span",{className:"schools-pricing-total-amount",children:l(u)}),(0,s.jsxs)("span",{className:"schools-pricing-total-unit",children:["total / year for ",o.toLocaleString()," ",1===o?"teacher":"teachers"]})]}),(0,s.jsxs)("div",{className:"schools-pricing-discount",children:["Save ",d.discountPct,"% vs individual Premium (",l(50),"/teacher/year)"]}),m&&(0,s.jsxs)("div",{className:"schools-pricing-cliff",children:[(0,s.jsx)("strong",{children:"Tip:"})," add ",m.addSeats," more ",1===m.addSeats?"teacher":"teachers"," to reach ",m.nextThreshold,"+ and pay only ",l(m.nextPerSeat),"/seat, you'll save"," ",l(m.saveAmount),"/year overall."]})]})]}),(0,s.jsxs)("div",{className:"schools-tier-table",role:"table","aria-label":"Volume pricing tiers",children:[(0,s.jsxs)("div",{className:"schools-tier-row schools-tier-header",role:"row",children:[(0,s.jsx)("span",{role:"columnheader",children:"Seats"}),(0,s.jsx)("span",{role:"columnheader",children:"Per teacher / year"}),(0,s.jsx)("span",{role:"columnheader",children:"Discount"})]}),n.map(e=>{let a=e.minSeats===d.minSeats;return(0,s.jsxs)("div",{className:`schools-tier-row${a?" active":""}`,role:"row",children:[(0,s.jsx)("span",{role:"cell",children:null===e.maxSeats?`${e.minSeats}+`:`${e.minSeats}–${e.maxSeats}`}),(0,s.jsx)("span",{role:"cell",children:l(e.perSeat)}),(0,s.jsxs)("span",{role:"cell",children:[e.discountPct,"% off"]})]},e.minSeats)})]}),(0,s.jsxs)(r.default,{href:`/for-schools/signup?seats=${o}`,className:"schools-cta-btn",children:["Buy for schools, ",l(u),"/year"]})]})}])}]);

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.