diff --git a/dist/css/app.4b03ede8.css b/dist/css/app.28f98c73.css similarity index 92% rename from dist/css/app.4b03ede8.css rename to dist/css/app.28f98c73.css index 2493497..0ab8755 100644 --- a/dist/css/app.4b03ede8.css +++ b/dist/css/app.28f98c73.css @@ -1 +1 @@ -.notShown[data-v-4abae525]{display:none}.optionbox[data-v-4abae525]{float:left;border-style:solid;border-width:1px;border-color:#363247;flex-grow:1;margin:2px}h3[data-v-4abae525]:hover{text-decoration:underline;cursor:pointer}.error[data-v-4abae525]{border-color:#ff2c3e;color:#ff2c3e;background-color:#ffefef}.disabledbox[data-v-4abae525]{border-color:#000;background-color:#b0b5b8;color:#5e666b}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#363247;margin-top:60px;background-color:#edf3f5}.word{font-size:25px}.smalltext{font-size:13px;color:gray;font-family:Arial,sans-serif}#header{position:fixed;top:0;overflow:visible;background-color:#edf3f5}#content,#header{left:0;right:0;transition:margin-right .5s}#content{position:absolute;top:45px;bottom:90px;overflow:auto;z-index:-10}#footer{position:fixed;left:0;right:0;bottom:0;height:95px;border-top-style:solid;border-top-width:1px;border-top-color:#000;background-color:#edf3f5;overflow:hidden;transition:margin-right .5s}.section{display:flex;flex-flow:row wrap;justify-content:center;border-style:solid;border-color:#000;border-width:2px;padding:2px;margin:10px}@media (max-width:800px){.section{flex-direction:column}}.modal{display:none;position:fixed;z-index:2;left:0;top:0;right:0;height:100%;overflow:auto;background-color:#000;background-color:rgba(0,0,0,.4);transition:margin-right .5s}#modal-content{background-color:#fff;margin:15% auto;border:1px solid #888;width:80%;text-align:left}#modal-content p a{color:#000;font-weight:700}#modal-content>div>p{padding-left:20px;padding-right:20px}#modalToTop{position:fixed;bottom:20px;right:20px;background-color:#218580;color:#fff;border-color:#fff;width:50px;height:50px;text-decoration:none;border-radius:25px;text-align:center;font-size:35px;transition:right .5s}.modalOption{border:1px solid #000;padding-left:20px;padding-right:20px}.modalSelected{background-color:#b3ffe6}.modalOption:focus,.modalOption:hover{text-decoration:none;cursor:pointer}.modalSelected:hover{cursor:auto}.close{color:#aaa;float:right;padding-right:10px;padding-top:5px;font-size:28px;font-weight:700}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer}.tab{overflow:hidden;border-bottom:1px solid #ccc;background-color:#f1f1f1}.tab button{background-color:inherit;float:left;border:none;outline:none;cursor:pointer;padding:14px 16px}.tab button:hover{background-color:#ddd}.tab button.active{background-color:#b3ffe6}.tab button:active{background-color:#aeddcd}.hidden{display:none}.noSelecting{user-select:none;-webkit-user-select:none;-moz-user-select:none}a{color:#3b3575}a:active{color:#98838f}.dropdown{position:relative;float:right}.dropdown-content{position:absolute;background-color:#edf3f5;min-width:160px;box-shadow:0 8px 16px 0 rgba(0,0,0,.2);z-index:3;right:0;top:43px}.dropdown-content span{color:#000;padding:12px 16px;display:block;cursor:pointer;z-index:3}.dropdown-content span:hover{background-color:#ddd}.dropdown-content span.active{background-color:#c4ffeb}#sidebar{height:100%;width:0;position:fixed;z-index:10;top:0;right:0;background-color:#d8e2e6;border-left:1px solid #bdbdbd;overflow-x:hidden;transition:.5s}.sentWord{margin-left:10px;margin-right:10px;margin-top:10px;border:1px solid #000;background-color:#afbdc2;max-width:100%;padding:0 10px;cursor:pointer;height:auto}.sentWord.active{background-color:#c4ffeb}.sentWord.deletable{color:#ff2c3e;border-color:#ff2c3e}.sentWord.dragging{border-radius:5px;opacity:.5;cursor:grabbing}.sentWord.dragging textarea{cursor:grabbing}.sentWord p{overflow-wrap:break-word;text-align:left;font-size:20px}.sentWord textarea{background-color:inherit;border:none;font-size:16px;font-style:italic;width:100%;left:0;resize:vertical;transform:translate(-3px,-10px);cursor:auto;color:inherit}#sContent{bottom:50px;right:0;top:50px;width:inherit;overflow:auto;position:absolute}#sFooter{position:fixed;bottom:0;right:0;width:0;height:50px;border-top:1px solid #bdbdbd;overflow:hidden;transition:width .5s}#sFooter button{height:40px;width:40px;margin:5px;background-color:#edf3f5;border:1px solid #000;border-radius:5px;cursor:pointer}#sFooter button:hover{background-color:#c7f3f1}#sFooter button:active{background-color:#b8e2f0}#sFooter button.active{background-color:#b3ffe6}#sFooter button label{cursor:pointer}@media (max-width:650px){#sFooter{height:20vw}#sFooter button{height:16vw;width:16vw;margin:2vw}#sContent{bottom:20vw}} \ No newline at end of file +.notShown[data-v-b7bc2e5a]{display:none}.optionbox[data-v-b7bc2e5a]{float:left;border-style:solid;border-width:1px;border-color:#363247;flex-grow:1;margin:2px}h3[data-v-b7bc2e5a]:hover{text-decoration:underline;cursor:pointer}.error[data-v-b7bc2e5a]{border-color:#ff2c3e;color:#ff2c3e;background-color:#ffefef}.disabledbox[data-v-b7bc2e5a]{border-color:#000;background-color:#b0b5b8;color:#5e666b}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#363247;margin-top:60px;background-color:#edf3f5}.word{font-size:25px}.smalltext{font-size:13px;color:gray;font-family:Arial,sans-serif}#header{position:fixed;top:0;overflow:visible;background-color:#edf3f5}#content,#header{left:0;right:0;transition:margin-right .5s}#content{position:absolute;top:45px;bottom:90px;overflow:auto;z-index:-10}#footer{position:fixed;left:0;right:0;bottom:0;height:95px;border-top-style:solid;border-top-width:1px;border-top-color:#000;background-color:#edf3f5;overflow:hidden;transition:margin-right .5s}.section{display:flex;flex-flow:row wrap;justify-content:center;border-style:solid;border-color:#000;border-width:2px;padding:2px;margin:10px}@media (max-width:800px){.section{flex-direction:column}}.modal{display:none;position:fixed;z-index:2;left:0;top:0;right:0;height:100%;overflow:auto;background-color:#000;background-color:rgba(0,0,0,.4);transition:margin-right .5s}#modal-content{background-color:#fff;margin:15% auto;border:1px solid #888;width:80%;text-align:left}#modal-content p a{color:#000;font-weight:700}#modal-content>div>p{padding-left:20px;padding-right:20px}#modalToTop{position:fixed;bottom:20px;right:20px;background-color:#218580;color:#fff;border-color:#fff;width:50px;height:50px;text-decoration:none;border-radius:25px;text-align:center;font-size:35px;transition:right .5s}.modalOption{border:1px solid #000;padding-left:20px;padding-right:20px}.modalSelected{background-color:#b3ffe6}.modalOption:focus,.modalOption:hover{text-decoration:none;cursor:pointer}.modalSelected:hover{cursor:auto}.close{color:#aaa;float:right;padding-right:10px;padding-top:5px;font-size:28px;font-weight:700}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer}.tab{overflow:hidden;border-bottom:1px solid #ccc;background-color:#f1f1f1}.tab button{background-color:inherit;float:left;border:none;outline:none;cursor:pointer;padding:14px 16px}.tab button:hover{background-color:#ddd}.tab button.active{background-color:#b3ffe6}.tab button:active{background-color:#aeddcd}.hidden{display:none}.noSelecting{user-select:none;-webkit-user-select:none;-moz-user-select:none}a{color:#3b3575}a:active{color:#98838f}.dropdown{position:relative;float:right}.dropdown-content{position:absolute;background-color:#edf3f5;min-width:160px;box-shadow:0 8px 16px 0 rgba(0,0,0,.2);z-index:3;right:0;top:43px}.dropdown-content span{color:#000;padding:12px 16px;display:block;cursor:pointer;z-index:3}.dropdown-content span:hover{background-color:#ddd}.dropdown-content span.active{background-color:#c4ffeb}#sidebar{height:100%;width:0;position:fixed;z-index:10;top:0;right:0;background-color:#d8e2e6;border-left:1px solid #bdbdbd;overflow-x:hidden;transition:.5s}.sentWord{margin-left:10px;margin-right:10px;margin-top:10px;border:1px solid #000;background-color:#afbdc2;max-width:100%;padding:0 10px;cursor:pointer;height:auto}.sentWord.active{background-color:#c4ffeb}.sentWord.deletable{color:#ff2c3e;border-color:#ff2c3e}.sentWord.dragging{border-radius:5px;opacity:.5;cursor:grabbing}.sentWord.dragging textarea{cursor:grabbing}.sentWord p{overflow-wrap:break-word;text-align:left;font-size:20px}.sentWord textarea{background-color:inherit;border:none;font-size:16px;font-style:italic;width:100%;left:0;resize:vertical;transform:translate(-3px,-10px);cursor:auto;color:inherit}#sContent{bottom:50px;right:0;top:50px;width:inherit;overflow:auto;position:absolute}#sFooter{position:fixed;bottom:0;right:0;width:0;height:50px;border-top:1px solid #bdbdbd;overflow:hidden;transition:width .5s}#sFooter button{height:40px;width:40px;margin:5px;background-color:#edf3f5;border:1px solid #000;border-radius:5px;cursor:pointer}#sFooter button:hover{background-color:#c7f3f1}#sFooter button:active{background-color:#b8e2f0}#sFooter button.active{background-color:#b3ffe6}#sFooter button label{cursor:pointer}@media (max-width:650px){#sFooter{height:20vw}#sFooter button{height:16vw;width:16vw;margin:2vw}#sContent{bottom:20vw}} \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index fa94fbe..22052e3 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.38c14098.js b/dist/js/app.38c14098.js deleted file mode 100644 index 898e5df..0000000 --- a/dist/js/app.38c14098.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){"use strict";var e={5354:function(e,t,s){var i=s(9242),n=(s(7658),s(3396)),o=s(7139);const a={class:"tab",id:"header"},r=(0,n._)("h1",{style:{float:"left","padding-left":"20px","font-size":"16px","padding-top":"2px"}},"Ithkapp",-1),l=(0,n._)("i",{class:"fa-solid fa-gear fa-xs"},null,-1),h=[l],c=(0,n._)("i",{class:"fa-solid fa-align-right fa-xs"},null,-1),d=[c],p={key:0,class:"dropdown"},f={class:"dropdown-content hidden",id:"adjDD"},u={key:1,class:"dropdown"},g={class:"dropdown-content hidden",id:"formDD"},m={key:2,class:"dropdown"},b={class:"dropdown-content hidden",id:"adj3"},w={key:3,class:"dropdown"},y={class:"dropdown-content hidden",id:"form3"},v={id:"content"},S={id:"footer"},x={class:"word"},M=(0,n._)("br",null,null,-1),T={class:"smalltext"},O=(0,n._)("br",null,null,-1),C=["title"],I={id:"modal-content"},A={class:"tab"},k=["onClick"],D=(0,n._)("h2",{style:{"text-align":"center"}},"Settings",-1),E=["onUpdate:modelValue"],j=["onUpdate:modelValue"],P=(0,n._)("br",null,null,-1),N=(0,n._)("br",null,null,-1),R=(0,n._)("a",{href:"https://github.com/TheXXOs/ithkapp",target:"_blank"},"This project on GitHub",-1),V={key:0},W={style:{"text-align":"center"}},B=["innerHTML"],_={key:0},L={key:0,class:"tab"},U={key:1},z=["onClick"],F=["innerHTML"],G=["onClick"],X=["src","alt"],q=["innerHTML"],H={key:1},J=(0,n._)("br",null,null,-1),$=(0,n._)("br",null,null,-1),Y=(0,n._)("p",{style:{"text-align":"center"}},"Your sentence:",-1),K={style:{"text-align":"center"}},Q=(0,n._)("br",null,null,-1),Z=(0,n._)("br",null,null,-1),ee={id:"sidebar"},te={id:"sHeader"},se=(0,n._)("h3",{style:{"padding-left":"20px"}},"Sentence Menu",-1),ie={id:"sContent"},ne=["onClick","onMouseover","onMousemove","onTouchstart"],oe=["onUpdate:modelValue"],ae=(0,n._)("br",null,null,-1),re={id:"sFooter"},le=(0,n._)("i",{class:"fa-solid fa-plus fa-xl"},null,-1),he=[le],ce=(0,n._)("i",{class:"fa-solid fa-floppy-disk fa-xl"},null,-1),de=[ce],pe=(0,n._)("label",{id:"filab",for:"fimport"},[(0,n._)("i",{class:"fa-solid fa-arrow-up-from-bracket fa-xl"})],-1),fe=[pe],ue=(0,n._)("i",{class:"fa-solid fa-share-from-square fa-xl"},null,-1),ge=[ue];function me(e,t,s,l,c,le){const ce=(0,n.up)("Ithkuil_v4"),pe=(0,n.up)("Ithkuil_v3"),ue=(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,[r,(0,n._)("span",{class:"close",style:{"padding-left":"10px"},onClick:t[0]||(t[0]=e=>le.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=>le.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=>le.openDropdown("adjDD"))},[(0,n.Uk)("Adjunct ▼")],2)),[[ue,e=>le.closeDropdown("adjDD",e)]]),(0,n._)("div",f,[(0,n._)("span",{onClick:t[3]||(t[3]=e=>le.switchWordType("affixjunct")),class:(0,o.C_)({active:"affixjunct"==c.wordType})},"Affixual",2),(0,n._)("span",{onClick:t[4]||(t[4]=e=>le.switchWordType("modular")),class:(0,o.C_)({active:"modular"==c.wordType})},"Modular",2),(0,n._)("span",{onClick:t[5]||(t[5]=e=>le.switchWordType("register")),class:(0,o.C_)({active:"register"==c.wordType})},"Register",2),(0,n._)("span",{onClick:t[6]||(t[6]=e=>le.switchWordType("suppletive")),class:(0,o.C_)({active:"suppletive"==c.wordType})},"Suppletive",2),(0,n._)("span",{onClick:t[7]||(t[7]=e=>le.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",u,[(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=>le.openDropdown("formDD"))},[(0,n.Uk)("Formative ▼")],2)),[[ue,e=>le.closeDropdown("formDD",e)]]),(0,n._)("div",g,[(0,n._)("span",{onClick:t[9]||(t[9]=e=>le.switchWordType("normal")),class:(0,o.C_)({active:"normal"==c.wordType})},"Normal",2),(0,n._)("span",{onClick:t[10]||(t[10]=e=>le.switchWordType("affRoot")),class:(0,o.C_)({active:"affRoot"==c.wordType})},"Affix as Root",2),(0,n._)("span",{onClick:t[11]||(t[11]=e=>le.switchWordType("refRoot")),class:(0,o.C_)({active:"refRoot"==c.wordType})},"Personal-Referential Root",2),(0,n._)("span",{onClick:t[12]||(t[12]=e=>le.switchWordType("ref")),class:(0,o.C_)({active:"ref"==c.wordType})},"Single/Dual-Referential",2),(0,n._)("span",{onClick:t[13]||(t[13]=e=>le.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=>le.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",m,[(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=>le.openDropdown("adj3"))},[(0,n.Uk)("Adjunct ▼")],2)),[[ue,e=>le.closeDropdown("adj3",e)]]),(0,n._)("div",b,[(0,n._)("span",{onClick:t[16]||(t[16]=e=>le.switchWordType("aspect")),class:(0,o.C_)({active:"aspect"==c.wordType})},"Aspectual",2),(0,n._)("span",{onClick:t[17]||(t[17]=e=>le.switchWordType("affix")),class:(0,o.C_)({active:"affix"==c.wordType})},"Affixual",2),(0,n._)("span",{onClick:t[18]||(t[18]=e=>le.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",w,[(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=>le.openDropdown("form3"))},[(0,n.Uk)("Formative ▼")],2)),[[ue,e=>le.closeDropdown("form3",e)]]),(0,n._)("div",y,[(0,n._)("span",{onClick:t[20]||(t[20]=e=>le.switchWordType("normal")),class:(0,o.C_)({active:"normal"==c.wordType})},"Normal",2),(0,n._)("span",{onClick:t[21]||(t[21]=e=>le.switchWordType("ref")),class:(0,o.C_)({active:"ref"==c.wordType})},"Personal Reference",2)])])):(0,n.kq)("",!0)]),(0,n._)("div",v,["4"==c.langVer?((0,n.wg)(),(0,n.j4)(ce,{key:0,ref:"4",onModal:le.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)(pe,{key:1,ref:"3",onModal:le.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",S,[(0,n._)("p",null,[(0,n._)("span",x,[(0,n._)("b",null,(0,o.zw)(c.ithkword),1)]),M,(0,n._)("span",T,[(0,n.Uk)("["+(0,o.zw)(c.ipa)+"]",1),O,(0,n._)("span",{title:c.fullGloss},(0,o.zw)(c.gloss),9,C)])])]),(0,n._)("div",{id:"modal",class:"modal",onClick:t[40]||(t[40]=(0,i.iM)((e=>le.closeModal()),["self"]))},[(0,n._)("div",I,[(0,n._)("div",A,[((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=>{le.closeModal(),le.openModal(e)}},(0,o.zw)(this.$refs[c.langVer].gData[isNaN(e.slice(-1))?e:e.slice(0,-1)].title),11,k)))),128)),"share"==c.modalID?((0,n.wg)(),(0,n.iD)("button",{key:0,onClick:t[26]||(t[26]=e=>le.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=>le.copytoCB(le.concatenateSentence(c.sentence)))},"Copy to Clipboard")):(0,n.kq)("",!0),(0,n._)("span",{class:"close",onClick:t[28]||(t[28]=e=>le.closeModal())},"×")]),(0,n._)("div",{class:(0,o.C_)({hidden:"settings"!=c.modalID}),style:{"padding-left":"20px","padding-right":"20px","padding-bottom":"20px"}},[D,((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,E)),[[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,j)),[[i.e8,this.$refs[c.langVer].settings[e][s][1]]]),P,N])))),128))])))),128)),R],2),"settings"!=c.modalID&&"share"!=c.modalID?((0,n.wg)(),(0,n.iD)("div",V,[(0,n._)("h2",W,(0,o.zw)(c.modalContent.title),1),(0,n._)("p",{style:{"text-align":"center"},innerHTML:c.modalContent.popupdesc},null,8,B),""==c.modalContent.type?((0,n.wg)(),(0,n.iD)("div",_,[["c","c1","c2"].includes(c.modalID)?((0,n.wg)(),(0,n.iD)("div",L,[(0,n._)("button",{class:"tablinks active",onClick:t[31]||(t[31]=e=>le.changeClassTab("THM","PLM","Allcases")),id:"Allcases"},"All"),(0,n._)("button",{class:"tablinks",onClick:t[32]||(t[32]=e=>le.changeClassTab("THM","IND","Transrelative")),id:"Transrelative"},"Transrelative"),(0,n._)("button",{class:"tablinks",onClick:t[33]||(t[33]=e=>le.changeClassTab("POS","PAR","Appositive")),id:"Appositive"},"Appositive"),(0,n._)("button",{class:"tablinks",onClick:t[34]||(t[34]=e=>le.changeClassTab("APL","CSD","Associative")),id:"Associative"},"Associative"),(0,n._)("button",{class:"tablinks",onClick:t[35]||(t[35]=e=>le.changeClassTab("FUN","SIT","Adverbial")),id:"Adverbial"},"Adverbial"),(0,n._)("button",{class:"tablinks",onClick:t[36]||(t[36]=e=>le.changeClassTab("PRN","RLT","Relational")),id:"Relational"},"Relational"),(0,n._)("button",{class:"tablinks",onClick:t[37]||(t[37]=e=>le.changeClassTab("ACT","VOC","Affinitive")),id:"Affinitive"},"Affinitive"),(0,n._)("button",{class:"tablinks",onClick:t[38]||(t[38]=e=>le.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",U,[((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=>le.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,F)],10,z)])))),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=>le.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,X)):(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,q)],14,G)])))),128))])):(0,n.kq)("",!0)])):"share"==c.modalID?((0,n.wg)(),(0,n.iD)("div",H,[J,$,Y,(0,n._)("h1",K,(0,o.zw)(le.concatenateSentence(c.sentence)),1),Q,Z])):(0,n.kq)("",!0)]),(0,n._)("button",{id:"modalToTop",onClick:t[39]||(t[39]=(...e)=>le.scrollToTop&&le.scrollToTop(...e)),class:(0,o.C_)({hidden:"share"==c.modalID})},"↑",2)]),(0,n._)("div",ee,[(0,n._)("div",te,[(0,n._)("span",{class:"close",onClick:t[41]||(t[41]=e=>le.closeNav()),style:{transform:"translateY(-20px)"}},"×"),se]),(0,n._)("div",ie,[((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=>le.switchWord(s),onMouseover:e=>le.hoverChange(s),onMouseleave:t[43]||(t[43]=e=>c.hovering=null),onMousemove:e=>le.beginDrag(s),onTouchstart:e=>le.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)=>le.resizeTA&&le.resizeTA(...e)),rows:"1",class:"ta"},null,40,oe),[[i.nr,c.sentence[s][3]]]),ae],42,ne)))),128))]),(0,n._)("div",re,[(0,n._)("input",{type:"file",onChange:t[44]||(t[44]=(...e)=>le.uploadJSON&&le.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",""]))))},he),(0,n._)("button",{title:"Save",onClick:t[46]||(t[46]=e=>le.exportToJsonFile(c.sentence))},de),(0,n._)("button",{title:"Import",onClick:t[47]||(t[47]=(0,i.iM)((e=>le.openFileDialog()),["self"]))},fe),(0,n._)("button",{title:"Export/Share",onClick:t[48]||(t[48]=e=>{le.openModal("share"),le.closeNav()})},ge),(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 be=s(3051),we=s.n(be);const ye=(0,n.uE)('Compatible with the version of New Ithkuil on ithkuil.net.
Definitions are a combination of taken from the old Ithkuil III site, taken from the New Ithkuil website, and (occasionally) written by the creator of this site.
Glosses are based on ırburučpaızya#2326 and in-gloss definitions are provided by the Collaborative Ithkuil IV Roots and Affixes Spreadsheet.
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.
Your sentence:
\r\nCompatible with the version of New Ithkuil on ithkuil.net.\r\n
Definitions are a combination of taken from the old Ithkuil III site, taken from the New Ithkuil website, and (occasionally) written by the creator of this site.\r\n
Glosses are based on ırburučpaızya#2326 and in-gloss definitions are provided by the Collaborative Ithkuil IV Roots and Affixes Spreadsheet.\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 the version of New Ithkuil on ithkuil.net.
Definitions are a combination of taken from the old Ithkuil III site, taken from the New Ithkuil website, and (occasionally) written by the creator of this site.
Glosses are based on ırburučpaızya#2326 and in-gloss definitions are provided by the Collaborative Ithkuil IV Roots and Affixes Spreadsheet.
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.
Your sentence:
\r\nCompatible with the version of New Ithkuil on ithkuil.net.\r\n
Definitions are a combination of taken from the old Ithkuil III site, taken from the New Ithkuil website, and (occasionally) written by the creator of this site.\r\n
Glosses are based on ırburučpaızya#2326 and in-gloss definitions are provided by the Collaborative Ithkuil IV Roots and Affixes Spreadsheet.\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 \n