1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3906],{62542:function(e,s,r){"use strict";r.d(s,{G:function(){return i}});var t=r(11163),n=r(67294),o=r(85893),i=function(e){var s=e.word,r=e.analysis,i=(0,n.useState)(s||""),d=i[0],a=i[1],c=(0,n.useState)(!1),l=c[0],u=c[1],h=(0,n.useState)(!1),p=h[0],x=h[1],f=(0,t.useRouter)();(0,n.useEffect)(function(){return x(!0),function(){return x(!1)}},[]);var j=function(){u(!0),f.push("/firstword/".concat(d)).then(function(){p&&u(!1)})};return(0,o.jsxs)("div",{className:"mx-auto px-4 pt-5",style:{maxWidth:600},children:[(0,o.jsx)("h1",{children:"FirstWord For Wordle"}),(0,o.jsx)("p",{className:"text-body",children:"How good is your first word for Wordle?"}),(0,o.jsx)("p",{className:"text-body",children:"This app gives you a grade of how good your first word guess is for Wordle. Just enter a valid 5 letter word and get your grade."}),(0,o.jsxs)("div",{className:"input-group mb-4",children:[(0,o.jsx)("input",{className:"form-control",autoFocus:!0,type:"text",name:"word",placeholder:"Enter Word",onChange:function(e){a(e.target.value.toLowerCase().replace(/[^a-z]/g,"").substring(0,5))},onKeyDown:function(e){"Enter"===e.code&&j()},value:d}),(0,o.jsxs)("button",{className:"btn btn-primary",type:"button",onClick:j,disabled:l,children:[l&&(0,o.jsx)("span",{className:"spinner-border spinner-border-sm me-2"}),"Grade"]})]}),null!=r&&r.results?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h2",{children:"Summary"}),(0,o.jsxs)("div",{className:"mb-5",children:[(0,o.jsxs)("p",{className:"mb-4",children:[(0,o.jsx)("strong",{children:r.word.toUpperCase()})," gets a percentile grade of"," ",(0,o.jsxs)("strong",{children:[r.results.percentile,"/100"]})]}),(0,o.jsxs)("p",{className:"mb-4",children:["It is ranked ",(0,o.jsxs)("strong",{children:["#",r.results.rank]})," out of"," ",(0,o.jsx)("strong",{children:r.total_words})," possible words."]}),(null==r?void 0:r.usage)>=0&&(0,o.jsxs)("p",{className:"mb-4",children:["This word has been submitted ",(0,o.jsx)("strong",{children:r.usage})," times to the FirstWord app."]}),(0,o.jsxs)("p",{className:"mb-4",children:["Definition: ",(0,o.jsx)("strong",{children:r.definition})]})]}),(0,o.jsx)("h2",{children:"Letter Analysis"}),(0,o.jsx)("div",{className:"table-responsive",children:(0,o.jsxs)("table",{className:"table table-striped",children:[(0,o.jsx)("thead",{children:(0,o.jsxs)("tr",{children:[(0,o.jsx)("th",{scope:"col",children:"Letter"}),(0,o.jsx)("th",{scope:"col",style:{background:"var(--wordplay-orange)",color:"white"},children:"Occurs"}),(0,o.jsx)("th",{scope:"col",style:{background:"var(--wordplay-green)",color:"white"},children:"Matches"})]})}),(0,o.jsx)("tbody",{children:r.breakdown.map(function(e,s){return(0,o.jsxs)("tr",{children:[(0,o.jsx)("td",{children:e.letter.toUpperCase()}),(0,o.jsx)("td",{children:e.occurances}),(0,o.jsx)("td",{children:e.matches})]},s)})})]})})]}):s&&(0,o.jsxs)("p",{children:["Sorry, '",s,"' is not a valid word."]})]})}},10008:function(e,s,r){"use strict";r.r(s),r.d(s,{__N_SSP:function(){return i}});var t=r(62542),n=r(55275),o=r(85893),i=!0;s.default=function(){return(0,o.jsx)(n.Z,{meta:{title:"Find The Best First Word For Wordle",description:"How good is your first word for Wordle?",canonical:"https://wordplay.com/firstword"},children:(0,o.jsx)(t.G,{})})}},54324:function(e,s,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/firstword",function(){return r(10008)}])}},function(e){e.O(0,[3662,3714,461,4784,4531,9774,2888,179],function(){return e(e.s=54324)}),_N_E=e.O()}]);
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.