diff --git a/dist/index.html b/dist/index.html index 9cb85d5..33e62f6 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -
\ No newline at end of file + \ No newline at end of file diff --git a/dist/js/app.77bd15df.js b/dist/js/app.eba2c1bd.js similarity index 99% rename from dist/js/app.77bd15df.js rename to dist/js/app.eba2c1bd.js index 2ff8964..7d0765e 100644 --- a/dist/js/app.77bd15df.js +++ b/dist/js/app.eba2c1bd.js @@ -1,2 +1,2 @@ -(function(){"use strict";var e={988:function(e,t,s){var i=s(242),n=s(396),o=s(139);const a={class:"tab",id:"header"},l=(0,n._)("h1",{style:{float:"left","padding-left":"20px","font-size":"16px","padding-top":"2px"}},"Ithkapp",-1),r=(0,n._)("i",{class:"fa-solid fa-gear fa-xs"},null,-1),h=[r],c=(0,n._)("i",{class:"fa-solid fa-align-right fa-xs"},null,-1),d=[c],p={key:0,class:"dropdown"},u=(0,n.Uk)("Adjunct ▼"),f=[u],g={class:"dropdown-content hidden",id:"adjDD"},m={key:1,class:"dropdown"},b=(0,n.Uk)("Formative ▼"),w=[b],y={class:"dropdown-content hidden",id:"formDD"},v={key:2,class:"dropdown"},S=(0,n.Uk)("Adjunct ▼"),M=[S],T={class:"dropdown-content hidden",id:"adj3"},O={key:3,class:"dropdown"},C=(0,n.Uk)("Formative ▼"),I=[C],x={class:"dropdown-content hidden",id:"form3"},A={id:"content"},k={id:"footer"},E={class:"word"},D=(0,n._)("br",null,null,-1),j={class:"smalltext"},P=(0,n._)("br",null,null,-1),N=["title"],R={id:"modal-content"},V={class:"tab"},_=["onClick"],W=(0,n._)("h2",{style:{"text-align":"center"}},"Settings",-1),L=["onUpdate:modelValue"],U=["onUpdate:modelValue"],F=(0,n._)("br",null,null,-1),z=(0,n._)("br",null,null,-1),G=(0,n._)("a",{href:"https://github.com/TheXXOs/ithkapp",target:"_blank"},"This project on GitHub",-1),B={key:0},X={style:{"text-align":"center"}},q=["innerHTML"],H={key:0},J={key:0,class:"tab"},$={key:1},Y=["onClick"],K=["innerHTML"],Q=["onClick"],Z=["src","alt"],ee=["innerHTML"],te={key:1},se=(0,n._)("br",null,null,-1),ie=(0,n._)("br",null,null,-1),ne=(0,n._)("p",{style:{"text-align":"center"}},"Your sentence:",-1),oe={style:{"text-align":"center"}},ae=(0,n._)("br",null,null,-1),le=(0,n._)("br",null,null,-1),re={id:"sidebar"},he={id:"sHeader"},ce=(0,n._)("h3",{style:{"padding-left":"20px"}},"Sentence Menu",-1),de={id:"sContent"},pe=["onClick","onMouseover","onMousemove","onTouchstart"],ue=["onUpdate:modelValue"],fe=(0,n._)("br",null,null,-1),ge={id:"sFooter"},me=(0,n._)("i",{class:"fa-solid fa-plus fa-xl"},null,-1),be=[me],we=(0,n._)("i",{class:"fa-solid fa-floppy-disk fa-xl"},null,-1),ye=[we],ve=(0,n._)("label",{id:"filab",for:"fimport"},[(0,n._)("i",{class:"fa-solid fa-arrow-up-from-bracket fa-xl"})],-1),Se=[ve],Me=(0,n._)("i",{class:"fa-solid fa-share-from-square fa-xl"},null,-1),Te=[Me];function Oe(e,t,s,r,c,u){const b=(0,n.up)("Ithkuil_v4"),S=(0,n.up)("Ithkuil_v3"),C=(0,n.Q2)("click-outside");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("title",null,"Ithkapp | "+(0,o.zw)(c.ithkword),1),(0,n._)("div",a,[l,(0,n._)("span",{class:"close",style:{"padding-left":"10px"},onClick:t[0]||(t[0]=e=>u.openModal("settings")),title:"Settings"},h),(0,n._)("span",{class:"close",style:(0,o.j5)([{"padding-left":"10px",height:"38px"},c.sentenceOpen?"background-color:rgb(179, 255, 230); color:#333;":""]),onClick:t[1]||(t[1]=e=>u.openNav(!1)),title:"Sentence Menu"},d,4),4==c.langVer?((0,n.wg)(),(0,n.iD)("div",p,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("button",{class:(0,o.C_)({active:!["normal","affRoot","refRoot","ref","refCS","free"].includes(c.wordType)}),onClick:t[2]||(t[2]=e=>u.openDropdown("adjDD"))},f,2)),[[C,e=>u.closeDropdown("adjDD",e)]]),(0,n._)("div",g,[(0,n._)("span",{onClick:t[3]||(t[3]=e=>u.switchWordType("affixjunct")),class:(0,o.C_)({active:"affixjunct"==c.wordType})},"Affixual",2),(0,n._)("span",{onClick:t[4]||(t[4]=e=>u.switchWordType("modular")),class:(0,o.C_)({active:"modular"==c.wordType})},"Modular",2),(0,n._)("span",{onClick:t[5]||(t[5]=e=>u.switchWordType("register")),class:(0,o.C_)({active:"register"==c.wordType})},"Register",2),(0,n._)("span",{onClick:t[6]||(t[6]=e=>u.switchWordType("suppletive")),class:(0,o.C_)({active:"suppletive"==c.wordType})},"Suppletive",2),(0,n._)("span",{onClick:t[7]||(t[7]=e=>u.switchWordType("bias")),class:(0,o.C_)({active:"bias"==c.wordType})},"Bias",2)])])):(0,n.kq)("",!0),4==c.langVer?((0,n.wg)(),(0,n.iD)("div",m,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("button",{class:(0,o.C_)({active:["normal","affRoot","refRoot","ref","refCS","free"].includes(c.wordType)}),onClick:t[8]||(t[8]=e=>u.openDropdown("formDD"))},w,2)),[[C,e=>u.closeDropdown("formDD",e)]]),(0,n._)("div",y,[(0,n._)("span",{onClick:t[9]||(t[9]=e=>u.switchWordType("normal")),class:(0,o.C_)({active:"normal"==c.wordType})},"Normal",2),(0,n._)("span",{onClick:t[10]||(t[10]=e=>u.switchWordType("affRoot")),class:(0,o.C_)({active:"affRoot"==c.wordType})},"Affix as Root",2),(0,n._)("span",{onClick:t[11]||(t[11]=e=>u.switchWordType("refRoot")),class:(0,o.C_)({active:"refRoot"==c.wordType})},"Personal-Referential Root",2),(0,n._)("span",{onClick:t[12]||(t[12]=e=>u.switchWordType("ref")),class:(0,o.C_)({active:"ref"==c.wordType})},"Single/Dual-Referential",2),(0,n._)("span",{onClick:t[13]||(t[13]=e=>u.switchWordType("refCS")),class:(0,o.C_)({active:"refCS"==c.wordType})},"Single Referential w/ Case-Stacking",2),(0,n._)("span",{onClick:t[14]||(t[14]=e=>u.switchWordType("free")),class:(0,o.C_)({active:"free"==c.wordType})},"Non-Ithkuil (Borrowed) Word",2)])])):(0,n.kq)("",!0),3==c.langVer?((0,n.wg)(),(0,n.iD)("div",v,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("button",{class:(0,o.C_)({active:["aspect","affix","bias"].includes(c.wordType)}),onClick:t[15]||(t[15]=e=>u.openDropdown("adj3"))},M,2)),[[C,e=>u.closeDropdown("adj3",e)]]),(0,n._)("div",T,[(0,n._)("span",{onClick:t[16]||(t[16]=e=>u.switchWordType("aspect")),class:(0,o.C_)({active:"aspect"==c.wordType})},"Aspectual",2),(0,n._)("span",{onClick:t[17]||(t[17]=e=>u.switchWordType("affix")),class:(0,o.C_)({active:"affix"==c.wordType})},"Affixual",2),(0,n._)("span",{onClick:t[18]||(t[18]=e=>u.switchWordType("bias")),class:(0,o.C_)({active:"bias"==c.wordType})},"Bias",2)])])):(0,n.kq)("",!0),3==c.langVer?((0,n.wg)(),(0,n.iD)("div",O,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("button",{class:(0,o.C_)({active:["normal","ref"].includes(c.wordType)}),onClick:t[19]||(t[19]=e=>u.openDropdown("form3"))},I,2)),[[C,e=>u.closeDropdown("form3",e)]]),(0,n._)("div",x,[(0,n._)("span",{onClick:t[20]||(t[20]=e=>u.switchWordType("normal")),class:(0,o.C_)({active:"normal"==c.wordType})},"Normal",2),(0,n._)("span",{onClick:t[21]||(t[21]=e=>u.switchWordType("ref")),class:(0,o.C_)({active:"ref"==c.wordType})},"Personal Reference",2)])])):(0,n.kq)("",!0)]),(0,n._)("div",A,["4"==c.langVer?((0,n.wg)(),(0,n.j4)(b,{key:0,ref:"4",onModal:u.openModal,onGEmit:t[22]||(t[22]=e=>c.gOptions=JSON.parse(JSON.stringify(e))),onIthkword:t[23]||(t[23]=e=>{c.ithkword=e[0],c.ipa=e[1],c.gloss=e[2],c.fullGloss=e[3],c.sentence[c.selectedWord]=JSON.parse(JSON.stringify([c.ithkword,c.gOptions,c.wordType,c.sentence[c.selectedWord][3]]))}),listenModal:c.modalListen,listenWordtype:c.wordType,listenWord:c.gSOptions,selectedWord:c.selectedWord,sLength:c.sentence.length,nextWord:this.sentence[c.selectedWord+1]},null,8,["onModal","listenModal","listenWordtype","listenWord","selectedWord","sLength","nextWord"])):(0,n.kq)("",!0),"3"==c.langVer?((0,n.wg)(),(0,n.j4)(S,{key:1,ref:"3",onModal:u.openModal,onGEmit:t[24]||(t[24]=e=>c.gOptions=JSON.parse(JSON.stringify(e))),onIthkword:t[25]||(t[25]=e=>{c.ithkword=e[0],c.ipa=e[1],c.gloss=e[2],c.fullGloss=e[3],c.sentence[c.selectedWord]=JSON.parse(JSON.stringify([c.ithkword,c.gOptions,c.wordType,c.sentence[c.selectedWord][3]]))}),listenModal:c.modalListen,listenWord:c.gSOptions,listenWordtype:c.wordType},null,8,["onModal","listenModal","listenWord","listenWordtype"])):(0,n.kq)("",!0)]),(0,n._)("div",k,[(0,n._)("p",null,[(0,n._)("span",E,[(0,n._)("b",null,(0,o.zw)(c.ithkword),1)]),D,(0,n._)("span",j,[(0,n.Uk)("["+(0,o.zw)(c.ipa)+"]",1),P,(0,n._)("span",{title:c.fullGloss},(0,o.zw)(c.gloss),9,N)])])]),(0,n._)("div",{id:"modal",class:"modal",onClick:t[40]||(t[40]=(0,i.iM)((e=>u.closeModal()),["self"]))},[(0,n._)("div",R,[(0,n._)("div",V,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(c.modalTabs,(e=>((0,n.wg)(),(0,n.iD)("button",{key:e,class:(0,o.C_)({active:e===c.modalID}),onClick:t=>{u.closeModal(),u.openModal(e)}},(0,o.zw)(this.$refs[c.langVer].gData[isNaN(e.slice(-1))?e:e.slice(0,-1)].title),11,_)))),128)),"share"==c.modalID?((0,n.wg)(),(0,n.iD)("button",{key:0,onClick:t[26]||(t[26]=e=>u.notAvailableAlert("Sharing sentences via hyperlink"))},"Create Hyperlink")):(0,n.kq)("",!0),"share"==c.modalID?((0,n.wg)(),(0,n.iD)("button",{key:1,onClick:t[27]||(t[27]=e=>u.copytoCB(u.concatenateSentence(c.sentence)))},"Copy to Clipboard")):(0,n.kq)("",!0),(0,n._)("span",{class:"close",onClick:t[28]||(t[28]=e=>u.closeModal())},"×")]),(0,n._)("div",{class:(0,o.C_)({hidden:"settings"!=c.modalID}),style:{"padding-left":"20px","padding-right":"20px","padding-bottom":"20px"}},[W,((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(Object.keys(c.settingsClone),(e=>((0,n.wg)(),(0,n.iD)("div",{key:e},[(0,n._)("h3",null,(0,o.zw)(e),1),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(Object.keys(c.settingsClone[e]),(s=>((0,n.wg)(),(0,n.iD)("span",{key:s},[(0,n._)("label",null,(0,o.zw)(c.settingsClone[e][s][0]),1),c.settingsClone[e][s].length>2?(0,n.wy)(((0,n.wg)(),(0,n.iD)("select",{key:0,"onUpdate:modelValue":t=>this.$refs[c.langVer].settings[e][s][1]=t,onChange:t[29]||(t[29]=e=>this.$refs[c.langVer].handleSendMessage())},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(c.settingsClone[e][s][2],(e=>((0,n.wg)(),(0,n.iD)("option",{key:e},(0,o.zw)(e),1)))),128))],40,L)),[[i.bM,this.$refs[c.langVer].settings[e][s][1]]]):(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:1,type:"checkbox","onUpdate:modelValue":t=>this.$refs[c.langVer].settings[e][s][1]=t,onChange:t[30]||(t[30]=e=>this.$refs[c.langVer].handleSendMessage())},null,40,U)),[[i.e8,this.$refs[c.langVer].settings[e][s][1]]]),F,z])))),128))])))),128)),G],2),"settings"!=c.modalID&&"share"!=c.modalID?((0,n.wg)(),(0,n.iD)("div",B,[(0,n._)("h2",X,(0,o.zw)(c.modalContent.title),1),(0,n._)("p",{style:{"text-align":"center"},innerHTML:c.modalContent.popupdesc},null,8,q),""==c.modalContent.type?((0,n.wg)(),(0,n.iD)("div",H,[["c","c1","c2"].includes(c.modalID)?((0,n.wg)(),(0,n.iD)("div",J,[(0,n._)("button",{class:"tablinks active",onClick:t[31]||(t[31]=e=>u.changeClassTab("THM","PLM","Allcases")),id:"Allcases"},"All"),(0,n._)("button",{class:"tablinks",onClick:t[32]||(t[32]=e=>u.changeClassTab("THM","IND","Transrelative")),id:"Transrelative"},"Transrelative"),(0,n._)("button",{class:"tablinks",onClick:t[33]||(t[33]=e=>u.changeClassTab("POS","PAR","Appositive")),id:"Appositive"},"Appositive"),(0,n._)("button",{class:"tablinks",onClick:t[34]||(t[34]=e=>u.changeClassTab("APL","CSD","Associative")),id:"Associative"},"Associative"),(0,n._)("button",{class:"tablinks",onClick:t[35]||(t[35]=e=>u.changeClassTab("FUN","SIT","Adverbial")),id:"Adverbial"},"Adverbial"),(0,n._)("button",{class:"tablinks",onClick:t[36]||(t[36]=e=>u.changeClassTab("PRN","RLT","Relational")),id:"Relational"},"Relational"),(0,n._)("button",{class:"tablinks",onClick:t[37]||(t[37]=e=>u.changeClassTab("ACT","VOC","Affinitive")),id:"Affinitive"},"Affinitive"),(0,n._)("button",{class:"tablinks",onClick:t[38]||(t[38]=e=>u.changeClassTab("LOC","PLM","Spatio-Temporal")),id:"Spatio-Temporal"},"Spatio-Temporal")])):(0,n.kq)("",!0),["c","c1","c2"].includes(c.modalID)?((0,n.wg)(),(0,n.iD)("div",$,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(Object.keys(c.modalContent.options).slice(Object.keys(c.modalContent.options).indexOf(this.casePopupStart),Object.keys(c.modalContent.options).indexOf(this.casePopupEnd)+1),(e=>((0,n.wg)(),(0,n.iD)("div",{key:c.modalContent.options[e]},[(0,n._)("div",{onClick:t=>u.updateFromModal(c.modalID,e),class:(0,o.C_)(["modalOption",{modalSelected:this.$refs[c.langVer].gOptions[c.modalID]==e}])},[(0,n._)("h3",null,(0,o.zw)(c.modalContent.options[e].name)+(0,o.zw)(e!==e.toString().toUpperCase()||["0","1","2","3","4","5","6","7","8","9"].includes(e.toString())?"":" ("+e+")"),1),(0,n._)("p",{innerHTML:c.modalContent.options[e].desc},null,8,K)],10,Y)])))),128))])):((0,n.wg)(!0),(0,n.iD)(n.HY,{key:2},(0,n.Ko)(Object.keys(c.modalContent.options),(e=>((0,n.wg)(),(0,n.iD)("div",{key:c.modalContent.options[e]},[(0,n._)("div",{onClick:t=>u.updateFromModal(c.modalID,e),class:(0,o.C_)(["modalOption",{modalSelected:this.$refs[c.langVer].gOptions[c.modalID]==e}]),style:(0,o.j5)(c.modalContent.options[e].image?"min-height:170px;":"")},[c.modalContent.options[e].image?((0,n.wg)(),(0,n.iD)("img",{key:0,src:c.modalContent.options[e].image,alt:c.modalContent.options[e].name,style:{float:"right",height:"150px","padding-top":"10px","padding-left":"10px","padding-bottom":"10px"}},null,8,Z)):(0,n.kq)("",!0),(0,n._)("h3",null,(0,o.zw)(c.modalContent.options[e].name)+(0,o.zw)(e!==e.toString().toUpperCase()||["0","1","2","3","4","5","6","7","8","9"].includes(e.toString())?"":" ("+e+")"),1),(0,n._)("p",{innerHTML:c.modalContent.options[e].desc},null,8,ee)],14,Q)])))),128))])):(0,n.kq)("",!0)])):"share"==c.modalID?((0,n.wg)(),(0,n.iD)("div",te,[se,ie,ne,(0,n._)("h1",oe,(0,o.zw)(u.concatenateSentence(c.sentence)),1),ae,le])):(0,n.kq)("",!0)]),(0,n._)("button",{id:"modalToTop",onClick:t[39]||(t[39]=(...e)=>u.scrollToTop&&u.scrollToTop(...e)),class:(0,o.C_)({hidden:"share"==c.modalID})},"↑",2)]),(0,n._)("div",re,[(0,n._)("div",he,[(0,n._)("span",{class:"close",onClick:t[41]||(t[41]=e=>u.closeNav()),style:{transform:"translateY(-20px)"}},"×"),ce]),(0,n._)("div",de,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(c.sentence,((e,s)=>((0,n.wg)(),(0,n.iD)("div",{key:s,class:(0,o.C_)(["sentWord noSelecting",{active:c.selectedWord==s,deletable:c.deleteWordMode,dragging:c.draggedWord===s}]),onClick:e=>u.switchWord(s),onMouseover:e=>u.hoverChange(s),onMouseleave:t[43]||(t[43]=e=>c.hovering=null),onMousemove:e=>u.beginDrag(s),onTouchstart:e=>u.beginDrag(s)},[(0,n._)("p",null,[(0,n._)("b",null,(0,o.zw)(e[0]),1)]),(0,n.wy)((0,n._)("textarea",{placeholder:"Description...","onUpdate:modelValue":e=>c.sentence[s][3]=e,onInput:t[42]||(t[42]=(...e)=>u.resizeTA&&u.resizeTA(...e)),rows:"1",class:"ta"},null,40,ue),[[i.nr,c.sentence[s][3]]]),fe],42,pe)))),128))]),(0,n._)("div",ge,[(0,n._)("input",{type:"file",onChange:t[44]||(t[44]=(...e)=>u.uploadJSON&&u.uploadJSON(...e)),accept:".json",id:"fimport",class:"hidden"},null,32),(0,n._)("button",{title:"Add New Word",onClick:t[45]||(t[45]=e=>this.sentence.push(JSON.parse(JSON.stringify([this.$refs[c.langVer].defaultWord,this.$refs[c.langVer].gDefault,"normal",""]))))},be),(0,n._)("button",{title:"Save",onClick:t[46]||(t[46]=e=>u.exportToJsonFile(c.sentence))},ye),(0,n._)("button",{title:"Import",onClick:t[47]||(t[47]=(0,i.iM)((e=>u.openFileDialog()),["self"]))},Se),(0,n._)("button",{title:"Export/Share",onClick:t[48]||(t[48]=e=>{u.openModal("share"),u.closeNav()})},Te),(0,n._)("button",{title:"Delete Words",onClick:t[49]||(t[49]=e=>c.deleteWordMode=!c.deleteWordMode),class:(0,o.C_)({active:c.deleteWordMode})},[(0,n._)("i",{class:(0,o.C_)(c.deleteWordMode?"fa-solid fa-check fa-xl":"fa-solid fa-trash-can fa-xl")},null,2)],2)])])],64)}var Ce=s(51),Ie=s.n(Ce);const xe=(0,n._)("h1",null,"Ithkapp (hwirbuvie-ekţgyil)",-1),Ae=(0,n._)("p",{class:"smalltext"},[(0,n.Uk)("Compatible with New Ithkuil Design Doc v1.3, Lexical Roots v0.5.1, VxCs Affixes v1.0, and Phonotaxis v0.5.4. "),(0,n._)("br"),(0,n.Uk)("Definitions are a combination of taken from "),(0,n._)("a",{target:"_blank",href:"http://ithkuil.net/index.htm"},"the official Ithkuil III site"),(0,n.Uk)(", taken from "),(0,n._)("a",{target:"_blank",href:"http://www.ithkuil.net/New_Ithkuil_design_doc_v_1_1.pdf"},"official Ithkuil IV documentation"),(0,n.Uk)(", and (occasionally) written by the creator of this site. "),(0,n._)("br"),(0,n.Uk)("All past and current forms of Ithkuil and all official documentation are by John Quijada. "),(0,n._)("br"),(0,n.Uk)("Click on a box's title to learn more about what it means.")],-1),ke=(0,n._)("h2",{style:{width:"100%"}},"Configuration",-1),Ee=(0,n._)("h2",{style:{width:"100%"}},"Slot II",-1),De=(0,n._)("h2",{style:{width:"100%"}},"Slot III",-1),je=(0,n._)("h2",{style:{width:"100%"}},"Slot IV",-1);function Pe(e,t,s,i,a,l){const r=(0,n.up)("OptionBox");return(0,n.wg)(),(0,n.iD)("div",null,[xe,Ae,(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["suppletive","affixjunct","register","modular","bias","free"].includes(a.wordType)}])},[(0,n.Wm)(r,{json:a.gData.affRoot,class:(0,o.C_)({hidden:"affRoot"!=a.wordType}),code:"affRoot",onSendMessage:l.handleSendMessage,ref:"affRoot",onModal:l.openModal,length:"6",whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"])},null,8,["json","class","onSendMessage","onModal","whitelist"]),(0,n.Wm)(r,{json:a.gData.arDegree,class:(0,o.C_)({hidden:"affRoot"!=a.wordType}),code:"arDegree",onSendMessage:l.handleSendMessage,ref:"arDegree",onModal:l.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.ref,class:(0,o.C_)({hidden:!["refRoot","ref","refCS"].includes(a.wordType)}),code:"ref",onSendMessage:l.handleSendMessage,ref:"ref",onModal:l.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.refEff,class:(0,o.C_)({hidden:!["refRoot","ref","refCS"].includes(a.wordType)}),code:"refEff",onSendMessage:l.handleSendMessage,ref:"refEff",onModal:l.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.refPersp,class:(0,o.C_)({hidden:!["refRoot","ref","refCS"].includes(a.wordType)}),code:"refPersp",onSendMessage:l.handleSendMessage,ref:"refPersp",onModal:l.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.c,class:(0,o.C_)({hidden:"ref"!=a.wordType&&"refCS"!=a.wordType}),code:"c1",onSendMessage:l.handleSendMessage,ref:"c1",onModal:l.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.root,class:(0,o.C_)({hidden:["affRoot","refRoot","ref","refCS"].includes(a.wordType)}),code:"root",onSendMessage:l.handleSendMessage,ref:"root",onModal:l.openModal,length:"6",whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"])},null,8,["json","class","onSendMessage","onModal","whitelist"]),(0,n.Wm)(r,{json:a.gData.stem,class:(0,o.C_)({hidden:["affRoot","refRoot","ref","refCS"].includes(a.wordType)}),code:"stem",onSendMessage:l.handleSendMessage,ref:"stem",onModal:l.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.spec,class:(0,o.C_)({hidden:"ref"==a.wordType||"affRoot"==a.wordType}),code:"spec",onSendMessage:l.handleSendMessage,ref:"spec",onModal:l.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.func,class:(0,o.C_)({hidden:"ref"==a.wordType||"refCS"==a.wordType}),code:"func",onSendMessage:l.handleSendMessage,ref:"func",onModal:l.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.ver,class:(0,o.C_)({hidden:"ref"==a.wordType||"refCS"==a.wordType}),code:"ver",onSendMessage:l.handleSendMessage,ref:"ver",onModal:l.openModal},null,8,["json","class","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["suppletive","affixjunct","register","modular","ref","refCS","bias","free"].includes(a.wordType)}])},[(0,n.Wm)(r,{json:a.gData.shcut,code:"shcut",onSendMessage:l.handleSendMessage,ref:"shcut",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.concat,code:"concat",onSendMessage:l.handleSendMessage,ref:"concat",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.rel,code:"rel",onSendMessage:l.handleSendMessage,ref:"rel",onModal:l.openModal,disabled:"0"!=this.gOptions.concat},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.Vafx,code:"Vafx",onSendMessage:l.handleSendMessage,type:"affix",ref:"Vafx",onModal:l.openModal,whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"]),aff6:l.calculateSlot6},null,8,["json","onSendMessage","onModal","whitelist","aff6"]),(0,n.Wm)(r,{json:a.gData.VIIafx,code:"VIIafx",onSendMessage:l.handleSendMessage,type:"affix",ref:"VIIafx",onModal:l.openModal,whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"]),aff6:l.calculateSlot6},null,8,["json","onSendMessage","onModal","whitelist","aff6"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["suppletive","affixjunct","register","modular","ref","refCS","bias","free"].includes(a.wordType)}])},[ke,(0,n.Wm)(r,{json:a.gData.plex,code:"plex",onSendMessage:l.handleSendMessage,ref:"plex",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.simil,code:"simil",onSendMessage:l.handleSendMessage,disabled:["UPX","DPX"].includes(this.gOptions.plex),ref:"simil",onModal:l.openModal},null,8,["json","onSendMessage","disabled","onModal"]),(0,n.Wm)(r,{json:a.gData.cctd,code:"cctd",onSendMessage:l.handleSendMessage,disabled:["UPX","DPX"].includes(this.gOptions.plex),ref:"cctd",onModal:l.openModal},null,8,["json","onSendMessage","disabled","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["suppletive","affixjunct","register","modular","ref","refCS","bias","free"].includes(a.wordType)}])},[(0,n.Wm)(r,{json:a.gData.affil,code:"affil",onSendMessage:l.handleSendMessage,ref:"affil",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.ext,code:"ext",onSendMessage:l.handleSendMessage,ref:"ext",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.persp,code:"persp",onSendMessage:l.handleSendMessage,ref:"persp",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.ess,code:"ess",onSendMessage:l.handleSendMessage,ref:"ess",onModal:l.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"modular"!=a.wordType}])},[(0,n.Wm)(r,{json:a.gData.modAppliesTo,code:"modAppliesTo",onSendMessage:l.handleSendMessage,ref:"modAppliesTo",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.modNumber,code:"modNumber",onSendMessage:l.handleSendMessage,ref:"modNumber",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.cn,code:"cn",onSendMessage:l.handleSendMessage,ref:"cn",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.mood,code:"mood2",onSendMessage:l.handleSendMessage,ref:"mood2",onModal:l.openModal,class:(0,o.C_)({hidden:"mood"!=this.gOptions.cn})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(r,{json:a.gData.casc,code:"casc2",onSendMessage:l.handleSendMessage,ref:"casc2",onModal:l.openModal,class:(0,o.C_)({hidden:"casc"!=this.gOptions.cn})},null,8,["json","onSendMessage","onModal","class"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"modular"!=a.wordType||"modular"==a.wordType&&!["2","3"].includes(a.gOptions.modNumber)}])},[Ee,(0,n.Wm)(r,{json:a.gData.vn,code:"vn2",onSendMessage:l.handleSendMessage,ref:"vn2",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.val,code:"val2",onSendMessage:l.handleSendMessage,ref:"val2",onModal:l.openModal,disabled:"val"!=this.gOptions.vn2},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.pha,code:"pha2",onSendMessage:l.handleSendMessage,ref:"pha2",onModal:l.openModal,disabled:"pha"!=this.gOptions.vn2},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.eff,code:"eff2",onSendMessage:l.handleSendMessage,ref:"eff2",onModal:l.openModal,disabled:"eff"!=this.gOptions.vn2},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.lvl,code:"lvl2",onSendMessage:l.handleSendMessage,ref:"lvl2",onModal:l.openModal,disabled:"lvl"!=this.gOptions.vn2},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.asp,code:"asp2",onSendMessage:l.handleSendMessage,ref:"asp2",onModal:l.openModal,disabled:"asp"!=this.gOptions.vn2},null,8,["json","onSendMessage","onModal","disabled"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"modular"!=a.wordType||"modular"==a.wordType&&"3"!=a.gOptions.modNumber}])},[De,(0,n.Wm)(r,{json:a.gData.vn,code:"vn3",onSendMessage:l.handleSendMessage,ref:"vn3",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.val,code:"val3",onSendMessage:l.handleSendMessage,ref:"val3",onModal:l.openModal,disabled:"val"!=this.gOptions.vn3},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.pha,code:"pha3",onSendMessage:l.handleSendMessage,ref:"pha3",onModal:l.openModal,disabled:"pha"!=this.gOptions.vn3},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.eff,code:"eff3",onSendMessage:l.handleSendMessage,ref:"eff3",onModal:l.openModal,disabled:"eff"!=this.gOptions.vn3},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.lvl,code:"lvl3",onSendMessage:l.handleSendMessage,ref:"lvl3",onModal:l.openModal,disabled:"lvl"!=this.gOptions.vn3},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.asp,code:"asp3",onSendMessage:l.handleSendMessage,ref:"asp3",onModal:l.openModal,disabled:"asp"!=this.gOptions.vn3},null,8,["json","onSendMessage","onModal","disabled"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"modular"!=a.wordType}])},[je,(0,n.Wm)(r,{json:a.gData.vh,code:"vh",onSendMessage:l.handleSendMessage,ref:"vh",onModal:l.openModal,class:(0,o.C_)({hidden:"modular"!=this.wordType}),disabled:"1"==this.gOptions.modNumber},null,8,["json","onSendMessage","onModal","class","disabled"]),(0,n.Wm)(r,{json:a.gData.modScope,code:"modScope",onSendMessage:l.handleSendMessage,ref:"modScope",onModal:l.openModal,class:(0,o.C_)({hidden:"modular"!=this.wordType||"1"==this.gOptions.modNumber||"vn"==this.gOptions.vh})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(r,{json:a.gData.v4n,code:"v4n",onSendMessage:l.handleSendMessage,ref:"v4n",onModal:l.openModal,class:(0,o.C_)({hidden:"vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(r,{json:a.gData.val,code:"val4",onSendMessage:l.handleSendMessage,ref:"val4",onModal:l.openModal,disabled:"val"!=this.gOptions.v4n,class:(0,o.C_)({hidden:"vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber})},null,8,["json","onSendMessage","onModal","disabled","class"]),(0,n.Wm)(r,{json:a.gData.pha,code:"pha4",onSendMessage:l.handleSendMessage,ref:"pha4",onModal:l.openModal,disabled:"pha"!=this.gOptions.v4n,class:(0,o.C_)({hidden:"vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber})},null,8,["json","onSendMessage","onModal","disabled","class"]),(0,n.Wm)(r,{json:a.gData.eff,code:"eff4",onSendMessage:l.handleSendMessage,ref:"eff4",onModal:l.openModal,disabled:"eff"!=this.gOptions.v4n,class:(0,o.C_)({hidden:"vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber})},null,8,["json","onSendMessage","onModal","disabled","class"]),(0,n.Wm)(r,{json:a.gData.lvl,code:"lvl4",onSendMessage:l.handleSendMessage,ref:"lvl4",onModal:l.openModal,disabled:"lvl"!=this.gOptions.v4n,class:(0,o.C_)({hidden:"vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber})},null,8,["json","onSendMessage","onModal","disabled","class"]),(0,n.Wm)(r,{json:a.gData.asp,code:"asp4",onSendMessage:l.handleSendMessage,ref:"asp4",onModal:l.openModal,class:(0,o.C_)({hidden:"1"!=this.gOptions.modNumber})},null,8,["json","onSendMessage","onModal","class"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["suppletive","affixjunct","register","modular","ref","refCS","bias","free"].includes(a.wordType)}])},[(0,n.Wm)(r,{json:a.gData.vn,code:"vn",onSendMessage:l.handleSendMessage,ref:"vn",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.val,code:"val",onSendMessage:l.handleSendMessage,ref:"val",onModal:l.openModal,disabled:"val"!=this.gOptions.vn},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.pha,code:"pha",onSendMessage:l.handleSendMessage,ref:"pha",onModal:l.openModal,disabled:"pha"!=this.gOptions.vn},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.eff,code:"eff",onSendMessage:l.handleSendMessage,ref:"eff",onModal:l.openModal,disabled:"eff"!=this.gOptions.vn},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.lvl,code:"lvl",onSendMessage:l.handleSendMessage,ref:"lvl",onModal:l.openModal,disabled:"lvl"!=this.gOptions.vn},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.asp,code:"asp",onSendMessage:l.handleSendMessage,ref:"asp",onModal:l.openModal,disabled:"asp"!=this.gOptions.vn},null,8,["json","onSendMessage","onModal","disabled"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["affixjunct","register","modular","ref","refCS","bias","free"].includes(a.wordType)}])},[(0,n.Wm)(r,{class:(0,o.C_)({hidden:"suppletive"!=a.wordType}),json:a.gData.suppType,code:"suppType",onSendMessage:l.handleSendMessage,ref:"suppType",onModal:l.openModal},null,8,["class","json","onSendMessage","onModal"]),(0,n.Wm)(r,{class:(0,o.C_)({hidden:"suppletive"==a.wordType}),json:a.gData.ctxt,code:"ctxt",onSendMessage:l.handleSendMessage,ref:"ctxt",onModal:l.openModal},null,8,["class","json","onSendMessage","onModal"]),(0,n.Wm)(r,{class:(0,o.C_)({hidden:"suppletive"==a.wordType}),show:!a.cascOrMood,json:a.gData.mood,code:"mood",onSendMessage:l.handleSendMessage,ref:"mood",onModal:l.openModal},null,8,["class","show","json","onSendMessage","onModal"]),(0,n.Wm)(r,{class:(0,o.C_)({hidden:"suppletive"==a.wordType}),show:a.cascOrMood,json:a.gData.casc,code:"casc",onSendMessage:l.handleSendMessage,ref:"casc",onModal:l.openModal},null,8,["class","show","json","onSendMessage","onModal"]),(0,n.Wm)(r,{show:a.cascOrMood,json:a.gData.c,code:"c",onSendMessage:l.handleSendMessage,ref:"c",onModal:l.openModal},null,8,["show","json","onSendMessage","onModal"]),(0,n.Wm)(r,{class:(0,o.C_)({hidden:"suppletive"==a.wordType}),show:!a.cascOrMood,json:a.gData.ill,code:"ill",onSendMessage:l.handleSendMessage,ref:"ill",onModal:l.openModal},null,8,["class","show","json","onSendMessage","onModal"]),(0,n.Wm)(r,{class:(0,o.C_)({hidden:"suppletive"==a.wordType}),show:!a.cascOrMood,json:a.gData.vld,code:"vld",onSendMessage:l.handleSendMessage,disabled:"ASR"!=this.gOptions.ill,ref:"vld",onModal:l.openModal},null,8,["class","show","json","onSendMessage","disabled","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"affixjunct"!=a.wordType}])},[(0,n.Wm)(r,{json:a.gData.affixjunct,code:"affixjunct",onSendMessage:l.handleSendMessage,ref:"affixjunct",onModal:l.openModal,reqAff:!0,whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"]),aff6:l.calculateSlot6},null,8,["json","onSendMessage","onModal","whitelist","aff6"]),(0,n.Wm)(r,{json:a.gData.initialAffScope,code:"initialAffScope",onSendMessage:l.handleSendMessage,ref:"initialAffScope",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.otherAffScope,code:"otherAffScope",onSendMessage:l.handleSendMessage,ref:"otherAffScope",onModal:l.openModal,disabled:this.gOptions.affixjunct.length<2},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.affScopeOf,code:"affScopeOf",onSendMessage:l.handleSendMessage,ref:"affScopeOf",onModal:l.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"register"!=a.wordType}])},[(0,n.Wm)(r,{json:a.gData.register,code:"register",onSendMessage:l.handleSendMessage,ref:"register",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.regStartOrEnd,code:"regStartOrEnd",onSendMessage:l.handleSendMessage,ref:"regStartOrEnd",onModal:l.openModal,disabled:"END"==this.gOptions.register},null,8,["json","onSendMessage","onModal","disabled"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"ref"!=a.wordType&&"refCS"!=a.wordType}])},[(0,n.Wm)(r,{json:a.gData.refAffix,class:(0,o.C_)({hidden:"refCS"!=a.wordType}),code:"refAffix",onSendMessage:l.handleSendMessage,ref:"refAffix",onModal:l.openModal,whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"]),aff6:l.calculateSlot6},null,8,["json","class","onSendMessage","onModal","whitelist","aff6"]),(0,n.Wm)(r,{json:a.gData.twoCs,code:"twoCs",onSendMessage:l.handleSendMessage,ref:"twoCs",onModal:l.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(r,{json:a.gData.twoRefs,class:(0,o.C_)({hidden:"refCS"==a.wordType}),code:"twoRefs",onSendMessage:l.handleSendMessage,ref:"twoRefs",onModal:l.openModal,disabled:!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.ref,code:"ref2",class:(0,o.C_)({hidden:"refCS"==a.wordType}),onSendMessage:l.handleSendMessage,ref:"ref2",onModal:l.openModal,disabled:!this.gOptions.twoRefs||!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.refEff,code:"refEff2",class:(0,o.C_)({hidden:"refCS"==a.wordType}),onSendMessage:l.handleSendMessage,ref:"refEff2",onModal:l.openModal,disabled:!this.gOptions.twoRefs||!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.refPersp,code:"refPersp2",class:(0,o.C_)({hidden:"refCS"==a.wordType}),onSendMessage:l.handleSendMessage,ref:"refPersp2",onModal:l.openModal,disabled:!this.gOptions.twoRefs||!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.c,code:"c2",onSendMessage:l.handleSendMessage,ref:"c2",onModal:l.openModal,disabled:!this.gOptions.twoCs},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(r,{json:a.gData.ess,code:"ess2",onSendMessage:l.handleSendMessage,ref:"ess2",onModal:l.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"bias"!=a.wordType}])},[(0,n.Wm)(r,{json:a.gData.bias,code:"bias",onSendMessage:l.handleSendMessage,ref:"bias",onModal:l.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"free"!=a.wordType}])},[(0,n.Wm)(r,{json:a.gData.freeType,code:"freeType",ref:"freeType",onSendMessage:l.handleSendMessage,onModal:l.openModal},null,8,["json","onSendMessage","onModal"])],2)])}const Ne=e=>((0,n.dD)("data-v-4abae525"),e=e(),(0,n.Cn)(),e),Re=["title"],Ve=["maxlength"],_e={key:1},We=["disabled"],Le={key:2},Ue=["onUpdate:modelValue","id"],Fe=["onInput","id"],ze=Ne((()=>(0,n._)("option",null,"UPX",-1))),Ge=Ne((()=>(0,n._)("option",null,"DPX",-1))),Be=Ne((()=>(0,n._)("option",null,"D",-1))),Xe=Ne((()=>(0,n._)("option",null,"M",-1))),qe=[ze,Ge,Be,Xe],He=["onInput","id","disabled"],Je=Ne((()=>(0,n._)("option",null,"S",-1))),$e=Ne((()=>(0,n._)("option",null,"D",-1))),Ye=Ne((()=>(0,n._)("option",null,"F",-1))),Ke=[Je,$e,Ye],Qe=["onInput","id","disabled"],Ze=Ne((()=>(0,n._)("option",null,"S",-1))),et=Ne((()=>(0,n._)("option",null,"C",-1))),tt=Ne((()=>(0,n._)("option",null,"F",-1))),st=[Ze,et,tt],it=["onInput","id"],nt=Ne((()=>(0,n._)("option",null,"CSL",-1))),ot=Ne((()=>(0,n._)("option",null,"ASO",-1))),at=Ne((()=>(0,n._)("option",null,"COA",-1))),lt=Ne((()=>(0,n._)("option",null,"VAR",-1))),rt=[nt,ot,at,lt],ht=["onInput","id"],ct=Ne((()=>(0,n._)("option",null,"DEL",-1))),dt=Ne((()=>(0,n._)("option",null,"PRX",-1))),pt=Ne((()=>(0,n._)("option",null,"ICP",-1))),ut=Ne((()=>(0,n._)("option",null,"ATV",-1))),ft=Ne((()=>(0,n._)("option",null,"GRA",-1))),gt=Ne((()=>(0,n._)("option",null,"DPL",-1))),mt=[ct,dt,pt,ut,ft,gt],bt=["onInput","id"],wt=Ne((()=>(0,n._)("option",null,"M",-1))),yt=Ne((()=>(0,n._)("option",null,"G",-1))),vt=Ne((()=>(0,n._)("option",null,"N",-1))),St=Ne((()=>(0,n._)("option",null,"A",-1))),Mt=[wt,yt,vt,St],Tt=["onInput","id"],Ot=Ne((()=>(0,n._)("option",null,"NRM",-1))),Ct=Ne((()=>(0,n._)("option",null,"RPV",-1))),It=[Ot,Ct],xt=["onUpdate:modelValue","id"],At={key:1,value:1},kt={key:2,value:2},Et={key:3,value:3},Dt={key:4,value:4},jt={key:5,value:5},Pt={key:6,value:6},Nt={key:7,value:7},Rt={key:8,value:8},Vt={key:9,value:9},_t={key:0,value:0},Wt=["onClick"],Lt=["onUpdate:modelValue","id"],Ut={value:1},Ft={value:2},zt={value:3},Gt={value:4},Bt=["disabled","id"],Xt=["value"],qt={key:4},Ht=Ne((()=>(0,n._)("b",null,"ERROR:",-1))),Jt=(0,n.Uk)(" Empty affixes"),$t=[Ht,Jt],Yt={key:5},Kt=Ne((()=>(0,n._)("b",null,"ERROR:",-1))),Qt=(0,n.Uk)(" Affixes are required"),Zt=[Kt,Qt],es={key:6},ts=Ne((()=>(0,n._)("b",null,"ERROR:",-1))),ss=(0,n.Uk)(" Empty text"),is=[ts,ss],ns={key:7},os=Ne((()=>(0,n._)("b",null,"ERROR:",-1))),as=(0,n.Uk)(" Non-allowed characters"),ls=[os,as],rs={key:8};function hs(e,t,s,a,l,r){return(0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["optionbox",r.OBclass])},[(0,n._)("h3",{onClick:t[0]||(t[0]=(0,i.iM)((e=>this.$emit("modal",s.code)),["self"])),title:"Learn more about "+s.json.title},(0,o.zw)(s.json.title),9,Re),"text"==s.json.type?(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:0,"onUpdate:modelValue":t[1]||(t[1]=e=>l.text=e),onInput:t[2]||(t[2]=e=>this.$emit("send-message",l.text,s.code)),placeholder:"Enter...",maxlength:s.length},null,40,Ve)),[[i.nr,l.text]]):"checkbox"==s.json.type?((0,n.wg)(),(0,n.iD)("div",_e,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[3]||(t[3]=e=>l.option=e),onChange:t[4]||(t[4]=e=>this.$emit("send-message",l.option,s.code)),disabled:s.disabled},null,40,We),[[i.e8,l.option]])])):"affix"==s.json.type?((0,n.wg)(),(0,n.iD)("div",Le,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(l.affixes,((e,a)=>((0,n.wg)(),(0,n.iD)("div",{key:e},[(0,n.wy)((0,n._)("input",{"onUpdate:modelValue":e=>l.affixes[a][0]=e,onInput:t[5]||(t[5]=e=>this.$emit("send-message",l.affixes,s.code)),placeholder:"Enter...",maxlength:"5",id:s.code+"affW"+a,class:(0,o.C_)({hidden:"CA"==l.affixes[a][1]})},null,42,Ue),[[i.nr,l.affixes[a][0]]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[6]||(t[6]=e=>l.plex=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=l.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"plex"+a.toString()},qe,44,Fe),[[i.bM,l.plex]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[7]||(t[7]=e=>l.simil=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=l.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"simil"+a.toString(),disabled:"UPX"==l.plex||"DPX"==l.plex},Ke,44,He),[[i.bM,l.simil]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[8]||(t[8]=e=>l.cctd=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=l.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"cctd"+a.toString(),disabled:"UPX"==l.plex||"DPX"==l.plex},st,44,Qe),[[i.bM,l.cctd]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[9]||(t[9]=e=>l.affil=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=l.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"affil"+a.toString()},rt,44,it),[[i.bM,l.affil]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[10]||(t[10]=e=>l.ext=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=l.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"ext"+a.toString()},mt,44,ht),[[i.bM,l.ext]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[11]||(t[11]=e=>l.persp=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=l.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"persp"+a.toString()},Mt,44,bt),[[i.bM,l.persp]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[12]||(t[12]=e=>l.ess=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=l.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"ess"+a.toString()},It,44,Tt),[[i.bM,l.ess]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":e=>l.affixes[a][1]=e,onInput:t[13]||(t[13]=e=>this.$emit("send-message",l.affixes,s.code)),style:"display:inline-block",id:s.code+"affD"+a.toString()},[((0,n.wg)(),(0,n.iD)("option",At,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Deg. 1":4==l.affixes[a][2]?"THM":3==l.affixes[a][2]&&1==l.affixes.length?"POS":"Deg. 1"),1)),((0,n.wg)(),(0,n.iD)("option",kt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Deg. 2":4==l.affixes[a][2]?"INS":3==l.affixes[a][2]&&1==l.affixes.length?"PRP":"Deg. 2"),1)),((0,n.wg)(),(0,n.iD)("option",Et,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Deg. 3":4==l.affixes[a][2]?"ABS":3==l.affixes[a][2]&&1==l.affixes.length?"GEN":"Deg. 3"),1)),((0,n.wg)(),(0,n.iD)("option",Dt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Deg. 4":4==l.affixes[a][2]?"AFF":3==l.affixes[a][2]&&1==l.affixes.length?"ATT":"Deg. 4"),1)),((0,n.wg)(),(0,n.iD)("option",jt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Deg. 5":4==l.affixes[a][2]?"STM":3==l.affixes[a][2]&&1==l.affixes.length?"PDC":"Deg. 5"),1)),((0,n.wg)(),(0,n.iD)("option",Pt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Deg. 6":4==l.affixes[a][2]?"EFF":3==l.affixes[a][2]&&1==l.affixes.length?"ITP":"Deg. 6"),1)),((0,n.wg)(),(0,n.iD)("option",Nt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Deg. 7":4==l.affixes[a][2]?"ERG":3==l.affixes[a][2]&&1==l.affixes.length?"OGN":"Deg. 7"),1)),["sy","zy","čy","šy","žy","jy","ly"].includes(l.affixes[a][0])?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("option",Rt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Deg. 8":4==l.affixes[a][2]?"DAT":3==l.affixes[a][2]&&1==l.affixes.length?"IDP":"Deg. 8"),1)),((0,n.wg)(),(0,n.iD)("option",Vt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Deg. 9":4==l.affixes[a][2]?"IND":3==l.affixes[a][2]&&1==l.affixes.length?"PAR":"Deg. 9"),1)),["sy","zy","čy","šy","žy","jy","ly"].includes(l.affixes[a][0])||!["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])&&(4==l.affixes[a][2]||3==l.affixes[a][2]&&1==l.affixes.length)?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("option",_t,"Deg. 0")),(0,n._)("option",{key:"CA",value:"CA",onClick:e=>r.calc6(a)},"Cₐ-stacking",8,Wt)],40,xt),[[i.bM,l.affixes[a][1]]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":e=>l.affixes[a][2]=e,onInput:t[14]||(t[14]=e=>this.$emit("send-message",l.affixes,s.code)),style:(0,o.j5)("CA"==l.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"affT"+a},[(0,n._)("option",Ut,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Series ":"Type-")+"1",1),(0,n._)("option",Ft,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Series ":"Type-")+"2",1),(0,n._)("option",zt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Series 3":1==l.affixes.length?"Ref (3)":"Type-3"),1),(0,n._)("option",Gt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Series 4":"Ref (4)"),1)],44,Lt),[[i.bM,l.affixes[a][2]]])])))),128)),(0,n._)("input",{type:"button",value:"Add",onClick:t[15]||(t[15]=e=>{l.affixes.push(["",1,1]),this.$emit("send-message",l.affixes,s.code)})}),(0,n._)("input",{type:"button",value:"Remove",onClick:t[16]||(t[16]=e=>{l.affixes.pop(),this.$emit("send-message",l.affixes,s.code)})})])):(0,n.wy)(((0,n.wg)(),(0,n.iD)("select",{key:3,"onUpdate:modelValue":t[17]||(t[17]=e=>l.option=e),onChange:t[18]||(t[18]=e=>this.$emit("send-message",l.option.toString(),s.code)),disabled:s.disabled,id:s.code},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(s.json.options,((e,t)=>((0,n.wg)(),(0,n.iD)("option",{key:e.name,value:t},(0,o.zw)(e.name)+" "+(0,o.zw)(t!==t.toString().toUpperCase()||["1","2","3","4","5","6","7","8","9","0"].includes(t)?"":"("+t+")"),9,Xt)))),128))],40,Bt)),[[i.bM,l.option]]),"affix"!=s.json.type||0==this.affixes.length||this.affixes.every((function(e){return""!=e[0]}))?"affix"==s.json.type&&0==this.affixes.length&&s.reqAff?((0,n.wg)(),(0,n.iD)("p",Yt,Zt)):"text"==s.json.type&&""==this.text?((0,n.wg)(),(0,n.iD)("p",es,is)):this.$props.whitelist&&("text"==s.json.type&&!this.text.split("").every((e=>this.$props.whitelist.includes(e.toLowerCase())))||"affix"==s.json.type&&0!=this.affixes.length&&!this.affixes.every((e=>e[0].split("").every((e=>this.$props.whitelist.includes(e))))))?((0,n.wg)(),(0,n.iD)("p",ns,ls)):((0,n.wg)(),(0,n.iD)("p",rs)):((0,n.wg)(),(0,n.iD)("p",qt,$t))],2)}var cs={name:"OptionBox",props:{code:String,json:Object,disabled:Boolean,show:Boolean,length:String,whitelist:Array,reqAff:Boolean,aff6:Function},data(){return{text:"",option:null,affixes:[],plex:"UPX",simil:"S",cctd:"S",affil:"CSL",ext:"DEL",persp:"M",ess:"NRM"}},computed:{OBclass(){return{error:"affix"==this.json.type&&0!=this.affixes.length&&(this.$props.whitelist&&!this.affixes.every((function(e){return""!=e[0]}))||!this.affixes.every((e=>e[0].split("").every((e=>this.$props.whitelist.includes(e))))))||"text"==this.json.type&&(""==this.text||this.$props.whitelist&&!this.text.split("").every((e=>this.$props.whitelist.includes(e.toLowerCase()))))||"affix"==this.json.type&&0==this.affixes.length&&this.reqAff,disabledbox:this.disabled,notShown:this.show}}},mounted(){""==this.$props.json.type&&(this.option=Object.keys(this.$props.json.options)[0])},methods:{updateValue(e){if("affix"==this.$props.json.type){this.affixes=e;for(let t in this.affixes)this.waitForElm("#"+this.$props.code+"affW"+t.toString()).then((s=>{s.value=e[t][0]})),this.waitForElm("#"+this.$props.code+"affD"+t.toString()).then((s=>{s.value=e[t][1]})),this.waitForElm("#"+this.$props.code+"affT"+t.toString()).then((s=>{s.value=e[t][2]}));this.$emit("send-message",this.affixes,this.$props.code)}else"text"==this.$props.json.type?(this.text=e,this.$emit("send-message",this.text,this.$props.code)):"checkbox"==this.$props.json.type?(this.option=e,this.$emit("send-message",this.option,this.$props.code)):(console.log("Recieved",e,"in",this.$props.code),Object.keys(this.$props.json.options).includes(e)&&(this.option=e,document.getElementById(this.$props.code).selectedIndex=Object.keys(this.$props.json.options).indexOf(e),this.$emit("send-message",this.option.toString(),this.$props.code)))},calc6(e){let t=document.getElementById(this.code+"affil"+e).value,s=document.getElementById(this.code+"plex"+e).value,i=document.getElementById(this.code+"simil"+e).value,n=document.getElementById(this.code+"cctd"+e).value,o=document.getElementById(this.code+"ext"+e).value,a=document.getElementById(this.code+"ess"+e).value,l=document.getElementById(this.code+"persp"+e).value;this.affixes[e][0]=this.aff6(!0,t,s,i,n,o,a,l),this.$emit("send-message",this.affixes,this.$props.code),this.$emit("send-message",this.affixes,this.$props.code)},waitForElm(e){return new Promise((t=>{if(document.querySelector(e))return t(document.querySelector(e));const s=new MutationObserver((()=>{document.querySelector(e)&&(t(document.querySelector(e)),s.disconnect())}));s.observe(document.body,{childList:!0,subtree:!0})}))}}},ds=s(89);const ps=(0,ds.Z)(cs,[["render",hs],["__scopeId","data-v-4abae525"]]);var us=ps,fs=JSON.parse('{"root":{"type":"text","title":"Root (Slot III)","popupdesc":"The root is the general definition of the word, and can be directly modified by the Stem and Specification. Check the roots document for what your word\'s Root, Stem, and Specification should be."},"stem":{"type":"","title":"Stem","options":{"s1":{"name":"Stem 1","desc":""},"s2":{"name":"Stem 2","desc":""},"s3":{"name":"Stem 3","desc":""},"s0":{"name":"Stem 0","desc":"Stem 0 is special in that it describes the overall \\"stemless\\" definition of a root; i.e. the title of its box in the roots document (if it has one) or a general agglomeration of the three roots\' definitions."}},"popupdesc":"The stem of a word describes which of three possible definitons that a root could take is used in the word. Specific stem definitions are in the roots document."},"func":{"type":"","title":"Function","options":{"STA":{"name":"Static","desc":"The Static function is typically used in the following ways:Your sentence:
\nCompatible with New Ithkuil Design Doc v1.3, Lexical Roots v0.5.1, VxCs Affixes v1.0, and Phonotaxis v0.5.4.\r\n
Definitions are a combination of taken from the official Ithkuil III site, taken from official Ithkuil IV documentation, and (occasionally) written by the creator of this site.\r\n
All past and current forms of Ithkuil and all official documentation are by John Quijada.\r\n
Click on a box's title to learn more about what it means.
ERROR: Empty affixes
\nERROR: Affixes are required
\nERROR: Empty text
\nERROR: Non-allowed characters
\n \nYour sentence:
\nCompatible with New Ithkuil Design Doc v1.3, Lexical Roots v0.5.1, VxCs Affixes v1.0, and Phonotaxis v0.5.4.\r\n
Definitions are a combination of taken from the official Ithkuil III site, taken from official Ithkuil IV documentation, and (occasionally) written by the creator of this site.\r\n
All past and current forms of Ithkuil and all official documentation are by John Quijada.\r\n
Click on a box's title to learn more about what it means.
ERROR: Empty affixes
\nERROR: Affixes are required
\nERROR: Empty text
\nERROR: Non-allowed characters
\n \nCompatible with New Ithkuil Design Doc v1.3, Lexical Roots v0.5.1, VxCs Affixes v1.0, and Phonotaxis v0.5.4.
-
Definitions are a combination of taken from the official Ithkuil III site, taken from official Ithkuil IV documentation, and (occasionally) written by the creator of this site.
+
Definitions are a combination of taken from the official Ithkuil III site, taken from official Ithkuil IV documentation, and (occasionally) written by the creator of this site.
All past and current forms of Ithkuil and all official documentation are by John Quijada.
Click on a box's title to learn more about what it means.