1import{m as c,a as b}from"./module.esm-BsdXasrL.js";const Y={latinMap:{Ã:"A",Ä:"A",Ắ:"A",Ặ:"A",Ằ:"A",Ẳ:"A",Ẵ:"A",Ç:"A",Ã:"A",Ấ:"A",Ậ:"A",Ầ:"A",Ẩ:"A",Ẫ:"A",Ç:"A",Ȧ:"A",Ç :"A",Ạ:"A",È:"A",Ã:"A",Ả:"A",È:"A",Ä:"A",Ä:"A",Ã
:"A",Ǻ:"A",á¸:"A","Ⱥ":"A",Ã:"A","ê²":"AA",Ã:"AE",Ǽ:"AE",Ç¢:"AE","ê´":"AO","ê¶":"AU","ê¸":"AV","êº":"AV","ê¼":"AY",á¸:"B",á¸:"B",Æ:"B",á¸:"B","É":"B",Æ:"B",Ä:"C",Ä:"C",Ã:"C",á¸:"C",Ä:"C",Ä:"C",Æ:"C","È»":"C",Ä:"D",á¸:"D",á¸:"D",á¸:"D",á¸:"D",Æ:"D",á¸:"D",Dz:"D",Ç
:"D",Ä:"D",Æ:"D",DZ:"DZ",Ç:"DZ",Ã:"E",Ä:"E",Ä:"E",Ȩ:"E",á¸:"E",Ã:"E",Ế:"E",á»:"E",á»:"E",á»:"E",á»:"E",á¸:"E",Ã:"E",Ä:"E",Ẹ:"E",È:"E",Ã:"E",Ẻ:"E",È:"E",Ä:"E",á¸:"E",á¸:"E",Ä:"E","É":"E",Ẽ:"E",á¸:"E","êª":"ET",á¸:"F",Æ:"F",Ç´:"G",Ä:"G",Ǧ:"G",Ä¢:"G",Ä:"G",Ä :"G",Æ:"G",Ḡ:"G",Ǥ:"G",Ḫ:"H",È:"H",Ḩ:"H",Ĥ:"H","â±§":"H",Ḧ:"H",Ḣ:"H",Ḥ:"H",Ħ:"H",Ã:"I",Ĭ:"I",Ç:"I",Ã:"I",Ã:"I",Ḯ:"I",İ:"I",á»:"I",È:"I",Ã:"I",á»:"I",È:"I",Ī:"I",Ä®:"I",Æ:"I",Ĩ:"I",Ḭ:"I","ê¹":"D","ê»":"F","ê½":"G","ê":"R","ê":"S","ê":"T","ê¬":"IS",Ä´:"J","É":"J",Ḱ:"K",Ǩ:"K",Ķ:"K","Ⱪ":"K","ê":"K",Ḳ:"K",Æ:"K",Ḵ:"K","ê":"K","ê":"K",Ĺ:"L","Ƚ":"L",Ľ:"L",Ä»:"L",Ḽ:"L",Ḷ:"L",Ḹ:"L","â± ":"L","ê":"L",Ḻ:"L",Ä¿:"L","â±¢":"L",Ç:"L",Å:"L",Ç:"LJ",Ḿ:"M",á¹:"M",á¹:"M","â±®":"M",Å:"N",Å:"N",Å
:"N",á¹:"N",á¹:"N",á¹:"N",Ǹ:"N",Æ:"N",á¹:"N","È ":"N",Ç:"N",Ã:"N",Ç:"NJ",Ã:"O",Å:"O",Ç:"O",Ã:"O",á»:"O",á»:"O",á»:"O",á»:"O",á»:"O",Ȫ:"O",È®:"O",Ȱ:"O",á»:"O",Å:"O",È:"O",Ã:"O",á»:"O",Æ :"O",á»:"O",Ợ:"O",á»:"O",á»:"O",á» :"O",È:"O","ê":"O","ê":"O",Å:"O",á¹:"O",á¹:"O",Æ:"O",Ǫ:"O",Ǭ:"O",Ã:"O",Ǿ:"O",Ã:"O",á¹:"O",á¹:"O",Ȭ:"O",Æ¢:"OI","ê":"OO",Æ:"E",Æ:"O",È¢:"OU",á¹:"P",á¹:"P","ê":"P",Ƥ:"P","ê":"P","â±£":"P","ê":"P","ê":"Q","ê":"Q",Å:"R",Å:"R",Å:"R",á¹:"R",á¹:"R",á¹:"R",È:"R",È:"R",á¹:"R","É":"R","Ɽ":"R","ê¾":"C",Æ:"E",Å:"S",Ṥ:"S",Å :"S",Ṧ:"S",Å:"S",Å:"S",È:"S",á¹ :"S",á¹¢:"S",Ṩ:"S",Ť:"T",Å¢:"T",á¹°:"T",È:"T","Ⱦ":"T",Ṫ:"T",Ṭ:"T",Ƭ:"T",á¹®:"T",Æ®:"T",Ŧ:"T","Ɐ":"A","ê":"L",Æ:"M","É
":"V","ê¨":"TZ",Ã:"U",Ŭ:"U",Ç:"U",Ã:"U",á¹¶:"U",Ç:"U",Ç:"U",Ç:"U",Ç:"U",á¹²:"U",Ụ:"U",Ű:"U",È:"U",Ã:"U",Ủ:"U",Ư:"U",Ứ:"U",á»°:"U",Ừ:"U",Ử:"U",á»®:"U",È:"U",Ū:"U",Ṻ:"U",Ų:"U",Å®:"U",Ũ:"U",Ṹ:"U",á¹´:"U","ê":"V",á¹¾:"V",Ʋ:"V",á¹¼:"V","ê ":"VY",áº:"W",Å´:"W",áº:"W",áº:"W",áº:"W",áº:"W","â±²":"W",áº:"X",áº:"X",Ã:"Y",Ŷ:"Y",Ÿ:"Y",áº:"Y",á»´:"Y",Ỳ:"Y",Ƴ:"Y",á»¶:"Y","Ỿ":"Y",Ȳ:"Y","É":"Y",Ỹ:"Y",Ź:"Z",Ž:"Z",áº:"Z","Ⱬ":"Z",Å»:"Z",áº:"Z",Ȥ:"Z",áº:"Z",Ƶ:"Z",IJ:"IJ",Å:"OE","á´":"A","á´":"AE",Ê:"B","á´":"B","á´":"C","á´
":"D","á´":"E","ê°":"F",É¢:"G",Ê:"G",Ê:"H",ɪ:"I",Ê:"R","á´":"J","á´":"K",Ê:"L","á´":"L","á´":"M",É´:"N","á´":"O",ɶ:"OE","á´":"O","á´":"OU","á´":"P",Ê:"R","á´":"N","á´":"R","ê±":"S","á´":"T","â±»":"E","á´":"R","á´":"U","á´ ":"V","á´¡":"W",Ê:"Y","á´¢":"Z",á:"a",Ä:"a",ắ:"a",ặ:"a",ằ:"a",ẳ:"a",ẵ:"a",Ç:"a",â:"a",ấ:"a",áº:"a",ầ:"a",ẩ:"a",ẫ:"a",Ç:"a",ȧ:"a",Ç¡:"a",ạ:"a",È:"a",à :"a",ả:"a",È:"a",Ä:"a",Ä
:"a","á¶":"a",áº:"a",Ã¥:"a",Ç»:"a",á¸:"a","â±¥":"a",ã:"a","ê³":"aa",æ:"ae",ǽ:"ae",Ç£:"ae","êµ":"ao","ê·":"au","ê¹":"av","ê»":"av","ê½":"ay",á¸:"b",á¸
:"b",É:"b",á¸:"b","ᵬ":"b","á¶":"b",Æ:"b",Æ:"b",ɵ:"o",Ä:"c",Ä:"c",ç:"c",á¸:"c",Ä:"c",É:"c",Ä:"c",Æ:"c","ȼ":"c",Ä:"d",á¸:"d",á¸:"d","È¡":"d",á¸:"d",á¸:"d",É:"d","á¶":"d",á¸:"d","áµ":"d","á¶":"d",Ä:"d",É:"d",Æ:"d",ı:"i","È·":"j",É:"j",Ê:"j",dz:"dz",Ç:"dz",é:"e",Ä:"e",Ä:"e",È©:"e",á¸:"e",ê:"e",ế:"e",á»:"e",á»:"e",á»:"e",á»
:"e",á¸:"e",ë:"e",Ä:"e",ẹ:"e",È
:"e",è:"e",ẻ:"e",È:"e",Ä:"e",á¸:"e",á¸:"e","ⱸ":"e",Ä:"e","á¶":"e","É":"e",ẽ:"e",á¸:"e","ê«":"et",á¸:"f",Æ:"f","áµ®":"f","á¶":"f",ǵ:"g",Ä:"g",ǧ:"g",Ä£:"g",Ä:"g",Ä¡:"g",É :"g",ḡ:"g","á¶":"g",Ç¥:"g",ḫ:"h",È:"h",ḩ:"h",Ä¥:"h","ⱨ":"h",ḧ:"h",ḣ:"h",ḥ:"h",ɦ:"h",áº:"h",ħ:"h",Æ:"hv",Ã:"i",Ä:"i",Ç:"i",î:"i",ï:"i",ḯ:"i",á»:"i",È:"i",ì:"i",á»:"i",È:"i",Ä«:"i",į:"i","á¶":"i",ɨ:"i",Ä©:"i",á¸:"i","êº":"d","ê¼":"f","áµ¹":"g","ê":"r","ê
":"s","ê":"t","ê":"is",ǰ:"j",ĵ:"j",Ê:"j","É":"j",ḱ:"k",Ç©:"k",Ä·:"k","ⱪ":"k","ê":"k",ḳ:"k",Æ:"k",ḵ:"k","á¶":"k","ê":"k","ê
":"k",ĺ:"l",Æ:"l",ɬ:"l",ľ:"l",ļ:"l",ḽ:"l","È´":"l",ḷ:"l",ḹ:"l","ⱡ":"l","ê":"l",ḻ:"l",Å:"l",É«:"l","á¶
":"l",É:"l",Å:"l",Ç:"lj",Å¿:"s","áº":"s",áº:"s","áº":"s",ḿ:"m",á¹:"m",á¹:"m",ɱ:"m","ᵯ":"m","á¶":"m",Å:"n",Å:"n",Å:"n",á¹:"n","ȵ":"n",á¹
:"n",á¹:"n",ǹ:"n",ɲ:"n",á¹:"n",Æ:"n","áµ°":"n","á¶":"n",ɳ:"n",ñ:"n",Ç:"nj",ó:"o",Å:"o",Ç:"o",ô:"o",á»:"o",á»:"o",á»:"o",á»:"o",á»:"o",È«:"o",ȯ:"o",ȱ:"o",á»:"o",Å:"o",È:"o",ò:"o",á»:"o",Æ¡:"o",á»:"o",ợ:"o",á»:"o",á»:"o",ỡ:"o",È:"o","ê":"o","ê":"o","ⱺ":"o",Å:"o",á¹:"o",á¹:"o",Ç«:"o",Ç:"o",ø:"o",Ç¿:"o",õ:"o",á¹:"o",á¹:"o",È:"o",Æ£:"oi","ê":"oo",É:"e","á¶":"e",É:"o","á¶":"o",È£:"ou",á¹:"p",á¹:"p","ê":"p",Æ¥:"p","áµ±":"p","á¶":"p","ê":"p","áµ½":"p","ê":"p","ê":"q",Ê :"q","É":"q","ê":"q",Å:"r",Å:"r",Å:"r",á¹:"r",á¹:"r",á¹:"r",È:"r",ɾ:"r","áµ³":"r",È:"r",á¹:"r",ɼ:"r","áµ²":"r","á¶":"r","É":"r",ɽ:"r","â":"c","ê¿":"c",É:"e",É¿:"r",Å:"s",á¹¥:"s",Å¡:"s",á¹§:"s",Å:"s",Å:"s",È:"s",ṡ:"s",á¹£:"s",ṩ:"s",Ê:"s","áµ´":"s","á¶":"s","È¿":"s",É¡:"g","á´":"o","á´":"o","á´":"u",Å¥:"t",Å£:"t",á¹±:"t",È:"t","ȶ":"t",áº:"t","ⱦ":"t",ṫ:"t",á¹:"t",Æ:"t",ṯ:"t","áµµ":"t",Æ«:"t",Ê:"t",ŧ:"t","ᵺ":"th",É:"a","á´":"ae",Ç:"e","áµ·":"g",É¥:"h","Ê®":"h","ʯ":"h","á´":"i",Ê:"k","ê":"l",ɯ:"m",ɰ:"m","á´":"oe",ɹ:"r",É»:"r",ɺ:"r","â±¹":"r",Ê:"t",Ê:"v",Ê:"w",Ê:"y","ê©":"tz",ú:"u",Å:"u",Ç:"u",û:"u",á¹·:"u",Ç:"u",Ç:"u",Ç:"u",Ç:"u",á¹³:"u",ụ:"u",ű:"u",È:"u",ù:"u",á»§:"u",ư:"u",ứ:"u",á»±:"u",ừ:"u",á»:"u",ữ:"u",È:"u",Å«:"u",á¹»:"u",ų:"u","á¶":"u",ů:"u",Å©:"u",á¹¹:"u",á¹µ:"u","ᵫ":"ue","ê¸":"um","â±´":"v","ê":"v",ṿ:"v",Ê:"v","á¶":"v","â±±":"v",á¹½:"v","ê¡":"vy",áº:"w",ŵ:"w",áº
:"w",áº:"w",áº:"w",áº:"w","â±³":"w",áº:"w",áº:"x",áº:"x","á¶":"x",ý:"y",Å·:"y",ÿ:"y",áº:"y",ỵ:"y",ỳ:"y",Æ´:"y",á»·:"y","ỿ":"y",ȳ:"y",áº:"y","É":"y",ỹ:"y",ź:"z",ž:"z",áº:"z",Ê:"z","ⱬ":"z",ż:"z",áº:"z",È¥:"z",áº:"z","áµ¶":"z","á¶":"z",Ê:"z",ƶ:"z","É":"z",ï¬:"ff",ï¬:"ffi",ï¬:"ffl",ï¬:"fi",ï¬:"fl",ij:"ij",Å:"oe",ï¬:"st","â":"a","â
1":"e","áµ¢":"i","â±¼":"j","â":"o","áµ£":"r","ᵤ":"u","áµ¥":"v","â":"x"},normalize(e){if(!e)return"";for(e=e.toLowerCase().trim().split(new RegExp("ü","i")).join("ue").split(new RegExp("ä","i")).join("ae").split(new RegExp("ö","i")).join("oe").split(new RegExp("Ã","i")).join("ss").split(new RegExp("[^A-Za-zÃ-ú0-9-]","i")).join("-").split(" ").join("-").toUpperCase();e.indexOf("--")>-1;)e=e.split("--").join("-");return e=e.replace(/^-+|-+$/g,""),this.latinize(e)},latinize(e){return e.replace(/[^A-Za-z0-9[\] ]/g,t=>this.latinMap[t]||t)}};c.data("clueSearch",(e="",t=0,a=[],s="/api/clue/suggest/:term",i="/frage/:slug",r=!1)=>({term:e,length:t,currentLetters:a,apiUrl:s,suggestionUrlPattern:i,scrollToResults:!1,showFilter:!1,lengthFiltersExpanded:!1,enableFilterView:!1,suggestions:[],letters:[],formAction:"",suggestMessage:!1,suggestLoading:!1,currentAbortController:null,init(){this.$watch("length",n=>{const o=[];for(var l=0;l<n;l++)o.push(typeof this.letters[l]<"u"?this.letters[l]:"");this.letters=o}),this.$watch("term",n=>{this.formAction=this.suggestionUrlPattern.replace(":slug",this.getSlugByTerm(n))}),this.suggestionUrlPattern=i,this.apiUrl=s,this.term=e,this.length=t,this.formAction=this.suggestionUrlPattern.replace(":slug",this.getSlugByTerm(e)),this.scrollToResults=r,this.scrollToResults&&(this.scrollToResults=!1,document.addEventListener("DOMContentLoaded",()=>{document.getElementById("clue-results")&&document.getElementById("clue-results").scrollIntoView({behavior:"smooth"})})),this.showFilter=this.length>0,Array.isArray(a)&&a.length&&(this.letters=a)},async suggest(n){try{if(this.term.length<2){this.suggestions=[],this.suggestMessage=!0;return}this.suggestLoading=!0,this.suggestions=[],this.suggestMessage=!1,this.currentAbortController&&this.currentAbortController.abort(),this.currentAbortController=new AbortController;const o=await axios.get(this.getApiUrlBy(this.term),{signal:this.currentAbortController.signal});o.status===200?(this.suggestions=o.data,this.suggestions.length||(this.suggestMessage=!0)):this.suggestions=[]}catch(o){console.log(o),this.suggestions=[]}finally{this.suggestLoading=!1}},getUrlBy(n){return this.suggestionUrlPattern.replace(":slug",n.slug)},getApiUrlBy(n){return this.apiUrl.replace(":term",n)},getSlugByTerm(n){return n.length>1?Y.normalize(n):""},submitForm(n){return this.term.length<2?(console.log("invalid form submit",this.term),n.preventDefault(),n.stopImmediatePropagation(),n.stopPropagation(),!1):(n.preventDefault(),this.length==0?window.location.href=this.formAction:this.$nextTick(()=>this.$refs.theForm.submit()),!1)},getLetterFilterInputElementByIndex(n){return typeof window<"u"?window.document.getElementById(`clue-search-letter-filter-${n}`):null},handleLetterFilterInput(n,o){const l=n.target.value.length,p=parseInt(n.target.getAttribute("maxlength")),h=o+1;l>=p&&h<this.length?this.filterFocusNextInput(o):l===0&&o>0&&this.filterFocusPreviousInput(o)},filterFocusNextInput(n){const o=this.getLetterFilterInputElementByIndex(n+1);o&&o.focus()},filterFocusPreviousInput(n){const o=this.getLetterFilterInputElementByIndex(n-1);o&&o.focus()},onSearch(n){typeof n=="object"&&typeof n.detail<"u"&&(this.length=n.detail.length||0,typeof n.detail.term<"u"&&(this.term=n.detail.term),typeof n.detail.scrollToResults<"u"&&(this.scrollToResults=n.detail.scrollToResults),this.$nextTick(()=>this.$refs.theForm.submit()))}}));c.data("clueResult",(e,t,a,s)=>({expanded:e,collapseLengthItems:t,apiSearchMoreTopQuestions:a,moreTopQuestionsCollapsed:s,moreTopQuestionsLoaded:{},init(){},async loadMoreTopQuestions(i,r){try{if(this.moreTopQuestionsLoaded[i]!==!0){this.moreTopQuestionsLoaded[i]=!0;const n=await axios.get(this.apiSearchMoreTopQuestions+"/"+i+"/"+r);document.getElementById("answer-"+i).insertAdjacentHTML("afterend",n.data)}else document.getElementById("top-answers-"+i).style.display="block"}catch{}}}));c.data("newSolution",(e="",t,a)=>({term:e,token:t,captchaRandomA:0,captchaRandomB:0,captchaSolution:0,captchaUserSolution:"",solution:"",showErrorMessage:!1,showSuccessMessage:!1,messageTimeout:4*1337,type:1,question:"",init(){this.term=e,this.question=e,this.token=t,this.messageTimeout=a,this.generateRandomCaptchaData(),this.term.length===0&&(this.t
1ype=0)},generateRandomCaptchaData(){this.captchaRandomA=Math.floor(Math.random()*10),this.captchaRandomB=Math.floor(Math.random()*10),this.captchaSolution=this.captchaRandomA+this.captchaRandomB},async submit(){if(parseInt(this.captchaUserSolution)===this.captchaSolution){this.showErrorMessage=!1;try{const s=await b.post("/api/corrections/add",{question:this.question,answer:this.solution,type:this.type,_token:this.token});this.solution="",this.captchaUserSolution="",this.generateRandomCaptchaData(),console.log(s),this.showSuccessMessage=!0,setTimeout(()=>{this.showSuccessMessage=!1},this.messageTimeout)}catch(s){console.log(s,s.code)}}else this.showErrorMessage=!0,setTimeout(()=>{this.showErrorMessage=!1},this.messageTimeout)}}));document.addEventListener("alpine:init",()=>{c.store("vote",{init(){let e=localStorage.getItem("votes");typeof e=="string"&&e.length&&(this.votes=JSON.parse(e))},votes:[],alreadyVoted(e){return this.votes.includes(e)},async voteUp(e){if(!this.alreadyVoted(e))try{const t=await b.post("/api/corrections/voteup",{id:e});t.data.status=="OK"||t.data.status=="migrated"||t.data.status=="deleted"?(this.votes.push(e),localStorage.setItem("votes",JSON.stringify(this.votes))):console.error(t)}catch(t){console.error(t)}},async voteDown(e){if(!this.alreadyVoted(e))try{const t=await b.post("/api/corrections/votedown",{id:e});t.data.status=="OK"||t.data.status=="migrated"||t.data.status=="deleted"?(this.votes.push(e),localStorage.setItem("votes",JSON.stringify(this.votes))):console.error(t)}catch(t){console.error(t)}}})});c.data("scrabbleSearch",(e="",t="",a="",s="",i=0)=>({term:e,boardTerm:t,apiSearchUrl:a,apiAdvancedSearchUrl:s,jokers:i,collapseAdvancedSearch:!0,errors:{},init(){addEventListener("DOMContentLoaded",r=>{document.getElementById("term-input").focus()}),this.$watch("term",(r,n)=>{this.term=this.term.toUpperCase().replace(/[^A-ZÃÃÃ]+/g,"").replace(" ","")}),this.$watch("boardTerm",(r,n)=>{this.boardTerm=this.boardTerm.toUpperCase().replace(/[^A-ZÃÃÃ]+/g,"").replace(" ","")})},resetContent(){const r=document.getElementById("scrabble-content"),n=document.getElementById("scrabble-result");r.classList.remove("hidden"),n.classList.add("hidden"),this.term="",this.jokers=0,this.boardTerm="",this.collapseAdvancedSearch=!0},getSearchExtension(){let r="";switch(this.jokers){case"1":r="*";break;case"2":r="*-";break}return r},async triggerSearch(){if(this.term.length>0){this.errors.term=!1;let r=null;this.collapseAdvancedSearch===!1&&this.boardTerm.length>0?r=await axios.get(this.apiAdvancedSearchUrl+"/"+this.term+"/"+this.boardTerm+"/"+this.getSearchExtension()):r=await axios.get(this.apiSearchUrl+"/"+this.term+"/"+this.getSearchExtension());const n=document.getElementById("scrabble-content"),o=document.getElementById("scrabble-result");n.classList.add("hidden"),o.classList.remove("hidden"),o.classList.add("flex"),o.innerHTML=r.data,setTimeout(function(){document.getElementById("jump-mark").scrollIntoView({behavior:"instant"})})}else this.errors.term=!0}}));c.data("scrabbleResult",e=>({searchDescriptionBaseUrl:e,direction:"desc",showModal:!1,modalData:{word:"",points:0,meaning:""},activeButton:"length",init(){},async openModal(t,a){this.showModal=!0,this.modalData.word=t,this.modalData.points=a,this.modalData.meaning="";const s=await axios.get(this.searchDescriptionBaseUrl+"/"+t);this.modalData.meaning=s.data},sort(t){this.activeButton=t;const a=document.getElementById("scrabble-result-wrapper");document.getElementById("sort-none-wrapper");const s=document.getElementById("sort-points-wrapper");switch(t){case"length":a.classList.remove("hidden"),s.classList.add("hidden");break;case"points":s.classList.remove("hidden"),a.classList.add("hidden");break;case"none":a.classList.add("hidden"),s.classList.add("hidden");break}},order(){const t=document.getElementsByClassName("sort-asc-icon")[0],a=document.getElementsByClassName("sort-desc-icon")[0];this.direction==="desc"?(this.direction="asc",t.classList.remove("hidden"),a.classList.add("hidden"),this.$refs.lengthWrapper.classList.add("flex-col-reverse"),this.$refs.lengthWrapper.classList.remove("flex-col"),this.$refs.pointsWrapper.classList.add("flex-col-reverse"),this.$refs.pointsWrapper.classList.remove("flex-col"),this.$refs.noneWrapper.classList.add("flex-row-reverse"),this.$refs.noneWrapper.classList.add("justify-end"),this.$refs.noneWrapper.classList.remove("flex-row")):(this.direction="desc",t.classList.add("hidden"),a.classList.remove("hidden"),this.$refs.lengthWrapper.classList.remove("flex-col-reverse"),this.$refs.lengthWrapper.classList.add("flex-col"),this.$refs.pointsWrapper.classList.remove("flex-col-reverse"),this.$refs.pointsWrapper.classList.add("flex-col"),this.$refs.noneWrapper.classList.remove("flex-row-reverse"),this.$refs.noneWrapper.classList.add("flex-row"),this.$refs.noneWrapper.classList.remove("justify-end"))}}));c.data("ad",(e,t="both")=>({slot:e,init(){this.$nextTick(()=>{(t==="both"||t==="desktop"&&window.innerWidth>=768||t==="mobile"&&window.innerWidth<768)&&tude.cmd.push(function(){tude.refreshAdsViaDivMappings([{divId:e,baseDivId:"pb-"+e}])})})}}));c.data("anagramSearch",(e="",t="")=>({term:e,apiSearchUrl:t,errors:{},init(){addEventListener("DOMContentLoaded",a=>{document.getElementById("term-input").focus()}),this.$watch("term",(a,s)=>{this.term=this.term.toUpperCase().replace(/[^A-ZÃÃÃ]+/g,"").replace(" ","")})},async triggerSearch(){if(this.term.length>0){this.errors.term=!1;const a=document.getElementById("anagram-content"),s=document.getElementById("anagram-result"),i=await axios.get(this.apiSearchUrl+"/"+this.term);a.classList.add("hidden"),s.classList.remove("hidden"),s.classList.add("flex"),s.innerHTML=i.data,setTimeout(function(){document.getElementById("jump-mark").scrollIntoView({behavior:"instant"})})}else this.errors.term=!0}}));c.data("anagramResult",()=>({wordCountFilter:null,wordTypeFilter:"words",activeButton:"words",init(){}}));c.data("wordResult",(e=0,t="")=>({wordLength:e,paginationPath:t,collapsed:{2:!1,3:!1,4:!1,5:!1,6:!1,7:!1,8:!1,9:e===0,10:e===0,11:e===0,12:e===0,13:e===0,14:e===0,15:e===0},pagination:{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1},init(){},async paginate(a,s,i,r){let n=this.pagination[i],o=Math.ceil(r/10),l=null;if(a==="back"&&n>1)this.pagination[i]--;else if(n<=o)this.pagination[i]++;else return;if(l=await axios.get(this.paginationPath+"/"+s+"/"+this.pagination[i]+"/"+i),l!==null){let p=document.getElementById("result-item-"+i),h=p.parentNode;h.removeChild(p),h.innerHTML=l.data}}}));c.data("wordLengthResult",(e=0,t=0,a="")=>({currentPage:1,maxPages:t,wordLength:e,paginationPath:a,init(){},async paginate(s){if(s==="back"&&this.currentPage>1)this.currentPage--;else if(this.currentPage<=this.maxPages)this.currentPage++;else return;const i=await axios.get(this.paginationPath+"/"+e+"/"+this.currentPage);i!==null&&(document.getElementById("word-length-list-wrapper").innerHTML=i.data)}}));
1c.data("correctionResult",(e=1,t=Number.MAX_SAFE_INTEGER,a="")=>({page:e,lastPage:t,api:a,disabled:!1,init(){this.page=parseInt(e),this.lastPage=parseInt(t),this.api=a,this.api.length||(this.disabled=!0),this.$watch("page",s=>{s>=this.lastPage&&(this.disabled=!0)})},async fetchNextPage(){try{const s=await b.get(`${this.api}${++this.page}`),i=document.createElement("template");i.innerHTML=s.data,this.$refs.listContainer.append(...i.content.childNodes)}catch(s){console.error(s)}}}));var E,M,A=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},q=function(e){if(document.readyState==="loading")return"loading";var t=A();if(t){if(e<t.domInteractive)return"loading";if(t.domContentLoadedEventStart===0||e<t.domContentLoadedEventStart)return"dom-interactive";if(t.domComplete===0||e<t.domComplete)return"dom-content-loaded"}return"complete"},G=function(e){var t=e.nodeName;return e.nodeType===1?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},K=function(e,t){var a="";try{for(;e&&e.nodeType!==9;){var s=e,i=s.id?"#"+s.id:G(s)+(s.classList&&s.classList.value&&s.classList.value.trim()&&s.classList.value.trim().length?"."+s.classList.value.trim().replace(/\s+/g,"."):"");if(a.length+i.length>(t||100)-1)return a||i;if(a=a?i+">"+a:i,s.id)break;e=s.parentNode}}catch{}return a},C=-1,J=function(){return C},Q=function(e){addEventListener("pageshow",function(t){t.persisted&&(C=t.timeStamp,e(t))},!0)},_=function(){var e=A();return e&&e.activationStart||0},U=function(e,t){var a=A(),s="navigate";return J()>=0?s="back-forward-cache":a&&(document.prerendering||_()>0?s="prerender":document.wasDiscarded?s="restore":a.type&&(s=a.type.replace(/_/g,"-"))),{name:e,value:-1,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:s}},L=function(e,t,a){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var s=new PerformanceObserver(function(i){Promise.resolve().then(function(){t(i.getEntries())})});return s.observe(Object.assign({type:e,buffered:!0},a||{})),s}}catch{}},B=function(e,t,a,s){var i,r;return function(n){t.value>=0&&(n||s)&&((r=t.value-(i||0))||i===void 0)&&(i=t.value,t.delta=r,t.rating=function(o,l){return o>l[1]?"poor":o>l[0]?"needs-improvement":"good"}(t.value,a),e(t))}},D=function(e){document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&e()})},X=function(e){var t=!1;return function(){t||(e(),t=!0)}},ee=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},P=0,w=1/0,y=0,te=function(e){e.forEach(function(t){t.interactionId&&(w=Math.min(w,t.interactionId),y=Math.max(y,t.interactionId),P=y?(y-w)/7+1:0)})},z=function(){return E?P:performance.interactionCount||0},se=function(){"interactionCount"in performance||E||(E=L("event",te,{type:"event",buffered:!0,durationThreshold:0}))},d=[],v=new Map,j=0,ae=function(){var e=Math.min(d.length-1,Math.floor((z()-j)/50));return d[e]},W=[],ie=function(e){if(W.forEach(function(i){return i(e)}),e.interactionId||e.entryType==="first-input"){var t=d[d.length-1],a=v.get(e.interactionId);if(a||d.length<10||e.duration>t.latency){if(a)e.duration>a.latency?(a.entries=[e],a.latency=e.duration):e.duration===a.latency&&e.startTime===a.entries[0].startTime&&a.entries.push(e);else{var s={id:e.interactionId,latency:e.duration,entries:[e]};v.set(s.id,s),d.push(s)}d.sort(function(i,r){return r.latency-i.latency}),d.length>10&&d.splice(10).forEach(function(i){return v.delete(i.id)})}}},N=function(e){var t=self.requestIdleCallback||self.setTimeout,a=-1;return e=X(e),document.visibilityState==="hidden"?e():(a=t(e),D(e)),a},R=[200,500],ne=function(e,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},ee(function(){var a;se();var s,i=U("INP"),r=function(o){N(function(){o.forEach(ie);var l=ae();l&&l.latency!==i.value&&(i.value=l.latency,i.entries=l.entries,s())})},n=L("event",r,{durationThreshold:(a=t.durationThreshold)!==null&&a!==void 0?a:40});s=B(e,i,R,t.reportAllChanges),n&&(n.observe({type:"first-input",buffered:!0}),D(function(){r(n.takeRecords()),s(!0)}),Q(function(){j=z(),d.length=0,v.clear(),i=U("INP"),s=B(e,i,R,t.reportAllChanges)}))}))},g=[],u=[],T=0,S=new WeakMap,f=new Map,I=-1,re=function(e){g=g.concat(e),$()},$=function(){I<0&&(I=N(oe))},oe=function(){f.size>10&&f.forEach(function(n,o){v.has(o)||f.delete(o)});var e=d.map(function(n){return S.get(n.entries[0])}),t=u.length-50;u=u.filter(function(n,o){return o>=t||e.includes(n)});for(var a=new Set,s=0;s<u.length;s++){var i=u[s];
1F(i.startTime,i.processingEnd).forEach(function(n){a.add(n)})}var r=g.length-1-50;g=g.filter(function(n,o){return n.startTime>T&&o>r||a.has(n)}),I=-1};W.push(function(e){e.interactionId&&e.target&&!f.has(e.interactionId)&&f.set(e.interactionId,e.target)},function(e){var t,a=e.startTime+e.duration;T=Math.max(T,e.processingEnd);for(var s=u.length-1;s>=0;s--){var i=u[s];if(Math.abs(a-i.renderTime)<=8){(t=i).startTime=Math.min(e.startTime,t.startTime),t.processingStart=Math.min(e.processingStart,t.processingStart),t.processingEnd=Math.max(e.processingEnd,t.processingEnd),t.entries.push(e);break}}t||(t={startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,renderTime:a,entries:[e]},u.push(t)),(e.interactionId||e.entryType==="first-input")&&S.set(e,t),$()});var F=function(e,t){for(var a,s=[],i=0;a=g[i];i++)if(!(a.startTime+a.duration<e)){if(a.startTime>t)break;s.push(a)}return s},le=function(e,t){M||(M=L("long-animation-frame",re)),ne(function(a){var s=function(i){var r=i.entries[0],n=S.get(r),o=r.processingStart,l=n.processingEnd,p=n.entries.sort(function(m,H){return m.processingStart-H.processingStart}),h=F(r.startTime,l),x=i.entries.find(function(m){return m.target}),k=x&&x.target||f.get(r.interactionId),V=[r.startTime+r.duration,l].concat(h.map(function(m){return m.startTime+m.duration})),O=Math.max.apply(Math,V),Z={interactionTarget:K(k),interactionTargetElement:k,interactionType:r.name.startsWith("key")?"keyboard":"pointer",interactionTime:r.startTime,nextPaintTime:O,processedEventEntries:p,longAnimationFrameEntries:h,inputDelay:o-r.startTime,processingDuration:l-o,presentationDelay:Math.max(O-l,0),loadState:q(r.startTime)};return Object.assign(i,{attribution:Z})}(a);e(s)},t)};le(({name:e,value:t,rating:a,attribution:s})=>{const i=window.navigator.userAgent||window.navigator.vendor||window.opera,r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(i)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(i.substr(0,4)),{pathname:n}=location,o=JSON.stringify({pathname:n,isMobile:r,name:e,value:t,rating:a,attribution:s});navigator.sendBeacon("/analytics",o)});window.Alpine=c;c.start();
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.