From 82077152f5855a0a24bb430c632d3f8365d2010d Mon Sep 17 00:00:00 2001 From: Nick L <44630816+TheXXOs@users.noreply.github.com> Date: Wed, 24 May 2023 22:13:49 +0930 Subject: [PATCH] Ithkapp 1.6.0 - Root & Affix Definitions Basically just Issue #14, which I've been meaning to do for quite a while now. --- LICENSE | 24 - dist/index.html | 2 +- dist/js/app.03234dd6.js | 2 + dist/js/app.03234dd6.js.map | 1 + dist/js/app.af9f0d81.js | 2 - dist/js/app.af9f0d81.js.map | 1 - dist/js/chunk-vendors.44cee747.js | 2 + dist/js/chunk-vendors.44cee747.js.map | 1 + dist/js/chunk-vendors.4bdafb4a.js | 2 - dist/js/chunk-vendors.4bdafb4a.js.map | 1 - dist/service-worker.js | 2 +- dist/service-worker.js.map | 2 +- dist/workbox-79ffe3e0.js | 2 - dist/workbox-db5fc017.js | 2 + ...9ffe3e0.js.map => workbox-db5fc017.js.map} | 2 +- package-lock.json | 13816 +++------------- package.json | 2 +- src/qit4/4.vue | 281 +- 18 files changed, 2572 insertions(+), 11575 deletions(-) delete mode 100644 LICENSE create mode 100644 dist/js/app.03234dd6.js create mode 100644 dist/js/app.03234dd6.js.map delete mode 100644 dist/js/app.af9f0d81.js delete mode 100644 dist/js/app.af9f0d81.js.map create mode 100644 dist/js/chunk-vendors.44cee747.js create mode 100644 dist/js/chunk-vendors.44cee747.js.map delete mode 100644 dist/js/chunk-vendors.4bdafb4a.js delete mode 100644 dist/js/chunk-vendors.4bdafb4a.js.map delete mode 100644 dist/workbox-79ffe3e0.js create mode 100644 dist/workbox-db5fc017.js rename dist/{workbox-79ffe3e0.js.map => workbox-db5fc017.js.map} (69%) diff --git a/LICENSE b/LICENSE deleted file mode 100644 index fdddb29..0000000 --- a/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -This is free and unencumbered software released into the public domain. - -Anyone is free to copy, modify, publish, use, compile, sell, or -distribute this software, either in source code form or as a compiled -binary, for any purpose, commercial or non-commercial, and by any -means. - -In jurisdictions that recognize copyright laws, the author or authors -of this software dedicate any and all copyright interest in the -software to the public domain. We make this dedication for the benefit -of the public at large and to the detriment of our heirs and -successors. We intend this dedication to be an overt act of -relinquishment in perpetuity of all present and future rights to this -software under copyright law. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR -OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - -For more information, please refer to diff --git a/dist/index.html b/dist/index.html index 23b9f80..5f20f3d 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.03234dd6.js b/dist/js/app.03234dd6.js new file mode 100644 index 0000000..3ab4b1f --- /dev/null +++ b/dist/js/app.03234dd6.js @@ -0,0 +1,2 @@ +(function(){"use strict";var e={5602: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),I=["title"],C={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"}},_=["innerHTML"],L={key:0},B={key:0,class:"tab"},U={key:1},F=["onClick"],z=["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,I)])])]),(0,n._)("div",{id:"modal",class:"modal",onClick:t[40]||(t[40]=(0,i.iM)((e=>le.closeModal()),["self"]))},[(0,n._)("div",C,[(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,_),""==c.modalContent.type?((0,n.wg)(),(0,n.iD)("div",L,[["c","c1","c2"].includes(c.modalID)?((0,n.wg)(),(0,n.iD)("div",B,[(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,z)],10,F)])))),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)('

Ithkapp (hwirbuvie-ekţgyil)

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.
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.

',2),ve=(0,n._)("h2",{style:{width:"100%"}},"Configuration",-1),Se=(0,n._)("h2",{style:{width:"100%"}},"Slot II",-1),xe=(0,n._)("h2",{style:{width:"100%"}},"Slot III",-1),Me=(0,n._)("h2",{style:{width:"100%"}},"Slot IV",-1);function Te(e,t,s,i,a,r){const l=(0,n.up)("OptionBox");return(0,n.wg)(),(0,n.iD)("div",null,[ye,(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["suppletive","affixjunct","register","modular","bias","free"].includes(a.wordType)}])},[(0,n.Wm)(l,{json:a.gData.affRoot,class:(0,o.C_)({hidden:"affRoot"!=a.wordType}),code:"affRoot",onSendMessage:r.handleSendMessage,ref:"affRoot",onModal:r.openModal,length:"6",whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"])},null,8,["json","class","onSendMessage","onModal","whitelist"]),(0,n.Wm)(l,{json:a.gData.arDegree,class:(0,o.C_)({hidden:"affRoot"!=a.wordType}),code:"arDegree",onSendMessage:r.handleSendMessage,ref:"arDegree",onModal:r.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.ref,class:(0,o.C_)({hidden:!["refRoot","ref","refCS"].includes(a.wordType)}),code:"ref",onSendMessage:r.handleSendMessage,ref:"ref",onModal:r.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.refEff,class:(0,o.C_)({hidden:!["refRoot","ref","refCS"].includes(a.wordType)}),code:"refEff",onSendMessage:r.handleSendMessage,ref:"refEff",onModal:r.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.refPersp,class:(0,o.C_)({hidden:!["refRoot","ref","refCS"].includes(a.wordType)}),code:"refPersp",onSendMessage:r.handleSendMessage,ref:"refPersp",onModal:r.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.c,class:(0,o.C_)({hidden:"ref"!=a.wordType&&"refCS"!=a.wordType}),code:"c1",onSendMessage:r.handleSendMessage,ref:"c1",onModal:r.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.root,class:(0,o.C_)({hidden:["affRoot","refRoot","ref","refCS"].includes(a.wordType)}),code:"root",onSendMessage:r.handleSendMessage,ref:"root",onModal:r.openModal,length:"6",whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"])},null,8,["json","class","onSendMessage","onModal","whitelist"]),(0,n.Wm)(l,{json:a.gData.stem,class:(0,o.C_)({hidden:["affRoot","refRoot","ref","refCS"].includes(a.wordType)}),code:"stem",onSendMessage:r.handleSendMessage,ref:"stem",onModal:r.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.spec,class:(0,o.C_)({hidden:"ref"==a.wordType||"affRoot"==a.wordType}),code:"spec",onSendMessage:r.handleSendMessage,ref:"spec",onModal:r.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.func,class:(0,o.C_)({hidden:"ref"==a.wordType||"refCS"==a.wordType}),code:"func",onSendMessage:r.handleSendMessage,ref:"func",onModal:r.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.ver,class:(0,o.C_)({hidden:"ref"==a.wordType||"refCS"==a.wordType}),code:"ver",onSendMessage:r.handleSendMessage,ref:"ver",onModal:r.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)(l,{json:a.gData.shcut,code:"shcut",onSendMessage:r.handleSendMessage,ref:"shcut",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.concat,code:"concat",onSendMessage:r.handleSendMessage,ref:"concat",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.rel,code:"rel",onSendMessage:r.handleSendMessage,ref:"rel",onModal:r.openModal,disabled:"0"!=this.gOptions.concat},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.Vafx,code:"Vafx",onSendMessage:r.handleSendMessage,type:"affix",ref:"Vafx",onModal:r.openModal,whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"]),aff6:r.calculateSlot6},null,8,["json","onSendMessage","onModal","whitelist","aff6"]),(0,n.Wm)(l,{json:a.gData.VIIafx,code:"VIIafx",onSendMessage:r.handleSendMessage,type:"affix",ref:"VIIafx",onModal:r.openModal,whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"]),aff6:r.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)}])},[ve,(0,n.Wm)(l,{json:a.gData.plex,code:"plex",onSendMessage:r.handleSendMessage,ref:"plex",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.simil,code:"simil",onSendMessage:r.handleSendMessage,disabled:["UPX","DPX"].includes(this.gOptions.plex),ref:"simil",onModal:r.openModal},null,8,["json","onSendMessage","disabled","onModal"]),(0,n.Wm)(l,{json:a.gData.cctd,code:"cctd",onSendMessage:r.handleSendMessage,disabled:["UPX","DPX"].includes(this.gOptions.plex),ref:"cctd",onModal:r.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)(l,{json:a.gData.affil,code:"affil",onSendMessage:r.handleSendMessage,ref:"affil",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.ext,code:"ext",onSendMessage:r.handleSendMessage,ref:"ext",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.persp,code:"persp",onSendMessage:r.handleSendMessage,ref:"persp",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.ess,code:"ess",onSendMessage:r.handleSendMessage,ref:"ess",onModal:r.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"modular"!=a.wordType}])},[(0,n.Wm)(l,{json:a.gData.modAppliesTo,code:"modAppliesTo",onSendMessage:r.handleSendMessage,ref:"modAppliesTo",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.modNumber,code:"modNumber",onSendMessage:r.handleSendMessage,ref:"modNumber",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.cn,code:"cn",onSendMessage:r.handleSendMessage,ref:"cn",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.mood,code:"mood2",onSendMessage:r.handleSendMessage,ref:"mood2",onModal:r.openModal,class:(0,o.C_)({hidden:"mood"!=this.gOptions.cn})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(l,{json:a.gData.casc,code:"casc2",onSendMessage:r.handleSendMessage,ref:"casc2",onModal:r.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)}])},[Se,(0,n.Wm)(l,{json:a.gData.vn,code:"vn2",onSendMessage:r.handleSendMessage,ref:"vn2",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.val,code:"val2",onSendMessage:r.handleSendMessage,ref:"val2",onModal:r.openModal,disabled:"val"!=this.gOptions.vn2},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.pha,code:"pha2",onSendMessage:r.handleSendMessage,ref:"pha2",onModal:r.openModal,disabled:"pha"!=this.gOptions.vn2},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.eff,code:"eff2",onSendMessage:r.handleSendMessage,ref:"eff2",onModal:r.openModal,disabled:"eff"!=this.gOptions.vn2},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.lvl,code:"lvl2",onSendMessage:r.handleSendMessage,ref:"lvl2",onModal:r.openModal,disabled:"lvl"!=this.gOptions.vn2},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.asp,code:"asp2",onSendMessage:r.handleSendMessage,ref:"asp2",onModal:r.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}])},[xe,(0,n.Wm)(l,{json:a.gData.vn,code:"vn3",onSendMessage:r.handleSendMessage,ref:"vn3",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.val,code:"val3",onSendMessage:r.handleSendMessage,ref:"val3",onModal:r.openModal,disabled:"val"!=this.gOptions.vn3},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.pha,code:"pha3",onSendMessage:r.handleSendMessage,ref:"pha3",onModal:r.openModal,disabled:"pha"!=this.gOptions.vn3},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.eff,code:"eff3",onSendMessage:r.handleSendMessage,ref:"eff3",onModal:r.openModal,disabled:"eff"!=this.gOptions.vn3},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.lvl,code:"lvl3",onSendMessage:r.handleSendMessage,ref:"lvl3",onModal:r.openModal,disabled:"lvl"!=this.gOptions.vn3},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.asp,code:"asp3",onSendMessage:r.handleSendMessage,ref:"asp3",onModal:r.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}])},[Me,(0,n.Wm)(l,{json:a.gData.vh,code:"vh",onSendMessage:r.handleSendMessage,ref:"vh",onModal:r.openModal,class:(0,o.C_)({hidden:"modular"!=this.wordType}),disabled:"1"==this.gOptions.modNumber},null,8,["json","onSendMessage","onModal","class","disabled"]),(0,n.Wm)(l,{json:a.gData.modScope,code:"modScope",onSendMessage:r.handleSendMessage,ref:"modScope",onModal:r.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)(l,{json:a.gData.v4n,code:"v4n",onSendMessage:r.handleSendMessage,ref:"v4n",onModal:r.openModal,class:(0,o.C_)({hidden:"vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(l,{json:a.gData.val,code:"val4",onSendMessage:r.handleSendMessage,ref:"val4",onModal:r.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)(l,{json:a.gData.pha,code:"pha4",onSendMessage:r.handleSendMessage,ref:"pha4",onModal:r.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)(l,{json:a.gData.eff,code:"eff4",onSendMessage:r.handleSendMessage,ref:"eff4",onModal:r.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)(l,{json:a.gData.lvl,code:"lvl4",onSendMessage:r.handleSendMessage,ref:"lvl4",onModal:r.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)(l,{json:a.gData.asp,code:"asp4",onSendMessage:r.handleSendMessage,ref:"asp4",onModal:r.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)(l,{json:a.gData.vn,code:"vn",onSendMessage:r.handleSendMessage,ref:"vn",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.val,code:"val",onSendMessage:r.handleSendMessage,ref:"val",onModal:r.openModal,disabled:"val"!=this.gOptions.vn},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.pha,code:"pha",onSendMessage:r.handleSendMessage,ref:"pha",onModal:r.openModal,disabled:"pha"!=this.gOptions.vn},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.eff,code:"eff",onSendMessage:r.handleSendMessage,ref:"eff",onModal:r.openModal,disabled:"eff"!=this.gOptions.vn},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.lvl,code:"lvl",onSendMessage:r.handleSendMessage,ref:"lvl",onModal:r.openModal,disabled:"lvl"!=this.gOptions.vn},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.asp,code:"asp",onSendMessage:r.handleSendMessage,ref:"asp",onModal:r.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)(l,{class:(0,o.C_)({hidden:"suppletive"!=a.wordType}),json:a.gData.suppType,code:"suppType",onSendMessage:r.handleSendMessage,ref:"suppType",onModal:r.openModal},null,8,["class","json","onSendMessage","onModal"]),(0,n.Wm)(l,{class:(0,o.C_)({hidden:"suppletive"==a.wordType}),json:a.gData.ctxt,code:"ctxt",onSendMessage:r.handleSendMessage,ref:"ctxt",onModal:r.openModal},null,8,["class","json","onSendMessage","onModal"]),(0,n.Wm)(l,{class:(0,o.C_)({hidden:"suppletive"==a.wordType}),show:!a.cascOrMood,json:a.gData.mood,code:"mood",onSendMessage:r.handleSendMessage,ref:"mood",onModal:r.openModal},null,8,["class","show","json","onSendMessage","onModal"]),(0,n.Wm)(l,{class:(0,o.C_)({hidden:"suppletive"==a.wordType}),show:a.cascOrMood,json:a.gData.casc,code:"casc",onSendMessage:r.handleSendMessage,ref:"casc",onModal:r.openModal},null,8,["class","show","json","onSendMessage","onModal"]),(0,n.Wm)(l,{show:a.cascOrMood,json:a.gData.c,code:"c",onSendMessage:r.handleSendMessage,ref:"c",onModal:r.openModal},null,8,["show","json","onSendMessage","onModal"]),(0,n.Wm)(l,{class:(0,o.C_)({hidden:"suppletive"==a.wordType}),show:!a.cascOrMood,json:a.gData.ill,code:"ill",onSendMessage:r.handleSendMessage,ref:"ill",onModal:r.openModal},null,8,["class","show","json","onSendMessage","onModal"]),(0,n.Wm)(l,{class:(0,o.C_)({hidden:"suppletive"==a.wordType}),show:!a.cascOrMood,json:a.gData.vld,code:"vld",onSendMessage:r.handleSendMessage,disabled:"ASR"!=this.gOptions.ill,ref:"vld",onModal:r.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)(l,{json:a.gData.affixjunct,code:"affixjunct",onSendMessage:r.handleSendMessage,ref:"affixjunct",onModal:r.openModal,reqAff:!0,whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"]),aff6:r.calculateSlot6},null,8,["json","onSendMessage","onModal","whitelist","aff6"]),(0,n.Wm)(l,{json:a.gData.initialAffScope,code:"initialAffScope",onSendMessage:r.handleSendMessage,ref:"initialAffScope",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.otherAffScope,code:"otherAffScope",onSendMessage:r.handleSendMessage,ref:"otherAffScope",onModal:r.openModal,disabled:this.gOptions.affixjunct.length<2},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.affScopeOf,code:"affScopeOf",onSendMessage:r.handleSendMessage,ref:"affScopeOf",onModal:r.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"register"!=a.wordType}])},[(0,n.Wm)(l,{json:a.gData.register,code:"register",onSendMessage:r.handleSendMessage,ref:"register",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.regStartOrEnd,code:"regStartOrEnd",onSendMessage:r.handleSendMessage,ref:"regStartOrEnd",onModal:r.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)(l,{json:a.gData.refAffix,class:(0,o.C_)({hidden:"refCS"!=a.wordType}),code:"refAffix",onSendMessage:r.handleSendMessage,ref:"refAffix",onModal:r.openModal,whitelist:Object.keys(this.cData).concat(["ṭ","ŧ","ḍ","đ","ņ","ṇ","ŗ","ṛ","ł","ḷ","ż"]),aff6:r.calculateSlot6},null,8,["json","class","onSendMessage","onModal","whitelist","aff6"]),(0,n.Wm)(l,{json:a.gData.twoCs,code:"twoCs",onSendMessage:r.handleSendMessage,ref:"twoCs",onModal:r.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(l,{json:a.gData.twoRefs,class:(0,o.C_)({hidden:"refCS"==a.wordType}),code:"twoRefs",onSendMessage:r.handleSendMessage,ref:"twoRefs",onModal:r.openModal,disabled:!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.ref,code:"ref2",class:(0,o.C_)({hidden:"refCS"==a.wordType}),onSendMessage:r.handleSendMessage,ref:"ref2",onModal:r.openModal,disabled:!this.gOptions.twoRefs||!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.refEff,code:"refEff2",class:(0,o.C_)({hidden:"refCS"==a.wordType}),onSendMessage:r.handleSendMessage,ref:"refEff2",onModal:r.openModal,disabled:!this.gOptions.twoRefs||!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.refPersp,code:"refPersp2",class:(0,o.C_)({hidden:"refCS"==a.wordType}),onSendMessage:r.handleSendMessage,ref:"refPersp2",onModal:r.openModal,disabled:!this.gOptions.twoRefs||!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.c,code:"c2",onSendMessage:r.handleSendMessage,ref:"c2",onModal:r.openModal,disabled:!this.gOptions.twoCs},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(l,{json:a.gData.ess,code:"ess2",onSendMessage:r.handleSendMessage,ref:"ess2",onModal:r.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"bias"!=a.wordType}])},[(0,n.Wm)(l,{json:a.gData.bias,code:"bias",onSendMessage:r.handleSendMessage,ref:"bias",onModal:r.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"free"!=a.wordType}])},[(0,n.Wm)(l,{json:a.gData.freeType,code:"freeType",ref:"freeType",onSendMessage:r.handleSendMessage,onModal:r.openModal},null,8,["json","onSendMessage","onModal"])],2)])}const Oe=e=>((0,n.dD)("data-v-4abae525"),e=e(),(0,n.Cn)(),e),Ie=["title"],Ce=["maxlength"],Ae={key:1},ke=["disabled"],De={key:2},Ee=["onUpdate:modelValue","id"],je=["onInput","id"],Pe=Oe((()=>(0,n._)("option",null,"UPX",-1))),Ne=Oe((()=>(0,n._)("option",null,"DPX",-1))),Re=Oe((()=>(0,n._)("option",null,"D",-1))),Ve=Oe((()=>(0,n._)("option",null,"M",-1))),We=[Pe,Ne,Re,Ve],_e=["onInput","id","disabled"],Le=Oe((()=>(0,n._)("option",null,"S",-1))),Be=Oe((()=>(0,n._)("option",null,"D",-1))),Ue=Oe((()=>(0,n._)("option",null,"F",-1))),Fe=[Le,Be,Ue],ze=["onInput","id","disabled"],Ge=Oe((()=>(0,n._)("option",null,"S",-1))),Xe=Oe((()=>(0,n._)("option",null,"C",-1))),qe=Oe((()=>(0,n._)("option",null,"F",-1))),He=[Ge,Xe,qe],Je=["onInput","id"],$e=Oe((()=>(0,n._)("option",null,"CSL",-1))),Ye=Oe((()=>(0,n._)("option",null,"ASO",-1))),Ke=Oe((()=>(0,n._)("option",null,"COA",-1))),Qe=Oe((()=>(0,n._)("option",null,"VAR",-1))),Ze=[$e,Ye,Ke,Qe],et=["onInput","id"],tt=Oe((()=>(0,n._)("option",null,"DEL",-1))),st=Oe((()=>(0,n._)("option",null,"PRX",-1))),it=Oe((()=>(0,n._)("option",null,"ICP",-1))),nt=Oe((()=>(0,n._)("option",null,"ATV",-1))),ot=Oe((()=>(0,n._)("option",null,"GRA",-1))),at=Oe((()=>(0,n._)("option",null,"DPL",-1))),rt=[tt,st,it,nt,ot,at],lt=["onInput","id"],ht=Oe((()=>(0,n._)("option",null,"M",-1))),ct=Oe((()=>(0,n._)("option",null,"G",-1))),dt=Oe((()=>(0,n._)("option",null,"N",-1))),pt=Oe((()=>(0,n._)("option",null,"A",-1))),ft=[ht,ct,dt,pt],ut=["onInput","id"],gt=Oe((()=>(0,n._)("option",null,"NRM",-1))),mt=Oe((()=>(0,n._)("option",null,"RPV",-1))),bt=[gt,mt],wt=["onUpdate:modelValue","id"],yt={key:1,value:1},vt={key:2,value:2},St={key:3,value:3},xt={key:4,value:4},Mt={key:5,value:5},Tt={key:6,value:6},Ot={key:7,value:7},It={key:8,value:8},Ct={key:9,value:9},At={key:0,value:0},kt=["onClick"],Dt=["onUpdate:modelValue","id"],Et={value:1},jt={value:2},Pt={value:3},Nt={value:4},Rt=["disabled","id"],Vt=["value"],Wt={key:4},_t=Oe((()=>(0,n._)("b",null,"ERROR:",-1))),Lt={key:5},Bt=Oe((()=>(0,n._)("b",null,"ERROR:",-1))),Ut={key:6},Ft=Oe((()=>(0,n._)("b",null,"ERROR:",-1))),zt={key:7},Gt=Oe((()=>(0,n._)("b",null,"ERROR:",-1))),Xt={key:8};function qt(e,t,s,a,r,l){return(0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["optionbox",l.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,Ie),"text"==s.json.type?(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:0,"onUpdate:modelValue":t[1]||(t[1]=e=>r.text=e),onInput:t[2]||(t[2]=e=>this.$emit("send-message",r.text,s.code)),placeholder:"Enter...",maxlength:s.length},null,40,Ce)),[[i.nr,r.text]]):"checkbox"==s.json.type?((0,n.wg)(),(0,n.iD)("div",Ae,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[3]||(t[3]=e=>r.option=e),onChange:t[4]||(t[4]=e=>this.$emit("send-message",r.option,s.code)),disabled:s.disabled},null,40,ke),[[i.e8,r.option]])])):"affix"==s.json.type?((0,n.wg)(),(0,n.iD)("div",De,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(r.affixes,((e,a)=>((0,n.wg)(),(0,n.iD)("div",{key:e},[(0,n.wy)((0,n._)("input",{"onUpdate:modelValue":e=>r.affixes[a][0]=e,onInput:t[5]||(t[5]=e=>this.$emit("send-message",r.affixes,s.code)),placeholder:"Enter...",maxlength:"5",id:s.code+"affW"+a,class:(0,o.C_)({hidden:"CA"==r.affixes[a][1]})},null,42,Ee),[[i.nr,r.affixes[a][0]]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[6]||(t[6]=e=>r.plex=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=r.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"plex"+a.toString()},We,44,je),[[i.bM,r.plex]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[7]||(t[7]=e=>r.simil=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=r.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"simil"+a.toString(),disabled:"UPX"==r.plex||"DPX"==r.plex},Fe,44,_e),[[i.bM,r.simil]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[8]||(t[8]=e=>r.cctd=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=r.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"cctd"+a.toString(),disabled:"UPX"==r.plex||"DPX"==r.plex},He,44,ze),[[i.bM,r.cctd]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[9]||(t[9]=e=>r.affil=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=r.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"affil"+a.toString()},Ze,44,Je),[[i.bM,r.affil]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[10]||(t[10]=e=>r.ext=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=r.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"ext"+a.toString()},rt,44,et),[[i.bM,r.ext]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[11]||(t[11]=e=>r.persp=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=r.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"persp"+a.toString()},ft,44,lt),[[i.bM,r.persp]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":t[12]||(t[12]=e=>r.ess=e),onInput:e=>this.calc6(a),style:(0,o.j5)("CA"!=r.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"ess"+a.toString()},bt,44,ut),[[i.bM,r.ess]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":e=>r.affixes[a][1]=e,onInput:t[13]||(t[13]=e=>this.$emit("send-message",r.affixes,s.code)),style:"display:inline-block",id:s.code+"affD"+a.toString()},[((0,n.wg)(),(0,n.iD)("option",yt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Deg. 1":4==r.affixes[a][2]?"THM":3==r.affixes[a][2]&&1==r.affixes.length?"POS":"Deg. 1"),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(r.affixes[a][0])?"Deg. 2":4==r.affixes[a][2]?"INS":3==r.affixes[a][2]&&1==r.affixes.length?"PRP":"Deg. 2"),1)),((0,n.wg)(),(0,n.iD)("option",St,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Deg. 3":4==r.affixes[a][2]?"ABS":3==r.affixes[a][2]&&1==r.affixes.length?"GEN":"Deg. 3"),1)),((0,n.wg)(),(0,n.iD)("option",xt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Deg. 4":4==r.affixes[a][2]?"AFF":3==r.affixes[a][2]&&1==r.affixes.length?"ATT":"Deg. 4"),1)),((0,n.wg)(),(0,n.iD)("option",Mt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Deg. 5":4==r.affixes[a][2]?"STM":3==r.affixes[a][2]&&1==r.affixes.length?"PDC":"Deg. 5"),1)),((0,n.wg)(),(0,n.iD)("option",Tt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Deg. 6":4==r.affixes[a][2]?"EFF":3==r.affixes[a][2]&&1==r.affixes.length?"ITP":"Deg. 6"),1)),((0,n.wg)(),(0,n.iD)("option",Ot,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Deg. 7":4==r.affixes[a][2]?"ERG":3==r.affixes[a][2]&&1==r.affixes.length?"OGN":"Deg. 7"),1)),["sy","zy","čy","šy","žy","jy","ly"].includes(r.affixes[a][0])?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("option",It,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Deg. 8":4==r.affixes[a][2]?"DAT":3==r.affixes[a][2]&&1==r.affixes.length?"IDP":"Deg. 8"),1)),((0,n.wg)(),(0,n.iD)("option",Ct,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Deg. 9":4==r.affixes[a][2]?"IND":3==r.affixes[a][2]&&1==r.affixes.length?"PAR":"Deg. 9"),1)),["sy","zy","čy","šy","žy","jy","ly"].includes(r.affixes[a][0])||!["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])&&(4==r.affixes[a][2]||3==r.affixes[a][2]&&1==r.affixes.length)?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("option",At,"Deg. 0")),(0,n._)("option",{key:"CA",value:"CA",onClick:e=>l.calc6(a)},"Cₐ-stacking",8,kt)],40,wt),[[i.bM,r.affixes[a][1]]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":e=>r.affixes[a][2]=e,onInput:t[14]||(t[14]=e=>this.$emit("send-message",r.affixes,s.code)),style:(0,o.j5)("CA"==r.affixes[a][1]?"display:none":"display:inline-block"),id:s.code+"affT"+a},[(0,n._)("option",Et,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Series ":"Type-")+"1",1),(0,n._)("option",jt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Series ":"Type-")+"2",1),(0,n._)("option",Pt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Series 3":1==r.affixes.length?"Ref (3)":"Type-3"),1),(0,n._)("option",Nt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(r.affixes[a][0])?"Series 4":"Ref (4)"),1)],44,Dt),[[i.bM,r.affixes[a][2]]])])))),128)),(0,n._)("input",{type:"button",value:"Add",onClick:t[15]||(t[15]=e=>{r.affixes.push(["",1,1]),this.$emit("send-message",r.affixes,s.code)})}),(0,n._)("input",{type:"button",value:"Remove",onClick:t[16]||(t[16]=e=>{r.affixes.pop(),this.$emit("send-message",r.affixes,s.code)})})])):(0,n.wy)(((0,n.wg)(),(0,n.iD)("select",{key:3,"onUpdate:modelValue":t[17]||(t[17]=e=>r.option=e),onChange:t[18]||(t[18]=e=>this.$emit("send-message",r.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,Vt)))),128))],40,Rt)),[[i.bM,r.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",Lt,[Bt,(0,n.Uk)(" Affixes are required")])):"text"==s.json.type&&""==this.text?((0,n.wg)(),(0,n.iD)("p",Ut,[Ft,(0,n.Uk)(" Empty text")])):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",zt,[Gt,(0,n.Uk)(" Non-allowed characters")])):((0,n.wg)(),(0,n.iD)("p",Xt)):((0,n.wg)(),(0,n.iD)("p",Wt,[_t,(0,n.Uk)(" Empty affixes")]))],2)}var Ht={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,r=document.getElementById(this.code+"persp"+e).value;this.affixes[e][0]=this.aff6(!0,t,s,i,n,o,a,r),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})}))}}},Jt=s(89);const $t=(0,Jt.Z)(Ht,[["render",qt],["__scopeId","data-v-4abae525"]]);var Yt=$t,Kt=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 Lexicon 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 Lexicon 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 Lexicon."},"func":{"type":"","title":"Function","options":{"STA":{"name":"Static","desc":"The Static function is typically used in the following ways:
"},"DYN":{"name":"Dynamic","desc":"The Dynamic function is typically used in the following ways:
"}},"popupdesc":"Function is used to show how relevant any change or motion related to a word is to the speaker, and can be both subjective (a meal as an event [STA] or as a process [DYN]?) or objective (the sunset is orange [STA] vs the sky became orange [DYN]) depending on the situation."},"spec":{"type":"","title":"Specification","options":{"BSC":{"name":"Basic","desc":"A holistic instantiation of a root, prior to the application of one of the other three Specifications, essentially encompassing the meanings of the CTE, and CSV specifications below."},"CTE":{"name":"Contential","desc":"The physical or non-physical “content” or essence or purposeful function or idealized/abstract/platonic form thereof, as opposed to its mere physical form/shape"},"CSV":{"name":"Constitutive","desc":"The form (physical or non-physical) in which an entity/state/act actually expresses itself, is shaped, or is realized, as opposed to its functional/purposeful content, i.e., \\"what constitutes X\\""},"OBJ":{"name":"Objective","desc":"Whichever of the following is most salient to the semantics of the particular stem:
(1) tangible tool/instrument/means by which a state act/state/event occurs, or if inapplicable, then
(2) the third-party object/entity associated with the interaction between two parties (e.g., the object being given in a dative interaction), or if inapplicable then
(3) the resulting tangible object/product/situation, or if inapplicable, then
(4) the semantic patient or experiencer of the state/act/event."}},"popupdesc":"Specification makes the definition of the root more specific.
Listed below are the generic definitions of the terms, but the Lexicon should have all necessary information (i.e. what your root means when paired with a certain specification)."},"ver":{"type":"","title":"Version","options":{"PRC":{"name":"Processual","desc":"The Processual is the default version and describes all acts, conditions, or events which are ends in themselves and not goal-oriented, i.e., are not focused on an anticipated outcome or final purpose toward which a progressive effort is being made."},"CPT":{"name":"Completive","desc":"The Completive describes acts, conditions, or events which achieve, or are intended to achieve, an anticipated outcome, i.e., which are oriented toward the achievement of some purpose, outcome, or final state. Such a distinction is usually handled by word choice in Western languages.
hunt → to hunt down
to be losing → to lose
to study → to learn
to be winning → to win
to strive for → to accomplish, achieve
"}},"popupdesc":"Version describes if a given word is goal-oriented or not in its outcome. Ithkuil III had six, but New Ithkuil has only two."},"ctxt":{"type":"","title":"Context","options":{"EXS":{"name":"Existential","desc":"Neutral description
The EXISTENTIAL context focuses on those features of a noun or verb which are ontologically objective, i.e., those that exist irrespective of any observers, opinions, interpretations, beliefs or attitudes. Similarly excluded from consideration in the EXISTENTIAL is any notion of a noun\'s use, function, role or benefit. The EXISTENTIAL serves only to point out the mere existence of a noun as a tangible, objective entity under discussion. It is thus used to offer mere identification of a noun or verb."},"FNC":{"name":"Functional","desc":"Focus on the personal meaning/importance
The FUNCTIONAL context focuses on those features of a formative that are defined socially by ideas, attitudes, beliefs, opinions, convention, cultural status, use, function, benefit, etc. It serves to identify not what a noun existentially is, but to show that the noun has specific (and subjective) contextual meaning, relevance or purpose."},"RPS":{"name":"Representational","desc":"Connotes that the word is a metaphor
The REPRESENTATIONAL context focuses on a formative as a symbol, metaphor, or metonym, in that it indicates that the formative is serving as a representation or substitute for some other concept or entity which is abstractly associated with it. For example, the metaphorical connotations of the English sentence That pinstripe-suited dog is checking out a kitty, can be equally conveyed in Ithkuil by inflecting the words for \'dog\' and \'kitty\' into the REPRESENTATIONAL context. The REPRESENTATIONAL is one of several ways that Ithkuil overtly renders all metaphorical, symbolic, or metonymic usages (from a grammatical standpoint)."},"AMG":{"name":"Amalgamate","desc":"Connotes a focus on the emotional impact plus cultural significance
The AMALGAMATIVE context is the most abstract and difficult to understand from a Western linguistic perspective. It focuses on the systemic, holistic, gestalt-like, componential nature of a formative, implying that its objective and subjective totality is derived synergistically from (or as an emergent property of) the interrelationships between all of its parts, not just in terms of a static momentary appraisal, but in consideration of the entire developmental history of the noun and any interactions and relationships it has (whether past, present or potential) within the larger context of the world. Its use indicates the speaker is inviting the hearer to subjectively consider all the subjective wonder, emotional nuances, psychological ramifications and/or philosophical implications associated with the noun\'s existence, purpose, or function, as being a world unto itself, intrinsically interconnected with the wider world beyond it on many levels."}},"popupdesc":"Context is a morphological category with no equivalent in other languages. It indicates what tangible or intangible features or aspects of a formative are being psychologically implied in any given utterance. There is no way to show this in translation other than by paraphrase.
Simply, context implies what emotional meaning you should apply to the given word; reading the individual definitions is recommended."},"rel":{"type":"","title":"Relation","options":{"UNF/C":{"name":"Nominal","desc":"The word is not a verb (which usually means a noun).
All Concatenated words are Nominal automatically."},"UNF/K":{"name":"Unframed Verbal","desc":"The word is a verb"},"FRM":{"name":"Framed Verbal","desc":"The word is the main verb in a verb phrase (or \\"frame\\") - the verb phrase continues until the end of the sentance, and this word MUST go at the start of it."}},"popupdesc":"Put simply, which part of speech a word belongs to. A nominal is usually a noun, but could be anything other than a verb.

Nominals (and Framed Verbals) are modified by Case and Case-Scope to give a more specific purpose, and (Unframed) Verbals are modified by Mood, Illocution, Expectation and Validation to give a reasoning and intended reaction."},"concat":{"type":"","title":"Concatenation","options":[{"name":"None","desc":"This word is not concatenated to another."},{"name":"Type 1","desc":"Type-1 concatenation implies a circumstantial relationship between the concatenated formative and the parent (equivalent to placing the concatenated formative into a case-frame)"},{"name":"Type 2","desc":"Type-2 concatenation is derivational (i.e., lexicalizing), creating a new lexico-semantic gestalt and usually requiring a different English translation.
This is analogous to English forms like polar bear naming a new animal rather than stating a location."}],"popupdesc":"Concatenation is similar to the Incorporated Root of Ithkuil III. Basically, it\'s how you show two roots on one word in order to make a short phrase or for extra description (\'desk chair\' rather than \'chair\').
A concatenated word MUST be followed by another word (formative), and the two must be joined with a dash.
A concatenated word is automatically a Nominal (see Relation for more on that)."},"shcut":{"type":"","title":"Shortcutting","options":[{"name":"Default (VII only)","desc":"Do not apply Slot IV/VI shortcuts"},{"name":"Slot IV/VI","desc":"Apply Slot IV/VI shortcuts if possible (takes priority over all other shortcuts)"},{"name":"No VII affix","desc":"Do not apply Slot IV/VI or Slot VII affix shortcuts"},{"name":"Absolutely None","desc":"Do not apply ANY shortcuts whatsoever, do not drop any letters, and show the full gloss instead of the regular"}],"popupdesc":"Please note that these options (aside from \\"Absolutely None\\") do not apply to Slot VIII being moved to Slot VI. For that, check settings.
Shortcutting doesn\'t change the definition of a word, it instead shuffles around how the meaning is represented on that word, potentially making it shorter.
If you\'re not sure which option to use, finish creating your word and then see which option makes it the shortest.
(The Slot IV/VI shortcut uses Slots I and II to indicate Slots IV and VI, and the Slot VII shortcut uses Slot II to indicate one Slot VII affix)"},"Vafx":{"type":"affix","title":"Slot V Affixes","popupdesc":"Slot V Affixes are simple definitional modifications to your word applied before any concatenated words, Configuration, Affiliation, Extension, Perspective, and Essence.
Degree 0 refers to the affix\'s general semantic concept as a whole, similar to Stem 0.

Types:
Type 1: circumstantial relation to the word
Type 2: derivational relation to the word (i.e. it\'s a new word/phrase, as in \'polar bear\')
Type 3: Apply to the previous affix

Cₐ-stacking is the ability to add a Cₐ (Configuration+Affiliation+Extension+Perspective+Essence) consonant-form as an affix.

The Ref options allow you to show a Referential (pronoun) on this word as a shortcut - selecting this will turn the Degree options into Case options.
Ref (3) is only available if there is one affix in the slot, to not clash with Type 3"},"VIIafx":{"type":"affix","title":"Slot VII Affixes","popupdesc":"Slot VII Affixes are simple definitional modifications to your word applied after any concatenated words, Configuration, Affiliation, Extension, Perspective, and Essence.
Degree 0 refers to the affix\'s general semantic concept as a whole, similar to Stem 0.

Types:
Type 1: circumstantial relation to the word
Type 2: derivational relation to the word (i.e. it\'s a new word/phrase, as in \'polar bear\')
Type 3: Apply to the previous affix

Cₐ-stacking is the ability to add a Cₐ (Configuration+Affiliation+Extension+Perspective+Essence) consonant-form as an affix.

The Ref options allow you to show a Referential (pronoun) on this word as a shortcut - selecting this will turn the Degree options into Case options.
Ref (3) is only available if there is one affix in the slot, to not clash with Type 3"},"plex":{"type":"","title":"Plexity","options":{"UPX":{"name":"Uniplex","desc":"The UNIPLEX configuration indicates a single, contextual embodiment of the word, i.e., one whole contextual unit of the basic nominal stem,
e.g. a tree, a person, a screwdriver, a grape, a hammer blow, a hole.
With verbs the UNIPLEX signifies a single, holistic act, state, or event,
e.g. to be a tree, to become a person, to use a screwdriver, to eat a grape, to strike (once) with a hammer, to dig a hole."},"DPX":{"name":"Vague Duplex","desc":"The Vague DUPLEX (unofficial name) is the same as the below DUPLEX, except no information regarding Similarity or Connectedness is relayed."},"D":{"name":"Duplex","desc":"The DUPLEX indicated any two contextual embodiments of the word (like the UNIPLEX) or two individual, holistic acts, states, or events.
Like the DUAL in some natural languages."},"M":{"name":"Multiplex","desc":"Same as the above two in terms of when it is applied, but only for more than two instances.
Like the PLURAL in most natural languages."}},"popupdesc":"Describes how many instances of the word there are, similar but not the same as plurality markings of other languages. However, similarities to plurality are used in the below definitions.
This is how you turn the word \\"tree\\" into \\"forest\\", for example, but not \\"tree\\" into \\"trees\\"."},"simil":{"type":"","title":"Similarity","options":{"S":{"name":"Similar","desc":"The 2+ instances are similar or the same"},"D":{"name":"Dissimilar","desc":"The 2+ instances are not similar at all"},"F":{"name":"Fuzzy","desc":"It is unclear as to how similar the 2+ instances are"}},"popupdesc":"Only applies when the Plexity is DUPLEX or MULTIPLEX.
This indicates how similar the 2+ instances (from the Plexity) are."},"cctd":{"type":"","title":"Connectedness","options":{"S":{"name":"Separate","desc":"The 2+ instances are separate"},"C":{"name":"Connected","desc":"The 2+ instances are somewhat connected (but discrete)"},"F":{"name":"Fused","desc":"The 2+ instances are very connected and are somewhat difficult to make discrete"}},"popupdesc":"Only applies when the Plexity is DUPLEX or MULTIPLEX.
This indicated how connected the 2+ instanced (from the Plexity) are."},"affil":{"type":"","title":"Affiliation","options":{"CSL":{"name":"Consolidative","desc":"The CONSOLIDATIVE affiliation indicates that the individual members of a configurational set are a naturally occurring set where the function, state, purpose or benefit of individual members is inapplicable, irrelevant, or if applicable, is shared. It differs from the ASSOCIATIVE affiliation below in that the role of individual set members is not subjectively defined by human design. Examples are tree branches, a grove, a mound of rocks, some people, the clouds.

The CONSOLIDATIVE is also the affiliation normally applied to nouns in the UNIPLEX (plexity) when spoken of in a neutral way, since a noun in the UNIPLEX specifies one single entity without reference to a set, therefore the concept of “shared” function would be inapplicable. Examples: a man, a door, a sensation of heat, a leaf. With verbs, the CONSOLIDATIVE would imply that the act, state, or event is occurring naturally, or is neutral as to purpose or design."},"ASO":{"name":"Associative","desc":"The ASSOCIATIVE affiliation indicates that the individual members of a configurational set share the same subjective function, state, purpose or benefit. Its use can be illustrated by taking the Ithkuil word for soldier in the DISCRETE configuration and comparing its English translations when inflected for the CONSOLIDATIVE affiliation (= a group of soldiers) versus the ASSOCIATIVE (= a troop, a platoon). It is this CONSOLIDATIVE versus ASSOCIATIVE distinction, then, that would distinguish otherwise equivalent plural inflections of the Ithkuil word for tree by translating them respectively as a grove versus an orchard.

The ASSOCIATIVE affiliation can also be used with nouns in the UNIPLEX (plexity) to signify a sense of unity amongst one\'s characteristics, purposes, thoughts, etc. For example, the word person inflected for the UNIPLEX and ASSOCIATIVE would translate as a single-minded person. Even nouns such as rock, tree or work of art could be inflected this way, subjectively translatable as a well-formed rock, a tree with integrity, a “balanced” work of art.

With verbs, the ASSOCIATIVE signifies that the act, state or event is by design or with specific purpose. The CONSOLIDATIVE versus ASSOCIATIVE distinction could be used, for example, with the verb turn in \\"I turned toward the window\\" to indicate whether it was for no particular reason or due to a desire to look outside."},"COA":{"name":"Coalescent","desc":"The COALESCENT affiliation indicates that the members of a configurational set share in a complementary relationship with respect to their individual functions, states, purposes, benefits, etc. This means that, while each member\'s function is distinct from those of other members, each serves in furtherance of some greater unified role. For example, the Ithkuil word translating English toolset would be the word for tool in some plural configuration (depending on each tool\'s distinct physical appearance) and the COALESCENT affiliation to indicate that each tool has a distinct but complementary function in furtherance of enabling construction or repair activities. Another example would be using the COALESCENT with the word for (piece of) food to signify a well-balanced meal.

The COALESCENT naturally appears most often in conjunction with the DUPLEX since binary sets tend to be complementary. It is used, for example, to signify symmetrical binary sets such as body parts, generally indicating a lefthand/righthand mirror-image distinction, e.g., one\'s ears, one\'s hands, a pair of wings. Pairs that do not normally distinguish such a complementary distinction (e.g. one\'s eyes) can nevertheless be optionally placed in the COALESCENT affiliation to emphasize bilateral symmetry (e.g., one\'s left and right eye functioning together).

With verbs, the COALESCENT signifies that related, synergistic nature of the component acts, states, and events which make up a greater holistic act, state, or event. It imposes a situational structure onto an act, state, or event, where individual circumstances work together in complementary fashion to comprise the total situation. It would be used, for example, to distinguish the sentences He traveled in the Yukon from He ventured in the Yukon, or I came up with a plan versus I fashioned a plan."},"VAR":{"name":"Variative","desc":"The VARIATIVE affiliation indicates that the individual members of a configurational set differ as to subjective function, state, purpose or benefit. The differences among members can be to varying degrees (i.e., constituting a fuzzy set in regard to function, purpose, etc.) or at complete odds with one another, although it should be noted that the VARIATIVE would not be used to signify opposed but complementary differences among set members (see the COALESCENT affiliation above). It would thus be used to signify a jumble of tools, odds-and-ends, a random gathering, a rag-tag group, a dysfunctional couple, a cacophony of notes, of a mess of books, a collection in disarray.
It operates with nouns in the UNIPLEX to render meanings such as a man at odds with himself, an ill-formed rock, a chaotic piece of art, a “lefthand-righthand” situation.

With verbs, the VARIATIVE indicates an act, state, or event that occurs for more than one reason or purpose, and that those reasons or purposes are more or less unrelated. This sense can probably be captured in English only through paraphrase, as in She bought the house for various reasons or My being at the party served several purposes. With non-UNIPLEX configurations, the use of the VARIATIVE affiliation can describe rather complex phenomena; for example, a sentence such as The light is blinking in conjunction with the VARIATIVE could mean that each blink of the light signals something different than the preceding or following blinks."}},"popupdesc":"Affiliation distinguishes the relationships between individual members of a set in terms of purpose, function, and/or benefit.

Affiliation operates synergistically in conjunction with Configuration to describe the total contextual relationship between the members of a set. Like Configuration, the meanings of nouns or verbs in the various affiliations often involve lexical changes when translated into English."},"ext":{"type":"","title":"Extension","options":{"DEL":{"name":"Delimitive","desc":"The DELIMITIVE extension indicates that a noun is being spoken of in its contextual entirety as a discrete entity with clear spatio-temporal boundaries, with no emphasis on any particular portion, edge, boundary, limit, or manifestation beyond the context at hand. It can be considered the neutral or default view, e.g., a tree, a grove, a set of books, an army. With verbs, this extension indicates that the act, state, or event is being considered in its entirety, from beginning to end, e.g., She diets every winter (i.e., she starts and finishes each diet).","image":"http://ithkuil.net/images/3-4-1c.jpg"},"PRX":{"name":"Proximal","desc":"The PROXIMAL extension indicates that a noun is being spoken of not in its entirety, but rather only in terms of the portion, duration, subset, or aspect which is relevant to the context at hand. It would be used to translate the words tree, journey, and ladder in the sentences That tree is hard there (e.g., in the spot where I hit against it), She lost weight during her journey, or He climbed on the ladder (i.e., it is not relevant to the context to know if he made it all the way to the top).
Note that in these sentences, the PROXIMAL does not refer to a specific or delineated piece, part, or component of the tree or ladder, but rather to the fact that delineated boundaries such as the ends of the ladder or the entirety of the tree are not relevant or applicable to the context at hand.","image":"http://ithkuil.net/images/3-4-2c.jpg"},"ICP":{"name":"Inceptive","desc":"The INCEPTIVE extension focuses on the closest boundary, the beginning, initiation, or the immediately accessible portion of a noun or verb, without focusing on the boundaries of the remainder. It would be used in translating the nouns tunnel, song, desert, daybreak and plan in the following sentences: We looked into (the mouth of) the tunnel, He recognizes that song (i.e., from the first few notes), They came upon (an expanse of) desert, Let\'s wait for daybreak, I\'m working out a plan (i.e., that I just thought of).
In verbal contexts it would correspond to the English ‘to begin (to)…’ or ‘to start (to)…’ as in He began reading, It’s starting to molt, or She goes on a diet every winter.","image":"http://ithkuil.net/images/3-4-3c.jpg"},"ATV":{"name":"Attenuative","desc":"The ATTENUATIVE extension focuses on the end, termination, last portion, or trailing boundary of a noun, without focusing on the preceding or previously existing state of the noun. It would be used in translating the words water, story, and arrival in the sentences There’s no water (i.e., we ran out), I like the end of that story, and We await your arrival. With verbs, it is illustrated by the sentences It finished molting or She’s come off her diet.","image":"http://ithkuil.net/images/3-4-4c.jpg"},"GRA":{"name":"Graduative","desc":"The GRADUATIVE extension is the inverse of the DEPLETIVE (below), focusing on a diffuse, extended “fade-in” or gradual onset of a noun. It would be used in translating the words darkness, wonder, and music in the following sentences: Darkness came upon us, I felt a growing sense of wonder, The music was very soft at first. With verbs it is illustrated by verbs and phrases such as to fade in, to start gradually, to build up, and similar notions, e.g., She\'s been eating more and more lately.","image":"http://ithkuil.net/images/3-4-6c.jpg"},"DPL":{"name":"Depletive","desc":"The DEPLETIVE extension focuses on the terminal boundary or “trailing” edge of a noun, where this terminus is ill-defined, “diffuse” or extended to some degree, (i.e. the at-hand context of the noun “peters out” or terminates gradually). Essentially, it applies to any context involving actual or figurative fading. It would be used in translating the words water, strength, and twilight in the sentences He drank the last of the water, I have little strength left, She disappeared into the twilight. With verbs, it is exemplified by the phrases to wind down, to fade out, to disappear gradually and similar notions, e.g., She\'s eating less and less these days.","image":"http://ithkuil.net/images/3-4-5c.jpg"}},"popupdesc":"Extension refers to the spatial and temporal extent to which you are considering the root word; are you referring to all of it? The start of it? Some part in the middle of it?"},"persp":{"type":"","title":"Perspective","options":{"M":{"name":"Monadic","desc":"The MONADIC means that there is a certain number of (relevant) instances of the word. When combined with things like the MULTIPLEX, it means that the entire group is being considered as a whole (\\"forest(s)\\", not \\"trees\\")."},"G":{"name":"Agglomerative","desc":"The AGGLOMERATIVE is similar to the MONADIC, except it doesn\'t imply any sense of number; as in, \\"one or more X\\". It is also used for turning nouns (such as \\"a strand of hair\\" in the MONADIC) into mass nouns (such as \\"hair\\" in the AGGLOMERATIVE)"},"N":{"name":"Nomic","desc":"The NOMIC refers to the general archetype of the word as opposed to any specific instance of it. Examples are: The dog is a noble beast, Clowns are what children love most, There is nothing like a tree."},"A":{"name":"Abstract","desc":"Similar to the formation of English abstract nouns using suffixes such as -hood or -ness, the ABSTRACT transforms a configurative category into an abstract concept considered in a non-spatial, timeless, numberless context.
Examples: grove → the idea of being a grove or “grovehood”; book → everything about books, having to do with books, involvement with books.

With verbs, the ABSTRACT is used in verbal constructions to create a temporal abstraction, where the temporal relationship of the action, event, or state to the present is irrelevant or inapplicable, similar to the way in which the English infinitive or gerund form (used as substitutes for a verb phrase) do not convey a specific tense in the following sentences: Singing is not his strong suit; It makes no sense to worry about it; I can\'t stand her pouting."}},"popupdesc":"Perspective is the closest Ithkuil morphological category to the Number and Tense categories of other languages (e.g., singular/plural and past/present/future). However, the correspondence is only approximate because Perspective does not specifically address the quantity to which a formative is instantiated within a given context, nor when it occurs relative to the present, but rather the manner in which it is spatio-temporally instantiated."},"ess":{"type":"","title":"Essence","options":{"NRM":{"name":"Normal","desc":"Things that are real or real things that have happened"},"RPV":{"name":"Representative","desc":"Things that are potentially real (\\"It seems\\"/\\"I think it\'s\\") or imagined"}},"popupdesc":"The Ithkuil category of Essence explicitly distinguishes real-world actualities from their alternative, imagined or potential counterparts. The two essences are termed NORMAL and REPRESENTATIVE, the former being the default essence denoting real-world nouns and verbs, the latter denoting alternative counterparts."},"vn":{"type":"","title":"Vₙ","options":{"val":{"name":"Valence","desc":""},"pha":{"name":"Phase","desc":""},"eff":{"name":"Effect","desc":""},"lvl":{"name":"Level","desc":""},"asp":{"name":"Aspect","desc":""}},"popupdesc":"Determines which of the linked categories (listed below) will actually be shown on the word. All others are showable via affix if absolutely necessary, but will not be shown otherwise."},"v4n":{"type":"","title":"Vₙ","options":{"val":{"name":"Valence","desc":""},"pha":{"name":"Phase","desc":""},"eff":{"name":"Effect","desc":""},"lvl":{"name":"Level","desc":""}},"popupdesc":"Determines which of the linked categories (listed below) will actually be shown on the word.
To show Aspect in this slot, the word must only have one module - otherwise, use a different slot."},"val":{"type":"","title":"Valence","options":{"MNO":{"name":"Monoactive","desc":"The MONOACTIVE valence is the default valence and indicates a lack of co-activity, i.e., no participation by a second party is implied.
Use this for the default of all other Vₙ options."},"PRL":{"name":"Parallel","desc":"The PARALLEL valence indicates that a second party is engaging in the same activity as the first party at same time.
It would be used in translating sentences such as The children all sang together, We both went jogging on the parkway."},"CRO":{"name":"Corollary","desc":"The COROLLARY valence is similar to the PARALLEL, except that the second party engages in related activity at the same time as the first party, rather than the same activity.
It would be used in translating sentences such as The children played in the yard (i.e., each child engaged in a different play activity) or The band played my favorite song (implying that not everyone in the band was playing the same instrument, or perhaps that someone in the band sang as opposed to playing an instrument)."},"RCP":{"name":"Reciprocal","desc":"The RECIPROCAL valence indicates identical activity by each party directed at the other, thus translating the English adverbial phrases \'each other\' and \'one another,\' as in:
They looked at each other, The clown and the grocer despise one another."},"CPL":{"name":"Complementary","desc":"The COMPLEMENTARY valence indicates that the second party performs a complementary activity to that of the first party. By “complementary” is meant an activity different from that of the first party, but necessary to complete the whole of the joint activity, i.e., the “other half” of the joint activity.
This is exemplified in sentences such as The man and his son played catch, Hortense took me into the woods, The clown read the children a story, My back itches so I scratch it,
where \'played catch\' implies the complementary activities of throwing and catching, \'took (into the woods)\' implies someone leading while the other follows, \'read\' implies a reader and an audience, and \'itches\' implies scratching."},"DUP":{"name":"Duplicative","desc":"The DUPLICATIVE valence indicates that the second party copies or repeats the activity of the first party, as in the sentences:
Let\'s draw a picture (i.e., I\'ll draw it first, then you draw the same picture), They both read that book (i.e., first one, then the other), I bought a new car (i.e., and now someone else is buying a new car, too)."},"DEM":{"name":"Demonstrative","desc":"The DEMONSTRATIVE valence indicates that the first party demonstrates for the second party how to do something or what to do.
Thus an Ithkuil sentence constructed as We played chess with the verb in the DEMONSTRATIVE valence would mean \'I showed her how to play chess,\' while the sentence constructed as They fought us in this valence would mean \'They taught us how to fight.\'"},"CNG":{"name":"Contingent","desc":"The CONTINGENT valence indicates that the second party engages in the next or dependent phase of a multi-part activity, the specific activity being dependent on context.
Thus the Ithkuil sentence I started the campfire for my friend in the CONTINGENT implies that the friend then performed the next logical step, i.e., he cooked the food."},"PTI":{"name":"Partictipative","desc":"The PARTICIPATIVE valence indicates that the parties take part in an activity involving a greater whole, translatable by the English phrase \'take part in…\'
Thus, the Ithkuil sentence They raced in the PARTICIPATIVE means \'They each took part in the race.\'"}},"popupdesc":"In Ithkuil, the term Valence is used to refer to the manner of participation of two separate entities or parties to any given verb, i.e., participation by one party automatically implies participation by another party to the same act, event, or state in either a parallel, corollary, or complementary fashion. Such dual participation occurs naturally in the verbs of world languages and is the province of what is known as “co-active” verbs."},"pha":{"type":"","title":"Phase","options":{"PCT":{"name":"Punctual","desc":"The PUNCTUAL describes an act, condition, or event which is point-like, momentary or instantaneous in nature, such as an explosion, a flash of lightning, a blow, a single handclap, a collision between two objects, a stab of pain, a single cough, the clicking of a lock, etc.
It can be visually represented along a timeline by a single point, e.g., "},"ITR":{"name":"Iterative","desc":"The ITERATIVE refers to a momentary or instantaneous event, like the PUNCTUAL above, which repeats itself in a rapid, on/off, staccato manner, like a machine gun burst, strobe light burst, an alarm bell ringing, or the quick unconscious tapping of a finger, the whole comprising a single event.
Visual representation: • • • •"},"REP":{"name":"Repetitive","desc":"The REPETITIVE refers to a relatively brief event of indeterminate or vague duration (i.e., as with the default above), but repeated in an on/off staccato manner, like a car horn being honked repeatedly in a fast steady rhythm, or an automatic machine press.
Visual representation: — — ——"},"ITM":{"name":"Intermittent","desc":"The INTERMITTENT is similar to the ITERATIVE above, identifying a repetitive occurrence of a PUNCTUAL event, however, unlike the ITERATIVE, the duration of time between repetitions is relatively long and contextually relevant. It would be used in describing the downbeat pattern of a pop song, the ongoing snapping of fingers to music, the steady one-drop-at-a-time dripping of a faucet, etc.
Visual representation: •⠀⠀⠀•⠀⠀⠀•⠀⠀⠀•"},"RCT":{"name":"Recurrent","desc":"The RECURRENT is to the REPETITIVE as the INTERMITTENT is to the ITERATIVE. It indicates a slow repetition of a non-PUNCTUAL (default) event, where the duration between occurrences is relatively long and contextually relevant. Exemplified by the sounding of a foghorn, or the ongoing hooting of an owl.
Visual representation: —⠀⠀⠀—⠀⠀⠀—⠀⠀⠀—"},"FRE":{"name":"Frequentative","desc":"The FREQUENTATIVE indicates an iterative occurrence (a single set of punctual repetitions) which in turn repeats at intervals, the whole considered as a single event. Examples would be the repetitive sets of hammerings of a woodpecker or the repeated short bursts of a jackhammer.
Visual representation: • • •⠀⠀⠀• • •⠀⠀⠀• • •⠀⠀⠀• • •"},"FRG":{"name":"Fragmentative","desc":"The FRAGMENTATIVE indicates a random pattern of punctual occurrences, the whole considered as a single event.
Visual representation: • •⠀⠀⠀• • •⠀⠀⠀⠀⠀• •⠀⠀⠀• • • • •⠀⠀⠀⠀⠀•⠀⠀⠀• •"},"VAC":{"name":"Vacillative","desc":"The VACILLATIVE functions as a non-punctual counterpart to the FRAGMENTATIVE.
Visual representation: —— — —⠀⠀⠀— —⠀⠀⠀— —⠀⠀⠀—⠀⠀⠀⠀⠀— — —"},"FLC":{"name":"Fluctuative","desc":"The FLUCTUATIVE indicates a random pattern of both punctual and longer occurrences. An example would be the “sputtering” of a lighted fuse, the random patterns of tongues of flames, the chirping of birds in the wild, etc.
Visual representation: — • • —⠀⠀• — • •⠀⠀⠀—⠀⠀⠀⠀⠀• • — • • •⠀⠀⠀• •⠀⠀⠀—— • — • •"}},"popupdesc":"Phase refers to variances in the temporal pattern of how an act, condition or event occurs.
The default (i.e. if the Phase is not specified) is only one occurrence.
Said default can be visually represented along a progressive timeline by a short dash, e.g., "},"eff":{"type":"","title":"Effect","options":{"1:BEN":{"name":"Beneficial to Speaker","desc":"Whatever the word is describing is beneficial to the speaker."},"2:BEN":{"name":"Beneficial to Addressee","desc":"Whatever the word is describing is beneficial to the addressee."},"3:BEN":{"name":"Beneficial to 3rd Party","desc":"Whatever the word is describing is beneficial to some third party (who is probably referred to by another word)."},"SLF:BEN":{"name":"Beneficial to Formative","desc":"Whatever the word is describing is beneficial to itself."},"UNK":{"name":"Unknown","desc":"The benefit/detriment from this word is unknown.
Note that this is not the same as no benefit/detriment."},"SLF:DET":{"name":"Detrimental to Formative","desc":"Whatever the word is describing is detrimental to itself."},"3:DET":{"name":"Detrimental to 3rd Party","desc":"Whatever the word is describing is detrimental to some third party (who is probably referred to by another word)."},"2:DET":{"name":"Detrimental to Addressee","desc":"Whatever the word is describing is detrimental to the addressee."},"1:DET":{"name":"Detrimental to Speaker","desc":"Whatever the word is describing is detrimental to the speaker."}},"popupdesc":"Effect is used to describe who a certain concept (the word) is beneficial or detrimental to."},"lvl":{"type":"","title":"Level","options":{"MIN":{"name":"Minimal","desc":"X\'s M is at its least possible
X is at its least M possible"},"SBE":{"name":"Subequative","desc":"X\'s M is less than or equal to to Y (or less than or equal to before)
X is less M than or equal to Y/before"},"IFR":{"name":"Inferior","desc":"X\'s M is the least within/among Y (or ever)
X is the least M within/among Y"},"DFT":{"name":"Deficient","desc":"X\'s M is less than Y (or less than before)
X is less M than Y (or than before) "},"EQU":{"name":"Equative","desc":"X\'s M is the same as Y (or as before)
X is as M as Y (or as before)"},"SUR":{"name":"Surpassive","desc":"X\'s M is more than Y (or than before)
X is more M than Y (or than before)"},"SPL":{"name":"Superlative","desc":"X\'s M is the most within/among Y (or ever)
X is the most M within/among Y (or ever)"},"SPQ":{"name":"Superequative","desc":"X\'s M is more than or equal to Y (or more than or equal to before)
X is more M than or equal to Y/before"},"MAX":{"name":"Maximal","desc":"X\'s M is at its most possible
X is at its most M possible"}},"popupdesc":"Level is used in comparative statements, such as \\"my hat is cooler than your hat\\".
X = this word,
M = a verb (what quality of X is being compared),
Y = a word marked with the CMP case (the thing being compared to)"},"asp":{"type":"","title":"Aspect","options":{"RTR":{"name":"Retrospective","desc":"This aspect operates in conjunction with Perspective to create various equivalents to Western tense categories.
With the MONADIC, the RETROSPECTIVE equates with the English simple past tense.
With the NOMIC and ABSTRACT, it adds a sense of ‘and it’s always been that way’."},"PRS":{"name":"Prospective","desc":"Like the RETROSPECTIVE above, this aspect operates in conjunction with Perspective to create various equivalents to Western tense categories.
With the MONADIC, the PROSPECTIVE equates with the English future tense.
With the NOMIC and ABSTRACT, it adds a sense of ‘and it’ll always be that way’ or ‘from now on’."},"HAB":{"name":"Habitual","desc":"When used with the MONADIC perspective, this aspect conveys the idea of ‘always’ or ‘continues to’."},"PRG":{"name":"Progressive","desc":"This aspect conveys the idea of an act in progress, similar to the English construction ‘in the midst of [verb] + ing’ or the use of the present participle in Spanish."},"IMM":{"name":"Imminent","desc":"Conveys that an action, state or event is imminent. Translates phrases such as ‘(just) about to’ or ‘on the verge of’ as in I think Carl is about to cry."},"PCS":{"name":"Precessive","desc":"Conveys that an action, state or event has immediately preceded. Translates such phrases as ‘just’ or ‘just now,’ as in We just saw a clown in the toy store."},"REG":{"name":"Regulative","desc":"Conveys the idea of participation or involvement in an action, state, or event over an amount of time extending from the past into the future relative to the contextual present. Translates English phrases such as ‘engaged in’ or ‘involved in’ as in Her husband is engaged in construction of the new bridge."},"SMM":{"name":"Summative","desc":"meaning ‘...(have) already X’d’"},"ATP":{"name":"Anticipatory","desc":"meaning ‘have yet to (begin) X-ing’"},"RSM":{"name":"Resumptive","desc":"Conveys the idea of an act, state, or event resuming after having previously ceased, as in The girl resumed singing, or He is starting to laugh again."},"CSS":{"name":"Cessative","desc":"Conveys the idea of cessation of an event, state or action. Translates English phrases such as ‘stop,’ ‘discontinue,’ or ‘cease,’ as in They stopped dancing at midnight."},"PAU":{"name":"Pausal","desc":"Indicates a pause in an action, state or event, with an implied intention to resume. Translates phrases such as ‘take a break from’ or ‘pause in’ as in Mother took a break from cleaning to gossip with her friends."},"RGR":{"name":"Regressive","desc":"Conveys the idea of a return to an original or previous action, state or event after a long hiatus involving an intervening change of state or situation, as translated by the phrase ‘return to.’ The REGRESSIVE should be distinguished from the RESUMPTIVE above, which merely implies the restarting after a stop or pause without an intervening change of state or situation. An example would be Mr. Yates returned to golf after recovering from his stroke."},"PCL":{"name":"Preclusive","desc":"Conveys the fact that an action, state, or event takes place from inception to conclusion all in one contextual segment, translating such phrases as ‘all at once,’ ‘all in one go,’ ‘without stopping,’ etc. as in Walter drank the entire bottle in one gulp."},"CNT":{"name":"Continuative","desc":"Conveys the idea that an action, event, or state continues on. Translates phrases such as ‘keep on,’ ‘still,’ ‘stay,’ ‘yet,’ etc. When used in a negative sentence, conveys the idea of English ‘no longer’ or ‘not anymore’ as in She kept on singing, You\'re still staring at me, I\'ve yet to meet him, Sam no longer loves you / Sam doesn\'t love you anymore."},"ICS":{"name":"Incessative","desc":"Conveys that an action, state or event continues on without stopping. Translates such English adverbials as ‘…on and on’ or ‘…away’ as in They danced the night away or They\'ve been battling on and on since last year."},"EXP":{"name":"Experiential","desc":"Translates English ‘ever’ in the sense of ‘within the realm of one’s experience’ or ‘at some point in one’s experience,’ as in Does he ever shut up?
Note the EXPERIENTIAL does not equate to ‘ever’ when it means ‘always,’ as in Ever does he seek his destiny nor as an adverb of mere emphasis as in Was she ever tired."},"IRP":{"name":"Interruptive","desc":"meaning ‘to get interrupted while X-ing’ or ‘to X only so far or so much before having to stop’"},"PMP":{"name":"Preemptive","desc":"Emphasizes the singularity and initial occurrence of an action, state or event, as translated by such English phrases as ‘for once’ or ‘just once,’ as well as the anticipation preceding a long-expected situation, as translated by phrases such as ‘at last,’ ‘after all this time,’ ‘finally,’ and ‘for the first time.’"},"CLM":{"name":"Climactic","desc":"Emphasizes the finality of an action, state or event, as translated by such English phrases as ‘once and for all’ or ‘for the last time.’"},"DLT":{"name":"Dilatory","desc":"meaning ‘(be) long-delay(ed) in being/doing X’ "},"TMP":{"name":"Temporary","desc":"Conveys that an action, state or event is being considered or is applicable only to the present subjective context or range of the contextual present, as translated by phrases such as ‘for the time being’ or ‘but only for the moment’ or ‘for now’ as in This will be sufficient for now or For the time being you\'ll have to drink water."},"XPD":{"name":"Expenditive","desc":"Conveys an all-consuming action, state, or event which interferes with or prevents other events from occurring. It translates English phrases such as ‘spend one’s time’ or ‘away’ as in Mother spends her life worrying or He\'s pining away."},"LIM":{"name":"Limitative","desc":"meaning ‘to be/do X (just) in time’; indicates an act/event that culminates an anticipatory context"},"EPD":{"name":"Expeditive","desc":"Conveys a sense of haste associated with an action or event. Translates English ‘hurry (up)’ as in Hurry up and finish or They ate in a hurry."},"PTC":{"name":"Protractive","desc":"‘take one’s time X-ing’"},"PPR":{"name":"Preparatory","desc":"meaning ‘to be/do X in advance’, ‘to be/do X in preparation for a future situation’"},"DCL":{"name":"Disclusive","desc":"Focuses on the revelatory nature of an action, state or event, translating phrases such as ‘turn out to be,’ ‘turn out that…’ and ‘be revealed that….’"},"CCL":{"name":"Conclusive","desc":"Conveys the direct outcome of an action, state or event within the short-term context of the situation at hand. Translates phrases such as ‘end up…, come to, reach the point where,’ as in I ended up crashing the car or He drank to the point where he passed out."},"CUL":{"name":"Culminative","desc":"Similar to the CONCLUSIVE above, but with a focus on the eventual, long-term outcome over an extended period of time or through a series of developmental steps. Compare the following examples with the CONCLUSIVE aspect above: In the end, I\'ll have to leave town; Things got to the point where the mayor got involved; Eventually, they fell in love."},"IMD":{"name":"Intermediative","desc":"Conveys the idea that the action, state, or event takes place at some point along the timeline of, or within the duration of, another action, state, event, or background context, as translated by the phrases ‘at some point’ or ‘somewhere along the way….’"},"TRD":{"name":"Tardative","desc":"Conveys the idea that an action, state, or event lessens, dwindles, or slackens in energy, intensity, or effect, impliedly by exhaustion of the active source of energy or agency, or by dissipation of the foundational context involved. Translates such phrases as ‘to get tired of,’ ‘peter out,’ ‘trail off,’ etc."},"TNS":{"name":"Transitional","desc":"Focuses on the initial stage of preparation, adjustment, or accustomization to an action, state or event, translated by phrases such as ‘take up,’ ‘start to,’ etc. implying a long-term process of initialization, as in I\'m planning to take up golf."},"ITC":{"name":"Intercommutative","desc":"Conveys the idea of “sequential reciprocity,” meaning that the action or event is a consequent reciprocation triggered by, or in reaction to, an initiating action or event. It translates the English verbal particle ‘back’ as in The boy threw it back or She stared back at the men ogling her."},"MTV":{"name":"Motive","desc":"Conveys that an action, state or event involves physical removal or absence of the participant from the present context of discourse. Translates such phrases as ‘be off …-ing’ or ‘go off to …’ as in Dad\'s off hunting or They went off to cavort with the clowns."},"SQN":{"name":"Sequential","desc":"This aspect conveys the idea a “sequential progressive” in which a series of contextually identical instances is seen as comprising a single event, usually with an implied culmination point. It translates the English use of ‘off’ as in He\'s checking off each item as it is inventoried, or The sheep died off from the disease."}},"popupdesc":"Aspect provides detailed and specific temporal information about the word, not in relation to the speaker\'s present moment of utterance (as with Perspective), but rather in relation to the contextual “present” of the act, condition, or event being spoken about.
It makes the most sense when applied to verbs (both unframed and framed)."},"mood":{"type":"","title":"Mood","options":{"FAC":{"name":"Factual","desc":"The FACTUAL mood signifies that the factuality of the speaker’s statement is certain and that there either is no underlying presupposition to the statement, or if there is, its factuality is also certain or has no bearing on the factuality of the statement.
TRUE / TRUE or NONE"},"SUB":{"name":"Subjective","desc":"The SUBJUNCTIVE mood indicates that the factuality of an explicit or implicit presupposition underlying the statement is certain, but the factuality of the speaker’s statement itself is questionable or uncertain, the specific nuance of factuality intended being subject to the particular Bias and Validation associated with the verb. Corresponds roughly with English ‘may,’ ‘maybe’ or ‘might,’ with the added distinction that an explicit or implicit (i.e., underlying) presupposition is true.
UNCERTAIN / TRUE"},"ASM":{"name":"Assumptive","desc":"The ASSUMPTIVE mood functions identically to the FACTUAL except that the factuality of an underlying presupposition is unknown. It therefore conveys an act, state, or event whose factuality is dependent on whether something else is factual, thus corresponding to certain usages of English ‘maybe’ and ‘will’ (where ‘will’ primarily conveys possibility, not future tense).
TRUE / UNCERTAIN"},"SPC":{"name":"Speculative","desc":"The SPECULATIVE mood indicates that the factuality of both the presupposition and the statement itself are unknown. Its translation into English is dependent on the specific context, sometimes corresponding to ‘may,’ ‘maybe’ or ‘might,’ and at other times corresponding to the auxiliary ‘would.’
UNCERTAIN / UNCERTAIN"},"COU":{"name":"Counterfactive","desc":"The COUNTERFACTIVE mood indicates that the factuality of the underlying presupposition is false or unreal but that the factuality of the statement would otherwise be true. It thus corresponds to the English construction of auxiliary ‘would’ or ‘would have’ in its use to show counterfactuality (i.e., what would have been if a false presupposition had been true).
TRUE / FALSE"},"HYP":{"name":"Hypothetical","desc":"The HYPOTHETICAL mood indicates that the factuality of the underlying presupposition is false or unreal and that the factuality of the statement itself is uncertain. It thus corresponds to the English construction of auxiliary ‘might have’ in its use to show possible counterfactuality (i.e., what might have been if a false presupposition had been true).
UNKNOWABLE / FALSE"}},"popupdesc":"Mood refers to the knowability and truthfulness of a statement, and describes both the truth of the actual statement and any underlying presuppositions.
Alongside Illocution and Validation, it refers to the whole statement.
FULL STATEMENT / PRESUPPOSITIONS"},"casc":{"type":"","title":"Case-Scope","options":{"CCN":{"name":"Natural","desc":"X\'s case is governed by the noun-case of the formative marked Antecedent (CCA); in the absence of such, X\'s case is associated with the main verb (or framed verb if within a case-frame), except for if it has the Appositive or Relational Cases."},"CCA":{"name":"Antecedent","desc":"X is the “head” whose case governs all Natural (CCN) nouns in the clause"},"CCS":{"name":"Subaltern","desc":"X is the formative to which formatives in the clause marked with Qualifier (CCQ) are associated"},"CCQ":{"name":"Qualifier","desc":"X is associated by noun-case to the formative marked by Subaltern (CCS)"},"CCP":{"name":"Precedent","desc":"X\'s noun-case associates only with the immediately following formative"},"CCV":{"name":"Successive","desc":"X\'s noun-case associates only with the immediately preceding formative"}},"popupdesc":"Formatives showing Case use the Case-Scope to indicate the scope of a case-marked formative over adjacent formatives. This is useful when there is a string of cases modifying another “head” formative; specifies which has scope over which other formative.
Similar to a Type 1 Concatenation."},"c":{"type":"","title":"Case","options":{"THM":{"name":"Thematic","desc":"The (usually inanimate) party which is a participant to the verbal predicate which does not undergo any tangible change of state.
Semantic role: CONTENT"},"INS":{"name":"Instrumental","desc":"The entity acting as means utilized by an explicit or implicit agent to implement/carry out the effect/impact of an act/event.
Semantic role: INSTRUMENT"},"ABS":{"name":"Absolutive","desc":"The party that is the target of, and/or undergoes, the effect/impact or change of state as a result of a tangible act/event.
Semantic role: PATIENT"},"AFF":{"name":"Affective","desc":"The party who undergoes an unwilled, affective experience,
e.g. coughing, sneezing, feeling hot/cold, trembling, experiencing sensory input (tactile, olfactory, visual, aural, gustatory), proprioceptive states, psychological/emotional states, reflex reactions such as cringing, yawning, ducking, screaming in fright, etc.
Semantic role: EXPERIENCER"},"STM":{"name":"Stimulative","desc":"The party/entity/idea/thought/situation or mental state which triggers an unwilled, affective response or is the trigger for an existential state such as possession.
Semantic role: STIMULUS"},"EFF":{"name":"Effectuative","desc":"The party/force that initiates a chain of causal events or who induces another party to act as an agent (specifiable via the ENB affix).
Semantic role: ENABLER"},"ERG":{"name":"Ergative","desc":"The animate party or inanimate force which initiates/causes an act/event which creates a tangible effect or change of state in a patient.
Semantic role: AGENT or FORCE"},"DAT":{"name":"Dative","desc":"The party which is the (intended) recipient of a verb of transference, transmission, or communication; the party at/to which a physically transferred entity, transmitted information, or a communicable entity is directed.
Semantic role: RECIPIENT"},"IND":{"name":"Inducive","desc":"The patient who undergoes the tangible effect, impact, or change of state of an act/event initiated/caused by that self-same party.
Semantic role: AGENT+PATIENT"},"POS":{"name":"Possesive","desc":"The party which has alienable (i.e., removable or severable) possession of another noun in the sense of having physical control or oversight of that noun, whether by chance circumstance or deliberate manipulation."},"PRP":{"name":"Proprietive","desc":"The party having alienable possession of another noun in the sense of quasi-permanent contextual control, ownership or oversight, whether by societal recognition, socialconvention, law, purchase or decree, which mere physical separation does not sever."},"GEN":{"name":"Genitive","desc":"The party which has inalienable (i.e., irremovable, non-severable) possession of or association with another noun in the sense of having that noun as an inherent or intrinsic attribute, characteristic, physical part, or genetic (i.e., familial) bond."},"ATT":{"name":"Attributive","desc":"The party which inalienably experiences the effects of, or otherwise has an affective (see the affective case above) relationship with another noun, either as a temporary or permanent attribute, characteristic, or experience, whether physical or psychological, objective or subjective in nature."},"PDC":{"name":"Productive","desc":"The party which is the creator, author or originator of another noun."},"ITP":{"name":"Interpretative","desc":"The party acting as the subjective interpretational context of another noun, that is the noun by or through which another noun is subjectively considered, interpreted or described,
e.g. Monet\'s Paris, my baseball team (as spoken by a fan)."},"OGN":{"name":"Originative","desc":"The party which is the literal or figurative source of another, or which is the native location, origin, or usual locative context for another."},"IDP":{"name":"Interdependent","desc":"The party which has a coordinated, tandem, complementary or mutually dependent relationship with another. The relationship between the two nouns can be thought of as reciprocal in nature, i.e., each noun implies the other or needs the other to exist within its natural context."},"PAR":{"name":"Partitive","desc":"Indicates a quantitative or content-to-container relationship between the two nouns,
e.g. a cup of coffee, a box(ful) of books, a train(load) of refugees, twelve chairs."},"APL":{"name":"Applicative","desc":"The entity/act/event which constitutes the circumstantial, potentially one-time, temporary purpose of another entity/act/event.
\'for the (circumstantial/temporary/one-time) purpose of X\', \'being used (temporarily/circumstantially) as X\'."},"PUR":{"name":"Purposive","desc":"The entity/act/event which constitutes the inherent/innate/intrinsic purpose of another entity/act/event.
\'for the (dedicated) purpose/function of X\'"},"TRA":{"name":"Transmissive","desc":"Renamed from the Benefactive in Ithkuil III, this case indicates the party for which/whom an entity/act/event occurs or is transmitted, with the intention that the entity/act/event be beneficial/detrimental to the named party.
\'for (the benefit/detriment of) X\'"},"DFR":{"name":"Deferential","desc":"The entity for whose sake, or out of deference/respect to whom, an act/event occurs.
\'for X\'s sake\', \'out of deference for X\', \'out of respect for X\'"},"CRS":{"name":"Contrastive","desc":"The party for which something is substituted, or of which another party/entity takes its place;
\'instead of X\', \'as a substitute for X\', \'in place of X\'"},"TSP":{"name":"Transposive","desc":"The party on whose behalf something is/occurs."},"CMM":{"name":"Commutative","desc":"The party in exchange for which, a reciprocal or complementary act/event occurs;
e.g. He paid 100 dollars in exchange for the tickets."},"CMP":{"name":"Comparative","desc":"The party being compared to another, translatable as \'as compared to\', \'as opposed to,\' \'versus\'; with verbs it translates as \'whereas\' or \'while\' (in its synonymous usage to \'whereas\').
Examples: She chose the red one as opposed to the others, Sam drives a van versus Joe, who prefers a truck, At the party, she danced while/whereas I ate."},"CSD":{"name":"Considerative","desc":"The entity according to which, another entity is, or an act/event occurs."},"FUN":{"name":"Functive","desc":"Identifies a noun used to describe/characterize the manner in which an act/event/state occurs or exists,
e.g. She dances gracefully; The boys ate with gusto; That clown is speaking nonsense; Father speaks with such fortitude."},"TFM":{"name":"Transformative","desc":"Identifies the outcome or final state of a process, often translatable by \'to,\' \'until,\' or \'into\' in the sense of reaching a final state after undergoing some transformation.
Examples: The house burned to ashes, Mother reached a state of tranquility, The clowns will turn our children into slaves, Her father drank himself to death"},"CLA":{"name":"Classificative","desc":"Identifies a noun as a basis for arranging, sorting, classifying, or counting,
e.g. Place them in groups of three, The workers arranged the tables in rows, He lay down lengthwise, Can you count by fives?, I will sort them by color.
Also identifies the basis for recurring increments,
e.g. month by month; day in, day out; box upon box, clown after clown."},"RSL":{"name":"Resultative","desc":"Identifies a result/consequence, translatable as \'resulting in X\', \'with X as a consequence\', etc."},"CSM":{"name":"Consumptive","desc":"Identifies the entity consumed or used as a resource as a result of, or as a concurrent part of a process,
e.g. She cooks with tomatoes, The clown fed her an apple, He reads by candle(light)."},"CON":{"name":"Concessive","desc":"Identifies a noun or phrase which gives rise to an implicitly expected result which does not occur. This translates in many ways such as \'despite,\' \'in spite of,\' \'notwithstanding,\' \'although,\' \'regardless of,\' \'no matter what,\' etc.
Examples: In spite of his stupidity, he passed the test; The law notwithstanding, I will stand my ground; No matter how ignorant (they may be), they are welcome; Although a foreigner, we will let him in."},"AVR":{"name":"Aversive","desc":"Identifies a source or object of fear and/or avoidance. With nouns, it translates expressions such as \'for fear of,\' \'in order to avoid,\' or \'in avoidance of.\' With verbs, it would translate English ‘lest.’
Examples: She finished her plate for fear of my wrath, I traveled by night to avoid the sun. Hide the children, lest the clowns find them."},"CVS":{"name":"Conversive","desc":"Identifies an exception. When the exception is to a hypothetical situation, it translates as \'unless\' in verbal phrases, and \'without\' for nouns,
e.g. Without peace, this society is doomed; We\'ll be safe unless the clowns find us.
If applied to a real or actual situation, it translates as \'except (for)\', \'but for,\' \'but (not), \'excluding\', \'if not for,\' \'if it wasn\'t for,\' \'if it wasn\'t on account of.\'
If not for the rain, we would have had a good time; She loves everybody except clowns; All pets are vermin, excluding dogs; He eats almost anything but (not) spinach."},"SIT":{"name":"Situative","desc":"Identifies a noun as the background context for a clause without implying any direct causative relationship between the background context and the associated or consequent act/state/event. It translates in many ways,
e.g. Because of war, our planet will never be able to join the Federation; Given the presence of clowns, we must accept the corruption of our children; With my plan, we will defeat the enemy.
Other translations include: \'inasmuch as / insofar as / to the extent that / taking X into account / in view of the fact that / given that / considering\'."},"PRN":{"name":"Pertinential","desc":"Identifies the general referent of another formative, translating such English terms as \'about,\' \'regarding,\' \'concerning,\' \'in regard to,\' \'in reference to,\' \'pertaining to,\' or \'as for.\'"},"DSP":{"name":"Descriptive","desc":"Identifies a formative as describing another formative in an adjectival manner, translatable as \'characterized/describable as being like X; characterized/describable as having the quality/qualities of X\'"},"COR":{"name":"Correlative","desc":"Indicates an abstract general relationship, association, or conjunction between one formative and another, including subjective, contextual, metaphorical, or symbolic associations. It translates general phrases such as \'relative to,\' \'in relation to,\' \'in correlation with,\' \'in association with,\'
e.g. career goals, the soup of the day, the direction of that road, The elapsed time relative to the distance determines the winner, Our next topic is sex and/in art (i.e., the relationship between art and sex)."},"CPS":{"name":"Compositive","desc":"Identifies a noun as being the literal or figurative substance or component(s) of which another is made, composed, formed, built or comprised.
Example of usage would be That statue was carved out of marble, She owns three gold(en) coins, We were caught in a web of lies, I use a wooden ladder, It was a house of cards, Three suits comprise his wardrobe, Joe detests styrofoam cups."},"COM":{"name":"Comitative","desc":"Identifies a formative that accompanies another, translatable as \'(along) with\'. When used with Parallel or Complementary valence, signifies that the formative is being used in the same (or a complementary) way or is undergoing the same (or a complementary) activity as the other formative it is associated with
(i.e., the meaning of the Conjunctive case in Ithkuil III)."},"UTL":{"name":"Utilitative","desc":"Identifies a formative in the process of being used while some other activity or state is in progress. It does not imply the INSTRUMENT of an act as does the instrumental case.
Examples: the gun-wielding man, the umbrella-toting pedestrian, a girl with backpack (on)."},"PRD":{"name":"Predicative","desc":"Identifies the non-causal basis, foundation, sustenance (literally or figuratively), or required existential condition for another noun or clause, translatable by the phrases \'based (up)on,\' \'dependent (up)on\' or \'relying on.\'
Examples of use are a book dependent on a publisher, a man relying on charity, laws based in reason, success supported by corruption."},"RLT":{"name":"Relative","desc":"Identifies a formative (or case-frame) as constituting a relative clause associated with the preceding formative (or whatever formative is indicated by the DCD affix as being the head of the relative clause).
NOTE: a lone formative in Relative case not functioning as an external head of a relative clause need not be in Framed Relation."},"ACT":{"name":"Activative","desc":"Identifies the Experiencer of a modal state, such as obligation, necessity, desire, hope, expectation, wishing, being able to, etc. functioning as the \\"subject\\" of a modal(ized) verb governing a hypothetical state (i.e., what is wanted, needed, expected, able to be done, etc.)"},"ASI":{"name":"Assimilative","desc":"Identifies a formative used as a context for analogy or metaphorical comparison to another formative; translatable as \'as/like\' meaning \'as if (it were) X\' in the sense of comparison or analogy between one thing and another that it is not,
e.g. She sings like a bird; Treat her as/like a princess (= as if she were a princess); He talks like a child (even though he\'s an adult)."},"ESS":{"name":"Essive","desc":"Identifies the role or name by which an entity is known or contextually identified. It translates English \'as/like\' in the sense of naming or reference to the an entity\'s functional identity,
e.g. They called him a clown, The woman entered the club as an equal of any man, We consider you our only hope, Treat her as/like a princess (because she is one), He talks like a child (because he is a child)."},"TRM":{"name":"Terminative","desc":"Identifies a noun as being the goal of an act/event,
e.g. We seek a new planet; a desire to see his homeland; an academy for (making) champions."},"SEL":{"name":"Selective","desc":"Identifies a contextually recurring time-period, as well as a string of recurring entities,
e.g. I visit him every three days; Each year, I travel to the Clown Planet; He works nights; By day, she is an artisan; The clowns visit us on Sundays; ...every third book; ...every green one."},"CFM":{"name":"Conformative","desc":"The entity pursuant to which, as per which, or in conformance with which, another entity is, or an act/event occurs."},"DEP":{"name":"Dependent","desc":"Identifies as formative as being the basis of a dependency phrase on which another formative or phrase acts as the contingency, translatable as \'...if the circumstances regarding X are such to allow/warrant it\' where the final “it” refers to the original contingency noun/phrase whose existence/occurrence is (at least in part) determined by or contingent upon the dependency phrase. The exact nature of the dependency can be specified using the DPC affix."},"VOC":{"name":"Vocative","desc":"Signifies a noun being used in direct address."},"LOC":{"name":"Locative","desc":"entity identified as the location where something is situated or occurs; \'at / in / on / by X\' "},"ATD":{"name":"Attendant","desc":"entity in whose presence something is/occurs and which/who is thereby involved in some peripheral manner (e.g., as a witness, as a party affected or stimulated to action, etc.)"},"ALL":{"name":"Allative","desc":"entity toward which another entity is moving/approaching"},"ABL":{"name":"Ablative","desc":"entity away from which another entity is moving/receding"},"ORI":{"name":"Orientative","desc":"entity (often a body part or sub-component) which serves as the “face” or surface or “front” or “head” of an entity in terms of external communication or interaction, or which serves as the forward “end” of a spatially orientated axis aligned to a vector of motion in terms of directional movement."},"IRL":{"name":"Interrelative","desc":"signifies the directional/temporal orientation or position of an entity relative to another, i.e., a noun relative to whose position in space or time another noun is being described for purposes of spatial/temporal orientation,
e.g. He turned his back on me, It lies just west of the house, Tell me when the parade starts relative to my arrival."},"INV":{"name":"Intrative","desc":"Identifies a noun as being the spatio-temporal boundary point of a span or volume of space or a period of time, i.e, either the starting point or the ending point of a span of time or space.
English translations include: \'as of X\' / \'since X\' / \'until X\'; for spatial contexts, translates as “between there and here” / “between here and there”)"},"NAV":{"name":"Navigative","desc":"entity whose literal or metaphorically inferred long axis serves as the direction of another entity\'s path, course, arc, or trajectory of translative motion"},"CNR":{"name":"Concursive","desc":"Indicates a “temporal locative” meaning \'at or during the time of X\', i.e., the point or stretch in time at or during which an entity or an act/event exists or occurs."},"ASS":{"name":"Assessive","desc":"Specifies the increment of space or time or unit by which a contextual ratio of measurement is created,
e.g. He charges by the minute. It travels at 90 kilometers per hour. He earns $25 per book."},"PER":{"name":"Periodic","desc":"Identifies the span of time / time frame at some point(s) during which, separate events, repetitions, or durationally segmented acts or states take place.
Examples would be He wrote the novel in/over six months, These clowns can corrupt your child within a few days, The woman has been ill a lot this year, For the last several concerts, my voice has been deteriorating."},"PRO":{"name":"Prolapsive","desc":"Signifies the duration of an act, condition, or event, i.e., how long it takes or lasts,
e.g. He prayed through lunch, It rained all night, It took three days for the fever to break, She sang for an hour."},"PCV":{"name":"Precursive","desc":"Identifies an entity acting as a point in time prior to which an act, condition, or event occurs,
e.g. \'this city before the war\', \'a presentation preceding the banquet\'."},"PCR":{"name":"Postcursive","desc":"Identifies an entity acting as a point in time after which, following which, subsequent to which, an act, state, or event occurs,
e.g. \'this city after the war\', \'a presentation following the banquet\', \'It\'s been a long time since I danced\'."},"ELP":{"name":"Elapsive","desc":"Identifies the amount of time that has passed or is expected to pass between the contextual present and the time of the act, condition, or event being spoken of. It corresponds to English \'...ago\' or \'...from now\'.
Examples would be Four years ago I was a student; Going back three generations, women could not even vote; Four years from now, I will be a student; Looking ahead three generations, clowns will rule the world; I will be home in three days; Little did he know that two months later he\'d be a rich man.
The past vs. future distinction is determined from context, any aspectual morphology, or may be specified with the new TPL affix. "},"PLM":{"name":"Prolimitive","desc":"Signifies the spatio-temporal boundary point of a span of time or space during which or within which something is expected to or must occur or be situated.
Equivalent to English phrases: by the end of X / within the period ending in X / within the period ending with X / before X is over / before X is up / inside of (the period signified by) X"}},"popupdesc":"Cases are the role of the word in a sentence, and New Ithkuil has 68.
They are split into seven categories;
Transrelative, which are similar to cases in natural languages,
Appositive, which is to do with possession-esque relations,
Associative, which is similar but more related to reasons and motives,
Adverbial, which (fairly obviously) is for adverb-like words,
Relational,
Affinitive, and
Spatio-Temporal, which are for words describing the space or time of the sentence."},"ill":{"type":"","title":"Illocution","options":{"ASR":{"name":"Assertive","desc":"The statement is an assertion/proposition about the world which constitutes a truth claim"},"DIR":{"name":"Directive","desc":"The statement is either an imperative command to another party to do/be something, or a \\"commissive\\" statement committing the speaker to a specific state or course of action (i.e., a vow, promise, guarantee, etc.)"},"DEC":{"name":"Declarative","desc":"A \\"performative\\" statement which, by its utterance/publication, creates a change of state (at least psychologically) for the addressees (i.e. a declaration, announcement, edict, etc.)"},"IRG":{"name":"Interrogative","desc":"A statement whose purpose is to inquire or seek information from the addressee (i.e., equivalent to an English WH-question)"},"VER":{"name":"Verificative","desc":"A statement whose purpose is to seek/obtain corroboration, confirmation, or verification (i.e., equivalent to a Yes/No question)"},"ADM":{"name":"Admonitive","desc":"A statement whose purpose is to provide advisory/admonitive information to the addressee (i.e., a warning)"},"POT":{"name":"Potentiative","desc":"A statement of wishing, hoping, or other unreal(ized) provenance"},"HOR":{"name":"Hortative","desc":"A counterfactual statement indicating a desired but impossible state of affairs that cannot be realized (equivalent to English hortative constructions such as If only..., Were that..., If only it were so that..."},"CNJ":{"name":"Conjectural","desc":"Equivalent to an English-language \\"if\\"-clause, indicating that the statement is offered as a conjectured hypothetical, ostensibly to be followed by a \\"then...\\" implicational clause. Translatable as \\"If (it were the case that)...\\""}},"popupdesc":"Illocution refers to the type of \\"speech act\\" made by the speaker, i.e. the purpose and intended interpretation of the statement.
Alongside Mood and Validation, it refers to the whole statement."},"vld":{"type":"","title":"Validation","options":{"OBS":{"name":"Observational","desc":"The statement is true because of present sensory knowledge or present sensory experience: “I perceive... / I know...” "},"REC":{"name":"Recollective","desc":"The statement is true because of past sensory knowledge or past sensory experience: “I remember... / I know (from memory)...”"},"PUP":{"name":"Purportive","desc":"The statement is true because of knowledge from a definitive/(quasi-)verifiable 3rd party source: “I\'ve read... / (an expert) has said...”"},"RPR":{"name":"Reportive","desc":"The statement is true because of knowledge from a 3rd party: “I heard (from someone)... / someone has said...”"},"USP":{"name":"Unspecified","desc":"[Validation deliberately left unspecified]"},"IMA":{"name":"Imaginary","desc":"The statement is NOT true because it is: an unreal statement, not intended as true, based on whim, imagination, dream, altered mental state, etc."},"CVN":{"name":"Conventional","desc":"The statement is true because of cultural/conventional (i.e., collectively agreed-upon) knowledge: “They say... / It is said...”"},"ITU":{"name":"Intuitive","desc":"The statement is true because of intuition, a hunch, subjective feeling, past experiences, etc. - “I feel... / I have a hunch... / something tells me...”"},"INF":{"name":"Inferential","desc":"The statement is true because of inference from evidence (or absence of alternatives), induction, extrapolation, etc. “I infer... / I reason...”"}},"popupdesc":"Validation only applies when the Illocution is Assertive.
It refers to the evidential basis for a statement (i.e. why it\'s true).
Alongside Mood and Illocution, it refers to the whole statement."},"ref":{"type":"","title":"Referential","popupdesc":"Similar to pronouns in most languages (I, you, they, etc.)","options":{"1M":{"name":"Monadic Speaker","desc":"\'I\'"},"2M":{"name":"Monadic Addressee","desc":"\'you (singular)\'"},"2P":{"name":"Polyadic Addressee","desc":"\'you (plural)\'"},"MA":{"name":"Monadic Animate 3rd Party","desc":"\'he\'/\'she\'/\'they (singular)\'"},"PA":{"name":"Polyadic Animate 3rd Party","desc":"\'they (plural)\'"},"MI":{"name":"Monadic Inanimate 3rd Party","desc":"\'it\'"},"PI":{"name":"Polyadic Inanimate 3rd Party","desc":"\'these things/those things\'"},"MX":{"name":"Mixed Animacy 3rd Party","desc":"mixed animate+inanimate, e.g. \'s/he+it\', \'they+those\', \'it+they\', \'those+s/he\', etc"},"RDP":{"name":"Reduplicative","desc":"Referring back to the previously-named party (often used with SWR affix)"},"OBV":{"name":"Obviative","desc":"3rd party other than the one previously referenced"},"PVS":{"name":"Provisional","desc":"\'whatever\'; vague or unknown entity (corresponds with English WH-words)"}}},"refEff":{"type":"","title":"Referential Effect","popupdesc":"Similar to the normal Effect, this describes if this person is being referred to beneficially or detrimentally.
May potentially be linked to the Effect of another word (e.g. \'the detrimental 3rd party\')","options":{"NEU":{"name":"Neutral"},"BEN":{"name":"Beneficial"},"DET":{"name":"Detrimental"}}},"refPersp":{"type":"","title":"Referential Perspective","popupdesc":"The same as the normal Perspective, but applied to the referential.
Does nothing, currently.","options":{"M":{"name":"Monadic","desc":"The MONADIC means that there is a certain number of (relevant) instances of the word. When combined with things like the MULTIPLEX, it means that the entire group is being considered as a whole (\\"forest(s)\\", not \\"trees\\")."},"G":{"name":"Agglomerative","desc":"The AGGLOMERATIVE is similar to the MONADIC, except it doesn\'t imply any sense of number; as in, \\"one or more X\\". It is also used for turning nouns (such as \\"a strand of hair\\" in the MONADIC) into mass nouns (such as \\"hair\\" in the AGGLOMERATIVE)"},"N":{"name":"Nomic","desc":"The NOMIC refers to the general archetype of the word as opposed to any specific instance of it. Examples are: The dog is a noble beast, Clowns are what children love most, There is nothing like a tree."},"A":{"name":"Abstract","desc":"Similar to the formation of English abstract nouns using suffixes such as -hood or -ness, the ABSTRACT transforms a configurative category into an abstract concept considered in a non-spatial, timeless, numberless context.
Examples: grove → the idea of being a grove or “grovehood”; book → everything about books, having to do with books, involvement with books.

With verbs, the ABSTRACT is used in verbal constructions to create a temporal abstraction, where the temporal relationship of the action, event, or state to the present is irrelevant or inapplicable, similar to the way in which the English infinitive or gerund form (used as substitutes for a verb phrase) do not convey a specific tense in the following sentences: Singing is not his strong suit; It makes no sense to worry about it; I can\'t stand her pouting."}}},"twoRefs":{"type":"checkbox","title":"Use two Referentials?","popupdesc":"Please note that the referential will use the second case.
If this is turned off, the second case is stacked on the first referential."},"twoCs":{"type":"checkbox","title":"Apply two Cases?","popupdesc":"Fairly self-explanatory. Applies another case to the word."},"refAffix":{"type":"affix","title":"Referential Affixes","popupdesc":"Affixes to be applied to this referential. Again, fairly self-explanatory."},"suppType":{"type":"","title":"Adjunct Type","options":{"CAR":{"name":"Carrier","desc":"This is a “shortcut” for a full carrier stem, providing Case information only. It is used when the identity/nature of the foreign word(s) or proper name following the adjunct is already known to the addressee."},"QUO":{"name":"Quotative","desc":"This adjunct combines the Carrier Adjunct with the DISCURSIVE Register Adjunct to allow direct quotes to be placed within a caseframe, useful for translating imbedded quotes within sentences such as He told me “get out of the house!”"},"NAM":{"name":"Naming","desc":"This adjunct indicates that the following word is a name being referred to as such, rather than referring to the entity that bears the name, i.e., it would be used before the name Emily in the sentence ‘He said “Emily”’ as opposed to the sentence ‘He said “tell Emily”’ which would use the Quotative adjunct, or ‘He said to tell Emily’ which would use the Carrier adjunct."},"PHR":{"name":"Phrasal","desc":"This adjunct is essentially a specialized form of the carrier adjunct above to apply meta-level grammatical information to an entire subsequent phrase as a whole. This is similar to a case-frame, except that where case-frames function solely as an equivalent to subordinate clauses in Western languages, this adjunct causes the subsequent phrase to become a conventionalized, (quasi-)lexicalized gestalt."}},"popupdesc":"This describes which kind of Suppletive Adjunct is being used, as there are four kinds. They all refer to the words immediately after them, like all adjuncts."},"affRoot":{"type":"text","title":"Root Affix","popupdesc":"This is a special kind of Affix that functions not as a modifier to a root but as the actual root itself of this word. It can have other affixes applied to it in Slots V and VII."},"arDegree":{"type":"","title":"Degree","popupdesc":"The degree of the Root Affix. Functions like the degree of any other affix.","options":[{"name":"Degree 1"},{"name":"Degree 2"},{"name":"Degree 3"},{"name":"Degree 4"},{"name":"Degree 5"},{"name":"Degree 6"},{"name":"Degree 7"},{"name":"Degree 8"},{"name":"Degree 9"},{"name":"Degree 0","desc":"This is a special degree which relates to the generic concept of the affix as a whole, similar to Stem 0 of a normal root."}]},"affixjunct":{"type":"affix","title":"Adjunct Affixes","popupdesc":"The affixes shown on this specific adjunct. This is how you apply affixes in other scope locations on a word."},"initialAffScope":{"type":"","title":"Initial affix scope","popupdesc":"Where the first affix out of the Adjunct Affixes is applied on the next word","options":{"VDom":{"name":"Last of Slot V","desc":""},"VSub":{"name":"First of Slot V","desc":""},"VIIDom":{"name":"Last of Slot VII","desc":""},"VIISub":{"name":"First of Slot VII","desc":""},"formative":{"name":"Entire Formative","desc":""},"adjacent":{"name":"Formative + Affixes","desc":""}}},"otherAffScope":{"type":"","title":"Other affix scopes","popupdesc":"Where the other affixes of the Adjunct Affixes are applied on the next word","options":{"VDom":{"name":"Last of Slot V","desc":""},"VSub":{"name":"First of Slot V","desc":""},"VIIDom":{"name":"Last of Slot VII","desc":""},"VIISub":{"name":"First of Slot VII","desc":""},"formative":{"name":"Entire Formative","desc":""},"adjacent":{"name":"Formative + Affixes","desc":""},"same":{"name":"Same as Initial","desc":""}}},"affScopeOf":{"type":"","title":"Apply to...","popupdesc":"Which of the following concatenated formatives this actually applies to","options":{"default":{"name":"Default (all)","desc":"Apply this affix to the main formative"},"conc":{"name":"Concatenated only","desc":"Apply this affix only to the concatenated formative"}}},"register":{"type":"","title":"Register","popupdesc":"Which register the next (or previous) bit of text is in; what type of speaking is it?
No specified register is the NARRATIVE, which is normal speech.","options":{"DSV":{"name":"Discursive","desc":"Direct speech"},"PNT":{"name":"Parenthetical","desc":"Parenthetical aside"},"SPF":{"name":"Specificative","desc":"Proper name of preceding referent
(If the identification of the preceding referent is not a proper name, use PNT register instead)"},"EXM":{"name":"Exemplificative","desc":"\'for example, ...\'"},"CGT":{"name":"Cogitant","desc":"Silent/subjective thoughts"},"END":{"name":"Carrier-End","desc":"End of term/phrase governed by carrier stem/adjunct
(Use the END end-adjunct marker for any register where the referent within the register clause is a proper name or a foreign word/phrase)
ONLY works if this is a Final marker."}}},"regStartOrEnd":{"type":"","title":"Initial/Final","popupdesc":"Whether this adjunct marks the start or end of a register.","options":[{"name":"Initial","desc":"This adjunct marks the start of the appropriate register"},{"name":"Final","desc":"This adjunct marks the end of the appropriate register
Alternatively, use a low tone on the last word of the clause."}]},"modAppliesTo":{"type":"","title":"Apply to...","popupdesc":"Where the various other things apply to","options":{"all":{"name":"All","desc":"Apply to both the concatenated and the parent formative after this adjunct (use this if no concatenation)"},"parent":{"name":"Parent Only","desc":"Apply to only the parent formative after this adjunct"},"concat.":{"name":"Concatenated only","desc":"Apply to only the concatenated formative after this adjunct"}}},"modNumber":{"type":"","title":"Number of modules","popupdesc":"How many VₙCₙs you want on this adjunct","options":{"1":{"name":"1 (no Vₕ, no Cₙ)","desc":"Only one VnCn, but without the Mood/Case-Scope"},"2":{"name":"2 (no Vₕ) or 1"},"3":{"name":"3 (no Vₕ) or 2"}}},"cn":{"type":"","title":"Cₙ","popupdesc":"Whether this adjunct will show Mood or Case-Scope","options":{"mood":{"name":"Mood","desc":"Mood refers to the knowability and truthfulness of a statement, and describes both the truth of the actual statement and any underlying presuppositions."},"casc":{"name":"Case-Scope","desc":"Formatives showing Case use the Case-Scope to indicate the scope of a case-marked formative over adjacent formatives. This is useful when there is a string of cases modifying another “head” formative; specifies which has scope over which other formative."}}},"vh":{"type":"","title":"Vₕ/Vₙ","popupdesc":"Whether this adjunct will show Valence/Phase/Level/Effect(/Aspect) or the Specialized Scope.
If the Number of Modules is 1, then this will show Aspect.","options":{"vn":{"name":"Vₙ","desc":"Show an additional Vₙ on this affix"},"vh":{"name":"Vₕ","desc":"Show the Specialized Scope of the Adjunct on this adjunct.
Allows for modifying where the VPLEA and Mood/Case-Scopes are applied on the next formative."}}},"modScope":{"type":"","title":"Specialised Scope","popupdesc":"Describes where on the following formative the meaning of this affix will be applied, scope-wise.
All affixes have right-to-left scope on each other (Slot 2 < Slot 3 < Slot 4).
If this is unspecified (i.e. not shown), then the options have the same scope as if they were in the main word.","options":{"a":{"name":"Scope over Case/Mood and IEV","desc":"This adjunct has scope over everything except Bias"},"e":{"name":"Scope over Case/Mood","desc":"This adjunct has scope over everything except Bias, Illocution, Expectation, and Validation"},"i":{"name":"Scope over entire Formative","desc":"This adjunct has scope over everything except any Adjuncts
NOTE: Do not use if an adjacent affixual adjunct shows scope over this adjunct"},"o":{"name":"Scope over Formative + Adjuncts","desc":"This adjunct has scope over everything
NOTE: Do not use if an adjacent affixual adjunct shows scope over this adjunct"}}},"bias":{"type":"","title":"Bias","popupdesc":"Bias adjuncts function much like English \\"supra-segmental\\" interjections such as \\"Phew!\\", \\"Damn!\\", \\"tsk-tsk\\", \\"Pssshhh\\", \\"huh?\\", \\"meh\\", \\"hmmm\\", etc
Sentence-initial Bias adjuncts scope over the entire sentence. Otherwise, they scope over the preceding formative. They should be pronounced with a preceding and following pause.","options":{"ACC":{"name":"Accidental","desc":"‘As luck would have it...’ ‘Fate has decided that...’ ‘What luck!’","word":"lf"},"ACH":{"name":"Archetypal","desc":"what (a) ...!; how . . .! ; Boy! Did (does) X ever …","word":"mçt"},"ADS":{"name":"Admissive","desc":"‘Mm-hm’ ‘Uh-huh’ (said as mere acknowledgement of a statement without any implied agreement with or assent to the statement)","word":"lļ"},"ANN":{"name":"Annunciative","desc":"‘Guess what!’ or ‘Wait till you hear this!’","word":"drr"},"ANP":{"name":"Anticipative","desc":"‘I’m looking foward to this!’ ","word":"lst"},"APB":{"name":"Approbative","desc":"‘(That’s) OK’ ‘(That’s) alright’ ‘(That’s) good’ ‘(That’s) fine’ ‘Very well’ ‘Sure’","word":"řs"},"APH":{"name":"Apprehensive","desc":"‘I’m worried...’ ‘I’ve got a bad feeling about this...’ ","word":"vvz"},"ARB":{"name":"Arbitrary","desc":"‘..Yeah, whatever...’, ‘...Ah, what the hell, I’m going ahead and....’ ","word":"xtļ"},"ATE":{"name":"Attentive","desc":"‘Well, whaddya know...’ ‘Well, will you look at that...!’ ‘Well, go figure...’ ‘Who would’ve thought...?’ ‘Well I’ll be!’","word":"ňj"},"CMD":{"name":"Comedic","desc":"‘Funny!’ ‘LOL’","word":"pļļ"},"CNV":{"name":"Contensive","desc":"‘I’m telling you...’, ‘I told you so!’, ‘You see?!’","word":"rrj"},"COI":{"name":"Coincidental","desc":"‘What a coincidence!’","word":"ššč"},"CRP":{"name":"Corruptive","desc":"‘How corrupt!’ ‘What corruption!’","word":"gžž"},"CRR":{"name":"Corrective","desc":"‘that is to say…,’ ‘What I mean(t) to say is…’ ‘I mean….’","word":"ňţ"},"CTP":{"name":"Contemptive","desc":"‘What nonsense!’ or ‘What bullshit!’","word":"kšš"},"CTV":{"name":"Contemplative","desc":"‘I wonder how…,’ ‘that’s odd…,’ ‘I don’t get it…,’ or a quizzical ‘hmmmm.’","word":"gvv"},"DCC":{"name":"Disconcertive","desc":"‘I’m not sure about this.’ ‘I don’t feel comfortable about this.’ ‘I’m feeling out of my element here.’","word":"gzj"},"DEJ":{"name":"Dejective","desc":"‘(sigh)’ [of dejection/disillusionment]","word":"žžg"},"DES":{"name":"Desperative","desc":"‘I don’t know how to say this, but…’ ‘I’m afraid that….’ ‘I’m sorry to have to tell you, but...’","word":"mřř"},"DFD":{"name":"Diffident","desc":"‘sorry, but…’ ‘It’s nothing. It’s just…’","word":"cč"},"DIS":{"name":"Dismissive","desc":"‘Is that it?’ ‘Big deal!’ ‘So what!?’ ","word":"kff"},"DLC":{"name":"Delectative","desc":"‘Whee!’","word":"ẓmm"},"DOL":{"name":"Dolorous","desc":"‘Ow!’ ‘Ouch!’","word":"řřx"},"DPB":{"name":"Disapprobative","desc":"‘I don’t like the fact that…’ ‘It bothers me that….’ ‘Unacceptable!’ ‘I hate it!’","word":"ffx"},"DRS":{"name":"Derisive","desc":"‘How foolish!’ ‘How silly!’ ‘Look at how foolish/silly/ridiculous this is!’","word":"pfc"},"DUB":{"name":"Dubitative","desc":"‘Hmm, not likely.’ ‘I doubt it.’ ‘Sounds fishy to me’ ‘I don’t trust this/it/him/her/them...’","word":"mmf"},"EUH":{"name":"Euphoric","desc":"‘(Sigh) What bliss!’","word":"gzz"},"EUP":{"name":"Euphemistic","desc":"‘Let’s just say that….’ or ‘Well, let me put it this way….’","word":"vvt"},"EXA":{"name":"Exasperative","desc":"‘Dammit!’ ‘Look, don’t you get it?…’ ‘Look, I’m trying to tell you….’","word":"kçç"},"EXG":{"name":"Exigent","desc":"‘It’s now or never!’","word":"rrs"},"FOR":{"name":"Fortuitous","desc":"‘It’s just as well that...’ or ‘All’s well that ends well...’","word":"lzp"},"FSC":{"name":"Fascinative","desc":"‘Cool!’ ‘Wow!’ ‘Awesome!’","word":"žžj"},"GRT":{"name":"Gratificative","desc":"‘Ah! What bliss...!’ ‘Oh, there’s nothing like….’ [physical pleasure only]","word":"mmh"},"IDG":{"name":"Indignative","desc":"‘The nerve!’ or ‘How dare…!?’","word":"pšš"},"IFT":{"name":"Infatuative","desc":"‘Praise be to...!’ ‘Oh, thank God for...!’ ‘There’s nothing more sacred/holy/important than...!’","word":"vvr"},"IPL":{"name":"Implicative","desc":"‘of course,’ ‘after all,’ ‘needless to say.’","word":"vll"},"IPT":{"name":"Impatient","desc":"‘C’mon!,’ ‘What’re you waiting for?’ ‘so…already!’ as in the sentence ‘So dance already!’","word":"žžv"},"IRO":{"name":"Ironic","desc":"‘Oh, nice!’ ‘Just great!’ ‘Well, now, isn’t this lovely!’","word":"mmž"},"ISP":{"name":"Insipid","desc":"‘Meh... (said due to lack of interest)’ ‘How boring/tedious/dull!’","word":"lçp"},"IVD":{"name":"Invidious","desc":"‘Why does he/she/they get to... and I don’t?!’ ‘How unfair (that I don’t get to...)!’","word":"řřn"},"MAN":{"name":"Mandatory","desc":"‘take it or leave it,’ ‘this is your last chance,’","word":"msk"},"MNF":{"name":"Manifestive","desc":"‘Ah!’, ‘Well, now!’ ‘So!’ [Italian ‘Allora!’]","word":"pss"},"OPT":{"name":"Optimal","desc":"prolonged ‘so’ or ‘totally’ as in ‘I so don’t care!’ or ‘That is totally not what I meant.’","word":"ççk"},"PES":{"name":"Pessimistic","desc":"‘Yeah, like it really matters that...’ ‘Pfft! What’s it to me?’","word":"ksp"},"PPT":{"name":"Propitious","desc":"‘it’s a wonder that’ as in It’s a wonder he didn’t break a bone in that fall. ","word":"mll"},"PPX":{"name":"Perplexive","desc":"‘Huh? What do you mean…? What the hell? ‘WTF!?’ ‘You gotta be kidding me!’","word":"llh"},"PPV":{"name":"Propositive","desc":"‘what if…’ ‘It could be that….’ ‘Consider this: …’ ‘Posit the following: …’ ‘Assume for the sake of argument that….’","word":"sl"},"PSC":{"name":"Prosaic","desc":"‘Meh... (said in disappointment)’ ‘How ordinary!’","word":"žžt"},"PSM":{"name":"Presumptive","desc":"‘It can only mean one thing…,’ ‘and that’s that!’ ‘and that’s all there is to it!’ or ‘There’s no two ways about it,….’","word":"nnţ"},"RAC":{"name":"Reactive","desc":"‘My goodness! ‘Wow!’ ‘Amazing!’","word":"kll"},"RFL":{"name":"Reflective","desc":"‘Look at it this way…’ ‘As I see it,…’ ‘In my opinion…’ ‘From my point of view…’","word":"llm"},"RPU":{"name":"Repulsive","desc":"‘Yuck! Ew! How gross!’","word":"šštļ"},"RSG":{"name":"Resignative","desc":"‘So much for...!’ ‘There goes...!’","word":"msf"},"RVL":{"name":"Revelative","desc":"‘No wonder…!’ or ‘So that’s why…!’ ‘A-ha!….’ ‘Well, well, well!….’","word":"mmļ"},"SAT":{"name":"Satiative","desc":"‘How satisfying...!’ ‘At last, the pleasue of knowing/being/seeing/doing….’ [psychological/emotional pleasure/satiety only]","word":"ļţ"},"SGS":{"name":"Suggestive","desc":"‘How about...’ ‘We could...’ ‘Might I suggest...’","word":"ltç"},"SKP":{"name":"Skeptical","desc":"‘Yeah, right!’ ‘Oh, sure! Like anyone’s supposed to believe that!’","word":"rnž"},"SOL":{"name":"Solicitative","desc":"‘please’","word":"ňňs"},"STU":{"name":"Stupefactive","desc":"‘Woah!’ ‘Holy, bejeezus!’ ‘What the...!’ ‘Jeez, Louise...!’","word":"ļļč"},"TRP":{"name":"Trepidative","desc":"‘Oh, God…’ ‘Oh, no!….’ ‘Oh, dear!’ [fear-based]","word":"llč"},"VEX":{"name":"Vexative","desc":"‘How annoying!’ ‘What a bother!’ ‘What a pain!’","word":"ksk"}}},"freeType":{"type":"text","title":"Text Entry","popupdesc":"A borrowed word, probably spelt phonetically. Don\'t forget to prefix it with the appropriate suppletive adjunct!"}}'),Qt=JSON.parse('{"p":["stop","unvoiced","labial"],"b":["stop","voiced","labial"],"t":["stop","unvoiced","apico"],"d":["stop","voiced","apico"],"k":["stop","unvoiced","velar"],"g":["stop","voiced","velar"],"f":["fric","unvoiced","labial","nonsibil"],"v":["fric","voiced","labial","nonsibil"],"ţ":["fric","unvoiced","apico","nonsibil"],"ḑ":["fric","voiced","apico","nonsibil"],"s":["fric","unvoiced","apico","sibil"],"z":["fric","voiced","apico","sibil"],"š":["fric","unvoiced","apalat","sibil"],"ž":["fric","voiced","apalat","sibil"],"ç":["fric","unvoiced","palat","nonsibil"],"x":["fric","unvoiced","velar","nonsibil"],"h":["fric","unvoiced","glott"],"ļ":["fric","unvoiced","lateral"],"c":["affric","unvoiced","apico","sibil"],"ẓ":["affric","voiced","apico","sibil"],"č":["affric","unvoiced","apalat","sibil"],"j":["affric","voiced","apalat","sibil"],"m":["nasal","voiced","labial"],"n":["nasal","voiced","apico"],"ň":["nasal","voiced","velar"],"r":["liquid","voiced","apico"],"l":["liquid","voiced","lateral"],"w":["approx","voiced","labial"],"y":["approx","voiced","palat"],"ř":["approx","voiced","uvul"]}'),Zt={name:"Ithkuil_v4",components:{OptionBox:Yt},props:{listenModal:Array,listenWordtype:String,listenWord:Object,selectedWord:Number,sLength:Number,nextWord:Array},watch:{listenModal(e){this.updateFromModal(e[0],e[1])},listenWordtype(e){this.switchWordType(e)},listenWord(e){for(var t in this.gOptions=JSON.parse(JSON.stringify(e)),e)this.updateFromModal(t,JSON.parse(JSON.stringify(e[t])));this.handleSendMessage(e.root,"root")},ithkword(e){this.$emit("ithkword",[e,this.ipa,this.gloss,this.fullGloss]),this.$emit("gEmit",this.gOptions)},ipa(e){this.$emit("ithkword",[this.ithkword,e,this.gloss,this.fullGloss])},gloss(e){this.$emit("ithkword",[this.ithkword,this.ipa,e,this.fullGloss])},fullGloss(e){this.$emit("ithkword",[this.ithkword,this.ipa,this.gloss,e])}},data(){return{defaultWord:"aal",settings:{IPA:{a:["Pronunciation of ⟨a⟩: ","[a]",["[a]","[ɑ]"]],e:["Pronunciation of ⟨e⟩: ","[ɛ]",["[ɛ]","[e]"]],"ë":["Pronunciation of ⟨ë⟩: ","[ɤ]",["[ɤ]","[ʌ]","[ə]"]],i:["Pronunciation of ⟨i⟩: ","[i]",["[i]","[ɪ]"]],o:["Pronunciation of ⟨o⟩: ","[ɔ]",["[ɔ]","[o]"]],"ö":["Pronunciation of ⟨ö⟩: ","[œ]",["[œ]","[ø]"]],u:["Pronunciation of ⟨u⟩: ","[ʊ]",["[ʊ]","[u]"]],"ü":["Pronunciation of ⟨ü⟩: ","[ʉ]",["[ʉ]","[y]"]],x:["Pronunciation of ⟨x⟩: ","[x]",["[x]","[χ]"]],rr:["Pronunciation of ⟨řř⟩: ","[ʁː]",["[ʁː]","[ʀ]"]],hx:["Pronunciation of ⟨hl⟩, ⟨hr⟩, ⟨hm⟩, ⟨hn⟩, ⟨hň⟩: ","Devoiced",["Devoiced","As written"]]},Miscellaneous:{ej:["Calculate External Juncture? ",!0],s8:["Move Slot 8 consonant to Slot 6 if possible? ",!1]}},wordType:"normal",gData:Kt,cData:Qt,gDefault:{root:"",stem:"s1",func:"STA",spec:"BSC",ctxt:"EXS",ver:"PRC",concat:"0",shcut:"0",Vafx:[],VIIafx:[],plex:"UPX",simil:"S",cctd:"S",affil:"CSL",ext:"DEL",persp:"M",ess:"NRM",vn:"val",val:"MNO",pha:"PCT",eff:"1:BEN",lvl:"MIN",asp:"RTR",mood:"FAC",casc:"CCN",rel:"UNF/C",c:"THM",ill:"ASR",vld:"OBS",suppType:"CAR",affRoot:"",arDegree:0,affixjunct:[],initialAffScope:"VDom",otherAffScope:"VDom",affScopeOf:"default",register:"DSV",regStartOrEnd:"0",vn2:"val",val2:"MNO",pha2:"PCT",eff2:"1:BEN",lvl2:"MIN",asp2:"RTR",mood2:"FAC",casc2:"CCN",vn3:"val",val3:"MNO",pha3:"PCT",eff3:"1:BEN",lvl3:"MIN",asp3:"RTR",v4n:"val",val4:"MNO",pha4:"PCT",eff4:"1:BEN",lvl4:"MIN",asp4:"RTR",cn:"mood",modAppliesTo:"all",modNumber:"1",vh:"vn",modScope:"a",ref:"1M",refEff:"NEU",refPersp:"M",ref2:"1M",refEff2:"NEU",refPersp2:"M",ess2:"NRM",c1:"THM",c2:"THM",twoRefs:!1,twoCs:!1,refAffix:[],bias:"ACC",freeType:""},gOptions:{},sVowels:[["a","ai","ia","ao"],["ä","au","ie","aö"],["e","ei","io","eo"],["i","eu","iö","eö"],["ëi","ëu","eë","oë"],["ö","ou","uö","öe"],["o","oi","uo","oe"],["ü","iu","ue","öa"],["u","ui","ua","oa"],["ae","ea","üo","üö"]],ipaLookup:{p:"p",b:"b",m:"m",f:"f",v:"v",w:"w",t:"t",d:"d","ţ":"θ","ḑ":"ð",s:"s",z:"z",c:"ts","ẓ":"dz","š":"ʃ","ž":"ʒ","č":"tʃ",j:"dʒ","ç":"ç",y:"j",k:"k",g:"g","ň":"ŋ","ř":"ʁ","'":"ʔ",h:"h","ļ":"ɬ",l:"l"},shortcutting:!1,shcuttypeA:0,shcuttypeB:0,slotVIIshortcut:!1,sDip:["ai","ei","ëi","oi","ui","au","eu","ëu","ou","iu"],sAccent:{a:"á",e:"é",i:"í","ì":"í",o:"ó",u:"ú","ä":"â","ë":"ê","ö":"ô","ü":"û"},slots:["","","","","","","","","","",""],cut:[!1,!1,!1],ithkword:"",gloss:"",fullGloss:"",ipa:"",cascOrMood:!1,eightSix:!1,allographs:{cczz:"čč",yc:"čč",xxy:"çç",ccs:"çç",ddt:"ḑḑ",hxll:"ļļ",wwnn:"ňň",yn:"ňň",wrr:"řř",yr:"řř",ssz:"šš",tts:"ţţ",ttd:"ţţ",wtt:"ţţ",zzs:"žž",ddz:"ẓẓ",dzz:"ẓẓ",cz:"č",xy:"ç",cs:"ç",dt:"ḑ",hxl:"ļ",wn:"ň",wr:"ř",sz:"š",ts:"ţ",td:"ţ",wt:"ţ",zs:"ž",dz:"ẓ",aaqqq:"â'",eeqqq:"ê'",ooqqq:"ô'",uuqqq:"û'",aqqq:"ä'",eqqq:"ë'",oqqq:"ö'",uqqq:"ü'",qq:"'",aaq:"â",ooq:"ô",eeq:"ê",uuq:"û",aq:"ä",eq:"ë",uq:"ü",oq:"ö",aa:"á",ee:"é",ii:"í",oo:"ó",uu:"ú","ṭ":"ţ","ŧ":"ţ","ḍ":"ḑ","đ":"ḑ","ņ":"ň","ṇ":"ň","ŗ":"ř","ṛ":"ř","ł":"ļ","ḷ":"ļ","ż":"ẓ","ı":"i"},tabGroups:{normal:[["root","stem","spec"],["func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","asp"],["casc","c"],["mood","ill","vld"]],suppletive:[["suppType","c"]],affRoot:[["affRoot","arDegree"],["spec","func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","asp"],["casc","c"],["mood","ill","vld"]],refRoot:[["ref","refEff","refPersp"],["spec","func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","asp"],["casc","c"],["mood","ill","vld"]],affixjunct:[["affixjunct","initialAffScope","otherAffScope","affScopeOf"]],register:[["register","regStartOrEnd"]],modular:[["modAppliesTo","modNumber","cn","vh"],["vn","val","pha","eff","lvl"],["vn2","val2","pha2","eff2","lvl2","asp2"],["vn3","val3","pha3","eff3","lvl3","asp3"]],ref:[["ref","refEff","refPersp","c1"],["twoCs","twoRefs","ref2","refEff2","refPersp2","c2","ess2"]],refCS:[["ref","refEff","refPersp","c1","spec"],["refAffix","twoCs","c2","ess2"]],bias:[],free:[]},rootDB:[],affixDB:[]}},methods:{async handleSendMessage(e="",t=""){if(this.cut=[!1,!1,!1],t){await void 0;var s=JSON.parse(JSON.stringify(e));let i;if(i=isNaN(t.slice(-1))?t:t.slice(0,-1),"text"==this.gData[i].type)for(let e in this.allographs)s=s.replaceAll(e,this.allographs[e]);else if("affix"==this.gData[i].type)for(let e in s)for(let t in this.allographs)s[e][0]=s[e][0].replaceAll(t,this.allographs[t]);else s=e;this.gOptions[t]=s}"normal"==this.wordType||"affRoot"==this.wordType||"refRoot"==this.wordType?(this.calculateWord(),this.IPAcalcs(),this.glossCalcs(),this.cascOrMood="UNF/K"==this.gOptions.rel&&"0"==this.gOptions.concat):(this.gloss="",this.fullGloss="",this.cascOrMood=!1,this.calculateAdjunct(this.wordType),this.IPAcalcs())},notAvailableAlert(e){alert(e+" is not available yet!")},openModal(e){this.$emit("modal",e)},updateFromModal(e,t){this.$refs[e].updateValue(t)},switchWordType(e){this.wordType=e,this.calculateAdjunct(e),this.handleSendMessage()},calculateAdjunct(e){var t="";if("suppletive"==e)this.calculateSlot9(),this.slot9gStop(),this.ithkword={CAR:"hl",QUO:"hm",NAM:"hn",PHR:"hň"}[this.gOptions.suppType]+this.slots[9],this.gloss=this.gOptions.suppType+("THM"==this.gOptions.c?"":"-"+this.gOptions.c),this.fullGloss=this.gOptions.suppType+"-"+this.gOptions.c+"\\NRM";else if("affixjunct"==e){var s={VDom:"a",VSub:"u",VIIDom:"e",VIISub:"i",formative:"o",adjacent:"ö",same:"ai"},i={VDom:"h",VSub:"'h",VIIDom:"'hl",VIISub:"'hr",formative:"hw",adjacent:"'hw"};try{let e;e=1==this.gOptions.affixjunct.length&&3==this.gOptions.affixjunct[0][2]||4==this.gOptions.affixjunct[0][2],this.gloss=this.getAffixDefinition(this.gOptions.affixjunct[0][0],this.gOptions.affixjunct[0][1],e)+("CA"!=this.gOptions.affixjunct[0][1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[this.gOptions.affixjunct[0][2]]:""),this.fullGloss=this.gloss,this.gloss+="VDom"==this.gOptions.initialAffScope?"":"-{"+this.gOptions.initialAffScope+"}",this.fullGloss+="-{"+this.gOptions.initialAffScope+"}"}catch{this.gloss="",this.fullGloss=""}if(this.gOptions.affixjunct.length<1)this.ithkword="",this.gloss="",this.fullGloss="";else if(1==this.gOptions.affixjunct.length){var n=s[this.gOptions.initialAffScope],o=this.gOptions.affixjunct[0];"CA"!=o[1]?"a"==n&&this.allowedAtEnd(o[0])&&("conc"==this.gOptions.affScopeOf||this.sVowels[(o[1]+9)%10][o[2]-1].length>1&&!this.sDip.includes(this.sVowels[(o[1]+9)%10][o[2]-1]))&&(n=""):"a"!=n||!this.allowedAtEnd(o[0])||"conc"!=this.gOptions.affScopeOf&&this.sDip.includes("üö")||(n=""),"CA"!=o[1]?this.ithkword=this.sVowels[(o[1]+9)%10][o[2]-1]+o[0]+n:this.ithkword="üö"+o[0]+n}else{var a="",r=this.gOptions.affixjunct[0];for(var l of(this.allowedAtStart(r[0])||(a+="ë"),"CA"!=r[1]?a+=r[0]+this.sVowels[(r[1]+9)%10][r[2]-1]:a+=r[0]+"üö",a+=i[this.gOptions.initialAffScope],this.gOptions.affixjunct.slice(1)))"CA"!=l[1]?a+=this.sVowels[(l[1]+9)%10][l[2]-1]:a+="üö",a+=l[0];a+=s[this.gOptions.otherAffScope],a=this.recalcVowels(a),this.ithkword=a;for(let e of this.gOptions.affixjunct.slice(1))this.gloss+="-"+this.getAffixDefinition(e[0],e[1],4==e[2])+("CA"!=e[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[e[2]]:""),this.fullGloss+="-"+this.getAffixDefinition(e[0],e[1],4==e[2])+("CA"!=e[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[e[2]]:"");this.gloss+="same"==this.gOptions.otherAffScope?"":"-{"+this.gOptions.otherAffScope+"}",this.fullGloss+="-{"+this.gOptions.otherAffScope+"}"}this.gOptions.affixjunct.length>0&&(this.gloss+="conc"==this.gOptions.affScopeOf?"-{concat.}":"",this.fullGloss+="conc"==this.gOptions.affScopeOf?"-{concat.}":"",this.ithkword=this.markStress(["conc","default"].indexOf(this.gOptions.affScopeOf),this.ithkword))}else if("register"==e){var h={DSV:["a","ai"],PNT:["e","ei"],SPF:["i","iu"],EXM:["o","oi"],CGT:["u","ui"],END:["ü","ü"]};this.ithkword="h"+h[this.gOptions.register][this.gOptions.regStartOrEnd],this.gloss=this.gOptions.register+("1"==this.gOptions.regStartOrEnd&&"END"!=this.gOptions.register?"_END":""),this.fullGloss=this.gloss}else if("modular"==e)t+={all:"",parent:"w","concat.":"y"}[this.gOptions.modAppliesTo],this.gloss="all"!=this.gOptions.modAppliesTo?"{"+this.gOptions.modAppliesTo+"}-":"",["2","3"].includes(this.gOptions.modNumber)&&(t+=this.calculateSlot8a("2"),t+=this.calculateSlot8b("2",this.gOptions.cn),this.gloss+="MNO"!=this.gOptions[this.gOptions.vn2+"2"]?this.gOptions[this.gOptions.vn2+"2"]:"",this.gloss+="MNO"!=this.gOptions[this.gOptions.vn2+"2"]&&"FAC"!=this.gOptions[this.gOptions.cn+"2"]&&"CCN"!=this.gOptions[this.gOptions.cn+"2"]?".":"",this.gloss+="FAC"!=this.gOptions[this.gOptions.cn+"2"]&&"CCN"!=this.gOptions[this.gOptions.cn+"2"]?this.gOptions[this.gOptions.cn+"2"]:"",this.fullGloss+=this.gOptions[this.gOptions.vn2+"2"]+"."+this.gOptions[this.gOptions.cn+"2"]),"3"==this.gOptions.modNumber&&(t+=this.calculateSlot8a("3"),t+="asp"==this.gOptions.vn3?"n":"ň",this.gloss+="MNO"!=this.gOptions[this.gOptions.vn3+"3"]?"-"+this.gOptions[this.gOptions.vn3+"3"]:"",this.fullGloss+="-"+this.gOptions[this.gOptions.vn3+"3"]),t=this.recalcVowels(t),"1"==this.gOptions.modNumber?(t+=this.calculateSlot8a("4","asp"),this.gloss+=this.gOptions.asp4,this.fullGloss+=this.gOptions.asp4):"vn"==this.gOptions.vh?(t+=this.calculateSlot8a("4"),this.gloss+="MNO"!=this.gOptions[this.gOptions.v4n+"4"]?"-"+this.gOptions[this.gOptions.v4n+"4"]:"",this.fullGloss+="-"+this.gOptions[this.gOptions.v4n+"4"]):(t+=this.gOptions.modScope,t=this.markStress(0,t),this.gloss+="-{"+{a:"form.",e:"mood",i:"under adj.",o:"over adj.",u:"under adj."}[this.gOptions.modScope]+"}",this.fullGloss+="-{"+{a:"form.",e:"mood",i:"under adj.",o:"over adj.",u:"under adj."}[this.gOptions.modScope]+"}"),this.ithkword=t;else if("ref"==e){var c=this.calculateReference(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp);t+=this.allowedAtStart(c)&&(this.gOptions.twoCs||"RPV"!=this.gOptions.ess2)?"":"ë",t+=c,this.calculateSlot9("1"),this.slot9gStop(),t+=this.slots[9];let e=this.refGloss(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp);if(this.gloss=e[0],this.fullGloss=e[1],this.gloss+="THM"!=this.gOptions.c1||this.gOptions.twoCs?"-"+this.gOptions.c1:"",this.fullGloss+="-"+this.gOptions.c1,this.gOptions.twoCs&&(t+="w",this.calculateSlot9("2"),this.slot9gStop(),t+=this.slots[9],this.gloss+="-"+this.gOptions.c2,this.fullGloss+="-"+this.gOptions.c2,this.gOptions.twoRefs)){var d=this.calculateReference(this.gOptions.ref2,this.gOptions.refEff2,this.gOptions.refPersp2);t+=d,t+=this.allowedAtEnd(d)?"":"ë";let e=this.refGloss(this.gOptions.ref2,this.gOptions.refEff2,this.gOptions.refPersp2);this.gloss+="-"+e[0],this.fullGloss+="-"+e[1]}!["a","á","ä","â","e","ë","é","ê","i","í","o","ö","ó","ô","u","ü","ú","û"].includes(t.charAt(t.length-1))&&this.calculateEJ&&(t+="ë"),t=this.recalcVowels(t),"RPV"==this.gOptions.ess2?(t=this.markStress(0,t),this.gloss+="\\RPV",this.fullGloss+="\\RPV"):this.fullGloss+="\\NRM",this.ithkword=t}else if("refCS"==e){var p=this.calculateReference(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp);t+=this.allowedAtStart(p)?"":"ë",t+=p,this.calculateSlot9("1"),this.slot9gStop(),t+=this.slots[9],t+={BSC:"x",CTE:"xt",CSV:"xp",OBJ:"xx"}[this.gOptions.spec];let e=this.refGloss(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp);for(var f in this.gloss=e[0],this.gloss+="THM"!=this.gOptions.c1||this.gOptions.twoCs?"-"+this.gOptions.c1:"",this.gloss+="BSC"==this.gOptions.spec?"":"-"+this.gOptions.spec,this.fullGloss=e[1]+"-"+this.gOptions.c1+"-"+this.gOptions.spec,this.gOptions.refAffix){var u=Object.assign({},this.gOptions.refAffix[f]);"CA"!=u[1]?t+=this.sVowels[(u[1]+9)%10][u[2]-1]:t+="üö",t+=u[0],this.gloss+="-'"+u[0]+"'/"+u[1]+("CA"!=u[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[u[2]]:""),this.fullGloss+="-'"+u[0]+"'/"+u[1]+("CA"!=u[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[u[2]]:"")}this.gOptions.twoCs?(this.calculateSlot9("2"),this.slot9gStop(),t+="a"==this.slots[9]?"üa":this.slots[9],this.gloss+="-"+this.gOptions.c2,this.fullGloss+="-"+this.gOptions.c2):0!=this.gOptions.refAffix.length||this.gOptions.twoCs||"RPV"!=this.gOptions.ess2?this.gOptions.refAffix.length>0&&(this.allowedAtEnd(this.gOptions.refAffix[this.gOptions.refAffix.length-1][0])||(t+="a")):t+="a",!["a","á","ä","â","e","ë","é","ê","i","í","o","ö","ó","ô","u","ü","ú","û"].includes(t.charAt(t.length-1))&&this.calculateEJ&&(t+="a"),t=this.recalcVowels(t),"RPV"==this.gOptions.ess2?(t=this.markStress(0,t),this.gloss+="\\RPV",this.fullGloss+="\\RPV"):this.fullGloss+="\\NRM",this.ithkword=t}else"bias"==e?(this.ithkword=this.gData.bias.options[this.gOptions.bias].word,this.gloss=this.gOptions.bias,this.fullGloss=this.gOptions.bias):"free"==e?this.ithkword=this.gOptions.freeType:(this.calculateWord(),this.glossCalcs());this.IPAcalcs()},calculateReference(e,t,s,i=!1){var n,o={"1M":{NEU:"l",BEN:"r",DET:"ř"},"2M":{NEU:"s",BEN:"š",DET:"ž"},"2P":{NEU:"n",BEN:"t",DET:"d"},MA:{NEU:"m",BEN:"p",DET:"b"},PA:{NEU:"ň",BEN:"k",DET:"g"},MI:{NEU:"z",BEN:"ţ",DET:"ḑ"},PI:{NEU:"ẓ",BEN:"f",DET:"v"},MX:{NEU:"c",BEN:"č",DET:"j"},RDP:{NEU:"th",BEN:"ph",DET:"kh"},OBV:{NEU:"ll",BEN:"rr",DET:"řř"},PVS:{NEU:"mm",BEN:"nn",DET:"ňň"}};n=i&&["OBV","PVS"].includes(e)?{OBV:{NEU:"lç",BEN:"rç",DET:"řç"},PVS:{NEU:"mç",BEN:"nç",DET:"ňç"}}[e][t]:o[e][t];var a=[];return"A"==s?this.consAllowed(n+"w")?n+="w":n+="y":"G"!=s&&"N"!=s||(a="G"==s?["ļ","tļ"]:["ç","x"],this.allowedAtEnd(a[0]+n)?n=a[0]+n:this.allowedAtEnd(a[1]+n)?n=a[1]+n:this.allowedAtEnd(n+a[0])?n+=a[0]:this.allowedAtEnd(n+a[1])?n+=a[1]:this.consAllowed(n+a[0])?n+=a[0]:this.consAllowed(n+a[1])?n+=a[1]:this.consAllowed(a[0]+n)?n+=a[0]:n+=a[1]),n},calculateWord(){this.calculateSlot3(),this.calculateSlot4(),this.calculateSlot6(),this.shortcutCalcs(),this.calculateSlot1(),this.calculateSlot2(),this.calculateSlot5(),this.calculateSlot7(),this.slots[7]=this.calculateSlot8a(),this.slots[8]=this.calculateSlot8b(),this.calculateSlot9(),this.finalCalcs()},calculateSlot1(){this.shortcutting?this.slots[0]=[["","w","y"],["h","hl","hm"],["hw","hr","hn"]][this.gOptions.concat][this.shcuttypeA]:this.slots[0]=["","h","hw"][this.gOptions.concat]},calculateSlot2(){var e={s1:{PRC:0,CPT:1},s2:{PRC:2,CPT:3},s0:{CPT:5,PRC:6},s3:{CPT:7,PRC:8}},t={PRC:{STA:"ëi",DYN:"eë"},CPT:{STA:"ëu",DYN:"oë"}},s={PRC:"ae",CPT:"ea"};if("normal"==this.wordType)if(this.shortcutting)this.slotVIIshortcut=!1,this.slots[1]=this.sVowels[e[this.gOptions.stem][this.gOptions.ver]][this.shcuttypeB];else{var i,n=0;"3"!=this.gOptions.shcut&&"2"!=this.gOptions.shcut?(i=this.gOptions.VIIafx.length>0?[...this.gOptions.VIIafx[this.gOptions.VIIafx.length-1]]:["no",0,0],"r"===i[0]&&4===i[1]&&1===i[2]?(n=1,this.slotVIIshortcut=!0):"t"===i[0]&&4===i[1]&&1===i[2]?(n=2,this.slotVIIshortcut=!0):"t"===i[0]&&5===i[1]&&1===i[2]?(n=3,this.slotVIIshortcut=!0):this.slotVIIshortcut=!1):this.slotVIIshortcut=!1,this.slots[1]=this.sVowels[e[this.gOptions.stem][this.gOptions.ver]][n]}else"affRoot"==this.wordType?this.slots[1]=t[this.gOptions.ver][this.gOptions.func]:"refRoot"==this.wordType&&(this.slots[1]=s[this.gOptions.ver]);this.gOptions.Vafx.length>=2&&(this.slots[1]=this.insertGStop(this.slots[1]))},calculateSlot3(){"normal"==this.wordType?this.slots[2]=this.gOptions.root.toLowerCase():"affRoot"==this.wordType?this.slots[2]=this.gOptions.affRoot.toLowerCase():"refRoot"==this.wordType&&(this.slots[2]=this.calculateReference(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp))},calculateSlot4(){var e={STA:{BSC:0,CTE:1,CSV:2,OBJ:3},DYN:{OBJ:5,CSV:6,CTE:7,BSC:8}},t=["EXS","FNC","RPS","AMG"];"normal"==this.wordType||"refRoot"==this.wordType?this.slots[3]=this.sVowels[e[this.gOptions.func][this.gOptions.spec]][t.indexOf(this.gOptions.ctxt)]:"affRoot"==this.wordType&&(this.slots[3]=this.sVowels[this.gOptions.arDegree][t.indexOf(this.gOptions.ctxt)])},calculateSlot5(){var e="";for(var t in this.gOptions.Vafx){var s=Object.assign({},this.gOptions.Vafx[t]);this.shortcutting?(t==this.gOptions.Vafx.length-1?"CA"!=s[1]?e+=this.insertGStop(this.sVowels[(s[1]+9)%10][s[2]-1]):e+=this.insertGStop("üö"):"CA"!=s[1]?e+=this.sVowels[(s[1]+9)%10][s[2]-1]:e+="üö",e+=s[0]):(e+=s[0],"CA"!=s[1]?e+=this.sVowels[(s[1]+9)%10][s[2]-1]:e+="üö")}this.slots[4]=e},calculateSlot6(e=!1,t=null,s=null,i=null,n=null,o=null,a=null,r=null){e||(t=this.gOptions.affil,s=this.gOptions.plex,i=this.gOptions.simil,n=this.gOptions.cctd,o=this.gOptions.ext,a=this.gOptions.ess,r=this.gOptions.persp);var l={CSL:"",ASO:"l",COA:"r",VAR:"ř"}[t],h="UPX"===s?"":"DPX"===s?"s":{M:{S:{S:"t",C:"k",F:"p"},D:{S:"ţ",C:"f",F:"ç"},F:{S:"z",C:"ž",F:"ẓ"}},D:{S:{S:"c",C:"ks",F:"ps"},D:{S:"ţs",C:"fs",F:"š"},F:{S:"č",C:"kš",F:"pš"}}}[s][i][n],c=(""===h?{DEL:"",PRX:"d",ICP:"g",ATV:"b",GRA:"gz",DPL:"bz"}:{DEL:"",PRX:"t",ICP:"k",ATV:"p",GRA:"g",DPL:"b"})[o],d={NRM:{M:"",G:"r",N:"w",A:"y"},RPV:{M:"l",G:"ř",N:"m",A:"n"}}[a][r];["t","k","p"].includes(c)&&""!=h&&""!=l&&["m","n"].includes(d)&&(d={m:"h",n:"ç"}[d]),""===h&&""===c&&""===d&&""!=l?"l"==l?l="nļ":"ř"==l?l="ň":l+="ļ":""===l&&""===h&&""===c&&(""===d?d="l":"l"===d?d="tļ":"w"===d?d="v":"y"===d&&(d="j"));var p=l+h+c+d,f={pp:"mp",tt:"nt",kk:"nk",ll:"pļ",pb:"mb",kg:"ng","çy":"nd",rr:"ns","rř":"nš","řř":"ňš","řr":"ňs"};for(var u in f)p=p.replace(u,f[u]);var g={gm:"x",gn:"ň",bm:"v",bn:"ḑ"};for(var m in g)p=p.charAt(0)+p.slice(1).replace(m,g[m]);if(p=p.replace("ngn","ňn"),p=p.charAt(0)+p.slice(1).replace("çx","xw"),p=p.replace("fv","vw").replace("ţḑ","ḑy"),e)return p;if(this.slots[10]=p,0!=Object.keys(this.gOptions.Vafx).length){var b=p;p=this.geminate(p),p==b&&["l","r","ř"].includes(p.charAt(0))&&(p=p.charAt(0)+this.geminate(p.slice(1)))}this.slots[5]=p},geminate(e){var t={pt:"bbḑ",pk:"bbv",kt:"ggḑ",kp:"ggv",tk:"ḑvv",tp:"ddv"},s={pm:"vvm",pn:"vvn",bm:"mmw",bn:"mml",km:"xxm",kn:"xxn",gm:"ňňw",gn:"ňňl",tm:"ḑḑm",tn:"ḑḑn",dm:"nnw",dn:"nnl"};return 1===e.length?e+=e:"tļ"===e?e="ttļ":["t","k","p","d","g","b"].includes(e.charAt(0))&&["l","r","ř","w","y"].includes(e.charAt(1))?e=e.charAt(0)+e:e.includes("s")||e.includes("š")||e.includes("z")||e.includes("ž")||e.includes("ç")||e.includes("c")||e.includes("č")?e=e.replace("s","ss").replace("š","šš").replace("z","zz").replace("ž","žž").replace("ç","çç").replace("c","cc").replace("č","čč"):["f","ţ","v","ḑ","n","m","ň"].includes(e.charAt(0))?e=e.charAt(0)+e:["t","k","p"].includes(e.charAt(0))&&["s","š","f","ţ","ç"].includes(e.charAt(1))?e=e.charAt(0)+e.charAt(1)+e.slice(1):Object.prototype.hasOwnProperty.call(t,e.slice(-2))?e=e.slice(0,-2)+t[e.slice(-2)]:Object.prototype.hasOwnProperty.call(s,e.slice(-2))&&(e=e.slice(0,-2)+s[e.slice(-2)]),e},calculateSlot7(){var e="";if(this.slotVIIshortcut&&!this.shortcutting&&"3"!=this.gOptions.shcut&&"2"!=this.gOptions.shcut)for(var t in this.gOptions.VIIafx.slice(0,-1)){var s=Object.assign({},this.gOptions.VIIafx[t]);"CA"!=s[1]?e+=this.sVowels[(s[1]+9)%10][s[2]-1]:e+="üö",e+=s[0]}else for(var i in this.gOptions.VIIafx){var n=Object.assign({},this.gOptions.VIIafx[i]);"CA"!=n[1]?e+=this.sVowels[(n[1]+9)%10][n[2]-1]:e+="üö",e+=n[0]}this.slots[6]=e},calculateSlot8a(e="",t=""){var s;if(s=""!=t?t:"4"==e?this.gOptions["v4n"]:this.gOptions["vn"+e],"asp"!==s){var i,n=["val","pha","eff","lvl"],o={val:["MNO","PRL","CRO","RCP","CPL","DUP","DEM","CNG","PTI"],pha:["PCT","ITR","REP","ITM","RCT","FRE","FRG","VAC","FLC"],eff:["1:BEN","2:BEN","3:BEN","SLF:BEN","UNK","SLF:DET","3:DET","2:DET","1:DET"],lvl:["MIN","SBE","IFR","DFT","EQU","SUR","SPL","SPQ","MAX"]};return i="4"==e?this.sVowels[o[this.gOptions["v4n"]].indexOf(this.gOptions[this.gOptions["v4n"]+e])][n.indexOf(this.gOptions["v4n"])]:this.sVowels[o[this.gOptions["vn"+e]].indexOf(this.gOptions[this.gOptions["vn"+e]+e])][n.indexOf(this.gOptions["vn"+e])],i}var a=[["RTR","PRS","HAB","PRG","IMM","PCS","REG","SMM","ATP"],["RSM","CSS","PAU","RGR","PCL","CNT","ICS","EXP","IRP"],["PMP","CLM","DLT","TMP","XPD","LIM","EPD","PTC","PPR"],["DCL","CCL","CUL","IMD","TRD","TNS","ITC","MTV","SQN"]];for(var r in a)if(a[r].includes(this.gOptions["asp"+e]))return this.sVowels[a[r].indexOf(this.gOptions["asp"+e])][r]},calculateSlot8b(e="",t=""){var s=[],i=[];return s="asp"===this.gOptions["vn"+e]?["w","hw","hrw","hmw","hnw","hňw"]:["h","hl","hr","hm","hn","hň"],("modular"==this.wordType?"casc"==t:"UNF/K"!=this.gOptions.rel||"0"!=this.gOptions.concat)?(i=["CCN","CCA","CCS","CCQ","CCP","CCV"],s[i.indexOf(this.gOptions["casc"+e])]):(i=["FAC","SUB","ASM","SPC","COU","HYP"],s[i.indexOf(this.gOptions["mood"+e])])},calculateSlot9(e=""){var t=[["THM","INS","ABS","AFF","STM","EFF","ERG","DAT","IND"],["POS","PRP","GEN","ATT","PDC","ITP","OGN","IDP","PAR"],["APL","PUR","TRA","DFR","CRS","TSP","CMM","CMP","CSD"],["FUN","TFM","CLA","RSL","CSM","CON","AVR","CVS","SIT"]],s=[["PRN","DSP","COR","CPS","COM","UTL","PRD","n/a","RLT"],["ACT","ASI","ESS","TRM","SEL","CFM","DEP","n/a","VOC"],["LOC","ATD","ALL","ABL","ORI","IRL","INV","n/a","NAV"],["CNR","ASS","PER","PRO","PCV","PCR","ELP","n/a","PLM"]],i=["OBS","REC","PUP","RPR","USP","IMA","CVN","ITU","INF"],n=["DIR","DEC","IRG","VER","n/a","ADM","POT","HOR","CNJ"],o=!1;if("UNF/K"!==this.gOptions.rel||"0"!=this.gOptions.concat||["suppletive","ref"].includes(this.wordType)){for(var a in t)t[a].includes(this.gOptions["c"+e])&&(this.slots[9]=this.sVowels[t[a].indexOf(this.gOptions["c"+e])][a],o=!0);if(!o)for(var r in s)s[r].includes(this.gOptions["c"+e])&&(this.slots[9]=this.sVowels[s[r].indexOf(this.gOptions["c"+e])][r]+"'")}else"ASR"==this.gOptions.ill?this.slots[9]=this.sVowels[i.indexOf(this.gOptions.vld)][0]:this.slots[9]=this.sVowels[n.indexOf(this.gOptions.ill)][1]},shortcutCalcs(){if("1"==this.gOptions.shcut&&"a"==this.slots[3]&&["l","d","r","tļ","v","j","ř","dl"].includes(this.slots[10])&&"normal"==this.wordType||"refRoot"==this.wordType&&"1"==this.gOptions.shcut&&"a"==this.slots[3]&&["l","d"].includes(this.slots[10])){var e={l:[1,0],d:[2,0],r:[1,1],"tļ":[2,1],v:[1,2],j:[2,2],"ř":[1,3],dl:[2,3]};try{this.shortcutting=!0,this.shcuttypeA=e[this.slots[10]][0],this.shcuttypeB=e[this.slots[10]][1],this.slots[3]="",this.slots[5]=""}catch{this.shortcutting=!1,this.calculateSlot4(),this.calculateSlot6()}}else this.shortcutting=!1},insertGStop(e,t=!1){return 1===e.length||this.sDip.includes(e)?t?1===e.length?e+"'"+e:e.charAt(0)+"'"+e.charAt(1):e+"'":e.charAt(0)+"'"+e.charAt(1)},getCons(...e){var t=[];for(var s in this.cData)for(var i in e)e[i].every((e=>this.cData[s].includes(e)))&&!t.includes(s)&&t.push(s);return t},removeDuplicate(e){var t="",s="";for(var i of e)i!=s&&(t+=i,s=i);return t},slot9gStop(){"'"===this.slots[9].charAt(this.slots[9].length-1)&&("0"==this.gOptions.concat||["suppletive","ref","refCS"].includes(this.wordType)?(this.slots[9]=this.slots[9].slice(0,-1),this.slots[9]=this.insertGStop(this.slots[9],!0)):this.slots[9]=this.slots[9].slice(0,-1))},allowedAtStart(e){if(this.consAllowed(e)){var t=this.removeDuplicate(e);if(1===t.length){if("ļ"!==t)return!0}else if(2===t.length){var s=t.charAt(0),i=t.charAt(1);if(this.getCons(["stop"]).includes(s)&&["r","l","ř","w","y"].includes(i)||["p","k"].includes(s)&&["s","š"].includes(i)||["b","g"].includes(s)&&["z","ž"].includes(i)||"p"===s&&["f","ţ","ç","x","h","ļ"].includes(i)||"b"===s&&["v","ḑ"].includes(i)||"t"===s&&["f","v","ţ","ḑ","ç","x","h","ļ"].includes(i)||"d"===s&&"v"==i||"k"===s&&["f","ţ","ç","x","h"].includes(i)||"g"===s&&["v","ḑ"].includes(i)||["s","š"].includes(s)&&this.getCons(["stop","unvoiced"],["fric","nonsibil","unvoiced"],["affric","unvoiced"]).includes(i)||["z","ž"].includes(s)&&this.getCons(["stop","voiced"],["fric","nonsibil","voiced"],["affric","voiced"]).includes(i)||["s","z","š","ž"].includes(s)&&["m","n","ň","r","l","w","y","ř","v"].includes(i)||["c","č"].includes(s)&&this.getCons(["fric","nonsibil","unvoiced"],["stop","unvoiced"]).includes(i)||["c","č"].includes(s)&&"h"===i||["ẓ","j"].includes(s)&&this.getCons(["fric","nonsibil","voiced"],["stop","voiced"]).includes(i)||["c","ẓ","č","j"].includes(s)||"x"===s&&["p","t","c","č","m","n","l","r","w"].includes(i)||"ç"===s&&["p","t","c","č","k","m","n","ň","l","r","ř"].includes(i)||["f","ţ"].includes(s)&&this.getCons(["stop","unvoiced"],["affric","unvoiced"]).includes(i)||["v","ḑ"].includes(s)&&this.getCons(["stop","voiced"],["affric","voiced"]).includes(i)||["f","v","ţ","ḑ"].includes(s)&&["r","l","w","y","ř","m","n","ň"].includes(i)||"ļ"===s&&this.getCons(["stop","unvoiced"],["affric","unvoiced"],["nasal"]).includes(i)||"ļ"===s&&["w","y"].includes(i)||"h"===s&&["l","r","m","n","w"].includes(i)||["m","n"].includes(s)&&["l","r","w","y","ř"].includes(i)||"ň"===s&&["l","r","w"].includes(i)||["l","r"].includes(s)&&["w","y"].includes(i))return!0}else if(3===t.length){var n=t.charAt(0),o=t.charAt(1),a=t.charAt(2),r=n+o;if(["ps","pš","ks","kš"].includes(r)&&this.getCons(["stop","unvoiced"],["fric","nonsibil","unvoiced"],["affric","unvoiced"]).includes(a)||["bz","bž","gz","gž"].includes(r)&&this.getCons(["stop","voiced"],["fric","nonsibil","voiced"],["affric","voiced"]).includes(a)||["ps","pš","ks","kš","bz","bž","gz","gž"].includes(r)&&["m","n","ň","r","l","w","y","ř","v"].includes(a)||["p","b","t","d","k","g"].includes(n)&&["l","r"].includes(o)&&["w","y"].includes(a)||["p","t","k"].includes(n)&&"ç"===o&&["m","n","ň"].includes(a)||["p","k"].includes(n)&&["f","t"].includes(o)&&["y","w"].includes(a)||["p","t"].includes(o)&&"ļ"===o&&["w","y"].includes(a)||["s","š","ç"].includes(n)&&["p","t","k"].includes(o)&&["r","l","w","y","ř"].includes(a)||["z","ž"].includes(n)&&["b","d","g"].includes(o)&&["r","l","w","y","ř"].includes(a)||["s","z","š","ž","ç"].includes(n)&&["m","n"].includes(o)&&["w","y"].includes(a)||["s","z","š","ž","ç"].includes(n)&&"ň"===o&&"w"===a||["hlw","hrw","hmw","hnw","hmy","hny"].includes(t)||["c","č"].includes(n)&&["p","t","k"].includes(o)&&["r","l","w","y","ř"].includes(a)||["ẓ","j"].includes(n)&&["b","d","g"].includes(o)&&["r","l","w","y","ř"].includes(a)||["c","ẓ","č","j"].includes(n)&&["m","n"].includes(o)&&["w","y"].includes(a)||["c","ẓ","č","j"].includes(n)&&"ň"===o&&"w"===a||["flw","ţly","fly","ţly"].includes(t)||["xp","xt"].includes(r)&&["l","r","w","y"].includes(a)||["xm","xn"].includes(r)&&["w","y"].includes(a)||["xc","xč"].includes(r)&&"w"===a)return!0}else if(4===t.length){var l=t.charAt(0),h=t.charAt(1),c=t.charAt(2),d=t.charAt(3);if(["p","k"].includes(l)&&["s","š"].includes(h)&&["p","t","k"].includes(c)&&["r","l","w","y","ř"].includes(d)||["b","g"].includes(l)&&["z","ž"].includes(h)&&["b","d","g"].includes(c)&&["r","l","w","y","ř"].includes(d)||["s","š","ç","c","č"].includes(l)&&["p","t","k"].includes(h)&&"l"===c&&"y"===d||["z","ž","ẓ","j"].includes(l)&&["b","d","g"].includes(h)&&"l"===c&&"y"===d)return!0}return!1}return!1},allowedAtEnd(e){if(this.consAllowed(e)){var t=this.removeDuplicate(e);if(1==t.length){if("w"!==t&&"y"!==t&&"'"!==t)return!0}else if(2==t.length){var s=t.charAt(0),i=t.charAt(1);if(["p","t","k"].includes(s)&&["f","ţ","s","š","ç","x","h","ļ"].includes(i)||["b","d","g"].includes(s)&&["v","ḑ","z","ž"].includes(i)||["k","p"].includes(s)&&"t"===i||["g","b"].includes(s)&&"d"===i||["s","š"].includes(s)&&["p","t","k"].includes(i)||["z","ž"].includes(s)&&["b","d","g"].includes(i)||["c","č"].includes(s)&&["t","k"].includes(i)||["ẓ","j"].includes(s)&&["d","g"].includes(i)||"f"===s&&["t","k","s","š","ç"].includes(i)||"v"===s&&["d","g","z","ž"].includes(i)||"ţ"===s&&["t","k"].includes(i)||"ḑ"===s&&["d","g"].includes(i)||["ļ","x"].includes(s)&&["p","t","k"].includes(i)||["m","n"].includes(s)&&["p","b","t","d","k","g","f","v","ţ","ḑ","s","z","š","ž","ç","x","h","ļ"].includes(i)||"ň"===s||"r"===s&&"w"!==i&&"y"!==i&&"'"!==i||"l"===s&&!["'","w","y","r","ň"].includes(i)||s===i&&!["p","t","k","b","d","g","'"].includes(s))return!0}else if(3==t.length){var n=t.charAt(0),o=t.charAt(1),a=t.charAt(2);if("p"===o&&(["r","ř","l"].includes(n)&&["t","k","f","ţ","x","s","š","h","ļ","ç"].includes(a)||["m","ň"].includes(n)&&["h","ļ","ç"].includes(a)||["s","š","ç"].includes(n)&&["f","ţ","s","š","ļ","ç"].includes(a))||"t"===o&&(["l","r","ř"].includes(n)&&["k","f","x","h","ļ","ç"].includes(a)||"n"===n&&["k","f","x","h"].includes(a)||["m","ň","s","š","ç"].includes(n)&&["h","ļ","ç"].includes(a))||"k"===o&&(["l","r","ř"].includes(n)&&["t","f","ţ","s","š","h","ç"].includes(a)||["n","f","ţ","l"].includes(n)&&["h","ç"].includes(a)||"m"===n&&["f","ţ","h","ç"].includes(a)||["s","š","ç"].includes(n)&&["f","ţ","s","š","h","ç"].includes(a))||"b"===o&&(["r","ř"].includes(n)&&["d","g","v","ḑ","z","ž"].includes(a)||"l"===n&&["v","ḑ","z","ž"].includes(a))||"d"===o&&["r","ř"].includes(n)&&["b","g","v"].includes(a)||"g"===o&&(["r","ř"].includes(n)&&["b","d","v","ḑ","z","ž"].includes(a)||"l"===n&&["v","ḑ","z","ž"].includes(a))||"f"===o&&(["l","r","ř","m","ň"].includes(n)&&["t","k","f","s","š"].includes(a)||["p","t","k"].includes(n)&&["k","f"].includes(a)||"f"===n&&["t","k","s","š"].includes(a))||"ţ"===o&&(["p","k","r","l","ř","m","n","ň"].includes(n)&&["t","k","ţ"].includes(a)||"ţ"===n&&["t","k"].includes(a))||"x"===o&&(["r","l","ř"].includes(n)&&["t","x"].includes(a)||["p","t","f","s","š","n","m"].includes(n)&&"x"===a||"x"===n&&"t"===a)||"ļ"===o&&(["p","t","r","ř","m","n","ň"].includes(n)&&["t","k","ļ"].includes(a)||["ļ","l"].includes(n)&&["t","k"].includes(a))||"s"===o&&(["r","l","ř","m","n","ň","p","k","f"].includes(n)&&["p","t","k","f","ţ","x","s"].includes(a)||"ţ"===n&&["p","t","k","s"].includes(a)||"s"===n&&["p","t","k","f","ţ","x"].includes(a))||"š"===o&&(["r","l","ř","m","n","ň","p","k","f"].includes(n)&&["p","t","k","f","ţ","x","š"].includes(a)||"ţ"===n&&["p","t","k","š"].includes(a)||"š"===n&&["p","t","k","f","ţ","x"].includes(a))||"v"===o&&(["r","ř","l"].includes(n)&&["v","z","ž"].includes(a)||["b","g","m","ň"].includes(n)&&"v"===a||"v"===n&&["z","ž"].includes(a))||"ḑ"===o&&["b","g","r","ř","l","n","m","ň"].includes(n)&&"ḑ"===a||"z"===o&&(["r","ř","l","n","m","ň"].includes(n)&&["b","d","g","z"].includes(a)||["b","g","v"].includes(n)&&"z"===a||"z"===n&&["b","d","g"].includes(a))||"ž"===o&&(["r","ř","l","n","m","ň"].includes(n)&&["b","d","g","ž"].includes(a)||["b","g","v"].includes(n)&&"ž"===a||"ž"===n&&["b","d","g"].includes(a))||"c"===o&&["r","ř","l"].includes(n)&&["t","k","c","h"].includes(a)||"č"===o&&["r","ř","l"].includes(n)&&["t","k","č","h"].includes(a)||"ẓ"===o&&["r","ř","l"].includes(n)&&["d","g","ẓ"].includes(a)||"j"===o&&["r","ř","l"].includes(n)&&["d","g","j"].includes(a)||"m"===o&&(["r","l","ř"].includes(n)&&["p","t","k","b","d","f","ţ","x","s","š","v","ḑ","z","ž","m","ļ","ç"].includes(a)||"m"===n&&["p","t","k","b","d","f","ţ","x","s","š","v","ḑ","z","ž","ļ","ç"].includes(a))||"n"===o&&(["r","ř"].includes(n)&&["t","k","d","g","f","ţ","x","s","š","v","ḑ","z","ž","n","ļ","ç"].includes(a)||"l"===n&&["t","k","d","g","ţ","s","š","z","ž","ļ","ç"].includes(a)||"n"===n&&["t","k","d","g","f","ţ","x","s","š","v","ḑ","z","ž","ļ","ç"].includes(a))||"l"===o&&"l"===n&&["p","t","k","b","d","g","f","ţ","x","s","š","v","ḑ","z","ž","c","č","ẓ","j","m","n","ň","ç"].includes(a)||["r","ř"].includes(o)&&["r","ř"].includes(n)&&["p","t","k","b","d","g","f","ţ","x","s","š","v","ḑ","z","ž","c","č","ẓ","j","m","n","ň","l","ļ","ç"].includes(a)||"ç"===o&&(["p","t","k","m","n","ň","r","l","ř"].includes(n)&&["t","k","ç"].includes(a)||"ç"===n&&["t","k"].includes(a)))return!0}else if(4==t.length){var r=t.charAt(0),l=t.charAt(1),h=t.charAt(2),c=l+h,d=t.charAt(3);if((["l","r","ř"].includes(r)&&(["tç","pf","fs","fš"].includes(c)||["k","p"].includes(l)&&["s","š","ţ","ç"].includes(h))||"r"===r&&(["n","ň","m"].includes(l)&&["s","š","ţ","ç"].includes(h)||["ň","m"].includes(l)&&"f"===h))&&["t","k"].includes(d))return!0}return!1}return!1},consAllowed(e){for(var t in e.slice(0,-1)){let s=e.charAt(t),i=e.charAt(t+1),n=e.charAt(t+2);if("'"!=s&&e.split("'").length>=2||e.split("'").length>=3)return!1;if(["t","d"].includes(s)&&["s","z","š","ž","c","ẓ","č","j","ţ","ḑ"].includes(i))return!1;if(["k","g"].includes(s)&&["x","ň"].includes(i))return!1;if(["kg","gk","td","dt","pb","bp"].includes(s+i))return!1;if(["fv","vf","ţḑ","ḑţ","cẓ","ẓc","čj","jč","čc","jc","čẓ","jẓ"].includes(s+i))return!1;if(["šc","šẓ","žc","žẓ","sẓ"].includes(s+i))return!1;if(s!=i&&["s","š","z","ž"].includes(s)&&["s","š","z","ž"].includes(i))return!1;if(["c","ẓ","č","j"].includes(s)&&["s","š","z","ž"].includes(i))return!1;if("ç"==s&&["s","z","š","ž","ẓ","j","ļ","h"].includes(i))return!1;if("ç"==i&&["c","ẓ","č","j","ļ","h","x"].includes(s))return!1;if("n"==s&&["c","č","ẓ","j"].includes(i))return!1;if("m"==s&&["b","p"].includes(i)&&["f","v","ţ","ḑ","t","d","s","z","š","ž"].includes(n))return!1;if("n"==s&&["k","g"].includes(i)&&["s","z","š","ž"].includes(n))return!1;if("n"==s&&["p","b"].includes(i))return!1;if("n"==s&&["f","v"].includes(i)&&""!=n)return!1;if("ň"==s&&["g","k","x","y"].includes(i))return!1;if("x"==s&&["s","z","š","ž","ç","g","ļ","ň","y","h","ř"].includes(i))return!1;if("ļ"==s&&["s","z","š","ž","h","ç"].includes(i))return!1;if("ļ"==i&&["b","d","g","h","ç"].includes(s))return!1;if(""==n&&"h"==i&&["ļ","x","ç"].includes(s))return!1;if("ř"==i&&["r","h"].includes(s))return!1;if(s+i=="řr")return!1;if(["w","y"].includes(s)&&""!=i)return!1}return!0},markStress(e,t){if(t.includes("'"))for(let n=t.length;n--;)if("'"==t.charAt(n)&&n!=t.length-1&&(console.log(t.charAt(n-1)),["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(n-1))&&0!=n&&(console.log(t,t.charAt(n-1)),!["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(n+1))))){let e=1;while(!["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(n+e)))e+=1;let s=t.slice(n+1,n+e);console.log(s),this.allowedAtStart(s)||(t=t.slice(0,n)+t.slice(n+1),t=["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(n-2))&&n>=2?t.slice(0,n-1)+"'"+t.slice(n-1):t.slice(0,n-1)+t.charAt(n-1)+"'"+t.slice(n-1))}var s=t.match(/(?:ai|ei|ëi|oi|ui|au|eu|ëu|ou|iu|[aeiouäëöü])/gi);if(0===e&&s.length>1){for(let n=t.length-1;n>=0;n--)if(["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(n))){t=this.sDip.includes(t.charAt(n-1)+t.charAt(n))?t.substring(0,n-1)+this.sAccent[t.charAt(n-1)]+t.substring(n):t.substring(0,n)+this.sAccent[t.charAt(n)]+t.substring(n+1);break}}else if(2===e){var i=0;for(let e=t.length-1;e>=0;e--)if(["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(e))){if(2==i){t=this.sDip.includes(t.charAt(e-1)+t.charAt(e))?t.substring(0,e-1)+this.sAccent[t.charAt(e-1)]+t.substring(e):t.substring(0,e)+this.sAccent[t.charAt(e)]+t.substring(e+1);break}this.sDip.includes(t.charAt(e-1)+t.charAt(e))||i++}}return t},recalcVowels(e){return e.replaceAll("yia","yuä").replaceAll("yie","yuë").replaceAll("yio","yüä").replaceAll("yiö","yüë").replaceAll("wuö","wöë").replaceAll("wuo","wöä").replaceAll("wue","wië").replaceAll("wua","wiä")},finalCalcs(){var e="";if(e=this.slots[9],this.slot9gStop(),"3"!=this.gOptions.shcut&&(""!==this.slots[0]||"a"!==this.slots[1]||this.slotVIIshortcut||this.allowedAtStart(this.slots[2])&&(this.slots[1]="",this.cut[0]=!0),"a"===this.slots[7]&&"asp"!=this.gOptions.vn&&"l"===this.slots[5]&&"h"!=this.slots[8]&&this.settings["Miscellaneous"].s8[1]?(this.slots[10]=this.slots[8],this.slots[5]=this.slots[8],this.slots[8]="",this.eightSix=!0,this.cut[2]=!0):this.eightSix=!1,"a"===this.slots[7]&&("h"===this.slots[8]||""===this.slots[8])&&(this.slots[7]="",this.slots[8]="",this.cut[2]=!0,"a"===this.slots[9]))){var t,s=!0;0==this.gOptions.VIIafx.length&&this.gOptions.Vafx.length==0+(this.slotVIIshortcut&&1)&&this.shortcutting?"PRN"==this.gOptions.c&&(this.sDip.includes(this.slots[1])||Object.keys(this.sAccent).includes(this.slots[1]))?s=!1:t=this.slots[2]:this.gOptions.VIIafx.length==0+(this.slotVIIshortcut&&1)&&this.shortcutting?s=!1:t=this.gOptions.VIIafx.length==0+(this.slotVIIshortcut&&1)?this.slots[5]:this.gOptions.VIIafx[this.gOptions.VIIafx.length-1][0],s&&this.allowedAtEnd(t)&&(this.slots[9]="",this.cut[1]=!0)}(()=>{this.ithkword=this.slots.slice(0,-1).join("")})(),this.ithkword=this.recalcVowels(this.ithkword);var i=this.ithkword.match(/(?:ai|ei|ëi|oi|ui|au|eu|ëu|ou|iu|[aeiouäëöü])/gi),n=0;n="0"!=this.gOptions.concat?"'"===e.charAt(e.length-1)||this.cut[2]&&this.cut[1]&&"THM"==this.gOptions.c&&"0"!=this.gOptions.concat&&0==this.gOptions.VIIafx.length&&this.shortcutting&&(this.sDip.includes(this.slots[1])||Object.keys(this.sAccent).includes(this.slots[1]))?0:1:["UNF/K","UNF/C","FRM"].indexOf(this.gOptions.rel);while(i.length<=n){var o=1==this.cut[1]?1:1==this.cut[0]?0:1==this.cut[2]?2:null,a=[1,9,7];7===a[o]&&(this.slots[8]="h"),this.slots[a[o]]="a",this.cut[o]=!1,(()=>{this.ithkword=this.slots.slice(0,-1).join("")})(),i=this.ithkword.match(/(?:ai|ei|ëi|oi|ui|au|eu|ëu|ou|iu|[aeiouäëöü])/gi)}this.cut[1]&&this.calculateEJ&&(this.ithkword+="a"),this.ithkword=this.markStress(n,this.ithkword)},glossCalcs(){if(this.gloss="",this.fullGloss="","0"!=this.gOptions.concat&&(this.gloss+="T"+this.gOptions.concat+"-",this.fullGloss+="T"+this.gOptions.concat+"-"),"normal"==this.wordType?(this.gloss+="S"+this.gOptions.stem.charAt(1),"CPT"===this.gOptions.ver&&(this.gloss+=".CPT"),this.fullGloss+="S"+this.gOptions.stem.charAt(1)+"."+this.gOptions.ver):"refRoot"==this.wordType?(this.gloss+="CPT"==this.gOptions.ver?"CPT-":"",this.fullGloss+=this.gOptions.ver+"-"):"affRoot"==this.wordType&&(this.gloss+="CPT"==this.gOptions.ver?"CPT":"",this.gloss+="CPT"==this.gOptions.ver&&"DYN"==this.gOptions.func?".":"",this.gloss+="DYN"==this.gOptions.func?"DYN":"",this.gloss+="CPT"==this.gOptions.ver||"DYN"==this.gOptions.func?"-":"",this.fullGloss+=this.gOptions.ver+"."+this.gOptions.func+"-"),this.shortcutting){var e=(this.gOptions.plex+this.gOptions.simil+this.gOptions.cctd).slice(0,3);"normal"==this.wordType&&(this.fullGloss+="."),this.fullGloss+=this.gOptions.affil+"."+e+"."+this.gOptions.ext+"."+this.gOptions.persp+"."+this.gOptions.ess;var t=[];"CSL"!=this.gOptions.affil&&t.push(this.gOptions.affil),"UPX"!=e&&t.push(e),"DEL"!=this.gOptions.ext&&t.push(this.gOptions.ext),"M"!=this.gOptions.persp&&t.push(this.gOptions.persp),"NRM"!=this.gOptions.ess&&t.push(this.gOptions.ess),t.length>0&&"normal"==this.wordType?this.gloss+="."+t.join("."):t.length>0&&(this.gloss+=t.join(".")+"-"),"refRoot"==this.wordType&&(this.fullGloss+="-")}else if(this.slotVIIshortcut){let e=this.gOptions.VIIafx[this.gOptions.VIIafx.length-1];"r"==e[0]&&"4"==e[1]?(this.gloss+=".'relative negation'",this.fullGloss+=".'relative negation'"):"t"==e[0]&&"4"==e[1]?(this.gloss+=".'previously mentioned'",this.fullGloss+=".'previously mentioned'"):"t"==e[0]&&"5"==e[1]&&(this.gloss+=".'[+head]'",this.fullGloss+=".'[+head]'")}if("normal"==this.wordType)this.gloss+="-"+this.getRootDefinition(this.gOptions.root.toLowerCase(),this.gOptions.stem),this.fullGloss+="-"+this.getRootDefinition(this.gOptions.root.toLowerCase(),this.gOptions.stem),""==this.gOptions.root.toLowerCase()&&(this.gloss+='""',this.fullGloss+='""');else if("affRoot"==this.wordType)this.gloss+=this.getAffixDefinition(this.gOptions.affRoot.toLowerCase(),(Number(this.gOptions.arDegree)+1)%10,!1,!0),this.fullGloss+=this.getAffixDefinition(this.gOptions.affRoot.toLowerCase(),(Number(this.gOptions.arDegree)+1)%10,!1,!0);else if("refRoot"==this.wordType){let e=this.refGloss(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp);this.gloss+=e[0],this.fullGloss+=e[1]}if("affRoot"!=this.wordType){var s=[];"STA"!=this.gOptions.func&&s.push(this.gOptions.func),"BSC"!=this.gOptions.spec&&s.push(this.gOptions.spec),"EXS"!=this.gOptions.ctxt&&s.push(this.gOptions.ctxt),s.length>0&&(this.gloss+="-"+s.join(".")),this.fullGloss+="-"+this.gOptions.func+"."+this.gOptions.spec+"."+this.gOptions.ctxt}else this.gloss+="-D"+((Number(this.gOptions.arDegree)+1)%10).toString(),"EXS"!=this.gOptions.ctxt&&(this.gloss+="."+this.gOptions.ctxt),this.fullGloss+="-D"+((Number(this.gOptions.arDegree)+1)%10).toString()+"."+this.gOptions.ctxt;for(var i in this.gOptions.Vafx){let e;e=1==this.gOptions.Vafx.length&&3==this.gOptions.Vafx[i][2]||4==this.gOptions.Vafx[i][2];let t=this.gOptions.Vafx[i];this.gloss+="-"+this.getAffixDefinition(t[0],t[1],e)+("CA"!=t[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[t[2]]:""),this.fullGloss+="-"+this.getAffixDefinition(t[0],t[1],e)+("CA"!=t[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[t[2]]:"")}if(this.shortcutting)this.gOptions.Vafx.length>0&&(this.gloss+="-{Ca}",this.fullGloss+="-{Ca}");else{var n=(this.gOptions.plex+this.gOptions.simil+this.gOptions.cctd).slice(0,3);if(this.eightSix)this.gloss+="-"+this.gOptions.casc,this.fullGloss+="-"+this.gOptions.affil+"."+n+"."+this.gOptions.ext+"."+this.gOptions.persp+"."+this.gOptions.ess,this.fullGloss+="."+this.gOptions[this.gOptions.vn]+"."+("UNF/K"===this.gOptions.rel&&"0"==this.gOptions.concat?this.gOptions.mood:this.gOptions.casc);else{this.fullGloss+="-"+this.gOptions.affil+"."+n+"."+this.gOptions.ext+"."+this.gOptions.persp+"."+this.gOptions.ess;var o=[];"CSL"!=this.gOptions.affil&&o.push(this.gOptions.affil),"UPX"!=n&&o.push(n),"DEL"!=this.gOptions.ext&&o.push(this.gOptions.ext),"M"!=this.gOptions.persp&&o.push(this.gOptions.persp),"NRM"!=this.gOptions.ess&&o.push(this.gOptions.ess),o.length>0?this.gloss+="-"+o.join("."):this.gOptions.Vafx.length>0&&(this.gloss+="-{Ca}")}}if(this.slotVIIshortcut)for(var a in this.gOptions.VIIafx.slice(0,-1)){let e;e=1==this.gOptions.VIIafx.length&&3==this.gOptions.VIIafx[a][2]||4==this.gOptions.VIIafx[a][2];let t=this.gOptions.VIIafx[a];this.gloss+="-"+this.getAffixDefinition(t[0],t[1],e)+("CA"!=t[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[t[2]]:""),this.fullGloss+="-"+this.getAffixDefinition(t[0],t[1],e)+("CA"!=t[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[t[2]]:"")}else for(var r in this.gOptions.VIIafx){let e;e=1==this.gOptions.VIIafx.length&&3==this.gOptions.VIIafx[r][2]||4==this.gOptions.VIIafx[r][2];let t=this.gOptions.VIIafx[r];this.gloss+="-"+this.getAffixDefinition(t[0],t[1],e)+("CA"!=t[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[t[2]]:""),this.fullGloss+="-"+this.getAffixDefinition(t[0],t[1],e)+("CA"!=t[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[t[2]]:"")}if(!this.eightSix){var l=[];"MNO"!==this.gOptions[this.gOptions.vn]&&l.push(this.gOptions[this.gOptions.vn]),"FAC"!==this.gOptions.mood&&"UNF/K"===this.gOptions.rel&&"0"==this.gOptions.concat&&l.push(this.gOptions.mood),"CCN"===this.gOptions.casc||"UNF/K"===this.gOptions.rel&&"0"==this.gOptions.concat||l.push(this.gOptions.casc),l.length>0&&(this.gloss+="-"+l.join(".")),this.fullGloss+="-"+this.gOptions[this.gOptions.vn]+"."+("UNF/K"===this.gOptions.rel&&"0"==this.gOptions.concat?this.gOptions.mood:this.gOptions.casc)}if("UNF/K"===this.gOptions.rel&&"0"==this.gOptions.concat){var h=[];this.fullGloss+="-"+this.gOptions.ill,"ASR"===this.gOptions.ill&&(this.fullGloss+="."+this.gOptions.vld),"ASR"!==this.gOptions.ill&&h.push(this.gOptions.ill),"ASR"===this.gOptions.ill&&h.push(this.gOptions.vld),h.length>0&&(this.gloss+="-"+h.join("."))}else"THM"!==this.gOptions.c&&(this.gloss+="-"+this.gOptions.c),this.fullGloss+="-"+this.gOptions.c;if("0"==this.gOptions.concat&&(this.fullGloss+="\\"+this.gOptions.rel.split("/")[0],"UNF"!==this.gOptions.rel.split("/")[0]&&(this.gloss+="\\"+this.gOptions.rel.split("/")[0])),"3"==this.gOptions.shcut){let e=this.gloss;this.gloss=this.fullGloss,this.fullGloss=e}},refGloss(e,t,s){var i="",n="";return i+="M"==s?"":"[",n+="M"==s?"":"[",i+=e,i+="NEU"==t?"":"."+t,n+=e+"."+t,i+="M"==s?"":"+"+s+"]",n+="M"==s?"":"+"+s+"]",[i,n]},IPAcalcs(){this.ipa="";var e=!1;for(var t in(Object.keys(this.sAccent).includes(this.ithkword.charAt(0))||Object.values(this.sAccent).includes(this.ithkword.charAt(0)))&&(this.ipa+="ʔ"),this.ithkword.split(""))if(e)e=!1;else{let i=this.ithkword.charAt(parseInt(t)-1),n=this.ithkword.charAt(parseInt(t)),o=this.ithkword.charAt(parseInt(t)+1);if(Object.values(this.sAccent).includes(n)&&(this.ipa+="ˈ")," "==n)this.ipa+=" ";else if("n"===n)["k","g","x"].includes(o)?this.ipa+="ŋ":this.ipa+="n";else if("r"===n&&"r"!==o)Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="ɾ":this.ipa+="ɹ";else if("x"===n)this.ipa+=this.settings["IPA"][n][1].slice(1,-1),n==o&&(this.ipa+="ː",e=!0);else if("rr"===n+o)this.ipa+="r",e=!0;else if("řř"===n+o)this.ipa+=this.settings["IPA"]["rr"][1].slice(1,-1),e=!0;else if(["hl","hr","hm","hn","hň"].includes(n+o))"Devoiced"==this.settings["IPA"]["hx"][1]?this.ipa+={hl:"ɬ",hr:"ɾ̥",hm:"m̥",hn:"n̥","hň":"ŋ̊"}[n+o]:this.ipa+={hl:"hl",hr:"hɾ",hm:"hm",hn:"hn","hň":"hŋ"}[n+o],e=!0;else if(["ph","th","kh","ch","čh"].includes(n+o)&&(""===this.ithkword.charAt(parseInt(t)+2)||Object.keys(this.sAccent).includes(this.ithkword.charAt(parseInt(t)+2))||Object.values(this.sAccent).includes(this.ithkword.charAt(parseInt(t)+2))))this.ipa+=this.ipaLookup[n],this.ipa+="ʰ",e=!0;else if(n===o&&Object.keys(this.ipaLookup).includes(n))this.ipa+=this.ipaLookup[n],this.ipa+="ː",e=!0;else if(Object.keys(this.sAccent).includes(n)||Object.values(this.sAccent).includes(n)){var s;s=Object.values(this.sAccent).includes(n)?Object.keys(this.sAccent).find((e=>this.sAccent[e]==n)):n,s===o||s===Object.keys(this.sAccent).find((e=>this.sAccent[e]==o))?(this.ipa+="ä"==s?"æ":this.settings["IPA"][s][1].slice(1,-1),this.ipa+="ː",e=!0):["ä","ë"].includes(s)?this.ipa+="ä"==s?"æ":this.settings["IPA"][s][1].slice(1,-1):"a"===s?Object.keys(this.sAccent).includes(i)||Object.values(this.sAccent).includes(i)?this.ipa+="ɑ":this.ipa+=this.settings["IPA"][s][1].slice(1,-1):"e"===s?Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="e":this.ipa+=this.settings["IPA"][s][1].slice(1,-1):"i"===s?Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="i":this.ipa+="y"==o||"y"==i?"ɪ":this.settings["IPA"][s][1].slice(1,-1):"o"===s?Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="o":this.ipa+=this.settings["IPA"][s][1].slice(1,-1):"ö"===s?Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="ø":this.ipa+=this.settings["IPA"][s][1].slice(1,-1):"u"===s?Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="u":this.ipa+="w"==o||"w"==i?"ʊ":this.settings["IPA"][s][1].slice(1,-1):"ü"===s&&(this.ipa+="w"==o||"w"==i||"y"==o||"y"==i?"ʉ":this.settings["IPA"][s][1].slice(1,-1))}else Object.keys(this.ipaLookup).includes(n)?this.ipa+=this.ipaLookup[n]:this.ipa+="-"}},getRootDefinition(e,t){for(let s=1;se.json())).then((e=>this.rootDB=e.values)),fetch("https://sheets.googleapis.com/v4/spreadsheets/1JdaG1PaSQJRE2LpILvdzthbzz1k_a0VT86XSXouwGy8/values/Affixes?key=AIzaSyDRCO5E1IYVwPWeZSUY07emm8c7Kg5Cf14").then((e=>e.json())).then((e=>this.affixDB=e.values))},computed:{calculateEJ(){return this.$props.selectedWord!=this.$props.sLength-1&&this.settings["Miscellaneous"].ej[1]&&Object.keys(this.cData).includes(this.$props.nextWord[0].charAt(0))}}};const es=(0,Jt.Z)(Zt,[["render",Te]]);var ts=es;const ss={class:"section"};function is(e,t,s,i,a,r){const l=(0,n.up)("OptionBox");return(0,n.wg)(),(0,n.iD)("div",null,[(0,n._)("div",ss,[(0,n.Wm)(l,{json:a.gData.word,code:"word",onSendMessage:r.handleSendMessage,ref:"word",onModal:r.openModal,class:(0,o.C_)({hidden:"normal"!=a.wordType})},null,8,["json","onSendMessage","onModal","class"])])])}var ns={name:"Ithkuil_v3",components:{OptionBox:Yt},props:{listenModal:Array,listenWordtype:String,listenWord:Object},watch:{listenModal(e){this.updateFromModal(e[0],e[1])},listenWordtype(e){this.switchWordType(e)},listenWord(e){for(var t in this.gOptions=JSON.parse(JSON.stringify(e)),e)this.updateFromModal(t,JSON.parse(JSON.stringify(e[t])));this.handleSendMessage(e.root,"root")},ithkword(e){this.$emit("ithkword",[e,this.ipa,this.gloss,this.fullGloss]),this.$emit("gEmit",this.gOptions)},ipa(e){this.$emit("ithkword",[this.ithkword,e,this.gloss,this.fullGloss])},gloss(e){this.$emit("ithkword",[this.ithkword,this.ipa,e,this.fullGloss])},fullGloss(e){this.$emit("ithkword",[this.ithkword,this.ipa,this.gloss,e])}},data(){return{defaultWord:"",settings:{"Category A":{s1:["Setting 1: ","defaultval",["defaultval","Fancy New Value"]]},"Category B":{s2:["Setting 2: ",!1]}},gDefault:{word:""},wordType:"normal",tabGroups:{normal:[["word"]]},gOptions:{},ithkword:"",ipa:"",gloss:"",fullGloss:"",gData:{word:{type:"text",title:"placeholder",popupdesc:"Hopefully this works :)"}}}},methods:{async handleSendMessage(e="",t=""){t&&(this.gOptions[t]=e),this.ithkword=this.gOptions.word,this.settings["Category B"].s2[1]&&(this.ithkword+="AAAA"),this.ipa=this.gOptions.word,this.gloss=this.gOptions.word,this.fullGloss=this.gOptions.word},openModal(e){this.$emit("modal",e)},updateFromModal(e,t){this.$refs[e].updateValue(t)},resetWord(e=null){for(var t in null==e&&(e=this.gDefault),this.gOptions=JSON.parse(JSON.stringify(e)),e)this.updateFromModal(t,JSON.parse(JSON.stringify(e[t])))},switchWordType(e){this.wordType=e,this.handleSendMessage()}},beforeMount(){this.gOptions=JSON.parse(JSON.stringify(this.gDefault)),this.handleSendMessage()}};const os=(0,Jt.Z)(ns,[["render",is]]);var as=os,rs={name:"App",components:{Ithkuil_v4:ts,Ithkuil_v3:as},data(){return{langVer:"4",modalListen:[],wordType:"normal",modalContent:"",modalID:"",modalTabs:[],gOptions:{},gSOptions:{},ithkword:"",gloss:"",fullGloss:"",ipa:"",casePopupStart:"THM",casePopupEnd:"PLM",casePopupTitle:"Allcases",tabGroups:[["root","stem","spec"],["func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","abslvl","asp"],["casc","c"],["mood","ill","vld"]],SRtabGroups:[["affRoot","arDegree"],["spec","func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","abslvl","asp"],["casc","c"],["mood","ill","vld"]],REFtabGroups:[["ref","refEff","refPersp"],["spec","func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","abslvl","asp"],["casc","c"],["mood","ill","vld"]],sentenceOpen:!1,sentence:[],selectedWord:0,deleteWordMode:!1,oldScreenSize:0,hovering:null,isMouseDown:!1,draggedWord:null,settingsClone:{}}},methods:{notAvailableAlert(e){alert(e+" is not available yet!")},openModal(e){let t=!1,s=JSON.parse(JSON.stringify(this.$refs[this.langVer].tabGroups[this.wordType]));this.modalID=e,isNaN(e.charAt(e.length-1))?this.modalContent=this.$refs[this.langVer].gData[e]:this.modalContent=this.$refs[this.langVer].gData[e.slice(0,-1)];for(let i of s)i.includes(e)&&(this.modalTabs=[...i],t=!0);t||(this.modalTabs=[]),document.getElementById("modal").style.display="block","c"===e&&this.changeClassTab("THM","PLM","Allcases")},closeModal(){document.getElementById("modal").style.display="none"},openDropdown(e){document.getElementById(e).classList.toggle("hidden")},closeDropdown(e,t={},s=!1){if(s)document.getElementById(e).classList.add("hidden");else try{t.path[1].id!=e&&document.getElementById(e).classList.add("hidden")}catch{}},updateFromModal(e,t){this.modalListen=[e,t]},scrollToTop(){document.getElementById("modal").scrollTo(0,0)},changeClassTab(e,t,s){this.casePopupStart=e,this.casePopupEnd=t,this.casePopupTitle=s;var i=document.getElementsByClassName("tablinks");for(let n=0;n=650?this.sentenceOpen&&!e?this.closeNav():(this.sentenceOpen=!0,document.getElementById("sidebar").style.width="250px",document.getElementById("sFooter").style.width="250px",document.getElementById("content").style.marginRight="250px",document.getElementById("header").style.marginRight="250px",document.getElementById("footer").style.marginRight="250px",document.getElementById("modal").style.marginRight="250px",document.getElementById("modalToTop").style.right="270px"):(e&&this.closeNav(),this.sentenceOpen=!0,document.getElementById("sidebar").style.width="100%",document.getElementById("sFooter").style.width="100%")},closeNav(){this.sentenceOpen=!1,document.getElementById("sidebar").style.width="0",document.getElementById("sFooter").style.width="0",document.getElementById("content").style.marginRight="0",document.getElementById("header").style.marginRight="0",document.getElementById("footer").style.marginRight="0",document.getElementById("modal").style.marginRight="0",document.getElementById("modalToTop").style.right="20px"},switchWord(e,t=!1){this.deleteWordMode&&!t?confirm("Really delete "+this.sentence[e][0]+(this.sentence[e][3]?" ("+this.sentence[e][3]+")":"")+"?")&&(this.sentence.splice(e,1),0==this.sentence.length&&this.sentence.push([this.$refs[this.langVer].defaultWord,JSON.parse(JSON.stringify(this.$refs[this.langVer].gDefault)),"normal",""]),(this.sentence.length<=this.selectedWord||e=650&&window.innerWidth<650||this.oldScreenSize<650&&window.innerWidth>=650)&&this.sentenceOpen&&this.openNav(!0),this.oldScreenSize=window.innerWidth},hoverChange(e){if(this.hovering=e,this.isMouseDown&&null!==this.draggedWord&&this.draggedWord!==this.hovering){var t=JSON.parse(JSON.stringify(this.sentence[this.draggedWord]));this.sentence.splice(this.draggedWord,1),this.sentence.splice(this.hovering,0,JSON.parse(JSON.stringify(t))),this.selectedWord===this.draggedWord?this.switchWord(this.hovering,!0):this.selectedWord===this.hovering&&this.switchWord(this.draggedWord,!0);let s=document.getElementsByClassName("ta")[this.draggedWord].style.height;document.getElementsByClassName("ta")[this.draggedWord].style.height=document.getElementsByClassName("ta")[e].style.height,document.getElementsByClassName("ta")[e].style.height=s,this.draggedWord=e}},onMouseDownF(){this.deleteWordMode||(this.isMouseDown=!0)},onMouseUpF(){this.deleteWordMode||(this.isMouseDown=!1,this.draggedWord=null)},beginDrag(e){this.deleteWordMode?this.draggedWord=null:this.isMouseDown&&(this.draggedWord=e)},resizeTA(e){e.target.style.height="18px",e.target.style.height=e.target.scrollHeight+"px"},copytoCB(e){try{navigator.clipboard.writeText(e).then((function(){alert("Copied to clipboard successfully")}),(function(){alert("Could not copy to clipboard")}))}catch{alert("Could not copy to clipboard")}},setCookie(e,t,s){const i=new Date;i.setTime(i.getTime()+24*s*60*60*1e3);let n="expires="+i.toUTCString();document.cookie=e+"="+t+";"+n+";path=/"},getCookie(e){let t=e+"=",s=decodeURIComponent(document.cookie),i=s.split(";");for(let n=0;n0){console.log(e.target.files);let t=new FileReader;t.readAsText(e.target.files[0]),t.onload=()=>{try{this.handleImportedWord(JSON.parse(t.result)),this.switchWord(0,!0),document.getElementById("fimport").value=""}catch{alert("Could not import correctly.")}}}},exportToJsonFile(e){let t=JSON.stringify(e),s="data:application/json;charset=utf-8,"+encodeURIComponent(t),i="sentence.json",n=document.createElement("a");n.setAttribute("href",s),n.setAttribute("download",i),n.click()},openFileDialog(){document.getElementById("filab").click()}},beforeMount(){this.sentence.unshift([this.ithkword,JSON.parse(JSON.stringify(this.gOptions)),"normal",""])},directives:{clickOutside:we().directive},created(){let e=new URLSearchParams(window.location.search);e.has("v")&&("3"!=e.get("v")?this.langVer="4":this.langVer=e.get("v")),this.oldScreenSize=window.innerWidth,window.addEventListener("resize",this.onScreenResize),window.addEventListener("mousedown",this.onMouseDownF),window.addEventListener("mouseup",this.onMouseUpF),window.addEventListener("touchstart",this.onMouseDownF),window.addEventListener("touchend",this.onMouseUpF)},unmounted(){window.removeEventListener("resize",this.onScreenResize),window.removeEventListener("mousedown",this.onMouseUpF),window.removeEventListener("mouseup",this.onMouseDownF),window.removeEventListener("touchstart",this.onMouseUpF),window.removeEventListener("touchend",this.onMouseDownF)},mounted(){this.settingsClone=JSON.parse(JSON.stringify(this.$refs[this.langVer].settings))}};const ls=(0,Jt.Z)(rs,[["render",me]]);var hs=ls,cs=s(5431);(0,cs.z)("/ithkapp/service-worker.js",{ready(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered(){console.log("Service worker has been registered.")},cached(){console.log("Content has been cached for offline use.")},updatefound(){console.log("New content is downloading.")},updated(){console.log("New content is available; please refresh.")},offline(){console.log("No internet connection found. App is running in offline mode.")},error(e){console.error("Error during service worker registration:",e)}}),(0,i.ri)(hs).mount("#app")}},t={};function s(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,s),o.exports}s.m=e,function(){var e=[];s.O=function(t,i,n,o){if(!i){var a=1/0;for(c=0;c=o)&&Object.keys(s.O).every((function(e){return s.O[e](i[l])}))?i.splice(l--,1):(r=!1,o0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[i,n,o]}}(),function(){s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,{a:t}),t}}(),function(){s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}}(),function(){s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={143:0};s.O.j=function(t){return 0===e[t]};var t=function(t,i){var n,o,a=i[0],r=i[1],l=i[2],h=0;if(a.some((function(t){return 0!==e[t]}))){for(n in r)s.o(r,n)&&(s.m[n]=r[n]);if(l)var c=l(s)}for(t&&t(i);h\r\n Ithkapp | {{ithkword}}\r\n \r\n \r\n
\r\n

Ithkapp

\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Affixual\r\n Modular\r\n Register\r\n Suppletive\r\n Bias\r\n
\r\n
\r\n
\r\n \r\n
\r\n Normal\r\n Affix as Root\r\n Personal-Referential Root\r\n Single/Dual-Referential\r\n Single Referential w/ Case-Stacking\r\n Non-Ithkuil (Borrowed) Word\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n Aspectual\r\n Affixual\r\n Bias\r\n
\r\n
\r\n
\r\n \r\n
\r\n Normal\r\n Personal Reference\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n\r\n gOptions = JSON.parse(JSON.stringify(g))\"\r\n @ithkword=\"(w) => {ithkword = w[0]; ipa = w[1]; gloss = w[2]; fullGloss = w[3]; sentence[selectedWord] = JSON.parse(JSON.stringify([ithkword,gOptions,wordType,sentence[selectedWord][3]]));}\"\r\n :listenModal=\"modalListen\" :listenWordtype=\"wordType\" :listenWord=\"gSOptions\" :selectedWord=\"selectedWord\" :sLength=\"sentence.length\" :nextWord=\"this.sentence[selectedWord+1]\"/>\r\n\r\n gOptions = JSON.parse(JSON.stringify(g))\"\r\n @ithkword=\"(w) => {ithkword = w[0]; ipa = w[1]; gloss = w[2]; fullGloss = w[3]; sentence[selectedWord] = JSON.parse(JSON.stringify([ithkword,gOptions,wordType,sentence[selectedWord][3]]));}\"\r\n :listenModal=\"modalListen\" :listenWord=\"gSOptions\" :listenWordtype=\"wordType\"/>\r\n \r\n
\r\n \r\n\r\n \r\n
\r\n

{{ithkword}}
\r\n [{{ipa}}]
\r\n {{gloss}}

\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n ×\r\n
\r\n
\r\n

Settings

\r\n
\r\n

{{section}}

\r\n \r\n \r\n \r\n \r\n

\r\n
\r\n
\r\n This project on GitHub\r\n
\r\n
\r\n

{{modalContent.title}}

\r\n

\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

{{modalContent.options[option].name}}{{option === option.toString().toUpperCase() && ![\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\"].includes(option.toString()) ? \" (\"+option+\")\" : \"\"}}

\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

{{modalContent.options[option].name}}{{option === option.toString().toUpperCase() && ![\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\"].includes(option.toString()) ? \" (\"+option+\")\" : \"\"}}

\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Your sentence:

\r\n

{{concatenateSentence(sentence)}}

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n ×\r\n

Sentence Menu

\r\n
\r\n
\r\n
\r\n

{{word[0]}}

\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n","\r\n\r\n","\n\n\n\n\n\n","import { render } from \"./optionbox.vue?vue&type=template&id=4abae525&scoped=true\"\nimport script from \"./optionbox.vue?vue&type=script&lang=js\"\nexport * from \"./optionbox.vue?vue&type=script&lang=js\"\n\nimport \"./optionbox.vue?vue&type=style&index=0&id=4abae525&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\nickl\\\\OneDrive\\\\Desktop\\\\School stuff\\\\2022\\\\Digi\\\\ithkapp\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4abae525\"]])\n\nexport default __exports__","import { render } from \"./4.vue?vue&type=template&id=966331ac\"\nimport script from \"./4.vue?vue&type=script&lang=js\"\nexport * from \"./4.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\nickl\\\\OneDrive\\\\Desktop\\\\School stuff\\\\2022\\\\Digi\\\\ithkapp\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n","import { render } from \"./3.vue?vue&type=template&id=d43e21f2\"\nimport script from \"./3.vue?vue&type=script&lang=js\"\nexport * from \"./3.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\nickl\\\\OneDrive\\\\Desktop\\\\School stuff\\\\2022\\\\Digi\\\\ithkapp\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./App.vue?vue&type=template&id=1f1b9bf6\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=1f1b9bf6&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\nickl\\\\OneDrive\\\\Desktop\\\\School stuff\\\\2022\\\\Digi\\\\ithkapp\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","/* eslint-disable no-console */\n\nimport { register } from 'register-service-worker'\n\nif (process.env.NODE_ENV === 'production') {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready () {\n console.log(\n 'App is being served from cache by a service worker.\\n' +\n 'For more details, visit https://goo.gl/AFskqB'\n )\n },\n registered () {\n console.log('Service worker has been registered.')\n },\n cached () {\n console.log('Content has been cached for offline use.')\n },\n updatefound () {\n console.log('New content is downloading.')\n },\n updated () {\n console.log('New content is available; please refresh.')\n },\n offline () {\n console.log('No internet connection found. App is running in offline mode.')\n },\n error (error) {\n console.error('Error during service worker registration:', error)\n }\n })\n}\n","import { createApp } from 'vue'\r\nimport App from './App.vue'\r\nimport './registerServiceWorker'\r\n\r\ncreateApp(App).mount('#app')\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkithkapp\"] = self[\"webpackChunkithkapp\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(5602); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["class","id","_createElementVNode","style","_hoisted_3","_hoisted_5","href","target","_hoisted_57","_hoisted_59","for","_hoisted_61","_hoisted_63","_toDisplayString","$data","ithkword","_hoisted_1","_hoisted_2","onClick","_cache","$event","$options","openModal","title","_normalizeStyle","sentenceOpen","openNav","langVer","_createElementBlock","_hoisted_7","_normalizeClass","active","includes","wordType","openDropdown","event","closeDropdown","_hoisted_8","switchWordType","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_createBlock","_component_Ithkuil_v4","ref","onModal","onGEmit","g","gOptions","JSON","parse","stringify","onIthkword","w","ipa","gloss","fullGloss","sentence","selectedWord","listenModal","modalListen","listenWordtype","listenWord","gSOptions","sLength","length","nextWord","_component_Ithkuil_v3","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_withModifiers","closeModal","_hoisted_22","_hoisted_23","_Fragment","_renderList","modalTabs","tabcode","key","modalID","$refs","gData","isNaN","slice","_hoisted_24","notAvailableAlert","copytoCB","concatenateSentence","hidden","_hoisted_25","Object","keys","settingsClone","section","setOpt","settings","onChange","handleSendMessage","spOpt","type","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","modalContent","innerHTML","popupdesc","_hoisted_34","_hoisted_35","changeClassTab","_hoisted_36","options","indexOf","this","casePopupStart","casePopupEnd","option","updateFromModal","modalSelected","name","toString","toUpperCase","desc","image","src","alt","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","args","scrollToTop","_hoisted_49","_hoisted_50","closeNav","_hoisted_51","_hoisted_52","word","index","deletable","deleteWordMode","dragging","draggedWord","switchWord","onMouseover","hoverChange","onMouseleave","hovering","onMousemove","beginDrag","onTouchstart","placeholder","onInput","resizeTA","rows","_hoisted_55","_hoisted_56","uploadJSON","accept","push","defaultWord","gDefault","exportToJsonFile","openFileDialog","_createVNode","_component_OptionBox","json","affRoot","code","onSendMessage","whitelist","cData","concat","arDegree","refEff","refPersp","c","root","stem","spec","func","ver","shcut","rel","disabled","Vafx","aff6","calculateSlot6","VIIafx","plex","simil","cctd","affil","ext","persp","ess","modAppliesTo","modNumber","cn","mood","casc","_hoisted_4","vn","val","vn2","pha","eff","lvl","asp","vn3","_hoisted_6","vh","modScope","v4n","suppType","ctxt","show","cascOrMood","ill","vld","affixjunct","reqAff","initialAffScope","otherAffScope","affScopeOf","register","regStartOrEnd","refAffix","twoCs","twoRefs","bias","freeType","_hoisted_26","_hoisted_27","_hoisted_33","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","value","OBclass","$emit","$props","text","maxlength","affixes","affix","calc6","_hoisted_53","_hoisted_54","_hoisted_58","_hoisted_60","_hoisted_62","pop","opt","short","_hoisted_65","every","e","_hoisted_68","_hoisted_69","_hoisted_70","_hoisted_71","split","x","toLowerCase","y","_hoisted_72","_hoisted_73","_hoisted_74","_hoisted_66","_hoisted_67","props","String","Boolean","Array","Function","data","computed","error","disabledbox","notShown","mounted","methods","updateValue","toUpdate","i","waitForElm","then","elm","console","log","document","getElementById","selectedIndex","idx","dAffil","dPlex","dSimil","dCctd","dExt","dEss","dPersp","selector","Promise","resolve","querySelector","observer","MutationObserver","disconnect","observe","body","childList","subtree","__exports__","components","OptionBox","Number","watch","arr","str","obj","property","grammardata","consdata","sVowels","ipaLookup","shortcutting","shcuttypeA","shcuttypeB","slotVIIshortcut","sDip","sAccent","slots","cut","eightSix","allographs","tabGroups","rootDB","affixDB","async","outval","gCode","replaceAll","afx","calculateWord","IPAcalcs","glossCalcs","calculateAdjunct","al","alert","reference","output","calculateSlot9","slot9gStop","afxjunctV","afxjunctC","isRefCut","getAffixDefinition","finalvowel","ll","allowedAtEnd","out","lll","k","allowedAtStart","recalcVowels","markStress","ph","calculateSlot8a","calculateSlot8b","asp4","refA","calculateReference","ess2","gla","refGloss","c1","c2","refB","ref2","refEff2","refPersp2","glb","charAt","calculateEJ","Aref","q","p","assign","refAff","pph","consAllowed","calculateSlot3","calculateSlot4","shortcutCalcs","calculateSlot1","calculateSlot2","calculateSlot5","calculateSlot7","finalCalcs","phh","lastVII","vowelColumn","insertGStop","j","aff","iAffil","iPlex","iSimil","iCctd","iExt","iEss","iPersp","AFFIL","CONF","EXT","PSPESS","ph1","key1","replace","ph2","key2","oldOut","geminate","prototype","hasOwnProperty","call","l","num","override","ca","pphh","cfound","vowels","endOfWord","getCons","tags","outp","element","removeDuplicate","strin","prevChar","char","consonants","nogem","ra","rb","da","db","dc","dab","qa","qb","qc","qd","lastCons","nogem2","eba","ebb","eca","ecb","ecc","eda","edb","edc","edbc","edd","conson","a","b","stressType","thisword","counter","conscl","wordVowels","match","substring","slot9saved","s8","shortenSlot8","join","cutVal","configgCode","s2c","viaf","getRootDefinition","s4c","affx","configCode","s6c","s8c","s9c","fullPut","skipnext","values","prevchar","parseInt","nextchar","vwl","find","degree","refOverride","resetWord","gO","beforeMount","created","fetch","response","ej","s2","Ithkuil_v4","Ithkuil_v3","casePopupTitle","SRtabGroups","REFtabGroups","oldScreenSize","isMouseDown","tGroupFound","tG","display","classList","toggle","add","path","scrollTo","cStart","cEnd","cTitle","tablinks","getElementsByClassName","className","sent","window","innerWidth","width","marginRight","right","confirm","splice","onScreenResize","sW","height","onMouseDownF","onMouseUpF","scrollHeight","navigator","clipboard","writeText","setCookie","cname","cvalue","exdays","d","Date","setTime","getTime","expires","toUTCString","cookie","getCookie","decodedCookie","decodeURIComponent","deleteCookie","handleImportedWord","snt","wID","gopt","files","reader","FileReader","readAsText","onload","result","jsonData","dataStr","dataUri","encodeURIComponent","exportFileDefaultName","linkElement","createElement","setAttribute","click","unshift","directives","clickOutside","vClickOutside","urlParams","URLSearchParams","location","search","has","get","addEventListener","unmounted","removeEventListener","render","ready","registered","cached","updatefound","updated","offline","createApp","App","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","r","n","getter","__esModule","definition","o","defineProperty","enumerable","globalThis","prop","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","forEach","bind","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/app.af9f0d81.js b/dist/js/app.af9f0d81.js deleted file mode 100644 index b920a84..0000000 --- a/dist/js/app.af9f0d81.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){"use strict";var e={955: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"},W=["onClick"],_=(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,W)))),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"}},[_,((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.uE)('

Ithkapp (hwirbuvie-ekţgyil)

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.
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.

',2),Ae=(0,n._)("h2",{style:{width:"100%"}},"Configuration",-1),ke=(0,n._)("h2",{style:{width:"100%"}},"Slot II",-1),Ee=(0,n._)("h2",{style:{width:"100%"}},"Slot III",-1),De=(0,n._)("h2",{style:{width:"100%"}},"Slot IV",-1);function je(e,t,s,i,a,l){const r=(0,n.up)("OptionBox");return(0,n.wg)(),(0,n.iD)("div",null,[xe,(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)}])},[Ae,(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)}])},[ke,(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}])},[Ee,(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}])},[De,(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 Pe=e=>((0,n.dD)("data-v-4abae525"),e=e(),(0,n.Cn)(),e),Ne=["title"],Re=["maxlength"],Ve={key:1},We=["disabled"],_e={key:2},Le=["onUpdate:modelValue","id"],Ue=["onInput","id"],Fe=Pe((()=>(0,n._)("option",null,"UPX",-1))),ze=Pe((()=>(0,n._)("option",null,"DPX",-1))),Ge=Pe((()=>(0,n._)("option",null,"D",-1))),Be=Pe((()=>(0,n._)("option",null,"M",-1))),Xe=[Fe,ze,Ge,Be],qe=["onInput","id","disabled"],He=Pe((()=>(0,n._)("option",null,"S",-1))),Je=Pe((()=>(0,n._)("option",null,"D",-1))),$e=Pe((()=>(0,n._)("option",null,"F",-1))),Ye=[He,Je,$e],Ke=["onInput","id","disabled"],Qe=Pe((()=>(0,n._)("option",null,"S",-1))),Ze=Pe((()=>(0,n._)("option",null,"C",-1))),et=Pe((()=>(0,n._)("option",null,"F",-1))),tt=[Qe,Ze,et],st=["onInput","id"],it=Pe((()=>(0,n._)("option",null,"CSL",-1))),nt=Pe((()=>(0,n._)("option",null,"ASO",-1))),ot=Pe((()=>(0,n._)("option",null,"COA",-1))),at=Pe((()=>(0,n._)("option",null,"VAR",-1))),lt=[it,nt,ot,at],rt=["onInput","id"],ht=Pe((()=>(0,n._)("option",null,"DEL",-1))),ct=Pe((()=>(0,n._)("option",null,"PRX",-1))),dt=Pe((()=>(0,n._)("option",null,"ICP",-1))),pt=Pe((()=>(0,n._)("option",null,"ATV",-1))),ut=Pe((()=>(0,n._)("option",null,"GRA",-1))),ft=Pe((()=>(0,n._)("option",null,"DPL",-1))),gt=[ht,ct,dt,pt,ut,ft],mt=["onInput","id"],bt=Pe((()=>(0,n._)("option",null,"M",-1))),wt=Pe((()=>(0,n._)("option",null,"G",-1))),yt=Pe((()=>(0,n._)("option",null,"N",-1))),vt=Pe((()=>(0,n._)("option",null,"A",-1))),St=[bt,wt,yt,vt],Mt=["onInput","id"],Tt=Pe((()=>(0,n._)("option",null,"NRM",-1))),Ot=Pe((()=>(0,n._)("option",null,"RPV",-1))),Ct=[Tt,Ot],It=["onUpdate:modelValue","id"],xt={key:1,value:1},At={key:2,value:2},kt={key:3,value:3},Et={key:4,value:4},Dt={key:5,value:5},jt={key:6,value:6},Pt={key:7,value:7},Nt={key:8,value:8},Rt={key:9,value:9},Vt={key:0,value:0},Wt=["onClick"],_t=["onUpdate:modelValue","id"],Lt={value:1},Ut={value:2},Ft={value:3},zt={value:4},Gt=["disabled","id"],Bt=["value"],Xt={key:4},qt=Pe((()=>(0,n._)("b",null,"ERROR:",-1))),Ht=(0,n.Uk)(" Empty affixes"),Jt=[qt,Ht],$t={key:5},Yt=Pe((()=>(0,n._)("b",null,"ERROR:",-1))),Kt=(0,n.Uk)(" Affixes are required"),Qt=[Yt,Kt],Zt={key:6},es=Pe((()=>(0,n._)("b",null,"ERROR:",-1))),ts=(0,n.Uk)(" Empty text"),ss=[es,ts],is={key:7},ns=Pe((()=>(0,n._)("b",null,"ERROR:",-1))),os=(0,n.Uk)(" Non-allowed characters"),as=[ns,os],ls={key:8};function rs(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,Ne),"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,Re)),[[i.nr,l.text]]):"checkbox"==s.json.type?((0,n.wg)(),(0,n.iD)("div",Ve,[(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",_e,[((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,Le),[[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()},Xe,44,Ue),[[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},Ye,44,qe),[[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},tt,44,Ke),[[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()},lt,44,st),[[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()},gt,44,rt),[[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()},St,44,mt),[[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()},Ct,44,Mt),[[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",xt,(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",At,(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",kt,(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",Et,(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",Dt,(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",jt,(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",Pt,(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",Nt,(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",Rt,(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",Vt,"Deg. 0")),(0,n._)("option",{key:"CA",value:"CA",onClick:e=>r.calc6(a)},"Cₐ-stacking",8,Wt)],40,It),[[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",Lt,(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",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-")+"2",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 3":1==l.affixes.length?"Ref (3)":"Type-3"),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 4":"Ref (4)"),1)],44,_t),[[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,Bt)))),128))],40,Gt)),[[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",$t,Qt)):"text"==s.json.type&&""==this.text?((0,n.wg)(),(0,n.iD)("p",Zt,ss)):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",is,as)):((0,n.wg)(),(0,n.iD)("p",ls)):((0,n.wg)(),(0,n.iD)("p",Xt,Jt))],2)}var hs={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})}))}}},cs=s(89);const ds=(0,cs.Z)(hs,[["render",rs],["__scopeId","data-v-4abae525"]]);var ps=ds,us=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 Lexicon 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 Lexicon 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 Lexicon."},"func":{"type":"","title":"Function","options":{"STA":{"name":"Static","desc":"The Static function is typically used in the following ways:
  • Nouns (Nominal relation) identifying an object, group, entity, or action in which any change or motion is irrelevant to the speaker, or
  • Verbs (Verbal relation) referring to a non-changing, undynamic state.
"},"DYN":{"name":"Dynamic","desc":"The Dynamic function is typically used in the following ways:
  • Nouns (Nominal relation) referring to states involving change or motion where said change or motion is relevant to the speaker, or
  • Verbs (Verbal relation) involving change/motion/movement/action in which the change/motion/movement/action is relevant to the speaker\'s intended meaning, especially those involving an agent/enabler and a patient.
"}},"popupdesc":"Function is used to show how relevant any change or motion related to a word is to the speaker, and can be both subjective (a meal as an event [STA] or as a process [DYN]?) or objective (the sunset is orange [STA] vs the sky became orange [DYN]) depending on the situation."},"spec":{"type":"","title":"Specification","options":{"BSC":{"name":"Basic","desc":"A holistic instantiation of a root, prior to the application of one of the other three Specifications, essentially encompassing the meanings of the CTE, and CSV specifications below."},"CTE":{"name":"Contential","desc":"The physical or non-physical “content” or essence or purposeful function or idealized/abstract/platonic form thereof, as opposed to its mere physical form/shape"},"CSV":{"name":"Constitutive","desc":"The form (physical or non-physical) in which an entity/state/act actually expresses itself, is shaped, or is realized, as opposed to its functional/purposeful content, i.e., \\"what constitutes X\\""},"OBJ":{"name":"Objective","desc":"Whichever of the following is most salient to the semantics of the particular stem:
(1) tangible tool/instrument/means by which a state act/state/event occurs, or if inapplicable, then
(2) the third-party object/entity associated with the interaction between two parties (e.g., the object being given in a dative interaction), or if inapplicable then
(3) the resulting tangible object/product/situation, or if inapplicable, then
(4) the semantic patient or experiencer of the state/act/event."}},"popupdesc":"Specification makes the definition of the root more specific.
Listed below are the generic definitions of the terms, but the Lexicon should have all necessary information (i.e. what your root means when paired with a certain specification)."},"ver":{"type":"","title":"Version","options":{"PRC":{"name":"Processual","desc":"The Processual is the default version and describes all acts, conditions, or events which are ends in themselves and not goal-oriented, i.e., are not focused on an anticipated outcome or final purpose toward which a progressive effort is being made."},"CPT":{"name":"Completive","desc":"The Completive describes acts, conditions, or events which achieve, or are intended to achieve, an anticipated outcome, i.e., which are oriented toward the achievement of some purpose, outcome, or final state. Such a distinction is usually handled by word choice in Western languages.
hunt → to hunt down
to be losing → to lose
to study → to learn
to be winning → to win
to strive for → to accomplish, achieve
"}},"popupdesc":"Version describes if a given word is goal-oriented or not in its outcome. Ithkuil III had six, but New Ithkuil has only two."},"ctxt":{"type":"","title":"Context","options":{"EXS":{"name":"Existential","desc":"Neutral description
The EXISTENTIAL context focuses on those features of a noun or verb which are ontologically objective, i.e., those that exist irrespective of any observers, opinions, interpretations, beliefs or attitudes. Similarly excluded from consideration in the EXISTENTIAL is any notion of a noun\'s use, function, role or benefit. The EXISTENTIAL serves only to point out the mere existence of a noun as a tangible, objective entity under discussion. It is thus used to offer mere identification of a noun or verb."},"FNC":{"name":"Functional","desc":"Focus on the personal meaning/importance
The FUNCTIONAL context focuses on those features of a formative that are defined socially by ideas, attitudes, beliefs, opinions, convention, cultural status, use, function, benefit, etc. It serves to identify not what a noun existentially is, but to show that the noun has specific (and subjective) contextual meaning, relevance or purpose."},"RPS":{"name":"Representational","desc":"Connotes that the word is a metaphor
The REPRESENTATIONAL context focuses on a formative as a symbol, metaphor, or metonym, in that it indicates that the formative is serving as a representation or substitute for some other concept or entity which is abstractly associated with it. For example, the metaphorical connotations of the English sentence That pinstripe-suited dog is checking out a kitty, can be equally conveyed in Ithkuil by inflecting the words for \'dog\' and \'kitty\' into the REPRESENTATIONAL context. The REPRESENTATIONAL is one of several ways that Ithkuil overtly renders all metaphorical, symbolic, or metonymic usages (from a grammatical standpoint)."},"AMG":{"name":"Amalgamate","desc":"Connotes a focus on the emotional impact plus cultural significance
The AMALGAMATIVE context is the most abstract and difficult to understand from a Western linguistic perspective. It focuses on the systemic, holistic, gestalt-like, componential nature of a formative, implying that its objective and subjective totality is derived synergistically from (or as an emergent property of) the interrelationships between all of its parts, not just in terms of a static momentary appraisal, but in consideration of the entire developmental history of the noun and any interactions and relationships it has (whether past, present or potential) within the larger context of the world. Its use indicates the speaker is inviting the hearer to subjectively consider all the subjective wonder, emotional nuances, psychological ramifications and/or philosophical implications associated with the noun\'s existence, purpose, or function, as being a world unto itself, intrinsically interconnected with the wider world beyond it on many levels."}},"popupdesc":"Context is a morphological category with no equivalent in other languages. It indicates what tangible or intangible features or aspects of a formative are being psychologically implied in any given utterance. There is no way to show this in translation other than by paraphrase.
Simply, context implies what emotional meaning you should apply to the given word; reading the individual definitions is recommended."},"rel":{"type":"","title":"Relation","options":{"UNF/C":{"name":"Nominal","desc":"The word is not a verb (which usually means a noun).
All Concatenated words are Nominal automatically."},"UNF/K":{"name":"Unframed Verbal","desc":"The word is a verb"},"FRM":{"name":"Framed Verbal","desc":"The word is the main verb in a verb phrase (or \\"frame\\") - the verb phrase continues until the end of the sentance, and this word MUST go at the start of it."}},"popupdesc":"Put simply, which part of speech a word belongs to. A nominal is usually a noun, but could be anything other than a verb.

Nominals (and Framed Verbals) are modified by Case and Case-Scope to give a more specific purpose, and (Unframed) Verbals are modified by Mood, Illocution, Expectation and Validation to give a reasoning and intended reaction."},"concat":{"type":"","title":"Concatenation","options":[{"name":"None","desc":"This word is not concatenated to another."},{"name":"Type 1","desc":"Type-1 concatenation implies a circumstantial relationship between the concatenated formative and the parent (equivalent to placing the concatenated formative into a case-frame)"},{"name":"Type 2","desc":"Type-2 concatenation is derivational (i.e., lexicalizing), creating a new lexico-semantic gestalt and usually requiring a different English translation.
This is analogous to English forms like polar bear naming a new animal rather than stating a location."}],"popupdesc":"Concatenation is similar to the Incorporated Root of Ithkuil III. Basically, it\'s how you show two roots on one word in order to make a short phrase or for extra description (\'desk chair\' rather than \'chair\').
A concatenated word MUST be followed by another word (formative), and the two must be joined with a dash.
A concatenated word is automatically a Nominal (see Relation for more on that)."},"shcut":{"type":"","title":"Shortcutting","options":[{"name":"Default (VII only)","desc":"Do not apply Slot IV/VI shortcuts"},{"name":"Slot IV/VI","desc":"Apply Slot IV/VI shortcuts if possible (takes priority over all other shortcuts)"},{"name":"No VII affix","desc":"Do not apply Slot IV/VI or Slot VII affix shortcuts"},{"name":"Absolutely None","desc":"Do not apply ANY shortcuts whatsoever, do not drop any letters, and show the full gloss instead of the regular"}],"popupdesc":"Please note that these options (aside from \\"Absolutely None\\") do not apply to Slot VIII being moved to Slot VI. For that, check settings.
Shortcutting doesn\'t change the definition of a word, it instead shuffles around how the meaning is represented on that word, potentially making it shorter.
If you\'re not sure which option to use, finish creating your word and then see which option makes it the shortest.
(The Slot IV/VI shortcut uses Slots I and II to indicate Slots IV and VI, and the Slot VII shortcut uses Slot II to indicate one Slot VII affix)"},"Vafx":{"type":"affix","title":"Slot V Affixes","popupdesc":"Slot V Affixes are simple definitional modifications to your word applied before any concatenated words, Configuration, Affiliation, Extension, Perspective, and Essence.
Degree 0 refers to the affix\'s general semantic concept as a whole, similar to Stem 0.

Types:
Type 1: circumstantial relation to the word
Type 2: derivational relation to the word (i.e. it\'s a new word/phrase, as in \'polar bear\')
Type 3: Apply to the previous affix

Cₐ-stacking is the ability to add a Cₐ (Configuration+Affiliation+Extension+Perspective+Essence) consonant-form as an affix.

The Ref options allow you to show a Referential (pronoun) on this word as a shortcut - selecting this will turn the Degree options into Case options.
Ref (3) is only available if there is one affix in the slot, to not clash with Type 3"},"VIIafx":{"type":"affix","title":"Slot VII Affixes","popupdesc":"Slot VII Affixes are simple definitional modifications to your word applied after any concatenated words, Configuration, Affiliation, Extension, Perspective, and Essence.
Degree 0 refers to the affix\'s general semantic concept as a whole, similar to Stem 0.

Types:
Type 1: circumstantial relation to the word
Type 2: derivational relation to the word (i.e. it\'s a new word/phrase, as in \'polar bear\')
Type 3: Apply to the previous affix

Cₐ-stacking is the ability to add a Cₐ (Configuration+Affiliation+Extension+Perspective+Essence) consonant-form as an affix.

The Ref options allow you to show a Referential (pronoun) on this word as a shortcut - selecting this will turn the Degree options into Case options.
Ref (3) is only available if there is one affix in the slot, to not clash with Type 3"},"plex":{"type":"","title":"Plexity","options":{"UPX":{"name":"Uniplex","desc":"The UNIPLEX configuration indicates a single, contextual embodiment of the word, i.e., one whole contextual unit of the basic nominal stem,
e.g. a tree, a person, a screwdriver, a grape, a hammer blow, a hole.
With verbs the UNIPLEX signifies a single, holistic act, state, or event,
e.g. to be a tree, to become a person, to use a screwdriver, to eat a grape, to strike (once) with a hammer, to dig a hole."},"DPX":{"name":"Vague Duplex","desc":"The Vague DUPLEX (unofficial name) is the same as the below DUPLEX, except no information regarding Similarity or Connectedness is relayed."},"D":{"name":"Duplex","desc":"The DUPLEX indicated any two contextual embodiments of the word (like the UNIPLEX) or two individual, holistic acts, states, or events.
Like the DUAL in some natural languages."},"M":{"name":"Multiplex","desc":"Same as the above two in terms of when it is applied, but only for more than two instances.
Like the PLURAL in most natural languages."}},"popupdesc":"Describes how many instances of the word there are, similar but not the same as plurality markings of other languages. However, similarities to plurality are used in the below definitions.
This is how you turn the word \\"tree\\" into \\"forest\\", for example, but not \\"tree\\" into \\"trees\\"."},"simil":{"type":"","title":"Similarity","options":{"S":{"name":"Similar","desc":"The 2+ instances are similar or the same"},"D":{"name":"Dissimilar","desc":"The 2+ instances are not similar at all"},"F":{"name":"Fuzzy","desc":"It is unclear as to how similar the 2+ instances are"}},"popupdesc":"Only applies when the Plexity is DUPLEX or MULTIPLEX.
This indicates how similar the 2+ instances (from the Plexity) are."},"cctd":{"type":"","title":"Connectedness","options":{"S":{"name":"Separate","desc":"The 2+ instances are separate"},"C":{"name":"Connected","desc":"The 2+ instances are somewhat connected (but discrete)"},"F":{"name":"Fused","desc":"The 2+ instances are very connected and are somewhat difficult to make discrete"}},"popupdesc":"Only applies when the Plexity is DUPLEX or MULTIPLEX.
This indicated how connected the 2+ instanced (from the Plexity) are."},"affil":{"type":"","title":"Affiliation","options":{"CSL":{"name":"Consolidative","desc":"The CONSOLIDATIVE affiliation indicates that the individual members of a configurational set are a naturally occurring set where the function, state, purpose or benefit of individual members is inapplicable, irrelevant, or if applicable, is shared. It differs from the ASSOCIATIVE affiliation below in that the role of individual set members is not subjectively defined by human design. Examples are tree branches, a grove, a mound of rocks, some people, the clouds.

The CONSOLIDATIVE is also the affiliation normally applied to nouns in the UNIPLEX (plexity) when spoken of in a neutral way, since a noun in the UNIPLEX specifies one single entity without reference to a set, therefore the concept of “shared” function would be inapplicable. Examples: a man, a door, a sensation of heat, a leaf. With verbs, the CONSOLIDATIVE would imply that the act, state, or event is occurring naturally, or is neutral as to purpose or design."},"ASO":{"name":"Associative","desc":"The ASSOCIATIVE affiliation indicates that the individual members of a configurational set share the same subjective function, state, purpose or benefit. Its use can be illustrated by taking the Ithkuil word for soldier in the DISCRETE configuration and comparing its English translations when inflected for the CONSOLIDATIVE affiliation (= a group of soldiers) versus the ASSOCIATIVE (= a troop, a platoon). It is this CONSOLIDATIVE versus ASSOCIATIVE distinction, then, that would distinguish otherwise equivalent plural inflections of the Ithkuil word for tree by translating them respectively as a grove versus an orchard.

The ASSOCIATIVE affiliation can also be used with nouns in the UNIPLEX (plexity) to signify a sense of unity amongst one\'s characteristics, purposes, thoughts, etc. For example, the word person inflected for the UNIPLEX and ASSOCIATIVE would translate as a single-minded person. Even nouns such as rock, tree or work of art could be inflected this way, subjectively translatable as a well-formed rock, a tree with integrity, a “balanced” work of art.

With verbs, the ASSOCIATIVE signifies that the act, state or event is by design or with specific purpose. The CONSOLIDATIVE versus ASSOCIATIVE distinction could be used, for example, with the verb turn in \\"I turned toward the window\\" to indicate whether it was for no particular reason or due to a desire to look outside."},"COA":{"name":"Coalescent","desc":"The COALESCENT affiliation indicates that the members of a configurational set share in a complementary relationship with respect to their individual functions, states, purposes, benefits, etc. This means that, while each member\'s function is distinct from those of other members, each serves in furtherance of some greater unified role. For example, the Ithkuil word translating English toolset would be the word for tool in some plural configuration (depending on each tool\'s distinct physical appearance) and the COALESCENT affiliation to indicate that each tool has a distinct but complementary function in furtherance of enabling construction or repair activities. Another example would be using the COALESCENT with the word for (piece of) food to signify a well-balanced meal.

The COALESCENT naturally appears most often in conjunction with the DUPLEX since binary sets tend to be complementary. It is used, for example, to signify symmetrical binary sets such as body parts, generally indicating a lefthand/righthand mirror-image distinction, e.g., one\'s ears, one\'s hands, a pair of wings. Pairs that do not normally distinguish such a complementary distinction (e.g. one\'s eyes) can nevertheless be optionally placed in the COALESCENT affiliation to emphasize bilateral symmetry (e.g., one\'s left and right eye functioning together).

With verbs, the COALESCENT signifies that related, synergistic nature of the component acts, states, and events which make up a greater holistic act, state, or event. It imposes a situational structure onto an act, state, or event, where individual circumstances work together in complementary fashion to comprise the total situation. It would be used, for example, to distinguish the sentences He traveled in the Yukon from He ventured in the Yukon, or I came up with a plan versus I fashioned a plan."},"VAR":{"name":"Variative","desc":"The VARIATIVE affiliation indicates that the individual members of a configurational set differ as to subjective function, state, purpose or benefit. The differences among members can be to varying degrees (i.e., constituting a fuzzy set in regard to function, purpose, etc.) or at complete odds with one another, although it should be noted that the VARIATIVE would not be used to signify opposed but complementary differences among set members (see the COALESCENT affiliation above). It would thus be used to signify a jumble of tools, odds-and-ends, a random gathering, a rag-tag group, a dysfunctional couple, a cacophony of notes, of a mess of books, a collection in disarray.
It operates with nouns in the UNIPLEX to render meanings such as a man at odds with himself, an ill-formed rock, a chaotic piece of art, a “lefthand-righthand” situation.

With verbs, the VARIATIVE indicates an act, state, or event that occurs for more than one reason or purpose, and that those reasons or purposes are more or less unrelated. This sense can probably be captured in English only through paraphrase, as in She bought the house for various reasons or My being at the party served several purposes. With non-UNIPLEX configurations, the use of the VARIATIVE affiliation can describe rather complex phenomena; for example, a sentence such as The light is blinking in conjunction with the VARIATIVE could mean that each blink of the light signals something different than the preceding or following blinks."}},"popupdesc":"Affiliation distinguishes the relationships between individual members of a set in terms of purpose, function, and/or benefit.

Affiliation operates synergistically in conjunction with Configuration to describe the total contextual relationship between the members of a set. Like Configuration, the meanings of nouns or verbs in the various affiliations often involve lexical changes when translated into English."},"ext":{"type":"","title":"Extension","options":{"DEL":{"name":"Delimitive","desc":"The DELIMITIVE extension indicates that a noun is being spoken of in its contextual entirety as a discrete entity with clear spatio-temporal boundaries, with no emphasis on any particular portion, edge, boundary, limit, or manifestation beyond the context at hand. It can be considered the neutral or default view, e.g., a tree, a grove, a set of books, an army. With verbs, this extension indicates that the act, state, or event is being considered in its entirety, from beginning to end, e.g., She diets every winter (i.e., she starts and finishes each diet).","image":"http://ithkuil.net/images/3-4-1c.jpg"},"PRX":{"name":"Proximal","desc":"The PROXIMAL extension indicates that a noun is being spoken of not in its entirety, but rather only in terms of the portion, duration, subset, or aspect which is relevant to the context at hand. It would be used to translate the words tree, journey, and ladder in the sentences That tree is hard there (e.g., in the spot where I hit against it), She lost weight during her journey, or He climbed on the ladder (i.e., it is not relevant to the context to know if he made it all the way to the top).
Note that in these sentences, the PROXIMAL does not refer to a specific or delineated piece, part, or component of the tree or ladder, but rather to the fact that delineated boundaries such as the ends of the ladder or the entirety of the tree are not relevant or applicable to the context at hand.","image":"http://ithkuil.net/images/3-4-2c.jpg"},"ICP":{"name":"Inceptive","desc":"The INCEPTIVE extension focuses on the closest boundary, the beginning, initiation, or the immediately accessible portion of a noun or verb, without focusing on the boundaries of the remainder. It would be used in translating the nouns tunnel, song, desert, daybreak and plan in the following sentences: We looked into (the mouth of) the tunnel, He recognizes that song (i.e., from the first few notes), They came upon (an expanse of) desert, Let\'s wait for daybreak, I\'m working out a plan (i.e., that I just thought of).
In verbal contexts it would correspond to the English ‘to begin (to)…’ or ‘to start (to)…’ as in He began reading, It’s starting to molt, or She goes on a diet every winter.","image":"http://ithkuil.net/images/3-4-3c.jpg"},"ATV":{"name":"Attenuative","desc":"The ATTENUATIVE extension focuses on the end, termination, last portion, or trailing boundary of a noun, without focusing on the preceding or previously existing state of the noun. It would be used in translating the words water, story, and arrival in the sentences There’s no water (i.e., we ran out), I like the end of that story, and We await your arrival. With verbs, it is illustrated by the sentences It finished molting or She’s come off her diet.","image":"http://ithkuil.net/images/3-4-4c.jpg"},"GRA":{"name":"Graduative","desc":"The GRADUATIVE extension is the inverse of the DEPLETIVE (below), focusing on a diffuse, extended “fade-in” or gradual onset of a noun. It would be used in translating the words darkness, wonder, and music in the following sentences: Darkness came upon us, I felt a growing sense of wonder, The music was very soft at first. With verbs it is illustrated by verbs and phrases such as to fade in, to start gradually, to build up, and similar notions, e.g., She\'s been eating more and more lately.","image":"http://ithkuil.net/images/3-4-6c.jpg"},"DPL":{"name":"Depletive","desc":"The DEPLETIVE extension focuses on the terminal boundary or “trailing” edge of a noun, where this terminus is ill-defined, “diffuse” or extended to some degree, (i.e. the at-hand context of the noun “peters out” or terminates gradually). Essentially, it applies to any context involving actual or figurative fading. It would be used in translating the words water, strength, and twilight in the sentences He drank the last of the water, I have little strength left, She disappeared into the twilight. With verbs, it is exemplified by the phrases to wind down, to fade out, to disappear gradually and similar notions, e.g., She\'s eating less and less these days.","image":"http://ithkuil.net/images/3-4-5c.jpg"}},"popupdesc":"Extension refers to the spatial and temporal extent to which you are considering the root word; are you referring to all of it? The start of it? Some part in the middle of it?"},"persp":{"type":"","title":"Perspective","options":{"M":{"name":"Monadic","desc":"The MONADIC means that there is a certain number of (relevant) instances of the word. When combined with things like the MULTIPLEX, it means that the entire group is being considered as a whole (\\"forest(s)\\", not \\"trees\\")."},"G":{"name":"Agglomerative","desc":"The AGGLOMERATIVE is similar to the MONADIC, except it doesn\'t imply any sense of number; as in, \\"one or more X\\". It is also used for turning nouns (such as \\"a strand of hair\\" in the MONADIC) into mass nouns (such as \\"hair\\" in the AGGLOMERATIVE)"},"N":{"name":"Nomic","desc":"The NOMIC refers to the general archetype of the word as opposed to any specific instance of it. Examples are: The dog is a noble beast, Clowns are what children love most, There is nothing like a tree."},"A":{"name":"Abstract","desc":"Similar to the formation of English abstract nouns using suffixes such as -hood or -ness, the ABSTRACT transforms a configurative category into an abstract concept considered in a non-spatial, timeless, numberless context.
Examples: grove → the idea of being a grove or “grovehood”; book → everything about books, having to do with books, involvement with books.

With verbs, the ABSTRACT is used in verbal constructions to create a temporal abstraction, where the temporal relationship of the action, event, or state to the present is irrelevant or inapplicable, similar to the way in which the English infinitive or gerund form (used as substitutes for a verb phrase) do not convey a specific tense in the following sentences: Singing is not his strong suit; It makes no sense to worry about it; I can\'t stand her pouting."}},"popupdesc":"Perspective is the closest Ithkuil morphological category to the Number and Tense categories of other languages (e.g., singular/plural and past/present/future). However, the correspondence is only approximate because Perspective does not specifically address the quantity to which a formative is instantiated within a given context, nor when it occurs relative to the present, but rather the manner in which it is spatio-temporally instantiated."},"ess":{"type":"","title":"Essence","options":{"NRM":{"name":"Normal","desc":"Things that are real or real things that have happened"},"RPV":{"name":"Representative","desc":"Things that are potentially real (\\"It seems\\"/\\"I think it\'s\\") or imagined"}},"popupdesc":"The Ithkuil category of Essence explicitly distinguishes real-world actualities from their alternative, imagined or potential counterparts. The two essences are termed NORMAL and REPRESENTATIVE, the former being the default essence denoting real-world nouns and verbs, the latter denoting alternative counterparts."},"vn":{"type":"","title":"Vₙ","options":{"val":{"name":"Valence","desc":""},"pha":{"name":"Phase","desc":""},"eff":{"name":"Effect","desc":""},"lvl":{"name":"Level","desc":""},"asp":{"name":"Aspect","desc":""}},"popupdesc":"Determines which of the linked categories (listed below) will actually be shown on the word. All others are showable via affix if absolutely necessary, but will not be shown otherwise."},"v4n":{"type":"","title":"Vₙ","options":{"val":{"name":"Valence","desc":""},"pha":{"name":"Phase","desc":""},"eff":{"name":"Effect","desc":""},"lvl":{"name":"Level","desc":""}},"popupdesc":"Determines which of the linked categories (listed below) will actually be shown on the word.
To show Aspect in this slot, the word must only have one module - otherwise, use a different slot."},"val":{"type":"","title":"Valence","options":{"MNO":{"name":"Monoactive","desc":"The MONOACTIVE valence is the default valence and indicates a lack of co-activity, i.e., no participation by a second party is implied.
Use this for the default of all other Vₙ options."},"PRL":{"name":"Parallel","desc":"The PARALLEL valence indicates that a second party is engaging in the same activity as the first party at same time.
It would be used in translating sentences such as The children all sang together, We both went jogging on the parkway."},"CRO":{"name":"Corollary","desc":"The COROLLARY valence is similar to the PARALLEL, except that the second party engages in related activity at the same time as the first party, rather than the same activity.
It would be used in translating sentences such as The children played in the yard (i.e., each child engaged in a different play activity) or The band played my favorite song (implying that not everyone in the band was playing the same instrument, or perhaps that someone in the band sang as opposed to playing an instrument)."},"RCP":{"name":"Reciprocal","desc":"The RECIPROCAL valence indicates identical activity by each party directed at the other, thus translating the English adverbial phrases \'each other\' and \'one another,\' as in:
They looked at each other, The clown and the grocer despise one another."},"CPL":{"name":"Complementary","desc":"The COMPLEMENTARY valence indicates that the second party performs a complementary activity to that of the first party. By “complementary” is meant an activity different from that of the first party, but necessary to complete the whole of the joint activity, i.e., the “other half” of the joint activity.
This is exemplified in sentences such as The man and his son played catch, Hortense took me into the woods, The clown read the children a story, My back itches so I scratch it,
where \'played catch\' implies the complementary activities of throwing and catching, \'took (into the woods)\' implies someone leading while the other follows, \'read\' implies a reader and an audience, and \'itches\' implies scratching."},"DUP":{"name":"Duplicative","desc":"The DUPLICATIVE valence indicates that the second party copies or repeats the activity of the first party, as in the sentences:
Let\'s draw a picture (i.e., I\'ll draw it first, then you draw the same picture), They both read that book (i.e., first one, then the other), I bought a new car (i.e., and now someone else is buying a new car, too)."},"DEM":{"name":"Demonstrative","desc":"The DEMONSTRATIVE valence indicates that the first party demonstrates for the second party how to do something or what to do.
Thus an Ithkuil sentence constructed as We played chess with the verb in the DEMONSTRATIVE valence would mean \'I showed her how to play chess,\' while the sentence constructed as They fought us in this valence would mean \'They taught us how to fight.\'"},"CNG":{"name":"Contingent","desc":"The CONTINGENT valence indicates that the second party engages in the next or dependent phase of a multi-part activity, the specific activity being dependent on context.
Thus the Ithkuil sentence I started the campfire for my friend in the CONTINGENT implies that the friend then performed the next logical step, i.e., he cooked the food."},"PTI":{"name":"Partictipative","desc":"The PARTICIPATIVE valence indicates that the parties take part in an activity involving a greater whole, translatable by the English phrase \'take part in…\'
Thus, the Ithkuil sentence They raced in the PARTICIPATIVE means \'They each took part in the race.\'"}},"popupdesc":"In Ithkuil, the term Valence is used to refer to the manner of participation of two separate entities or parties to any given verb, i.e., participation by one party automatically implies participation by another party to the same act, event, or state in either a parallel, corollary, or complementary fashion. Such dual participation occurs naturally in the verbs of world languages and is the province of what is known as “co-active” verbs."},"pha":{"type":"","title":"Phase","options":{"PCT":{"name":"Punctual","desc":"The PUNCTUAL describes an act, condition, or event which is point-like, momentary or instantaneous in nature, such as an explosion, a flash of lightning, a blow, a single handclap, a collision between two objects, a stab of pain, a single cough, the clicking of a lock, etc.
It can be visually represented along a timeline by a single point, e.g., "},"ITR":{"name":"Iterative","desc":"The ITERATIVE refers to a momentary or instantaneous event, like the PUNCTUAL above, which repeats itself in a rapid, on/off, staccato manner, like a machine gun burst, strobe light burst, an alarm bell ringing, or the quick unconscious tapping of a finger, the whole comprising a single event.
Visual representation: • • • •"},"REP":{"name":"Repetitive","desc":"The REPETITIVE refers to a relatively brief event of indeterminate or vague duration (i.e., as with the default above), but repeated in an on/off staccato manner, like a car horn being honked repeatedly in a fast steady rhythm, or an automatic machine press.
Visual representation: — — ——"},"ITM":{"name":"Intermittent","desc":"The INTERMITTENT is similar to the ITERATIVE above, identifying a repetitive occurrence of a PUNCTUAL event, however, unlike the ITERATIVE, the duration of time between repetitions is relatively long and contextually relevant. It would be used in describing the downbeat pattern of a pop song, the ongoing snapping of fingers to music, the steady one-drop-at-a-time dripping of a faucet, etc.
Visual representation: •⠀⠀⠀•⠀⠀⠀•⠀⠀⠀•"},"RCT":{"name":"Recurrent","desc":"The RECURRENT is to the REPETITIVE as the INTERMITTENT is to the ITERATIVE. It indicates a slow repetition of a non-PUNCTUAL (default) event, where the duration between occurrences is relatively long and contextually relevant. Exemplified by the sounding of a foghorn, or the ongoing hooting of an owl.
Visual representation: —⠀⠀⠀—⠀⠀⠀—⠀⠀⠀—"},"FRE":{"name":"Frequentative","desc":"The FREQUENTATIVE indicates an iterative occurrence (a single set of punctual repetitions) which in turn repeats at intervals, the whole considered as a single event. Examples would be the repetitive sets of hammerings of a woodpecker or the repeated short bursts of a jackhammer.
Visual representation: • • •⠀⠀⠀• • •⠀⠀⠀• • •⠀⠀⠀• • •"},"FRG":{"name":"Fragmentative","desc":"The FRAGMENTATIVE indicates a random pattern of punctual occurrences, the whole considered as a single event.
Visual representation: • •⠀⠀⠀• • •⠀⠀⠀⠀⠀• •⠀⠀⠀• • • • •⠀⠀⠀⠀⠀•⠀⠀⠀• •"},"VAC":{"name":"Vacillative","desc":"The VACILLATIVE functions as a non-punctual counterpart to the FRAGMENTATIVE.
Visual representation: —— — —⠀⠀⠀— —⠀⠀⠀— —⠀⠀⠀—⠀⠀⠀⠀⠀— — —"},"FLC":{"name":"Fluctuative","desc":"The FLUCTUATIVE indicates a random pattern of both punctual and longer occurrences. An example would be the “sputtering” of a lighted fuse, the random patterns of tongues of flames, the chirping of birds in the wild, etc.
Visual representation: — • • —⠀⠀• — • •⠀⠀⠀—⠀⠀⠀⠀⠀• • — • • •⠀⠀⠀• •⠀⠀⠀—— • — • •"}},"popupdesc":"Phase refers to variances in the temporal pattern of how an act, condition or event occurs.
The default (i.e. if the Phase is not specified) is only one occurrence.
Said default can be visually represented along a progressive timeline by a short dash, e.g., "},"eff":{"type":"","title":"Effect","options":{"1:BEN":{"name":"Beneficial to Speaker","desc":"Whatever the word is describing is beneficial to the speaker."},"2:BEN":{"name":"Beneficial to Addressee","desc":"Whatever the word is describing is beneficial to the addressee."},"3:BEN":{"name":"Beneficial to 3rd Party","desc":"Whatever the word is describing is beneficial to some third party (who is probably referred to by another word)."},"SLF:BEN":{"name":"Beneficial to Formative","desc":"Whatever the word is describing is beneficial to itself."},"UNK":{"name":"Unknown","desc":"The benefit/detriment from this word is unknown.
Note that this is not the same as no benefit/detriment."},"SLF:DET":{"name":"Detrimental to Formative","desc":"Whatever the word is describing is detrimental to itself."},"3:DET":{"name":"Detrimental to 3rd Party","desc":"Whatever the word is describing is detrimental to some third party (who is probably referred to by another word)."},"2:DET":{"name":"Detrimental to Addressee","desc":"Whatever the word is describing is detrimental to the addressee."},"1:DET":{"name":"Detrimental to Speaker","desc":"Whatever the word is describing is detrimental to the speaker."}},"popupdesc":"Effect is used to describe who a certain concept (the word) is beneficial or detrimental to."},"lvl":{"type":"","title":"Level","options":{"MIN":{"name":"Minimal","desc":"X\'s M is at its least possible
X is at its least M possible"},"SBE":{"name":"Subequative","desc":"X\'s M is less than or equal to to Y (or less than or equal to before)
X is less M than or equal to Y/before"},"IFR":{"name":"Inferior","desc":"X\'s M is the least within/among Y (or ever)
X is the least M within/among Y"},"DFT":{"name":"Deficient","desc":"X\'s M is less than Y (or less than before)
X is less M than Y (or than before) "},"EQU":{"name":"Equative","desc":"X\'s M is the same as Y (or as before)
X is as M as Y (or as before)"},"SUR":{"name":"Surpassive","desc":"X\'s M is more than Y (or than before)
X is more M than Y (or than before)"},"SPL":{"name":"Superlative","desc":"X\'s M is the most within/among Y (or ever)
X is the most M within/among Y (or ever)"},"SPQ":{"name":"Superequative","desc":"X\'s M is more than or equal to Y (or more than or equal to before)
X is more M than or equal to Y/before"},"MAX":{"name":"Maximal","desc":"X\'s M is at its most possible
X is at its most M possible"}},"popupdesc":"Level is used in comparative statements, such as \\"my hat is cooler than your hat\\".
X = this word,
M = a verb (what quality of X is being compared),
Y = a word marked with the CMP case (the thing being compared to)"},"asp":{"type":"","title":"Aspect","options":{"RTR":{"name":"Retrospective","desc":"This aspect operates in conjunction with Perspective to create various equivalents to Western tense categories.
With the MONADIC, the RETROSPECTIVE equates with the English simple past tense.
With the NOMIC and ABSTRACT, it adds a sense of ‘and it’s always been that way’."},"PRS":{"name":"Prospective","desc":"Like the RETROSPECTIVE above, this aspect operates in conjunction with Perspective to create various equivalents to Western tense categories.
With the MONADIC, the PROSPECTIVE equates with the English future tense.
With the NOMIC and ABSTRACT, it adds a sense of ‘and it’ll always be that way’ or ‘from now on’."},"HAB":{"name":"Habitual","desc":"When used with the MONADIC perspective, this aspect conveys the idea of ‘always’ or ‘continues to’."},"PRG":{"name":"Progressive","desc":"This aspect conveys the idea of an act in progress, similar to the English construction ‘in the midst of [verb] + ing’ or the use of the present participle in Spanish."},"IMM":{"name":"Imminent","desc":"Conveys that an action, state or event is imminent. Translates phrases such as ‘(just) about to’ or ‘on the verge of’ as in I think Carl is about to cry."},"PCS":{"name":"Precessive","desc":"Conveys that an action, state or event has immediately preceded. Translates such phrases as ‘just’ or ‘just now,’ as in We just saw a clown in the toy store."},"REG":{"name":"Regulative","desc":"Conveys the idea of participation or involvement in an action, state, or event over an amount of time extending from the past into the future relative to the contextual present. Translates English phrases such as ‘engaged in’ or ‘involved in’ as in Her husband is engaged in construction of the new bridge."},"SMM":{"name":"Summative","desc":"meaning ‘...(have) already X’d’"},"ATP":{"name":"Anticipatory","desc":"meaning ‘have yet to (begin) X-ing’"},"RSM":{"name":"Resumptive","desc":"Conveys the idea of an act, state, or event resuming after having previously ceased, as in The girl resumed singing, or He is starting to laugh again."},"CSS":{"name":"Cessative","desc":"Conveys the idea of cessation of an event, state or action. Translates English phrases such as ‘stop,’ ‘discontinue,’ or ‘cease,’ as in They stopped dancing at midnight."},"PAU":{"name":"Pausal","desc":"Indicates a pause in an action, state or event, with an implied intention to resume. Translates phrases such as ‘take a break from’ or ‘pause in’ as in Mother took a break from cleaning to gossip with her friends."},"RGR":{"name":"Regressive","desc":"Conveys the idea of a return to an original or previous action, state or event after a long hiatus involving an intervening change of state or situation, as translated by the phrase ‘return to.’ The REGRESSIVE should be distinguished from the RESUMPTIVE above, which merely implies the restarting after a stop or pause without an intervening change of state or situation. An example would be Mr. Yates returned to golf after recovering from his stroke."},"PCL":{"name":"Preclusive","desc":"Conveys the fact that an action, state, or event takes place from inception to conclusion all in one contextual segment, translating such phrases as ‘all at once,’ ‘all in one go,’ ‘without stopping,’ etc. as in Walter drank the entire bottle in one gulp."},"CNT":{"name":"Continuative","desc":"Conveys the idea that an action, event, or state continues on. Translates phrases such as ‘keep on,’ ‘still,’ ‘stay,’ ‘yet,’ etc. When used in a negative sentence, conveys the idea of English ‘no longer’ or ‘not anymore’ as in She kept on singing, You\'re still staring at me, I\'ve yet to meet him, Sam no longer loves you / Sam doesn\'t love you anymore."},"ICS":{"name":"Incessative","desc":"Conveys that an action, state or event continues on without stopping. Translates such English adverbials as ‘…on and on’ or ‘…away’ as in They danced the night away or They\'ve been battling on and on since last year."},"EXP":{"name":"Experiential","desc":"Translates English ‘ever’ in the sense of ‘within the realm of one’s experience’ or ‘at some point in one’s experience,’ as in Does he ever shut up?
Note the EXPERIENTIAL does not equate to ‘ever’ when it means ‘always,’ as in Ever does he seek his destiny nor as an adverb of mere emphasis as in Was she ever tired."},"IRP":{"name":"Interruptive","desc":"meaning ‘to get interrupted while X-ing’ or ‘to X only so far or so much before having to stop’"},"PMP":{"name":"Preemptive","desc":"Emphasizes the singularity and initial occurrence of an action, state or event, as translated by such English phrases as ‘for once’ or ‘just once,’ as well as the anticipation preceding a long-expected situation, as translated by phrases such as ‘at last,’ ‘after all this time,’ ‘finally,’ and ‘for the first time.’"},"CLM":{"name":"Climactic","desc":"Emphasizes the finality of an action, state or event, as translated by such English phrases as ‘once and for all’ or ‘for the last time.’"},"DLT":{"name":"Dilatory","desc":"meaning ‘(be) long-delay(ed) in being/doing X’ "},"TMP":{"name":"Temporary","desc":"Conveys that an action, state or event is being considered or is applicable only to the present subjective context or range of the contextual present, as translated by phrases such as ‘for the time being’ or ‘but only for the moment’ or ‘for now’ as in This will be sufficient for now or For the time being you\'ll have to drink water."},"XPD":{"name":"Expenditive","desc":"Conveys an all-consuming action, state, or event which interferes with or prevents other events from occurring. It translates English phrases such as ‘spend one’s time’ or ‘away’ as in Mother spends her life worrying or He\'s pining away."},"LIM":{"name":"Limitative","desc":"meaning ‘to be/do X (just) in time’; indicates an act/event that culminates an anticipatory context"},"EPD":{"name":"Expeditive","desc":"Conveys a sense of haste associated with an action or event. Translates English ‘hurry (up)’ as in Hurry up and finish or They ate in a hurry."},"PTC":{"name":"Protractive","desc":"‘take one’s time X-ing’"},"PPR":{"name":"Preparatory","desc":"meaning ‘to be/do X in advance’, ‘to be/do X in preparation for a future situation’"},"DCL":{"name":"Disclusive","desc":"Focuses on the revelatory nature of an action, state or event, translating phrases such as ‘turn out to be,’ ‘turn out that…’ and ‘be revealed that….’"},"CCL":{"name":"Conclusive","desc":"Conveys the direct outcome of an action, state or event within the short-term context of the situation at hand. Translates phrases such as ‘end up…, come to, reach the point where,’ as in I ended up crashing the car or He drank to the point where he passed out."},"CUL":{"name":"Culminative","desc":"Similar to the CONCLUSIVE above, but with a focus on the eventual, long-term outcome over an extended period of time or through a series of developmental steps. Compare the following examples with the CONCLUSIVE aspect above: In the end, I\'ll have to leave town; Things got to the point where the mayor got involved; Eventually, they fell in love."},"IMD":{"name":"Intermediative","desc":"Conveys the idea that the action, state, or event takes place at some point along the timeline of, or within the duration of, another action, state, event, or background context, as translated by the phrases ‘at some point’ or ‘somewhere along the way….’"},"TRD":{"name":"Tardative","desc":"Conveys the idea that an action, state, or event lessens, dwindles, or slackens in energy, intensity, or effect, impliedly by exhaustion of the active source of energy or agency, or by dissipation of the foundational context involved. Translates such phrases as ‘to get tired of,’ ‘peter out,’ ‘trail off,’ etc."},"TNS":{"name":"Transitional","desc":"Focuses on the initial stage of preparation, adjustment, or accustomization to an action, state or event, translated by phrases such as ‘take up,’ ‘start to,’ etc. implying a long-term process of initialization, as in I\'m planning to take up golf."},"ITC":{"name":"Intercommutative","desc":"Conveys the idea of “sequential reciprocity,” meaning that the action or event is a consequent reciprocation triggered by, or in reaction to, an initiating action or event. It translates the English verbal particle ‘back’ as in The boy threw it back or She stared back at the men ogling her."},"MTV":{"name":"Motive","desc":"Conveys that an action, state or event involves physical removal or absence of the participant from the present context of discourse. Translates such phrases as ‘be off …-ing’ or ‘go off to …’ as in Dad\'s off hunting or They went off to cavort with the clowns."},"SQN":{"name":"Sequential","desc":"This aspect conveys the idea a “sequential progressive” in which a series of contextually identical instances is seen as comprising a single event, usually with an implied culmination point. It translates the English use of ‘off’ as in He\'s checking off each item as it is inventoried, or The sheep died off from the disease."}},"popupdesc":"Aspect provides detailed and specific temporal information about the word, not in relation to the speaker\'s present moment of utterance (as with Perspective), but rather in relation to the contextual “present” of the act, condition, or event being spoken about.
It makes the most sense when applied to verbs (both unframed and framed)."},"mood":{"type":"","title":"Mood","options":{"FAC":{"name":"Factual","desc":"The FACTUAL mood signifies that the factuality of the speaker’s statement is certain and that there either is no underlying presupposition to the statement, or if there is, its factuality is also certain or has no bearing on the factuality of the statement.
TRUE / TRUE or NONE"},"SUB":{"name":"Subjective","desc":"The SUBJUNCTIVE mood indicates that the factuality of an explicit or implicit presupposition underlying the statement is certain, but the factuality of the speaker’s statement itself is questionable or uncertain, the specific nuance of factuality intended being subject to the particular Bias and Validation associated with the verb. Corresponds roughly with English ‘may,’ ‘maybe’ or ‘might,’ with the added distinction that an explicit or implicit (i.e., underlying) presupposition is true.
UNCERTAIN / TRUE"},"ASM":{"name":"Assumptive","desc":"The ASSUMPTIVE mood functions identically to the FACTUAL except that the factuality of an underlying presupposition is unknown. It therefore conveys an act, state, or event whose factuality is dependent on whether something else is factual, thus corresponding to certain usages of English ‘maybe’ and ‘will’ (where ‘will’ primarily conveys possibility, not future tense).
TRUE / UNCERTAIN"},"SPC":{"name":"Speculative","desc":"The SPECULATIVE mood indicates that the factuality of both the presupposition and the statement itself are unknown. Its translation into English is dependent on the specific context, sometimes corresponding to ‘may,’ ‘maybe’ or ‘might,’ and at other times corresponding to the auxiliary ‘would.’
UNCERTAIN / UNCERTAIN"},"COU":{"name":"Counterfactive","desc":"The COUNTERFACTIVE mood indicates that the factuality of the underlying presupposition is false or unreal but that the factuality of the statement would otherwise be true. It thus corresponds to the English construction of auxiliary ‘would’ or ‘would have’ in its use to show counterfactuality (i.e., what would have been if a false presupposition had been true).
TRUE / FALSE"},"HYP":{"name":"Hypothetical","desc":"The HYPOTHETICAL mood indicates that the factuality of the underlying presupposition is false or unreal and that the factuality of the statement itself is uncertain. It thus corresponds to the English construction of auxiliary ‘might have’ in its use to show possible counterfactuality (i.e., what might have been if a false presupposition had been true).
UNKNOWABLE / FALSE"}},"popupdesc":"Mood refers to the knowability and truthfulness of a statement, and describes both the truth of the actual statement and any underlying presuppositions.
Alongside Illocution and Validation, it refers to the whole statement.
FULL STATEMENT / PRESUPPOSITIONS"},"casc":{"type":"","title":"Case-Scope","options":{"CCN":{"name":"Natural","desc":"X\'s case is governed by the noun-case of the formative marked Antecedent (CCA); in the absence of such, X\'s case is associated with the main verb (or framed verb if within a case-frame), except for if it has the Appositive or Relational Cases."},"CCA":{"name":"Antecedent","desc":"X is the “head” whose case governs all Natural (CCN) nouns in the clause"},"CCS":{"name":"Subaltern","desc":"X is the formative to which formatives in the clause marked with Qualifier (CCQ) are associated"},"CCQ":{"name":"Qualifier","desc":"X is associated by noun-case to the formative marked by Subaltern (CCS)"},"CCP":{"name":"Precedent","desc":"X\'s noun-case associates only with the immediately following formative"},"CCV":{"name":"Successive","desc":"X\'s noun-case associates only with the immediately preceding formative"}},"popupdesc":"Formatives showing Case use the Case-Scope to indicate the scope of a case-marked formative over adjacent formatives. This is useful when there is a string of cases modifying another “head” formative; specifies which has scope over which other formative.
Similar to a Type 1 Concatenation."},"c":{"type":"","title":"Case","options":{"THM":{"name":"Thematic","desc":"The (usually inanimate) party which is a participant to the verbal predicate which does not undergo any tangible change of state.
Semantic role: CONTENT"},"INS":{"name":"Instrumental","desc":"The entity acting as means utilized by an explicit or implicit agent to implement/carry out the effect/impact of an act/event.
Semantic role: INSTRUMENT"},"ABS":{"name":"Absolutive","desc":"The party that is the target of, and/or undergoes, the effect/impact or change of state as a result of a tangible act/event.
Semantic role: PATIENT"},"AFF":{"name":"Affective","desc":"The party who undergoes an unwilled, affective experience,
e.g. coughing, sneezing, feeling hot/cold, trembling, experiencing sensory input (tactile, olfactory, visual, aural, gustatory), proprioceptive states, psychological/emotional states, reflex reactions such as cringing, yawning, ducking, screaming in fright, etc.
Semantic role: EXPERIENCER"},"STM":{"name":"Stimulative","desc":"The party/entity/idea/thought/situation or mental state which triggers an unwilled, affective response or is the trigger for an existential state such as possession.
Semantic role: STIMULUS"},"EFF":{"name":"Effectuative","desc":"The party/force that initiates a chain of causal events or who induces another party to act as an agent (specifiable via the ENB affix).
Semantic role: ENABLER"},"ERG":{"name":"Ergative","desc":"The animate party or inanimate force which initiates/causes an act/event which creates a tangible effect or change of state in a patient.
Semantic role: AGENT or FORCE"},"DAT":{"name":"Dative","desc":"The party which is the (intended) recipient of a verb of transference, transmission, or communication; the party at/to which a physically transferred entity, transmitted information, or a communicable entity is directed.
Semantic role: RECIPIENT"},"IND":{"name":"Inducive","desc":"The patient who undergoes the tangible effect, impact, or change of state of an act/event initiated/caused by that self-same party.
Semantic role: AGENT+PATIENT"},"POS":{"name":"Possesive","desc":"The party which has alienable (i.e., removable or severable) possession of another noun in the sense of having physical control or oversight of that noun, whether by chance circumstance or deliberate manipulation."},"PRP":{"name":"Proprietive","desc":"The party having alienable possession of another noun in the sense of quasi-permanent contextual control, ownership or oversight, whether by societal recognition, socialconvention, law, purchase or decree, which mere physical separation does not sever."},"GEN":{"name":"Genitive","desc":"The party which has inalienable (i.e., irremovable, non-severable) possession of or association with another noun in the sense of having that noun as an inherent or intrinsic attribute, characteristic, physical part, or genetic (i.e., familial) bond."},"ATT":{"name":"Attributive","desc":"The party which inalienably experiences the effects of, or otherwise has an affective (see the affective case above) relationship with another noun, either as a temporary or permanent attribute, characteristic, or experience, whether physical or psychological, objective or subjective in nature."},"PDC":{"name":"Productive","desc":"The party which is the creator, author or originator of another noun."},"ITP":{"name":"Interpretative","desc":"The party acting as the subjective interpretational context of another noun, that is the noun by or through which another noun is subjectively considered, interpreted or described,
e.g. Monet\'s Paris, my baseball team (as spoken by a fan)."},"OGN":{"name":"Originative","desc":"The party which is the literal or figurative source of another, or which is the native location, origin, or usual locative context for another."},"IDP":{"name":"Interdependent","desc":"The party which has a coordinated, tandem, complementary or mutually dependent relationship with another. The relationship between the two nouns can be thought of as reciprocal in nature, i.e., each noun implies the other or needs the other to exist within its natural context."},"PAR":{"name":"Partitive","desc":"Indicates a quantitative or content-to-container relationship between the two nouns,
e.g. a cup of coffee, a box(ful) of books, a train(load) of refugees, twelve chairs."},"APL":{"name":"Applicative","desc":"The entity/act/event which constitutes the circumstantial, potentially one-time, temporary purpose of another entity/act/event.
\'for the (circumstantial/temporary/one-time) purpose of X\', \'being used (temporarily/circumstantially) as X\'."},"PUR":{"name":"Purposive","desc":"The entity/act/event which constitutes the inherent/innate/intrinsic purpose of another entity/act/event.
\'for the (dedicated) purpose/function of X\'"},"TRA":{"name":"Transmissive","desc":"Renamed from the Benefactive in Ithkuil III, this case indicates the party for which/whom an entity/act/event occurs or is transmitted, with the intention that the entity/act/event be beneficial/detrimental to the named party.
\'for (the benefit/detriment of) X\'"},"DFR":{"name":"Deferential","desc":"The entity for whose sake, or out of deference/respect to whom, an act/event occurs.
\'for X\'s sake\', \'out of deference for X\', \'out of respect for X\'"},"CRS":{"name":"Contrastive","desc":"The party for which something is substituted, or of which another party/entity takes its place;
\'instead of X\', \'as a substitute for X\', \'in place of X\'"},"TSP":{"name":"Transposive","desc":"The party on whose behalf something is/occurs."},"CMM":{"name":"Commutative","desc":"The party in exchange for which, a reciprocal or complementary act/event occurs;
e.g. He paid 100 dollars in exchange for the tickets."},"CMP":{"name":"Comparative","desc":"The party being compared to another, translatable as \'as compared to\', \'as opposed to,\' \'versus\'; with verbs it translates as \'whereas\' or \'while\' (in its synonymous usage to \'whereas\').
Examples: She chose the red one as opposed to the others, Sam drives a van versus Joe, who prefers a truck, At the party, she danced while/whereas I ate."},"CSD":{"name":"Considerative","desc":"The entity according to which, another entity is, or an act/event occurs."},"FUN":{"name":"Functive","desc":"Identifies a noun used to describe/characterize the manner in which an act/event/state occurs or exists,
e.g. She dances gracefully; The boys ate with gusto; That clown is speaking nonsense; Father speaks with such fortitude."},"TFM":{"name":"Transformative","desc":"Identifies the outcome or final state of a process, often translatable by \'to,\' \'until,\' or \'into\' in the sense of reaching a final state after undergoing some transformation.
Examples: The house burned to ashes, Mother reached a state of tranquility, The clowns will turn our children into slaves, Her father drank himself to death"},"CLA":{"name":"Classificative","desc":"Identifies a noun as a basis for arranging, sorting, classifying, or counting,
e.g. Place them in groups of three, The workers arranged the tables in rows, He lay down lengthwise, Can you count by fives?, I will sort them by color.
Also identifies the basis for recurring increments,
e.g. month by month; day in, day out; box upon box, clown after clown."},"RSL":{"name":"Resultative","desc":"Identifies a result/consequence, translatable as \'resulting in X\', \'with X as a consequence\', etc."},"CSM":{"name":"Consumptive","desc":"Identifies the entity consumed or used as a resource as a result of, or as a concurrent part of a process,
e.g. She cooks with tomatoes, The clown fed her an apple, He reads by candle(light)."},"CON":{"name":"Concessive","desc":"Identifies a noun or phrase which gives rise to an implicitly expected result which does not occur. This translates in many ways such as \'despite,\' \'in spite of,\' \'notwithstanding,\' \'although,\' \'regardless of,\' \'no matter what,\' etc.
Examples: In spite of his stupidity, he passed the test; The law notwithstanding, I will stand my ground; No matter how ignorant (they may be), they are welcome; Although a foreigner, we will let him in."},"AVR":{"name":"Aversive","desc":"Identifies a source or object of fear and/or avoidance. With nouns, it translates expressions such as \'for fear of,\' \'in order to avoid,\' or \'in avoidance of.\' With verbs, it would translate English ‘lest.’
Examples: She finished her plate for fear of my wrath, I traveled by night to avoid the sun. Hide the children, lest the clowns find them."},"CVS":{"name":"Conversive","desc":"Identifies an exception. When the exception is to a hypothetical situation, it translates as \'unless\' in verbal phrases, and \'without\' for nouns,
e.g. Without peace, this society is doomed; We\'ll be safe unless the clowns find us.
If applied to a real or actual situation, it translates as \'except (for)\', \'but for,\' \'but (not), \'excluding\', \'if not for,\' \'if it wasn\'t for,\' \'if it wasn\'t on account of.\'
If not for the rain, we would have had a good time; She loves everybody except clowns; All pets are vermin, excluding dogs; He eats almost anything but (not) spinach."},"SIT":{"name":"Situative","desc":"Identifies a noun as the background context for a clause without implying any direct causative relationship between the background context and the associated or consequent act/state/event. It translates in many ways,
e.g. Because of war, our planet will never be able to join the Federation; Given the presence of clowns, we must accept the corruption of our children; With my plan, we will defeat the enemy.
Other translations include: \'inasmuch as / insofar as / to the extent that / taking X into account / in view of the fact that / given that / considering\'."},"PRN":{"name":"Pertinential","desc":"Identifies the general referent of another formative, translating such English terms as \'about,\' \'regarding,\' \'concerning,\' \'in regard to,\' \'in reference to,\' \'pertaining to,\' or \'as for.\'"},"DSP":{"name":"Descriptive","desc":"Identifies a formative as describing another formative in an adjectival manner, translatable as \'characterized/describable as being like X; characterized/describable as having the quality/qualities of X\'"},"COR":{"name":"Correlative","desc":"Indicates an abstract general relationship, association, or conjunction between one formative and another, including subjective, contextual, metaphorical, or symbolic associations. It translates general phrases such as \'relative to,\' \'in relation to,\' \'in correlation with,\' \'in association with,\'
e.g. career goals, the soup of the day, the direction of that road, The elapsed time relative to the distance determines the winner, Our next topic is sex and/in art (i.e., the relationship between art and sex)."},"CPS":{"name":"Compositive","desc":"Identifies a noun as being the literal or figurative substance or component(s) of which another is made, composed, formed, built or comprised.
Example of usage would be That statue was carved out of marble, She owns three gold(en) coins, We were caught in a web of lies, I use a wooden ladder, It was a house of cards, Three suits comprise his wardrobe, Joe detests styrofoam cups."},"COM":{"name":"Comitative","desc":"Identifies a formative that accompanies another, translatable as \'(along) with\'. When used with Parallel or Complementary valence, signifies that the formative is being used in the same (or a complementary) way or is undergoing the same (or a complementary) activity as the other formative it is associated with
(i.e., the meaning of the Conjunctive case in Ithkuil III)."},"UTL":{"name":"Utilitative","desc":"Identifies a formative in the process of being used while some other activity or state is in progress. It does not imply the INSTRUMENT of an act as does the instrumental case.
Examples: the gun-wielding man, the umbrella-toting pedestrian, a girl with backpack (on)."},"PRD":{"name":"Predicative","desc":"Identifies the non-causal basis, foundation, sustenance (literally or figuratively), or required existential condition for another noun or clause, translatable by the phrases \'based (up)on,\' \'dependent (up)on\' or \'relying on.\'
Examples of use are a book dependent on a publisher, a man relying on charity, laws based in reason, success supported by corruption."},"RLT":{"name":"Relative","desc":"Identifies a formative (or case-frame) as constituting a relative clause associated with the preceding formative (or whatever formative is indicated by the DCD affix as being the head of the relative clause).
NOTE: a lone formative in Relative case not functioning as an external head of a relative clause need not be in Framed Relation."},"ACT":{"name":"Activative","desc":"Identifies the Experiencer of a modal state, such as obligation, necessity, desire, hope, expectation, wishing, being able to, etc. functioning as the \\"subject\\" of a modal(ized) verb governing a hypothetical state (i.e., what is wanted, needed, expected, able to be done, etc.)"},"ASI":{"name":"Assimilative","desc":"Identifies a formative used as a context for analogy or metaphorical comparison to another formative; translatable as \'as/like\' meaning \'as if (it were) X\' in the sense of comparison or analogy between one thing and another that it is not,
e.g. She sings like a bird; Treat her as/like a princess (= as if she were a princess); He talks like a child (even though he\'s an adult)."},"ESS":{"name":"Essive","desc":"Identifies the role or name by which an entity is known or contextually identified. It translates English \'as/like\' in the sense of naming or reference to the an entity\'s functional identity,
e.g. They called him a clown, The woman entered the club as an equal of any man, We consider you our only hope, Treat her as/like a princess (because she is one), He talks like a child (because he is a child)."},"TRM":{"name":"Terminative","desc":"Identifies a noun as being the goal of an act/event,
e.g. We seek a new planet; a desire to see his homeland; an academy for (making) champions."},"SEL":{"name":"Selective","desc":"Identifies a contextually recurring time-period, as well as a string of recurring entities,
e.g. I visit him every three days; Each year, I travel to the Clown Planet; He works nights; By day, she is an artisan; The clowns visit us on Sundays; ...every third book; ...every green one."},"CFM":{"name":"Conformative","desc":"The entity pursuant to which, as per which, or in conformance with which, another entity is, or an act/event occurs."},"DEP":{"name":"Dependent","desc":"Identifies as formative as being the basis of a dependency phrase on which another formative or phrase acts as the contingency, translatable as \'...if the circumstances regarding X are such to allow/warrant it\' where the final “it” refers to the original contingency noun/phrase whose existence/occurrence is (at least in part) determined by or contingent upon the dependency phrase. The exact nature of the dependency can be specified using the DPC affix."},"VOC":{"name":"Vocative","desc":"Signifies a noun being used in direct address."},"LOC":{"name":"Locative","desc":"entity identified as the location where something is situated or occurs; \'at / in / on / by X\' "},"ATD":{"name":"Attendant","desc":"entity in whose presence something is/occurs and which/who is thereby involved in some peripheral manner (e.g., as a witness, as a party affected or stimulated to action, etc.)"},"ALL":{"name":"Allative","desc":"entity toward which another entity is moving/approaching"},"ABL":{"name":"Ablative","desc":"entity away from which another entity is moving/receding"},"ORI":{"name":"Orientative","desc":"entity (often a body part or sub-component) which serves as the “face” or surface or “front” or “head” of an entity in terms of external communication or interaction, or which serves as the forward “end” of a spatially orientated axis aligned to a vector of motion in terms of directional movement."},"IRL":{"name":"Interrelative","desc":"signifies the directional/temporal orientation or position of an entity relative to another, i.e., a noun relative to whose position in space or time another noun is being described for purposes of spatial/temporal orientation,
e.g. He turned his back on me, It lies just west of the house, Tell me when the parade starts relative to my arrival."},"INV":{"name":"Intrative","desc":"Identifies a noun as being the spatio-temporal boundary point of a span or volume of space or a period of time, i.e, either the starting point or the ending point of a span of time or space.
English translations include: \'as of X\' / \'since X\' / \'until X\'; for spatial contexts, translates as “between there and here” / “between here and there”)"},"NAV":{"name":"Navigative","desc":"entity whose literal or metaphorically inferred long axis serves as the direction of another entity\'s path, course, arc, or trajectory of translative motion"},"CNR":{"name":"Concursive","desc":"Indicates a “temporal locative” meaning \'at or during the time of X\', i.e., the point or stretch in time at or during which an entity or an act/event exists or occurs."},"ASS":{"name":"Assessive","desc":"Specifies the increment of space or time or unit by which a contextual ratio of measurement is created,
e.g. He charges by the minute. It travels at 90 kilometers per hour. He earns $25 per book."},"PER":{"name":"Periodic","desc":"Identifies the span of time / time frame at some point(s) during which, separate events, repetitions, or durationally segmented acts or states take place.
Examples would be He wrote the novel in/over six months, These clowns can corrupt your child within a few days, The woman has been ill a lot this year, For the last several concerts, my voice has been deteriorating."},"PRO":{"name":"Prolapsive","desc":"Signifies the duration of an act, condition, or event, i.e., how long it takes or lasts,
e.g. He prayed through lunch, It rained all night, It took three days for the fever to break, She sang for an hour."},"PCV":{"name":"Precursive","desc":"Identifies an entity acting as a point in time prior to which an act, condition, or event occurs,
e.g. \'this city before the war\', \'a presentation preceding the banquet\'."},"PCR":{"name":"Postcursive","desc":"Identifies an entity acting as a point in time after which, following which, subsequent to which, an act, state, or event occurs,
e.g. \'this city after the war\', \'a presentation following the banquet\', \'It\'s been a long time since I danced\'."},"ELP":{"name":"Elapsive","desc":"Identifies the amount of time that has passed or is expected to pass between the contextual present and the time of the act, condition, or event being spoken of. It corresponds to English \'...ago\' or \'...from now\'.
Examples would be Four years ago I was a student; Going back three generations, women could not even vote; Four years from now, I will be a student; Looking ahead three generations, clowns will rule the world; I will be home in three days; Little did he know that two months later he\'d be a rich man.
The past vs. future distinction is determined from context, any aspectual morphology, or may be specified with the new TPL affix. "},"PLM":{"name":"Prolimitive","desc":"Signifies the spatio-temporal boundary point of a span of time or space during which or within which something is expected to or must occur or be situated.
Equivalent to English phrases: by the end of X / within the period ending in X / within the period ending with X / before X is over / before X is up / inside of (the period signified by) X"}},"popupdesc":"Cases are the role of the word in a sentence, and New Ithkuil has 68.
They are split into seven categories;
Transrelative, which are similar to cases in natural languages,
Appositive, which is to do with possession-esque relations,
Associative, which is similar but more related to reasons and motives,
Adverbial, which (fairly obviously) is for adverb-like words,
Relational,
Affinitive, and
Spatio-Temporal, which are for words describing the space or time of the sentence."},"ill":{"type":"","title":"Illocution","options":{"ASR":{"name":"Assertive","desc":"The statement is an assertion/proposition about the world which constitutes a truth claim"},"DIR":{"name":"Directive","desc":"The statement is either an imperative command to another party to do/be something, or a \\"commissive\\" statement committing the speaker to a specific state or course of action (i.e., a vow, promise, guarantee, etc.)"},"DEC":{"name":"Declarative","desc":"A \\"performative\\" statement which, by its utterance/publication, creates a change of state (at least psychologically) for the addressees (i.e. a declaration, announcement, edict, etc.)"},"IRG":{"name":"Interrogative","desc":"A statement whose purpose is to inquire or seek information from the addressee (i.e., equivalent to an English WH-question)"},"VER":{"name":"Verificative","desc":"A statement whose purpose is to seek/obtain corroboration, confirmation, or verification (i.e., equivalent to a Yes/No question)"},"ADM":{"name":"Admonitive","desc":"A statement whose purpose is to provide advisory/admonitive information to the addressee (i.e., a warning)"},"POT":{"name":"Potentiative","desc":"A statement of wishing, hoping, or other unreal(ized) provenance"},"HOR":{"name":"Hortative","desc":"A counterfactual statement indicating a desired but impossible state of affairs that cannot be realized (equivalent to English hortative constructions such as If only..., Were that..., If only it were so that..."},"CNJ":{"name":"Conjectural","desc":"Equivalent to an English-language \\"if\\"-clause, indicating that the statement is offered as a conjectured hypothetical, ostensibly to be followed by a \\"then...\\" implicational clause. Translatable as \\"If (it were the case that)...\\""}},"popupdesc":"Illocution refers to the type of \\"speech act\\" made by the speaker, i.e. the purpose and intended interpretation of the statement.
Alongside Mood and Validation, it refers to the whole statement."},"vld":{"type":"","title":"Validation","options":{"OBS":{"name":"Observational","desc":"The statement is true because of present sensory knowledge or present sensory experience: “I perceive... / I know...” "},"REC":{"name":"Recollective","desc":"The statement is true because of past sensory knowledge or past sensory experience: “I remember... / I know (from memory)...”"},"PUP":{"name":"Purportive","desc":"The statement is true because of knowledge from a definitive/(quasi-)verifiable 3rd party source: “I\'ve read... / (an expert) has said...”"},"RPR":{"name":"Reportive","desc":"The statement is true because of knowledge from a 3rd party: “I heard (from someone)... / someone has said...”"},"USP":{"name":"Unspecified","desc":"[Validation deliberately left unspecified]"},"IMA":{"name":"Imaginary","desc":"The statement is NOT true because it is: an unreal statement, not intended as true, based on whim, imagination, dream, altered mental state, etc."},"CVN":{"name":"Conventional","desc":"The statement is true because of cultural/conventional (i.e., collectively agreed-upon) knowledge: “They say... / It is said...”"},"ITU":{"name":"Intuitive","desc":"The statement is true because of intuition, a hunch, subjective feeling, past experiences, etc. - “I feel... / I have a hunch... / something tells me...”"},"INF":{"name":"Inferential","desc":"The statement is true because of inference from evidence (or absence of alternatives), induction, extrapolation, etc. “I infer... / I reason...”"}},"popupdesc":"Validation only applies when the Illocution is Assertive.
It refers to the evidential basis for a statement (i.e. why it\'s true).
Alongside Mood and Illocution, it refers to the whole statement."},"ref":{"type":"","title":"Referential","popupdesc":"Similar to pronouns in most languages (I, you, they, etc.)","options":{"1M":{"name":"Monadic Speaker","desc":"\'I\'"},"2M":{"name":"Monadic Addressee","desc":"\'you (singular)\'"},"2P":{"name":"Polyadic Addressee","desc":"\'you (plural)\'"},"MA":{"name":"Monadic Animate 3rd Party","desc":"\'he\'/\'she\'/\'they (singular)\'"},"PA":{"name":"Polyadic Animate 3rd Party","desc":"\'they (plural)\'"},"MI":{"name":"Monadic Inanimate 3rd Party","desc":"\'it\'"},"PI":{"name":"Polyadic Inanimate 3rd Party","desc":"\'these things/those things\'"},"MX":{"name":"Mixed Animacy 3rd Party","desc":"mixed animate+inanimate, e.g. \'s/he+it\', \'they+those\', \'it+they\', \'those+s/he\', etc"},"RDP":{"name":"Reduplicative","desc":"Referring back to the previously-named party (often used with SWR affix)"},"OBV":{"name":"Obviative","desc":"3rd party other than the one previously referenced"},"PVS":{"name":"Provisional","desc":"\'whatever\'; vague or unknown entity (corresponds with English WH-words)"}}},"refEff":{"type":"","title":"Referential Effect","popupdesc":"Similar to the normal Effect, this describes if this person is being referred to beneficially or detrimentally.
May potentially be linked to the Effect of another word (e.g. \'the detrimental 3rd party\')","options":{"NEU":{"name":"Neutral"},"BEN":{"name":"Beneficial"},"DET":{"name":"Detrimental"}}},"refPersp":{"type":"","title":"Referential Perspective","popupdesc":"The same as the normal Perspective, but applied to the referential.
Does nothing, currently.","options":{"M":{"name":"Monadic","desc":"The MONADIC means that there is a certain number of (relevant) instances of the word. When combined with things like the MULTIPLEX, it means that the entire group is being considered as a whole (\\"forest(s)\\", not \\"trees\\")."},"G":{"name":"Agglomerative","desc":"The AGGLOMERATIVE is similar to the MONADIC, except it doesn\'t imply any sense of number; as in, \\"one or more X\\". It is also used for turning nouns (such as \\"a strand of hair\\" in the MONADIC) into mass nouns (such as \\"hair\\" in the AGGLOMERATIVE)"},"N":{"name":"Nomic","desc":"The NOMIC refers to the general archetype of the word as opposed to any specific instance of it. Examples are: The dog is a noble beast, Clowns are what children love most, There is nothing like a tree."},"A":{"name":"Abstract","desc":"Similar to the formation of English abstract nouns using suffixes such as -hood or -ness, the ABSTRACT transforms a configurative category into an abstract concept considered in a non-spatial, timeless, numberless context.
Examples: grove → the idea of being a grove or “grovehood”; book → everything about books, having to do with books, involvement with books.

With verbs, the ABSTRACT is used in verbal constructions to create a temporal abstraction, where the temporal relationship of the action, event, or state to the present is irrelevant or inapplicable, similar to the way in which the English infinitive or gerund form (used as substitutes for a verb phrase) do not convey a specific tense in the following sentences: Singing is not his strong suit; It makes no sense to worry about it; I can\'t stand her pouting."}}},"twoRefs":{"type":"checkbox","title":"Use two Referentials?","popupdesc":"Please note that the referential will use the second case.
If this is turned off, the second case is stacked on the first referential."},"twoCs":{"type":"checkbox","title":"Apply two Cases?","popupdesc":"Fairly self-explanatory. Applies another case to the word."},"refAffix":{"type":"affix","title":"Referential Affixes","popupdesc":"Affixes to be applied to this referential. Again, fairly self-explanatory."},"suppType":{"type":"","title":"Adjunct Type","options":{"CAR":{"name":"Carrier","desc":"This is a “shortcut” for a full carrier stem, providing Case information only. It is used when the identity/nature of the foreign word(s) or proper name following the adjunct is already known to the addressee."},"QUO":{"name":"Quotative","desc":"This adjunct combines the Carrier Adjunct with the DISCURSIVE Register Adjunct to allow direct quotes to be placed within a caseframe, useful for translating imbedded quotes within sentences such as He told me “get out of the house!”"},"NAM":{"name":"Naming","desc":"This adjunct indicates that the following word is a name being referred to as such, rather than referring to the entity that bears the name, i.e., it would be used before the name Emily in the sentence ‘He said “Emily”’ as opposed to the sentence ‘He said “tell Emily”’ which would use the Quotative adjunct, or ‘He said to tell Emily’ which would use the Carrier adjunct."},"PHR":{"name":"Phrasal","desc":"This adjunct is essentially a specialized form of the carrier adjunct above to apply meta-level grammatical information to an entire subsequent phrase as a whole. This is similar to a case-frame, except that where case-frames function solely as an equivalent to subordinate clauses in Western languages, this adjunct causes the subsequent phrase to become a conventionalized, (quasi-)lexicalized gestalt."}},"popupdesc":"This describes which kind of Suppletive Adjunct is being used, as there are four kinds. They all refer to the words immediately after them, like all adjuncts."},"affRoot":{"type":"text","title":"Root Affix","popupdesc":"This is a special kind of Affix that functions not as a modifier to a root but as the actual root itself of this word. It can have other affixes applied to it in Slots V and VII."},"arDegree":{"type":"","title":"Degree","popupdesc":"The degree of the Root Affix. Functions like the degree of any other affix.","options":[{"name":"Degree 1"},{"name":"Degree 2"},{"name":"Degree 3"},{"name":"Degree 4"},{"name":"Degree 5"},{"name":"Degree 6"},{"name":"Degree 7"},{"name":"Degree 8"},{"name":"Degree 9"},{"name":"Degree 0","desc":"This is a special degree which relates to the generic concept of the affix as a whole, similar to Stem 0 of a normal root."}]},"affixjunct":{"type":"affix","title":"Adjunct Affixes","popupdesc":"The affixes shown on this specific adjunct. This is how you apply affixes in other scope locations on a word."},"initialAffScope":{"type":"","title":"Initial affix scope","popupdesc":"Where the first affix out of the Adjunct Affixes is applied on the next word","options":{"VDom":{"name":"Last of Slot V","desc":""},"VSub":{"desc":""},"VIIDom":{"name":"Last of Slot VII","desc":""},"VIISub":{"name":"First of Slot VII","desc":""},"formative":{"name":"Entire Formative","desc":""},"adjacent":{"name":"Formative + Affixes","desc":""}}},"otherAffScope":{"type":"","title":"Other affix scopes","popupdesc":"Where the other affixes of the Adjunct Affixes are applied on the next word","options":{"VDom":{"name":"Last of Slot V","desc":""},"VSub":{"name":"First of Slot V","desc":""},"VIIDom":{"name":"Last of Slot VII","desc":""},"VIISub":{"name":"First of Slot VII","desc":""},"formative":{"name":"Entire Formative","desc":""},"adjacent":{"name":"Formative + Affixes","desc":""},"same":{"name":"Same as Initial","desc":""}}},"affScopeOf":{"type":"","title":"Apply to...","popupdesc":"Which of the following concatenated formatives this actually applies to","options":{"default":{"name":"Default (all)","desc":"Apply this affix to the main formative"},"conc":{"name":"Concatenated only","desc":"Apply this affix only to the concatenated formative"}}},"register":{"type":"","title":"Register","popupdesc":"Which register the next (or previous) bit of text is in; what type of speaking is it?
No specified register is the NARRATIVE, which is normal speech.","options":{"DSV":{"name":"Discursive","desc":"Direct speech"},"PNT":{"name":"Parenthetical","desc":"Parenthetical aside"},"SPF":{"name":"Specificative","desc":"Proper name of preceding referent
(If the identification of the preceding referent is not a proper name, use PNT register instead)"},"EXM":{"name":"Exemplificative","desc":"\'for example, ...\'"},"CGT":{"name":"Cogitant","desc":"Silent/subjective thoughts"},"END":{"name":"Carrier-End","desc":"End of term/phrase governed by carrier stem/adjunct
(Use the END end-adjunct marker for any register where the referent within the register clause is a proper name or a foreign word/phrase)
ONLY works if this is a Final marker."}}},"regStartOrEnd":{"type":"","title":"Initial/Final","popupdesc":"Whether this adjunct marks the start or end of a register.","options":[{"name":"Initial","desc":"This adjunct marks the start of the appropriate register"},{"name":"Final","desc":"This adjunct marks the end of the appropriate register
Alternatively, use a low tone on the last word of the clause."}]},"modAppliesTo":{"type":"","title":"Apply to...","popupdesc":"Where the various other things apply to","options":{"all":{"name":"All","desc":"Apply to both the concatenated and the parent formative after this adjunct (use this if no concatenation)"},"parent":{"name":"Parent Only","desc":"Apply to only the parent formative after this adjunct"},"concat.":{"name":"Concatenated only","desc":"Apply to only the concatenated formative after this adjunct"}}},"modNumber":{"type":"","title":"Number of modules","popupdesc":"How many VₙCₙs you want on this adjunct","options":{"1":{"name":"1 (no Vₕ, no Cₙ)","desc":"Only one VnCn, but without the Mood/Case-Scope"},"2":{"name":"2 (no Vₕ) or 1"},"3":{"name":"3 (no Vₕ) or 2"}}},"cn":{"type":"","title":"Cₙ","popupdesc":"Whether this adjunct will show Mood or Case-Scope","options":{"mood":{"name":"Mood","desc":"Mood refers to the knowability and truthfulness of a statement, and describes both the truth of the actual statement and any underlying presuppositions."},"casc":{"name":"Case-Scope","desc":"Formatives showing Case use the Case-Scope to indicate the scope of a case-marked formative over adjacent formatives. This is useful when there is a string of cases modifying another “head” formative; specifies which has scope over which other formative."}}},"vh":{"type":"","title":"Vₕ/Vₙ","popupdesc":"Whether this adjunct will show Valence/Phase/Level/Effect(/Aspect) or the Specialized Scope.
If the Number of Modules is 1, then this will show Aspect.","options":{"vn":{"name":"Vₙ","desc":"Show an additional Vₙ on this affix"},"vh":{"name":"Vₕ","desc":"Show the Specialized Scope of the Adjunct on this adjunct.
Allows for modifying where the VPLEA and Mood/Case-Scopes are applied on the next formative."}}},"modScope":{"type":"","title":"Specialised Scope","popupdesc":"Describes where on the following formative the meaning of this affix will be applied, scope-wise.
All affixes have right-to-left scope on each other (Slot 2 < Slot 3 < Slot 4).
If this is unspecified (i.e. not shown), then the options have the same scope as if they were in the main word.","options":{"a":{"name":"Scope over Case/Mood and IEV","desc":"This adjunct has scope over everything except Bias"},"e":{"name":"Scope over Case/Mood","desc":"This adjunct has scope over everything except Bias, Illocution, Expectation, and Validation"},"i":{"name":"Scope over entire Formative","desc":"This adjunct has scope over everything except any Adjuncts
NOTE: Do not use if an adjacent affixual adjunct shows scope over this adjunct"},"o":{"name":"Scope over Formative + Adjuncts","desc":"This adjunct has scope over everything
NOTE: Do not use if an adjacent affixual adjunct shows scope over this adjunct"}}},"bias":{"type":"","title":"Bias","popupdesc":"Bias adjuncts function much like English \\"supra-segmental\\" interjections such as \\"Phew!\\", \\"Damn!\\", \\"tsk-tsk\\", \\"Pssshhh\\", \\"huh?\\", \\"meh\\", \\"hmmm\\", etc
Sentence-initial Bias adjuncts scope over the entire sentence. Otherwise, they scope over the preceding formative. They should be pronounced with a preceding and following pause.","options":{"ACC":{"name":"Accidental","desc":"‘As luck would have it...’ ‘Fate has decided that...’ ‘What luck!’","word":"lf"},"ACH":{"name":"Archetypal","desc":"what (a) ...!; how . . .! ; Boy! Did (does) X ever …","word":"mçt"},"ADS":{"name":"Admissive","desc":"‘Mm-hm’ ‘Uh-huh’ (said as mere acknowledgement of a statement without any implied agreement with or assent to the statement)","word":"lļ"},"ANN":{"name":"Annunciative","desc":"‘Guess what!’ or ‘Wait till you hear this!’","word":"drr"},"ANP":{"name":"Anticipative","desc":"‘I’m looking foward to this!’ ","word":"lst"},"APB":{"name":"Approbative","desc":"‘(That’s) OK’ ‘(That’s) alright’ ‘(That’s) good’ ‘(That’s) fine’ ‘Very well’ ‘Sure’","word":"řs"},"APH":{"name":"Apprehensive","desc":"‘I’m worried...’ ‘I’ve got a bad feeling about this...’ ","word":"vvz"},"ARB":{"name":"Arbitrary","desc":"‘..Yeah, whatever...’, ‘...Ah, what the hell, I’m going ahead and....’ ","word":"xtļ"},"ATE":{"name":"Attentive","desc":"‘Well, whaddya know...’ ‘Well, will you look at that...!’ ‘Well, go figure...’ ‘Who would’ve thought...?’ ‘Well I’ll be!’","word":"ňj"},"CMD":{"name":"Comedic","desc":"‘Funny!’ ‘LOL’","word":"pļļ"},"CNV":{"name":"Contensive","desc":"‘I’m telling you...’, ‘I told you so!’, ‘You see?!’","word":"rrj"},"COI":{"name":"Coincidental","desc":"‘What a coincidence!’","word":"ššč"},"CRP":{"name":"Corruptive","desc":"‘How corrupt!’ ‘What corruption!’","word":"gžž"},"CRR":{"name":"Corrective","desc":"‘that is to say…,’ ‘What I mean(t) to say is…’ ‘I mean….’","word":"ňţ"},"CTP":{"name":"Contemptive","desc":"‘What nonsense!’ or ‘What bullshit!’","word":"kšš"},"CTV":{"name":"Contemplative","desc":"‘I wonder how…,’ ‘that’s odd…,’ ‘I don’t get it…,’ or a quizzical ‘hmmmm.’","word":"gvv"},"DCC":{"name":"Disconcertive","desc":"‘I’m not sure about this.’ ‘I don’t feel comfortable about this.’ ‘I’m feeling out of my element here.’","word":"gzj"},"DEJ":{"name":"Dejective","desc":"‘(sigh)’ [of dejection/disillusionment]","word":"žžg"},"DES":{"name":"Desperative","desc":"‘I don’t know how to say this, but…’ ‘I’m afraid that….’ ‘I’m sorry to have to tell you, but...’","word":"mřř"},"DFD":{"name":"Diffident","desc":"‘sorry, but…’ ‘It’s nothing. It’s just…’","word":"cč"},"DIS":{"name":"Dismissive","desc":"‘Is that it?’ ‘Big deal!’ ‘So what!?’ ","word":"kff"},"DLC":{"name":"Delectative","desc":"‘Whee!’","word":"ẓmm"},"DOL":{"name":"Dolorous","desc":"‘Ow!’ ‘Ouch!’","word":"řřx"},"DPB":{"name":"Disapprobative","desc":"‘I don’t like the fact that…’ ‘It bothers me that….’ ‘Unacceptable!’ ‘I hate it!’","word":"ffx"},"DRS":{"name":"Derisive","desc":"‘How foolish!’ ‘How silly!’ ‘Look at how foolish/silly/ridiculous this is!’","word":"pfc"},"DUB":{"name":"Dubitative","desc":"‘Hmm, not likely.’ ‘I doubt it.’ ‘Sounds fishy to me’ ‘I don’t trust this/it/him/her/them...’","word":"mmf"},"EUH":{"name":"Euphoric","desc":"‘(Sigh) What bliss!’","word":"gzz"},"EUP":{"name":"Euphemistic","desc":"‘Let’s just say that….’ or ‘Well, let me put it this way….’","word":"vvt"},"EXA":{"name":"Exasperative","desc":"‘Dammit!’ ‘Look, don’t you get it?…’ ‘Look, I’m trying to tell you….’","word":"kçç"},"EXG":{"name":"Exigent","desc":"‘It’s now or never!’","word":"rrs"},"FOR":{"name":"Fortuitous","desc":"‘It’s just as well that...’ or ‘All’s well that ends well...’","word":"lzp"},"FSC":{"name":"Fascinative","desc":"‘Cool!’ ‘Wow!’ ‘Awesome!’","word":"žžj"},"GRT":{"name":"Gratificative","desc":"‘Ah! What bliss...!’ ‘Oh, there’s nothing like….’ [physical pleasure only]","word":"mmh"},"IDG":{"name":"Indignative","desc":"‘The nerve!’ or ‘How dare…!?’","word":"pšš"},"IFT":{"name":"Infatuative","desc":"‘Praise be to...!’ ‘Oh, thank God for...!’ ‘There’s nothing more sacred/holy/important than...!’","word":"vvr"},"IPL":{"name":"Implicative","desc":"‘of course,’ ‘after all,’ ‘needless to say.’","word":"vll"},"IPT":{"name":"Impatient","desc":"‘C’mon!,’ ‘What’re you waiting for?’ ‘so…already!’ as in the sentence ‘So dance already!’","word":"žžv"},"IRO":{"name":"Ironic","desc":"‘Oh, nice!’ ‘Just great!’ ‘Well, now, isn’t this lovely!’","word":"mmž"},"ISP":{"name":"Insipid","desc":"‘Meh... (said due to lack of interest)’ ‘How boring/tedious/dull!’","word":"lçp"},"IVD":{"name":"Invidious","desc":"‘Why does he/she/they get to... and I don’t?!’ ‘How unfair (that I don’t get to...)!’","word":"řřn"},"MAN":{"name":"Mandatory","desc":"‘take it or leave it,’ ‘this is your last chance,’","word":"msk"},"MNF":{"name":"Manifestive","desc":"‘Ah!’, ‘Well, now!’ ‘So!’ [Italian ‘Allora!’]","word":"pss"},"OPT":{"name":"Optimal","desc":"prolonged ‘so’ or ‘totally’ as in ‘I so don’t care!’ or ‘That is totally not what I meant.’","word":"ççk"},"PES":{"name":"Pessimistic","desc":"‘Yeah, like it really matters that...’ ‘Pfft! What’s it to me?’","word":"ksp"},"PPT":{"name":"Propitious","desc":"‘it’s a wonder that’ as in It’s a wonder he didn’t break a bone in that fall. ","word":"mll"},"PPX":{"name":"Perplexive","desc":"‘Huh? What do you mean…? What the hell? ‘WTF!?’ ‘You gotta be kidding me!’","word":"llh"},"PPV":{"name":"Propositive","desc":"‘what if…’ ‘It could be that….’ ‘Consider this: …’ ‘Posit the following: …’ ‘Assume for the sake of argument that….’","word":"sl"},"PSC":{"name":"Prosaic","desc":"‘Meh... (said in disappointment)’ ‘How ordinary!’","word":"žžt"},"PSM":{"name":"Presumptive","desc":"‘It can only mean one thing…,’ ‘and that’s that!’ ‘and that’s all there is to it!’ or ‘There’s no two ways about it,….’","word":"nnţ"},"RAC":{"name":"Reactive","desc":"‘My goodness! ‘Wow!’ ‘Amazing!’","word":"kll"},"RFL":{"name":"Reflective","desc":"‘Look at it this way…’ ‘As I see it,…’ ‘In my opinion…’ ‘From my point of view…’","word":"llm"},"RPU":{"name":"Repulsive","desc":"‘Yuck! Ew! How gross!’","word":"šštļ"},"RSG":{"name":"Resignative","desc":"‘So much for...!’ ‘There goes...!’","word":"msf"},"RVL":{"name":"Revelative","desc":"‘No wonder…!’ or ‘So that’s why…!’ ‘A-ha!….’ ‘Well, well, well!….’","word":"mmļ"},"SAT":{"name":"Satiative","desc":"‘How satisfying...!’ ‘At last, the pleasue of knowing/being/seeing/doing….’ [psychological/emotional pleasure/satiety only]","word":"ļţ"},"SGS":{"name":"Suggestive","desc":"‘How about...’ ‘We could...’ ‘Might I suggest...’","word":"ltç"},"SKP":{"name":"Skeptical","desc":"‘Yeah, right!’ ‘Oh, sure! Like anyone’s supposed to believe that!’","word":"rnž"},"SOL":{"name":"Solicitative","desc":"‘please’","word":"ňňs"},"STU":{"name":"Stupefactive","desc":"‘Woah!’ ‘Holy, bejeezus!’ ‘What the...!’ ‘Jeez, Louise...!’","word":"ļļč"},"TRP":{"name":"Trepidative","desc":"‘Oh, God…’ ‘Oh, no!….’ ‘Oh, dear!’ [fear-based]","word":"llč"},"VEX":{"name":"Vexative","desc":"‘How annoying!’ ‘What a bother!’ ‘What a pain!’","word":"ksk"}}},"freeType":{"type":"text","title":"Text Entry","popupdesc":"A borrowed word, probably spelt phonetically. Don\'t forget to prefix it with the appropriate suppletive adjunct!"}}'),fs=JSON.parse('{"p":["stop","unvoiced","labial"],"b":["stop","voiced","labial"],"t":["stop","unvoiced","apico"],"d":["stop","voiced","apico"],"k":["stop","unvoiced","velar"],"g":["stop","voiced","velar"],"f":["fric","unvoiced","labial","nonsibil"],"v":["fric","voiced","labial","nonsibil"],"ţ":["fric","unvoiced","apico","nonsibil"],"ḑ":["fric","voiced","apico","nonsibil"],"s":["fric","unvoiced","apico","sibil"],"z":["fric","voiced","apico","sibil"],"š":["fric","unvoiced","apalat","sibil"],"ž":["fric","voiced","apalat","sibil"],"ç":["fric","unvoiced","palat","nonsibil"],"x":["fric","unvoiced","velar","nonsibil"],"h":["fric","unvoiced","glott"],"ļ":["fric","unvoiced","lateral"],"c":["affric","unvoiced","apico","sibil"],"ẓ":["affric","voiced","apico","sibil"],"č":["affric","unvoiced","apalat","sibil"],"j":["affric","voiced","apalat","sibil"],"m":["nasal","voiced","labial"],"n":["nasal","voiced","apico"],"ň":["nasal","voiced","velar"],"r":["liquid","voiced","apico"],"l":["liquid","voiced","lateral"],"w":["approx","voiced","labial"],"y":["approx","voiced","palat"],"ř":["approx","voiced","uvul"]}'),gs={name:"Ithkuil_v4",components:{OptionBox:ps},props:{listenModal:Array,listenWordtype:String,listenWord:Object,selectedWord:Number,sLength:Number,nextWord:Array},watch:{listenModal(e){this.updateFromModal(e[0],e[1])},listenWordtype(e){this.switchWordType(e)},listenWord(e){for(var t in this.gOptions=JSON.parse(JSON.stringify(e)),e)this.updateFromModal(t,JSON.parse(JSON.stringify(e[t])));this.handleSendMessage(e.root,"root")},ithkword(e){this.$emit("ithkword",[e,this.ipa,this.gloss,this.fullGloss]),this.$emit("gEmit",this.gOptions)},ipa(e){this.$emit("ithkword",[this.ithkword,e,this.gloss,this.fullGloss])},gloss(e){this.$emit("ithkword",[this.ithkword,this.ipa,e,this.fullGloss])},fullGloss(e){this.$emit("ithkword",[this.ithkword,this.ipa,this.gloss,e])}},data(){return{defaultWord:"aal",settings:{IPA:{a:["Pronunciation of ⟨a⟩: ","[a]",["[a]","[ɑ]"]],e:["Pronunciation of ⟨e⟩: ","[ɛ]",["[ɛ]","[e]"]],"ë":["Pronunciation of ⟨ë⟩: ","[ɤ]",["[ɤ]","[ʌ]","[ə]"]],i:["Pronunciation of ⟨i⟩: ","[i]",["[i]","[ɪ]"]],o:["Pronunciation of ⟨o⟩: ","[ɔ]",["[ɔ]","[o]"]],"ö":["Pronunciation of ⟨ö⟩: ","[œ]",["[œ]","[ø]"]],u:["Pronunciation of ⟨u⟩: ","[ʊ]",["[ʊ]","[u]"]],"ü":["Pronunciation of ⟨ü⟩: ","[ʉ]",["[ʉ]","[y]"]],x:["Pronunciation of ⟨x⟩: ","[x]",["[x]","[χ]"]],rr:["Pronunciation of ⟨řř⟩: ","[ʁː]",["[ʁː]","[ʀ]"]],hx:["Pronunciation of ⟨hl⟩, ⟨hr⟩, ⟨hm⟩, ⟨hn⟩, ⟨hň⟩: ","Devoiced",["Devoiced","As written"]]},Miscellaneous:{ej:["Calculate External Juncture? ",!0],s8:["Move Slot 8 consonant to Slot 6 if possible? ",!1]}},wordType:"normal",gData:us,cData:fs,gDefault:{root:"",stem:"s1",func:"STA",spec:"BSC",ctxt:"EXS",ver:"PRC",concat:"0",shcut:"0",Vafx:[],VIIafx:[],plex:"UPX",simil:"S",cctd:"S",affil:"CSL",ext:"DEL",persp:"M",ess:"NRM",vn:"val",val:"MNO",pha:"PCT",eff:"1:BEN",lvl:"MIN",asp:"RTR",mood:"FAC",casc:"CCN",rel:"UNF/C",c:"THM",ill:"ASR",vld:"OBS",suppType:"CAR",affRoot:"",arDegree:0,affixjunct:[],initialAffScope:"VDom",otherAffScope:"VDom",affScopeOf:"default",register:"DSV",regStartOrEnd:"0",vn2:"val",val2:"MNO",pha2:"PCT",eff2:"1:BEN",lvl2:"MIN",asp2:"RTR",mood2:"FAC",casc2:"CCN",vn3:"val",val3:"MNO",pha3:"PCT",eff3:"1:BEN",lvl3:"MIN",asp3:"RTR",v4n:"val",val4:"MNO",pha4:"PCT",eff4:"1:BEN",lvl4:"MIN",asp4:"RTR",cn:"mood",modAppliesTo:"all",modNumber:"1",vh:"vn",modScope:"a",ref:"1M",refEff:"NEU",refPersp:"M",ref2:"1M",refEff2:"NEU",refPersp2:"M",ess2:"NRM",c1:"THM",c2:"THM",twoRefs:!1,twoCs:!1,refAffix:[],bias:"ACC",freeType:""},gOptions:{},sVowels:[["a","ai","ia","ao"],["ä","au","ie","aö"],["e","ei","io","eo"],["i","eu","iö","eö"],["ëi","ëu","eë","oë"],["ö","ou","uö","öe"],["o","oi","uo","oe"],["ü","iu","ue","öa"],["u","ui","ua","oa"],["ae","ea","üo","üö"]],ipaLookup:{p:"p",b:"b",m:"m",f:"f",v:"v",w:"w",t:"t",d:"d","ţ":"θ","ḑ":"ð",s:"s",z:"z",c:"ts","ẓ":"dz","š":"ʃ","ž":"ʒ","č":"tʃ",j:"dʒ","ç":"ç",y:"j",k:"k",g:"g","ň":"ŋ","ř":"ʁ","'":"ʔ",h:"h","ļ":"ɬ",l:"l"},shortcutting:!1,shcuttypeA:0,shcuttypeB:0,slotVIIshortcut:!1,sDip:["ai","ei","ëi","oi","ui","au","eu","ëu","ou","iu"],sAccent:{a:"á",e:"é",i:"í","ì":"í",o:"ó",u:"ú","ä":"â","ë":"ê","ö":"ô","ü":"û"},slots:["","","","","","","","","","",""],cut:[!1,!1,!1],ithkword:"",gloss:"",fullGloss:"",ipa:"",cascOrMood:!1,eightSix:!1,allographs:{cczz:"čč",yc:"čč",xxy:"çç",ccs:"çç",ddt:"ḑḑ",hxll:"ļļ",wwnn:"ňň",yn:"ňň",wrr:"řř",yr:"řř",ssz:"šš",tts:"ţţ",ttd:"ţţ",wtt:"ţţ",zzs:"žž",ddz:"ẓẓ",dzz:"ẓẓ",cz:"č",xy:"ç",cs:"ç",dt:"ḑ",hxl:"ļ",wn:"ň",wr:"ř",sz:"š",ts:"ţ",td:"ţ",wt:"ţ",zs:"ž",dz:"ẓ",aaqqq:"â'",eeqqq:"ê'",ooqqq:"ô'",uuqqq:"û'",aqqq:"ä'",eqqq:"ë'",oqqq:"ö'",uqqq:"ü'",qq:"'",aaq:"â",ooq:"ô",eeq:"ê",uuq:"û",aq:"ä",eq:"ë",uq:"ü",oq:"ö",aa:"á",ee:"é",ii:"í",oo:"ó",uu:"ú","ṭ":"ţ","ŧ":"ţ","ḍ":"ḑ","đ":"ḑ","ņ":"ň","ṇ":"ň","ŗ":"ř","ṛ":"ř","ł":"ļ","ḷ":"ļ","ż":"ẓ","ı":"i"},tabGroups:{normal:[["root","stem","spec"],["func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","asp"],["casc","c"],["mood","ill","vld"]],suppletive:[["suppType","c"]],affRoot:[["affRoot","arDegree"],["spec","func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","asp"],["casc","c"],["mood","ill","vld"]],refRoot:[["ref","refEff","refPersp"],["spec","func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","asp"],["casc","c"],["mood","ill","vld"]],affixjunct:[["affixjunct","initialAffScope","otherAffScope","affScopeOf"]],register:[["register","regStartOrEnd"]],modular:[["modAppliesTo","modNumber","cn","vh"],["vn","val","pha","eff","lvl"],["vn2","val2","pha2","eff2","lvl2","asp2"],["vn3","val3","pha3","eff3","lvl3","asp3"]],ref:[["ref","refEff","refPersp","c1"],["twoCs","twoRefs","ref2","refEff2","refPersp2","c2","ess2"]],refCS:[["ref","refEff","refPersp","c1","spec"],["refAffix","twoCs","c2","ess2"]],bias:[],free:[]}}},methods:{async handleSendMessage(e="",t=""){if(this.cut=[!1,!1,!1],t){await void 0;var s=JSON.parse(JSON.stringify(e));let i;if(i=isNaN(t.slice(-1))?t:t.slice(0,-1),"text"==this.gData[i].type)for(let e in this.allographs)s=s.replaceAll(e,this.allographs[e]);else if("affix"==this.gData[i].type)for(let e in s)for(let t in this.allographs)s[e][0]=s[e][0].replaceAll(t,this.allographs[t]);else s=e;this.gOptions[t]=s}"normal"==this.wordType||"affRoot"==this.wordType||"refRoot"==this.wordType?(this.calculateWord(),this.IPAcalcs(),this.glossCalcs(),this.cascOrMood="UNF/K"==this.gOptions.rel&&"0"==this.gOptions.concat):(this.gloss="",this.fullGloss="",this.cascOrMood=!1,this.calculateAdjunct(this.wordType),this.IPAcalcs())},notAvailableAlert(e){alert(e+" is not available yet!")},openModal(e){this.$emit("modal",e)},updateFromModal(e,t){this.$refs[e].updateValue(t)},switchWordType(e){this.wordType=e,this.calculateAdjunct(e),this.handleSendMessage()},calculateAdjunct(e){var t="";if("suppletive"==e)this.calculateSlot9(),this.slot9gStop(),this.ithkword={CAR:"hl",QUO:"hm",NAM:"hn",PHR:"hň"}[this.gOptions.suppType]+this.slots[9],this.gloss=this.gOptions.suppType+("THM"==this.gOptions.c?"":"-"+this.gOptions.c),this.fullGloss=this.gOptions.suppType+"-"+this.gOptions.c+"\\NRM";else if("affixjunct"==e){var s={VDom:"a",VSub:"u",VIIDom:"e",VIISub:"i",formative:"o",adjacent:"ö",same:"ai"},i={VDom:"h",VSub:"'h",VIIDom:"'hl",VIISub:"'hr",formative:"hw",adjacent:"'hw"};try{this.gloss="'"+this.gOptions.affixjunct[0][0]+"'/"+this.gOptions.affixjunct[0][1]+("CA"!=this.gOptions.affixjunct[0][1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[this.gOptions.affixjunct[0][2]]:""),this.fullGloss=this.gloss,this.gloss+="VDom"==this.gOptions.initialAffScope?"":"-{"+this.gOptions.initialAffScope+"}",this.fullGloss+="-{"+this.gOptions.initialAffScope+"}"}catch{this.gloss="",this.fullGloss=""}if(this.gOptions.affixjunct.length<1)this.ithkword="",this.gloss="",this.fullGloss="";else if(1==this.gOptions.affixjunct.length){var n=s[this.gOptions.initialAffScope],o=this.gOptions.affixjunct[0];"CA"!=o[1]?"a"==n&&this.allowedAtEnd(o[0])&&("conc"==this.gOptions.affScopeOf||this.sVowels[(o[1]+9)%10][o[2]-1].length>1&&!this.sDip.includes(this.sVowels[(o[1]+9)%10][o[2]-1]))&&(n=""):"a"==n&&this.allowedAtEnd(o[0])&&("conc"==this.gOptions.affScopeOf||"üö".length>1&&!this.sDip.includes("üö"))&&(n=""),"CA"!=o[1]?this.ithkword=this.sVowels[(o[1]+9)%10][o[2]-1]+o[0]+n:this.ithkword="üö"+o[0]+n}else{var a="",l=this.gOptions.affixjunct[0];for(var r of(this.allowedAtStart(l[0])||(a+="ë"),"CA"!=l[1]?a+=l[0]+this.sVowels[(l[1]+9)%10][l[2]-1]:a+=l[0]+"üö",a+=i[this.gOptions.initialAffScope],this.gOptions.affixjunct.slice(1)))"CA"!=r[1]?a+=this.sVowels[(r[1]+9)%10][r[2]-1]:a+="üö",a+=r[0];a+=s[this.gOptions.otherAffScope],a=this.recalcVowels(a),this.ithkword=a;for(let e of this.gOptions.affixjunct.slice(1))this.gloss+="-'"+e[0]+"'/"+e[1]+("CA"!=e[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[e[2]]:""),this.fullGloss+="-'"+e[0]+"'/"+e[1]+("CA"!=e[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[e[2]]:"");this.gloss+="same"==this.gOptions.otherAffScope?"":"-{"+this.gOptions.otherAffScope+"}",this.fullGloss+="-{"+this.gOptions.otherAffScope+"}"}this.gOptions.affixjunct.length>0&&(this.gloss+="conc"==this.gOptions.affScopeOf?"{concat.}":"",this.fullGloss+="conc"==this.gOptions.affScopeOf?"{concat.}":"",this.ithkword=this.markStress(["conc","default"].indexOf(this.gOptions.affScopeOf),this.ithkword))}else if("register"==e){var h={DSV:["a","ai"],PNT:["e","ei"],SPF:["i","iu"],EXM:["o","oi"],CGT:["u","ui"],END:["ü","ü"]};this.ithkword="h"+h[this.gOptions.register][this.gOptions.regStartOrEnd],this.gloss=this.gOptions.register+("1"==this.gOptions.regStartOrEnd&&"END"!=this.gOptions.register?"_END":""),this.fullGloss=this.gloss}else if("modular"==e)t+={all:"",parent:"w","concat.":"y"}[this.gOptions.modAppliesTo],this.gloss="all"!=this.gOptions.modAppliesTo?"{"+this.gOptions.modAppliesTo+"}-":"",["2","3"].includes(this.gOptions.modNumber)&&(t+=this.calculateSlot8a("2"),t+=this.calculateSlot8b("2",this.gOptions.cn),this.gloss+="MNO"!=this.gOptions[this.gOptions.vn2+"2"]?this.gOptions[this.gOptions.vn2+"2"]:"",this.gloss+="MNO"!=this.gOptions[this.gOptions.vn2+"2"]&&"FAC"!=this.gOptions[this.gOptions.cn+"2"]&&"CCN"!=this.gOptions[this.gOptions.cn+"2"]?".":"",this.gloss+="FAC"!=this.gOptions[this.gOptions.cn+"2"]&&"CCN"!=this.gOptions[this.gOptions.cn+"2"]?this.gOptions[this.gOptions.cn+"2"]:"",this.fullGloss+=this.gOptions[this.gOptions.vn2+"2"]+"."+this.gOptions[this.gOptions.cn+"2"]),"3"==this.gOptions.modNumber&&(t+=this.calculateSlot8a("3"),t+="asp"==this.gOptions.vn3?"n":"ň",this.gloss+="MNO"!=this.gOptions[this.gOptions.vn3+"3"]?"-"+this.gOptions[this.gOptions.vn3+"3"]:"",this.fullGloss+="-"+this.gOptions[this.gOptions.vn3+"3"]),t=this.recalcVowels(t),"1"==this.gOptions.modNumber?(t+=this.calculateSlot8a("4","asp"),this.gloss+=this.gOptions.asp4,this.fullGloss+=this.gOptions.asp4):"vn"==this.gOptions.vh?(t+=this.calculateSlot8a("4"),this.gloss+="MNO"!=this.gOptions[this.gOptions.v4n+"4"]?"-"+this.gOptions[this.gOptions.v4n+"4"]:"",this.fullGloss+="-"+this.gOptions[this.gOptions.v4n+"4"]):(t+=this.gOptions.modScope,t=this.markStress(0,t),this.gloss+="-{"+{a:"form.",e:"mood",i:"under adj.",o:"over adj.",u:"under adj."}[this.gOptions.modScope]+"}",this.fullGloss+="-{"+{a:"form.",e:"mood",i:"under adj.",o:"over adj.",u:"under adj."}[this.gOptions.modScope]+"}"),this.ithkword=t;else if("ref"==e){var c=this.calculateReference(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp);t+=this.allowedAtStart(c)&&(this.gOptions.twoCs||"RPV"!=this.gOptions.ess2)?"":"ë",t+=c,this.calculateSlot9("1"),this.slot9gStop(),t+=this.slots[9];let e=this.refGloss(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp);if(this.gloss=e[0],this.fullGloss=e[1],this.gloss+="THM"!=this.gOptions.c1||this.gOptions.twoCs?"-"+this.gOptions.c1:"",this.fullGloss+="-"+this.gOptions.c1,this.gOptions.twoCs&&(t+="w",this.calculateSlot9("2"),this.slot9gStop(),t+=this.slots[9],this.gloss+="-"+this.gOptions.c2,this.fullGloss+="-"+this.gOptions.c2,this.gOptions.twoRefs)){var d=this.calculateReference(this.gOptions.ref2,this.gOptions.refEff2,this.gOptions.refPersp2);t+=d,t+=this.allowedAtEnd(d)?"":"ë";let e=this.refGloss(this.gOptions.ref2,this.gOptions.refEff2,this.gOptions.refPersp2);this.gloss+="-"+e[0],this.fullGloss+="-"+e[1]}!["a","á","ä","â","e","ë","é","ê","i","í","o","ö","ó","ô","u","ü","ú","û"].includes(t.charAt(t.length-1))&&this.calculateEJ&&(t+="ë"),t=this.recalcVowels(t),"RPV"==this.gOptions.ess2?(t=this.markStress(0,t),this.gloss+="\\RPV",this.fullGloss+="\\RPV"):this.fullGloss+="\\NRM",this.ithkword=t}else if("refCS"==e){var p=this.calculateReference(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp);t+=this.allowedAtStart(p)?"":"ë",t+=p,this.calculateSlot9("1"),this.slot9gStop(),t+=this.slots[9],t+={BSC:"x",CTE:"xt",CSV:"xp",OBJ:"xx"}[this.gOptions.spec];let e=this.refGloss(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp);for(var u in this.gloss=e[0],this.gloss+="THM"!=this.gOptions.c1||this.gOptions.twoCs?"-"+this.gOptions.c1:"",this.gloss+="BSC"==this.gOptions.spec?"":"-"+this.gOptions.spec,this.fullGloss=e[1]+"-"+this.gOptions.c1+"-"+this.gOptions.spec,this.gOptions.refAffix){var f=Object.assign({},this.gOptions.refAffix[u]);"CA"!=f[1]?t+=this.sVowels[(f[1]+9)%10][f[2]-1]:t+="üö",t+=f[0],this.gloss+="-'"+f[0]+"'/"+f[1]+("CA"!=f[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[f[2]]:""),this.fullGloss+="-'"+f[0]+"'/"+f[1]+("CA"!=f[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[f[2]]:"")}this.gOptions.twoCs?(this.calculateSlot9("2"),this.slot9gStop(),t+="a"==this.slots[9]?"üa":this.slots[9],this.gloss+="-"+this.gOptions.c2,this.fullGloss+="-"+this.gOptions.c2):0!=this.gOptions.refAffix.length||this.gOptions.twoCs||"RPV"!=this.gOptions.ess2?this.gOptions.refAffix.length>0&&(this.allowedAtEnd(this.gOptions.refAffix[this.gOptions.refAffix.length-1][0])||(t+="a")):t+="a",!["a","á","ä","â","e","ë","é","ê","i","í","o","ö","ó","ô","u","ü","ú","û"].includes(t.charAt(t.length-1))&&this.calculateEJ&&(t+="a"),t=this.recalcVowels(t),"RPV"==this.gOptions.ess2?(t=this.markStress(0,t),this.gloss+="\\RPV",this.fullGloss+="\\RPV"):this.fullGloss+="\\NRM",this.ithkword=t}else"bias"==e?(this.ithkword=this.gData.bias.options[this.gOptions.bias].word,this.gloss=this.gOptions.bias,this.fullGloss=this.gOptions.bias):"free"==e?this.ithkword=this.gOptions.freeType:(this.calculateWord(),this.glossCalcs());this.IPAcalcs()},calculateReference(e,t,s,i=!1){var n,o={"1M":{NEU:"l",BEN:"r",DET:"ř"},"2M":{NEU:"s",BEN:"š",DET:"ž"},"2P":{NEU:"n",BEN:"t",DET:"d"},MA:{NEU:"m",BEN:"p",DET:"b"},PA:{NEU:"ň",BEN:"k",DET:"g"},MI:{NEU:"z",BEN:"ţ",DET:"ḑ"},PI:{NEU:"ẓ",BEN:"f",DET:"v"},MX:{NEU:"c",BEN:"č",DET:"j"},RDP:{NEU:"th",BEN:"ph",DET:"kh"},OBV:{NEU:"ll",BEN:"rr",DET:"řř"},PVS:{NEU:"mm",BEN:"nn",DET:"ňň"}};n=i&&["OBV","PVS"].includes(e)?{OBV:{NEU:"lç",BEN:"rç",DET:"řç"},PVS:{NEU:"mç",BEN:"nç",DET:"ňç"}}[e][t]:o[e][t];var a=[];return"A"==s?this.consAllowed(n+"w")?n+="w":n+="y":"G"!=s&&"N"!=s||(a="G"==s?["ļ","tļ"]:["ç","x"],this.allowedAtEnd(a[0]+n)?n=a[0]+n:this.allowedAtEnd(a[1]+n)?n=a[1]+n:this.allowedAtEnd(n+a[0])?n+=a[0]:this.allowedAtEnd(n+a[1])?n+=a[1]:this.consAllowed(n+a[0])?n+=a[0]:this.consAllowed(n+a[1])?n+=a[1]:this.consAllowed(a[0]+n)?n+=a[0]:n+=a[1]),n},calculateWord(){this.calculateSlot3(),this.calculateSlot4(),this.calculateSlot6(),this.shortcutCalcs(),this.calculateSlot1(),this.calculateSlot2(),this.calculateSlot5(),this.calculateSlot7(),this.slots[7]=this.calculateSlot8a(),this.slots[8]=this.calculateSlot8b(),this.calculateSlot9(),this.finalCalcs()},calculateSlot1(){this.shortcutting?this.slots[0]=[["","w","y"],["h","hl","hm"],["hw","hr","hn"]][this.gOptions.concat][this.shcuttypeA]:this.slots[0]=["","h","hw"][this.gOptions.concat]},calculateSlot2(){var e={s1:{PRC:0,CPT:1},s2:{PRC:2,CPT:3},s0:{CPT:5,PRC:6},s3:{CPT:7,PRC:8}},t={PRC:{STA:"ëi",DYN:"eë"},CPT:{STA:"ëu",DYN:"oë"}},s={PRC:"ae",CPT:"ea"};if("normal"==this.wordType)if(this.shortcutting)this.slotVIIshortcut=!1,this.slots[1]=this.sVowels[e[this.gOptions.stem][this.gOptions.ver]][this.shcuttypeB];else{var i,n=0;"3"!=this.gOptions.shcut&&"2"!=this.gOptions.shcut?(i=this.gOptions.VIIafx.length>0?[...this.gOptions.VIIafx[this.gOptions.VIIafx.length-1]]:["no",0,0],"r"===i[0]&&4===i[1]&&1===i[2]?(n=1,this.slotVIIshortcut=!0):"t"===i[0]&&4===i[1]&&1===i[2]?(n=2,this.slotVIIshortcut=!0):"t"===i[0]&&5===i[1]&&1===i[2]?(n=3,this.slotVIIshortcut=!0):this.slotVIIshortcut=!1):this.slotVIIshortcut=!1,this.slots[1]=this.sVowels[e[this.gOptions.stem][this.gOptions.ver]][n]}else"affRoot"==this.wordType?this.slots[1]=t[this.gOptions.ver][this.gOptions.func]:"refRoot"==this.wordType&&(this.slots[1]=s[this.gOptions.ver]);this.gOptions.Vafx.length>=2&&(this.slots[1]=this.insertGStop(this.slots[1]))},calculateSlot3(){"normal"==this.wordType?this.slots[2]=this.gOptions.root.toLowerCase():"affRoot"==this.wordType?this.slots[2]=this.gOptions.affRoot.toLowerCase():"refRoot"==this.wordType&&(this.slots[2]=this.calculateReference(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp))},calculateSlot4(){var e={STA:{BSC:0,CTE:1,CSV:2,OBJ:3},DYN:{OBJ:5,CSV:6,CTE:7,BSC:8}},t=["EXS","FNC","RPS","AMG"];"normal"==this.wordType||"refRoot"==this.wordType?this.slots[3]=this.sVowels[e[this.gOptions.func][this.gOptions.spec]][t.indexOf(this.gOptions.ctxt)]:"affRoot"==this.wordType&&(this.slots[3]=this.sVowels[this.gOptions.arDegree][t.indexOf(this.gOptions.ctxt)])},calculateSlot5(){var e="";for(var t in this.gOptions.Vafx){var s=Object.assign({},this.gOptions.Vafx[t]);this.shortcutting?(t==this.gOptions.Vafx.length-1?"CA"!=s[1]?e+=this.insertGStop(this.sVowels[(s[1]+9)%10][s[2]-1]):e+=this.insertGStop("üö"):"CA"!=s[1]?e+=this.sVowels[(s[1]+9)%10][s[2]-1]:e+="üö",e+=s[0]):(e+=s[0],"CA"!=s[1]?e+=this.sVowels[(s[1]+9)%10][s[2]-1]:e+="üö")}this.slots[4]=e},calculateSlot6(e=!1,t=null,s=null,i=null,n=null,o=null,a=null,l=null){e||(t=this.gOptions.affil,s=this.gOptions.plex,i=this.gOptions.simil,n=this.gOptions.cctd,o=this.gOptions.ext,a=this.gOptions.ess,l=this.gOptions.persp);var r={CSL:"",ASO:"l",COA:"r",VAR:"ř"}[t],h="UPX"===s?"":"DPX"===s?"s":{M:{S:{S:"t",C:"k",F:"p"},D:{S:"ţ",C:"f",F:"ç"},F:{S:"z",C:"ž",F:"ẓ"}},D:{S:{S:"c",C:"ks",F:"ps"},D:{S:"ţs",C:"fs",F:"š"},F:{S:"č",C:"kš",F:"pš"}}}[s][i][n],c=(""===h?{DEL:"",PRX:"d",ICP:"g",ATV:"b",GRA:"gz",DPL:"bz"}:{DEL:"",PRX:"t",ICP:"k",ATV:"p",GRA:"g",DPL:"b"})[o],d={NRM:{M:"",G:"r",N:"w",A:"y"},RPV:{M:"l",G:"ř",N:"m",A:"n"}}[a][l];["t","k","p"].includes(c)&&""!=h&&""!=r&&["m","n"].includes(d)&&(d={m:"h",n:"ç"}[d]),""===h&&""===c&&""===d&&""!=r?"l"==r?r="nļ":"ř"==r?r="ň":r+="ļ":""===r&&""===h&&""===c&&(""===d?d="l":"l"===d?d="tļ":"w"===d?d="v":"y"===d&&(d="j"));var p=r+h+c+d,u={pp:"mp",tt:"nt",kk:"nk",ll:"pļ",pb:"mb",kg:"ng","çy":"nd",rr:"ns","rř":"nš","řř":"ňš","řr":"ňs"};for(var f in u)p=p.replace(f,u[f]);var g={gm:"x",gn:"ň",bm:"v",bn:"ḑ"};for(var m in g)p=p.charAt(0)+p.slice(1).replace(m,g[m]);if(p=p.replace("ngn","ňn"),p=p.charAt(0)+p.slice(1).replace("çx","xw"),p=p.replace("fv","vw").replace("ţḑ","ḑy"),e)return p;if(this.slots[10]=p,0!=Object.keys(this.gOptions.Vafx).length){var b=p;p=this.geminate(p),p==b&&["l","r","ř"].includes(p.charAt(0))&&(p=p.charAt(0)+this.geminate(p.slice(1)))}this.slots[5]=p},geminate(e){var t={pt:"bbḑ",pk:"bbv",kt:"ggḑ",kp:"ggv",tk:"ḑvv",tp:"ddv"},s={pm:"vvm",pn:"vvn",bm:"mmw",bn:"mml",km:"xxm",kn:"xxn",gm:"ňňw",gn:"ňňl",tm:"ḑḑm",tn:"ḑḑn",dm:"nnw",dn:"nnl"};return 1===e.length?e+=e:"tļ"===e?e="ttļ":["t","k","p","d","g","b"].includes(e.charAt(0))&&["l","r","ř","w","y"].includes(e.charAt(1))?e=e.charAt(0)+e:e.includes("s")||e.includes("š")||e.includes("z")||e.includes("ž")||e.includes("ç")||e.includes("c")||e.includes("č")?e=e.replace("s","ss").replace("š","šš").replace("z","zz").replace("ž","žž").replace("ç","çç").replace("c","cc").replace("č","čč"):["f","ţ","v","ḑ","n","m","ň"].includes(e.charAt(0))?e=e.charAt(0)+e:["t","k","p"].includes(e.charAt(0))&&["s","š","f","ţ","ç"].includes(e.charAt(1))?e=e.charAt(0)+e.charAt(1)+e.slice(1):Object.prototype.hasOwnProperty.call(t,e.slice(-2))?e=e.slice(0,-2)+t[e.slice(-2)]:Object.prototype.hasOwnProperty.call(s,e.slice(-2))&&(e=e.slice(0,-2)+s[e.slice(-2)]),e},calculateSlot7(){var e="";if(this.slotVIIshortcut&&!this.shortcutting&&"3"!=this.gOptions.shcut&&"2"!=this.gOptions.shcut)for(var t in this.gOptions.VIIafx.slice(0,-1)){var s=Object.assign({},this.gOptions.VIIafx[t]);"CA"!=s[1]?e+=this.sVowels[(s[1]+9)%10][s[2]-1]:e+="üö",e+=s[0]}else for(var i in this.gOptions.VIIafx){var n=Object.assign({},this.gOptions.VIIafx[i]);"CA"!=n[1]?e+=this.sVowels[(n[1]+9)%10][n[2]-1]:e+="üö",e+=n[0]}this.slots[6]=e},calculateSlot8a(e="",t=""){var s;if(s=""!=t?t:"4"==e?this.gOptions["v4n"]:this.gOptions["vn"+e],"asp"!==s){var i,n=["val","pha","eff","lvl"],o={val:["MNO","PRL","CRO","RCP","CPL","DUP","DEM","CNG","PTI"],pha:["PCT","ITR","REP","ITM","RCT","FRE","FRG","VAC","FLC"],eff:["1:BEN","2:BEN","3:BEN","SLF:BEN","UNK","SLF:DET","3:DET","2:DET","1:DET"],lvl:["MIN","SBE","IFR","DFT","EQU","SUR","SPL","SPQ","MAX"]};return i="4"==e?this.sVowels[o[this.gOptions["v4n"]].indexOf(this.gOptions[this.gOptions["v4n"]+e])][n.indexOf(this.gOptions["v4n"])]:this.sVowels[o[this.gOptions["vn"+e]].indexOf(this.gOptions[this.gOptions["vn"+e]+e])][n.indexOf(this.gOptions["vn"+e])],i}var a=[["RTR","PRS","HAB","PRG","IMM","PCS","REG","SMM","ATP"],["RSM","CSS","PAU","RGR","PCL","CNT","ICS","EXP","IRP"],["PMP","CLM","DLT","TMP","XPD","LIM","EPD","PTC","PPR"],["DCL","CCL","CUL","IMD","TRD","TNS","ITC","MTV","SQN"]];for(var l in a)if(a[l].includes(this.gOptions["asp"+e]))return this.sVowels[a[l].indexOf(this.gOptions["asp"+e])][l]},calculateSlot8b(e="",t=""){var s=[],i=[];return s="asp"===this.gOptions["vn"+e]?["w","hw","hrw","hmw","hnw","hňw"]:["h","hl","hr","hm","hn","hň"],("modular"==this.wordType?"casc"==t:"UNF/K"!=this.gOptions.rel||"0"!=this.gOptions.concat)?(i=["CCN","CCA","CCS","CCQ","CCP","CCV"],s[i.indexOf(this.gOptions["casc"+e])]):(i=["FAC","SUB","ASM","SPC","COU","HYP"],s[i.indexOf(this.gOptions["mood"+e])])},calculateSlot9(e=""){var t=[["THM","INS","ABS","AFF","STM","EFF","ERG","DAT","IND"],["POS","PRP","GEN","ATT","PDC","ITP","OGN","IDP","PAR"],["APL","PUR","TRA","DFR","CRS","TSP","CMM","CMP","CSD"],["FUN","TFM","CLA","RSL","CSM","CON","AVR","CVS","SIT"]],s=[["PRN","DSP","COR","CPS","COM","UTL","PRD","n/a","RLT"],["ACT","ASI","ESS","TRM","SEL","CFM","DEP","n/a","VOC"],["LOC","ATD","ALL","ABL","ORI","IRL","INV","n/a","NAV"],["CNR","ASS","PER","PRO","PCV","PCR","ELP","n/a","PLM"]],i=["OBS","REC","PUP","RPR","USP","IMA","CVN","ITU","INF"],n=["DIR","DEC","IRG","VER","n/a","ADM","POT","HOR","CNJ"],o=!1;if("UNF/K"!==this.gOptions.rel||"0"!=this.gOptions.concat||["suppletive","ref"].includes(this.wordType)){for(var a in t)t[a].includes(this.gOptions["c"+e])&&(this.slots[9]=this.sVowels[t[a].indexOf(this.gOptions["c"+e])][a],o=!0);if(!o)for(var l in s)s[l].includes(this.gOptions["c"+e])&&(this.slots[9]=this.sVowels[s[l].indexOf(this.gOptions["c"+e])][l]+"'")}else"ASR"==this.gOptions.ill?this.slots[9]=this.sVowels[i.indexOf(this.gOptions.vld)][0]:this.slots[9]=this.sVowels[n.indexOf(this.gOptions.ill)][1]},shortcutCalcs(){if("1"==this.gOptions.shcut&&"a"==this.slots[3]&&["l","d","r","tļ","v","j","ř","dl"].includes(this.slots[10])&&"normal"==this.wordType||"refRoot"==this.wordType&&"1"==this.gOptions.shcut&&"a"==this.slots[3]&&["l","d"].includes(this.slots[10])){var e={l:[1,0],d:[2,0],r:[1,1],"tļ":[2,1],v:[1,2],j:[2,2],"ř":[1,3],dl:[2,3]};try{this.shortcutting=!0,this.shcuttypeA=e[this.slots[10]][0],this.shcuttypeB=e[this.slots[10]][1],this.slots[3]="",this.slots[5]=""}catch{this.shortcutting=!1,this.calculateSlot4(),this.calculateSlot6()}}else this.shortcutting=!1},insertGStop(e,t=!1){return 1===e.length||this.sDip.includes(e)?t?1===e.length?e+"'"+e:e.charAt(0)+"'"+e.charAt(1):e+"'":e.charAt(0)+"'"+e.charAt(1)},getCons(...e){var t=[];for(var s in this.cData)for(var i in e)e[i].every((e=>this.cData[s].includes(e)))&&!t.includes(s)&&t.push(s);return t},removeDuplicate(e){var t="",s="";for(var i of e)i!=s&&(t+=i,s=i);return t},slot9gStop(){"'"===this.slots[9].charAt(this.slots[9].length-1)&&("0"==this.gOptions.concat||["suppletive","ref","refCS"].includes(this.wordType)?(this.slots[9]=this.slots[9].slice(0,-1),this.slots[9]=this.insertGStop(this.slots[9],!0)):this.slots[9]=this.slots[9].slice(0,-1))},allowedAtStart(e){if(this.consAllowed(e)){var t=this.removeDuplicate(e);if(1===t.length){if("ļ"!==t)return!0}else if(2===t.length){var s=t.charAt(0),i=t.charAt(1);if(this.getCons(["stop"]).includes(s)&&["r","l","ř","w","y"].includes(i)||["p","k"].includes(s)&&["s","š"].includes(i)||["b","g"].includes(s)&&["z","ž"].includes(i)||"p"===s&&["f","ţ","ç","x","h","ļ"].includes(i)||"b"===s&&["v","ḑ"].includes(i)||"t"===s&&["f","v","ţ","ḑ","ç","x","h","ļ"].includes(i)||"d"===s&&"v"==i||"k"===s&&["f","ţ","ç","x","h"].includes(i)||"g"===s&&["v","ḑ"].includes(i)||["s","š"].includes(s)&&this.getCons(["stop","unvoiced"],["fric","nonsibil","unvoiced"],["affric","unvoiced"]).includes(i)||["z","ž"].includes(s)&&this.getCons(["stop","voiced"],["fric","nonsibil","voiced"],["affric","voiced"]).includes(i)||["s","z","š","ž"].includes(s)&&["m","n","ň","r","l","w","y","ř","v"].includes(i)||["c","č"].includes(s)&&this.getCons(["fric","nonsibil","unvoiced"],["stop","unvoiced"]).includes(i)||["c","č"].includes(s)&&"h"===i||["ẓ","j"].includes(s)&&this.getCons(["fric","nonsibil","voiced"],["stop","voiced"]).includes(i)||["c","ẓ","č","j"].includes(s)||"x"===s&&["p","t","c","č","m","n","l","r","w"].includes(i)||"ç"===s&&["p","t","c","č","k","m","n","ň","l","r","ř"].includes(i)||["f","ţ"].includes(s)&&this.getCons(["stop","unvoiced"],["affric","unvoiced"]).includes(i)||["v","ḑ"].includes(s)&&this.getCons(["stop","voiced"],["affric","voiced"]).includes(i)||["f","v","ţ","ḑ"].includes(s)&&["r","l","w","y","ř","m","n","ň"].includes(i)||"ļ"===s&&this.getCons(["stop","unvoiced"],["affric","unvoiced"],["nasal"]).includes(i)||"ļ"===s&&["w","y"].includes(i)||"h"===s&&["l","r","m","n","w"].includes(i)||["m","n"].includes(s)&&["l","r","w","y","ř"].includes(i)||"ň"===s&&["l","r","w"].includes(i)||["l","r"].includes(s)&&["w","y"].includes(i))return!0}else if(3===t.length){var n=t.charAt(0),o=t.charAt(1),a=t.charAt(2),l=n+o;if(["ps","pš","ks","kš"].includes(l)&&this.getCons(["stop","unvoiced"],["fric","nonsibil","unvoiced"],["affric","unvoiced"]).includes(a)||["bz","bž","gz","gž"].includes(l)&&this.getCons(["stop","voiced"],["fric","nonsibil","voiced"],["affric","voiced"]).includes(a)||["ps","pš","ks","kš","bz","bž","gz","gž"].includes(l)&&["m","n","ň","r","l","w","y","ř","v"].includes(a)||["p","b","t","d","k","g"].includes(n)&&["l","r"].includes(o)&&["w","y"].includes(a)||["p","t","k"].includes(n)&&"ç"===o&&["m","n","ň"].includes(a)||["p","k"].includes(n)&&["f","t"].includes(o)&&["y","w"].includes(a)||["p","t"].includes(o)&&"ļ"===o&&["w","y"].includes(a)||["s","š","ç"].includes(n)&&["p","t","k"].includes(o)&&["r","l","w","y","ř"].includes(a)||["z","ž"].includes(n)&&["b","d","g"].includes(o)&&["r","l","w","y","ř"].includes(a)||["s","z","š","ž","ç"].includes(n)&&["m","n"].includes(o)&&["w","y"].includes(a)||["s","z","š","ž","ç"].includes(n)&&"ň"===o&&"w"===a||["hlw","hrw","hmw","hnw","hmy","hny"].includes(t)||["c","č"].includes(n)&&["p","t","k"].includes(o)&&["r","l","w","y","ř"].includes(a)||["ẓ","j"].includes(n)&&["b","d","g"].includes(o)&&["r","l","w","y","ř"].includes(a)||["c","ẓ","č","j"].includes(n)&&["m","n"].includes(o)&&["w","y"].includes(a)||["c","ẓ","č","j"].includes(n)&&"ň"===o&&"w"===a||["flw","ţly","fly","ţly"].includes(t)||["xp","xt"].includes(l)&&["l","r","w","y"].includes(a)||["xm","xn"].includes(l)&&["w","y"].includes(a)||["xc","xč"].includes(l)&&"w"===a)return!0}else if(4===t.length){var r=t.charAt(0),h=t.charAt(1),c=t.charAt(2),d=t.charAt(3);if(["p","k"].includes(r)&&["s","š"].includes(h)&&["p","t","k"].includes(c)&&["r","l","w","y","ř"].includes(d)||["b","g"].includes(r)&&["z","ž"].includes(h)&&["b","d","g"].includes(c)&&["r","l","w","y","ř"].includes(d)||["s","š","ç","c","č"].includes(r)&&["p","t","k"].includes(h)&&"l"===c&&"y"===d||["z","ž","ẓ","j"].includes(r)&&["b","d","g"].includes(h)&&"l"===c&&"y"===d)return!0}return!1}return!1},allowedAtEnd(e){if(this.consAllowed(e)){var t=this.removeDuplicate(e);if(1==t.length){if("w"!==t&&"y"!==t&&"'"!==t)return!0}else if(2==t.length){var s=t.charAt(0),i=t.charAt(1);if(["p","t","k"].includes(s)&&["f","ţ","s","š","ç","x","h","ļ"].includes(i)||["b","d","g"].includes(s)&&["v","ḑ","z","ž"].includes(i)||["k","p"].includes(s)&&"t"===i||["g","b"].includes(s)&&"d"===i||["s","š"].includes(s)&&["p","t","k"].includes(i)||["z","ž"].includes(s)&&["b","d","g"].includes(i)||["c","č"].includes(s)&&["t","k"].includes(i)||["ẓ","j"].includes(s)&&["d","g"].includes(i)||"f"===s&&["t","k","s","š","ç"].includes(i)||"v"===s&&["d","g","z","ž"].includes(i)||"ţ"===s&&["t","k"].includes(i)||"ḑ"===s&&["d","g"].includes(i)||["ļ","x"].includes(s)&&["p","t","k"].includes(i)||["m","n"].includes(s)&&["p","b","t","d","k","g","f","v","ţ","ḑ","s","z","š","ž","ç","x","h","ļ"].includes(i)||"ň"===s||"r"===s&&"w"!==i&&"y"!==i&&"'"!==i||"l"===s&&!["'","w","y","r","ň"].includes(i)||s===i&&!["p","t","k","b","d","g","'"].includes(s))return!0}else if(3==t.length){var n=t.charAt(0),o=t.charAt(1),a=t.charAt(2);if("p"===o&&(["r","ř","l"].includes(n)&&["t","k","f","ţ","x","s","š","h","ļ","ç"].includes(a)||["m","ň"].includes(n)&&["h","ļ","ç"].includes(a)||["s","š","ç"].includes(n)&&["f","ţ","s","š","ļ","ç"].includes(a))||"t"===o&&(["l","r","ř"].includes(n)&&["k","f","x","h","ļ","ç"].includes(a)||"n"===n&&["k","f","x","h"].includes(a)||["m","ň","s","š","ç"].includes(n)&&["h","ļ","ç"].includes(a))||"k"===o&&(["l","r","ř"].includes(n)&&["t","f","ţ","s","š","h","ç"].includes(a)||["n","f","ţ","l"].includes(n)&&["h","ç"].includes(a)||"m"===n&&["f","ţ","h","ç"].includes(a)||["s","š","ç"].includes(n)&&["f","ţ","s","š","h","ç"].includes(a))||"b"===o&&(["r","ř"].includes(n)&&["d","g","v","ḑ","z","ž"].includes(a)||"l"===n&&["v","ḑ","z","ž"].includes(a))||"d"===o&&["r","ř"].includes(n)&&["b","g","v"].includes(a)||"g"===o&&(["r","ř"].includes(n)&&["b","d","v","ḑ","z","ž"].includes(a)||"l"===n&&["v","ḑ","z","ž"].includes(a))||"f"===o&&(["l","r","ř","m","ň"].includes(n)&&["t","k","f","s","š"].includes(a)||["p","t","k"].includes(n)&&["k","f"].includes(a)||"f"===n&&["t","k","s","š"].includes(a))||"ţ"===o&&(["p","k","r","l","ř","m","n","ň"].includes(n)&&["t","k","ţ"].includes(a)||"ţ"===n&&["t","k"].includes(a))||"x"===o&&(["r","l","ř"].includes(n)&&["t","x"].includes(a)||["p","t","f","s","š","n","m"].includes(n)&&"x"===a||"x"===n&&"t"===a)||"ļ"===o&&(["p","t","r","ř","m","n","ň"].includes(n)&&["t","k","ļ"].includes(a)||["ļ","l"].includes(n)&&["t","k"].includes(a))||"s"===o&&(["r","l","ř","m","n","ň","p","k","f"].includes(n)&&["p","t","k","f","ţ","x","s"].includes(a)||"ţ"===n&&["p","t","k","s"].includes(a)||"s"===n&&["p","t","k","f","ţ","x"].includes(a))||"š"===o&&(["r","l","ř","m","n","ň","p","k","f"].includes(n)&&["p","t","k","f","ţ","x","š"].includes(a)||"ţ"===n&&["p","t","k","š"].includes(a)||"š"===n&&["p","t","k","f","ţ","x"].includes(a))||"v"===o&&(["r","ř","l"].includes(n)&&["v","z","ž"].includes(a)||["b","g","m","ň"].includes(n)&&"v"===a||"v"===n&&["z","ž"].includes(a))||"ḑ"===o&&["b","g","r","ř","l","n","m","ň"].includes(n)&&"ḑ"===a||"z"===o&&(["r","ř","l","n","m","ň"].includes(n)&&["b","d","g","z"].includes(a)||["b","g","v"].includes(n)&&"z"===a||"z"===n&&["b","d","g"].includes(a))||"ž"===o&&(["r","ř","l","n","m","ň"].includes(n)&&["b","d","g","ž"].includes(a)||["b","g","v"].includes(n)&&"ž"===a||"ž"===n&&["b","d","g"].includes(a))||"c"===o&&["r","ř","l"].includes(n)&&["t","k","c","h"].includes(a)||"č"===o&&["r","ř","l"].includes(n)&&["t","k","č","h"].includes(a)||"ẓ"===o&&["r","ř","l"].includes(n)&&["d","g","ẓ"].includes(a)||"j"===o&&["r","ř","l"].includes(n)&&["d","g","j"].includes(a)||"m"===o&&(["r","l","ř"].includes(n)&&["p","t","k","b","d","f","ţ","x","s","š","v","ḑ","z","ž","m","ļ","ç"].includes(a)||"m"===n&&["p","t","k","b","d","f","ţ","x","s","š","v","ḑ","z","ž","ļ","ç"].includes(a))||"n"===o&&(["r","ř"].includes(n)&&["t","k","d","g","f","ţ","x","s","š","v","ḑ","z","ž","n","ļ","ç"].includes(a)||"l"===n&&["t","k","d","g","ţ","s","š","z","ž","ļ","ç"].includes(a)||"n"===n&&["t","k","d","g","f","ţ","x","s","š","v","ḑ","z","ž","ļ","ç"].includes(a))||"l"===o&&"l"===n&&["p","t","k","b","d","g","f","ţ","x","s","š","v","ḑ","z","ž","c","č","ẓ","j","m","n","ň","ç"].includes(a)||["r","ř"].includes(o)&&["r","ř"].includes(n)&&["p","t","k","b","d","g","f","ţ","x","s","š","v","ḑ","z","ž","c","č","ẓ","j","m","n","ň","l","ļ","ç"].includes(a)||"ç"===o&&(["p","t","k","m","n","ň","r","l","ř"].includes(n)&&["t","k","ç"].includes(a)||"ç"===n&&["t","k"].includes(a)))return!0}else if(4==t.length){var l=t.charAt(0),r=t.charAt(1),h=t.charAt(2),c=r+h,d=t.charAt(3);if((["l","r","ř"].includes(l)&&(["tç","pf","fs","fš"].includes(c)||["k","p"].includes(r)&&["s","š","ţ","ç"].includes(h))||"r"===l&&(["n","ň","m"].includes(r)&&["s","š","ţ","ç"].includes(h)||["ň","m"].includes(r)&&"f"===h))&&["t","k"].includes(d))return!0}return!1}return!1},consAllowed(e){for(var t in e.slice(0,-1)){let s=e.charAt(t),i=e.charAt(t+1),n=e.charAt(t+2);if("'"!=s&&e.split("'").length>=2||e.split("'").length>=3)return!1;if(["t","d"].includes(s)&&["s","z","š","ž","c","ẓ","č","j","ţ","ḑ"].includes(i))return!1;if(["k","g"].includes(s)&&["x","ň"].includes(i))return!1;if(["kg","gk","td","dt","pb","bp"].includes(s+i))return!1;if(["fv","vf","ţḑ","ḑţ","cẓ","ẓc","čj","jč","čc","jc","čẓ","jẓ"].includes(s+i))return!1;if(["šc","šẓ","žc","žẓ","sẓ"].includes(s+i))return!1;if(s!=i&&["s","š","z","ž"].includes(s)&&["s","š","z","ž"].includes(i))return!1;if(["c","ẓ","č","j"].includes(s)&&["s","š","z","ž"].includes(i))return!1;if("ç"==s&&["s","z","š","ž","ẓ","j","ļ","h"].includes(i))return!1;if("ç"==i&&["c","ẓ","č","j","ļ","h","x"].includes(s))return!1;if("n"==s&&["c","č","ẓ","j"].includes(i))return!1;if("m"==s&&["b","p"].includes(i)&&["f","v","ţ","ḑ","t","d","s","z","š","ž"].includes(n))return!1;if("n"==s&&["k","g"].includes(i)&&["s","z","š","ž"].includes(n))return!1;if("n"==s&&["p","b"].includes(i))return!1;if("n"==s&&["f","v"].includes(i)&&""!=n)return!1;if("ň"==s&&["g","k","x","y"].includes(i))return!1;if("x"==s&&["s","z","š","ž","ç","g","ļ","ň","y","h","ř"].includes(i))return!1;if("ļ"==s&&["s","z","š","ž","h","ç"].includes(i))return!1;if("ļ"==i&&["b","d","g","h","ç"].includes(s))return!1;if(""==n&&"h"==i&&["ļ","x","ç"].includes(s))return!1;if("ř"==i&&["r","h"].includes(s))return!1;if(s+i=="řr")return!1;if(["w","y"].includes(s)&&""!=i)return!1}return!0},markStress(e,t){if(t.includes("'"))for(let n=t.length;n--;)if("'"==t.charAt(n)&&n!=t.length-1&&(console.log(t.charAt(n-1)),["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(n-1))&&0!=n&&(console.log(t,t.charAt(n-1)),!["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(n+1))))){let e=1;while(!["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(n+e)))e+=1;let s=t.slice(n+1,n+e);console.log(s),this.allowedAtStart(s)||(t=t.slice(0,n)+t.slice(n+1),t=["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(n-2))&&n>=2?t.slice(0,n-1)+"'"+t.slice(n-1):t.slice(0,n-1)+t.charAt(n-1)+"'"+t.slice(n-1))}var s=t.match(/(?:ai|ei|ëi|oi|ui|au|eu|ëu|ou|iu|[aeiouäëöü])/gi);if(0===e&&s.length>1){for(let n=t.length-1;n>=0;n--)if(["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(n))){t=this.sDip.includes(t.charAt(n-1)+t.charAt(n))?t.substring(0,n-1)+this.sAccent[t.charAt(n-1)]+t.substring(n):t.substring(0,n)+this.sAccent[t.charAt(n)]+t.substring(n+1);break}}else if(2===e){var i=0;for(let e=t.length-1;e>=0;e--)if(["a","e","i","o","u","ä","ë","ö","ü"].includes(t.charAt(e))){if(2==i){t=this.sDip.includes(t.charAt(e-1)+t.charAt(e))?t.substring(0,e-1)+this.sAccent[t.charAt(e-1)]+t.substring(e):t.substring(0,e)+this.sAccent[t.charAt(e)]+t.substring(e+1);break}this.sDip.includes(t.charAt(e-1)+t.charAt(e))||i++}}return t},recalcVowels(e){return e.replaceAll("yia","yuä").replaceAll("yie","yuë").replaceAll("yio","yüä").replaceAll("yiö","yüë").replaceAll("wuö","wöë").replaceAll("wuo","wöä").replaceAll("wue","wië").replaceAll("wua","wiä")},finalCalcs(){var e="";if(e=this.slots[9],this.slot9gStop(),"3"!=this.gOptions.shcut&&(""!==this.slots[0]||"a"!==this.slots[1]||this.slotVIIshortcut||this.allowedAtStart(this.slots[2])&&(this.slots[1]="",this.cut[0]=!0),"a"===this.slots[7]&&"asp"!=this.gOptions.vn&&"l"===this.slots[5]&&"h"!=this.slots[8]&&this.settings["Miscellaneous"].s8[1]?(this.slots[10]=this.slots[8],this.slots[5]=this.slots[8],this.slots[8]="",this.eightSix=!0,this.cut[2]=!0):this.eightSix=!1,"a"===this.slots[7]&&("h"===this.slots[8]||""===this.slots[8])&&(this.slots[7]="",this.slots[8]="",this.cut[2]=!0,"a"===this.slots[9]))){var t,s=!0;0==this.gOptions.VIIafx.length&&this.gOptions.Vafx.length==0+(this.slotVIIshortcut&&1)&&this.shortcutting?"PRN"==this.gOptions.c&&(this.sDip.includes(this.slots[1])||Object.keys(this.sAccent).includes(this.slots[1]))?s=!1:t=this.slots[2]:this.gOptions.VIIafx.length==0+(this.slotVIIshortcut&&1)&&this.shortcutting?s=!1:t=this.gOptions.VIIafx.length==0+(this.slotVIIshortcut&&1)?this.slots[5]:this.gOptions.VIIafx[this.gOptions.VIIafx.length-1][0],s&&this.allowedAtEnd(t)&&(this.slots[9]="",this.cut[1]=!0)}(()=>{this.ithkword=this.slots.slice(0,-1).join("")})(),this.ithkword=this.recalcVowels(this.ithkword);var i=this.ithkword.match(/(?:ai|ei|ëi|oi|ui|au|eu|ëu|ou|iu|[aeiouäëöü])/gi),n=0;n="0"!=this.gOptions.concat?"'"===e.charAt(e.length-1)||this.cut[2]&&this.cut[1]&&"THM"==this.gOptions.c&&"0"!=this.gOptions.concat&&0==this.gOptions.VIIafx.length&&this.shortcutting&&(this.sDip.includes(this.slots[1])||Object.keys(this.sAccent).includes(this.slots[1]))?0:1:["UNF/K","UNF/C","FRM"].indexOf(this.gOptions.rel);while(i.length<=n){var o=1==this.cut[1]?1:1==this.cut[0]?0:1==this.cut[2]?2:null,a=[1,9,7];7===a[o]&&(this.slots[8]="h"),this.slots[a[o]]="a",this.cut[o]=!1,(()=>{this.ithkword=this.slots.slice(0,-1).join("")})(),i=this.ithkword.match(/(?:ai|ei|ëi|oi|ui|au|eu|ëu|ou|iu|[aeiouäëöü])/gi)}this.cut[1]&&this.calculateEJ&&(this.ithkword+="a"),this.ithkword=this.markStress(n,this.ithkword)},glossCalcs(){if(this.gloss="",this.fullGloss="","0"!=this.gOptions.concat&&(this.gloss+="T"+this.gOptions.concat+"-",this.fullGloss+="T"+this.gOptions.concat+"-"),"normal"==this.wordType?(this.gloss+="S"+this.gOptions.stem.charAt(1),"CPT"===this.gOptions.ver&&(this.gloss+=".CPT"),this.fullGloss+="S"+this.gOptions.stem.charAt(1)+"."+this.gOptions.ver):"refRoot"==this.wordType?(this.gloss+="CPT"==this.gOptions.ver?"CPT-":"",this.fullGloss+=this.gOptions.ver+"-"):"affRoot"==this.wordType&&(this.gloss+="CPT"==this.gOptions.ver?"CPT":"",this.gloss+="CPT"==this.gOptions.ver&&"DYN"==this.gOptions.func?".":"",this.gloss+="DYN"==this.gOptions.func?"DYN":"",this.gloss+="CPT"==this.gOptions.ver||"DYN"==this.gOptions.func?"-":"",this.fullGloss+=this.gOptions.ver+"."+this.gOptions.func+"-"),this.shortcutting){var e=(this.gOptions.plex+this.gOptions.simil+this.gOptions.cctd).slice(0,3);"normal"==this.wordType&&(this.fullGloss+="."),this.fullGloss+=this.gOptions.affil+"."+e+"."+this.gOptions.ext+"."+this.gOptions.persp+"."+this.gOptions.ess;var t=[];"CSL"!=this.gOptions.affil&&t.push(this.gOptions.affil),"UPX"!=e&&t.push(e),"DEL"!=this.gOptions.ext&&t.push(this.gOptions.ext),"M"!=this.gOptions.persp&&t.push(this.gOptions.persp),"NRM"!=this.gOptions.ess&&t.push(this.gOptions.ess),t.length>0&&"normal"==this.wordType?this.gloss+="."+t.join("."):t.length>0&&(this.gloss+=t.join(".")+"-"),"refRoot"==this.wordType&&(this.fullGloss+="-")}else if(this.slotVIIshortcut){let e=this.gOptions.VIIafx[this.gOptions.VIIafx.length-1];"r"==e[0]&&"4"==e[1]?(this.gloss+=".'relative negation'",this.fullGloss+=".'relative negation'"):"t"==e[0]&&"4"==e[1]?(this.gloss+=".'previously mentioned'",this.fullGloss+=".'previously mentioned'"):"t"==e[0]&&"5"==e[1]&&(this.gloss+=".'[+head]'",this.fullGloss+=".'[+head]'")}if("normal"==this.wordType)this.gloss+='-"'+this.gOptions.root.toLowerCase()+'"',this.fullGloss+='-"'+this.gOptions.root.toLowerCase()+'"';else if("affRoot"==this.wordType)this.gloss+='"'+this.gOptions.affRoot.toLowerCase()+'"',this.fullGloss+='"'+this.gOptions.affRoot.toLowerCase()+'"';else if("refRoot"==this.wordType){let e=this.refGloss(this.gOptions.ref,this.gOptions.refEff,this.gOptions.refPersp);this.gloss+=e[0],this.fullGloss+=e[1]}if("affRoot"!=this.wordType){var s=[];"STA"!=this.gOptions.func&&s.push(this.gOptions.func),"BSC"!=this.gOptions.spec&&s.push(this.gOptions.spec),"EXS"!=this.gOptions.ctxt&&s.push(this.gOptions.ctxt),s.length>0&&(this.gloss+="-"+s.join(".")),this.fullGloss+="-"+this.gOptions.func+"."+this.gOptions.spec+"."+this.gOptions.ctxt}else this.gloss+="-D"+(this.gOptions.arDegree+1).toString().slice((this.gOptions.arDegree+1).toString().length-1),"EXS"!=this.gOptions.ctxt&&(this.gloss+="."+this.gOptions.ctxt),this.fullGloss+="-D"+(this.gOptions.arDegree+1).toString().slice((this.gOptions.arDegree+1).toString().length-1)+"."+this.gOptions.ctxt;for(var i in this.gOptions.Vafx){let e=this.gOptions.Vafx[i];this.gloss+="-'"+e[0]+"'/"+e[1]+("CA"!=e[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[e[2]]:""),this.fullGloss+="-'"+e[0]+"'/"+e[1]+("CA"!=e[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[e[2]]:"")}if(this.shortcutting)this.gOptions.Vafx.length>0&&(this.gloss+="-{Ca}",this.fullGloss+="-{Ca}");else{var n=(this.gOptions.plex+this.gOptions.simil+this.gOptions.cctd).slice(0,3);if(this.eightSix)this.gloss+="-"+this.gOptions.casc,this.fullGloss+="-"+this.gOptions.affil+"."+n+"."+this.gOptions.ext+"."+this.gOptions.persp+"."+this.gOptions.ess,this.fullGloss+="."+this.gOptions[this.gOptions.vn]+"."+("UNF/K"===this.gOptions.rel&&"0"==this.gOptions.concat?this.gOptions.mood:this.gOptions.casc);else{this.fullGloss+="-"+this.gOptions.affil+"."+n+"."+this.gOptions.ext+"."+this.gOptions.persp+"."+this.gOptions.ess;var o=[];"CSL"!=this.gOptions.affil&&o.push(this.gOptions.affil),"UPX"!=n&&o.push(n),"DEL"!=this.gOptions.ext&&o.push(this.gOptions.ext),"M"!=this.gOptions.persp&&o.push(this.gOptions.persp),"NRM"!=this.gOptions.ess&&o.push(this.gOptions.ess),o.length>0?this.gloss+="-"+o.join("."):this.gOptions.Vafx.length>0&&(this.gloss+="-{Ca}")}}if(this.slotVIIshortcut)for(var a in this.gOptions.VIIafx.slice(0,-1)){let e=this.gOptions.VIIafx[a];this.gloss+="-'"+e[0]+"'/"+e[1]+("CA"!=e[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[e[2]]:""),this.fullGloss+="-'"+e[0]+"'/"+e[1]+("CA"!=e[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[e[2]]:"")}else for(var l in this.gOptions.VIIafx){let e=this.gOptions.VIIafx[l];this.gloss+="-'"+e[0]+"'/"+e[1]+("CA"!=e[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[e[2]]:""),this.fullGloss+="-'"+e[0]+"'/"+e[1]+("CA"!=e[1]?{1:"₁",2:"₂",3:"₃",4:"₄"}[e[2]]:"")}if(!this.eightSix){var r=[];"MNO"!==this.gOptions[this.gOptions.vn]&&r.push(this.gOptions[this.gOptions.vn]),"FAC"!==this.gOptions.mood&&"UNF/K"===this.gOptions.rel&&"0"==this.gOptions.concat&&r.push(this.gOptions.mood),"CCN"===this.gOptions.casc||"UNF/K"===this.gOptions.rel&&"0"==this.gOptions.concat||r.push(this.gOptions.casc),r.length>0&&(this.gloss+="-"+r.join(".")),this.fullGloss+="-"+this.gOptions[this.gOptions.vn]+"."+("UNF/K"===this.gOptions.rel&&"0"==this.gOptions.concat?this.gOptions.mood:this.gOptions.casc)}if("UNF/K"===this.gOptions.rel&&"0"==this.gOptions.concat){var h=[];this.fullGloss+="-"+this.gOptions.ill,"ASR"===this.gOptions.ill&&(this.fullGloss+="."+this.gOptions.vld),"ASR"!==this.gOptions.ill&&h.push(this.gOptions.ill),"ASR"===this.gOptions.ill&&h.push(this.gOptions.vld),h.length>0&&(this.gloss+="-"+h.join("."))}else"THM"!==this.gOptions.c&&(this.gloss+="-"+this.gOptions.c),this.fullGloss+="-"+this.gOptions.c;if("0"==this.gOptions.concat&&(this.fullGloss+="\\"+this.gOptions.rel.split("/")[0],"UNF"!==this.gOptions.rel.split("/")[0]&&(this.gloss+="\\"+this.gOptions.rel.split("/")[0])),"3"==this.gOptions.shcut){let e=this.gloss;this.gloss=this.fullGloss,this.fullGloss=e}},refGloss(e,t,s){var i="",n="";return i+="M"==s?"":"[",n+="M"==s?"":"[",i+=e,i+="NEU"==t?"":"."+t,n+=e+"."+t,i+="M"==s?"":"+"+s+"]",n+="M"==s?"":"+"+s+"]",[i,n]},IPAcalcs(){this.ipa="";var e=!1;for(var t in(Object.keys(this.sAccent).includes(this.ithkword.charAt(0))||Object.values(this.sAccent).includes(this.ithkword.charAt(0)))&&(this.ipa+="ʔ"),this.ithkword.split(""))if(e)e=!1;else{let i=this.ithkword.charAt(parseInt(t)-1),n=this.ithkword.charAt(parseInt(t)),o=this.ithkword.charAt(parseInt(t)+1);if(Object.values(this.sAccent).includes(n)&&(this.ipa+="ˈ")," "==n)this.ipa+=" ";else if("n"===n)["k","g","x"].includes(o)?this.ipa+="ŋ":this.ipa+="n";else if("r"===n&&"r"!==o)Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="ɾ":this.ipa+="ɹ";else if("x"===n)this.ipa+=this.settings["IPA"][n][1].slice(1,-1),n==o&&(this.ipa+="ː",e=!0);else if("rr"===n+o)this.ipa+="r",e=!0;else if("řř"===n+o)this.ipa+=this.settings["IPA"]["rr"][1].slice(1,-1),e=!0;else if(["hl","hr","hm","hn","hň"].includes(n+o))"Devoiced"==this.settings["IPA"]["hx"][1]?this.ipa+={hl:"ɬ",hr:"ɾ̥",hm:"m̥",hn:"n̥","hň":"ŋ̊"}[n+o]:this.ipa+={hl:"hl",hr:"hɾ",hm:"hm",hn:"hn","hň":"hŋ"}[n+o],e=!0;else if(["ph","th","kh","ch","čh"].includes(n+o)&&(""===this.ithkword.charAt(parseInt(t)+2)||Object.keys(this.sAccent).includes(this.ithkword.charAt(parseInt(t)+2))||Object.values(this.sAccent).includes(this.ithkword.charAt(parseInt(t)+2))))this.ipa+=this.ipaLookup[n],this.ipa+="ʰ",e=!0;else if(n===o&&Object.keys(this.ipaLookup).includes(n))this.ipa+=this.ipaLookup[n],this.ipa+="ː",e=!0;else if(Object.keys(this.sAccent).includes(n)||Object.values(this.sAccent).includes(n)){var s;s=Object.values(this.sAccent).includes(n)?Object.keys(this.sAccent).find((e=>this.sAccent[e]==n)):n,s===o||s===Object.keys(this.sAccent).find((e=>this.sAccent[e]==o))?(this.ipa+="ä"==s?"æ":this.settings["IPA"][s][1].slice(1,-1),this.ipa+="ː",e=!0):["ä","ë"].includes(s)?this.ipa+="ä"==s?"æ":this.settings["IPA"][s][1].slice(1,-1):"a"===s?Object.keys(this.sAccent).includes(i)||Object.values(this.sAccent).includes(i)?this.ipa+="ɑ":this.ipa+=this.settings["IPA"][s][1].slice(1,-1):"e"===s?Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="e":this.ipa+=this.settings["IPA"][s][1].slice(1,-1):"i"===s?Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="i":this.ipa+="y"==o||"y"==i?"ɪ":this.settings["IPA"][s][1].slice(1,-1):"o"===s?Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="o":this.ipa+=this.settings["IPA"][s][1].slice(1,-1):"ö"===s?Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="ø":this.ipa+=this.settings["IPA"][s][1].slice(1,-1):"u"===s?Object.keys(this.sAccent).includes(o)||Object.values(this.sAccent).includes(o)?this.ipa+="u":this.ipa+="w"==o||"w"==i?"ʊ":this.settings["IPA"][s][1].slice(1,-1):"ü"===s&&(this.ipa+="w"==o||"w"==i||"y"==o||"y"==i?"ʉ":this.settings["IPA"][s][1].slice(1,-1))}else Object.keys(this.ipaLookup).includes(n)?this.ipa+=this.ipaLookup[n]:this.ipa+="-"}},resetWord(e=null){for(var t in null==e&&(e=this.gDefault),this.gOptions=JSON.parse(JSON.stringify(e)),e)this.updateFromModal(t,JSON.parse(JSON.stringify(e[t])))}},beforeMount(){this.gOptions=JSON.parse(JSON.stringify(this.gDefault)),this.handleSendMessage()},computed:{calculateEJ(){return this.$props.selectedWord!=this.$props.sLength-1&&this.settings["Miscellaneous"].ej[1]&&Object.keys(this.cData).includes(this.$props.nextWord[0].charAt(0))}}};const ms=(0,cs.Z)(gs,[["render",je]]);var bs=ms;const ws={class:"section"};function ys(e,t,s,i,a,l){const r=(0,n.up)("OptionBox");return(0,n.wg)(),(0,n.iD)("div",null,[(0,n._)("div",ws,[(0,n.Wm)(r,{json:a.gData.word,code:"word",onSendMessage:l.handleSendMessage,ref:"word",onModal:l.openModal,class:(0,o.C_)({hidden:"normal"!=a.wordType})},null,8,["json","onSendMessage","onModal","class"])])])}var vs={name:"Ithkuil_v3",components:{OptionBox:ps},props:{listenModal:Array,listenWordtype:String,listenWord:Object},watch:{listenModal(e){this.updateFromModal(e[0],e[1])},listenWordtype(e){this.switchWordType(e)},listenWord(e){for(var t in this.gOptions=JSON.parse(JSON.stringify(e)),e)this.updateFromModal(t,JSON.parse(JSON.stringify(e[t])));this.handleSendMessage(e.root,"root")},ithkword(e){this.$emit("ithkword",[e,this.ipa,this.gloss,this.fullGloss]),this.$emit("gEmit",this.gOptions)},ipa(e){this.$emit("ithkword",[this.ithkword,e,this.gloss,this.fullGloss])},gloss(e){this.$emit("ithkword",[this.ithkword,this.ipa,e,this.fullGloss])},fullGloss(e){this.$emit("ithkword",[this.ithkword,this.ipa,this.gloss,e])}},data(){return{defaultWord:"",settings:{"Category A":{s1:["Setting 1: ","defaultval",["defaultval","Fancy New Value"]]},"Category B":{s2:["Setting 2: ",!1]}},gDefault:{word:""},wordType:"normal",tabGroups:{normal:[["word"]]},gOptions:{},ithkword:"",ipa:"",gloss:"",fullGloss:"",gData:{word:{type:"text",title:"placeholder",popupdesc:"Hopefully this works :)"}}}},methods:{async handleSendMessage(e="",t=""){t&&(this.gOptions[t]=e),this.ithkword=this.gOptions.word,this.settings["Category B"].s2[1]&&(this.ithkword+="AAAA"),this.ipa=this.gOptions.word,this.gloss=this.gOptions.word,this.fullGloss=this.gOptions.word},openModal(e){this.$emit("modal",e)},updateFromModal(e,t){this.$refs[e].updateValue(t)},resetWord(e=null){for(var t in null==e&&(e=this.gDefault),this.gOptions=JSON.parse(JSON.stringify(e)),e)this.updateFromModal(t,JSON.parse(JSON.stringify(e[t])))},switchWordType(e){this.wordType=e,this.handleSendMessage()}},beforeMount(){this.gOptions=JSON.parse(JSON.stringify(this.gDefault)),this.handleSendMessage()}};const Ss=(0,cs.Z)(vs,[["render",ys]]);var Ms=Ss,Ts={name:"App",components:{Ithkuil_v4:bs,Ithkuil_v3:Ms},data(){return{langVer:"4",modalListen:[],wordType:"normal",modalContent:"",modalID:"",modalTabs:[],gOptions:{},gSOptions:{},ithkword:"",gloss:"",fullGloss:"",ipa:"",casePopupStart:"THM",casePopupEnd:"PLM",casePopupTitle:"Allcases",tabGroups:[["root","stem","spec"],["func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","abslvl","asp"],["casc","c"],["mood","ill","vld"]],SRtabGroups:[["affRoot","arDegree"],["spec","func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","abslvl","asp"],["casc","c"],["mood","ill","vld"]],REFtabGroups:[["ref","refEff","refPersp"],["spec","func","ver","ctxt"],["shcut","concat","rel"],["Vafx","VIIafx"],["plex","simil","cctd"],["affil","ext","persp","ess"],["vn","val","pha","eff","lvl","abslvl","asp"],["casc","c"],["mood","ill","vld"]],sentenceOpen:!1,sentence:[],selectedWord:0,deleteWordMode:!1,oldScreenSize:0,hovering:null,isMouseDown:!1,draggedWord:null,settingsClone:{}}},methods:{notAvailableAlert(e){alert(e+" is not available yet!")},openModal(e){let t=!1,s=JSON.parse(JSON.stringify(this.$refs[this.langVer].tabGroups[this.wordType]));this.modalID=e,isNaN(e.charAt(e.length-1))?this.modalContent=this.$refs[this.langVer].gData[e]:this.modalContent=this.$refs[this.langVer].gData[e.slice(0,-1)];for(let i of s)i.includes(e)&&(this.modalTabs=[...i],t=!0);t||(this.modalTabs=[]),document.getElementById("modal").style.display="block","c"===e&&this.changeClassTab("THM","PLM","Allcases")},closeModal(){document.getElementById("modal").style.display="none"},openDropdown(e){document.getElementById(e).classList.toggle("hidden")},closeDropdown(e,t={},s=!1){if(s)document.getElementById(e).classList.add("hidden");else try{t.path[1].id!=e&&document.getElementById(e).classList.add("hidden")}catch{}},updateFromModal(e,t){this.modalListen=[e,t]},scrollToTop(){document.getElementById("modal").scrollTo(0,0)},changeClassTab(e,t,s){this.casePopupStart=e,this.casePopupEnd=t,this.casePopupTitle=s;var i=document.getElementsByClassName("tablinks");for(let n=0;n=650?this.sentenceOpen&&!e?this.closeNav():(this.sentenceOpen=!0,document.getElementById("sidebar").style.width="250px",document.getElementById("sFooter").style.width="250px",document.getElementById("content").style.marginRight="250px",document.getElementById("header").style.marginRight="250px",document.getElementById("footer").style.marginRight="250px",document.getElementById("modal").style.marginRight="250px",document.getElementById("modalToTop").style.right="270px"):(e&&this.closeNav(),this.sentenceOpen=!0,document.getElementById("sidebar").style.width="100%",document.getElementById("sFooter").style.width="100%")},closeNav(){this.sentenceOpen=!1,document.getElementById("sidebar").style.width="0",document.getElementById("sFooter").style.width="0",document.getElementById("content").style.marginRight="0",document.getElementById("header").style.marginRight="0",document.getElementById("footer").style.marginRight="0",document.getElementById("modal").style.marginRight="0",document.getElementById("modalToTop").style.right="20px"},switchWord(e,t=!1){this.deleteWordMode&&!t?confirm("Really delete "+this.sentence[e][0]+(this.sentence[e][3]?" ("+this.sentence[e][3]+")":"")+"?")&&(this.sentence.splice(e,1),0==this.sentence.length&&this.sentence.push([this.$refs[this.langVer].defaultWord,JSON.parse(JSON.stringify(this.$refs[this.langVer].gDefault)),"normal",""]),(this.sentence.length<=this.selectedWord||e=650&&window.innerWidth<650||this.oldScreenSize<650&&window.innerWidth>=650)&&this.sentenceOpen&&this.openNav(!0),this.oldScreenSize=window.innerWidth},hoverChange(e){if(this.hovering=e,this.isMouseDown&&null!==this.draggedWord&&this.draggedWord!==this.hovering){var t=JSON.parse(JSON.stringify(this.sentence[this.draggedWord]));this.sentence.splice(this.draggedWord,1),this.sentence.splice(this.hovering,0,JSON.parse(JSON.stringify(t))),this.selectedWord===this.draggedWord?this.switchWord(this.hovering,!0):this.selectedWord===this.hovering&&this.switchWord(this.draggedWord,!0);let s=document.getElementsByClassName("ta")[this.draggedWord].style.height;document.getElementsByClassName("ta")[this.draggedWord].style.height=document.getElementsByClassName("ta")[e].style.height,document.getElementsByClassName("ta")[e].style.height=s,this.draggedWord=e}},onMouseDownF(){this.deleteWordMode||(this.isMouseDown=!0)},onMouseUpF(){this.deleteWordMode||(this.isMouseDown=!1,this.draggedWord=null)},beginDrag(e){this.deleteWordMode?this.draggedWord=null:this.isMouseDown&&(this.draggedWord=e)},resizeTA(e){e.target.style.height="18px",e.target.style.height=e.target.scrollHeight+"px"},copytoCB(e){try{navigator.clipboard.writeText(e).then((function(){alert("Copied to clipboard successfully")}),(function(){alert("Could not copy to clipboard")}))}catch{alert("Could not copy to clipboard")}},setCookie(e,t,s){const i=new Date;i.setTime(i.getTime()+24*s*60*60*1e3);let n="expires="+i.toUTCString();document.cookie=e+"="+t+";"+n+";path=/"},getCookie(e){let t=e+"=",s=decodeURIComponent(document.cookie),i=s.split(";");for(let n=0;n0){console.log(e.target.files);let t=new FileReader;t.readAsText(e.target.files[0]),t.onload=()=>{try{this.handleImportedWord(JSON.parse(t.result)),this.switchWord(0,!0),document.getElementById("fimport").value=""}catch{alert("Could not import correctly.")}}}},exportToJsonFile(e){let t=JSON.stringify(e),s="data:application/json;charset=utf-8,"+encodeURIComponent(t),i="sentence.json",n=document.createElement("a");n.setAttribute("href",s),n.setAttribute("download",i),n.click()},openFileDialog(){document.getElementById("filab").click()}},beforeMount(){this.sentence.unshift([this.ithkword,JSON.parse(JSON.stringify(this.gOptions)),"normal",""])},directives:{clickOutside:Ie().directive},created(){let e=new URLSearchParams(window.location.search);e.has("v")&&("3"!=e.get("v")?this.langVer="4":this.langVer=e.get("v")),this.oldScreenSize=window.innerWidth,window.addEventListener("resize",this.onScreenResize),window.addEventListener("mousedown",this.onMouseDownF),window.addEventListener("mouseup",this.onMouseUpF),window.addEventListener("touchstart",this.onMouseDownF),window.addEventListener("touchend",this.onMouseUpF)},unmounted(){window.removeEventListener("resize",this.onScreenResize),window.removeEventListener("mousedown",this.onMouseUpF),window.removeEventListener("mouseup",this.onMouseDownF),window.removeEventListener("touchstart",this.onMouseUpF),window.removeEventListener("touchend",this.onMouseDownF)},mounted(){this.settingsClone=JSON.parse(JSON.stringify(this.$refs[this.langVer].settings))}};const Os=(0,cs.Z)(Ts,[["render",Oe]]);var Cs=Os,Is=s(431);(0,Is.z)("/ithkapp/service-worker.js",{ready(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered(){console.log("Service worker has been registered.")},cached(){console.log("Content has been cached for offline use.")},updatefound(){console.log("New content is downloading.")},updated(){console.log("New content is available; please refresh.")},offline(){console.log("No internet connection found. App is running in offline mode.")},error(e){console.error("Error during service worker registration:",e)}}),(0,i.ri)(Cs).mount("#app")}},t={};function s(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,s),o.exports}s.m=e,function(){var e=[];s.O=function(t,i,n,o){if(!i){var a=1/0;for(c=0;c=o)&&Object.keys(s.O).every((function(e){return s.O[e](i[r])}))?i.splice(r--,1):(l=!1,o0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[i,n,o]}}(),function(){s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,{a:t}),t}}(),function(){s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}}(),function(){s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={143:0};s.O.j=function(t){return 0===e[t]};var t=function(t,i){var n,o,a=i[0],l=i[1],r=i[2],h=0;if(a.some((function(t){return 0!==e[t]}))){for(n in l)s.o(l,n)&&(s.m[n]=l[n]);if(r)var c=r(s)}for(t&&t(i);h\r\n Ithkapp | {{ithkword}}\r\n \r\n \r\n
\r\n

Ithkapp

\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Affixual\r\n Modular\r\n Register\r\n Suppletive\r\n Bias\r\n
\r\n
\r\n
\r\n \r\n
\r\n Normal\r\n Affix as Root\r\n Personal-Referential Root\r\n Single/Dual-Referential\r\n Single Referential w/ Case-Stacking\r\n Non-Ithkuil (Borrowed) Word\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n Aspectual\r\n Affixual\r\n Bias\r\n
\r\n
\r\n
\r\n \r\n
\r\n Normal\r\n Personal Reference\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n\r\n gOptions = JSON.parse(JSON.stringify(g))\"\r\n @ithkword=\"(w) => {ithkword = w[0]; ipa = w[1]; gloss = w[2]; fullGloss = w[3]; sentence[selectedWord] = JSON.parse(JSON.stringify([ithkword,gOptions,wordType,sentence[selectedWord][3]]));}\"\r\n :listenModal=\"modalListen\" :listenWordtype=\"wordType\" :listenWord=\"gSOptions\" :selectedWord=\"selectedWord\" :sLength=\"sentence.length\" :nextWord=\"this.sentence[selectedWord+1]\"/>\r\n\r\n gOptions = JSON.parse(JSON.stringify(g))\"\r\n @ithkword=\"(w) => {ithkword = w[0]; ipa = w[1]; gloss = w[2]; fullGloss = w[3]; sentence[selectedWord] = JSON.parse(JSON.stringify([ithkword,gOptions,wordType,sentence[selectedWord][3]]));}\"\r\n :listenModal=\"modalListen\" :listenWord=\"gSOptions\" :listenWordtype=\"wordType\"/>\r\n \r\n
\r\n \r\n\r\n \r\n
\r\n

{{ithkword}}
\r\n [{{ipa}}]
\r\n {{gloss}}

\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n ×\r\n
\r\n
\r\n

Settings

\r\n
\r\n

{{section}}

\r\n \r\n \r\n \r\n \r\n

\r\n
\r\n
\r\n This project on GitHub\r\n
\r\n
\r\n

{{modalContent.title}}

\r\n

\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

{{modalContent.options[option].name}}{{option === option.toString().toUpperCase() && ![\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\"].includes(option.toString()) ? \" (\"+option+\")\" : \"\"}}

\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

{{modalContent.options[option].name}}{{option === option.toString().toUpperCase() && ![\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\"].includes(option.toString()) ? \" (\"+option+\")\" : \"\"}}

\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Your sentence:

\r\n

{{concatenateSentence(sentence)}}

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n ×\r\n

Sentence Menu

\r\n
\r\n
\r\n
\r\n

{{word[0]}}

\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n","\r\n\r\n","\n\n\n\n\n\n","import { render } from \"./optionbox.vue?vue&type=template&id=4abae525&scoped=true\"\nimport script from \"./optionbox.vue?vue&type=script&lang=js\"\nexport * from \"./optionbox.vue?vue&type=script&lang=js\"\n\nimport \"./optionbox.vue?vue&type=style&index=0&id=4abae525&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\nickl\\\\OneDrive\\\\Desktop\\\\School stuff\\\\2022\\\\Digi\\\\ithkapp\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4abae525\"]])\n\nexport default __exports__","import { render } from \"./4.vue?vue&type=template&id=9b6e3d4e\"\nimport script from \"./4.vue?vue&type=script&lang=js\"\nexport * from \"./4.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\nickl\\\\OneDrive\\\\Desktop\\\\School stuff\\\\2022\\\\Digi\\\\ithkapp\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n\r\n","import { render } from \"./3.vue?vue&type=template&id=d43e21f2\"\nimport script from \"./3.vue?vue&type=script&lang=js\"\nexport * from \"./3.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"C:\\\\Users\\\\nickl\\\\OneDrive\\\\Desktop\\\\School stuff\\\\2022\\\\Digi\\\\ithkapp\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./App.vue?vue&type=template&id=1f1b9bf6\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=1f1b9bf6&lang=css\"\n\nimport exportComponent from \"C:\\\\Users\\\\nickl\\\\OneDrive\\\\Desktop\\\\School stuff\\\\2022\\\\Digi\\\\ithkapp\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","/* eslint-disable no-console */\n\nimport { register } from 'register-service-worker'\n\nif (process.env.NODE_ENV === 'production') {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready () {\n console.log(\n 'App is being served from cache by a service worker.\\n' +\n 'For more details, visit https://goo.gl/AFskqB'\n )\n },\n registered () {\n console.log('Service worker has been registered.')\n },\n cached () {\n console.log('Content has been cached for offline use.')\n },\n updatefound () {\n console.log('New content is downloading.')\n },\n updated () {\n console.log('New content is available; please refresh.')\n },\n offline () {\n console.log('No internet connection found. App is running in offline mode.')\n },\n error (error) {\n console.error('Error during service worker registration:', error)\n }\n })\n}\n","import { createApp } from 'vue'\r\nimport App from './App.vue'\r\nimport './registerServiceWorker'\r\n\r\ncreateApp(App).mount('#app')\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkithkapp\"] = self[\"webpackChunkithkapp\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(955); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["class","id","_createElementVNode","style","_hoisted_3","_hoisted_5","href","target","_hoisted_65","_hoisted_67","for","_hoisted_69","_hoisted_71","_toDisplayString","$data","_hoisted_2","onClick","$options","title","_createElementBlock","active","includes","event","_createBlock","_component_Ithkuil_v4","ref","onModal","onGEmit","g","JSON","parse","stringify","onIthkword","w","listenModal","listenWordtype","listenWord","selectedWord","sLength","length","nextWord","sentence","_component_Ithkuil_v3","_hoisted_26","_hoisted_28","_hoisted_29","_Fragment","_renderList","tabcode","key","$refs","gData","isNaN","slice","_hoisted_32","hidden","_hoisted_33","Object","keys","section","setOpt","settings","onChange","handleSendMessage","spOpt","type","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","innerHTML","popupdesc","_hoisted_42","_hoisted_44","options","indexOf","casePopupStart","casePopupEnd","option","modalSelected","gOptions","name","toString","toUpperCase","desc","image","src","alt","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_55","_hoisted_56","_hoisted_59","word","index","deletable","dragging","onMouseover","onMouseleave","onMousemove","onTouchstart","placeholder","$event","onInput","rows","_hoisted_63","accept","push","defaultWord","gDefault","_hoisted_1","_createVNode","_component_OptionBox","json","affRoot","code","onSendMessage","whitelist","cData","concat","arDegree","refEff","refPersp","c","root","stem","spec","func","ver","shcut","rel","disabled","Vafx","aff6","VIIafx","plex","simil","cctd","affil","ext","persp","ess","modAppliesTo","modNumber","cn","mood","casc","_hoisted_4","vn","val","vn2","pha","eff","lvl","asp","vn3","_hoisted_6","vh","wordType","modScope","v4n","suppType","ctxt","show","ill","vld","affixjunct","reqAff","initialAffScope","otherAffScope","affScopeOf","register","regStartOrEnd","refAffix","twoCs","twoRefs","bias","freeType","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_24","_hoisted_25","_hoisted_27","_hoisted_30","_hoisted_31","_hoisted_34","_hoisted_35","_hoisted_40","_hoisted_41","_hoisted_45","value","_hoisted_75","_hoisted_79","$emit","$props","maxlength","affix","calc6","_hoisted_58","pop","opt","short","affixes","every","e","_hoisted_70","_hoisted_73","text","_hoisted_74","_hoisted_77","split","x","toLowerCase","y","_hoisted_78","_hoisted_81","_hoisted_82","_hoisted_66","props","String","Boolean","Array","Function","data","computed","OBclass","error","this","disabledbox","notShown","mounted","methods","updateValue","toUpdate","i","waitForElm","then","elm","console","log","document","getElementById","selectedIndex","idx","dAffil","dPlex","dSimil","dCctd","dExt","dEss","dPersp","selector","Promise","resolve","querySelector","observer","MutationObserver","disconnect","observe","body","childList","subtree","__exports__","components","OptionBox","Number","watch","arr","updateFromModal","str","switchWordType","obj","property","ithkword","ipa","gloss","fullGloss","grammardata","consdata","sVowels","ipaLookup","shortcutting","shcuttypeA","shcuttypeB","slotVIIshortcut","sDip","sAccent","slots","cut","cascOrMood","eightSix","allographs","tabGroups","async","outval","gCode","replaceAll","afx","calculateWord","IPAcalcs","glossCalcs","calculateAdjunct","notAvailableAlert","al","alert","openModal","reference","output","calculateSlot9","slot9gStop","afxjunctV","afxjunctC","finalvowel","ll","allowedAtEnd","out","lll","k","allowedAtStart","recalcVowels","markStress","ph","calculateSlot8a","calculateSlot8b","asp4","refA","calculateReference","ess2","gla","refGloss","c1","c2","refB","ref2","refEff2","refPersp2","glb","charAt","calculateEJ","Aref","q","p","assign","refAff","pph","consAllowed","calculateSlot3","calculateSlot4","calculateSlot6","shortcutCalcs","calculateSlot1","calculateSlot2","calculateSlot5","calculateSlot7","finalCalcs","phh","lastVII","vowelColumn","insertGStop","j","aff","iAffil","iPlex","iSimil","iCctd","iExt","iEss","iPersp","AFFIL","CONF","EXT","PSPESS","ph1","key1","replace","ph2","key2","oldOut","geminate","prototype","hasOwnProperty","call","l","num","override","ca","pphh","cfound","vowels","endOfWord","getCons","tags","outp","element","removeDuplicate","strin","prevChar","char","consonants","nogem","ra","rb","da","db","dc","dab","qa","qb","qc","qd","lastCons","nogem2","eba","ebb","eca","ecb","ecc","eda","edb","edc","edbc","edd","conson","a","b","stressType","thisword","counter","conscl","wordVowels","match","substring","slot9saved","s8","shortenSlot8","join","cutVal","configgCode","s2c","viaf","s4c","affx","configCode","s6c","s8c","s9c","fullPut","skipnext","values","prevchar","parseInt","nextchar","vwl","find","resetWord","gO","beforeMount","ej","s2","Ithkuil_v4","Ithkuil_v3","langVer","modalListen","modalContent","modalID","modalTabs","gSOptions","casePopupTitle","SRtabGroups","REFtabGroups","sentenceOpen","deleteWordMode","oldScreenSize","hovering","isMouseDown","draggedWord","settingsClone","tGroupFound","tG","display","changeClassTab","closeModal","openDropdown","classList","toggle","closeDropdown","add","path","scrollToTop","scrollTo","cStart","cEnd","cTitle","tablinks","getElementsByClassName","className","concatenateSentence","sent","openNav","window","innerWidth","closeNav","width","marginRight","right","switchWord","confirm","splice","onScreenResize","hoverChange","sW","height","onMouseDownF","onMouseUpF","beginDrag","resizeTA","scrollHeight","copytoCB","navigator","clipboard","writeText","setCookie","cname","cvalue","exdays","d","Date","setTime","getTime","expires","toUTCString","cookie","getCookie","decodedCookie","decodeURIComponent","deleteCookie","handleImportedWord","snt","wID","gopt","uploadJSON","files","reader","FileReader","readAsText","onload","result","exportToJsonFile","jsonData","dataStr","dataUri","encodeURIComponent","exportFileDefaultName","linkElement","createElement","setAttribute","click","openFileDialog","unshift","directives","clickOutside","vClickOutside","created","urlParams","URLSearchParams","location","search","has","get","addEventListener","unmounted","removeEventListener","render","ready","registered","cached","updatefound","updated","offline","createApp","App","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","r","n","getter","__esModule","definition","o","defineProperty","enumerable","globalThis","prop","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","forEach","bind","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/chunk-vendors.44cee747.js b/dist/js/chunk-vendors.44cee747.js new file mode 100644 index 0000000..376ed6c --- /dev/null +++ b/dist/js/chunk-vendors.44cee747.js @@ -0,0 +1,2 @@ +(self["webpackChunkithkapp"]=self["webpackChunkithkapp"]||[]).push([[998],{9662:function(e,t,n){var r=n(614),o=n(6330),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},9670:function(e,t,n){var r=n(111),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},1318:function(e,t,n){var r=n(5656),o=n(1400),i=n(6244),s=function(e){return function(t,n,s){var c,l=r(t),u=i(l),a=o(s,u);if(e&&n!=n){while(u>a)if(c=l[a++],c!=c)return!0}else for(;u>a;a++)if((e||a in l)&&l[a]===n)return e||a||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},3658:function(e,t,n){"use strict";var r=n(9781),o=n(3157),i=TypeError,s=Object.getOwnPropertyDescriptor,c=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=c?function(e,t){if(o(e)&&!s(e,"length").writable)throw i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},4326:function(e,t,n){var r=n(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},9920:function(e,t,n){var r=n(2597),o=n(3887),i=n(1236),s=n(3070);e.exports=function(e,t,n){for(var c=o(t),l=s.f,u=i.f,a=0;an)throw t("Maximum allowed index exceeded");return e}},8113:function(e){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(e,t,n){var r,o,i=n(7854),s=n(8113),c=i.process,l=i.Deno,u=c&&c.versions||l&&l.version,a=u&&u.v8;a&&(r=a.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),e.exports=o},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),o=n(1236).f,i=n(8880),s=n(8052),c=n(3072),l=n(9920),u=n(4705);e.exports=function(e,t){var n,a,f,p,d,h,v=e.target,g=e.global,m=e.stat;if(a=g?r:m?r[v]||c(v,{}):(r[v]||{}).prototype,a)for(f in t){if(d=t[f],e.dontCallGetSet?(h=o(a,f),p=h&&h.value):p=a[f],n=u(g?f:v+(m?".":"#")+f,e.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;l(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),s(a,f,d,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},4374:function(e,t,n){var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:function(e,t,n){var r=n(4374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(e,t,n){var r=n(9781),o=n(2597),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),l=c&&"something"===function(){}.name,u=c&&(!r||r&&s(i,"name").configurable);e.exports={EXISTS:c,PROPER:l,CONFIGURABLE:u}},1702:function(e,t,n){var r=n(4374),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);e.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}},5005:function(e,t,n){var r=n(7854),o=n(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},8173:function(e,t,n){var r=n(9662),o=n(8554);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},2597:function(e,t,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:function(e){e.exports={}},4664:function(e,t,n){var r=n(9781),o=n(7293),i=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(e,t,n){var r=n(1702),o=n(7293),i=n(4326),s=Object,c=r("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?c(e,""):s(e)}:s},2788:function(e,t,n){var r=n(1702),o=n(614),i=n(5465),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),e.exports=i.inspectSource},9909:function(e,t,n){var r,o,i,s=n(4811),c=n(7854),l=n(111),u=n(8880),a=n(2597),f=n(5465),p=n(6200),d=n(3501),h="Object already initialized",v=c.TypeError,g=c.WeakMap,m=function(e){return i(e)?o(e):r(e,{})},y=function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}};if(s||f.state){var b=f.state||(f.state=new g);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw v(h);return t.facade=e,b.set(e,t),t},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var _=p("state");d[_]=!0,r=function(e,t){if(a(e,_))throw v(h);return t.facade=e,u(e,_,t),t},o=function(e){return a(e,_)?e[_]:{}},i=function(e){return a(e,_)}}e.exports={set:r,get:o,has:i,enforce:m,getterFor:y}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:function(e,t,n){var r=n(4154),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4705:function(e,t,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,s=function(e,t){var n=l[c(e)];return n==a||n!=u&&(o(t)?r(t):!!t)},c=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=s.data={},u=s.NATIVE="N",a=s.POLYFILL="P";e.exports=s},8554:function(e){e.exports=function(e){return null===e||void 0===e}},111:function(e,t,n){var r=n(614),o=n(4154),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},1913:function(e){e.exports=!1},2190:function(e,t,n){var r=n(5005),o=n(614),i=n(7976),s=n(3307),c=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,c(e))}},6244:function(e,t,n){var r=n(7466);e.exports=function(e){return r(e.length)}},6339:function(e,t,n){var r=n(1702),o=n(7293),i=n(614),s=n(2597),c=n(9781),l=n(6530).CONFIGURABLE,u=n(2788),a=n(9909),f=a.enforce,p=a.get,d=String,h=Object.defineProperty,v=r("".slice),g=r("".replace),m=r([].join),y=c&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),_=e.exports=function(e,t,n){"Symbol("===v(d(t),0,7)&&(t="["+g(d(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!s(e,"name")||l&&e.name!==t)&&(c?h(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&s(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?c&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=f(e);return s(r,"source")||(r.source=m(b,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return i(this)&&p(this).source||u(this)}),"toString")},4758:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},3070:function(e,t,n){var r=n(9781),o=n(4664),i=n(3353),s=n(9670),c=n(4948),l=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";t.f=r?i?function(e,t,n){if(s(e),t=c(t),s(n),"function"===typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=a(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(s(e),t=c(t),s(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var r=n(9781),o=n(6916),i=n(5296),s=n(9114),c=n(5656),l=n(4948),u=n(2597),a=n(4664),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=c(e),t=l(t),a)try{return f(e,t)}catch(n){}if(u(e,t))return s(!o(i.f,e,t),e[t])}},8006:function(e,t,n){var r=n(6324),o=n(748),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},7976:function(e,t,n){var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:function(e,t,n){var r=n(1702),o=n(2597),i=n(5656),s=n(1318).indexOf,c=n(3501),l=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,a=[];for(n in r)!o(c,n)&&o(r,n)&&l(a,n);while(t.length>u)o(r,n=t[u++])&&(~s(a,n)||l(a,n));return a}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},2140:function(e,t,n){var r=n(6916),o=n(614),i=n(111),s=TypeError;e.exports=function(e,t){var n,c;if("string"===t&&o(n=e.toString)&&!i(c=r(n,e)))return c;if(o(n=e.valueOf)&&!i(c=r(n,e)))return c;if("string"!==t&&o(n=e.toString)&&!i(c=r(n,e)))return c;throw s("Can't convert object to primitive value")}},3887:function(e,t,n){var r=n(5005),o=n(1702),i=n(8006),s=n(5181),c=n(9670),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(c(e)),n=s.f;return n?l(t,n(e)):t}},4488:function(e,t,n){var r=n(8554),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},6200:function(e,t,n){var r=n(2309),o=n(9711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:function(e,t,n){var r=n(7854),o=n(3072),i="__core-js_shared__",s=r[i]||o(i,{});e.exports=s},2309:function(e,t,n){var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(e,t,n){var r=n(7392),o=n(7293),i=n(7854),s=i.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(e,t,n){var r=n(9303),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5656:function(e,t,n){var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:function(e,t,n){var r=n(4758);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},7466:function(e,t,n){var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:function(e,t,n){var r=n(4488),o=Object;e.exports=function(e){return o(r(e))}},7593:function(e,t,n){var r=n(6916),o=n(111),i=n(2190),s=n(8173),c=n(2140),l=n(5112),u=TypeError,a=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,l=s(e,a);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},4948:function(e,t,n){var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},6330:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},9711:function(e,t,n){var r=n(1702),o=0,i=Math.random(),s=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+i,36)}},3307:function(e,t,n){var r=n(6293);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(e,t,n){var r=n(9781),o=n(7293);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(e,t,n){var r=n(7854),o=n(614),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},5112:function(e,t,n){var r=n(7854),o=n(2309),i=n(2597),s=n(9711),c=n(6293),l=n(3307),u=r.Symbol,a=o("wks"),f=l?u["for"]||u:u&&u.withoutSetter||s;e.exports=function(e){return i(a,e)||(a[e]=c&&i(u,e)?u[e]:f("Symbol."+e)),a[e]}},7658:function(e,t,n){"use strict";var r=n(2109),o=n(7908),i=n(6244),s=n(3658),c=n(7207),l=n(7293),u=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),a=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},f=u||!a();r({target:"Array",proto:!0,arity:1,forced:f},{push:function(e){var t=o(this),n=i(t),r=arguments.length;c(n+r);for(var l=0;l{const t=new Set(e);return t.w=0,t.n=0,t},u=e=>(e.w&v)>0,a=e=>(e.n&v)>0,f=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{("length"===n||n>=e)&&u.push(t)}))}else switch(void 0!==n&&u.push(c.get(n)),t){case"add":(0,r.kJ)(e)?(0,r.S0)(n)&&u.push(c.get("length")):(u.push(c.get(y)),(0,r._N)(e)&&u.push(c.get(b)));break;case"delete":(0,r.kJ)(e)||(u.push(c.get(y)),(0,r._N)(e)&&u.push(c.get(b)));break;case"set":(0,r._N)(e)&&u.push(c.get(y));break}if(1===u.length)u[0]&&j(u[0]);else{const e=[];for(const t of u)t&&e.push(...t);j(l(e))}}function j(e,t){const n=(0,r.kJ)(e)?e:[...e];for(const r of n)r.computed&&I(r,t);for(const r of n)r.computed||I(r,t)}function I(e,t){(e!==m||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const A=(0,r.fY)("__proto__,__v_isRef,__isVue"),R=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.yk)),P=U(),F=U(!1,!0),M=U(!0),N=L();function L(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Ie(this);for(let t=0,o=this.length;t{e[t]=function(...e){C();const n=Ie(this)[t].apply(this,e);return S(),n}})),e}function J(e){const t=Ie(this);return O(t,"has",e),t.hasOwnProperty(e)}function U(e=!1,t=!1){return function(n,o,i){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&i===(e?t?be:ye:t?me:ge).get(n))return n;const s=(0,r.kJ)(n);if(!e){if(s&&(0,r.RI)(N,o))return Reflect.get(N,o,i);if("hasOwnProperty"===o)return J}const c=Reflect.get(n,o,i);return((0,r.yk)(o)?R.has(o):A(o))?c:(e||O(n,"get",o),t?c:Ne(c)?s&&(0,r.S0)(o)?c:c.value:(0,r.Kn)(c)?e?Ce(c):we(c):c)}}const D=V(),$=V(!0);function V(e=!1){return function(t,n,o,i){let s=t[n];if(Ee(s)&&Ne(s)&&!Ne(o))return!1;if(!e&&(Te(o)||Ee(o)||(s=Ie(s),o=Ie(o)),!(0,r.kJ)(t)&&Ne(s)&&!Ne(o)))return s.value=o,!0;const c=(0,r.kJ)(t)&&(0,r.S0)(n)?Number(n)e,Z=e=>Reflect.getPrototypeOf(e);function X(e,t,n=!1,r=!1){e=e["__v_raw"];const o=Ie(e),i=Ie(t);n||(t!==i&&O(o,"get",t),O(o,"get",i));const{has:s}=Z(o),c=r?z:n?Pe:Re;return s.call(o,t)?c(e.get(t)):s.call(o,i)?c(e.get(i)):void(e!==o&&e.get(t))}function Y(e,t=!1){const n=this["__v_raw"],r=Ie(n),o=Ie(e);return t||(e!==o&&O(r,"has",e),O(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Q(e,t=!1){return e=e["__v_raw"],!t&&O(Ie(e),"iterate",y),Reflect.get(e,"size",e)}function ee(e){e=Ie(e);const t=Ie(this),n=Z(t),r=n.has.call(t,e);return r||(t.add(e),T(t,"add",e,e)),this}function te(e,t){t=Ie(t);const n=Ie(this),{has:o,get:i}=Z(n);let s=o.call(n,e);s||(e=Ie(e),s=o.call(n,e));const c=i.call(n,e);return n.set(e,t),s?(0,r.aU)(t,c)&&T(n,"set",e,t,c):T(n,"add",e,t),this}function ne(e){const t=Ie(this),{has:n,get:r}=Z(t);let o=n.call(t,e);o||(e=Ie(e),o=n.call(t,e));const i=r?r.call(t,e):void 0,s=t.delete(e);return o&&T(t,"delete",e,void 0,i),s}function re(){const e=Ie(this),t=0!==e.size,n=void 0,r=e.clear();return t&&T(e,"clear",void 0,void 0,n),r}function oe(e,t){return function(n,r){const o=this,i=o["__v_raw"],s=Ie(i),c=t?z:e?Pe:Re;return!e&&O(s,"iterate",y),i.forEach(((e,t)=>n.call(r,c(e),c(t),o)))}}function ie(e,t,n){return function(...o){const i=this["__v_raw"],s=Ie(i),c=(0,r._N)(s),l="entries"===e||e===Symbol.iterator&&c,u="keys"===e&&c,a=i[e](...o),f=n?z:t?Pe:Re;return!t&&O(s,"iterate",u?b:y),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[f(e[0]),f(e[1])]:f(e),done:t}},[Symbol.iterator](){return this}}}}function se(e){return function(...t){return"delete"!==e&&this}}function ce(){const e={get(e){return X(this,e)},get size(){return Q(this)},has:Y,add:ee,set:te,delete:ne,clear:re,forEach:oe(!1,!1)},t={get(e){return X(this,e,!1,!0)},get size(){return Q(this)},has:Y,add:ee,set:te,delete:ne,clear:re,forEach:oe(!1,!0)},n={get(e){return X(this,e,!0)},get size(){return Q(this,!0)},has(e){return Y.call(this,e,!0)},add:se("add"),set:se("set"),delete:se("delete"),clear:se("clear"),forEach:oe(!0,!1)},r={get(e){return X(this,e,!0,!0)},get size(){return Q(this,!0)},has(e){return Y.call(this,e,!0)},add:se("add"),set:se("set"),delete:se("delete"),clear:se("clear"),forEach:oe(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{e[o]=ie(o,!1,!1),n[o]=ie(o,!0,!1),t[o]=ie(o,!1,!0),r[o]=ie(o,!0,!0)})),[e,n,t,r]}const[le,ue,ae,fe]=ce();function pe(e,t){const n=t?e?fe:ae:e?ue:le;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.RI)(n,o)&&o in t?n:t,o,i)}const de={get:pe(!1,!1)},he={get:pe(!1,!0)},ve={get:pe(!0,!1)};const ge=new WeakMap,me=new WeakMap,ye=new WeakMap,be=new WeakMap;function _e(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xe(e){return e["__v_skip"]||!Object.isExtensible(e)?0:_e((0,r.W7)(e))}function we(e){return Ee(e)?e:Se(e,!1,H,de,ge)}function ke(e){return Se(e,!1,G,he,me)}function Ce(e){return Se(e,!0,q,ve,ye)}function Se(e,t,n,o,i){if(!(0,r.Kn)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const s=i.get(e);if(s)return s;const c=xe(e);if(0===c)return e;const l=new Proxy(e,2===c?o:n);return i.set(e,l),l}function Oe(e){return Ee(e)?Oe(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function Ee(e){return!(!e||!e["__v_isReadonly"])}function Te(e){return!(!e||!e["__v_isShallow"])}function je(e){return Oe(e)||Ee(e)}function Ie(e){const t=e&&e["__v_raw"];return t?Ie(t):e}function Ae(e){return(0,r.Nj)(e,"__v_skip",!0),e}const Re=e=>(0,r.Kn)(e)?we(e):e,Pe=e=>(0,r.Kn)(e)?Ce(e):e;function Fe(e){w&&m&&(e=Ie(e),E(e.dep||(e.dep=l())))}function Me(e,t){e=Ie(e);const n=e.dep;n&&j(n)}function Ne(e){return!(!e||!0!==e.__v_isRef)}function Le(e){return Ne(e)?e.value:e}const Je={get:(e,t,n)=>Le(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ne(o)&&!Ne(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Ue(e){return Oe(e)?e:new Proxy(e,Je)}class De{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this._dirty=!0,this.effect=new _(e,(()=>{this._dirty||(this._dirty=!0,Me(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const e=Ie(this);return Fe(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function $e(e,t,n=!1){let o,i;const s=(0,r.mf)(e);s?(o=e,i=r.dG):(o=e.get,i=e.set);const c=new De(o,i,s||!i,n);return c}},3396:function(e,t,n){"use strict";n.d(t,{$d:function(){return s},Cn:function(){return N},FN:function(){return bn},HY:function(){return Lt},Ko:function(){return Ue},P$:function(){return oe},Q2:function(){return Ne},Q6:function(){return ae},U2:function(){return se},Uk:function(){return cn},Us:function(){return At},Wm:function(){return nn},Y8:function(){return ee},_:function(){return tn},dD:function(){return M},h:function(){return Un},iD:function(){return Gt},ic:function(){return Se},j4:function(){return zt},kq:function(){return un},nJ:function(){return ne},nK:function(){return ue},uE:function(){return ln},up:function(){return Fe},wg:function(){return Bt},wy:function(){return Y}});n(7658);var r=n(4870),o=n(7139);function i(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){c(i,t,n)}return o}function s(e,t,n,r){if((0,o.mf)(e)){const s=i(e,t,n,r);return s&&(0,o.tI)(s)&&s.catch((e=>{c(e,t,n)})),s}const l=[];for(let o=0;o>>1,o=O(f[r]);op&&f.splice(t,1)}function k(e){(0,o.kJ)(e)?d.push(...e):h&&h.includes(e,e.allowRecurse?v+1:v)||d.push(e),x()}function C(e,t=(u?p+1:0)){for(0;tO(e)-O(t))),v=0;vnull==e.id?1/0:e.id,E=(e,t)=>{const n=O(e)-O(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function T(e){a=!1,u=!0,f.sort(E);o.dG;try{for(p=0;p(0,o.HD)(e)?e.trim():e))),t&&(i=n.map(o.h5))}let u;let a=r[u=(0,o.hR)(t)]||r[u=(0,o.hR)((0,o._A)(t))];!a&&c&&(a=r[u=(0,o.hR)((0,o.rs)(t))]),a&&s(a,e,6,i);const f=r[u+"Once"];if(f){if(e.emitted){if(e.emitted[u])return}else e.emitted={};e.emitted[u]=!0,s(f,e,6,i)}}function I(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const s=e.emits;let c={},l=!1;if(!(0,o.mf)(e)){const r=e=>{const n=I(e,t,!0);n&&(l=!0,(0,o.l7)(c,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||l?((0,o.kJ)(s)?s.forEach((e=>c[e]=null)):(0,o.l7)(c,s),(0,o.Kn)(e)&&r.set(e,c),c):((0,o.Kn)(e)&&r.set(e,null),null)}function A(e,t){return!(!e||!(0,o.F7)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,o.RI)(e,t[0].toLowerCase()+t.slice(1))||(0,o.RI)(e,(0,o.rs)(t))||(0,o.RI)(e,t))}let R=null,P=null;function F(e){const t=R;return R=e,P=e&&e.type.__scopeId||null,t}function M(e){P=e}function N(){P=null}function L(e,t=R,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Ht(-1);const o=F(t);let i;try{i=e(...n)}finally{F(o),r._d&&Ht(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function J(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[l],slots:u,attrs:a,emit:f,render:p,renderCache:d,data:h,setupState:v,ctx:g,inheritAttrs:m}=e;let y,b;const _=F(e);try{if(4&n.shapeFlag){const e=i||r;y=an(p.call(e,e,d,s,v,h,g)),b=a}else{const e=t;0,y=an(e.length>1?e(s,{attrs:a,slots:u,emit:f}):e(s,null)),b=t.props?a:U(a)}}catch(w){$t.length=0,c(w,e,1),y=nn(Ut)}let x=y;if(b&&!1!==m){const e=Object.keys(b),{shapeFlag:t}=x;e.length&&7&t&&(l&&e.some(o.tR)&&(b=D(b,l)),x=sn(x,b))}return n.dirs&&(x=sn(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),y=x,F(_),y}const U=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,o.F7)(n))&&((t||(t={}))[n]=e[n]);return t},D=(e,t)=>{const n={};for(const r in e)(0,o.tR)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function $(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:c,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!c||c&&c.$stable)||r!==s&&(r?!s||V(r,s,u):!!s);if(1024&l)return!0;if(16&l)return r?V(r,s,u):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function W(e,t){t&&t.pendingBranch?(0,o.kJ)(e)?t.effects.push(...e):t.effects.push(e):k(e)}const H={};function q(e,t,n){return G(e,t,n)}function G(e,t,{immediate:n,deep:c,flush:l,onTrack:u,onTrigger:a}=o.kT){var f;const p=(0,r.nZ)()===(null==(f=yn)?void 0:f.scope)?yn:null;let d,h,v=!1,g=!1;if((0,r.dq)(e)?(d=()=>e.value,v=(0,r.yT)(e)):(0,r.PG)(e)?(d=()=>e,c=!0):(0,o.kJ)(e)?(g=!0,v=e.some((e=>(0,r.PG)(e)||(0,r.yT)(e))),d=()=>e.map((e=>(0,r.dq)(e)?e.value:(0,r.PG)(e)?X(e):(0,o.mf)(e)?i(e,p,2):void 0))):d=(0,o.mf)(e)?t?()=>i(e,p,2):()=>{if(!p||!p.isUnmounted)return h&&h(),s(e,p,3,[y])}:o.dG,t&&c){const e=d;d=()=>X(e())}let m,y=e=>{h=k.onStop=()=>{i(e,p,4)}};if(Tn){if(y=o.dG,t?n&&s(t,p,3,[d(),g?[]:void 0,y]):d(),"sync"!==l)return o.dG;{const e=$n();m=e.__watcherHandles||(e.__watcherHandles=[])}}let b=g?new Array(e.length).fill(H):H;const x=()=>{if(k.active)if(t){const e=k.run();(c||v||(g?e.some(((e,t)=>(0,o.aU)(e,b[t]))):(0,o.aU)(e,b)))&&(h&&h(),s(t,p,3,[e,b===H?void 0:g&&b[0]===H?[]:b,y]),b=e)}else k.run()};let w;x.allowRecurse=!!t,"sync"===l?w=x:"post"===l?w=()=>It(x,p&&p.suspense):(x.pre=!0,p&&(x.id=p.uid),w=()=>_(x));const k=new r.qq(d,w);t?n?x():b=k.run():"post"===l?It(k.run.bind(k),p&&p.suspense):k.run();const C=()=>{k.stop(),p&&p.scope&&(0,o.Od)(p.scope.effects,k)};return m&&m.push(C),C}function z(e,t,n){const r=this.proxy,i=(0,o.HD)(e)?e.includes(".")?Z(r,e):()=>r[e]:e.bind(r,r);let s;(0,o.mf)(t)?s=t:(s=t.handler,n=t);const c=yn;kn(this);const l=G(i,s.bind(r),n);return c?kn(c):Cn(),l}function Z(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{X(e,t)}));else if((0,o.PO)(e))for(const n in e)X(e[n],t);return e}function Y(e,t){const n=R;if(null===n)return e;const r=Mn(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0})),Oe((()=>{e.isUnmounting=!0})),e}const te=[Function,Array],ne={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:te,onEnter:te,onAfterEnter:te,onEnterCancelled:te,onBeforeLeave:te,onLeave:te,onAfterLeave:te,onLeaveCancelled:te,onBeforeAppear:te,onAppear:te,onAfterAppear:te,onAppearCancelled:te},re={name:"BaseTransition",props:ne,setup(e,{slots:t}){const n=bn(),o=ee();let i;return()=>{const s=t.default&&ae(t.default(),!0);if(!s||!s.length)return;let c=s[0];if(s.length>1){let e=!1;for(const t of s)if(t.type!==Ut){0,c=t,e=!0;break}}const l=(0,r.IU)(e),{mode:u}=l;if(o.isLeaving)return ce(c);const a=le(c);if(!a)return ce(c);const f=se(a,l,o,n);ue(a,f);const p=n.subTree,d=p&&le(p);let h=!1;const{getTransitionKey:v}=a.type;if(v){const e=v();void 0===i?i=e:e!==i&&(i=e,h=!0)}if(d&&d.type!==Ut&&(!Xt(a,d)||h)){const e=se(d,l,o,n);if(ue(d,e),"out-in"===u)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},ce(c);"in-out"===u&&a.type!==Ut&&(e.delayLeave=(e,t,n)=>{const r=ie(o,d);r[String(d.key)]=d,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=n})}return c}}},oe=re;function ie(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function se(e,t,n,r){const{appear:i,mode:c,persisted:l=!1,onBeforeEnter:u,onEnter:a,onAfterEnter:f,onEnterCancelled:p,onBeforeLeave:d,onLeave:h,onAfterLeave:v,onLeaveCancelled:g,onBeforeAppear:m,onAppear:y,onAfterAppear:b,onAppearCancelled:_}=t,x=String(e.key),w=ie(n,e),k=(e,t)=>{e&&s(e,r,9,t)},C=(e,t)=>{const n=t[1];k(e,t),(0,o.kJ)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:c,persisted:l,beforeEnter(t){let r=u;if(!n.isMounted){if(!i)return;r=m||u}t._leaveCb&&t._leaveCb(!0);const o=w[x];o&&Xt(e,o)&&o.el._leaveCb&&o.el._leaveCb(),k(r,[t])},enter(e){let t=a,r=f,o=p;if(!n.isMounted){if(!i)return;t=y||a,r=b||f,o=_||p}let s=!1;const c=e._enterCb=t=>{s||(s=!0,k(t?o:r,[e]),S.delayedLeave&&S.delayedLeave(),e._enterCb=void 0)};t?C(t,[e,c]):c()},leave(t,r){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();k(d,[t]);let i=!1;const s=t._leaveCb=n=>{i||(i=!0,r(),k(n?g:v,[t]),t._leaveCb=void 0,w[o]===e&&delete w[o])};w[o]=e,h?C(h,[t,s]):s()},clone(e){return se(e,t,n,r)}};return S}function ce(e){if(pe(e))return e=sn(e),e.children=null,e}function le(e){return pe(e)?e.children?e.children[0]:void 0:e}function ue(e,t){6&e.shapeFlag&&e.component?ue(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ae(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;const pe=e=>e.type.__isKeepAlive;RegExp,RegExp;function de(e,t){return(0,o.kJ)(e)?e.some((e=>de(e,t))):(0,o.HD)(e)?e.split(",").includes(t):!!(0,o.Kj)(e)&&e.test(t)}function he(e,t){ge(e,"a",t)}function ve(e,t){ge(e,"da",t)}function ge(e,t,n=yn){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(_e(t,r,n),n){let e=n.parent;while(e&&e.parent)pe(e.parent.vnode)&&me(r,t,n,e),e=e.parent}}function me(e,t,n,r){const i=_e(t,e,r,!0);Ee((()=>{(0,o.Od)(r[t],i)}),n)}function ye(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function be(e){return 128&e.shapeFlag?e.ssContent:e}function _e(e,t,n=yn,o=!1){if(n){const i=n[e]||(n[e]=[]),c=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;(0,r.Jd)(),kn(n);const i=s(t,n,e,o);return Cn(),(0,r.lk)(),i});return o?i.unshift(c):i.push(c),c}}const xe=e=>(t,n=yn)=>(!Tn||"sp"===e)&&_e(e,((...e)=>t(...e)),n),we=xe("bm"),ke=xe("m"),Ce=xe("bu"),Se=xe("u"),Oe=xe("bum"),Ee=xe("um"),Te=xe("sp"),je=xe("rtg"),Ie=xe("rtc");function Ae(e,t=yn){_e("ec",e,t)}const Re="components",Pe="directives";function Fe(e,t){return Le(Re,e,!0,t)||e}const Me=Symbol.for("v-ndc");function Ne(e){return Le(Pe,e)}function Le(e,t,n=!0,r=!1){const i=R||yn;if(i){const n=i.type;if(e===Re){const e=Nn(n,!1);if(e&&(e===t||e===(0,o._A)(t)||e===(0,o.kC)((0,o._A)(t))))return n}const s=Je(i[e]||n[e],t)||Je(i.appContext[e],t);return!s&&r?n:s}}function Je(e,t){return e&&(e[t]||e[(0,o._A)(t)]||e[(0,o.kC)((0,o._A)(t))])}function Ue(e,t,n,r){let i;const s=n&&n[r];if((0,o.kJ)(e)||(0,o.HD)(e)){i=new Array(e.length);for(let n=0,r=e.length;nt(e,n,void 0,s&&s[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,o=n.length;re?Sn(e)?Mn(e)||e.proxy:De(e.parent):null,$e=(0,o.l7)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>De(e.parent),$root:e=>De(e.root),$emit:e=>e.emit,$options:e=>Ze(e),$forceUpdate:e=>e.f||(e.f=()=>_(e.update)),$nextTick:e=>e.n||(e.n=y.bind(e.proxy)),$watch:e=>z.bind(e)}),Ve=(e,t)=>e!==o.kT&&!e.__isScriptSetup&&(0,o.RI)(e,t),Be={get({_:e},t){const{ctx:n,setupState:i,data:s,props:c,accessCache:l,type:u,appContext:a}=e;let f;if("$"!==t[0]){const r=l[t];if(void 0!==r)switch(r){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return c[t]}else{if(Ve(i,t))return l[t]=1,i[t];if(s!==o.kT&&(0,o.RI)(s,t))return l[t]=2,s[t];if((f=e.propsOptions[0])&&(0,o.RI)(f,t))return l[t]=3,c[t];if(n!==o.kT&&(0,o.RI)(n,t))return l[t]=4,n[t];We&&(l[t]=0)}}const p=$e[t];let d,h;return p?("$attrs"===t&&(0,r.j)(e,"get",t),p(e)):(d=u.__cssModules)&&(d=d[t])?d:n!==o.kT&&(0,o.RI)(n,t)?(l[t]=4,n[t]):(h=a.config.globalProperties,(0,o.RI)(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Ve(i,t)?(i[t]=n,!0):r!==o.kT&&(0,o.RI)(r,t)?(r[t]=n,!0):!(0,o.RI)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},c){let l;return!!n[c]||e!==o.kT&&(0,o.RI)(e,c)||Ve(t,c)||(l=s[0])&&(0,o.RI)(l,c)||(0,o.RI)(r,c)||(0,o.RI)($e,c)||(0,o.RI)(i.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,o.RI)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ke(e){return(0,o.kJ)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let We=!0;function He(e){const t=Ze(e),n=e.proxy,i=e.ctx;We=!1,t.beforeCreate&&Ge(t.beforeCreate,e,"bc");const{data:s,computed:c,methods:l,watch:u,provide:a,inject:f,created:p,beforeMount:d,mounted:h,beforeUpdate:v,updated:g,activated:m,deactivated:y,beforeDestroy:b,beforeUnmount:_,destroyed:x,unmounted:w,render:k,renderTracked:C,renderTriggered:S,errorCaptured:O,serverPrefetch:E,expose:T,inheritAttrs:j,components:I,directives:A,filters:R}=t,P=null;if(f&&qe(f,i,P),l)for(const r in l){const e=l[r];(0,o.mf)(e)&&(i[r]=e.bind(n))}if(s){0;const t=s.call(n,n);0,(0,o.Kn)(t)&&(e.data=(0,r.qj)(t))}if(We=!0,c)for(const r in c){const e=c[r],t=(0,o.mf)(e)?e.bind(n,n):(0,o.mf)(e.get)?e.get.bind(n,n):o.dG;0;const s=!(0,o.mf)(e)&&(0,o.mf)(e.set)?e.set.bind(n):o.dG,l=Jn({get:t,set:s});Object.defineProperty(i,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(u)for(const r in u)ze(u[r],i,n,r);if(a){const e=(0,o.mf)(a)?a.call(n):a;Reflect.ownKeys(e).forEach((t=>{at(t,e[t])}))}function F(e,t){(0,o.kJ)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&Ge(p,e,"c"),F(we,d),F(ke,h),F(Ce,v),F(Se,g),F(he,m),F(ve,y),F(Ae,O),F(Ie,C),F(je,S),F(Oe,_),F(Ee,w),F(Te,E),(0,o.kJ)(T))if(T.length){const t=e.exposed||(e.exposed={});T.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===o.dG&&(e.render=k),null!=j&&(e.inheritAttrs=j),I&&(e.components=I),A&&(e.directives=A)}function qe(e,t,n=o.dG){(0,o.kJ)(e)&&(e=tt(e));for(const i in e){const n=e[i];let s;s=(0,o.Kn)(n)?"default"in n?ft(n.from||i,n.default,!0):ft(n.from||i):ft(n),(0,r.dq)(s)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[i]=s}}function Ge(e,t,n){s((0,o.kJ)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ze(e,t,n,r){const i=r.includes(".")?Z(n,r):()=>n[r];if((0,o.HD)(e)){const n=t[e];(0,o.mf)(n)&&q(i,n)}else if((0,o.mf)(e))q(i,e.bind(n));else if((0,o.Kn)(e))if((0,o.kJ)(e))e.forEach((e=>ze(e,t,n,r)));else{const r=(0,o.mf)(e.handler)?e.handler.bind(n):t[e.handler];(0,o.mf)(r)&&q(i,r,e)}else 0}function Ze(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:c}}=e.appContext,l=s.get(t);let u;return l?u=l:i.length||n||r?(u={},i.length&&i.forEach((e=>Xe(u,e,c,!0))),Xe(u,t,c)):u=t,(0,o.Kn)(t)&&s.set(t,u),u}function Xe(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Xe(e,i,n,!0),o&&o.forEach((t=>Xe(e,t,n,!0)));for(const s in t)if(r&&"expose"===s);else{const r=Ye[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const Ye={data:Qe,props:ot,emits:ot,methods:rt,computed:rt,beforeCreate:nt,created:nt,beforeMount:nt,mounted:nt,beforeUpdate:nt,updated:nt,beforeDestroy:nt,beforeUnmount:nt,destroyed:nt,unmounted:nt,activated:nt,deactivated:nt,errorCaptured:nt,serverPrefetch:nt,components:rt,directives:rt,watch:it,provide:Qe,inject:et};function Qe(e,t){return t?e?function(){return(0,o.l7)((0,o.mf)(e)?e.call(this,this):e,(0,o.mf)(t)?t.call(this,this):t)}:t:e}function et(e,t){return rt(tt(e),tt(t))}function tt(e){if((0,o.kJ)(e)){const t={};for(let n=0;n1)return n&&(0,o.mf)(t)?t.call(r&&r.proxy):t}else 0}function pt(e,t,n,i=!1){const s={},c={};(0,o.Nj)(c,Yt,1),e.propsDefaults=Object.create(null),ht(e,t,s,c);for(const r in e.propsOptions[0])r in s||(s[r]=void 0);n?e.props=i?s:(0,r.Um)(s):e.type.props?e.props=s:e.props=c,e.attrs=c}function dt(e,t,n,i){const{props:s,attrs:c,vnode:{patchFlag:l}}=e,u=(0,r.IU)(s),[a]=e.propsOptions;let f=!1;if(!(i||l>0)||16&l){let r;ht(e,t,s,c)&&(f=!0);for(const i in u)t&&((0,o.RI)(t,i)||(r=(0,o.rs)(i))!==i&&(0,o.RI)(t,r))||(a?!n||void 0===n[i]&&void 0===n[r]||(s[i]=vt(a,u,i,void 0,e,!0)):delete s[i]);if(c!==u)for(const e in c)t&&(0,o.RI)(t,e)||(delete c[e],f=!0)}else if(8&l){const n=e.vnode.dynamicProps;for(let r=0;r{u=!0;const[n,r]=gt(e,t,!0);(0,o.l7)(c,n),r&&l.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!u)return(0,o.Kn)(e)&&r.set(e,o.Z6),o.Z6;if((0,o.kJ)(s))for(let f=0;f-1,r[1]=n<0||e-1||(0,o.RI)(r,"default"))&&l.push(t)}}}}const a=[c,l];return(0,o.Kn)(e)&&r.set(e,a),a}function mt(e){return"$"!==e[0]}function yt(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function bt(e,t){return yt(e)===yt(t)}function _t(e,t){return(0,o.kJ)(t)?t.findIndex((t=>bt(t,e))):(0,o.mf)(t)&&bt(t,e)?0:-1}const xt=e=>"_"===e[0]||"$stable"===e,wt=e=>(0,o.kJ)(e)?e.map(an):[an(e)],kt=(e,t,n)=>{if(t._n)return t;const r=L(((...e)=>wt(t(...e))),n);return r._c=!1,r},Ct=(e,t,n)=>{const r=e._ctx;for(const i in e){if(xt(i))continue;const n=e[i];if((0,o.mf)(n))t[i]=kt(i,n,r);else if(null!=n){0;const e=wt(n);t[i]=()=>e}}},St=(e,t)=>{const n=wt(t);e.slots.default=()=>n},Ot=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=(0,r.IU)(t),(0,o.Nj)(t,"_",n)):Ct(t,e.slots={})}else e.slots={},t&&St(e,t);(0,o.Nj)(e.slots,Yt,1)},Et=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,c=o.kT;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:((0,o.l7)(i,t),n||1!==e||delete i._):(s=!t.$stable,Ct(t,i)),c=t}else t&&(St(e,t),c={default:1});if(s)for(const o in i)xt(o)||o in c||delete i[o]};function Tt(e,t,n,s,c=!1){if((0,o.kJ)(e))return void e.forEach(((e,r)=>Tt(e,t&&((0,o.kJ)(t)?t[r]:t),n,s,c)));if(fe(s)&&!c)return;const l=4&s.shapeFlag?Mn(s.component)||s.component.proxy:s.el,u=c?null:l,{i:a,r:f}=e;const p=t&&t.r,d=a.refs===o.kT?a.refs={}:a.refs,h=a.setupState;if(null!=p&&p!==f&&((0,o.HD)(p)?(d[p]=null,(0,o.RI)(h,p)&&(h[p]=null)):(0,r.dq)(p)&&(p.value=null)),(0,o.mf)(f))i(f,a,12,[u,d]);else{const t=(0,o.HD)(f),i=(0,r.dq)(f);if(t||i){const r=()=>{if(e.f){const n=t?(0,o.RI)(h,f)?h[f]:d[f]:f.value;c?(0,o.kJ)(n)&&(0,o.Od)(n,l):(0,o.kJ)(n)?n.includes(l)||n.push(l):t?(d[f]=[l],(0,o.RI)(h,f)&&(h[f]=d[f])):(f.value=[l],e.k&&(d[e.k]=f.value))}else t?(d[f]=u,(0,o.RI)(h,f)&&(h[f]=u)):i&&(f.value=u,e.k&&(d[e.k]=u))};u?(r.id=-1,It(r,n)):r()}else 0}}function jt(){}const It=W;function At(e){return Rt(e)}function Rt(e,t){jt();const n=(0,o.E9)();n.__VUE__=!0;const{insert:i,remove:s,patchProp:c,createElement:l,createText:u,createComment:a,setText:f,setElementText:p,parentNode:d,nextSibling:h,setScopeId:v=o.dG,insertStaticContent:g}=e,m=(e,t,n,r=null,o=null,i=null,s=!1,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Xt(e,t)&&(r=Y(e),q(e,o,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:u,ref:a,shapeFlag:f}=t;switch(u){case Jt:y(e,t,n,r);break;case Ut:b(e,t,n,r);break;case Dt:null==e&&x(t,n,r,s);break;case Lt:F(e,t,n,r,o,i,s,c,l);break;default:1&f?E(e,t,n,r,o,i,s,c,l):6&f?M(e,t,n,r,o,i,s,c,l):(64&f||128&f)&&u.process(e,t,n,r,o,i,s,c,l,te)}null!=a&&o&&Tt(a,e&&e.ref,i,t||e,!t)},y=(e,t,n,r)=>{if(null==e)i(t.el=u(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{null==e?i(t.el=a(t.children||""),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=g(e.children,t,n,r,e.el,e.anchor)},k=({el:e,anchor:t},n,r)=>{let o;while(e&&e!==t)o=h(e),i(e,n,r),e=o;i(t,n,r)},O=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=h(e),s(e),e=n;s(t)},E=(e,t,n,r,o,i,s,c,l)=>{s=s||"svg"===t.type,null==e?T(t,n,r,o,i,s,c,l):A(e,t,o,i,s,c,l)},T=(e,t,n,r,s,u,a,f)=>{let d,h;const{type:v,props:g,shapeFlag:m,transition:y,dirs:b}=e;if(d=e.el=l(e.type,u,g&&g.is,g),8&m?p(d,e.children):16&m&&I(e.children,d,null,r,s,u&&"foreignObject"!==v,a,f),b&&Q(e,null,r,"created"),j(d,e,e.scopeId,a,r),g){for(const t in g)"value"===t||(0,o.Gg)(t)||c(d,t,null,g[t],u,e.children,r,s,X);"value"in g&&c(d,"value",null,g.value),(h=g.onVnodeBeforeMount)&&hn(h,r,e)}b&&Q(e,null,r,"beforeMount");const _=(!s||s&&!s.pendingBranch)&&y&&!y.persisted;_&&y.beforeEnter(d),i(d,t,n),((h=g&&g.onVnodeMounted)||_||b)&&It((()=>{h&&hn(h,r,e),_&&y.enter(d),b&&Q(e,null,r,"mounted")}),s)},j=(e,t,n,r,o)=>{if(n&&v(e,n),r)for(let i=0;i{for(let u=l;u{const u=t.el=e.el;let{patchFlag:a,dynamicChildren:f,dirs:d}=t;a|=16&e.patchFlag;const h=e.props||o.kT,v=t.props||o.kT;let g;n&&Pt(n,!1),(g=v.onVnodeBeforeUpdate)&&hn(g,n,t,e),d&&Q(t,e,n,"beforeUpdate"),n&&Pt(n,!0);const m=i&&"foreignObject"!==t.type;if(f?R(e.dynamicChildren,f,u,n,r,m,s):l||V(e,t,u,null,n,r,m,s,!1),a>0){if(16&a)P(u,t,h,v,n,r,i);else if(2&a&&h.class!==v.class&&c(u,"class",null,v.class,i),4&a&&c(u,"style",h.style,v.style,i),8&a){const o=t.dynamicProps;for(let t=0;t{g&&hn(g,n,t,e),d&&Q(t,e,n,"updated")}),r)},R=(e,t,n,r,o,i,s)=>{for(let c=0;c{if(n!==r){if(n!==o.kT)for(const u in n)(0,o.Gg)(u)||u in r||c(e,u,n[u],null,l,t.children,i,s,X);for(const u in r){if((0,o.Gg)(u))continue;const a=r[u],f=n[u];a!==f&&"value"!==u&&c(e,u,f,a,l,t.children,i,s,X)}"value"in r&&c(e,"value",n.value,r.value)}},F=(e,t,n,r,o,s,c,l,a)=>{const f=t.el=e?e.el:u(""),p=t.anchor=e?e.anchor:u("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:v}=t;v&&(l=l?l.concat(v):v),null==e?(i(f,n,r),i(p,n,r),I(t.children,n,p,o,s,c,l,a)):d>0&&64&d&&h&&e.dynamicChildren?(R(e.dynamicChildren,h,n,o,s,c,l),(null!=t.key||o&&t===o.subTree)&&Ft(e,t,!0)):V(e,t,n,p,o,s,c,l,a)},M=(e,t,n,r,o,i,s,c,l)=>{t.slotScopeIds=c,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,l):N(t,n,r,o,i,s,l):L(e,t,l)},N=(e,t,n,r,o,i,s)=>{const c=e.component=mn(e,r,o);if(pe(e)&&(c.ctx.renderer=te),jn(c),c.asyncDep){if(o&&o.registerDep(c,U),!e.el){const e=c.subTree=nn(Ut);b(null,e,t,n)}}else U(c,e,t,n,o,i,s)},L=(e,t,n)=>{const r=t.component=e.component;if($(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void D(r,t,n);r.next=t,w(r.update),r.update()}else t.el=e.el,r.vnode=t},U=(e,t,n,i,s,c,l)=>{const u=()=>{if(e.isMounted){let t,{next:n,bu:r,u:i,parent:u,vnode:a}=e,f=n;0,Pt(e,!1),n?(n.el=a.el,D(e,n,l)):n=a,r&&(0,o.ir)(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&hn(t,u,n,a),Pt(e,!0);const p=J(e);0;const h=e.subTree;e.subTree=p,m(h,p,d(h.el),Y(h),e,s,c),n.el=p.el,null===f&&B(e,p.el),i&&It(i,s),(t=n.props&&n.props.onVnodeUpdated)&&It((()=>hn(t,u,n,a)),s)}else{let r;const{el:l,props:u}=t,{bm:a,m:f,parent:p}=e,d=fe(t);if(Pt(e,!1),a&&(0,o.ir)(a),!d&&(r=u&&u.onVnodeBeforeMount)&&hn(r,p,t),Pt(e,!0),l&&re){const n=()=>{e.subTree=J(e),re(l,e.subTree,e,s,null)};d?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const r=e.subTree=J(e);0,m(null,r,n,i,e,s,c),t.el=r.el}if(f&&It(f,s),!d&&(r=u&&u.onVnodeMounted)){const e=t;It((()=>hn(r,p,e)),s)}(256&t.shapeFlag||p&&fe(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&It(e.a,s),e.isMounted=!0,t=n=i=null}},a=e.effect=new r.qq(u,(()=>_(f)),e.scope),f=e.update=()=>a.run();f.id=e.uid,Pt(e,!0),f()},D=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,dt(e,t.props,o,n),Et(e,t.children,n),(0,r.Jd)(),C(),(0,r.lk)()},V=(e,t,n,r,o,i,s,c,l=!1)=>{const u=e&&e.children,a=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void W(u,f,n,r,o,i,s,c,l);if(256&d)return void K(u,f,n,r,o,i,s,c,l)}8&h?(16&a&&X(u,o,i),f!==u&&p(n,f)):16&a?16&h?W(u,f,n,r,o,i,s,c,l):X(u,o,i,!0):(8&a&&p(n,""),16&h&&I(f,n,r,o,i,s,c,l))},K=(e,t,n,r,i,s,c,l,u)=>{e=e||o.Z6,t=t||o.Z6;const a=e.length,f=t.length,p=Math.min(a,f);let d;for(d=0;df?X(e,i,s,!0,!1,p):I(t,n,r,i,s,c,l,u,p)},W=(e,t,n,r,i,s,c,l,u)=>{let a=0;const f=t.length;let p=e.length-1,d=f-1;while(a<=p&&a<=d){const r=e[a],o=t[a]=u?fn(t[a]):an(t[a]);if(!Xt(r,o))break;m(r,o,n,null,i,s,c,l,u),a++}while(a<=p&&a<=d){const r=e[p],o=t[d]=u?fn(t[d]):an(t[d]);if(!Xt(r,o))break;m(r,o,n,null,i,s,c,l,u),p--,d--}if(a>p){if(a<=d){const e=d+1,o=ed)while(a<=p)q(e[a],i,s,!0),a++;else{const h=a,v=a,g=new Map;for(a=v;a<=d;a++){const e=t[a]=u?fn(t[a]):an(t[a]);null!=e.key&&g.set(e.key,a)}let y,b=0;const _=d-v+1;let x=!1,w=0;const k=new Array(_);for(a=0;a<_;a++)k[a]=0;for(a=h;a<=p;a++){const r=e[a];if(b>=_){q(r,i,s,!0);continue}let o;if(null!=r.key)o=g.get(r.key);else for(y=v;y<=d;y++)if(0===k[y-v]&&Xt(r,t[y])){o=y;break}void 0===o?q(r,i,s,!0):(k[o-v]=a+1,o>=w?w=o:x=!0,m(r,t[o],n,null,i,s,c,l,u),b++)}const C=x?Mt(k):o.Z6;for(y=C.length-1,a=_-1;a>=0;a--){const e=v+a,o=t[e],p=e+1{const{el:s,type:c,transition:l,children:u,shapeFlag:a}=e;if(6&a)return void H(e.component.subTree,t,n,r);if(128&a)return void e.suspense.move(t,n,r);if(64&a)return void c.move(e,t,n,te);if(c===Lt){i(s,t,n);for(let e=0;el.enter(s)),o);else{const{leave:e,delayLeave:r,afterLeave:o}=l,c=()=>i(s,t,n),u=()=>{e(s,(()=>{c(),o&&o()}))};r?r(s,c,u):u()}else i(s,t,n)},q=(e,t,n,r=!1,o=!1)=>{const{type:i,props:s,ref:c,children:l,dynamicChildren:u,shapeFlag:a,patchFlag:f,dirs:p}=e;if(null!=c&&Tt(c,null,n,e,!0),256&a)return void t.ctx.deactivate(e);const d=1&a&&p,h=!fe(e);let v;if(h&&(v=s&&s.onVnodeBeforeUnmount)&&hn(v,t,e),6&a)Z(e.component,n,r);else{if(128&a)return void e.suspense.unmount(n,r);d&&Q(e,null,t,"beforeUnmount"),64&a?e.type.remove(e,t,n,o,te,r):u&&(i!==Lt||f>0&&64&f)?X(u,t,n,!1,!0):(i===Lt&&384&f||!o&&16&a)&&X(l,t,n),r&&G(e)}(h&&(v=s&&s.onVnodeUnmounted)||d)&&It((()=>{v&&hn(v,t,e),d&&Q(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===Lt)return void z(n,r);if(t===Dt)return void O(e);const i=()=>{s(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,s=()=>t(n,i);r?r(e.el,i,s):s()}else i()},z=(e,t)=>{let n;while(e!==t)n=h(e),s(e),e=n;s(t)},Z=(e,t,n)=>{const{bum:r,scope:i,update:s,subTree:c,um:l}=e;r&&(0,o.ir)(r),i.stop(),s&&(s.active=!1,q(c,e,t,n)),l&&It(l,t),It((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,r=!1,o=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():h(e.anchor||e.el),ee=(e,t,n)=>{null==e?t._vnode&&q(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),C(),S(),t._vnode=e},te={p:m,um:q,m:H,r:G,mt:N,mc:I,pc:V,pbc:R,n:Y,o:e};let ne,re;return t&&([ne,re]=t(te)),{render:ee,hydrate:ne,createApp:lt(ee,ne)}}function Pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ft(e,t,n=!1){const r=e.children,i=t.children;if((0,o.kJ)(r)&&(0,o.kJ)(i))for(let o=0;o>1,e[n[c]]0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];while(i-- >0)n[i]=s,s=t[s];return n}const Nt=e=>e.__isTeleport;const Lt=Symbol.for("v-fgt"),Jt=Symbol.for("v-txt"),Ut=Symbol.for("v-cmt"),Dt=Symbol.for("v-stc"),$t=[];let Vt=null;function Bt(e=!1){$t.push(Vt=e?null:[])}function Kt(){$t.pop(),Vt=$t[$t.length-1]||null}let Wt=1;function Ht(e){Wt+=e}function qt(e){return e.dynamicChildren=Wt>0?Vt||o.Z6:null,Kt(),Wt>0&&Vt&&Vt.push(e),e}function Gt(e,t,n,r,o,i){return qt(tn(e,t,n,r,o,i,!0))}function zt(e,t,n,r,o){return qt(nn(e,t,n,r,o,!0))}function Zt(e){return!!e&&!0===e.__v_isVNode}function Xt(e,t){return e.type===t.type&&e.key===t.key}const Yt="__vInternal",Qt=({key:e})=>null!=e?e:null,en=({ref:e,ref_key:t,ref_for:n})=>("number"===typeof e&&(e=""+e),null!=e?(0,o.HD)(e)||(0,r.dq)(e)||(0,o.mf)(e)?{i:R,r:e,k:t,f:!!n}:e:null);function tn(e,t=null,n=null,r=0,i=null,s=(e===Lt?0:1),c=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qt(t),ref:t&&en(t),scopeId:P,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:R};return l?(pn(u,n),128&s&&e.normalize(u)):n&&(u.shapeFlag|=(0,o.HD)(n)?8:16),Wt>0&&!c&&Vt&&(u.patchFlag>0||6&s)&&32!==u.patchFlag&&Vt.push(u),u}const nn=rn;function rn(e,t=null,n=null,i=0,s=null,c=!1){if(e&&e!==Me||(e=Ut),Zt(e)){const r=sn(e,t,!0);return n&&pn(r,n),Wt>0&&!c&&Vt&&(6&r.shapeFlag?Vt[Vt.indexOf(e)]=r:Vt.push(r)),r.patchFlag|=-2,r}if(Ln(e)&&(e=e.__vccOpts),t){t=on(t);let{class:e,style:n}=t;e&&!(0,o.HD)(e)&&(t.class=(0,o.C_)(e)),(0,o.Kn)(n)&&((0,r.X3)(n)&&!(0,o.kJ)(n)&&(n=(0,o.l7)({},n)),t.style=(0,o.j5)(n))}const l=(0,o.HD)(e)?1:K(e)?128:Nt(e)?64:(0,o.Kn)(e)?4:(0,o.mf)(e)?2:0;return tn(e,t,n,i,s,l,c,!0)}function on(e){return e?(0,r.X3)(e)||Yt in e?(0,o.l7)({},e):e:null}function sn(e,t,n=!1){const{props:r,ref:i,patchFlag:s,children:c}=e,l=t?dn(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Qt(l),ref:t&&t.ref?n&&i?(0,o.kJ)(i)?i.concat(en(t)):[i,en(t)]:en(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Lt?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sn(e.ssContent),ssFallback:e.ssFallback&&sn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u}function cn(e=" ",t=0){return nn(Jt,null,e,t)}function ln(e,t){const n=nn(Dt,null,e);return n.staticCount=t,n}function un(e="",t=!1){return t?(Bt(),zt(Ut,null,e)):nn(Ut,null,e)}function an(e){return null==e||"boolean"===typeof e?nn(Ut):(0,o.kJ)(e)?nn(Lt,null,e.slice()):"object"===typeof e?fn(e):nn(Jt,null,String(e))}function fn(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:sn(e)}function pn(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if((0,o.kJ)(t))n=16;else if("object"===typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),pn(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Yt in t?3===r&&R&&(1===R.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=R}}else(0,o.mf)(t)?(t={default:t,_ctx:R},n=32):(t=String(t),64&r?(n=16,t=[cn(t)]):n=8);e.children=t,e.shapeFlag|=n}function dn(...e){const t={};for(let n=0;nyn||R;let _n,xn,wn="__VUE_INSTANCE_SETTERS__";(xn=(0,o.E9)()[wn])||(xn=(0,o.E9)()[wn]=[]),xn.push((e=>yn=e)),_n=e=>{xn.length>1?xn.forEach((t=>t(e))):xn[0](e)};const kn=e=>{_n(e),e.scope.on()},Cn=()=>{yn&&yn.scope.off(),_n(null)};function Sn(e){return 4&e.vnode.shapeFlag}let On,En,Tn=!1;function jn(e,t=!1){Tn=t;const{props:n,children:r}=e.vnode,o=Sn(e);pt(e,n,o,t),Ot(e,r);const i=o?In(e,t):void 0;return Tn=!1,i}function In(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=(0,r.Xl)(new Proxy(e.ctx,Be));const{setup:s}=n;if(s){const n=e.setupContext=s.length>1?Fn(e):null;kn(e),(0,r.Jd)();const l=i(s,e,0,[e.props,n]);if((0,r.lk)(),Cn(),(0,o.tI)(l)){if(l.then(Cn,Cn),t)return l.then((n=>{An(e,n,t)})).catch((t=>{c(t,e,0)}));e.asyncDep=l}else An(e,l,t)}else Rn(e,t)}function An(e,t,n){(0,o.mf)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,o.Kn)(t)&&(e.setupState=(0,r.WL)(t)),Rn(e,n)}function Rn(e,t,n){const i=e.type;if(!e.render){if(!t&&On&&!i.render){const t=i.template||Ze(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:s,compilerOptions:c}=i,l=(0,o.l7)((0,o.l7)({isCustomElement:n,delimiters:s},r),c);i.render=On(t,l)}}e.render=i.render||o.dG,En&&En(e)}kn(e),(0,r.Jd)(),He(e),(0,r.lk)(),Cn()}function Pn(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return(0,r.j)(e,"get","$attrs"),t[n]}}))}function Fn(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return Pn(e)},slots:e.slots,emit:e.emit,expose:t}}function Mn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(e.exposed)),{get(t,n){return n in t?t[n]:n in $e?$e[n](e):void 0},has(e,t){return t in e||t in $e}}))}function Nn(e,t=!0){return(0,o.mf)(e)?e.displayName||e.name:e.name||t&&e.__name}function Ln(e){return(0,o.mf)(e)&&"__vccOpts"in e}const Jn=(e,t)=>(0,r.Fl)(e,t,Tn);function Un(e,t,n){const r=arguments.length;return 2===r?(0,o.Kn)(t)&&!(0,o.kJ)(t)?Zt(t)?nn(e,null,[t]):nn(e,t):nn(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Zt(n)&&(n=[n]),nn(e,t,n))}const Dn=Symbol.for("v-scx"),$n=()=>{{const e=ft(Dn);return e}};const Vn="3.3.4"},9242:function(e,t,n){"use strict";n.d(t,{bM:function(){return fe},e8:function(){return ue},iM:function(){return me},nr:function(){return le},ri:function(){return xe}});n(7658);var r=n(7139),o=n(3396),i=n(4870);const s="http://www.w3.org/2000/svg",c="undefined"!==typeof document?document:null,l=c&&c.createElement("template"),u={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?c.createElementNS(s,e):c.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>c.createTextNode(e),createComment:e=>c.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>c.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling)){while(1)if(t.insertBefore(o.cloneNode(!0),n),o===i||!(o=o.nextSibling))break}else{l.innerHTML=r?`${e}`:e;const o=l.content;if(r){const e=o.firstChild;while(e.firstChild)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function a(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function f(e,t,n){const o=e.style,i=(0,r.HD)(n);if(n&&!i){if(t&&!(0,r.HD)(t))for(const e in t)null==n[e]&&d(o,e,"");for(const e in n)d(o,e,n[e])}else{const r=o.display;i?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=r)}}const p=/\s*!important$/;function d(e,t,n){if((0,r.kJ)(n))n.forEach((n=>d(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=g(e,t);p.test(n)?e.setProperty((0,r.rs)(o),n.replace(p,""),"important"):e[o]=n}}const h=["Webkit","Moz","ms"],v={};function g(e,t){const n=v[t];if(n)return n;let o=(0,r._A)(t);if("filter"!==o&&o in e)return v[t]=o;o=(0,r.kC)(o);for(let r=0;rS||(O.then((()=>S=0)),S=Date.now());function T(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();(0,o.$d)(j(e,n.value),t,5,[e])};return n.value=e,n.attached=E(),n}function j(e,t){if((0,r.kJ)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}const I=/^on[a-z]/,A=(e,t,n,o,i=!1,s,c,l,u)=>{"class"===t?a(e,o,i):"style"===t?f(e,n,o):(0,r.F7)(t)?(0,r.tR)(t)||w(e,t,n,o,c):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):R(e,t,o,i))?b(e,t,o,s,c,l,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),y(e,t,o,i))};function R(e,t,n,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&I.test(t)&&(0,r.mf)(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!I.test(t)||!(0,r.HD)(n))&&t in e))))}"undefined"!==typeof HTMLElement&&HTMLElement;const P="transition",F="animation",M=(e,{slots:t})=>(0,o.h)(o.P$,D(e),t);M.displayName="Transition";const N={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},L=M.props=(0,r.l7)({},o.nJ,N),J=(e,t=[])=>{(0,r.kJ)(e)?e.forEach((e=>e(...t))):e&&e(...t)},U=e=>!!e&&((0,r.kJ)(e)?e.some((e=>e.length>1)):e.length>1);function D(e){const t={};for(const r in e)r in N||(t[r]=e[r]);if(!1===e.css)return t;const{name:n="v",type:o,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:c=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=s,appearActiveClass:a=c,appearToClass:f=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=$(i),g=v&&v[0],m=v&&v[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:w,onBeforeAppear:k=y,onAppear:C=b,onAppearCancelled:S=_}=t,O=(e,t,n)=>{K(e,t?f:l),K(e,t?a:c),n&&n()},E=(e,t)=>{e._isLeaving=!1,K(e,p),K(e,h),K(e,d),t&&t()},T=e=>(t,n)=>{const r=e?C:b,i=()=>O(t,e,n);J(r,[t,i]),W((()=>{K(t,e?u:s),B(t,e?f:l),U(r)||q(t,o,g,i)}))};return(0,r.l7)(t,{onBeforeEnter(e){J(y,[e]),B(e,s),B(e,c)},onBeforeAppear(e){J(k,[e]),B(e,u),B(e,a)},onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>E(e,t);B(e,p),X(),B(e,d),W((()=>{e._isLeaving&&(K(e,p),B(e,h),U(x)||q(e,o,m,n))})),J(x,[e,n])},onEnterCancelled(e){O(e,!1),J(_,[e])},onAppearCancelled(e){O(e,!0),J(S,[e])},onLeaveCancelled(e){E(e),J(w,[e])}})}function $(e){if(null==e)return null;if((0,r.Kn)(e))return[V(e.enter),V(e.leave)];{const t=V(e);return[t,t]}}function V(e){const t=(0,r.He)(e);return t}function B(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function K(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function W(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let H=0;function q(e,t,n,r){const o=e._endId=++H,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:c,propCount:l}=G(e,t);if(!s)return r();const u=s+"end";let a=0;const f=()=>{e.removeEventListener(u,p),i()},p=t=>{t.target===e&&++a>=l&&f()};setTimeout((()=>{a(n[e]||"").split(", "),o=r(`${P}Delay`),i=r(`${P}Duration`),s=z(o,i),c=r(`${F}Delay`),l=r(`${F}Duration`),u=z(c,l);let a=null,f=0,p=0;t===P?s>0&&(a=P,f=s,p=i.length):t===F?u>0&&(a=F,f=u,p=l.length):(f=Math.max(s,u),a=f>0?s>u?P:F:null,p=a?a===P?i.length:l.length:0);const d=a===P&&/\b(transform|all)(,|$)/.test(r(`${P}Property`).toString());return{type:a,timeout:f,propCount:p,hasTransform:d}}function z(e,t){while(e.lengthZ(t)+Z(e[n]))))}function Z(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function X(){return document.body.offsetHeight}const Y=new WeakMap,Q=new WeakMap,ee={name:"TransitionGroup",props:(0,r.l7)({},L,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=(0,o.FN)(),r=(0,o.Y8)();let s,c;return(0,o.ic)((()=>{if(!s.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!oe(s[0].el,n.vnode.el,t))return;s.forEach(te),s.forEach(ne);const r=s.filter(re);X(),r.forEach((e=>{const n=e.el,r=n.style;B(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n._moveCb=null,K(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const l=(0,i.IU)(e),u=D(l);let a=l.tag||o.HY;s=c,c=t.default?(0,o.Q6)(t.default()):[];for(let e=0;e{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=G(r);return o.removeChild(r),i}const ie=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,r.kJ)(t)?e=>(0,r.ir)(t,e):t};function se(e){e.target.composing=!0}function ce(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const le={created(e,{modifiers:{lazy:t,trim:n,number:o}},i){e._assign=ie(i);const s=o||i.props&&"number"===i.props.type;_(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),s&&(o=(0,r.h5)(o)),e._assign(o)})),n&&_(e,"change",(()=>{e.value=e.value.trim()})),t||(_(e,"compositionstart",se),_(e,"compositionend",ce),_(e,"change",ce))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:i}},s){if(e._assign=ie(s),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===t)return;if((i||"number"===e.type)&&(0,r.h5)(e.value)===t)return}const c=null==t?"":t;e.value!==c&&(e.value=c)}},ue={deep:!0,created(e,t,n){e._assign=ie(n),_(e,"change",(()=>{const t=e._modelValue,n=de(e),o=e.checked,i=e._assign;if((0,r.kJ)(t)){const e=(0,r.hq)(t,n),s=-1!==e;if(o&&!s)i(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),i(n)}}else if((0,r.DM)(t)){const e=new Set(t);o?e.add(n):e.delete(n),i(e)}else i(he(e,o))}))},mounted:ae,beforeUpdate(e,t,n){e._assign=ie(n),ae(e,t,n)}};function ae(e,{value:t,oldValue:n},o){e._modelValue=t,(0,r.kJ)(t)?e.checked=(0,r.hq)(t,o.props.value)>-1:(0,r.DM)(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=(0,r.WV)(t,he(e,!0)))}const fe={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const i=(0,r.DM)(t);_(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?(0,r.h5)(de(e)):de(e)));e._assign(e.multiple?i?new Set(t):t:t[0])})),e._assign=ie(o)},mounted(e,{value:t}){pe(e,t)},beforeUpdate(e,t,n){e._assign=ie(n)},updated(e,{value:t}){pe(e,t)}};function pe(e,t){const n=e.multiple;if(!n||(0,r.kJ)(t)||(0,r.DM)(t)){for(let o=0,i=e.options.length;o-1:i.selected=t.has(s);else if((0,r.WV)(de(i),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function de(e){return"_value"in e?e._value:e.value}function he(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ve=["ctrl","shift","alt","meta"],ge={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ve.some((n=>e[`${n}Key`]&&!t.includes(n)))},me=(e,t)=>(n,...r)=>{for(let e=0;e{const t=_e().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=we(e);if(!o)return;const i=t._component;(0,r.mf)(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function we(e){if((0,r.HD)(e)){const t=document.querySelector(e);return t}return e}},7139:function(e,t,n){"use strict";n.d(t,{C_:function(){return Y},DM:function(){return m},E9:function(){return K},F7:function(){return u},Gg:function(){return I},HD:function(){return x},He:function(){return V},Kj:function(){return b},Kn:function(){return k},NO:function(){return c},Nj:function(){return D},Od:function(){return p},PO:function(){return T},Pq:function(){return ee},RI:function(){return h},S0:function(){return j},W7:function(){return E},WV:function(){return re},Z6:function(){return i},_A:function(){return P},_N:function(){return g},aU:function(){return J},dG:function(){return s},e1:function(){return H},fY:function(){return r},h5:function(){return $},hR:function(){return L},hq:function(){return oe},ir:function(){return U},j5:function(){return q},kC:function(){return N},kJ:function(){return v},kT:function(){return o},l7:function(){return f},mf:function(){return _},rs:function(){return M},tI:function(){return C},tR:function(){return a},yA:function(){return te},yk:function(){return w},zw:function(){return ie}});n(7658);function r(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[e.toLowerCase()]:e=>!!n[e]}const o={},i=[],s=()=>{},c=()=>!1,l=/^on[^a-z]/,u=e=>l.test(e),a=e=>e.startsWith("onUpdate:"),f=Object.assign,p=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,h=(e,t)=>d.call(e,t),v=Array.isArray,g=e=>"[object Map]"===O(e),m=e=>"[object Set]"===O(e),y=e=>"[object Date]"===O(e),b=e=>"[object RegExp]"===O(e),_=e=>"function"===typeof e,x=e=>"string"===typeof e,w=e=>"symbol"===typeof e,k=e=>null!==e&&"object"===typeof e,C=e=>k(e)&&_(e.then)&&_(e.catch),S=Object.prototype.toString,O=e=>S.call(e),E=e=>O(e).slice(8,-1),T=e=>"[object Object]"===O(e),j=e=>x(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,I=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),A=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},R=/-(\w)/g,P=A((e=>e.replace(R,((e,t)=>t?t.toUpperCase():"")))),F=/\B([A-Z])/g,M=A((e=>e.replace(F,"-$1").toLowerCase())),N=A((e=>e.charAt(0).toUpperCase()+e.slice(1))),L=A((e=>e?`on${N(e)}`:"")),J=(e,t)=>!Object.is(e,t),U=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$=e=>{const t=parseFloat(e);return isNaN(t)?e:t},V=e=>{const t=x(e)?Number(e):NaN;return isNaN(t)?e:t};let B;const K=()=>B||(B="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});const W="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",H=r(W);function q(e){if(v(e)){const t={};for(let n=0;n{if(e){const n=e.split(z);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Y(e){let t="";if(x(e))t=e;else if(v(e))for(let n=0;nre(e,t)))}const ie=e=>x(e)?e:null==e?"":v(e)||k(e)&&(e.toString===S||!_(e.toString))?JSON.stringify(e,se,2):String(e),se=(e,t)=>t&&t.__v_isRef?se(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()]}:!k(t)||v(t)||T(t)?t:String(t)},3051:function(e){!function(t,n){e.exports=n()}(0,(function(){var e="__v-click-outside",t="undefined"!=typeof window,n="undefined"!=typeof navigator,r=t&&("ontouchstart"in window||n&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"],o=function(e){var t=e.event,n=e.handler;(0,e.middleware)(t)&&n(t)},i=function(t,n){var i=function(e){var t="function"==typeof e;if(!t&&"object"!=typeof e)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:t?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||r,isActive:!(!1===e.isActive),detectIframe:!(!1===e.detectIframe),capture:Boolean(e.capture)}}(n.value),s=i.handler,c=i.middleware,l=i.detectIframe,u=i.capture;if(i.isActive){if(t[e]=i.events.map((function(e){return{event:e,srcTarget:document.documentElement,handler:function(e){return function(e){var t=e.el,n=e.event,r=e.handler,i=e.middleware,s=n.path||n.composedPath&&n.composedPath();(s?s.indexOf(t)<0:!t.contains(n.target))&&o({event:n,handler:r,middleware:i})}({el:t,event:e,handler:s,middleware:c})},capture:u}})),l){var a={event:"blur",srcTarget:window,handler:function(e){return function(e){var t=e.el,n=e.event,r=e.handler,i=e.middleware;setTimeout((function(){var e=document.activeElement;e&&"IFRAME"===e.tagName&&!t.contains(e)&&o({event:n,handler:r,middleware:i})}),0)}({el:t,event:e,handler:s,middleware:c})},capture:u};t[e]=[].concat(t[e],[a])}t[e].forEach((function(n){var r=n.event,o=n.srcTarget,i=n.handler;return setTimeout((function(){t[e]&&o.addEventListener(r,i,u)}),0)}))}},s=function(t){(t[e]||[]).forEach((function(e){return e.srcTarget.removeEventListener(e.event,e.handler,e.capture)})),delete t[e]},c=t?{beforeMount:i,updated:function(e,t){var n=t.value,r=t.oldValue;JSON.stringify(n)!==JSON.stringify(r)&&(s(e),i(e,{value:n}))},unmounted:s}:{};return{install:function(e){e.directive("click-outside",c)},directive:c}}))},5431:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r,o=function(){return Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/))};function i(e,t){void 0===t&&(t={});var n=t.registrationOptions;void 0===n&&(n={}),delete t.registrationOptions;var i=function(e){var n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];t&&t[e]&&t[e].apply(t,n)};"serviceWorker"in navigator&&r.then((function(){o()?(l(e,i,n),navigator.serviceWorker.ready.then((function(e){i("ready",e)})).catch((function(e){return s(i,e)}))):(c(e,i,n),navigator.serviceWorker.ready.then((function(e){i("ready",e)})).catch((function(e){return s(i,e)})))}))}function s(e,t){navigator.onLine||e("offline"),e("error",t)}function c(e,t,n){navigator.serviceWorker.register(e,n).then((function(e){t("registered",e),e.waiting?t("updated",e):e.onupdatefound=function(){t("updatefound",e);var n=e.installing;n.onstatechange=function(){"installed"===n.state&&(navigator.serviceWorker.controller?t("updated",e):t("cached",e))}}})).catch((function(e){return s(t,e)}))}function l(e,t,n){fetch(e).then((function(r){404===r.status?(t("error",new Error("Service worker not found at "+e)),u()):-1===r.headers.get("content-type").indexOf("javascript")?(t("error",new Error("Expected "+e+" to have javascript content-type, but received "+r.headers.get("content-type"))),u()):c(e,t,n)})).catch((function(e){return s(t,e)}))}function u(){"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){return s(emit,e)}))}"undefined"!==typeof window&&(r="undefined"!==typeof Promise?new Promise((function(e){return window.addEventListener("load",e)})):{then:function(e){return window.addEventListener("load",e)}})},89:function(e,t){"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n}}}]); +//# sourceMappingURL=chunk-vendors.44cee747.js.map \ No newline at end of file diff --git a/dist/js/chunk-vendors.44cee747.js.map b/dist/js/chunk-vendors.44cee747.js.map new file mode 100644 index 0000000..fa0cac7 --- /dev/null +++ b/dist/js/chunk-vendors.44cee747.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/chunk-vendors.44cee747.js","mappings":"gGAAA,IAAIA,EAAa,EAAQ,KACrBC,EAAc,EAAQ,MAEtBC,EAAaC,UAGjBC,EAAOC,QAAU,SAAUC,GACzB,GAAIN,EAAWM,GAAW,OAAOA,EACjC,MAAMJ,EAAWD,EAAYK,GAAY,qBAC3C,C,uBCTA,IAAIC,EAAW,EAAQ,KAEnBC,EAAUC,OACVP,EAAaC,UAGjBC,EAAOC,QAAU,SAAUC,GACzB,GAAIC,EAASD,GAAW,OAAOA,EAC/B,MAAMJ,EAAWM,EAAQF,GAAY,oBACvC,C,uBCTA,IAAII,EAAkB,EAAQ,MAC1BC,EAAkB,EAAQ,MAC1BC,EAAoB,EA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ACf,IAAG/iC,OAAM,SAAUta,GAAS,OAAOma,EAAYwD,KAAM3d,EAAQ,GAEjE,CAlHsB,qBAAX2F,SAMPq2C,EADqB,qBAAZngC,QACQ,IAAIA,SAAQ,SAAUC,GAAW,OAAOnW,OAAO6nC,iBAAiB,OAAQ1xB,EAAU,IAElF,CAAEI,KAAM,SAAUc,GAAM,OAAOrX,OAAO6nC,iBAAiB,OAAQxwB,EAAK,G,gCCvBzF5e,EAAQ,EAAU,CAACm/C,EAAKx/B,KACpB,MAAMrd,EAAS68C,EAAIhX,WAAagX,EAChC,IAAK,MAAOv8C,EAAK+J,KAAQgT,EACrBrd,EAAOM,GAAO+J,EAElB,OAAOrK,CAAM,C","sources":["webpack://ithkapp/./node_modules/core-js/internals/a-callable.js","webpack://ithkapp/./node_modules/core-js/internals/an-object.js","webpack://ithkapp/./node_modules/core-js/internals/array-includes.js","webpack://ithkapp/./node_modules/core-js/internals/array-set-length.js","webpack://ithkapp/./node_modules/core-js/internals/classof-raw.js","webpack://ithkapp/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://ithkapp/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://ithkapp/./node_modules/core-js/internals/create-property-descriptor.js","webpack://ithkapp/./node_modules/core-js/internals/define-built-in.js","webpack://ithkapp/./node_modules/core-js/internals/define-global-property.js","webpack://ithkapp/./node_modules/core-js/internals/descriptors.js","webpack://ithkapp/./node_modules/core-js/internals/document-all.js","webpack://ithkapp/./node_modules/core-js/internals/document-create-element.js","webpack://ithkapp/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://ithkapp/./node_modules/core-js/internals/engine-user-agent.js","webpack://ithkapp/./node_modules/core-js/internals/engine-v8-version.js","webpack://ithkapp/./node_modules/core-js/internals/enum-bug-keys.js","webpack://ithkapp/./node_modules/core-js/internals/export.js","webpack://ithkapp/./node_modules/core-js/internals/fails.js","webpack://ithkapp/./node_modules/core-js/internals/function-bind-native.js","webpack://ithkapp/./node_modules/core-js/internals/function-call.js","webpack://ithkapp/./node_modules/core-js/internals/function-name.js","webpack://ithkapp/./node_modules/core-js/internals/function-uncurry-this.js","webpack://ithkapp/./node_modules/core-js/internals/get-built-in.js","webpack://ithkapp/./node_modules/core-js/internals/get-method.js","webpack://ithkapp/./node_modules/core-js/internals/global.js","webpack://ithkapp/./node_modules/core-js/internals/has-own-property.js","webpack://ithkapp/./node_modules/core-js/internals/hidden-keys.js","webpack://ithkapp/./node_modules/core-js/internals/ie8-dom-define.js","webpack://ithkapp/./node_modules/core-js/internals/indexed-object.js","webpack://ithkapp/./node_modules/core-js/internals/inspect-source.js","webpack://ithkapp/./node_modules/core-js/internals/internal-state.js","webpack://ithkapp/./node_modules/core-js/internals/is-array.js","webpack://ithkapp/./node_modules/core-js/internals/is-callable.js","webpack://ithkapp/./node_modules/core-js/internals/is-forced.js","webpack://ithkapp/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://ithkapp/./node_modules/core-js/internals/is-object.js","webpack://ithkapp/./node_modules/core-js/internals/is-pure.js","webpack://ithkapp/./node_modules/core-js/internals/is-symbol.js","webpack://ithkapp/./node_modules/core-js/internals/length-of-array-like.js","webpack://ithkapp/./node_modules/core-js/internals/make-built-in.js","webpack://ithkapp/./node_modules/core-js/internals/math-trunc.js","webpack://ithkapp/./node_modules/core-js/internals/object-define-property.js","webpack://ithkapp/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://ithkapp/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://ithkapp/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://ithkapp/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://ithkapp/./node_modules/core-js/internals/object-keys-internal.js","webpack://ithkapp/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://ithkapp/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://ithkapp/./node_modules/core-js/internals/own-keys.js","webpack://ithkapp/./node_modules/core-js/internals/require-object-coercible.js","webpack://ithkapp/./node_modules/core-js/internals/shared-key.js","webpack://ithkapp/./node_modules/core-js/internals/shared-store.js","webpack://ithkapp/./node_modules/core-js/internals/shared.js","webpack://ithkapp/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://ithkapp/./node_modules/core-js/internals/to-absolute-index.js","webpack://ithkapp/./node_modules/core-js/internals/to-indexed-object.js","webpack://ithkapp/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://ithkapp/./node_modules/core-js/internals/to-length.js","webpack://ithkapp/./node_modules/core-js/internals/to-object.js","webpack://ithkapp/./node_modules/core-js/internals/to-primitive.js","webpack://ithkapp/./node_modules/core-js/internals/to-property-key.js","webpack://ithkapp/./node_modules/core-js/internals/try-to-string.js","webpack://ithkapp/./node_modules/core-js/internals/uid.js","webpack://ithkapp/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://ithkapp/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://ithkapp/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://ithkapp/./node_modules/core-js/internals/well-known-symbol.js","webpack://ithkapp/./node_modules/core-js/modules/es.array.push.js","webpack://ithkapp/./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","webpack://ithkapp/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","webpack://ithkapp/./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","webpack://ithkapp/./node_modules/@vue/shared/dist/shared.esm-bundler.js","webpack://ithkapp/../src/v-click-outside.js","webpack://ithkapp/../src/index.js","webpack://ithkapp/./node_modules/register-service-worker/index.js","webpack://ithkapp/./node_modules/vue-loader/dist/exportHelper.js"],"sourcesContent":["var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","module.exports = {};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.30.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","import { extend, isArray, isMap, isIntegerKey, hasOwn, isSymbol, isObject, hasChanged, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this._active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(\n this\n ) - 1;\n }\n }\n get active() {\n return this._active;\n }\n run(fn) {\n if (this._active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n } finally {\n activeEffectScope = currentEffectScope;\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this._active) {\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n if (!this.detached && this.parent && !fromParent) {\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = void 0;\n this._active = false;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction recordEffectScope(effect, scope = activeEffectScope) {\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `onScopeDispose() is called when there is no active effect scope to be associated with.`\n );\n }\n}\n\nconst createDep = (effects) => {\n const dep = new Set(effects);\n dep.w = 0;\n dep.n = 0;\n return dep;\n};\nconst wasTracked = (dep) => (dep.w & trackOpBit) > 0;\nconst newTracked = (dep) => (dep.n & trackOpBit) > 0;\nconst initDepMarkers = ({ deps }) => {\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].w |= trackOpBit;\n }\n }\n};\nconst finalizeDepMarkers = (effect) => {\n const { deps } = effect;\n if (deps.length) {\n let ptr = 0;\n for (let i = 0; i < deps.length; i++) {\n const dep = deps[i];\n if (wasTracked(dep) && !newTracked(dep)) {\n dep.delete(effect);\n } else {\n deps[ptr++] = dep;\n }\n dep.w &= ~trackOpBit;\n dep.n &= ~trackOpBit;\n }\n deps.length = ptr;\n }\n};\n\nconst targetMap = /* @__PURE__ */ new WeakMap();\nlet effectTrackDepth = 0;\nlet trackOpBit = 1;\nconst maxMarkerBits = 30;\nlet activeEffect;\nconst ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"iterate\" : \"\");\nconst MAP_KEY_ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"Map key iterate\" : \"\");\nclass ReactiveEffect {\n constructor(fn, scheduler = null, scope) {\n this.fn = fn;\n this.scheduler = scheduler;\n this.active = true;\n this.deps = [];\n this.parent = void 0;\n recordEffectScope(this, scope);\n }\n run() {\n if (!this.active) {\n return this.fn();\n }\n let parent = activeEffect;\n let lastShouldTrack = shouldTrack;\n while (parent) {\n if (parent === this) {\n return;\n }\n parent = parent.parent;\n }\n try {\n this.parent = activeEffect;\n activeEffect = this;\n shouldTrack = true;\n trackOpBit = 1 << ++effectTrackDepth;\n if (effectTrackDepth <= maxMarkerBits) {\n initDepMarkers(this);\n } else {\n cleanupEffect(this);\n }\n return this.fn();\n } finally {\n if (effectTrackDepth <= maxMarkerBits) {\n finalizeDepMarkers(this);\n }\n trackOpBit = 1 << --effectTrackDepth;\n activeEffect = this.parent;\n shouldTrack = lastShouldTrack;\n this.parent = void 0;\n if (this.deferStop) {\n this.stop();\n }\n }\n }\n stop() {\n if (activeEffect === this) {\n this.deferStop = true;\n } else if (this.active) {\n cleanupEffect(this);\n if (this.onStop) {\n this.onStop();\n }\n this.active = false;\n }\n }\n}\nfunction cleanupEffect(effect2) {\n const { deps } = effect2;\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].delete(effect2);\n }\n deps.length = 0;\n }\n}\nfunction effect(fn, options) {\n if (fn.effect) {\n fn = fn.effect.fn;\n }\n const _effect = new ReactiveEffect(fn);\n if (options) {\n extend(_effect, options);\n if (options.scope)\n recordEffectScope(_effect, options.scope);\n }\n if (!options || !options.lazy) {\n _effect.run();\n }\n const runner = _effect.run.bind(_effect);\n runner.effect = _effect;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction enableTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = true;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === void 0 ? true : last;\n}\nfunction track(target, type, key) {\n if (shouldTrack && activeEffect) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, depsMap = /* @__PURE__ */ new Map());\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, dep = createDep());\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { effect: activeEffect, target, type, key } : void 0;\n trackEffects(dep, eventInfo);\n }\n}\nfunction trackEffects(dep, debuggerEventExtraInfo) {\n let shouldTrack2 = false;\n if (effectTrackDepth <= maxMarkerBits) {\n if (!newTracked(dep)) {\n dep.n |= trackOpBit;\n shouldTrack2 = !wasTracked(dep);\n }\n } else {\n shouldTrack2 = !dep.has(activeEffect);\n }\n if (shouldTrack2) {\n dep.add(activeEffect);\n activeEffect.deps.push(dep);\n if (!!(process.env.NODE_ENV !== \"production\") && activeEffect.onTrack) {\n activeEffect.onTrack(\n extend(\n {\n effect: activeEffect\n },\n debuggerEventExtraInfo\n )\n );\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n return;\n }\n let deps = [];\n if (type === \"clear\") {\n deps = [...depsMap.values()];\n } else if (key === \"length\" && isArray(target)) {\n const newLength = Number(newValue);\n depsMap.forEach((dep, key2) => {\n if (key2 === \"length\" || key2 >= newLength) {\n deps.push(dep);\n }\n });\n } else {\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n switch (type) {\n case \"add\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n } else if (isIntegerKey(key)) {\n deps.push(depsMap.get(\"length\"));\n }\n break;\n case \"delete\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\":\n if (isMap(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { target, type, key, newValue, oldValue, oldTarget } : void 0;\n if (deps.length === 1) {\n if (deps[0]) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(deps[0], eventInfo);\n } else {\n triggerEffects(deps[0]);\n }\n }\n } else {\n const effects = [];\n for (const dep of deps) {\n if (dep) {\n effects.push(...dep);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(createDep(effects), eventInfo);\n } else {\n triggerEffects(createDep(effects));\n }\n }\n}\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\n const effects = isArray(dep) ? dep : [...dep];\n for (const effect2 of effects) {\n if (effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n for (const effect2 of effects) {\n if (!effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n}\nfunction triggerEffect(effect2, debuggerEventExtraInfo) {\n if (effect2 !== activeEffect || effect2.allowRecurse) {\n if (!!(process.env.NODE_ENV !== \"production\") && effect2.onTrigger) {\n effect2.onTrigger(extend({ effect: effect2 }, debuggerEventExtraInfo));\n }\n if (effect2.scheduler) {\n effect2.scheduler();\n } else {\n effect2.run();\n }\n }\n}\nfunction getDepFromReactive(object, key) {\n var _a;\n return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);\n}\n\nconst isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== \"arguments\" && key !== \"caller\").map((key) => Symbol[key]).filter(isSymbol)\n);\nconst get$1 = /* @__PURE__ */ createGetter();\nconst shallowGet = /* @__PURE__ */ createGetter(false, true);\nconst readonlyGet = /* @__PURE__ */ createGetter(true);\nconst shallowReadonlyGet = /* @__PURE__ */ createGetter(true, true);\nconst arrayInstrumentations = /* @__PURE__ */ createArrayInstrumentations();\nfunction createArrayInstrumentations() {\n const instrumentations = {};\n [\"includes\", \"indexOf\", \"lastIndexOf\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n const arr = toRaw(this);\n for (let i = 0, l = this.length; i < l; i++) {\n track(arr, \"get\", i + \"\");\n }\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n return arr[key](...args.map(toRaw));\n } else {\n return res;\n }\n };\n });\n [\"push\", \"pop\", \"shift\", \"unshift\", \"splice\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n pauseTracking();\n const res = toRaw(this)[key].apply(this, args);\n resetTracking();\n return res;\n };\n });\n return instrumentations;\n}\nfunction hasOwnProperty(key) {\n const obj = toRaw(this);\n track(obj, \"has\", key);\n return obj.hasOwnProperty(key);\n}\nfunction createGetter(isReadonly2 = false, shallow = false) {\n return function get2(target, key, receiver) {\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_isShallow\") {\n return shallow;\n } else if (key === \"__v_raw\" && receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target)) {\n return target;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly2) {\n if (targetIsArray && hasOwn(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n if (key === \"hasOwnProperty\") {\n return hasOwnProperty;\n }\n }\n const res = Reflect.get(target, key, receiver);\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly2) {\n track(target, \"get\", key);\n }\n if (shallow) {\n return res;\n }\n if (isRef(res)) {\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n return isReadonly2 ? readonly(res) : reactive(res);\n }\n return res;\n };\n}\nconst set$1 = /* @__PURE__ */ createSetter();\nconst shallowSet = /* @__PURE__ */ createSetter(true);\nfunction createSetter(shallow = false) {\n return function set2(target, key, value, receiver) {\n let oldValue = target[key];\n if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {\n return false;\n }\n if (!shallow) {\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n }\n }\n const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);\n const result = Reflect.set(target, key, value, receiver);\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n }\n return result;\n };\n}\nfunction deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction has$1(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\", key);\n }\n return result;\n}\nfunction ownKeys(target) {\n track(target, \"iterate\", isArray(target) ? \"length\" : ITERATE_KEY);\n return Reflect.ownKeys(target);\n}\nconst mutableHandlers = {\n get: get$1,\n set: set$1,\n deleteProperty,\n has: has$1,\n ownKeys\n};\nconst readonlyHandlers = {\n get: readonlyGet,\n set(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Set operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n },\n deleteProperty(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Delete operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n};\nconst shallowReactiveHandlers = /* @__PURE__ */ extend(\n {},\n mutableHandlers,\n {\n get: shallowGet,\n set: shallowSet\n }\n);\nconst shallowReadonlyHandlers = /* @__PURE__ */ extend(\n {},\n readonlyHandlers,\n {\n get: shallowReadonlyGet\n }\n);\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction get(target, key, isReadonly = false, isShallow = false) {\n target = target[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"get\", key);\n }\n track(rawTarget, \"get\", rawKey);\n }\n const { has: has2 } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has2.call(rawTarget, key)) {\n return wrap(target.get(key));\n } else if (has2.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n } else if (target !== rawTarget) {\n target.get(key);\n }\n}\nfunction has(key, isReadonly = false) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"has\", key);\n }\n track(rawTarget, \"has\", rawKey);\n }\n return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\"];\n !isReadonly && track(toRaw(target), \"iterate\", ITERATE_KEY);\n return Reflect.get(target, \"size\", target);\n}\nfunction add(value) {\n value = toRaw(value);\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\", value, value);\n }\n return this;\n}\nfunction set(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2 ? get2.call(target, key) : void 0;\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = !!(process.env.NODE_ENV !== \"production\") ? isMap(target) ? new Map(target) : new Set(target) : void 0;\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\", void 0, void 0, oldTarget);\n }\n return result;\n}\nfunction createForEach(isReadonly, isShallow) {\n return function forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\", ITERATE_KEY);\n return target.forEach((value, key) => {\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n };\n}\nfunction createIterableMethod(method, isReadonly, isShallow) {\n return function(...args) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === \"entries\" || method === Symbol.iterator && targetIsMap;\n const isKeyOnly = method === \"keys\" && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(\n rawTarget,\n \"iterate\",\n isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY\n );\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done ? { value, done } : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function(...args) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n console.warn(\n `${capitalize(type)} operation ${key}failed: target is readonly.`,\n toRaw(this)\n );\n }\n return type === \"delete\" ? false : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations2 = {\n get(key) {\n return get(this, key);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations2 = {\n get(key) {\n return get(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = [\"keys\", \"values\", \"entries\", Symbol.iterator];\n iteratorMethods.forEach((method) => {\n mutableInstrumentations2[method] = createIterableMethod(\n method,\n false,\n false\n );\n readonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n false\n );\n shallowInstrumentations2[method] = createIterableMethod(\n method,\n false,\n true\n );\n shallowReadonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n true\n );\n });\n return [\n mutableInstrumentations2,\n readonlyInstrumentations2,\n shallowInstrumentations2,\n shallowReadonlyInstrumentations2\n ];\n}\nconst [\n mutableInstrumentations,\n readonlyInstrumentations,\n shallowInstrumentations,\n shallowReadonlyInstrumentations\n] = /* @__PURE__ */ createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow ? isReadonly ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly ? readonlyInstrumentations : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\") {\n return !isReadonly;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly;\n } else if (key === \"__v_raw\") {\n return target;\n }\n return Reflect.get(\n hasOwn(instrumentations, key) && key in target ? instrumentations : target,\n key,\n receiver\n );\n };\n}\nconst mutableCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has2, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has2.call(target, rawKey)) {\n const type = toRawType(target);\n console.warn(\n `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`\n );\n }\n}\n\nconst reactiveMap = /* @__PURE__ */ new WeakMap();\nconst shallowReactiveMap = /* @__PURE__ */ new WeakMap();\nconst readonlyMap = /* @__PURE__ */ new WeakMap();\nconst shallowReadonlyMap = /* @__PURE__ */ new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case \"Object\":\n case \"Array\":\n return 1 /* COMMON */;\n case \"Map\":\n case \"Set\":\n case \"WeakMap\":\n case \"WeakSet\":\n return 2 /* COLLECTION */;\n default:\n return 0 /* INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(\n target,\n false,\n mutableHandlers,\n mutableCollectionHandlers,\n reactiveMap\n );\n}\nfunction shallowReactive(target) {\n return createReactiveObject(\n target,\n false,\n shallowReactiveHandlers,\n shallowCollectionHandlers,\n shallowReactiveMap\n );\n}\nfunction readonly(target) {\n return createReactiveObject(\n target,\n true,\n readonlyHandlers,\n readonlyCollectionHandlers,\n readonlyMap\n );\n}\nfunction shallowReadonly(target) {\n return createReactiveObject(\n target,\n true,\n shallowReadonlyHandlers,\n shallowReadonlyCollectionHandlers,\n shallowReadonlyMap\n );\n}\nfunction createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n console.warn(`value cannot be made reactive: ${String(target)}`);\n }\n return target;\n }\n if (target[\"__v_raw\"] && !(isReadonly2 && target[\"__v_isReactive\"])) {\n return target;\n }\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n const targetType = getTargetType(target);\n if (targetType === 0 /* INVALID */) {\n return target;\n }\n const proxy = new Proxy(\n target,\n targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers\n );\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\"]);\n }\n return !!(value && value[\"__v_isReactive\"]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\"]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n def(value, \"__v_skip\", true);\n return value;\n}\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nfunction trackRefValue(ref2) {\n if (shouldTrack && activeEffect) {\n ref2 = toRaw(ref2);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n trackEffects(ref2.dep || (ref2.dep = createDep()), {\n target: ref2,\n type: \"get\",\n key: \"value\"\n });\n } else {\n trackEffects(ref2.dep || (ref2.dep = createDep()));\n }\n }\n}\nfunction triggerRefValue(ref2, newVal) {\n ref2 = toRaw(ref2);\n const dep = ref2.dep;\n if (dep) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(dep, {\n target: ref2,\n type: \"set\",\n key: \"value\",\n newValue: newVal\n });\n } else {\n triggerEffects(dep);\n }\n }\n}\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, __v_isShallow) {\n this.__v_isShallow = __v_isShallow;\n this.dep = void 0;\n this.__v_isRef = true;\n this._rawValue = __v_isShallow ? value : toRaw(value);\n this._value = __v_isShallow ? value : toReactive(value);\n }\n get value() {\n trackRefValue(this);\n return this._value;\n }\n set value(newVal) {\n const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);\n newVal = useDirectValue ? newVal : toRaw(newVal);\n if (hasChanged(newVal, this._rawValue)) {\n this._rawValue = newVal;\n this._value = useDirectValue ? newVal : toReactive(newVal);\n triggerRefValue(this, newVal);\n }\n }\n}\nfunction triggerRef(ref2) {\n triggerRefValue(ref2, !!(process.env.NODE_ENV !== \"production\") ? ref2.value : void 0);\n}\nfunction unref(ref2) {\n return isRef(ref2) ? ref2.value : ref2;\n}\nfunction toValue(source) {\n return isFunction(source) ? source() : unref(source);\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n } else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = void 0;\n this.__v_isRef = true;\n const { get, set } = factory(\n () => trackRefValue(this),\n () => triggerRefValue(this)\n );\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isProxy(object)) {\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = propertyToRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this.__v_isRef = true;\n }\n get value() {\n const val = this._object[this._key];\n return val === void 0 ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n get dep() {\n return getDepFromReactive(toRaw(this._object), this._key);\n }\n}\nclass GetterRefImpl {\n constructor(_getter) {\n this._getter = _getter;\n this.__v_isRef = true;\n this.__v_isReadonly = true;\n }\n get value() {\n return this._getter();\n }\n}\nfunction toRef(source, key, defaultValue) {\n if (isRef(source)) {\n return source;\n } else if (isFunction(source)) {\n return new GetterRefImpl(source);\n } else if (isObject(source) && arguments.length > 1) {\n return propertyToRef(source, key, defaultValue);\n } else {\n return ref(source);\n }\n}\nfunction propertyToRef(source, key, defaultValue) {\n const val = source[key];\n return isRef(val) ? val : new ObjectRefImpl(\n source,\n key,\n defaultValue\n );\n}\n\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this._setter = _setter;\n this.dep = void 0;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = false;\n this._dirty = true;\n this.effect = new ReactiveEffect(getter, () => {\n if (!this._dirty) {\n this._dirty = true;\n triggerRefValue(this);\n }\n });\n this.effect.computed = this;\n this.effect.active = this._cacheable = !isSSR;\n this[\"__v_isReadonly\"] = isReadonly;\n }\n get value() {\n const self = toRaw(this);\n trackRefValue(self);\n if (self._dirty || !self._cacheable) {\n self._dirty = false;\n self._value = self.effect.run();\n }\n return self._value;\n }\n set value(newValue) {\n this._setter(newValue);\n }\n}\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n const onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = !!(process.env.NODE_ENV !== \"production\") ? () => {\n console.warn(\"Write operation failed: computed value is readonly\");\n } : NOOP;\n } else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\n if (!!(process.env.NODE_ENV !== \"production\") && debugOptions && !isSSR) {\n cRef.effect.onTrack = debugOptions.onTrack;\n cRef.effect.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nconst tick = /* @__PURE__ */ Promise.resolve();\nconst queue = [];\nlet queued = false;\nconst scheduler = (fn) => {\n queue.push(fn);\n if (!queued) {\n queued = true;\n tick.then(flush);\n }\n};\nconst flush = () => {\n for (let i = 0; i < queue.length; i++) {\n queue[i]();\n }\n queue.length = 0;\n queued = false;\n};\nclass DeferredComputedRefImpl {\n constructor(getter) {\n this.dep = void 0;\n this._dirty = true;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = true;\n let compareTarget;\n let hasCompareTarget = false;\n let scheduled = false;\n this.effect = new ReactiveEffect(getter, (computedTrigger) => {\n if (this.dep) {\n if (computedTrigger) {\n compareTarget = this._value;\n hasCompareTarget = true;\n } else if (!scheduled) {\n const valueToCompare = hasCompareTarget ? compareTarget : this._value;\n scheduled = true;\n hasCompareTarget = false;\n scheduler(() => {\n if (this.effect.active && this._get() !== valueToCompare) {\n triggerRefValue(this);\n }\n scheduled = false;\n });\n }\n for (const e of this.dep) {\n if (e.computed instanceof DeferredComputedRefImpl) {\n e.scheduler(\n true\n /* computedTrigger */\n );\n }\n }\n }\n this._dirty = true;\n });\n this.effect.computed = this;\n }\n _get() {\n if (this._dirty) {\n this._dirty = false;\n return this._value = this.effect.run();\n }\n return this._value;\n }\n get value() {\n trackRefValue(this);\n return toRaw(this)._get();\n }\n}\nfunction deferredComputed(getter) {\n return new DeferredComputedRefImpl(getter);\n}\n\nexport { EffectScope, ITERATE_KEY, ReactiveEffect, computed, customRef, deferredComputed, effect, effectScope, enableTracking, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, track, trigger, triggerRef, unref };\n","import { pauseTracking, resetTracking, isRef, toRaw, getCurrentScope, isShallow as isShallow$1, isReactive, ReactiveEffect, ref, shallowReadonly, track, reactive, shallowReactive, trigger, isProxy, proxyRefs, markRaw, EffectScope, computed as computed$1, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, isPromise, isArray, NOOP, getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, looseToNumber, hyphenate, camelize, isObject, isOn, hasOwn, isModelListener, toNumber, hasChanged, remove, isSet, isMap, isPlainObject, isBuiltInDirective, invokeArrayFns, isRegExp, capitalize, isGloballyWhitelisted, NO, def, isReservedProp, EMPTY_ARR, toRawType, makeMap, normalizeClass, normalizeStyle } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn(msg, ...args) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n msg + args.join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\nfunction assertNumber(val, type) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n if (val === void 0) {\n return;\n } else if (typeof val !== \"number\") {\n warn(`${type} is not a valid number - got ${JSON.stringify(val)}.`);\n } else if (isNaN(val)) {\n warn(`${type} is NaN - the duration expression might be incorrect.`);\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n let res;\n try {\n res = args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n return res;\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch((err) => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings[type] : type;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(\n appErrorHandler,\n null,\n 10,\n [err, exposedInstance, errorInfo]\n );\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n throw err;\n } else {\n console.error(err);\n }\n } else {\n console.error(err);\n }\n}\n\nlet isFlushing = false;\nlet isFlushPending = false;\nconst queue = [];\nlet flushIndex = 0;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /* @__PURE__ */ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\nfunction findInsertionIndex(id) {\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = start + end >>> 1;\n const middleJobId = getId(queue[middle]);\n middleJobId < id ? start = middle + 1 : end = middle;\n }\n return start;\n}\nfunction queueJob(job) {\n if (!queue.length || !queue.includes(\n job,\n isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex\n )) {\n if (job.id == null) {\n queue.push(job);\n } else {\n queue.splice(findInsertionIndex(job.id), 0, job);\n }\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!isFlushing && !isFlushPending) {\n isFlushPending = true;\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction invalidateJob(job) {\n const i = queue.indexOf(job);\n if (i > flushIndex) {\n queue.splice(i, 1);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (!activePostFlushCbs || !activePostFlushCbs.includes(\n cb,\n cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex\n )) {\n pendingPostFlushCbs.push(cb);\n }\n } else {\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(seen, i = isFlushing ? flushIndex + 1 : 0) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.pre) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n cb();\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)];\n pendingPostFlushCbs.length = 0;\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\n continue;\n }\n activePostFlushCbs[postFlushIndex]();\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? Infinity : job.id;\nconst comparator = (a, b) => {\n const diff = getId(a) - getId(b);\n if (diff === 0) {\n if (a.pre && !b.pre)\n return -1;\n if (b.pre && !a.pre)\n return 1;\n }\n return diff;\n};\nfunction flushJobs(seen) {\n isFlushPending = false;\n isFlushing = true;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n queue.sort(comparator);\n const check = !!(process.env.NODE_ENV !== \"production\") ? (job) => checkRecursiveUpdates(seen, job) : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && job.active !== false) {\n if (!!(process.env.NODE_ENV !== \"production\") && check(job)) {\n continue;\n }\n callWithErrorHandling(job, null, 14);\n }\n }\n } finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n if (!seen.has(fn)) {\n seen.set(fn, 1);\n } else {\n const count = seen.get(fn);\n if (count > RECURSION_LIMIT) {\n const instance = fn.ownerInstance;\n const componentName = instance && getComponentName(instance.type);\n warn(\n `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`\n );\n return true;\n } else {\n seen.set(fn, count + 1);\n }\n }\n}\n\nlet isHmrUpdating = false;\nconst hmrDirtyComponents = /* @__PURE__ */ new Set();\nif (!!(process.env.NODE_ENV !== \"production\")) {\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\n createRecord: tryWrap(createRecord),\n rerender: tryWrap(rerender),\n reload: tryWrap(reload)\n };\n}\nconst map = /* @__PURE__ */ new Map();\nfunction registerHMR(instance) {\n const id = instance.type.__hmrId;\n let record = map.get(id);\n if (!record) {\n createRecord(id, instance.type);\n record = map.get(id);\n }\n record.instances.add(instance);\n}\nfunction unregisterHMR(instance) {\n map.get(instance.type.__hmrId).instances.delete(instance);\n}\nfunction createRecord(id, initialDef) {\n if (map.has(id)) {\n return false;\n }\n map.set(id, {\n initialDef: normalizeClassComponent(initialDef),\n instances: /* @__PURE__ */ new Set()\n });\n return true;\n}\nfunction normalizeClassComponent(component) {\n return isClassComponent(component) ? component.__vccOpts : component;\n}\nfunction rerender(id, newRender) {\n const record = map.get(id);\n if (!record) {\n return;\n }\n record.initialDef.render = newRender;\n [...record.instances].forEach((instance) => {\n if (newRender) {\n instance.render = newRender;\n normalizeClassComponent(instance.type).render = newRender;\n }\n instance.renderCache = [];\n isHmrUpdating = true;\n instance.update();\n isHmrUpdating = false;\n });\n}\nfunction reload(id, newComp) {\n const record = map.get(id);\n if (!record)\n return;\n newComp = normalizeClassComponent(newComp);\n updateComponentDef(record.initialDef, newComp);\n const instances = [...record.instances];\n for (const instance of instances) {\n const oldComp = normalizeClassComponent(instance.type);\n if (!hmrDirtyComponents.has(oldComp)) {\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n hmrDirtyComponents.add(oldComp);\n }\n instance.appContext.propsCache.delete(instance.type);\n instance.appContext.emitsCache.delete(instance.type);\n instance.appContext.optionsCache.delete(instance.type);\n if (instance.ceReload) {\n hmrDirtyComponents.add(oldComp);\n instance.ceReload(newComp.styles);\n hmrDirtyComponents.delete(oldComp);\n } else if (instance.parent) {\n queueJob(instance.parent.update);\n } else if (instance.appContext.reload) {\n instance.appContext.reload();\n } else if (typeof window !== \"undefined\") {\n window.location.reload();\n } else {\n console.warn(\n \"[HMR] Root or manually mounted instance modified. Full reload required.\"\n );\n }\n }\n queuePostFlushCb(() => {\n for (const instance of instances) {\n hmrDirtyComponents.delete(\n normalizeClassComponent(instance.type)\n );\n }\n });\n}\nfunction updateComponentDef(oldComp, newComp) {\n extend(oldComp, newComp);\n for (const key in oldComp) {\n if (key !== \"__file\" && !(key in newComp)) {\n delete oldComp[key];\n }\n }\n}\nfunction tryWrap(fn) {\n return (id, arg) => {\n try {\n return fn(id, arg);\n } catch (e) {\n console.error(e);\n console.warn(\n `[HMR] Something went wrong during Vue component hot-reload. Full reload required.`\n );\n }\n };\n}\n\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit$1(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n } else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3e3);\n } else {\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit$1(\"app:init\" /* APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit$1(\"app:unmount\" /* APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:added\" /* COMPONENT_ADDED */\n);\nconst devtoolsComponentUpdated = /* @__PURE__ */ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:removed\" /* COMPONENT_REMOVED */\n);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools && typeof devtools.cleanupBuffer === \"function\" && // remove the component if it wasn't buffered\n !devtools.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit$1(\n hook,\n component.appContext.app,\n component.uid,\n component.parent ? component.parent.uid : void 0,\n component\n );\n };\n}\nconst devtoolsPerfStart = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:start\" /* PERFORMANCE_START */\n);\nconst devtoolsPerfEnd = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:end\" /* PERFORMANCE_END */\n);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit$1(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit$1(\n \"component:emit\" /* COMPONENT_EMIT */,\n component.appContext.app,\n component,\n event,\n params\n );\n}\n\nfunction emit(instance, event, ...rawArgs) {\n if (instance.isUnmounted)\n return;\n const props = instance.vnode.props || EMPTY_OBJ;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const {\n emitsOptions,\n propsOptions: [propsOptions]\n } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) && true) {\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\n warn(\n `Component emitted event \"${event}\" but it is neither declared in the emits option nor as an \"${toHandlerKey(event)}\" prop.`\n );\n }\n } else {\n const validator = emitsOptions[event];\n if (isFunction(validator)) {\n const isValid = validator(...rawArgs);\n if (!isValid) {\n warn(\n `Invalid event arguments: event validation failed for event \"${event}\".`\n );\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith(\"update:\");\n const modelArg = isModelListener && event.slice(7);\n if (modelArg && modelArg in props) {\n const modifiersKey = `${modelArg === \"modelValue\" ? \"model\" : modelArg}Modifiers`;\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\n if (trim) {\n args = rawArgs.map((a) => isString(a) ? a.trim() : a);\n }\n if (number) {\n args = rawArgs.map(looseToNumber);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentEmit(instance, event, args);\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\n warn(\n `Event \"${lowerCaseEvent}\" is emitted in component ${formatComponentName(\n instance,\n instance.type\n )} but the handler is registered for \"${event}\". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`\n );\n }\n }\n let handlerName;\n let handler = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249)\n props[handlerName = toHandlerKey(camelize(event))];\n if (!handler && isModelListener) {\n handler = props[handlerName = toHandlerKey(hyphenate(event))];\n }\n if (handler) {\n callWithAsyncErrorHandling(\n handler,\n instance,\n 6,\n args\n );\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n } else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(\n onceHandler,\n instance,\n 6,\n args\n );\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== void 0) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendEmits = (raw2) => {\n const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);\n if (normalizedFromExtend) {\n hasExtends = true;\n extend(normalized, normalizedFromExtend);\n }\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendEmits);\n }\n if (comp.extends) {\n extendEmits(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendEmits);\n }\n }\n if (!raw && !hasExtends) {\n if (isObject(comp)) {\n cache.set(comp, null);\n }\n return null;\n }\n if (isArray(raw)) {\n raw.forEach((key) => normalized[key] = null);\n } else {\n extend(normalized, raw);\n }\n if (isObject(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\nfunction isEmitListener(options, key) {\n if (!options || !isOn(key)) {\n return false;\n }\n key = key.slice(2).replace(/Once$/, \"\");\n return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);\n}\n\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = instance && instance.type.__scopeId || null;\n return prev;\n}\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\nfunction popScopeId() {\n currentScopeId = null;\n}\nconst withScopeId = (_id) => withCtx;\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {\n if (!ctx)\n return fn;\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n } finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n renderFnWithContext._n = true;\n renderFnWithContext._c = true;\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\nlet accessedAttrs = false;\nfunction markAttrsAccessed() {\n accessedAttrs = true;\n}\nfunction renderComponentRoot(instance) {\n const {\n type: Component,\n vnode,\n proxy,\n withProxy,\n props,\n propsOptions: [propsOptions],\n slots,\n attrs,\n emit,\n render,\n renderCache,\n data,\n setupState,\n ctx,\n inheritAttrs\n } = instance;\n let result;\n let fallthroughAttrs;\n const prev = setCurrentRenderingInstance(instance);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n accessedAttrs = false;\n }\n try {\n if (vnode.shapeFlag & 4) {\n const proxyToUse = withProxy || proxy;\n result = normalizeVNode(\n render.call(\n proxyToUse,\n proxyToUse,\n renderCache,\n props,\n setupState,\n data,\n ctx\n )\n );\n fallthroughAttrs = attrs;\n } else {\n const render2 = Component;\n if (!!(process.env.NODE_ENV !== \"production\") && attrs === props) {\n markAttrsAccessed();\n }\n result = normalizeVNode(\n render2.length > 1 ? render2(\n props,\n !!(process.env.NODE_ENV !== \"production\") ? {\n get attrs() {\n markAttrsAccessed();\n return attrs;\n },\n slots,\n emit\n } : { attrs, slots, emit }\n ) : render2(\n props,\n null\n /* we know it doesn't need it */\n )\n );\n fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);\n }\n } catch (err) {\n blockStack.length = 0;\n handleError(err, instance, 1);\n result = createVNode(Comment);\n }\n let root = result;\n let setRoot = void 0;\n if (!!(process.env.NODE_ENV !== \"production\") && result.patchFlag > 0 && result.patchFlag & 2048) {\n [root, setRoot] = getChildRoot(result);\n }\n if (fallthroughAttrs && inheritAttrs !== false) {\n const keys = Object.keys(fallthroughAttrs);\n const { shapeFlag } = root;\n if (keys.length) {\n if (shapeFlag & (1 | 6)) {\n if (propsOptions && keys.some(isModelListener)) {\n fallthroughAttrs = filterModelListeners(\n fallthroughAttrs,\n propsOptions\n );\n }\n root = cloneVNode(root, fallthroughAttrs);\n } else if (!!(process.env.NODE_ENV !== \"production\") && !accessedAttrs && root.type !== Comment) {\n const allAttrs = Object.keys(attrs);\n const eventAttrs = [];\n const extraAttrs = [];\n for (let i = 0, l = allAttrs.length; i < l; i++) {\n const key = allAttrs[i];\n if (isOn(key)) {\n if (!isModelListener(key)) {\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\n }\n } else {\n extraAttrs.push(key);\n }\n }\n if (extraAttrs.length) {\n warn(\n `Extraneous non-props attributes (${extraAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`\n );\n }\n if (eventAttrs.length) {\n warn(\n `Extraneous non-emits event listeners (${eventAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the \"emits\" option.`\n );\n }\n }\n }\n }\n if (vnode.dirs) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Runtime directive used on component with non-element root node. The directives will not function as intended.`\n );\n }\n root = cloneVNode(root);\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\n }\n if (vnode.transition) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Component inside renders non-element root node that cannot be animated.`\n );\n }\n root.transition = vnode.transition;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && setRoot) {\n setRoot(root);\n } else {\n result = root;\n }\n setCurrentRenderingInstance(prev);\n return result;\n}\nconst getChildRoot = (vnode) => {\n const rawChildren = vnode.children;\n const dynamicChildren = vnode.dynamicChildren;\n const childRoot = filterSingleRoot(rawChildren);\n if (!childRoot) {\n return [vnode, void 0];\n }\n const index = rawChildren.indexOf(childRoot);\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\n const setRoot = (updatedRoot) => {\n rawChildren[index] = updatedRoot;\n if (dynamicChildren) {\n if (dynamicIndex > -1) {\n dynamicChildren[dynamicIndex] = updatedRoot;\n } else if (updatedRoot.patchFlag > 0) {\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\n }\n }\n };\n return [normalizeVNode(childRoot), setRoot];\n};\nfunction filterSingleRoot(children) {\n let singleRoot;\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (isVNode(child)) {\n if (child.type !== Comment || child.children === \"v-if\") {\n if (singleRoot) {\n return;\n } else {\n singleRoot = child;\n }\n }\n } else {\n return;\n }\n }\n return singleRoot;\n}\nconst getFunctionalFallthrough = (attrs) => {\n let res;\n for (const key in attrs) {\n if (key === \"class\" || key === \"style\" || isOn(key)) {\n (res || (res = {}))[key] = attrs[key];\n }\n }\n return res;\n};\nconst filterModelListeners = (attrs, props) => {\n const res = {};\n for (const key in attrs) {\n if (!isModelListener(key) || !(key.slice(9) in props)) {\n res[key] = attrs[key];\n }\n }\n return res;\n};\nconst isElementRoot = (vnode) => {\n return vnode.shapeFlag & (6 | 1) || vnode.type === Comment;\n};\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\n const { props: prevProps, children: prevChildren, component } = prevVNode;\n const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\n const emits = component.emitsOptions;\n if (!!(process.env.NODE_ENV !== \"production\") && (prevChildren || nextChildren) && isHmrUpdating) {\n return true;\n }\n if (nextVNode.dirs || nextVNode.transition) {\n return true;\n }\n if (optimized && patchFlag >= 0) {\n if (patchFlag & 1024) {\n return true;\n }\n if (patchFlag & 16) {\n if (!prevProps) {\n return !!nextProps;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n } else if (patchFlag & 8) {\n const dynamicProps = nextVNode.dynamicProps;\n for (let i = 0; i < dynamicProps.length; i++) {\n const key = dynamicProps[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) {\n return true;\n }\n }\n }\n } else {\n if (prevChildren || nextChildren) {\n if (!nextChildren || !nextChildren.$stable) {\n return true;\n }\n }\n if (prevProps === nextProps) {\n return false;\n }\n if (!prevProps) {\n return !!nextProps;\n }\n if (!nextProps) {\n return true;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n return false;\n}\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\n const nextKeys = Object.keys(nextProps);\n if (nextKeys.length !== Object.keys(prevProps).length) {\n return true;\n }\n for (let i = 0; i < nextKeys.length; i++) {\n const key = nextKeys[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {\n return true;\n }\n }\n return false;\n}\nfunction updateHOCHostEl({ vnode, parent }, el) {\n while (parent && parent.subTree === vnode) {\n (vnode = parent.vnode).el = el;\n parent = parent.parent;\n }\n}\n\nconst isSuspense = (type) => type.__isSuspense;\nconst SuspenseImpl = {\n name: \"Suspense\",\n // In order to make Suspense tree-shakable, we need to avoid importing it\n // directly in the renderer. The renderer checks for the __isSuspense flag\n // on a vnode's type and calls the `process` method, passing in renderer\n // internals.\n __isSuspense: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n if (n1 == null) {\n mountSuspense(\n n2,\n container,\n anchor,\n parentComponent,\n parentSuspense,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n } else {\n patchSuspense(\n n1,\n n2,\n container,\n anchor,\n parentComponent,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n }\n },\n hydrate: hydrateSuspense,\n create: createSuspenseBoundary,\n normalize: normalizeSuspenseChildren\n};\nconst Suspense = SuspenseImpl ;\nfunction triggerEvent(vnode, name) {\n const eventListener = vnode.props && vnode.props[name];\n if (isFunction(eventListener)) {\n eventListener();\n }\n}\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n const {\n p: patch,\n o: { createElement }\n } = rendererInternals;\n const hiddenContainer = createElement(\"div\");\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n container,\n hiddenContainer,\n anchor,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n patch(\n null,\n suspense.pendingBranch = vnode.ssContent,\n hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds\n );\n if (suspense.deps > 0) {\n triggerEvent(vnode, \"onPending\");\n triggerEvent(vnode, \"onFallback\");\n patch(\n null,\n vnode.ssFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds\n );\n setActiveBranch(suspense, vnode.ssFallback);\n } else {\n suspense.resolve(false, true);\n }\n}\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\n const suspense = n2.suspense = n1.suspense;\n suspense.vnode = n2;\n n2.el = n1.el;\n const newBranch = n2.ssContent;\n const newFallback = n2.ssFallback;\n const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\n if (pendingBranch) {\n suspense.pendingBranch = newBranch;\n if (isSameVNodeType(newBranch, pendingBranch)) {\n patch(\n pendingBranch,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else if (isInFallback) {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else {\n suspense.pendingId++;\n if (isHydrating) {\n suspense.isHydrating = false;\n suspense.activeBranch = pendingBranch;\n } else {\n unmount(pendingBranch, parentComponent, suspense);\n }\n suspense.deps = 0;\n suspense.effects.length = 0;\n suspense.hiddenContainer = createElement(\"div\");\n if (isInFallback) {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n suspense.resolve(true);\n } else {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n }\n }\n } else {\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newBranch);\n } else {\n triggerEvent(n2, \"onPending\");\n suspense.pendingBranch = newBranch;\n suspense.pendingId++;\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n const { timeout, pendingId } = suspense;\n if (timeout > 0) {\n setTimeout(() => {\n if (suspense.pendingId === pendingId) {\n suspense.fallback(newFallback);\n }\n }, timeout);\n } else if (timeout === 0) {\n suspense.fallback(newFallback);\n }\n }\n }\n }\n}\nlet hasWarned = false;\nfunction createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\n if (!!(process.env.NODE_ENV !== \"production\") && true && !hasWarned) {\n hasWarned = true;\n console[console.info ? \"info\" : \"log\"](\n ` is an experimental feature and its API will likely change.`\n );\n }\n const {\n p: patch,\n m: move,\n um: unmount,\n n: next,\n o: { parentNode, remove }\n } = rendererInternals;\n let parentSuspenseId;\n const isSuspensible = isVNodeSuspensible(vnode);\n if (isSuspensible) {\n if (parentSuspense == null ? void 0 : parentSuspense.pendingBranch) {\n parentSuspenseId = parentSuspense.pendingId;\n parentSuspense.deps++;\n }\n }\n const timeout = vnode.props ? toNumber(vnode.props.timeout) : void 0;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n assertNumber(timeout, `Suspense timeout`);\n }\n const suspense = {\n vnode,\n parent: parentSuspense,\n parentComponent,\n isSVG,\n container,\n hiddenContainer,\n anchor,\n deps: 0,\n pendingId: 0,\n timeout: typeof timeout === \"number\" ? timeout : -1,\n activeBranch: null,\n pendingBranch: null,\n isInFallback: true,\n isHydrating,\n isUnmounted: false,\n effects: [],\n resolve(resume = false, sync = false) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (!resume && !suspense.pendingBranch) {\n throw new Error(\n `suspense.resolve() is called without a pending branch.`\n );\n }\n if (suspense.isUnmounted) {\n throw new Error(\n `suspense.resolve() is called on an already unmounted suspense boundary.`\n );\n }\n }\n const {\n vnode: vnode2,\n activeBranch,\n pendingBranch,\n pendingId,\n effects,\n parentComponent: parentComponent2,\n container: container2\n } = suspense;\n if (suspense.isHydrating) {\n suspense.isHydrating = false;\n } else if (!resume) {\n const delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = () => {\n if (pendingId === suspense.pendingId) {\n move(pendingBranch, container2, anchor2, 0);\n }\n };\n }\n let { anchor: anchor2 } = suspense;\n if (activeBranch) {\n anchor2 = next(activeBranch);\n unmount(activeBranch, parentComponent2, suspense, true);\n }\n if (!delayEnter) {\n move(pendingBranch, container2, anchor2, 0);\n }\n }\n setActiveBranch(suspense, pendingBranch);\n suspense.pendingBranch = null;\n suspense.isInFallback = false;\n let parent = suspense.parent;\n let hasUnresolvedAncestor = false;\n while (parent) {\n if (parent.pendingBranch) {\n parent.effects.push(...effects);\n hasUnresolvedAncestor = true;\n break;\n }\n parent = parent.parent;\n }\n if (!hasUnresolvedAncestor) {\n queuePostFlushCb(effects);\n }\n suspense.effects = [];\n if (isSuspensible) {\n if (parentSuspense && parentSuspense.pendingBranch && parentSuspenseId === parentSuspense.pendingId) {\n parentSuspense.deps--;\n if (parentSuspense.deps === 0 && !sync) {\n parentSuspense.resolve();\n }\n }\n }\n triggerEvent(vnode2, \"onResolve\");\n },\n fallback(fallbackVNode) {\n if (!suspense.pendingBranch) {\n return;\n }\n const { vnode: vnode2, activeBranch, parentComponent: parentComponent2, container: container2, isSVG: isSVG2 } = suspense;\n triggerEvent(vnode2, \"onFallback\");\n const anchor2 = next(activeBranch);\n const mountFallback = () => {\n if (!suspense.isInFallback) {\n return;\n }\n patch(\n null,\n fallbackVNode,\n container2,\n anchor2,\n parentComponent2,\n null,\n // fallback tree will not have suspense context\n isSVG2,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, fallbackVNode);\n };\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = mountFallback;\n }\n suspense.isInFallback = true;\n unmount(\n activeBranch,\n parentComponent2,\n null,\n // no suspense so unmount hooks fire now\n true\n // shouldRemove\n );\n if (!delayEnter) {\n mountFallback();\n }\n },\n move(container2, anchor2, type) {\n suspense.activeBranch && move(suspense.activeBranch, container2, anchor2, type);\n suspense.container = container2;\n },\n next() {\n return suspense.activeBranch && next(suspense.activeBranch);\n },\n registerDep(instance, setupRenderEffect) {\n const isInPendingSuspense = !!suspense.pendingBranch;\n if (isInPendingSuspense) {\n suspense.deps++;\n }\n const hydratedEl = instance.vnode.el;\n instance.asyncDep.catch((err) => {\n handleError(err, instance, 0);\n }).then((asyncSetupResult) => {\n if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {\n return;\n }\n instance.asyncResolved = true;\n const { vnode: vnode2 } = instance;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n pushWarningContext(vnode2);\n }\n handleSetupResult(instance, asyncSetupResult, false);\n if (hydratedEl) {\n vnode2.el = hydratedEl;\n }\n const placeholder = !hydratedEl && instance.subTree.el;\n setupRenderEffect(\n instance,\n vnode2,\n // component may have been moved before resolve.\n // if this is not a hydration, instance.subTree will be the comment\n // placeholder.\n parentNode(hydratedEl || instance.subTree.el),\n // anchor will not be used if this is hydration, so only need to\n // consider the comment placeholder case.\n hydratedEl ? null : next(instance.subTree),\n suspense,\n isSVG,\n optimized\n );\n if (placeholder) {\n remove(placeholder);\n }\n updateHOCHostEl(instance, vnode2.el);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n popWarningContext();\n }\n if (isInPendingSuspense && --suspense.deps === 0) {\n suspense.resolve();\n }\n });\n },\n unmount(parentSuspense2, doRemove) {\n suspense.isUnmounted = true;\n if (suspense.activeBranch) {\n unmount(\n suspense.activeBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n if (suspense.pendingBranch) {\n unmount(\n suspense.pendingBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n }\n };\n return suspense;\n}\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n node.parentNode,\n document.createElement(\"div\"),\n null,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals,\n true\n /* hydrating */\n );\n const result = hydrateNode(\n node,\n suspense.pendingBranch = vnode.ssContent,\n parentComponent,\n suspense,\n slotScopeIds,\n optimized\n );\n if (suspense.deps === 0) {\n suspense.resolve(false, true);\n }\n return result;\n}\nfunction normalizeSuspenseChildren(vnode) {\n const { shapeFlag, children } = vnode;\n const isSlotChildren = shapeFlag & 32;\n vnode.ssContent = normalizeSuspenseSlot(\n isSlotChildren ? children.default : children\n );\n vnode.ssFallback = isSlotChildren ? normalizeSuspenseSlot(children.fallback) : createVNode(Comment);\n}\nfunction normalizeSuspenseSlot(s) {\n let block;\n if (isFunction(s)) {\n const trackBlock = isBlockTreeEnabled && s._c;\n if (trackBlock) {\n s._d = false;\n openBlock();\n }\n s = s();\n if (trackBlock) {\n s._d = true;\n block = currentBlock;\n closeBlock();\n }\n }\n if (isArray(s)) {\n const singleChild = filterSingleRoot(s);\n if (!!(process.env.NODE_ENV !== \"production\") && !singleChild) {\n warn(` slots expect a single root node.`);\n }\n s = singleChild;\n }\n s = normalizeVNode(s);\n if (block && !s.dynamicChildren) {\n s.dynamicChildren = block.filter((c) => c !== s);\n }\n return s;\n}\nfunction queueEffectWithSuspense(fn, suspense) {\n if (suspense && suspense.pendingBranch) {\n if (isArray(fn)) {\n suspense.effects.push(...fn);\n } else {\n suspense.effects.push(fn);\n }\n } else {\n queuePostFlushCb(fn);\n }\n}\nfunction setActiveBranch(suspense, branch) {\n suspense.activeBranch = branch;\n const { vnode, parentComponent } = suspense;\n const el = vnode.el = branch.el;\n if (parentComponent && parentComponent.subTree === vnode) {\n parentComponent.vnode.el = el;\n updateHOCHostEl(parentComponent, el);\n }\n}\nfunction isVNodeSuspensible(vnode) {\n var _a;\n return ((_a = vnode.props) == null ? void 0 : _a.suspensible) != null && vnode.props.suspensible !== false;\n}\n\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"post\" }) : { flush: \"post\" }\n );\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"sync\" }) : { flush: \"sync\" }\n );\n}\nconst INITIAL_WATCHER_VALUE = {};\nfunction watch(source, cb, options) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isFunction(cb)) {\n warn(\n `\\`watch(fn, options?)\\` signature has been moved to a separate API. Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only supports \\`watch(source, cb, options?) signature.`\n );\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {\n var _a;\n if (!!(process.env.NODE_ENV !== \"production\") && !cb) {\n if (immediate !== void 0) {\n warn(\n `watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (deep !== void 0) {\n warn(\n `watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n }\n const warnInvalidSource = (s) => {\n warn(\n `Invalid watch source: `,\n s,\n `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`\n );\n };\n const instance = getCurrentScope() === ((_a = currentInstance) == null ? void 0 : _a.scope) ? currentInstance : null;\n let getter;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow$1(source);\n } else if (isReactive(source)) {\n getter = () => source;\n deep = true;\n } else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some((s) => isReactive(s) || isShallow$1(s));\n getter = () => source.map((s) => {\n if (isRef(s)) {\n return s.value;\n } else if (isReactive(s)) {\n return traverse(s);\n } else if (isFunction(s)) {\n return callWithErrorHandling(s, instance, 2);\n } else {\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(s);\n }\n });\n } else if (isFunction(source)) {\n if (cb) {\n getter = () => callWithErrorHandling(source, instance, 2);\n } else {\n getter = () => {\n if (instance && instance.isUnmounted) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(\n source,\n instance,\n 3,\n [onCleanup]\n );\n };\n }\n } else {\n getter = NOOP;\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n getter = () => traverse(baseGetter());\n }\n let cleanup;\n let onCleanup = (fn) => {\n cleanup = effect.onStop = () => {\n callWithErrorHandling(fn, instance, 4);\n };\n };\n let ssrCleanup;\n if (isInSSRComponentSetup) {\n onCleanup = NOOP;\n if (!cb) {\n getter();\n } else if (immediate) {\n callWithAsyncErrorHandling(cb, instance, 3, [\n getter(),\n isMultiSource ? [] : void 0,\n onCleanup\n ]);\n }\n if (flush === \"sync\") {\n const ctx = useSSRContext();\n ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);\n } else {\n return NOOP;\n }\n }\n let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active) {\n return;\n }\n if (cb) {\n const newValue = effect.run();\n if (deep || forceTrigger || (isMultiSource ? newValue.some(\n (v, i) => hasChanged(v, oldValue[i])\n ) : hasChanged(newValue, oldValue)) || false) {\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n } else {\n effect.run();\n }\n };\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === \"sync\") {\n scheduler = job;\n } else if (flush === \"post\") {\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\n } else {\n job.pre = true;\n if (instance)\n job.id = instance.uid;\n scheduler = () => queueJob(job);\n }\n const effect = new ReactiveEffect(getter, scheduler);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n effect.onTrack = onTrack;\n effect.onTrigger = onTrigger;\n }\n if (cb) {\n if (immediate) {\n job();\n } else {\n oldValue = effect.run();\n }\n } else if (flush === \"post\") {\n queuePostRenderEffect(\n effect.run.bind(effect),\n instance && instance.suspense\n );\n } else {\n effect.run();\n }\n const unwatch = () => {\n effect.stop();\n if (instance && instance.scope) {\n remove(instance.scope.effects, effect);\n }\n };\n if (ssrCleanup)\n ssrCleanup.push(unwatch);\n return unwatch;\n}\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source) ? source.includes(\".\") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n } else {\n cb = value.handler;\n options = value;\n }\n const cur = currentInstance;\n setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n if (cur) {\n setCurrentInstance(cur);\n } else {\n unsetCurrentInstance();\n }\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split(\".\");\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\nfunction traverse(value, seen) {\n if (!isObject(value) || value[\"__v_skip\"]) {\n return value;\n }\n seen = seen || /* @__PURE__ */ new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n if (isRef(value)) {\n traverse(value.value, seen);\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], seen);\n }\n } else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, seen);\n });\n } else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], seen);\n }\n }\n return value;\n}\n\nfunction validateDirectiveName(name) {\n if (isBuiltInDirective(name)) {\n warn(\"Do not use built-in directive ids as custom directive id: \" + name);\n }\n}\nfunction withDirectives(vnode, directives) {\n const internalInstance = currentRenderingInstance;\n if (internalInstance === null) {\n !!(process.env.NODE_ENV !== \"production\") && warn(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getExposeProxy(internalInstance) || internalInstance.proxy;\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\n if (dir) {\n if (isFunction(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n }\n return vnode;\n}\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\n const bindings = vnode.dirs;\n const oldBindings = prevVNode && prevVNode.dirs;\n for (let i = 0; i < bindings.length; i++) {\n const binding = bindings[i];\n if (oldBindings) {\n binding.oldValue = oldBindings[i].value;\n }\n let hook = binding.dir[name];\n if (hook) {\n pauseTracking();\n callWithAsyncErrorHandling(hook, instance, 8, [\n vnode.el,\n binding,\n vnode,\n prevVNode\n ]);\n resetTracking();\n }\n }\n}\n\nfunction useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: /* @__PURE__ */ new Map()\n };\n onMounted(() => {\n state.isMounted = true;\n });\n onBeforeUnmount(() => {\n state.isUnmounting = true;\n });\n return state;\n}\nconst TransitionHookValidator = [Function, Array];\nconst BaseTransitionPropsValidators = {\n mode: String,\n appear: Boolean,\n persisted: Boolean,\n // enter\n onBeforeEnter: TransitionHookValidator,\n onEnter: TransitionHookValidator,\n onAfterEnter: TransitionHookValidator,\n onEnterCancelled: TransitionHookValidator,\n // leave\n onBeforeLeave: TransitionHookValidator,\n onLeave: TransitionHookValidator,\n onAfterLeave: TransitionHookValidator,\n onLeaveCancelled: TransitionHookValidator,\n // appear\n onBeforeAppear: TransitionHookValidator,\n onAppear: TransitionHookValidator,\n onAfterAppear: TransitionHookValidator,\n onAppearCancelled: TransitionHookValidator\n};\nconst BaseTransitionImpl = {\n name: `BaseTransition`,\n props: BaseTransitionPropsValidators,\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n let prevTransitionKey;\n return () => {\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\n if (!children || !children.length) {\n return;\n }\n let child = children[0];\n if (children.length > 1) {\n let hasFound = false;\n for (const c of children) {\n if (c.type !== Comment) {\n if (!!(process.env.NODE_ENV !== \"production\") && hasFound) {\n warn(\n \" can only be used on a single element or component. Use for lists.\"\n );\n break;\n }\n child = c;\n hasFound = true;\n if (!!!(process.env.NODE_ENV !== \"production\"))\n break;\n }\n }\n }\n const rawProps = toRaw(props);\n const { mode } = rawProps;\n if (!!(process.env.NODE_ENV !== \"production\") && mode && mode !== \"in-out\" && mode !== \"out-in\" && mode !== \"default\") {\n warn(`invalid mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n const innerChild = getKeepAliveChild(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n const enterHooks = resolveTransitionHooks(\n innerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(innerChild, enterHooks);\n const oldChild = instance.subTree;\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\n let transitionKeyChanged = false;\n const { getTransitionKey } = innerChild.type;\n if (getTransitionKey) {\n const key = getTransitionKey();\n if (prevTransitionKey === void 0) {\n prevTransitionKey = key;\n } else if (key !== prevTransitionKey) {\n prevTransitionKey = key;\n transitionKeyChanged = true;\n }\n }\n if (oldInnerChild && oldInnerChild.type !== Comment && (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\n const leavingHooks = resolveTransitionHooks(\n oldInnerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(oldInnerChild, leavingHooks);\n if (mode === \"out-in\") {\n state.isLeaving = true;\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n if (instance.update.active !== false) {\n instance.update();\n }\n };\n return emptyPlaceholder(child);\n } else if (mode === \"in-out\" && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(\n state,\n oldInnerChild\n );\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n el._leaveCb = () => {\n earlyRemove();\n el._leaveCb = void 0;\n delete enterHooks.delayedLeave;\n };\n enterHooks.delayedLeave = delayedLeave;\n };\n }\n }\n return child;\n };\n }\n};\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const { leavingVNodes } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = /* @__PURE__ */ Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\nfunction resolveTransitionHooks(vnode, props, state, instance) {\n const {\n appear,\n mode,\n persisted = false,\n onBeforeEnter,\n onEnter,\n onAfterEnter,\n onEnterCancelled,\n onBeforeLeave,\n onLeave,\n onAfterLeave,\n onLeaveCancelled,\n onBeforeAppear,\n onAppear,\n onAfterAppear,\n onAppearCancelled\n } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook && callWithAsyncErrorHandling(\n hook,\n instance,\n 9,\n args\n );\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if (isArray(hook)) {\n if (hook.every((hook2) => hook2.length <= 1))\n done();\n } else if (hook.length <= 1) {\n done();\n }\n };\n const hooks = {\n mode,\n persisted,\n beforeEnter(el) {\n let hook = onBeforeEnter;\n if (!state.isMounted) {\n if (appear) {\n hook = onBeforeAppear || onBeforeEnter;\n } else {\n return;\n }\n }\n if (el._leaveCb) {\n el._leaveCb(\n true\n /* cancelled */\n );\n }\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el._leaveCb) {\n leavingVNode.el._leaveCb();\n }\n callHook(hook, [el]);\n },\n enter(el) {\n let hook = onEnter;\n let afterHook = onAfterEnter;\n let cancelHook = onEnterCancelled;\n if (!state.isMounted) {\n if (appear) {\n hook = onAppear || onEnter;\n afterHook = onAfterAppear || onAfterEnter;\n cancelHook = onAppearCancelled || onEnterCancelled;\n } else {\n return;\n }\n }\n let called = false;\n const done = el._enterCb = (cancelled) => {\n if (called)\n return;\n called = true;\n if (cancelled) {\n callHook(cancelHook, [el]);\n } else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el._enterCb = void 0;\n };\n if (hook) {\n callAsyncHook(hook, [el, done]);\n } else {\n done();\n }\n },\n leave(el, remove) {\n const key2 = String(vnode.key);\n if (el._enterCb) {\n el._enterCb(\n true\n /* cancelled */\n );\n }\n if (state.isUnmounting) {\n return remove();\n }\n callHook(onBeforeLeave, [el]);\n let called = false;\n const done = el._leaveCb = (cancelled) => {\n if (called)\n return;\n called = true;\n remove();\n if (cancelled) {\n callHook(onLeaveCancelled, [el]);\n } else {\n callHook(onAfterLeave, [el]);\n }\n el._leaveCb = void 0;\n if (leavingVNodesCache[key2] === vnode) {\n delete leavingVNodesCache[key2];\n }\n };\n leavingVNodesCache[key2] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n } else {\n done();\n }\n },\n clone(vnode2) {\n return resolveTransitionHooks(vnode2, props, state, instance);\n }\n };\n return hooks;\n}\nfunction emptyPlaceholder(vnode) {\n if (isKeepAlive(vnode)) {\n vnode = cloneVNode(vnode);\n vnode.children = null;\n return vnode;\n }\n}\nfunction getKeepAliveChild(vnode) {\n return isKeepAlive(vnode) ? vnode.children ? vnode.children[0] : void 0 : vnode;\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 && vnode.component) {\n setTransitionHooks(vnode.component.subTree, hooks);\n } else if (vnode.shapeFlag & 128) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n } else {\n vnode.transition = hooks;\n }\n}\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\n let ret = [];\n let keyedFragmentCount = 0;\n for (let i = 0; i < children.length; i++) {\n let child = children[i];\n const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i);\n if (child.type === Fragment) {\n if (child.patchFlag & 128)\n keyedFragmentCount++;\n ret = ret.concat(\n getTransitionRawChildren(child.children, keepComment, key)\n );\n } else if (keepComment || child.type !== Comment) {\n ret.push(key != null ? cloneVNode(child, { key }) : child);\n }\n }\n if (keyedFragmentCount > 1) {\n for (let i = 0; i < ret.length; i++) {\n ret[i].patchFlag = -2;\n }\n }\n return ret;\n}\n\nfunction defineComponent(options, extraOptions) {\n return isFunction(options) ? (\n // #8326: extend call and options.name access are considered side-effects\n // by Rollup, so we have to wrap it in a pure-annotated IIFE.\n /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()\n ) : options;\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\nfunction defineAsyncComponent(source) {\n if (isFunction(source)) {\n source = { loader: source };\n }\n const {\n loader,\n loadingComponent,\n errorComponent,\n delay = 200,\n timeout,\n // undefined = never times out\n suspensible = true,\n onError: userOnError\n } = source;\n let pendingRequest = null;\n let resolvedComp;\n let retries = 0;\n const retry = () => {\n retries++;\n pendingRequest = null;\n return load();\n };\n const load = () => {\n let thisRequest;\n return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {\n err = err instanceof Error ? err : new Error(String(err));\n if (userOnError) {\n return new Promise((resolve, reject) => {\n const userRetry = () => resolve(retry());\n const userFail = () => reject(err);\n userOnError(err, userRetry, userFail, retries + 1);\n });\n } else {\n throw err;\n }\n }).then((comp) => {\n if (thisRequest !== pendingRequest && pendingRequest) {\n return pendingRequest;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && !comp) {\n warn(\n `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`\n );\n }\n if (comp && (comp.__esModule || comp[Symbol.toStringTag] === \"Module\")) {\n comp = comp.default;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && comp && !isObject(comp) && !isFunction(comp)) {\n throw new Error(`Invalid async component load result: ${comp}`);\n }\n resolvedComp = comp;\n return comp;\n }));\n };\n return defineComponent({\n name: \"AsyncComponentWrapper\",\n __asyncLoader: load,\n get __asyncResolved() {\n return resolvedComp;\n },\n setup() {\n const instance = currentInstance;\n if (resolvedComp) {\n return () => createInnerComp(resolvedComp, instance);\n }\n const onError = (err) => {\n pendingRequest = null;\n handleError(\n err,\n instance,\n 13,\n !errorComponent\n /* do not throw in dev if user provided error component */\n );\n };\n if (suspensible && instance.suspense || isInSSRComponentSetup) {\n return load().then((comp) => {\n return () => createInnerComp(comp, instance);\n }).catch((err) => {\n onError(err);\n return () => errorComponent ? createVNode(errorComponent, {\n error: err\n }) : null;\n });\n }\n const loaded = ref(false);\n const error = ref();\n const delayed = ref(!!delay);\n if (delay) {\n setTimeout(() => {\n delayed.value = false;\n }, delay);\n }\n if (timeout != null) {\n setTimeout(() => {\n if (!loaded.value && !error.value) {\n const err = new Error(\n `Async component timed out after ${timeout}ms.`\n );\n onError(err);\n error.value = err;\n }\n }, timeout);\n }\n load().then(() => {\n loaded.value = true;\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\n queueJob(instance.parent.update);\n }\n }).catch((err) => {\n onError(err);\n error.value = err;\n });\n return () => {\n if (loaded.value && resolvedComp) {\n return createInnerComp(resolvedComp, instance);\n } else if (error.value && errorComponent) {\n return createVNode(errorComponent, {\n error: error.value\n });\n } else if (loadingComponent && !delayed.value) {\n return createVNode(loadingComponent);\n }\n };\n }\n });\n}\nfunction createInnerComp(comp, parent) {\n const { ref: ref2, props, children, ce } = parent.vnode;\n const vnode = createVNode(comp, props, children);\n vnode.ref = ref2;\n vnode.ce = ce;\n delete parent.vnode.ce;\n return vnode;\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\nconst KeepAliveImpl = {\n name: `KeepAlive`,\n // Marker for special handling inside the renderer. We are not using a ===\n // check directly on KeepAlive in the renderer, because importing it directly\n // would prevent it from being tree-shaken.\n __isKeepAlive: true,\n props: {\n include: [String, RegExp, Array],\n exclude: [String, RegExp, Array],\n max: [String, Number]\n },\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const sharedContext = instance.ctx;\n if (!sharedContext.renderer) {\n return () => {\n const children = slots.default && slots.default();\n return children && children.length === 1 ? children[0] : children;\n };\n }\n const cache = /* @__PURE__ */ new Map();\n const keys = /* @__PURE__ */ new Set();\n let current = null;\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n instance.__v_cache = cache;\n }\n const parentSuspense = instance.suspense;\n const {\n renderer: {\n p: patch,\n m: move,\n um: _unmount,\n o: { createElement }\n }\n } = sharedContext;\n const storageContainer = createElement(\"div\");\n sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {\n const instance2 = vnode.component;\n move(vnode, container, anchor, 0, parentSuspense);\n patch(\n instance2.vnode,\n vnode,\n container,\n anchor,\n instance2,\n parentSuspense,\n isSVG,\n vnode.slotScopeIds,\n optimized\n );\n queuePostRenderEffect(() => {\n instance2.isDeactivated = false;\n if (instance2.a) {\n invokeArrayFns(instance2.a);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n sharedContext.deactivate = (vnode) => {\n const instance2 = vnode.component;\n move(vnode, storageContainer, null, 1, parentSuspense);\n queuePostRenderEffect(() => {\n if (instance2.da) {\n invokeArrayFns(instance2.da);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n instance2.isDeactivated = true;\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n function unmount(vnode) {\n resetShapeFlag(vnode);\n _unmount(vnode, instance, parentSuspense, true);\n }\n function pruneCache(filter) {\n cache.forEach((vnode, key) => {\n const name = getComponentName(vnode.type);\n if (name && (!filter || !filter(name))) {\n pruneCacheEntry(key);\n }\n });\n }\n function pruneCacheEntry(key) {\n const cached = cache.get(key);\n if (!current || !isSameVNodeType(cached, current)) {\n unmount(cached);\n } else if (current) {\n resetShapeFlag(current);\n }\n cache.delete(key);\n keys.delete(key);\n }\n watch(\n () => [props.include, props.exclude],\n ([include, exclude]) => {\n include && pruneCache((name) => matches(include, name));\n exclude && pruneCache((name) => !matches(exclude, name));\n },\n // prune post-render after `current` has been updated\n { flush: \"post\", deep: true }\n );\n let pendingCacheKey = null;\n const cacheSubtree = () => {\n if (pendingCacheKey != null) {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }\n };\n onMounted(cacheSubtree);\n onUpdated(cacheSubtree);\n onBeforeUnmount(() => {\n cache.forEach((cached) => {\n const { subTree, suspense } = instance;\n const vnode = getInnerChild(subTree);\n if (cached.type === vnode.type && cached.key === vnode.key) {\n resetShapeFlag(vnode);\n const da = vnode.component.da;\n da && queuePostRenderEffect(da, suspense);\n return;\n }\n unmount(cached);\n });\n });\n return () => {\n pendingCacheKey = null;\n if (!slots.default) {\n return null;\n }\n const children = slots.default();\n const rawVNode = children[0];\n if (children.length > 1) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`KeepAlive should contain exactly one component child.`);\n }\n current = null;\n return children;\n } else if (!isVNode(rawVNode) || !(rawVNode.shapeFlag & 4) && !(rawVNode.shapeFlag & 128)) {\n current = null;\n return rawVNode;\n }\n let vnode = getInnerChild(rawVNode);\n const comp = vnode.type;\n const name = getComponentName(\n isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : comp\n );\n const { include, exclude, max } = props;\n if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {\n current = vnode;\n return rawVNode;\n }\n const key = vnode.key == null ? comp : vnode.key;\n const cachedVNode = cache.get(key);\n if (vnode.el) {\n vnode = cloneVNode(vnode);\n if (rawVNode.shapeFlag & 128) {\n rawVNode.ssContent = vnode;\n }\n }\n pendingCacheKey = key;\n if (cachedVNode) {\n vnode.el = cachedVNode.el;\n vnode.component = cachedVNode.component;\n if (vnode.transition) {\n setTransitionHooks(vnode, vnode.transition);\n }\n vnode.shapeFlag |= 512;\n keys.delete(key);\n keys.add(key);\n } else {\n keys.add(key);\n if (max && keys.size > parseInt(max, 10)) {\n pruneCacheEntry(keys.values().next().value);\n }\n }\n vnode.shapeFlag |= 256;\n current = vnode;\n return isSuspense(rawVNode.type) ? rawVNode : vnode;\n };\n }\n};\nconst KeepAlive = KeepAliveImpl;\nfunction matches(pattern, name) {\n if (isArray(pattern)) {\n return pattern.some((p) => matches(p, name));\n } else if (isString(pattern)) {\n return pattern.split(\",\").includes(name);\n } else if (isRegExp(pattern)) {\n return pattern.test(name);\n }\n return false;\n}\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\", target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\", target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n const wrappedHook = hook.__wdc || (hook.__wdc = () => {\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n const injected = injectHook(\n type,\n hook,\n keepAliveRoot,\n true\n /* prepend */\n );\n onUnmounted(() => {\n remove(keepAliveRoot[type], injected);\n }, target);\n}\nfunction resetShapeFlag(vnode) {\n vnode.shapeFlag &= ~256;\n vnode.shapeFlag &= ~512;\n}\nfunction getInnerChild(vnode) {\n return vnode.shapeFlag & 128 ? vnode.ssContent : vnode;\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n const hooks = target[type] || (target[type] = []);\n const wrappedHook = hook.__weh || (hook.__weh = (...args) => {\n if (target.isUnmounted) {\n return;\n }\n pauseTracking();\n setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n unsetCurrentInstance();\n resetTracking();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n } else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, \"\"));\n warn(\n `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` )\n );\n }\n}\nconst createHook = (lifecycle) => (hook, target = currentInstance) => (\n // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\n (!isInSSRComponentSetup || lifecycle === \"sp\") && injectHook(lifecycle, (...args) => hook(...args), target)\n);\nconst onBeforeMount = createHook(\"bm\");\nconst onMounted = createHook(\"m\");\nconst onBeforeUpdate = createHook(\"bu\");\nconst onUpdated = createHook(\"u\");\nconst onBeforeUnmount = createHook(\"bum\");\nconst onUnmounted = createHook(\"um\");\nconst onServerPrefetch = createHook(\"sp\");\nconst onRenderTriggered = createHook(\n \"rtg\"\n);\nconst onRenderTracked = createHook(\n \"rtc\"\n);\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\", hook, target);\n}\n\nconst COMPONENTS = \"components\";\nconst DIRECTIVES = \"directives\";\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = Symbol.for(\"v-ndc\");\nfunction resolveDynamicComponent(component) {\n if (isString(component)) {\n return resolveAsset(COMPONENTS, component, false) || component;\n } else {\n return component || NULL_DYNAMIC_COMPONENT;\n }\n}\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n if (type === COMPONENTS) {\n const selfName = getComponentName(\n Component,\n false\n /* do not include inferred name to avoid breaking existing code */\n );\n if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {\n return Component;\n }\n }\n const res = (\n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) || // global registration\n resolve(instance.appContext[type], name)\n );\n if (!res && maybeSelfReference) {\n return Component;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && warnMissing && !res) {\n const extra = type === COMPONENTS ? `\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;\n warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`\n );\n }\n}\nfunction resolve(registry, name) {\n return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);\n}\n\nfunction renderList(source, renderItem, cache, index) {\n let ret;\n const cached = cache && cache[index];\n if (isArray(source) || isString(source)) {\n ret = new Array(source.length);\n for (let i = 0, l = source.length; i < l; i++) {\n ret[i] = renderItem(source[i], i, void 0, cached && cached[i]);\n }\n } else if (typeof source === \"number\") {\n if (!!(process.env.NODE_ENV !== \"production\") && !Number.isInteger(source)) {\n warn(`The v-for range expect an integer value but got ${source}.`);\n }\n ret = new Array(source);\n for (let i = 0; i < source; i++) {\n ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);\n }\n } else if (isObject(source)) {\n if (source[Symbol.iterator]) {\n ret = Array.from(\n source,\n (item, i) => renderItem(item, i, void 0, cached && cached[i])\n );\n } else {\n const keys = Object.keys(source);\n ret = new Array(keys.length);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n ret[i] = renderItem(source[key], key, i, cached && cached[i]);\n }\n }\n } else {\n ret = [];\n }\n if (cache) {\n cache[index] = ret;\n }\n return ret;\n}\n\nfunction createSlots(slots, dynamicSlots) {\n for (let i = 0; i < dynamicSlots.length; i++) {\n const slot = dynamicSlots[i];\n if (isArray(slot)) {\n for (let j = 0; j < slot.length; j++) {\n slots[slot[j].name] = slot[j].fn;\n }\n } else if (slot) {\n slots[slot.name] = slot.key ? (...args) => {\n const res = slot.fn(...args);\n if (res)\n res.key = slot.key;\n return res;\n } : slot.fn;\n }\n }\n return slots;\n}\n\nfunction renderSlot(slots, name, props = {}, fallback, noSlotted) {\n if (currentRenderingInstance.isCE || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.isCE) {\n if (name !== \"default\")\n props.name = name;\n return createVNode(\"slot\", props, fallback && fallback());\n }\n let slot = slots[name];\n if (!!(process.env.NODE_ENV !== \"production\") && slot && slot.length > 1) {\n warn(\n `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.`\n );\n slot = () => [];\n }\n if (slot && slot._c) {\n slot._d = false;\n }\n openBlock();\n const validSlotContent = slot && ensureValidVNode(slot(props));\n const rendered = createBlock(\n Fragment,\n {\n key: props.key || // slot content array of a dynamic conditional slot may have a branch\n // key attached in the `createSlots` helper, respect that\n validSlotContent && validSlotContent.key || `_${name}`\n },\n validSlotContent || (fallback ? fallback() : []),\n validSlotContent && slots._ === 1 ? 64 : -2\n );\n if (!noSlotted && rendered.scopeId) {\n rendered.slotScopeIds = [rendered.scopeId + \"-s\"];\n }\n if (slot && slot._c) {\n slot._d = true;\n }\n return rendered;\n}\nfunction ensureValidVNode(vnodes) {\n return vnodes.some((child) => {\n if (!isVNode(child))\n return true;\n if (child.type === Comment)\n return false;\n if (child.type === Fragment && !ensureValidVNode(child.children))\n return false;\n return true;\n }) ? vnodes : null;\n}\n\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if (!!(process.env.NODE_ENV !== \"production\") && !isObject(obj)) {\n warn(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];\n }\n return ret;\n}\n\nconst getPublicInstance = (i) => {\n if (!i)\n return null;\n if (isStatefulComponent(i))\n return getExposeProxy(i) || i.proxy;\n return getPublicInstance(i.parent);\n};\nconst publicPropertiesMap = (\n // Move PURE marker to new line to workaround compiler discarding it\n // due to type annotation\n /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {\n $: (i) => i,\n $el: (i) => i.vnode.el,\n $data: (i) => i.data,\n $props: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.props) : i.props,\n $attrs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.attrs) : i.attrs,\n $slots: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.slots) : i.slots,\n $refs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.refs) : i.refs,\n $parent: (i) => getPublicInstance(i.parent),\n $root: (i) => getPublicInstance(i.root),\n $emit: (i) => i.emit,\n $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type,\n $forceUpdate: (i) => i.f || (i.f = () => queueJob(i.update)),\n $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)),\n $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP\n })\n);\nconst isReservedPrefix = (key) => key === \"_\" || key === \"$\";\nconst hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);\nconst PublicInstanceProxyHandlers = {\n get({ _: instance }, key) {\n const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\n if (!!(process.env.NODE_ENV !== \"production\") && key === \"__isVue\") {\n return true;\n }\n let normalizedProps;\n if (key[0] !== \"$\") {\n const n = accessCache[key];\n if (n !== void 0) {\n switch (n) {\n case 1 /* SETUP */:\n return setupState[key];\n case 2 /* DATA */:\n return data[key];\n case 4 /* CONTEXT */:\n return ctx[key];\n case 3 /* PROPS */:\n return props[key];\n }\n } else if (hasSetupBinding(setupState, key)) {\n accessCache[key] = 1 /* SETUP */;\n return setupState[key];\n } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\n accessCache[key] = 2 /* DATA */;\n return data[key];\n } else if (\n // only cache other properties when instance has declared (thus stable)\n // props\n (normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)\n ) {\n accessCache[key] = 3 /* PROPS */;\n return props[key];\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\n accessCache[key] = 0 /* OTHER */;\n }\n }\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n if (publicGetter) {\n if (key === \"$attrs\") {\n track(instance, \"get\", key);\n !!(process.env.NODE_ENV !== \"production\") && markAttrsAccessed();\n } else if (!!(process.env.NODE_ENV !== \"production\") && key === \"$slots\") {\n track(instance, \"get\", key);\n }\n return publicGetter(instance);\n } else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) && (cssModule = cssModule[key])\n ) {\n return cssModule;\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (\n // global properties\n globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)\n ) {\n {\n return globalProperties[key];\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf(\"__v\") !== 0)) {\n if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {\n warn(\n `Property ${JSON.stringify(\n key\n )} must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.`\n );\n } else if (instance === currentRenderingInstance) {\n warn(\n `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`\n );\n }\n }\n },\n set({ _: instance }, key, value) {\n const { data, setupState, ctx } = instance;\n if (hasSetupBinding(setupState, key)) {\n setupState[key] = value;\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\") && setupState.__isScriptSetup && hasOwn(setupState, key)) {\n warn(`Cannot mutate