Repository navigation
Expand file tree
/
Copy pathNote_Obj.js
More file actions
8 lines (8 loc) · 234 KB
/
Copy pathNote_Obj.js
File metadata and controls
8 lines (8 loc) · 234 KB
1
2
3
4
5
6
7
8
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.note-obj-search-expand-box{bottom:0;right:0;height:80px;width:100px;position:fixed;display:block;z-index:99998}.note-obj-search-expand-box:hover .note-obj-search-expand-span{right:25px;opacity:1}.note-obj-search-expand-span{border-radius:99px;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:24px;height:38px;width:38px;line-height:100%;margin:5px 0;opacity:.8;text-align:center;z-index:99999;-webkit-user-select:none;user-select:none;position:absolute;bottom:15px;right:-30px;border:1px solid #00a1d6;transition:all .5s;color:#00a1d6}.note-obj-search-expand-span:hover{box-shadow:0 0 5px 2px #037297}.note-obj-add-frame-presentation{display:flex;position:fixed;background-color:#00000080;top:0;bottom:0;left:0;right:0;z-index:100001;align-items:center;justify-content:center}.note-obj-add-frame-dialog{position:relative;width:400px;border-radius:12px;display:flex;flex-direction:column;border:0px solid #000000;box-shadow:0 1px 10px #000c;background-color:var(--note-obj-new-dialog)}.note-obj-add-frame-dialog button{min-height:48px;cursor:pointer;background-color:#0000;color:var(--note-obj-input-value);border:1px solid var(--note-obj-add-info)}.note-obj-add-frame-dialog button:hover{color:#1da1f2}.note-obj-add-frame-user-info{min-height:48px;text-align:center;color:#1da1f2;font-weight:700;background-color:#0000;border-top-left-radius:12px;border-top-right-radius:12px;white-space:normal;cursor:text;-webkit-user-select:text;user-select:text;line-height:24px;overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;border:1px solid var(--note-obj-add-info)}.note-obj-add-frame-user-id,.note-obj-add-frame-user-name{margin:5px;display:block}.note-obj-add-frame-input{min-height:32px;margin:5px;border:1px solid rgba(29,161,242,.1);padding-left:5px;background-color:var(--note-obj-add-input-background);color:var(--note-obj-input-value)}.note-obj-add-frame-button-bottom{border-bottom-left-radius:12px;border-bottom-right-radius:12px}.note-obj-search-frame-tags-list-item-highlight{background-color:#69c}.note-obj-search-frame-tags-item-text{display:inline-block;cursor:pointer;height:25px;line-height:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;-webkit-user-select:none;user-select:none;color:var(--note-obj-input-value)}.note-obj-search-frame-presentation{display:flex;position:fixed;background-color:#00000080;top:0;bottom:0;left:0;right:0;z-index:100000;align-items:center;justify-content:center}.note-obj-search-frame-dialog{position:relative;bottom:25%}.note-obj-search-frame-input{width:350px;height:40px;border-radius:40px;padding:0 20px;position:relative;outline:none;box-sizing:content-box;background-color:var(--note-obj-search-background);color:var(--note-obj-input-value);border:2px solid var(--note-obj-border)}.note-obj-search-frame-close-btn{position:absolute;right:2px;top:10px;z-index:100000;height:24px;width:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:20px;color:#666}.note-obj-search-frame-index-trapezoid{display:block;position:absolute;z-index:100000;left:20px;top:-25px;height:0px;width:350px;background:transparent;border-top:0px solid transparent;border-left:25px solid transparent;border-right:25px solid transparent;padding:0;margin:0;text-align:center;box-sizing:border-box;border-bottom:25px solid var(--note-obj-search-background)}.note-obj-search-frame-index-value{height:25px;line-height:25px;color:var(--note-obj-input-value)}.note-obj-search-frame-tags-list{top:44px;left:20px;width:350px;max-height:250px;overflow-y:scroll;text-align:left;display:block;margin:0;padding:0;position:absolute;z-index:100000;border:1px solid rgba(29,161,242,.1);list-style:none;background-color:var(--note-obj-search-background)}.note-obj-search-frame-tags-list li,.note-obj-search-frame-tags-list a,.note-obj-search-frame-tags-list a:visited{cursor:pointer;padding-left:5px;height:25px;line-height:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;text-decoration:none}.note-obj-frame-tool-button{border-radius:5px;text-align:center;cursor:pointer;color:#fff;padding:2px 5px;-webkit-user-select:none;user-select:none;background-color:#369;border:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-obj-frame-tool-button[disabled]{cursor:not-allowed;box-shadow:none;opacity:.65}.note-obj-frame-tool-button:not([disabled]):hover{background-color:#47a;box-shadow:0 0 5px #47a}.note-obj-frame-window-button{border-radius:5px;text-align:center;cursor:pointer;color:#fff;padding:5px 10px;-webkit-user-select:none;user-select:none;border:none}.note-obj-frame-window-save-button{background-color:#009688}.note-obj-frame-window-save-button:not([disabled]):hover{background-color:#0dafa0;box-shadow:0 0 5px #0dafa0}.note-obj-frame-window-cancel-button{background-color:var(--note-obj-cancel-content)}.note-obj-frame-window-cancel-button:not([disabled]):hover{background-color:var(--note-obj-cancel-content-hover);box-shadow:0 0 5px 0 var(--note-obj-cancel-content-hover)}.note-obj-frame-window-button[disabled]{cursor:not-allowed;box-shadow:none;opacity:.65}.note-obj-management-frame-presentation{z-index:100002}.note-obj-management-frame-dialog{width:800px}.note-obj-management-frame-content table{width:760px}.note-obj-management-frame-content table tr th:nth-of-type(1),.note-obj-management-frame-content table tr td:nth-of-type(1){width:5%}.note-obj-management-frame-content table tr th:nth-of-type(2),.note-obj-management-frame-content table tr td:nth-of-type(2){width:15%}.note-obj-management-frame-content table tr th:nth-of-type(3),.note-obj-management-frame-content table tr td:nth-of-type(3){width:20%}.note-obj-management-frame-content table tr th:nth-of-type(4),.note-obj-management-frame-content table tr td:nth-of-type(4){width:26}.note-obj-management-frame-content table tr th:nth-of-type(5),.note-obj-management-frame-content table tr td:nth-of-type(5){width:20%}.note-obj-management-frame-content table tr th:nth-of-type(6),.note-obj-management-frame-content table tr td:nth-of-type(6){width:7%}.note-obj-management-frame-content table tr th:nth-of-type(7),.note-obj-management-frame-content table tr td:nth-of-type(7){width:7%}.note-obj-management-frame-item-a,.note-obj-management-frame-item-a:visited{color:#40a9ff;text-decoration:none;cursor:pointer}.note-obj-management-frame-group-item{display:block;text-align:center;cursor:pointer;border-radius:0;text-overflow:ellipsis;overflow:hidden;padding:0 5px;height:25px}.note-obj-management-frame-item-input-tag{width:100%;height:100%;border:0px;text-align:center;margin:0;padding:0;background-color:var(--note-obj-input-background);color:var(--note-obj-input-value)}.note-obj-management-frame-item-input-edit{caret-color:#393;color:var(--note-obj-input-edit)}.note-obj-group-frame-presentation{z-index:100003}.note-obj-group-frame-dialog{width:750px}.note-obj-group-frame-content table{width:710px}.note-obj-group-frame-content table tr th:nth-of-type(1),.note-obj-group-frame-content table tr td:nth-of-type(1){width:5%}.note-obj-group-frame-content table tr th:nth-of-type(2),.note-obj-group-frame-content table tr td:nth-of-type(2){width:31%}.note-obj-group-frame-content table tr th:nth-of-type(3),.note-obj-group-frame-content table tr td:nth-of-type(3){width:20%}.note-obj-group-frame-content table tr th:nth-of-type(4),.note-obj-group-frame-content table tr td:nth-of-type(4){width:20%}.note-obj-group-frame-content table tr th:nth-of-type(5),.note-obj-group-frame-content table tr td:nth-of-type(5){width:10%}.note-obj-group-frame-content table tr th:nth-of-type(6),.note-obj-group-frame-content table tr td:nth-of-type(6){width:7%}.note-obj-group-frame-content table tr th:nth-of-type(7),.note-obj-group-frame-content table tr td:nth-of-type(7){width:7%}.note-obj-group-frame-item-input-value{width:100%;height:100%;border:0px;text-align:center;margin:0;padding:0;background-color:var(--note-obj-input-background);color:var(--note-obj-input-value)}.note-obj-select-group-frame-presentation{display:flex;position:fixed;background-color:#000000b3;top:0;bottom:0;left:0;right:0;z-index:100004;align-items:center;justify-content:center}.note-obj-select-group-frame-dialog{position:relative;width:350px;border:3px solid #614343;border-radius:15px;display:flex;flex-direction:column;background-color:var(--note-obj-select-dialog)}.note-obj-select-group-frame-header{margin-top:10px;align-items:center;text-align:center}.note-obj-select-group-frame-header-text{font-weight:700;color:var(--note-obj-input-value)}.note-obj-select-group-frame-content{display:block;text-align:center;margin:25px 20px;white-space:pre-wrap;max-height:400px;overflow:auto;color:var(--note-obj-input-value)}.note-obj-select-group-frame-footer{color:#fff;display:inline-block;text-align:center;margin-bottom:20px}.note-obj-select-group-frame-footer span{cursor:pointer;margin:0 25px;border:1px solid #666666;border-radius:5px;padding:5px 10px;background-color:#333;-webkit-user-select:none;user-select:none}.note-obj-select-group-frame-footer span:hover{background-color:#666;box-shadow:0 0 5px #666}.note-obj-select-group-frame-group-item{border-radius:99px;cursor:pointer;margin:2px 0;text-overflow:ellipsis;overflow:hidden;white-space:nowarp;display:block;padding:2px 10px}.note-obj-new-group-frame-presentation{display:flex;position:fixed;background-color:#000c;top:0;bottom:0;left:0;right:0;z-index:100005;align-items:center;justify-content:center}.note-obj-new-group-frame-dialog{position:relative;width:400px;border-radius:12px;display:flex;flex-direction:column;border:3px solid #614343;box-shadow:0 1px 10px #000c;background-color:var(--note-obj-new-dialog)}.note-obj-new-group-frame-color-label,.note-obj-new-group-frame-dialog button{min-height:48px;background-color:#0000;color:var(--note-obj-input-value);border:1px solid var(--note-obj-add-info)}.note-obj-new-group-frame-color-label{text-align:center;align-items:center;line-height:48px;display:block}.note-obj-new-group-frame-color-label input[type=color]{cursor:pointer;margin-left:10px}.note-obj-new-group-frame-color-label input[type=number]{margin-left:10px}.note-obj-new-group-frame-dialog button{cursor:pointer;text-align:center}.note-obj-new-group-frame-dialog button:hover{color:#1da1f2}.note-obj-new-group-frame-button-bottom{border-bottom-left-radius:12px;border-bottom-right-radius:12px}.note-obj-popver-frame-dialog{position:absolute;max-width:300px;min-width:200px;top:0;left:0;display:block;background-clip:padding-box;border:1px solid rgba(0,0,0,.1);border-radius:6px;box-shadow:-5px 5px 10px #0003;white-space:nowrap;text-overflow:ellipsis;padding:1px;z-index:9999;background-color:var(--note-obj-popver-background);color:var(--note-obj-input-value)}.note-obj-popover-frame-header{text-align:center;padding:5px 10px;font-weight:700;border-radius:5px 5px 0 0;margin:0;background-color:var(--note-obj-popover-header-background);border-bottom:1px solid var(--note-obj-popover-header-border)}.note-obj-popover-frame-content{padding:0 1px;max-height:405px;overflow:auto;text-align:left}.note-obj-popover-frame-item,.note-obj-popover-frame-item-deepen{height:25px;cursor:pointer;padding:2px 5px;font-size:14px;line-height:150%;margin:0;display:block;text-decoration:none;color:var(--note-obj-popover-frame)}.note-obj-popover-frame-item{background-color:var(--note-obj-popover-frame-background)}.note-obj-popover-frame-item-deepen{background-color:var(--note-obj-popover-frame-deepen-background)}.note-obj-popover-frame-arrow{border-color:transparent;border-left-width:0px;border-right-color:#00000040;left:-20px;border-width:10px;position:absolute;display:block;width:0px;height:0px;border-style:solid;box-sizing:border-box;top:30px}.note-obj-popover-frame-arrow:after{content:"";left:1px;border-width:9px;border-color:transparent;border-left-width:0px;margin-top:-9px;display:block;width:0px;height:0px;border-style:solid;position:absolute;box-sizing:border-box;border-right-color:var(--note-obj-popver-background)}.note-obj-settings-frame-header-icon{width:16px;height:16px;position:absolute;right:10px;top:10px;transition:transform .5s;color:var(--note-obj-input-value)}.note-obj-settings-frame-header-icon-romote{transform:rotate(90deg)}.note-obj-setttings-frame-before-input-text{white-space:nowrap}.note-obj-settings-frame-component-package-input-text{max-width:250px}.note-obj-settings-divider{display:flex;align-items:center;text-align:center;white-space:nowrap;clear:both;margin:15px 10px;padding:0;background:none;border-width:1px 0 0 0;border-color:var(--note-obj-settings-divider-border);color:var(--note-obj-settings-divider)}.note-obj-settings-divider.note-obj-settings-divider-inner-text{border-width:0}.note-obj-settings-divider.note-obj-settings-divider-inner-text:before,.note-obj-settings-divider.note-obj-settings-divider-inner-text:after{position:relative;width:50%;border-block-start:1px solid transparent;border-block-start-color:inherit;border-block-end:0;transform:translateY(50%);content:""}.note-obj-settings-divider.note-obj-settings-divider-inner-text:before{margin-right:5px}.note-obj-settings-divider.note-obj-settings-divider-inner-text:after{margin-left:5px}.note-obj-settings-divider-solid{border-style:solid}.note-obj-settings-divider-dashed{border-style:dashed}.note-obj-settings-frame-presentation{display:flex;position:fixed;background-color:#000c;top:0;bottom:0;left:0;right:0;z-index:100006;align-items:center;justify-content:center}.note-obj-settings-frame-card-enter-active,.note-obj-settings-frame-card-leave-active{transition:all .5s ease}.note-obj-settings-frame-card-enter-from,.note-obj-settings-frame-card-leave-to{transform:translate(-100%);opacity:0}.note-obj-settings-frame-card{display:flex;flex-direction:column;width:450px;max-width:100%;max-height:100%;margin:0;position:absolute;left:0;top:0;bottom:0;border:0px;border-radius:0;box-shadow:0 1px 4px #0003;background-color:var(--note-obj-new-dialog);color:var(--note-obj-input-value)}.note-obj-settings-frame-header{padding:16px;display:block;border-bottom:2px solid var(--note-obj-settings-border)}.note-obj-settings-frame-headline{font-size:16px;font-weight:700;float:left;line-height:100%}.note-obj-settings-frame-close-btn{width:24px;height:24px;float:right;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:24px;color:#666}.note-obj-settings-frame-body{overflow:auto;display:block;padding:20px;flex-grow:1;flex-shrink:1}.note-obj-settings-frame-body input[type=checkbox],.note-obj-settings-frame-body .note-obj-settings-checkbox-label,.note-obj-settings-frame-body input[type=radio],.note-obj-settings-frame-body .note-obj-settings-radio-label{cursor:pointer}.note-obj-settings-frame-flod{border:1px solid #666666}.note-obj-settings-frame-flod>header{cursor:pointer;min-height:40px;display:flex;position:relative;box-shadow:0 1px 4px #0003;background-color:var(--note-obj-settings-flod)}.note-obj-settings-frame-flod>header>span{font-weight:500;padding:10px;margin:0;border:0;width:100%}.note-obj-settings-frame-content{border:1px solid #333333;margin:10px}.note-obj-settings-frame-content-section{display:flex;flex-direction:row;align-items:center;margin:8px}.note-obj-settings-frame-content-section input[type=text]{margin:0 10px;width:100%;color:#000}.note-obj-settings-frame-content-section a,.note-obj-settings-frame-content-section a:visited{color:#4e8ac5;margin-left:10px;text-decoration:none}.note-obj-settings-frame-content-section p{margin:0 0 0 10px}.note-obj-settings-frame-content-section input[type=checkbox]{clip:rect(0,0,0,0);position:absolute}.note-obj-settings-frame-content-section input[type=checkbox]+label{padding-left:50px;position:relative}.note-obj-settings-frame-content-section input[type=checkbox]+label:before{content:"";position:absolute;left:0;margin-top:1px;border:1px solid #dddddd;border-radius:100px;cursor:pointer;display:inline-block;width:2.5em;height:1em;transition:border .4s,box-shadow .4s;background-color:#fff;border-color:#e9e9e9;box-shadow:0 0 inset #e9e9e9;box-sizing:content-box}.note-obj-settings-frame-content-section input[type=checkbox]+label:after{content:"";cursor:pointer;position:absolute;top:2px;left:0;width:1em;height:1em;transition:background-color .4s,left .2s;border-radius:100px;background-color:#fff;box-shadow:0 1px 3px #0006}.note-obj-settings-frame-content-section input[type=checkbox]:checked+label:before{content:"";position:absolute;left:0;margin-top:1px;border:1px solid #dddddd;border-radius:100px;cursor:pointer;display:inline-block;width:2.5em;height:1em;transition:border .4s,box-shadow .4s,background-color 1.2s;background-color:#3c81df;border-color:#3c81df;box-shadow:0 0 0 12px inset #3c81df;box-sizing:content-box}.note-obj-settings-frame-content-section input[type=checkbox]:checked+label:after{content:"";cursor:pointer;position:absolute;top:2px;left:1.5em;width:1em;height:1em;transition:background-color .4s,left .2s;border-radius:100px;background-color:#fff;box-shadow:0 1px 3px #0006}.note-obj-settings-frame-content-section input[type=radio]{clip:rect(0,0,0,0);position:absolute}.note-obj-settings-frame-content-section input[type=radio]+label{-webkit-user-select:none;user-select:none;white-space:nowrap;padding:3px 5px;color:#fff;background-color:#333}.note-obj-settings-frame-content-section input[type=radio]:checked+label{-webkit-user-select:none;user-select:none;white-space:nowrap;padding:3px 5px;color:#fff;background-color:#3c81df}.note-obj-settings-frame-content-section button{padding:1px 6px;margin:2px 10px;cursor:pointer;background-color:#fff;color:#000}.note-obj-settings-frame-content-section button[disabled]{cursor:not-allowed;background-color:#ccc}.note-obj-settings-frame-center-content{justify-content:center}.note-obj-settings-frame-footer{padding:16px;display:block;position:relative;border-top:2pix solid var(--note-obj-settings-border)}.note-obj-settings-frame-footer button{float:left;padding:2px 5px;margin:0 5px;cursor:pointer;background-color:#fff;color:#000}.note-obj-settings-frame-footer button:hover{background-color:#ddd}.note-obj-webdav-frame-presentation{z-index:100007}.note-obj-frame-dialog.note-obj-webdav-frame-dialog{min-height:480px;width:500px}.note-obj-webdav-frame-content{margin:0 10px;min-height:300px}.note-obj-webdav-frame-title{text-align:center;font-size:1.2em;font-weight:700}.note-obj-webdav-frame-form-item{margin:12px 10px 0}.note-obj-webdav-frame-form-item input{margin-top:5px;width:450px}.note-obj-webdav-frame-form-item select{margin-left:15px;cursor:pointer}.note-obj-vue-module{position:absolute;left:0;top:0}.note-obj-frame-presentation{display:flex;position:fixed;top:0;bottom:0;left:0;right:0;align-items:center;justify-content:center;background-color:#0009}.note-obj-frame-dialog{position:relative;min-height:580px;max-height:600px;border-radius:10px;display:flex;flex-direction:column;font-size:16px;box-shadow:2px 4px 4px #00000040;background-color:var(--note-obj-dialog-backgroud);color:var(--note-obj-font)}.note-obj-frame-header{margin:20px 15px}.note-obj-frame-header input[type=text]{width:25%;padding-left:5px;margin:0 5px;background:var(--note-obj-dialog-input-backgroud);color:var(--note-obj-font)}.note-obj-frame-header select{cursor:pointer;background:var(--note-obj-dialog-input-backgroud);color:var(--note-obj-font)}.note-obj-frame-header select+label{margin-left:5px}.note-obj-frame-show-number{margin:0 5px;float:right}.note-obj-frame-content{margin:0 10px;min-height:420px}.note-obj-frame-content table{border:1px solid #cccccc;text-align:center;table-layout:fixed;border-collapse:collapse}.note-obj-frame-content table tr td,.note-obj-frame-content table tr th{border:1px solid #cccccc;height:25px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;margin:0;text-align:center}.note-obj-frame-content table tr th{font-weight:700}.note-obj-frame-content th input[type=checkbox],.note-obj-frame-content td input[type=checkbox],.note-obj-frame-content td input[type=color]{cursor:pointer}.note-obj-frame-content td input[type=color]{height:20px}.note-obj-frame-content td input[type=number]{width:80%;height:80%}.note-obj-frame-tbody{max-height:391px;overflow:auto}.note-obj-frame-item-btn{cursor:pointer;vertical-align:middle;color:var(--note-obj-item-icon)}.note-obj-frame-tool{display:inline-block;margin:15px 15px 0}.note-obj-frame-tool button{display:inline-block;min-width:50px;max-width:140px;margin-right:15px}.note-obj-frame-footer{display:inline-block;margin:15px}.note-obj-frame-tip-text{margin-left:20px}.note-obj-frame-cancel-content{display:block;float:right}.note-obj-frame-save-content{display:block;float:right;margin-left:20px}.note-obj-new-group-frame-header{min-height:48px;text-align:center;color:#1da1f2;font-weight:700;background-color:#0000;border-top-left-radius:12px;border-top-right-radius:12px;white-space:normal;cursor:text;-webkit-user-select:text;user-select:text;line-height:24px;overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;border:1px solid var(--note-obj-add-info)}.note-obj-new-group-frame-title-text{margin:5px;display:block}.note-obj-new-group-frame-input{min-height:32px;margin:5px;border:1px solid rgba(29,161,242,.1);padding-left:5px;background-color:var(--note-obj-add-input-background);color:var(--note-obj-input-value)}.note-obj-settings-frame-radio-config-text,.note-obj-settings-frame-before-select-text{margin-right:10px}.note-obj-settings-frame-component-package,.note-obj-settings-frame-component-package-input-text{display:flex;flex-flow:row}.note-obj-settings-frame-component-package{max-width:350px}.note-obj-settings-frame-component-package select{cursor:pointer}.note-obj-interface-bright{--note-obj-font: #6200ee;--note-obj-dialog-backgroud: #ffffff;--note-obj-dialog-input-backgroud: #e6f7ff;--note-obj-input-background: #f5f5f5;--note-obj-input-value: #000000;--note-obj-input-edit: #e86c07;--note-obj-item-icon: #2329d6;--note-obj-cancel-content: #5b5b5b;--note-obj-cancel-content-hover: #3b3b3b;--note-obj-popver-background: #ffffff;--note-obj-popover-header-background: #efefef;--note-obj-popover-header-border: #dbdbdb;--note-obj-popover-frame-background: #fafafa;--note-obj-popover-frame: #336699;--note-obj-popover-frame-deepen-background: #f3f3f3;--note-obj-search-background: #f7f7f7;--note-obj-border: #787878;--note-obj-add-info: #efefef;--note-obj-add-input-background: #e8e8e8;--note-obj-select-dialog: #ffffff;--note-obj-new-dialog: #ffffff;--note-obj-settings-border: #cccccc;--note-obj-settings-flod: #dddddd;--note-obj-settings-divider: rgba(0, 0, 0, .9);--note-obj-settings-divider-border: rgba(0, 0, 0, .5)}.note-obj-interface-dark{--note-obj-font: #f2e7fe;--note-obj-dialog-backgroud: #002329;--note-obj-dialog-input-backgroud: #00474f;--note-obj-input-background: #15202b;--note-obj-input-value: #ffffff;--note-obj-input-edit: #ffff33;--note-obj-item-icon: #ffffcc;--note-obj-cancel-content: #333333;--note-obj-cancel-content-hover: #444444;--note-obj-popver-background: #38526d;--note-obj-popover-header-background: rgba(0, 0, 0, .2);--note-obj-popover-header-border: rgba(0, 0, 0, .5);--note-obj-popover-frame-background: rgba(0, 0, 0, .2);--note-obj-popover-frame: #549be2;--note-obj-popover-frame-deepen-background: rgba(0, 0, 0, .3);--note-obj-search-background: #253341;--note-obj-border: #000000;--note-obj-add-info: rgba(0, 0, 0, .5);--note-obj-add-input-background: #253341;--note-obj-select-dialog: #191e23;--note-obj-new-dialog: #15202b;--note-obj-settings-border: #000000;--note-obj-settings-flod: #363636;--note-obj-settings-divider: rgba(255, 255, 255, .9);--note-obj-settings-divider-border: rgba(255, 255, 255, .5)}.note-obj-interface-system{--note-obj-font: #6200ee;--note-obj-dialog-backgroud: #ffffff;--note-obj-dialog-input-backgroud: #e6f7ff;--note-obj-input-background: #f5f5f5;--note-obj-input-value: #000000;--note-obj-input-edit: #e86c07;--note-obj-item-icon: #2329d6;--note-obj-cancel-content: #5b5b5b;--note-obj-cancel-content-hover: #3b3b3b;--note-obj-popver-background: #ffffff;--note-obj-popover-header-background: #efefef;--note-obj-popover-header-border: #dbdbdb;--note-obj-popover-frame-background: #fafafa;--note-obj-popover-frame: #336699;--note-obj-popover-frame-deepen-background: #f3f3f3;--note-obj-search-background: #f7f7f7;--note-obj-border: #787878;--note-obj-add-info: #efefef;--note-obj-add-input-background: #e8e8e8;--note-obj-select-dialog: #ffffff;--note-obj-new-dialog: #ffffff;--note-obj-settings-border: #cccccc;--note-obj-settings-flod: #dddddd;--note-obj-settings-divider: rgba(0, 0, 0, .9);--note-obj-settings-divider-border: rgba(0, 0, 0, .5)}@media(prefers-color-scheme:dark){.note-obj-interface-system{--note-obj-font: #f2e7fe;--note-obj-dialog-backgroud: #002329;--note-obj-dialog-input-backgroud: #00474f;--note-obj-input-background: #15202b;--note-obj-input-value: #ffffff;--note-obj-input-edit: #ffff33;--note-obj-item-icon: #ffffcc;--note-obj-cancel-content: #333333;--note-obj-cancel-content-hover: #444444;--note-obj-popver-background: #38526d;--note-obj-popover-header-background: rgba(0, 0, 0, .2);--note-obj-popover-header-border: rgba(0, 0, 0, .5);--note-obj-popover-frame-background: rgba(0, 0, 0, .2);--note-obj-popover-frame: #549be2;--note-obj-popover-frame-deepen-background: rgba(0, 0, 0, .3);--note-obj-search-background: #253341;--note-obj-border: #000000;--note-obj-add-info: rgba(0, 0, 0, .5);--note-obj-add-input-background: #253341;--note-obj-select-dialog: #191e23;--note-obj-new-dialog: #15202b;--note-obj-settings-border: #000000;--note-obj-settings-flod: #363636;--note-obj-settings-divider: rgba(255, 255, 255, .9);--note-obj-settings-divider-border: rgba(255, 255, 255, .5)}}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
var Ua=Object.defineProperty;var Pa=(e,t,n)=>t in e?Ua(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Tt=(e,t,n)=>Pa(e,typeof t!="symbol"?t+"":t,n);function _r(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ge={},pn=[],Vt=()=>{},ni=()=>!1,ko=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vo=e=>e.startsWith("onUpdate:"),Ne=Object.assign,Cr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Wa=Object.prototype.hasOwnProperty,ve=(e,t)=>Wa.call(e,t),te=Array.isArray,fn=e=>zn(e)==="[object Map]",xn=e=>zn(e)==="[object Set]",Kr=e=>zn(e)==="[object Date]",ae=e=>typeof e=="function",ke=e=>typeof e=="string",Ze=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",oi=e=>(me(e)||ae(e))&&ae(e.then)&&ae(e.catch),ri=Object.prototype.toString,zn=e=>ri.call(e),si=e=>zn(e)==="[object Object]",Do=e=>ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Nn=_r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),No=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ra=/-\w/g,it=No(e=>e.replace(Ra,t=>t.slice(1).toUpperCase())),Ha=/\B([A-Z])/g,It=No(e=>e.replace(Ha,"-$1").toLowerCase()),ii=No(e=>e.charAt(0).toUpperCase()+e.slice(1)),$o=No(e=>e?`on${ii(e)}`:""),Be=(e,t)=>!Object.is(e,t),ao=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ai=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},jo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let zr;const uo=()=>zr||(zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function on(e){if(te(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=ke(o)?za(o):on(o);if(r)for(const s in r)t[s]=r[s]}return t}if(ke(e)||me(e))return e}const Ga=/;(?![^(]*\))/g,$a=/:([^]+)/,Ka=/\/\*[^]*?\*\//g;function za(e){const t={};return e.replace(Ka,"").split(Ga).forEach(n=>{if(n){const o=n.split($a);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function et(e){let t="";if(ke(e))t=e;else if(te(e))for(let n=0;n<e.length;n++){const o=et(e[n]);o&&(t+=o+" ")}else if(me(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const qa=_r("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function li(e){return!!e||e===""}function gn(e,t){if(e===t)return!0;let n=Kr(e),o=Kr(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=Ze(e),o=Ze(t),n||o)return e===t;if(n=te(e),o=te(t),n||o)return!(!n||!o)&&(function(r,s){if(r.length!==s.length)return!1;let l=!0;for(let a=0;l&&a<r.length;a++)l=gn(r[a],s[a]);return l})(e,t);if(n=me(e),o=me(t),n||o){if(!n||!o||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e){const s=e.hasOwnProperty(r),l=t.hasOwnProperty(r);if(s&&!l||!s&&l||!gn(e[r],t[r]))return!1}}return String(e)===String(t)}function Ar(e,t){return e.findIndex(n=>gn(n,t))}const ci=e=>!(!e||e.__v_isRef!==!0),G=e=>ke(e)?e:e==null?"":te(e)||me(e)&&(e.toString===ri||!ae(e.toString))?ci(e)?G(e.value):JSON.stringify(e,ui,2):String(e),ui=(e,t)=>ci(t)?ui(e,t.value):fn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],s)=>(n[Ko(o,s)+" =>"]=r,n),{})}:xn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ko(n))}:Ze(t)?Ko(t):!me(t)||te(t)||si(t)?t:String(t),Ko=(e,t="")=>{var n;return Ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ee,Se;class di{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Ee&&(Ee.active?(this.parent=Ee,this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){let t,n;if(this._isPaused=!0,this.scopes){const o=this.scopes.slice();for(t=0,n=o.length;t<n;t++)o[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,n;if(this._isPaused=!1,this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const o=this.effects.slice();for(t=0,n=o.length;t<n;t++)o[t].resume()}}run(t){if(this._active){const n=Ee;try{return Ee=this,t()}finally{Ee=n}}}on(){++this._on===1&&(this.prevScope=Ee,Ee=this)}off(){if(this._on>0&&--this._on===0){if(Ee===this)Ee=this.prevScope;else{let t=Ee;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){let n,o;for(this._active=!1,n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,o=r.length;n<o;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function pi(e){return new di(e)}function fi(){return Ee}const zo=new WeakSet;class hi{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ee&&(Ee.active?Ee.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,zo.has(this)&&(zo.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||mi(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,qr(this),vi(this);const t=Se,n=ut;Se=this,ut=!0;try{return this.fn()}finally{bi(this),Se=t,ut=n,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)Dr(t);this.deps=this.depsTail=void 0,qr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?zo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ur(this)&&this.run()}get dirty(){return ur(this)}}let jn,En,gi=0;function mi(e,t=!1){if(e.flags|=8,t)return e.next=En,void(En=e);e.next=jn,jn=e}function kr(){gi++}function Vr(){if(--gi>0)return;if(En){let t=En;for(En=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;jn;){let t=jn;for(jn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function vi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function bi(e){let t,n=e.depsTail,o=n;for(;o;){const r=o.prevDep;o.version===-1?(o===n&&(n=r),Dr(o),Ja(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=r}e.deps=t,e.depsTail=n}function ur(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(yi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function yi(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===Pn)||(e.globalVersion=Pn,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!ur(e))))return;e.flags|=2;const t=e.dep,n=Se,o=ut;Se=e,ut=!0;try{vi(e);const r=e.fn(e._value);(t.version===0||Be(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Se=n,ut=o,bi(e),e.flags&=-3}}function Dr(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Dr(s,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function Ja(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ut=!0;const xi=[];function Dt(){xi.push(ut),ut=!1}function Nt(){const e=xi.pop();ut=e===void 0||e}function qr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Se;Se=void 0;try{t()}finally{Se=n}}}let Pn=0;class Xa{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Eo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Se||!ut||Se===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Se)n=this.activeLink=new Xa(Se,this),Se.deps?(n.prevDep=Se.depsTail,Se.depsTail.nextDep=n,Se.depsTail=n):Se.deps=Se.depsTail=n,wi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=Se.depsTail,n.nextDep=void 0,Se.depsTail.nextDep=n,Se.depsTail=n,Se.deps===n&&(Se.deps=o)}return n}trigger(t){this.version++,Pn++,this.notify(t)}notify(t){kr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Vr()}}}function wi(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)wi(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const po=new WeakMap,Zt=Symbol(""),dr=Symbol(""),Wn=Symbol("");function Ue(e,t,n){if(ut&&Se){let o=po.get(e);o||po.set(e,o=new Map);let r=o.get(n);r||(o.set(n,r=new Eo),r.map=o,r.key=n),r.track()}}function At(e,t,n,o,r,s){const l=po.get(e);if(!l)return void Pn++;const a=i=>{i&&i.trigger()};if(kr(),t==="clear")l.forEach(a);else{const i=te(e),c=i&&Do(n);if(i&&n==="length"){const u=Number(o);l.forEach((v,w)=>{(w==="length"||w===Wn||!Ze(w)&&w>=u)&&a(v)})}else switch((n!==void 0||l.has(void 0))&&a(l.get(n)),c&&a(l.get(Wn)),t){case"add":i?c&&a(l.get("length")):(a(l.get(Zt)),fn(e)&&a(l.get(dr)));break;case"delete":i||(a(l.get(Zt)),fn(e)&&a(l.get(dr)));break;case"set":fn(e)&&a(l.get(Zt))}}Vr()}function sn(e){const t=pe(e);return t===e?t:(Ue(t,0,Wn),Ye(e)?t:t.map(dt))}function Io(e){return Ue(e=pe(e),0,Wn),e}function vt(e,t){return Et(e)?In(xt(e)?dt(t):t):dt(t)}const Qa={__proto__:null,[Symbol.iterator](){return qo(this,Symbol.iterator,e=>vt(this,e))},concat(...e){return sn(this).concat(...e.map(t=>te(t)?sn(t):t))},entries(){return qo(this,"entries",e=>(e[1]=vt(this,e[1]),e))},every(e,t){return St(this,"every",e,t,void 0,arguments)},filter(e,t){return St(this,"filter",e,t,n=>n.map(o=>vt(this,o)),arguments)},find(e,t){return St(this,"find",e,t,n=>vt(this,n),arguments)},findIndex(e,t){return St(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return St(this,"findLast",e,t,n=>vt(this,n),arguments)},findLastIndex(e,t){return St(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return St(this,"forEach",e,t,void 0,arguments)},includes(...e){return Jo(this,"includes",e)},indexOf(...e){return Jo(this,"indexOf",e)},join(e){return sn(this).join(e)},lastIndexOf(...e){return Jo(this,"lastIndexOf",e)},map(e,t){return St(this,"map",e,t,void 0,arguments)},pop(){return Sn(this,"pop")},push(...e){return Sn(this,"push",e)},reduce(e,...t){return Jr(this,"reduce",e,t)},reduceRight(e,...t){return Jr(this,"reduceRight",e,t)},shift(){return Sn(this,"shift")},some(e,t){return St(this,"some",e,t,void 0,arguments)},splice(...e){return Sn(this,"splice",e)},toReversed(){return sn(this).toReversed()},toSorted(e){return sn(this).toSorted(e)},toSpliced(...e){return sn(this).toSpliced(...e)},unshift(...e){return Sn(this,"unshift",e)},values(){return qo(this,"values",e=>vt(this,e))}};function qo(e,t,n){const o=Io(e),r=o[t]();return o===e||Ye(e)||(r._next=r.next,r.next=()=>{const s=r._next();return s.done||(s.value=n(s.value)),s}),r}const Ya=Array.prototype;function St(e,t,n,o,r,s){const l=Io(e),a=l!==e&&!Ye(e),i=l[t];if(i!==Ya[t]){const v=i.apply(e,s);return a?dt(v):v}let c=n;l!==e&&(a?c=function(v,w){return n.call(this,vt(e,v),w,e)}:n.length>2&&(c=function(v,w){return n.call(this,v,w,e)}));const u=i.call(l,c,o);return a&&r?r(u):u}function Jr(e,t,n,o){const r=Io(e);let s=n,l=!1;r!==e&&(r!==e&&!Ye(e)?(l=o.length===0,s=function(i,c,u){return l&&(l=!1,i=vt(e,i)),n.call(this,i,vt(e,c),u,e)}):n.length>3&&(s=function(i,c,u){return n.call(this,i,c,u,e)}));const a=r[t](s,...o);return l?vt(e,a):a}function Jo(e,t,n){const o=pe(e);Ue(o,0,Wn);const r=o[t](...n);return r!==-1&&r!==!1||!fo(n[0])?r:(n[0]=pe(n[0]),o[t](...n))}function Sn(e,t,n=[]){Dt(),kr();const o=pe(e)[t].apply(e,n);return Vr(),Nt(),o}const Za=_r("__proto__,__v_isRef,__isVue"),Ti=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze));function el(e){Ze(e)||(e=String(e));const t=pe(this);return Ue(t,0,e),t.hasOwnProperty(e)}class Si{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(r?s?cl:ki:s?Ai:Ci).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const l=te(t);if(!r){let i;if(l&&(i=Qa[n]))return i;if(n==="hasOwnProperty")return el}const a=Reflect.get(t,n,Ce(t)?t:o);if((Ze(n)?Ti.has(n):Za(n))||(r||Ue(t,0,n),s))return a;if(Ce(a)){const i=l&&Do(n)?a:a.value;return r&&me(i)?pr(i):i}return me(a)?r?pr(a):rn(a):a}}class _i extends Si{constructor(t=!1){super(!1,t)}set(t,n,o,r){let s=t[n];const l=te(t)&&Do(n);if(!this._isShallow){const c=Et(s);if(Ye(o)||Et(o)||(s=pe(s),o=pe(o)),!l&&Ce(s)&&!Ce(o))return c||(s.value=o),!0}const a=l?Number(n)<t.length:ve(t,n),i=Reflect.set(t,n,o,Ce(t)?t:r);return t===pe(r)&&i&&(a?Be(o,s)&&At(t,"set",n,o):At(t,"add",n,o)),i}deleteProperty(t,n){const o=ve(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&o&&At(t,"delete",n,void 0),r}has(t,n){const o=Reflect.has(t,n);return Ze(n)&&Ti.has(n)||Ue(t,0,n),o}ownKeys(t){return Ue(t,0,te(t)?"length":Zt),Reflect.ownKeys(t)}}class tl extends Si{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const nl=new _i,ol=new tl,rl=new _i(!0),Xo=e=>e,to=e=>Reflect.getPrototypeOf(e);function no(e){return function(...t){return e!=="delete"&&(e==="clear"?void 0:this)}}function sl(e,t){const n={get(o){const r=this.__v_raw,s=pe(r),l=pe(o);e||(Be(o,l)&&Ue(s,0,o),Ue(s,0,l));const{has:a}=to(s),i=t?Xo:e?In:dt;return a.call(s,o)?i(r.get(o)):a.call(s,l)?i(r.get(l)):void(r!==s&&r.get(o))},get size(){const o=this.__v_raw;return!e&&Ue(pe(o),0,Zt),o.size},has(o){const r=this.__v_raw,s=pe(r),l=pe(o);return e||(Be(o,l)&&Ue(s,0,o),Ue(s,0,l)),o===l?r.has(o):r.has(o)||r.has(l)},forEach(o,r){const s=this,l=s.__v_raw,a=t?Xo:e?In:dt;return!e&&Ue(pe(l),0,Zt),l.forEach((i,c)=>o.call(r,a(i),a(c),s))}};return Ne(n,e?{add:no("add"),set:no("set"),delete:no("delete"),clear:no("clear")}:{add(o){const r=pe(this),s=to(r),l=pe(o),a=t||Ye(o)||Et(o)?o:l;return s.has.call(r,a)||Be(o,a)&&s.has.call(r,o)||Be(l,a)&&s.has.call(r,l)||(r.add(a),At(r,"add",a,a)),this},set(o,r){t||Ye(r)||Et(r)||(r=pe(r));const s=pe(this),{has:l,get:a}=to(s);let i=l.call(s,o);i||(o=pe(o),i=l.call(s,o));const c=a.call(s,o);return s.set(o,r),i?Be(r,c)&&At(s,"set",o,r):At(s,"add",o,r),this},delete(o){const r=pe(this),{has:s,get:l}=to(r);let a=s.call(r,o);a||(o=pe(o),a=s.call(r,o)),l&&l.call(r,o);const i=r.delete(o);return a&&At(r,"delete",o,void 0),i},clear(){const o=pe(this),r=o.size!==0,s=o.clear();return r&&At(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=(function(r,s,l){return function(...a){const i=this.__v_raw,c=pe(i),u=fn(c),v=r==="entries"||r===Symbol.iterator&&u,w=r==="keys"&&u,p=i[r](...a),m=l?Xo:s?In:dt;return!s&&Ue(c,0,w?dr:Zt),Ne(Object.create(p),{next(){const{value:A,done:f}=p.next();return f?{value:A,done:f}:{value:v?[m(A[0]),m(A[1])]:m(A),done:f}}})}})(o,e,t)}),n}function Nr(e,t){const n=sl(e,t);return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(ve(n,r)&&r in o?n:o,r,s)}const il={get:Nr(!1,!1)},al={get:Nr(!1,!0)},ll={get:Nr(!0,!1)},Ci=new WeakMap,Ai=new WeakMap,ki=new WeakMap,cl=new WeakMap;function rn(e){return Et(e)?e:jr(e,!1,nl,il,Ci)}function pr(e){return jr(e,!0,ol,ll,ki)}function jr(e,t,n,o,r){if(!me(e)||e.__v_raw&&(!t||!e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=r.get(e);if(s)return s;const l=(function(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}})(zn(e).slice(8,-1));if(l===0)return e;const a=new Proxy(e,l===2?o:n);return r.set(e,a),a}function xt(e){return Et(e)?xt(e.__v_raw):!(!e||!e.__v_isReactive)}function Et(e){return!(!e||!e.__v_isReadonly)}function Ye(e){return!(!e||!e.__v_isShallow)}function fo(e){return!!e&&!!e.__v_raw}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function Er(e){return!ve(e,"__v_skip")&&Object.isExtensible(e)&&ai(e,"__v_skip",!0),e}const dt=e=>me(e)?rn(e):e,In=e=>me(e)?pr(e):e;function Ce(e){return!!e&&e.__v_isRef===!0}function _e(e){return(function(t,n){return Ce(t)?t:new ul(t,n)})(e,!1)}class ul{constructor(t,n){this.dep=new Eo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:pe(t),this._value=n?t:dt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Ye(t)||Et(t);Be(t=o?t:pe(t),n)&&(this._rawValue=t,this._value=o?t:dt(t),this.dep.trigger())}}function _(e){return Ce(e)?e.value:e}const dl={get:(e,t,n)=>t==="__v_raw"?e:_(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Ce(r)&&!Ce(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Vi(e){return xt(e)?e:new Proxy(e,dl)}class pl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Eo,{get:o,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}class fl{constructor(t,n,o){this._object=t,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0,this._key=Ze(n)?n:String(n),this._raw=pe(t);let r=!0,s=t;if(!te(t)||Ze(this._key)||!Do(this._key))do r=!fo(s)||Ye(s);while(r&&(s=s.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=_(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ce(this._raw[this._key])){const n=this._object[this._key];if(Ce(n))return void(n.value=t)}this._object[this._key]=t}get dep(){return(function(t,n){const o=po.get(t);return o&&o.get(n)})(this._raw,this._key)}}class hl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function gl(e,t,n){return Ce(e)?e:ae(e)?new hl(e):me(e)&&arguments.length>1?Di(e,t,n):_e(e)}function Di(e,t,n){return new fl(e,t,n)}class ml{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Eo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(8&this.flags)&&Se!==this)return mi(this,!0),!0}get value(){const t=this.dep.track();return yi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}const oo={},ro=new WeakMap;let zt;function vl(e,t,n=ge){const{immediate:o,deep:r,once:s,scheduler:l,augmentJob:a,call:i}=n,c=d=>r?d:Ye(d)||r===!1||r===0?kt(d,1):kt(d);let u,v,w,p,m=!1,A=!1;if(Ce(e)?(v=()=>e.value,m=Ye(e)):xt(e)?(v=()=>c(e),m=!0):te(e)?(A=!0,m=e.some(d=>xt(d)||Ye(d)),v=()=>e.map(d=>Ce(d)?d.value:xt(d)?c(d):ae(d)?i?i(d,2):d():void 0)):v=ae(e)?t?i?()=>i(e,2):e:()=>{if(w){Dt();try{w()}finally{Nt()}}const d=zt;zt=u;try{return i?i(e,3,[p]):e(p)}finally{zt=d}}:Vt,t&&r){const d=v,g=r===!0?1/0:r;v=()=>kt(d(),g)}const f=fi(),b=()=>{u.stop(),f&&f.active&&Cr(f.effects,u)};if(s&&t){const d=t;t=(...g)=>{const T=d(...g);return b(),T}}let S=A?new Array(e.length).fill(oo):oo;const h=d=>{if(1&u.flags&&(u.dirty||d))if(t){const g=u.run();if(d||r||m||(A?g.some((T,k)=>Be(T,S[k])):Be(g,S))){w&&w();const T=zt;zt=u;try{const k=[g,S===oo?void 0:A&&S[0]===oo?[]:S,p];S=g,i?i(t,3,k):t(...k)}finally{zt=T}}}else u.run()};return a&&a(h),u=new hi(v),u.scheduler=l?()=>l(h,!1):h,p=d=>(function(g,T=!1,k=zt){if(k){let j=ro.get(k);j||ro.set(k,j=[]),j.push(g)}})(d,!1,u),w=u.onStop=()=>{const d=ro.get(u);if(d){if(i)i(d,4);else for(const g of d)g();ro.delete(u)}},t?o?h(!0):S=u.run():l?l(h.bind(null,!0),!0):u.run(),b.pause=u.pause.bind(u),b.resume=u.resume.bind(u),b.stop=b,b}function kt(e,t=1/0,n){if(t<=0||!me(e)||e.__v_skip||((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,Ce(e))kt(e.value,t,n);else if(te(e))for(let o=0;o<e.length;o++)kt(e[o],t,n);else if(xn(e)||fn(e))e.forEach(o=>{kt(o,t,n)});else if(si(e)){for(const o in e)kt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&kt(e[o],t,n)}return e}function qn(e,t,n,o){try{return o?e(...o):e()}catch(r){Mo(r,t,n)}}function at(e,t,n,o){if(ae(e)){const r=qn(e,t,n,o);return r&&oi(r)&&r.catch(s=>{Mo(s,t,n)}),r}if(te(e)){const r=[];for(let s=0;s<e.length;s++)r.push(at(e[s],t,n,o));return r}}function Mo(e,t,n,o=!0){t&&t.vnode;const{errorHandler:r,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||ge;if(t){let l=t.parent;const a=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,a,i)===!1)return}l=l.parent}if(r)return Dt(),qn(r,null,10,[e,a,i]),void Nt()}(function(l,a,i,c=!0,u=!1){if(u)throw l;console.error(l)})(e,0,0,o,s)}const $e=[];let mt=-1;const hn=[];let Wt=null,cn=0;const Ni=Promise.resolve();let ho=null;function Jn(e){const t=ho||Ni;return e?t.then(this?e.bind(this):e):t}function Ir(e){if(!(1&e.flags)){const t=Mn(e),n=$e[$e.length-1];!n||!(2&e.flags)&&t>=Mn(n)?$e.push(e):$e.splice((function(o){let r=mt+1,s=$e.length;for(;r<s;){const l=r+s>>>1,a=$e[l],i=Mn(a);i<o||i===o&&2&a.flags?r=l+1:s=l}return r})(t),0,e),e.flags|=1,ji()}}function ji(){ho||(ho=Ni.then(Ii))}function Xr(e,t,n=mt+1){for(;n<$e.length;n++){const o=$e[n];if(o&&2&o.flags){if(e&&o.id!==e.uid)continue;$e.splice(n,1),n--,4&o.flags&&(o.flags&=-2),o(),4&o.flags||(o.flags&=-2)}}}function Ei(e){if(hn.length){const t=[...new Set(hn)].sort((n,o)=>Mn(n)-Mn(o));if(hn.length=0,Wt){for(let n=0;n<t.length;n++)Wt.push(t[n]);return}for(Wt=t,cn=0;cn<Wt.length;cn++){const n=Wt[cn];4&n.flags&&(n.flags&=-2),8&n.flags||n(),n.flags&=-2}Wt=null,cn=0}}const Mn=e=>e.id==null?2&e.flags?-1:1/0:e.id;function Ii(e){try{for(mt=0;mt<$e.length;mt++){const t=$e[mt];!t||8&t.flags||(4&t.flags&&(t.flags&=-2),qn(t,t.i,t.i?15:14),4&t.flags||(t.flags&=-2))}}finally{for(;mt<$e.length;mt++){const t=$e[mt];t&&(t.flags&=-2)}mt=-1,$e.length=0,Ei(),ho=null,($e.length||hn.length)&&Ii()}}let We=null,go=null;function mo(e){const t=We;return We=e,go=e&&e.type.__scopeId||null,t}function ye(e,t=We,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&To(-1);const s=mo(t),l=jt.length;let a;try{a=e(...r)}finally{for(let i=jt.length;i>l;i--)Ur();mo(s),o._d&&To(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function ce(e,t){if(We===null)return e;const n=Uo(We),o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[s,l,a,i=ge]=t[r];s&&(ae(s)&&(s={mounted:s,updated:s}),s.deep&&kt(l),o.push({dir:s,instance:n,value:l,oldValue:void 0,arg:a,modifiers:i}))}return e}function qt(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let l=0;l<r.length;l++){const a=r[l];s&&(a.oldValue=s[l].value);let i=a.dir[o];i&&(Dt(),at(i,n,8,[e.el,a,e,t]),Nt())}}function On(e,t,n=!1){const o=wn();if(o||en){let r=en?en._context.provides:o?o.parent==null||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ae(t)?t.call(o&&o.proxy):t}}const bl=Symbol.for("v-scx");function Le(e,t,n){return Mr(e,t,n)}function Mr(e,t,n=ge){const{immediate:o,deep:r,flush:s,once:l}=n,a=Ne({},n),i=t&&o||!t&&s!=="post";let c;if($n){if(s==="sync"){const p=On(bl);c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!i){const p=()=>{};return p.stop=Vt,p.resume=Vt,p.pause=Vt,p}}const u=Ke;a.call=(p,m,A)=>at(p,u,m,A);let v=!1;s==="post"?a.scheduler=p=>{qe(p,u&&u.suspense)}:s!=="sync"&&(v=!0,a.scheduler=(p,m)=>{m?p():Ir(p)}),a.augmentJob=p=>{t&&(p.flags|=4),v&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const w=vl(e,t,a);return $n&&(c?c.push(w):i&&w()),w}function yl(e,t,n){const o=this.proxy,r=ke(e)?e.includes(".")?Mi(o,e):()=>o[e]:e.bind(o,o);let s;ae(t)?s=t:(s=t.handler,n=t);const l=Xn(this),a=Mr(r,s.bind(o),n);return l(),a}function Mi(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}const xl=Symbol("_vte"),Oo=e=>e.__isTeleport,rt=Symbol("_leaveCb"),_n=Symbol("_enterCb");function Oi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Lr(()=>{e.isMounted=!0}),Hi(()=>{e.isUnmounting=!0}),e}const ot=[Function,Array],Li={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ot,onEnter:ot,onAfterEnter:ot,onEnterCancelled:ot,onBeforeLeave:ot,onLeave:ot,onAfterLeave:ot,onLeaveCancelled:ot,onBeforeAppear:ot,onAppear:ot,onAfterAppear:ot,onAppearCancelled:ot},Fi=e=>{const t=e.subTree;return t.component?Fi(t.component):t};function Bi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Pe){t=n;break}}return t}const wl={name:"BaseTransition",props:Li,setup(e,{slots:t}){const n=wn(),o=Oi();return()=>{const r=t.default&&Or(t.default(),!0),s=r&&r.length?Bi(r):n.subTree?tt():void 0;if(!s)return;const l=pe(e),{mode:a}=l;if(o.isLeaving)return Qo(s);const i=vo(s);if(!i)return Qo(s);let c=Rn(i,l,o,n,v=>c=v);i.type!==Pe&&tn(i,c);let u=n.subTree&&vo(n.subTree);if(u&&u.type!==Pe&&!Yt(u,i)&&Fi(n).type!==Pe){let v=Rn(u,l,o,n);if(tn(u,v),a==="out-in"&&i.type!==Pe)return o.isLeaving=!0,v.afterLeave=()=>{o.isLeaving=!1,8&n.job.flags||n.update(),delete v.afterLeave,u=void 0},Qo(s);a==="in-out"&&i.type!==Pe?v.delayLeave=(w,p,m)=>{Ui(o,u)[String(u.key)]=u,w[rt]=()=>{p(),w[rt]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function Ui(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Rn(e,t,n,o,r){const{appear:s,mode:l,persisted:a=!1,onBeforeEnter:i,onEnter:c,onAfterEnter:u,onEnterCancelled:v,onBeforeLeave:w,onLeave:p,onAfterLeave:m,onLeaveCancelled:A,onBeforeAppear:f,onAppear:b,onAfterAppear:S,onAppearCancelled:h}=t,d=String(e.key),g=Ui(n,e),T=(V,I)=>{V&&at(V,o,9,I)},k=(V,I)=>{const P=I[1];T(V,I),te(V)?V.every(M=>M.length<=1)&&P():V.length<=1&&P()},j={mode:l,persisted:a,beforeEnter(V){let I=i;if(!n.isMounted){if(!s)return;I=f||i}V[rt]&&V[rt](!0);const P=g[d];P&&Yt(e,P)&&P.el[rt]&&P.el[rt](),T(I,[V])},enter(V){if(g[d]===e)return;let I=c,P=u,M=v;if(!n.isMounted){if(!s)return;I=b||c,P=S||u,M=h||v}let re=!1;V[_n]=se=>{re||(re=!0,T(se?M:P,[V]),j.delayedLeave&&j.delayedLeave(),V[_n]=void 0)};const ue=V[_n].bind(null,!1);I?k(I,[V,ue]):ue()},leave(V,I){const P=String(e.key);if(V[_n]&&V[_n](!0),n.isUnmounting)return I();T(w,[V]);let M=!1;V[rt]=ue=>{M||(M=!0,I(),T(ue?A:m,[V]),V[rt]=void 0,g[P]===e&&delete g[P])};const re=V[rt].bind(null,!1);g[P]=e,p?k(p,[V,re]):re()},clone(V){const I=Rn(V,t,n,o,r);return r&&r(I),I}};return j}function Qo(e){if(Lo(e))return(e=Gt(e)).children=null,e}function vo(e){if(!Lo(e))return Oo(e.type)&&e.children?Bi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&ae(n.default))return n.default()}}function tn(e,t){if(6&e.shapeFlag&&e.component){e.transition=t;const n=e.component.subTree;tn(Oo(n.type)&&vo(n)||n,t)}else 128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Or(e,t=!1,n){let o=[],r=0;for(let s=0;s<e.length;s++){let l=e[s];const a=n==null?l.key:String(n)+String(l.key!=null?l.key:s);l.type===fe?(128&l.patchFlag&&r++,o=o.concat(Or(l.children,t,a))):(t||l.type!==Pe)&&o.push(a!=null?Gt(l,{key:a}):l)}if(r>1)for(let s=0;s<o.length;s++)o[s].patchFlag=-2;return o}function be(e,t){return ae(e)?Ne({name:e.name},t,{setup:e}):e}function Pi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Qr(e,t){let n;return!(!(n=Object.getOwnPropertyDescriptor(e,t))||n.configurable)}const bo=new WeakMap;function Ln(e,t,n,o,r=!1){if(te(e))return void e.forEach((A,f)=>Ln(A,t&&(te(t)?t[f]:t),n,o,r));if(dn(o)&&!r)return void(512&o.shapeFlag&&o.type.__asyncResolved&&o.component.subTree.component&&Ln(e,t,n,o.component.subTree));const s=4&o.shapeFlag?Uo(o.component):o.el,l=r?null:s,{i:a,r:i}=e,c=t&&t.r,u=a.refs===ge?a.refs={}:a.refs,v=a.setupState,w=pe(v),p=v===ge?ni:A=>!Qr(u,A)&&ve(w,A),m=(A,f)=>!f||!Qr(u,f);if(c!=null&&c!==i){if(Yr(t),ke(c))u[c]=null,p(c)&&(v[c]=null);else if(Ce(c)){const A=t;m(0,A.k)&&(c.value=null),A.k&&(u[A.k]=null)}}if(ae(i))qn(i,a,12,[l,u]);else{const A=ke(i),f=Ce(i);if(A||f){const b=()=>{if(e.f){const S=A?p(i)?v[i]:u[i]:m()||!e.k?i.value:u[e.k];if(r)te(S)&&Cr(S,s);else if(te(S))S.includes(s)||S.push(s);else if(A)u[i]=[s],p(i)&&(v[i]=u[i]);else{const h=[s];m(0,e.k)&&(i.value=h),e.k&&(u[e.k]=h)}}else A?(u[i]=l,p(i)&&(v[i]=l)):f&&(m(0,e.k)&&(i.value=l),e.k&&(u[e.k]=l))};if(l){const S=()=>{b(),bo.delete(e)};S.id=-1,bo.set(e,S),qe(S,n)}else Yr(e),b()}}}function Yr(e){const t=bo.get(e);t&&(t.flags|=8,bo.delete(e))}uo().requestIdleCallback,uo().cancelIdleCallback;const dn=e=>!!e.type.__asyncLoader,Lo=e=>e.type.__isKeepAlive;function Tl(e,t){Wi(e,"a",t)}function Sl(e,t){Wi(e,"da",t)}function Wi(e,t,n=Ke){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Fo(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Lo(r.parent.vnode)&&_l(o,t,n,r),r=r.parent}}function _l(e,t,n,o){const r=Fo(t,e,o,!0);Gi(()=>{Cr(o[t],r)},n)}function Fo(e,t,n=Ke,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...l)=>{Dt();const a=Xn(n),i=at(t,n,e,l);return a(),Nt(),i});return o?r.unshift(s):r.push(s),s}}const Mt=e=>(t,n=Ke)=>{$n&&e!=="sp"||Fo(e,(...o)=>t(...o),n)},Cl=Mt("bm"),Lr=Mt("m"),Al=Mt("bu"),Ri=Mt("u"),Hi=Mt("bum"),Gi=Mt("um"),kl=Mt("sp"),Vl=Mt("rtg"),Dl=Mt("rtc");function Nl(e,t=Ke){Fo("ec",e,t)}const jl=Symbol.for("v-ndc");function Oe(e,t,n,o){let r;const s=n,l=te(e);if(l||ke(e)){let a=!1,i=!1;l&&xt(e)&&(a=!Ye(e),i=Et(e),e=Io(e)),r=new Array(e.length);for(let c=0,u=e.length;c<u;c++)r[c]=t(a?i?In(dt(e[c])):dt(e[c]):e[c],c,void 0,s)}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,s)}else if(me(e))if(e[Symbol.iterator])r=Array.from(e,(a,i)=>t(a,i,void 0,s));else{const a=Object.keys(e);r=new Array(a.length);for(let i=0,c=a.length;i<c;i++){const u=a[i];r[i]=t(e[u],u,i,s)}}else r=[];return r}function mn(e,t,n,o,r,s){if(n==null&&(n={}),We.ce||We.parent&&dn(We.parent)&&We.parent.ce){const c=n,u=Object.keys(c).length>0;return z(),Me(fe,null,[J("slot",c,o)],u?-2:64)}let l=e[t];l&&l._c&&(l._d=!1);const a=jt.length;let i;z();try{const c=l&&$i(l(n)),u=n.key||s||c&&c.key;i=Me(fe,{key:(u&&!Ze(u)?u:`_${t}`)+(!c&&o?"_fb":"")},c||(o?o():[]),c&&e._===1?64:-2)}catch(c){for(let u=jt.length;u>a;u--)Ur();throw c}finally{l&&l._c&&(l._d=!0)}return i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),i}function $i(e){return e.some(t=>!Gn(t)||t.type!==Pe&&!(t.type===fe&&!$i(t.children)))?e:null}const fr=e=>e?ca(e)?Uo(e):fr(e.parent):null,Fn=Ne(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=>fr(e.parent),$root:e=>fr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zi(e),$forceUpdate:e=>e.f||(e.f=()=>{Ir(e.update)}),$nextTick:e=>e.n||(e.n=Jn.bind(e.proxy)),$watch:e=>yl.bind(e)}),Yo=(e,t)=>e!==ge&&!e.__isScriptSetup&&ve(e,t),El={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:s,accessCache:l,type:a,appContext:i}=e;if(t[0]!=="$"){const w=l[t];if(w!==void 0)switch(w){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Yo(o,t))return l[t]=1,o[t];if(r!==ge&&ve(r,t))return l[t]=2,r[t];if(ve(s,t))return l[t]=3,s[t];if(n!==ge&&ve(n,t))return l[t]=4,n[t];hr&&(l[t]=0)}}const c=Fn[t];let u,v;return c?(t==="$attrs"&&Ue(e.attrs,0,""),c(e)):(u=a.__cssModules)&&(u=u[t])?u:n!==ge&&ve(n,t)?(l[t]=4,n[t]):(v=i.config.globalProperties,ve(v,t)?v[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return Yo(r,t)?(r[t]=n,!0):o!==ge&&ve(o,t)?(o[t]=n,!0):!ve(e.props,t)&&(t[0]!=="$"||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,props:s,type:l}},a){let i;return!!(n[a]||e!==ge&&a[0]!=="$"&&ve(e,a)||Yo(t,a)||ve(s,a)||ve(o,a)||ve(Fn,a)||ve(r.config.globalProperties,a)||(i=l.__cssModules)&&i[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Il(){return(function(){const e=wn();return e.setupContext||(e.setupContext=da(e))})().slots}function yo(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Ml(e,t){return e&&t?te(e)&&te(t)?e.concat(t):Ne({},yo(e),yo(t)):e||t}let hr=!0;function Ol(e){const t=zi(e),n=e.proxy,o=e.ctx;hr=!1,t.beforeCreate&&Zr(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:l,watch:a,provide:i,inject:c,created:u,beforeMount:v,mounted:w,beforeUpdate:p,updated:m,activated:A,deactivated:f,beforeDestroy:b,beforeUnmount:S,destroyed:h,unmounted:d,render:g,renderTracked:T,renderTriggered:k,errorCaptured:j,serverPrefetch:V,expose:I,inheritAttrs:P,components:M,directives:re,filters:ue}=t;if(c&&(function(ee,oe){te(ee)&&(ee=gr(ee));for(const ie in ee){const B=ee[ie];let F;F=me(B)?"default"in B?On(B.from||ie,B.default,!0):On(B.from||ie):On(B),Ce(F)?Object.defineProperty(oe,ie,{enumerable:!0,configurable:!0,get:()=>F.value,set:U=>F.value=U}):oe[ie]=F}})(c,o,null),l)for(const ee in l){const oe=l[ee];ae(oe)&&(o[ee]=oe.bind(n))}if(r){const ee=r.call(n,n);me(ee)&&(e.data=rn(ee))}if(hr=!0,s)for(const ee in s){const oe=s[ee],ie=ae(oe)?oe.bind(n,n):ae(oe.get)?oe.get.bind(n,n):Vt,B=!ae(oe)&&ae(oe.set)?oe.set.bind(n):Vt,F=je({get:ie,set:B});Object.defineProperty(o,ee,{enumerable:!0,configurable:!0,get:()=>F.value,set:U=>F.value=U})}if(a)for(const ee in a)Ki(a[ee],o,n,ee);if(i){const ee=ae(i)?i.call(n):i;Reflect.ownKeys(ee).forEach(oe=>{(function(ie,B){if(Ke){let F=Ke.provides;const U=Ke.parent&&Ke.parent.provides;U===F&&(F=Ke.provides=Object.create(U)),F[ie]=B}})(oe,ee[oe])})}function se(ee,oe){te(oe)?oe.forEach(ie=>ee(ie.bind(n))):oe&&ee(oe.bind(n))}if(u&&Zr(u,e,"c"),se(Cl,v),se(Lr,w),se(Al,p),se(Ri,m),se(Tl,A),se(Sl,f),se(Nl,j),se(Dl,T),se(Vl,k),se(Hi,S),se(Gi,d),se(kl,V),te(I))if(I.length){const ee=e.exposed||(e.exposed={});I.forEach(oe=>{Object.defineProperty(ee,oe,{get:()=>n[oe],set:ie=>n[oe]=ie,enumerable:!0})})}else e.exposed||(e.exposed={});g&&e.render===Vt&&(e.render=g),P!=null&&(e.inheritAttrs=P),M&&(e.components=M),re&&(e.directives=re),V&&Pi(e)}function Zr(e,t,n){at(te(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ki(e,t,n,o){let r=o.includes(".")?Mi(n,o):()=>n[o];if(ke(e)){const s=t[e];ae(s)&&Le(r,s)}else if(ae(e))Le(r,e.bind(n));else if(me(e))if(te(e))e.forEach(s=>Ki(s,t,n,o));else{const s=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(s)&&Le(r,s,e)}}function zi(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:l}}=e.appContext,a=s.get(t);let i;return a?i=a:r.length||n||o?(i={},r.length&&r.forEach(c=>xo(i,c,l,!0)),xo(i,t,l)):i=t,me(t)&&s.set(t,i),i}function xo(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&xo(e,s,n,!0),r&&r.forEach(l=>xo(e,l,n,!0));for(const l in t)if(!(o&&l==="expose")){const a=Ll[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const Ll={data:es,props:ts,emits:ts,methods:Cn,computed:Cn,beforeCreate:Ge,created:Ge,beforeMount:Ge,mounted:Ge,beforeUpdate:Ge,updated:Ge,beforeDestroy:Ge,beforeUnmount:Ge,destroyed:Ge,unmounted:Ge,activated:Ge,deactivated:Ge,errorCaptured:Ge,serverPrefetch:Ge,components:Cn,directives:Cn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=Ne(Object.create(null),e);for(const o in t)n[o]=Ge(e[o],t[o]);return n},provide:es,inject:function(e,t){return Cn(gr(e),gr(t))}};function es(e,t){return t?e?function(){return Ne(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function gr(e){if(te(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ge(e,t){return e?[...new Set([].concat(e,t))]:t}function Cn(e,t){return e?Ne(Object.create(null),e,t):t}function ts(e,t){return e?te(e)&&te(t)?[...new Set([...e,...t])]:Ne(Object.create(null),yo(e),yo(t??{})):t}function qi(){return{app:null,config:{isNativeTag:ni,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Fl=0;function Bl(e,t){return function(n,o=null){ae(n)||(n=Ne({},n)),o==null||me(o)||(o=null);const r=qi(),s=new WeakSet,l=[];let a=!1;const i=r.app={_uid:Fl++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Ql,get config(){return r.config},set config(c){},use:(c,...u)=>(s.has(c)||(c&&ae(c.install)?(s.add(c),c.install(i,...u)):ae(c)&&(s.add(c),c(i,...u))),i),mixin:c=>(r.mixins.includes(c)||r.mixins.push(c),i),component:(c,u)=>u?(r.components[c]=u,i):r.components[c],directive:(c,u)=>u?(r.directives[c]=u,i):r.directives[c],mount(c,u,v){if(!a){const w=i._ceVNode||J(n,o);return w.appContext=r,v===!0?v="svg":v===!1&&(v=void 0),e(w,c,v),a=!0,i._container=c,c.__vue_app__=i,Uo(w.component)}},onUnmount(c){l.push(c)},unmount(){a&&(at(l,i._instance,16),e(null,i._container),delete i._container.__vue_app__)},provide:(c,u)=>(r.provides[c]=u,i),runWithContext(c){const u=en;en=i;try{return c()}finally{en=u}}};return i}}let en=null;function Ul(e,t,n=ge){const o=wn(),r=it(t),s=It(t),l=Ji(e,r),a=new pl((i,c)=>{let u,v,w=ge;return Mr(()=>{const p=e[r];Be(u,p)&&(u=p,c())},null,{flush:"sync"}),{get:()=>(i(),n.get?n.get(u):u),set(p){const m=n.set?n.set(p):p;if(!(Be(m,u)||w!==ge&&Be(p,w)))return;const A=o.vnode.props,f=!!(A&&(t in A||r in A||s in A)&&(`onUpdate:${t}`in A||`onUpdate:${r}`in A||`onUpdate:${s}`in A));f||(u=p,c()),o.emit(`update:${t}`,m),Be(p,w)&&(Be(p,m)&&!Be(m,v)||f&&w!==ge&&!Be(m,u))&&c(),w=p,v=m}}});return a[Symbol.iterator]=()=>{let i=0;return{next:()=>i<2?{value:i++?l||ge:a,done:!1}:{done:!0}}},a}const Ji=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${it(t)}Modifiers`]||e[`${It(t)}Modifiers`];function Pl(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||ge;let r=n;const s=t.startsWith("update:"),l=s&&Ji(o,t.slice(7));let a;l&&(l.trim&&(r=n.map(u=>ke(u)?u.trim():u)),l.number&&(r=n.map(jo)));let i=o[a=$o(t)]||o[a=$o(it(t))];!i&&s&&(i=o[a=$o(It(t))]),i&&at(i,e,6,r);const c=o[a+"Once"];if(c){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,at(c,e,6,r)}}const Wl=new WeakMap;function Xi(e,t,n=!1){const o=n?Wl:t.emitsCache,r=o.get(e);if(r!==void 0)return r;const s=e.emits;let l={},a=!1;if(!ae(e)){const i=c=>{const u=Xi(c,t,!0);u&&(a=!0,Ne(l,u))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return s||a?(te(s)?s.forEach(i=>l[i]=null):Ne(l,s),me(e)&&o.set(e,l),l):(me(e)&&o.set(e,null),null)}function wo(e,t){return!(!e||!ko(t))&&(t=(t=t.slice(2))==="Once"?t:t.replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,It(t))||ve(e,t))}function ns(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[s],slots:l,attrs:a,emit:i,render:c,renderCache:u,props:v,data:w,setupState:p,ctx:m,inheritAttrs:A}=e,f=mo(e);let b,S;try{if(4&n.shapeFlag){const d=r||o,g=d;b=bt(c.call(g,d,u,v,p,w,m)),S=a}else{const d=t;b=bt(d.length>1?d(v,{attrs:a,slots:l,emit:i}):d(v,null)),S=t.props?a:Rl(a)}}catch(d){jt.length=0,Mo(d,e,1),b=J(Pe)}let h=b;if(S&&A!==!1){const d=Object.keys(S),{shapeFlag:g}=h;d.length&&7&g&&(s&&d.some(Vo)&&(S=Hl(S,s)),h=Gt(h,S,!1,!0))}return n.dirs&&(h=Gt(h,null,!1,!0),h.dirs=h.dirs?h.dirs.concat(n.dirs):n.dirs),n.transition&&tn(Oo(h.type)&&vo(h)||h,n.transition),b=h,mo(f),b}const Rl=e=>{let t;for(const n in e)(n==="class"||n==="style"||ko(n))&&((t||(t={}))[n]=e[n]);return t},Hl=(e,t)=>{const n={};for(const o in e)Vo(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function os(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const s=o[r];if(Qi(t,e,s)&&!wo(n,s))return!0}return!1}function Qi(e,t,n){const o=e[n],r=t[n];return n==="style"&&me(o)&&me(r)?!gn(o,r):o!==r}const Yi={},Zi=()=>Object.create(Yi),ea=e=>Object.getPrototypeOf(e)===Yi;function Gl(e,t,n,o=!1){const r={},s=Zi();e.propsDefaults=Object.create(null),ta(e,t,r,s);for(const l in e.propsOptions[0])l in r||(r[l]=void 0);n?e.props=o?r:jr(r,!1,rl,al,Ai):e.type.props?e.props=r:e.props=s,e.attrs=s}function ta(e,t,n,o){const[r,s]=e.propsOptions;let l,a=!1;if(t)for(let i in t){if(Nn(i))continue;const c=t[i];let u;r&&ve(r,u=it(i))?s&&s.includes(u)?(l||(l={}))[u]=c:n[u]=c:wo(e.emitsOptions,i)||i in o&&c===o[i]||(o[i]=c,a=!0)}if(s){const i=pe(n),c=l||ge;for(let u=0;u<s.length;u++){const v=s[u];n[v]=mr(r,i,v,c[v],e,!ve(c,v))}}return a}function mr(e,t,n,o,r,s){const l=e[n];if(l!=null){const a=ve(l,"default");if(a&&o===void 0){const i=l.default;if(l.type!==Function&&!l.skipFactory&&ae(i)){const{propsDefaults:c}=r;if(n in c)o=c[n];else{const u=Xn(r);o=c[n]=i.call(null,t),u()}}else o=i;r.ce&&r.ce._setProp(n,o)}l[0]&&(s&&!a?o=!1:!l[1]||o!==""&&o!==It(n)||(o=!0))}return o}const $l=new WeakMap;function na(e,t,n=!1){const o=n?$l:t.propsCache,r=o.get(e);if(r)return r;const s=e.props,l={},a=[];let i=!1;if(!ae(e)){const u=v=>{i=!0;const[w,p]=na(v,t,!0);Ne(l,w),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!i)return me(e)&&o.set(e,pn),pn;if(te(s))for(let u=0;u<s.length;u++){const v=it(s[u]);rs(v)&&(l[v]=ge)}else if(s)for(const u in s){const v=it(u);if(rs(v)){const w=s[u],p=l[v]=te(w)||ae(w)?{type:w}:Ne({},w),m=p.type;let A=!1,f=!0;if(te(m))for(let b=0;b<m.length;++b){const S=m[b],h=ae(S)&&S.name;if(h==="Boolean"){A=!0;break}h==="String"&&(f=!1)}else A=ae(m)&&m.name==="Boolean";p[0]=A,p[1]=f,(A||ve(p,"default"))&&a.push(v)}}const c=[l,a];return me(e)&&o.set(e,c),c}function rs(e){return e[0]!=="$"&&!Nn(e)}const Fr=e=>e==="_"||e==="_ctx"||e==="$stable",Br=e=>te(e)?e.map(bt):[bt(e)],Kl=(e,t,n)=>{if(t._n)return t;const o=ye((...r)=>Br(t(...r)),n);return o._c=!1,o},ss=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Fr(r))continue;const s=e[r];if(ae(s))t[r]=Kl(0,s,o);else if(s!=null){const l=Br(s);t[r]=()=>l}}},is=(e,t)=>{const n=Br(t);e.slots.default=()=>n},as=(e,t,n)=>{for(const o in t)!n&&Fr(o)||(e[o]=t[o])},qe=function(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):(function(n){if(te(n))for(let o=0;o<n.length;o++)hn.push(n[o]);else Wt&&n.id===-1?Wt.splice(cn+1,0,n):1&n.flags||(hn.push(n),n.flags|=1);ji()})(e)};function zl(e){return(function(t){uo().__VUE__=!0;const{insert:n,remove:o,patchProp:r,createElement:s,createText:l,createComment:a,setText:i,setElementText:c,parentNode:u,nextSibling:v,setScopeId:w=Vt,insertStaticContent:p}=t,m=(y,C,N,W=null,O=null,E=null,K=void 0,R=null,L=!!C.dynamicChildren)=>{if(y===C)return;y&&!Yt(y,C)&&(W=Qn(y),U(y,O,E,!0),y=null),C.patchFlag===-2&&(L=!1,C.dynamicChildren=null);const{type:D,ref:q,shapeFlag:H}=C;switch(D){case Bo:A(y,C,N,W);break;case Pe:f(y,C,N,W);break;case er:y==null&&b(C,N,W,K);break;case fe:P(y,C,N,W,O,E,K,R,L);break;default:1&H?d(y,C,N,W,O,E,K,R,L):6&H?M(y,C,N,W,O,E,K,R,L):(64&H||128&H)&&D.process(y,C,N,W,O,E,K,R,L,Yn)}q!=null&&O?Ln(q,y&&y.ref,E,C||y,!C):q==null&&y&&y.ref!=null&&Ln(y.ref,null,E,y,!0)},A=(y,C,N,W)=>{if(y==null)n(C.el=l(C.children),N,W);else{const O=C.el=y.el;C.children!==y.children&&i(O,C.children)}},f=(y,C,N,W)=>{y==null?n(C.el=a(C.children||""),N,W):C.el=y.el},b=(y,C,N,W)=>{[y.el,y.anchor]=p(y.children,C,N,W,y.el,y.anchor)},S=({el:y,anchor:C},N,W)=>{let O;for(;y&&y!==C;)O=v(y),n(y,N,W),y=O;n(C,N,W)},h=({el:y,anchor:C})=>{let N;for(;y&&y!==C;)N=v(y),o(y),y=N;o(C)},d=(y,C,N,W,O,E,K,R,L)=>{if(C.type==="svg"?K="svg":C.type==="math"&&(K="mathml"),y==null)g(C,N,W,O,E,K,R,L);else{const D=y.el&&y.el._isVueCE?y.el:null;try{D&&D._beginPatch(),j(y,C,O,E,K,R,L)}finally{D&&D._endPatch()}}},g=(y,C,N,W,O,E,K,R)=>{let L,D;const{props:q,shapeFlag:H,transition:Q,dirs:Y}=y;if(L=y.el=s(y.type,E,q&&q.is,q),8&H?c(L,y.children):16&H&&k(y.children,L,null,W,O,Zo(y,E),K,R),Y&&qt(y,null,W,"created"),T(L,y,y.scopeId,K,W),q){for(const X in q)X==="value"||Nn(X)||r(L,X,null,q[X],E,W);"value"in q&&r(L,"value",null,q.value,E),(D=q.onVnodeBeforeMount)&&ft(D,W,y)}Y&&qt(y,null,W,"beforeMount");const le=(function(X,ne){return(!X||X&&!X.pendingBranch)&&ne&&!ne.persisted})(O,Q);le&&Q.beforeEnter(L),n(L,C,N),((D=q&&q.onVnodeMounted)||le||Y)&&qe(()=>{try{D&&ft(D,W,y),le&&Q.enter(L),Y&&qt(y,null,W,"mounted")}finally{}},O)},T=(y,C,N,W,O)=>{if(N&&w(y,N),W)for(let E=0;E<W.length;E++)w(y,W[E]);if(O){let E=O.subTree;if(C===E||ia(E.type)&&(E.ssContent===C||E.ssFallback===C)){const K=O.vnode;T(y,K,K.scopeId,K.slotScopeIds,O.parent)}}},k=(y,C,N,W,O,E,K,R,L=0)=>{for(let D=L;D<y.length;D++){const q=y[D]=R?Ct(y[D]):bt(y[D]);m(null,q,C,N,W,O,E,K,R)}},j=(y,C,N,W,O,E,K)=>{const R=C.el=y.el;let{patchFlag:L,dynamicChildren:D,dirs:q}=C;L|=16&y.patchFlag;const H=y.props||ge,Q=C.props||ge;let Y;if(N&&Jt(N,!1),(Y=Q.onVnodeBeforeUpdate)&&ft(Y,N,C,y),q&&qt(C,y,N,"beforeUpdate"),N&&Jt(N,!0),!D||y.dynamicChildren&&y.dynamicChildren.length===D.length||(L=0,K=!1,D=null),(H.innerHTML&&Q.innerHTML==null||H.textContent&&Q.textContent==null)&&c(R,""),D?V(y.dynamicChildren,D,R,N,W,Zo(C,O),E):K||oe(y,C,R,null,N,W,Zo(C,O),E,!1),L>0){if(16&L)I(R,H,Q,N,O);else if(2&L&&H.class!==Q.class&&r(R,"class",null,Q.class,O),4&L&&r(R,"style",H.style,Q.style,O),8&L){const le=C.dynamicProps;for(let X=0;X<le.length;X++){const ne=le[X],xe=H[ne],we=Q[ne];we===xe&&ne!=="value"||r(R,ne,xe,we,O,N)}}1&L&&y.children!==C.children&&c(R,C.children)}else K||D!=null||I(R,H,Q,N,O);((Y=Q.onVnodeUpdated)||q)&&qe(()=>{Y&&ft(Y,N,C,y),q&&qt(C,y,N,"updated")},W)},V=(y,C,N,W,O,E,K)=>{for(let R=0;R<C.length;R++){const L=y[R],D=C[R],q=L.el&&(L.type===fe||!Yt(L,D)||198&L.shapeFlag)?u(L.el):N;m(L,D,q,null,W,O,E,K,!0)}},I=(y,C,N,W,O)=>{if(C!==N){if(C!==ge)for(const E in C)Nn(E)||E in N||r(y,E,C[E],null,O,W);for(const E in N){if(Nn(E))continue;const K=N[E],R=C[E];K!==R&&E!=="value"&&r(y,E,R,K,O,W)}"value"in N&&r(y,"value",C.value,N.value,O)}},P=(y,C,N,W,O,E,K,R,L)=>{const D=C.el=y?y.el:l(""),q=C.anchor=y?y.anchor:l("");let{patchFlag:H,dynamicChildren:Q,slotScopeIds:Y}=C;Y&&(R=R?R.concat(Y):Y),y==null?(n(D,N,W),n(q,N,W),k(C.children||[],N,q,O,E,K,R,L)):H>0&&64&H&&Q&&y.dynamicChildren&&y.dynamicChildren.length===Q.length?(V(y.dynamicChildren,Q,N,O,E,K,R),(C.key!=null||O&&C===O.subTree)&&oa(y,C,!0)):oe(y,C,N,q,O,E,K,R,L)},M=(y,C,N,W,O,E,K,R,L)=>{C.slotScopeIds=R,y==null?512&C.shapeFlag?O.ctx.activate(C,N,W,K,L):re(C,N,W,O,E,K,L):ue(y,C,L)},re=(y,C,N,W,O,E,K)=>{const R=y.component=(function(L,D,q){const H=L.type,Q=(D?D.appContext:L.appContext)||ql,Y={uid:Jl++,vnode:L,type:H,parent:D,appContext:Q,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new di(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:D?D.provides:Object.create(Q.provides),ids:D?D.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:na(H,Q),emitsOptions:Xi(H,Q),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:H.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,setupContext:null,suspense:q,suspenseId:q?q.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return Y.ctx={_:Y},Y.root=D?D.root:Y,Y.emit=Pl.bind(null,Y),L.ce&&L.ce(Y),Y})(y,W,O);if(Lo(y)&&(R.ctx.renderer=Yn),(function(L,D=!1,q=!1){D&&Vn(D);const{props:H,children:Q}=L.vnode,Y=ca(L);Gl(L,H,Y,D),((X,ne,xe)=>{const we=X.slots=Zi();if(32&X.vnode.shapeFlag){const Re=ne._;Re?(as(we,ne,xe),xe&&ai(we,"_",Re,!0)):ss(ne,we)}else ne&&is(X,ne)})(L,Q,q||D);const le=Y?(function(X,ne){const xe=X.type;X.accessCache=Object.create(null),X.proxy=new Proxy(X.ctx,El);const{setup:we}=xe;if(we){Dt();const Re=X.setupContext=we.length>1?da(X):null,Ie=Xn(X),Fe=qn(we,X,0,[X.props,Re]),wt=oi(Fe);if(Nt(),Ie(),!wt&&!X.sp||dn(X)||Pi(X),wt){if(Fe.then(cs,cs),ne)return Fe.then(Te=>{Vn(!0);try{us(X,Te,ne)}finally{Vn(!1)}}).catch(Te=>{Mo(Te,X,0)});X.asyncDep=Fe}else us(X,Fe)}else ua(X)})(L,D):void 0;D&&Vn(!1)})(R,!1,K),R.asyncDep){if(O&&O.registerDep(R,se,K),!y.el){const L=R.subTree=J(Pe);f(null,L,C,N),y.placeholder=L.el}}else se(R,y,C,N,O,E,K)},ue=(y,C,N)=>{const W=C.component=y.component;if((function(O,E,K){const{props:R,children:L,component:D}=O,{props:q,children:H,patchFlag:Q}=E,Y=D.emitsOptions;if(E.dirs||E.transition)return!0;if(!(K&&Q>=0))return!(!L&&!H||H&&H.$stable)||R!==q&&(R?!q||os(R,q,Y):!!q);if(1024&Q)return!0;if(16&Q)return R?os(R,q,Y):!!q;if(8&Q){const le=E.dynamicProps;for(let X=0;X<le.length;X++){const ne=le[X];if(Qi(q,R,ne)&&!wo(Y,ne))return!0}}return!1})(y,C,N)){if(W.asyncDep&&!W.asyncResolved)return void ee(W,C,N);W.next=C,W.update()}else C.el=y.el,W.vnode=C},se=(y,C,N,W,O,E,K)=>{const R=()=>{if(y.isMounted){let{next:H,bu:Q,u:Y,parent:le,vnode:X}=y;{const Ie=ra(y);if(Ie)return H&&(H.el=X.el,ee(y,H,K)),void Ie.asyncDep.then(()=>{qe(()=>{y.isUnmounted||D()},O)})}let ne,xe=H;Jt(y,!1),H?(H.el=X.el,ee(y,H,K)):H=X,Q&&ao(Q),(ne=H.props&&H.props.onVnodeBeforeUpdate)&&ft(ne,le,H,X),Jt(y,!0);const we=ns(y),Re=y.subTree;y.subTree=we,m(Re,we,u(Re.el),Qn(Re),y,O,E),H.el=we.el,xe===null&&(function({vnode:Ie,parent:Fe,suspense:wt},Te){for(;Fe;){const Ve=Fe.subTree;if(Ve.suspense&&Ve.suspense.activeBranch===Ie&&(Ve.suspense.vnode.el=Ve.el=Te,Ie=Ve),Ve!==Ie)break;(Ie=Fe.vnode).el=Te,Fe=Fe.parent}wt&&wt.activeBranch===Ie&&(wt.vnode.el=Te)})(y,we.el),Y&&qe(Y,O),(ne=H.props&&H.props.onVnodeUpdated)&&qe(()=>ft(ne,le,H,X),O)}else{let H;const{el:Q,props:Y}=C,{bm:le,m:X,parent:ne,root:xe,type:we}=y,Re=dn(C);Jt(y,!1),le&&ao(le),!Re&&(H=Y&&Y.onVnodeBeforeMount)&&ft(H,ne,C),Jt(y,!0);{xe.ce&&xe.ce._hasShadowRoot()&&xe.ce._injectChildStyle(we,y.parent?y.parent.type:void 0);const Ie=y.subTree=ns(y);m(null,Ie,N,W,y,O,E),C.el=Ie.el}if(X&&qe(X,O),!Re&&(H=Y&&Y.onVnodeMounted)){const Ie=C;qe(()=>ft(H,ne,Ie),O)}(256&C.shapeFlag||ne&&dn(ne.vnode)&&256&ne.vnode.shapeFlag)&&y.a&&qe(y.a,O),y.isMounted=!0,C=N=W=null}};y.scope.on();const L=y.effect=new hi(R);y.scope.off();const D=y.update=L.run.bind(L),q=y.job=L.runIfDirty.bind(L);q.i=y,q.id=y.uid,L.scheduler=()=>Ir(q),Jt(y,!0),D()},ee=(y,C,N)=>{C.component=y;const W=y.vnode.props;y.vnode=C,y.next=null,(function(O,E,K,R){const{props:L,attrs:D,vnode:{patchFlag:q}}=O,H=pe(L),[Q]=O.propsOptions;let Y=!1;if(!(R||q>0)||16&q){let le;ta(O,E,L,D)&&(Y=!0);for(const X in H)E&&(ve(E,X)||(le=It(X))!==X&&ve(E,le))||(Q?!K||K[X]===void 0&&K[le]===void 0||(L[X]=mr(Q,H,X,void 0,O,!0)):delete L[X]);if(D!==H)for(const X in D)E&&ve(E,X)||(delete D[X],Y=!0)}else if(8&q){const le=O.vnode.dynamicProps;for(let X=0;X<le.length;X++){let ne=le[X];if(wo(O.emitsOptions,ne))continue;const xe=E[ne];if(Q)if(ve(D,ne))xe!==D[ne]&&(D[ne]=xe,Y=!0);else{const we=it(ne);L[we]=mr(Q,H,we,xe,O,!1)}else xe!==D[ne]&&(D[ne]=xe,Y=!0)}}Y&&At(O.attrs,"set","")})(y,C.props,W,N),((O,E,K)=>{const{vnode:R,slots:L}=O;let D=!0,q=ge;if(32&R.shapeFlag){const H=E._;H?K&&H===1?D=!1:as(L,E,K):(D=!E.$stable,ss(E,L)),q=E}else E&&(is(O,E),q={default:1});if(D)for(const H in L)Fr(H)||q[H]!=null||delete L[H]})(y,C.children,N),Dt(),Xr(y),Nt()},oe=(y,C,N,W,O,E,K,R,L=!1)=>{const D=y&&y.children,q=y?y.shapeFlag:0,H=C.children,{patchFlag:Q,shapeFlag:Y}=C;if(Q>0){if(128&Q)return void B(D,H,N,W,O,E,K,R,L);if(256&Q)return void ie(D,H,N,W,O,E,K,R,L)}8&Y?(16&q&&Tn(D,O,E),H!==D&&c(N,H)):16&q?16&Y?B(D,H,N,W,O,E,K,R,L):Tn(D,O,E,!0):(8&q&&c(N,""),16&Y&&k(H,N,W,O,E,K,R,L))},ie=(y,C,N,W,O,E,K,R,L)=>{C=C||pn;const D=(y=y||pn).length,q=C.length,H=Math.min(D,q);let Q;for(Q=0;Q<H;Q++){const Y=C[Q]=L?Ct(C[Q]):bt(C[Q]);m(y[Q],Y,N,null,O,E,K,R,L)}D>q?Tn(y,O,E,!0,!1,H):k(C,N,W,O,E,K,R,L,H)},B=(y,C,N,W,O,E,K,R,L)=>{let D=0;const q=C.length;let H=y.length-1,Q=q-1;for(;D<=H&&D<=Q;){const Y=y[D],le=C[D]=L?Ct(C[D]):bt(C[D]);if(!Yt(Y,le))break;m(Y,le,N,null,O,E,K,R,L),D++}for(;D<=H&&D<=Q;){const Y=y[H],le=C[Q]=L?Ct(C[Q]):bt(C[Q]);if(!Yt(Y,le))break;m(Y,le,N,null,O,E,K,R,L),H--,Q--}if(D>H){if(D<=Q){const Y=Q+1,le=Y<q?C[Y].el:W;for(;D<=Q;)m(null,C[D]=L?Ct(C[D]):bt(C[D]),N,le,O,E,K,R,L),D++}}else if(D>Q)for(;D<=H;)U(y[D],O,E,!0),D++;else{const Y=D,le=D,X=new Map;for(D=le;D<=Q;D++){const Te=C[D]=L?Ct(C[D]):bt(C[D]);Te.key!=null&&X.set(Te.key,D)}let ne,xe=0;const we=Q-le+1;let Re=!1,Ie=0;const Fe=new Array(we);for(D=0;D<we;D++)Fe[D]=0;for(D=Y;D<=H;D++){const Te=y[D];if(xe>=we){U(Te,O,E,!0);continue}let Ve;if(Te.key!=null)Ve=X.get(Te.key);else for(ne=le;ne<=Q;ne++)if(Fe[ne-le]===0&&Yt(Te,C[ne])){Ve=ne;break}Ve===void 0?U(Te,O,E,!0):(Fe[Ve-le]=D+1,Ve>=Ie?Ie=Ve:Re=!0,m(Te,C[Ve],N,null,O,E,K,R,L),xe++)}const wt=Re?(function(Te){const Ve=Te.slice(),He=[0];let lt,Go,nt,Ot,Zn;const Ba=Te.length;for(lt=0;lt<Ba;lt++){const eo=Te[lt];if(eo!==0){if(Go=He[He.length-1],Te[Go]<eo){Ve[lt]=Go,He.push(lt);continue}for(nt=0,Ot=He.length-1;nt<Ot;)Zn=nt+Ot>>1,Te[He[Zn]]<eo?nt=Zn+1:Ot=Zn;eo<Te[He[nt]]&&(nt>0&&(Ve[lt]=He[nt-1]),He[nt]=lt)}}for(nt=He.length,Ot=He[nt-1];nt-- >0;)He[nt]=Ot,Ot=Ve[Ot];return He})(Fe):pn;for(ne=wt.length-1,D=we-1;D>=0;D--){const Te=le+D,Ve=C[Te],He=C[Te+1],lt=Te+1<q?He.el||sa(He):W;Fe[D]===0?m(null,Ve,N,lt,O,E,K,R,L):Re&&(ne<0||D!==wt[ne]?F(Ve,N,lt,2):ne--)}}},F=(y,C,N,W,O=null)=>{const{el:E,type:K,transition:R,children:L,shapeFlag:D}=y;if(6&D)return void F(y.component.subTree,C,N,W);if(128&D)return void y.suspense.move(C,N,W);if(64&D)return void K.move(y,C,N,Yn);if(K===fe){n(E,C,N);for(let q=0;q<L.length;q++)F(L[q],C,N,W);return void n(y.anchor,C,N)}if(K===er)return void S(y,C,N);if(W!==2&&1&D&&R)if(W===0)R.persisted&&!E[rt]?n(E,C,N):(R.beforeEnter(E),n(E,C,N),qe(()=>R.enter(E),O));else{const{leave:q,delayLeave:H,afterLeave:Q}=R,Y=()=>{y.ctx.isUnmounted?o(E):n(E,C,N)},le=()=>{const X=E._isLeaving||!!E[rt];E._isLeaving&&E[rt](!0),R.persisted&&!X?Y():q(E,()=>{Y(),Q&&Q()})};H?H(E,Y,le):le()}else n(E,C,N)},U=(y,C,N,W=!1,O=!1)=>{const{type:E,props:K,ref:R,children:L,dynamicChildren:D,shapeFlag:q,patchFlag:H,dirs:Q,cacheIndex:Y,memo:le}=y;if(H===-2&&(O=!1),R!=null&&(Dt(),Ln(R,null,N,y,!0),Nt()),Y!=null&&(C.renderCache[Y]=void 0),256&q)return void C.ctx.deactivate(y);const X=1&q&&Q,ne=!dn(y);let xe;if(ne&&(xe=K&&K.onVnodeBeforeUnmount)&&ft(xe,C,y),6&q)Fa(y.component,N,W);else{if(128&q)return void y.suspense.unmount(N,W);X&&qt(y,null,C,"beforeUnmount"),64&q?y.type.remove(y,C,N,Yn,W):D&&!D.hasOnce&&(E!==fe||H>0&&64&H)?Tn(D,C,N,!1,!0):(E===fe&&384&H||!O&&16&q)&&Tn(L,C,N),W&&$(y)}const we=le!=null&&Y==null;(ne&&(xe=K&&K.onVnodeUnmounted)||X||we)&&qe(()=>{xe&&ft(xe,C,y),X&&qt(y,null,C,"unmounted"),we&&(y.el=null)},N)},$=y=>{const{type:C,el:N,anchor:W,transition:O}=y;if(C===fe)return void La(N,W);if(C===er)return void h(y);const E=()=>{o(N),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(1&y.shapeFlag&&O&&!O.persisted){const{leave:K,delayLeave:R}=O,L=()=>K(N,E);R?R(y.el,E,L):L()}else E()},La=(y,C)=>{let N;for(;y!==C;)N=v(y),o(y),y=N;o(C)},Fa=(y,C,N)=>{const{bum:W,scope:O,job:E,subTree:K,um:R,m:L,a:D}=y;ls(L),ls(D),W&&ao(W),O.stop(),E&&(E.flags|=8,U(K,y,C,N)),R&&qe(R,C),qe(()=>{y.isUnmounted=!0},C)},Tn=(y,C,N,W=!1,O=!1,E=0)=>{for(let K=E;K<y.length;K++)U(y[K],C,N,W,O)},Qn=y=>{if(6&y.shapeFlag)return Qn(y.component.subTree);if(128&y.shapeFlag)return y.suspense.next();const C=v(y.anchor||y.el),N=C&&C[xl];return N?v(N):C};let Ho=!1;const $r=(y,C,N)=>{let W;y==null?C._vnode&&(U(C._vnode,null,null,!0),W=C._vnode.component):m(C._vnode||null,y,C,null,null,null,N),C._vnode=y,Ho||(Ho=!0,Xr(W),Ei(),Ho=!1)},Yn={p:m,um:U,m:F,r:$,mt:re,mc:k,pc:oe,pbc:V,n:Qn,o:t};return{render:$r,hydrate:void 0,createApp:Bl($r)}})(e)}function Zo({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Jt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function oa(e,t,n=!1){const o=e.children,r=t.children;if(te(o)&&te(r))for(let s=0;s<o.length;s++){const l=o[s];let a=r[s];1&a.shapeFlag&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[s]=Ct(r[s]),a.el=l.el),n||a.patchFlag===-2||oa(l,a)),a.type===Bo&&(a.patchFlag===-1&&(a=r[s]=Ct(a)),a.el=l.el),a.type!==Pe||a.el||(a.el=l.el)}}function ra(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ra(t)}function ls(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function sa(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?sa(t.subTree):null}const ia=e=>e.__isSuspense,fe=Symbol.for("v-fgt"),Bo=Symbol.for("v-txt"),Pe=Symbol.for("v-cmt"),er=Symbol.for("v-stc"),jt=[];let Qe=null;function z(e=!1){jt.push(Qe=e?null:[])}function Ur(){jt.pop(),Qe=jt[jt.length-1]||null}let Hn=1;function To(e,t=!1){Hn+=e,e<0&&Qe&&t&&(Qe.hasOnce=!0)}function aa(e){return e.dynamicChildren=Hn>0?Qe||pn:null,Ur(),Hn>0&&Qe&&Qe.push(e),e}function Z(e,t,n,o,r,s){return aa(x(e,t,n,o,r,s,!0))}function Me(e,t,n,o,r){return aa(J(e,t,n,o,r,!0))}function Gn(e){return!!e&&e.__v_isVNode===!0}function Yt(e,t){return e.type===t.type&&e.key===t.key}const la=({key:e})=>e??null,lo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ke(e)||Ce(e)||ae(e)?{i:We,r:e,k:t,f:!!n}:e:null);function x(e,t=null,n=null,o=0,r=null,s=e===fe?0:1,l=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&la(t),ref:t&&lo(t),scopeId:go,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:We};return a?(So(i,n),128&s&&e.normalize(i)):n&&(i.shapeFlag|=ke(n)?8:16),Hn>0&&!l&&Qe&&(i.patchFlag>0||6&s)&&i.patchFlag!==32&&Qe.push(i),i}const J=function(e,t=null,n=null,o=0,r=null,s=!1){if(e&&e!==jl||(e=Pe),Gn(e)){const i=Gt(e,t,!0);return n&&So(i,n),Hn>0&&!s&&Qe&&(6&i.shapeFlag?Qe[Qe.indexOf(e)]=i:Qe.push(i)),i.patchFlag=-2,i}l=e,ae(l)&&"__vccOpts"in l&&(e=e.__vccOpts);var l;if(t){t=(function(u){return u?fo(u)||ea(u)?Ne({},u):u:null})(t);let{class:i,style:c}=t;i&&!ke(i)&&(t.class=et(i)),me(c)&&(fo(c)&&!te(c)&&(c=Ne({},c)),t.style=on(c))}const a=ke(e)?1:ia(e)?128:Oo(e)?64:me(e)?4:ae(e)?2:0;return x(e,t,n,o,r,a,s,!0)};function Gt(e,t,n=!1,o=!1){const{props:r,ref:s,patchFlag:l,children:a,transition:i}=e,c=t?(function(...v){const w={};for(let p=0;p<v.length;p++){const m=v[p];for(const A in m)if(A==="class")w.class!==m.class&&(w.class=et([w.class,m.class]));else if(A==="style")w.style=on([w.style,m.style]);else if(ko(A)){const f=w[A],b=m[A];!b||f===b||te(f)&&f.includes(b)?b!=null||f!=null||Vo(A)||(w[A]=b):w[A]=f?[].concat(f,b):b}else A!==""&&(w[A]=m[A])}return w})(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&la(c),ref:t&&t.ref?n&&s?te(s)?s.concat(lo(t)):[s,lo(t)]:lo(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==fe?l===-1?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:i,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Gt(e.ssContent),ssFallback:e.ssFallback&&Gt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return i&&o&&tn(u,i.clone(u)),u}function Ae(e=" ",t=0){return J(Bo,null,e,t)}function tt(e="",t=!1){return t?(z(),Me(Pe,null,e)):J(Pe,null,e)}function bt(e){return e==null||typeof e=="boolean"?J(Pe):te(e)?J(fe,null,e.slice()):Gn(e)?Ct(e):J(Bo,null,String(e))}function Ct(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Gt(e)}function So(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object"){if(65&o){const r=t.default;return void(r&&(r._c&&(r._d=!1),So(e,r()),r._c&&(r._d=!0)))}{n=32;const r=t._;r||ea(t)?r===3&&We&&(We.slots._===1?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=We}}else if(ae(t)){if(65&o)return void So(e,{default:t});t={default:t,_ctx:We},n=32}else t=String(t),64&o?(n=16,t=[Ae(t)]):n=8;e.children=t,e.shapeFlag|=n}function ft(e,t,n,o=null){at(e,t,7,[n,o])}const ql=qi();let Jl=0,Ke=null;const wn=()=>Ke||We;let _o,Vn;{const e=uo(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),s=>{r.length>1?r.forEach(l=>l(s)):r[0](s)}};_o=t("__VUE_INSTANCE_SETTERS__",n=>Ke=n),Vn=t("__VUE_SSR_SETTERS__",n=>$n=n)}const Xn=e=>{const t=Ke;return _o(e),e.scope.on(),()=>{e.scope.off(),_o(t)}},cs=()=>{Ke&&Ke.scope.off(),_o(null)};function ca(e){return 4&e.vnode.shapeFlag}let $n=!1;function us(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=Vi(t)),ua(e)}function ua(e,t,n){const o=e.type;e.render||(e.render=o.render||Vt);{const r=Xn(e);Dt();try{Ol(e)}finally{Nt(),r()}}}const Xl={get:(e,t)=>(Ue(e,0,""),e[t])};function da(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Xl),slots:e.slots,emit:e.emit,expose:t}}function Uo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Vi(Er(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Fn?Fn[n](e):void 0,has:(t,n)=>n in t||n in Fn})):e.proxy}const je=(e,t)=>(function(o,r,s=!1){let l,a;return ae(o)?l=o:(l=o.get,a=o.set),new ml(l,a,s)})(e,0,$n),Ql="3.5.41";let vr;const ds=typeof window<"u"&&window.trustedTypes;if(ds)try{vr=ds.createPolicy("vue",{createHTML:e=>e})}catch{}const pa=vr?e=>vr.createHTML(e):e=>e,_t=typeof document<"u"?document:null,ps=_t&&_t.createElement("template"),Yl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?_t.createElementNS("http://www.w3.org/2000/svg",e):t==="mathml"?_t.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?_t.createElement(e,{is:n}):_t.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>_t.createTextNode(e),createComment:e=>_t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const l=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==s&&(r=r.nextSibling););else{ps.innerHTML=pa(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const a=ps.content;if(o==="svg"||o==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Lt="transition",An="animation",vn=Symbol("_vtc"),fa={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},ha=Ne({},Li,fa),Zl=(e=>(e.displayName="Transition",e.props=ha,e))((e,{slots:t})=>(function(n,o,r){try{To(-1);const s=arguments.length;return s===2?me(o)&&!te(o)?Gn(o)?J(n,null,[o]):J(n,o):J(n,null,o):(s>3?r=Array.prototype.slice.call(arguments,2):s===3&&Gn(r)&&(r=[r]),J(n,o,r))}finally{To(1)}})(wl,ga(e),t)),Xt=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},fs=e=>!!e&&(te(e)?e.some(t=>t.length>1):e.length>1);function ga(e){const t={};for(const M in e)M in fa||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=s,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:v=`${n}-leave-from`,leaveActiveClass:w=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=(function(M){if(M==null)return null;if(me(M))return[tr(M.enter),tr(M.leave)];{const re=tr(M);return[re,re]}})(r),A=m&&m[0],f=m&&m[1],{onBeforeEnter:b,onEnter:S,onEnterCancelled:h,onLeave:d,onLeaveCancelled:g,onBeforeAppear:T=b,onAppear:k=S,onAppearCancelled:j=h}=t,V=(M,re,ue,se)=>{M._enterCancelled=se,Ft(M,re?u:a),Ft(M,re?c:l),ue&&ue()},I=(M,re)=>{M._isLeaving=!1,Ft(M,v),Ft(M,p),Ft(M,w),re&&re()},P=M=>(re,ue)=>{const se=M?k:S,ee=()=>V(re,M,ue);Xt(se,[re,ee]),hs(()=>{Ft(re,M?i:s),gt(re,M?u:a),fs(se)||gs(re,o,A,ee)})};return Ne(t,{onBeforeEnter(M){Xt(b,[M]),gt(M,s),gt(M,l)},onBeforeAppear(M){Xt(T,[M]),gt(M,i),gt(M,c)},onEnter:P(!1),onAppear:P(!0),onLeave(M,re){M._isLeaving=!0;const ue=()=>I(M,re);gt(M,v),M._enterCancelled?(gt(M,w),br(M)):(br(M),gt(M,w)),hs(()=>{M._isLeaving&&(Ft(M,v),gt(M,p),fs(d)||gs(M,o,f,ue))}),Xt(d,[M,ue])},onEnterCancelled(M){V(M,!1,void 0,!0),Xt(h,[M])},onAppearCancelled(M){V(M,!0,void 0,!0),Xt(j,[M])},onLeaveCancelled(M){I(M),Xt(g,[M])}})}function tr(e){return(n=>{const o=ke(n)?Number(n):NaN;return isNaN(o)?n:o})(e)}function gt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[vn]||(e[vn]=new Set)).add(t)}function Ft(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[vn];n&&(n.delete(t),n.size||(e[vn]=void 0))}function hs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ec=0;function gs(e,t,n,o){const r=e._endId=++ec,s=()=>{r===e._endId&&o()};if(n!=null)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=ma(e,t);if(!l)return o();const c=l+"end";let u=0;const v=()=>{e.removeEventListener(c,w),s()},w=p=>{p.target===e&&++u>=i&&v()};setTimeout(()=>{u<i&&v()},a+1),e.addEventListener(c,w)}function ma(e,t){const n=window.getComputedStyle(e),o=p=>(n[p]||"").split(", "),r=o(`${Lt}Delay`),s=o(`${Lt}Duration`),l=ms(r,s),a=o(`${An}Delay`),i=o(`${An}Duration`),c=ms(a,i);let u=null,v=0,w=0;return t===Lt?l>0&&(u=Lt,v=l,w=s.length):t===An?c>0&&(u=An,v=c,w=i.length):(v=Math.max(l,c),u=v>0?l>c?Lt:An:null,w=u?u===Lt?s.length:i.length:0),{type:u,timeout:v,propCount:w,hasTransform:u===Lt&&/\b(?:transform|all)(?:,|$)/.test(o(`${Lt}Property`).toString())}}function ms(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>vs(n)+vs(e[o])))}function vs(e){return e==="auto"?0:1e3*Number(e.slice(0,-1).replace(",","."))}function br(e){return(e?e.ownerDocument:document).body.offsetHeight}const Co=Symbol("_vod"),Pr=Symbol("_vsh"),De={name:"show",beforeMount(e,{value:t},{transition:n}){e[Co]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):kn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),kn(e,!0),o.enter(e)):o.leave(e,()=>{kn(e,!1)}):kn(e,t))},beforeUnmount(e,{value:t}){kn(e,t)}};function kn(e,t){e.style.display=t?e[Co]:"none",e[Pr]=!t}const tc=Symbol(""),nc=/(?:^|;)\s*display\s*:/,bs=/\s*!important$/;function Dn(e,t,n){if(te(n))n.forEach(o=>Dn(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=(function(r,s){const l=nr[s];if(l)return l;let a=it(s);if(a!=="filter"&&a in r)return nr[s]=a;a=ii(a);for(let i=0;i<ys.length;i++){const c=ys[i]+a;if(c in r)return nr[s]=c}return s})(e,t);bs.test(n)?e.setProperty(It(o),n.replace(bs,""),"important"):e[o]=n}}const ys=["Webkit","Moz","ms"],nr={};function oc(e,t,n,o){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ke(o)&&n===o}const xs="http://www.w3.org/1999/xlink";function ws(e,t,n,o,r,s=qa(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(xs,t.slice(6,t.length)):e.setAttributeNS(xs,t,n):n==null||s&&!li(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Ze(n)?String(n):n)}function Ts(e,t,n,o,r){if(t==="innerHTML"||t==="textContent")return void(n!=null&&(e[t]=t==="innerHTML"?pa(n):n));const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,i=n==null?e.type==="checkbox"?"on":"":String(n);return a===i&&"_value"in e||(e.value=i),n==null&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=li(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(r||t)}function Ht(e,t,n,o){e.addEventListener(t,n,o)}const Ss=Symbol("_vei");function rc(e,t,n,o,r=null){const s=e[Ss]||(e[Ss]={}),l=s[t];if(o&&l)l.value=o;else{const[a,i]=(function(c){let u,v;for(;(v=c.match(sc))&&!ic.test(c);)u||(u={}),c=c.slice(0,c.length-v[1].length),u[v[1].toLowerCase()]=!0;return[c[2]===":"?c.slice(3):It(c.slice(2)),u]})(t);if(o){const c=s[t]=(function(u,v){const w=p=>{if(p._vts){if(p._vts<=w.attached)return}else p._vts=Date.now();const m=w.value;if(te(m)){const A=p.stopImmediatePropagation;p.stopImmediatePropagation=()=>{A.call(p),p._stopped=!0};const f=m.slice(),b=[p];for(let S=0;S<f.length&&!p._stopped;S++){const h=f[S];h&&at(h,v,5,b)}}else at(m,v,5,[p])};return w.value=u,w.attached=lc(),w})(o,r);Ht(e,a,c,i)}else l&&((function(c,u,v,w){c.removeEventListener(u,v,w)})(e,a,l,i),s[t]=void 0)}}const sc=/(Once|Passive|Capture)$/,ic=/^on:?(?:Once|Passive|Capture)$/;let or=0;const ac=Promise.resolve(),lc=()=>or||(ac.then(()=>or=0),or=Date.now()),_s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,va=new WeakMap,ba=new WeakMap,Ao=Symbol("_moveCb"),Cs=Symbol("_enterCb"),cc=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:Ne({},ha,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=wn(),o=Oi();let r,s;return Ri(()=>{if(!r.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!(function(i,c,u){const v=i.cloneNode(),w=i[vn];w&&w.forEach(A=>{A.split(/\s+/).forEach(f=>f&&v.classList.remove(f))}),u.split(/\s+/).forEach(A=>A&&v.classList.add(A)),v.style.display="none";const p=c.nodeType===1?c:c.parentNode;p.appendChild(v);const{hasTransform:m}=ma(v);return p.removeChild(v),m})(r[0].el,n.vnode.el,l))return void(r=[]);r.forEach(dc),r.forEach(pc);const a=r.filter(fc);br(n.vnode.el),a.forEach(i=>{const c=i.el,u=c.style;gt(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const v=c[Ao]=w=>{w&&w.target!==c||w&&!w.propertyName.endsWith("transform")||(c.removeEventListener("transitionend",v),c[Ao]=null,Ft(c,l))};c.addEventListener("transitionend",v)}),r=[]}),()=>{const l=pe(e),a=ga(l);let i=l.tag||fe;if(r=[],s)for(let c=0;c<s.length;c++){const u=s[c];u.el&&u.el instanceof Element&&!u.el[Pr]&&(r.push(u),tn(u,Rn(u,a,o,n)),va.set(u,ya(u.el)))}s=t.default?Or(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&tn(u,Rn(u,a,o,n))}return J(i,null,s)}}}),uc=cc;function dc(e){const t=e.el;t[Ao]&&t[Ao](),t[Cs]&&t[Cs]()}function pc(e){ba.set(e,ya(e.el))}function fc(e){const t=va.get(e),n=ba.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const s=e.el,l=s.style,a=s.getBoundingClientRect();let i=1,c=1;return s.offsetWidth&&(i=a.width/s.offsetWidth),s.offsetHeight&&(c=a.height/s.offsetHeight),Number.isFinite(i)&&i!==0||(i=1),Number.isFinite(c)&&c!==0||(c=1),Math.abs(i-1)<.01&&(i=1),Math.abs(c-1)<.01&&(c=1),l.transform=l.webkitTransform=`translate(${o/i}px,${r/c}px)`,l.transitionDuration="0s",e}}function ya(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}const bn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return te(t)?n=>ao(t,n):t};function hc(e){e.target.composing=!0}function As(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const yt=Symbol("_assign"),so=Symbol("_initialValue");function rr(e,t,n){return t&&(e=e.trim()),n&&(e=jo(e)),e}const Je={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e.parentNode&&(e.type==="text"?e[so]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[so]=e.defaultValue.replace(/\r\n?/g,`
`))),e[yt]=bn(r);const s=o||r.props&&r.props.type==="number";Ht(e,t?"change":"input",l=>{l.target.composing||e[yt](rr(e.value,n,s))}),(n||s)&&Ht(e,"change",()=>{e.value=rr(e.value,n,s)}),t||(Ht(e,"compositionstart",hc),Ht(e,"compositionend",As),Ht(e,"change",As))},mounted(e,{value:t,modifiers:{trim:n,number:o}}){const r=t??"",s=e[so];delete e[so],s===void 0||e.type!=="text"&&e.type!=="textarea"||e.value===s?e.value=r:e[yt](rr(e.value,n,o))},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:s}},l){if(e[yt]=bn(l),e.composing)return;const a=t??"";if((!s&&e.type!=="number"||/^0\d/.test(e.value)?e.value:jo(e.value))===a)return;const i=e.getRootNode();(i instanceof Document||i instanceof ShadowRoot)&&i.activeElement===e&&e.type!=="range"&&(o&&t===n||r&&e.value.trim()===a)||(e.value=a)}},xa={deep:!0,created(e,t,n){e[yt]=bn(n),Ht(e,"change",()=>{const o=e._modelValue,r=Kn(e),s=e.checked,l=e[yt];if(te(o)){const a=Ar(o,r),i=a!==-1;if(s&&!i)l(o.concat(r));else if(!s&&i){const c=[...o];c.splice(a,1),l(c)}}else if(xn(o)){const a=new Set(o);s?a.add(r):a.delete(r),l(a)}else l(wa(e,s))})},mounted:ks,beforeUpdate(e,t,n){e[yt]=bn(n),ks(e,t,n)}};function ks(e,{value:t,oldValue:n},o){let r;if(e._modelValue=t,te(t))r=Ar(t,o.props.value)>-1;else if(xn(t))r=t.has(o.props.value);else{if(t===n)return;r=gn(t,wa(e,!0))}e.checked!==r&&(e.checked=r)}const yr={deep:!0,created(e,{value:t,modifiers:{number:n}},o){e._modelValue=t,Ht(e,"change",()=>{const r=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?jo(Kn(s)):Kn(s));e[yt](e.multiple?xn(e._modelValue)?new Set(r):r:r[0]),e._assigning=!0,Jn(()=>{e._assigning=!1})}),e[yt]=bn(o)},mounted(e,{value:t}){Vs(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[yt]=bn(n)},updated(e,{value:t}){e._assigning||Vs(e,t)}};function Vs(e,t){const n=e.multiple,o=te(t);if(!n||o||xn(t)){for(let r=0,s=e.options.length;r<s;r++){const l=e.options[r],a=Kn(l);if(n)if(o){const i=typeof a;l.selected=i==="string"||i==="number"?t.some(c=>String(c)===String(a)):Ar(t,a)>-1}else l.selected=t.has(a);else if(gn(Kn(l),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||e.selectedIndex===-1||(e.selectedIndex=-1)}}function Kn(e){return"_value"in e?e._value:e.value}function wa(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const gc=["ctrl","shift","alt","meta"],mc={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>gc.some(n=>e[`${n}Key`]&&!t.includes(n))},de=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...s)=>{for(let l=0;l<t.length;l++){const a=mc[t[l]];if(a&&a(r,t))return}return e(r,...s)})},vc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},nn=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const s=It(r.key);return t.some(l=>l===s||vc[l]===s)?e(r):void 0})},bc=Ne({patchProp:(e,t,n,o,r,s)=>{const l=r==="svg";t==="class"?(function(a,i,c){const u=a[vn];u&&(i=(i?[i,...u]:[...u]).join(" ")),i==null?a.removeAttribute("class"):c?a.setAttribute("class",i):a.className=i})(e,o,l):t==="style"?(function(a,i,c){const u=a.style,v=ke(c);let w=!1;if(c&&!v){if(i)if(ke(i))for(const p of i.split(";")){const m=p.slice(0,p.indexOf(":")).trim();c[m]==null&&Dn(u,m,"")}else for(const p in i)c[p]==null&&Dn(u,p,"");for(const p in c){p==="display"&&(w=!0);const m=c[p];m!=null?oc(a,p,!ke(i)&&i?i[p]:void 0,m)||Dn(u,p,m):Dn(u,p,"")}}else if(v){if(i!==c){const p=u[tc];p&&(c+=";"+p),u.cssText=c,w=nc.test(c)}}else i&&a.removeAttribute("style");Co in a&&(a[Co]=w?u.display:"",a[Pr]&&(u.display="none"))})(e,n,o):ko(t)?Vo(t)||rc(e,t,0,o,s):(t[0]==="."?(t=t.slice(1),1):t[0]==="^"?(t=t.slice(1),0):(function(a,i,c,u){if(u)return i==="innerHTML"||i==="textContent"||!!(i in a&&_s(i)&&ae(c));if(i==="spellcheck"||i==="draggable"||i==="translate"||i==="autocorrect"||i==="sandbox"&&a.tagName==="IFRAME"||i==="form"||i==="list"&&a.tagName==="INPUT"||i==="type"&&a.tagName==="TEXTAREA")return!1;if(i==="width"||i==="height"){const v=a.tagName;if(v==="IMG"||v==="VIDEO"||v==="CANVAS"||v==="SOURCE")return!1}return _s(i)&&ke(c)?!1:i in a})(e,t,o,l))?(Ts(e,t,o),e.tagName.includes("-")||t!=="value"&&t!=="checked"&&t!=="selected"||ws(e,t,o,l,0,t!=="value")):e._isVueCE&&((function(a,i){const c=a._def.props;if(!c)return!1;const u=it(i);return Array.isArray(c)?c.some(v=>it(v)===u):Object.keys(c).some(v=>it(v)===u)})(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ke(o)))?Ts(e,it(t),o,0,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),ws(e,t,o,l))}},Yl);let Ds;const yc=(...e)=>{const t=(Ds||(Ds=zl(bc))).createApp(...e),{mount:n}=t;return t.mount=o=>{const r=(function(a){return ke(a)?document.querySelector(a):a})(o);if(!r)return;const s=t._component;ae(s)||s.render||s.template||(s.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const l=n(r,!1,(function(a){if(a instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&a instanceof MathMLElement)return"mathml"})(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),l},t};let Ta;const Po=e=>Ta=e,Sa=Symbol();function xr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Bn,sr;(sr=Bn||(Bn={})).direct="direct",sr.patchObject="patch object",sr.patchFunction="patch function";const _a=()=>{};function Ns(e,t,n,o=_a){e.push(t);const r=()=>{const l=e.indexOf(t);l>-1&&(e.splice(l,1),o())};var s;return!n&&fi()&&(s=r,Ee&&Ee.cleanups.push(s)),r}function an(e,...t){e.slice().forEach(n=>{n(...t)})}const xc=e=>e(),js=Symbol(),ir=Symbol();function wr(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];xr(r)&&xr(o)&&e.hasOwnProperty(n)&&!Ce(o)&&!xt(o)?e[n]=wr(r,o):e[n]=o}return e}const wc=Symbol();function Tc(e){return!xr(e)||!e.hasOwnProperty(wc)}const{assign:Bt}=Object;function Sc(e){return!(!Ce(e)||!e.effect)}function _c(e,t,n,o){const{state:r,actions:s,getters:l}=t,a=n.state.value[e];let i;return i=Ca(e,function(){a||(n.state.value[e]=r?r():{});const c=(function(u){const v=te(u)?new Array(u.length):{};for(const w in u)v[w]=Di(u,w);return v})(n.state.value[e]);return Bt(c,s,Object.keys(l||{}).reduce((u,v)=>(u[v]=Er(je(()=>{Po(n);const w=n._s.get(e);return l[v].call(w,w)})),u),{}))},t,n,o,!0),i}function Ca(e,t,n={},o,r,s){let l;const a=Bt({actions:{}},n),i={deep:!0};let c,u,v,w=[],p=[];const m=o.state.value[e];let A;function f(g){let T;c=u=!1,typeof g=="function"?(g(o.state.value[e]),T={type:Bn.patchFunction,storeId:e,events:v}):(wr(o.state.value[e],g),T={type:Bn.patchObject,payload:g,storeId:e,events:v});const k=A=Symbol();Jn().then(()=>{A===k&&(c=!0)}),u=!0,an(w,T,o.state.value[e])}s||m||(o.state.value[e]={});const b=s?function(){const{state:g}=n,T=g?g():{};this.$patch(k=>{Bt(k,T)})}:_a,S=(g,T="")=>{if(js in g)return g[ir]=T,g;const k=function(){Po(o);const j=Array.from(arguments),V=[],I=[];let P;an(p,{args:j,name:k[ir],store:h,after:function(M){V.push(M)},onError:function(M){I.push(M)}});try{P=g.apply(this&&this.$id===e?this:h,j)}catch(M){throw an(I,M),M}return P instanceof Promise?P.then(M=>(an(V,M),M)).catch(M=>(an(I,M),Promise.reject(M))):(an(V,P),P)};return k[js]=!0,k[ir]=T,k},h=rn({_p:o,$id:e,$onAction:Ns.bind(null,p),$patch:f,$reset:b,$subscribe(g,T={}){const k=Ns(w,g,T.detached,()=>j()),j=l.run(()=>Le(()=>o.state.value[e],V=>{(T.flush==="sync"?u:c)&&g({storeId:e,type:Bn.direct,events:v},V)},Bt({},i,T)));return k},$dispose:function(){l.stop(),w=[],p=[],o._s.delete(e)}});o._s.set(e,h);const d=(o._a&&o._a.runWithContext||xc)(()=>o._e.run(()=>(l=pi()).run(()=>t({action:S}))));for(const g in d){const T=d[g];if(Ce(T)&&!Sc(T)||xt(T))s||(m&&Tc(T)&&(Ce(T)?T.value=m[g]:wr(T,m[g])),o.state.value[e][g]=T);else if(typeof T=="function"){const k=S(T,g);d[g]=k,a.actions[g]=T}}return Bt(h,d),Bt(pe(h),d),Object.defineProperty(h,"$state",{get:()=>o.state.value[e],set:g=>{f(T=>{Bt(T,g)})}}),o._p.forEach(g=>{Bt(h,l.run(()=>g({store:h,app:o._a,pinia:o,options:a})))}),m&&s&&n.hydrate&&n.hydrate(h.$state,m),c=!0,u=!0,h}function pt(e,t,n){let o,r;const s=typeof t=="function";function l(a,i){const c=!(!wn()&&!en);return(a=a||(c?On(Sa,null):null))&&Po(a),(a=Ta)._s.has(o)||(s?Ca(o,t,r,a):_c(o,r,a)),a._s.get(o)}return typeof e=="string"?(o=e,r=s?n:t):(r=e,o=e.id),l.$id=o,l}function Kt(e){{const t=pe(e),n={};for(const o in t){const r=t[o];r.effect?n[o]=je({get:()=>e[o],set(s){e[o]=s}}):(Ce(r)||xt(r))&&(n[o]=gl(e,o))}return n}}const Cc={addPlaceholder:"Please Enter a new note, press Enter to save",groupPlaceholder:"Please enter a new group value, press Enter to save",saveTagText:"Save",saveTagTitle:"Save content",clearTagText:"Clear",clearTagTitle:"Clear note",cancelTagText:"Cancel",cancelTagTitle:"Exit",searchTagTitle:"Search for notes",searchTagPlaceholder:"Search for notes and press Enter to open the result item",searchCloseTitle:"Close the search box",userIdText:"User ID",userNameText:"User name",userTagTableText:"Note value",groupText:"Group",groupTitle:"Switch group",searchContentText:"Search: ",searchContentPlaceholder:"Enter search content",rangeText:"Range: ",rangeAllText:"All",selectAllTitle:"Select all",deleteSelectedText:"Delete",deleteSelectedTitle:"Delete the selected item",moveSelectedText:"Move",moveSelectedTitle:"Moves the selected item to the specified group",manageGroupsText:"Manage groups",manageGroupsTitle:"Open the group management panel",modifyText:"(Content has been modified)",waitText:"(Waiting for data to load)",closeCotentText:"Close",closeContentTitle:"Close panel",saveContentText:"Save",saveContentTitle:"Save the modification of the content",saveCompletedNotifactionText:"Saved data!",saveErrorNotifactionText:"Failed to save data!!!",backUpNotifactionText:"Data backup completed",restoreNotifactionText:"Data recovery complete",syncConfigNotifactionText:"Successfully synchronized configuration from other tabs",syncGroupNotifactionText:"Successfully synchronized group values from other tabs",syncNoteNotifactionText:"Successfully synchronized notes from other tabs",editText:"Edit",deleteText:"Delete",editTitle:"Edit content",deleteTitle:"Delete content",settingsHeadlineText:"Settings",settingsCloseTitle:"Close the settings panel",settingsAboutSearchBoxText:"Search box",settingsSearchBoxShowIndexText:"Show index value at the top",settingsSearchBoxCanHideSearchFrameText:"Hide the search box when clicking outside the search box",settingsSearchBoxShowGroupNameText:"Result items display their grouped values (Only the non-default group, will not be used to search)",settingsSearchBoxOpenNewTabText:"Open the result item in a new tab (When not enabled, you can press Ctrl + Enter to open the results in a background tab; press Ctrl+Shift+Enter to open the results in a new tab)",settingsSearchBoxEnableShortcutKeysText:"Allow shortcut keys to open the search box (Ctrl+Shift+F)",settingsAboutSearchValueText:"Search content",settingsSearchValueCaseSensitiveText:"Case-sensitive",settingsSearchValueSplitText:'Split search method ("ab cd" ==> "ab" && "cd")',settingsSearchValueRegularText:'Support the use of regular expression (Format: "/pattern/gim")',settingsAddNoteShowNoteGroupNameText:"Allow notes on the web page to display their group value (Only the non-default group; When the note value is empty, it can also be used as a tag)",settingsAddNoteHideNoteText:"Hide detailed notes and display only group values (Turn on the options above to take effect)",settingsAddNoteShowNoteGroupColorText:"Allow group colors to be applied to notes on webpages",settingsAddNoteShowPopoverFrameText:"Allow other notes under the same group to be displayed when hovering over the notes (Only the non-default group)",settingsAddNoteOpenNoteNewTabText:"Open other notes in a new tab (When not enabled, you can hold down Ctrl and click to open in the background tab; hold down Ctrl+Shift and click to open in a new tab)",settingsAddNoteCanHideAddFrameText:"Hide the add box when clicking outside the add box",settingsAboutAddNoteText:"Notes",settingsAboutInterfaceText:"Appearance",settingsInterfaceInsertSearchButtonText:"Display floating search button in the lower right corner of the page",settingsInterfaceConfigText:"Appearance mode: ",settingsInterfaceSystemText:"System",settingsInterfaceBrightText:"Bright",settingsInterfaceDarkText:"Dark",settingsInterfaceLanguageText:"Display language: ",settingsAboutOtherText:"Other Settings",settingsAboutStoredDataText:"Stored data",settingsWebDAVConfigText:"Configure WebDAV",settingsWebDAVSyncText:"Sync",settingsWebDAVSyncTitle:"Upload or download notes data",settingsWebDAVUploadText:"Upload",settingsWebDAVUploadTitle:"Upload local notes data to the cloud",settingsWebDAVDownloadText:"Download",settingsWebDAVDownloadTitle:"Download cloud notes data to local",settingsWebDAVEnableText:"Enable the WebDAV sync data",settingsFrameInterfaceAutoSyncText:"Synchronize data changes from other tabs",settingsStoredDataLastTimeText:"Last modified time: ",settingsWebDAVSyncTimeText:"Last WebDAV sync time: ",settingsLocalDataText:"Local data:",settingsNotesCountText:"Notes count:",settingsGroupCountText:"Group count:",settingsStoredDataExportTitle:"Back up all stored data to a file",settingsStoredDataImportIitle:"Restore all stored data from a file",settingsAboutScriptText:"About the script",settingsScriptAuthorText:"Script author: ",settingsScriptVersionText:"Script version: ",settingsScriptCoreText:"Core version: ",settingsScriptLibraryText:"Library: ",settingsScriptIconText:"Icon: ",settingsScriptHandlerText:"Script manager: ",settingsIconText:"Icon: ",gmSettingsText:"Open the settings panel",gmManagementText:"Open the notes management panel",gmGroupText:"Open the group management panel",gmExportText:"Backup data",gmImportText:"Restore data",defaultGroupText:"Default",groupNewValueText:"New group",groupCreateValueText:"New group",groupCreateValueTitle:"Create a new group",groupValueText:"Group name",groupPrimaryColorText:"Primary color",groupSecondaryColorText:"Secondary color",groupWeightText:"Weight",selectGroupHeaderText:"Select group",optionsImportNoFileText:"No file selected!",optionsImportNotATextFile:"This is not a text file!",optionsImportValidText:"This is an invalid file!",optionsImportCannotFindFile:"Cannot find file!",optionsImportEmptyText:"File content is empty!",optionsImportErrorObjectText:"Error parsing object!",cancelText:"Cancel",webDAVHeaderText:"WebDAV configuration",webDAVURLText:"WebDAV URL(e.g. https://example.com/):",webDAVFileText:"File path(Relative WebDAV root, e.g. notes/data.txt):",webDAVUserText:"WebDAV User name:",webDAVPasswordText:"WebDAV password:",webDAVPassphraseText:"passphrase(Optional, used to encrypt file):",webDAVIntervalText:"Auto sync interval(min, 0 disables auto sync):",webDAVSyncModeText:"Sync mode:",webDAVSyncModeTwoWayText:"Two-way",webDAVSyncModeUploadText:"Upload only",webDAVSyncModeDownloadText:"Download only",webDAVConfigInvalidText:"Invalid configuration for WebDAV!",webDAVInternalErrorText:"Internal error!",webDAVResponseContentErrorText:"The content of the network response is incorrect!",webDAVVerifyErrorText:"Server validation error! Please check the user and password configuration",webDAVPermissionErrorText:"No access permission for the specified path!",webDAVFileLostErrorText:"File not found!",webDAVContentDecodeErrorText:"Data decryption error!",webDAVUnknownErrorText:"Unknown error!",webDAVUploadSuccessText:"WebDAV: Upload successful",webDAVDownloadSuccessText:"WebDAV: Download successful",webDAVNoChangeText:"WebDAV: No data changes",webDAVNoFileText:"WebDAV: Cloud file does not exist",webDAVLocalNewText:"WebDAV: Local data is updated more than cloud data",webDAVCloudNewText:"WebDAV: Cloud data is updated more than local data"},Ac={addPlaceholder:"请输入新的备注,按下Enter键可保存",groupPlaceholder:"请输入新的分组值,按下Enter键可保存",saveTagText:"保存",saveTagTitle:"保存内容",clearTagText:"清除",clearTagTitle:"清除备注",cancelTagText:"取消",cancelTagTitle:"退出",searchTagTitle:"搜索备注",searchTagPlaceholder:"搜索备注,按下Enter键打开结果项",searchCloseTitle:"关闭搜索框",userIdText:"用户 ID",userNameText:"用户名",userTagTableText:"备注值",groupText:"分组",groupTitle:"切换分组",searchContentText:"搜索: ",searchContentPlaceholder:"请输入搜索内容",rangeText:"范围: ",rangeAllText:"全部",selectAllTitle:"全选",deleteSelectedText:"删除选中项",deleteSelectedTitle:"将选中的项删除",moveSelectedText:"移动选中项",moveSelectedTitle:"将选中的项移动至指定分组中",manageGroupsText:"分组管理",manageGroupsTitle:"打开分组管理面板",modifyText:"(内容已被修改)",waitText:"(等待数据加载中)",closeCotentText:"关闭",closeContentTitle:"关闭面板",saveContentText:"保存",saveContentTitle:"保存对内容的修改",saveCompletedNotifactionText:"已保存数据!",saveErrorNotifactionText:"保存数据失败!!!",backUpNotifactionText:"数据备份完成",restoreNotifactionText:"数据恢复完成",syncConfigNotifactionText:"已成功同步来自其它标签页的配置",syncGroupNotifactionText:"已成功同步来自其它标签页的分组值",syncNoteNotifactionText:"已成功同步来自其它标签页的备注信息",editText:"编辑",deleteText:"删除",editTitle:"编辑内容",deleteTitle:"删除内容",settingsHeadlineText:"设置",settingsCloseTitle:"关闭设置面板",settingsAboutSearchBoxText:"搜索框",settingsSearchBoxShowIndexText:"在顶部显示索引值",settingsSearchBoxCanHideSearchFrameText:"点击搜索框外部时隐藏搜索框",settingsSearchBoxShowGroupNameText:"结果项显示其分组值 (仅非默认分组时,不会被用于搜索)",settingsSearchBoxOpenNewTabText:"在新标签页中打开结果项 (未启用时,可以按下 Ctrl+Enter 在后台标签中打开结果;按下 Ctrl+Shift+Enter 在新标签页中打开结果)",settingsSearchBoxEnableShortcutKeysText:"允许使用快捷键打开搜索框 (Ctrl+Shift+F)",settingsAboutSearchValueText:"搜索内容",settingsSearchValueCaseSensitiveText:"区分字母大小写",settingsSearchValueSplitText:'拆分式搜索方法 ("ab cd" ==> "ab" && "cd")',settingsSearchValueRegularText:'支持使用正则表达式 (格式: "/pattern/gim")',settingsAddNoteShowNoteGroupNameText:"允许网页上的备注显示其分组值 (仅非默认分组时;备注值为空时也可以当作标签来使用)",settingsAddNoteHideNoteText:"隐藏详细的备注内容,仅显示分组值 (开启上面的选项才生效)",settingsAddNoteShowNoteGroupColorText:"允许将分组颜色应用到网页上的备注",settingsAddNoteShowPopoverFrameText:"允许悬停在备注上时显示同分组下的其他备注 (仅非默认分组时)",settingsAddNoteOpenNoteNewTabText:"在新标签页中打开其他备注 (未启用时,可以按住 Ctrl 并点击在后台标签中打开;按住 Ctrl+Shift 并点击在新标签页中打开)",settingsAddNoteCanHideAddFrameText:"点击添加框外部时隐藏添加框",settingsAboutAddNoteText:"备注",settingsAboutInterfaceText:"外观",settingsInterfaceInsertSearchButtonText:"在网页的右下角显示浮动搜索按钮",settingsInterfaceConfigText:"外观模式: ",settingsInterfaceSystemText:"跟随系统",settingsInterfaceBrightText:"明亮模式",settingsInterfaceDarkText:"暗黑模式",settingsInterfaceLanguageText:"显示语言: ",settingsAboutOtherText:"其他设置",settingsAboutStoredDataText:"存储数据",settingsWebDAVConfigText:"配置 WebDAV",settingsWebDAVSyncText:"同步数据",settingsWebDAVSyncTitle:"上传或下载备注数据",settingsWebDAVUploadText:"上传数据",settingsWebDAVUploadTitle:"上传本地备注数据至云端",settingsWebDAVDownloadText:"下载数据",settingsWebDAVDownloadTitle:"下载云端备注数据至本地",settingsWebDAVEnableText:"启用 WebDAV 同步数据功能",settingsFrameInterfaceAutoSyncText:"同步来自其他标签页的数据变动",settingsStoredDataLastTimeText:"上次修改时间: ",settingsWebDAVSyncTimeText:"上次 WebDAV 同步时间: ",settingsLocalDataText:"本地数据:",settingsNotesCountText:"备注数量:",settingsGroupCountText:"分组数量:",settingsStoredDataExportTitle:"备份所有存储数据到文件中",settingsStoredDataImportIitle:"从文件中恢复所有存储数据",settingsAboutScriptText:"关于脚本",settingsScriptAuthorText:"脚本作者: ",settingsScriptVersionText:"脚本版本: ",settingsScriptCoreText:"核心版本: ",settingsScriptLibraryText:"依赖库: ",settingsScriptIconText:"图标: ",settingsScriptHandlerText:"脚本管理器: ",settingsIconText:"图标: ",gmSettingsText:"打开设置面板",gmManagementText:"打开备注管理面板",gmGroupText:"打开分组管理面板",gmExportText:"备份数据",gmImportText:"恢复数据",defaultGroupText:"默认分组",groupNewValueText:"新的分组",groupCreateValueText:"新建分组",groupCreateValueTitle:"创建新的分组",groupValueText:"分组名",groupPrimaryColorText:"主要颜色",groupSecondaryColorText:"次要颜色",groupWeightText:"权重",selectGroupHeaderText:"选择分组",optionsImportNoFileText:"没有选择文件!",optionsImportNotATextFile:"这不是一个文本文件!",optionsImportValidText:"这是一个无效的文件!",optionsImportCannotFindFile:"无法找到文件!",optionsImportEmptyText:"文件内容为空!",optionsImportErrorObjectText:"解析对象时出错!",cancelText:"取消",webDAVHeaderText:"WebDAV 配置",webDAVURLText:"WebDAV URL(例如: https://example.com/):",webDAVFileText:"数据文件路径(相对 WebDAV 根目录,例如: notes/data.txt):",webDAVUserText:"WebDAV 用户名:",webDAVPasswordText:"WebDAV 密码:",webDAVPassphraseText:"密码短语(可选,用于加密数据文件):",webDAVIntervalText:"自动同步间隔(分钟,为 0 时表示禁用自动同步):",webDAVSyncModeText:"同步模式:",webDAVSyncModeTwoWayText:"双向的",webDAVSyncModeUploadText:"仅上传",webDAVSyncModeDownloadText:"仅下载",webDAVConfigInvalidText:"WebDAV 的配置无效!",webDAVInternalErrorText:"内部错误!",webDAVResponseContentErrorText:"网络响应的内容不正确!",webDAVVerifyErrorText:"服务端验证出错!请检查用户名及密码配置",webDAVPermissionErrorText:"没有指定路径的访问权限!",webDAVFileLostErrorText:"没有找到文件!",webDAVContentDecodeErrorText:"数据解码错误!",webDAVUnknownErrorText:"未知错误!",webDAVUploadSuccessText:"WebDAV: 上传数据完成",webDAVDownloadSuccessText:"WebDAV: 下载数据完成",webDAVNoChangeText:"WebDAV: 无数据变化",webDAVNoFileText:"WebDAV: 云端文件不存在",webDAVLocalNewText:"WebDAV: 本地数据比云端数据更新",webDAVCloudNewText:"WebDAV: 云端数据比本地数据更新"},kc={addPlaceholder:"請輸入新的備註,按下Enter鍵可儲存",groupPlaceholder:"請輸入新的分組值,按下Enter鍵可儲存",saveTagText:"儲存",saveTagTitle:"儲存內容",clearTagText:"清除",clearTagTitle:"清除備註",cancelTagText:"取消",cancelTagTitle:"退出",searchTagTitle:"搜尋備註",searchTagPlaceholder:"搜尋備註,按下Enter鍵開啟結果項",searchCloseTitle:"關閉搜尋框",userIdText:"使用者 ID",userNameText:"使用者名稱",userTagTableText:"備註值",groupText:"分組",groupTitle:"切換分组",searchContentText:"搜尋: ",searchContentPlaceholder:"請輸入搜尋內容",rangeText:"範圍: ",rangeAllText:"全部",selectAllTitle:"全選",deleteSelectedText:"刪除選中項",deleteSelectedTitle:"將選中的項刪除",moveSelectedText:"移動選中項",moveSelectedTitle:"將選中的項移動至指定分組中",manageGroupsText:"分組管理",manageGroupsTitle:"開啟分組管理面板",modifyText:"(內容已被修改)",waitText:"(等待資料載入中)",closeCotentText:"關閉",closeContentTitle:"關閉面板",saveContentText:"儲存",saveContentTitle:"儲存對內容的修改",saveCompletedNotifactionText:"已儲存資料!",saveErrorNotifactionText:"儲存資料失敗!!!",backUpNotifactionText:"資料備份完成",restoreNotifactionText:"資料恢復完成",syncConfigNotifactionText:"已成功同步來自其它標籤頁的配置",syncGroupNotifactionText:"已成功同步來自其它標籤頁的分組值",syncNoteNotifactionText:"已成功同步來自其它標籤頁的備註資訊",editText:"編輯",deleteText:"刪除",editTitle:"編輯內容",deleteTitle:"刪除內容",settingsHeadlineText:"設定",settingsCloseTitle:"關閉設定面板",settingsAboutSearchBoxText:"搜尋框",settingsSearchBoxShowIndexText:"在頂部顯示索引值",settingsSearchBoxCanHideSearchFrameText:"點選搜尋框外部時隱藏搜尋框",settingsSearchBoxShowGroupNameText:"結果項顯示其分組值 (僅非預設分組時,不會被用於搜尋)",settingsSearchBoxOpenNewTabText:"在新標籤頁中開啟結果項 (未啟用時,可以按下 Ctrl+Enter 在後臺標籤中開啟結果;按下 Ctrl+Shift+Enter 在新標籤頁中開啟結果)",settingsSearchBoxEnableShortcutKeysText:"允許使用快捷鍵開啟搜尋框 (Ctrl+Shift+F)",settingsAboutSearchValueText:"搜尋內容",settingsSearchValueCaseSensitiveText:"區分字母大小寫",settingsSearchValueSplitText:'拆分式搜尋方法 ("ab cd" ==> "ab" && "cd")',settingsSearchValueRegularText:'支援使用正則表示式 (格式: "/pattern/gim")',settingsAddNoteShowNoteGroupNameText:"允許網頁上的備註顯示其分組值 (僅非預設分組時;備註值為空時也可以當作標籤來使用)",settingsAddNoteHideNoteText:"隱藏詳細的備註內容,僅顯示分組值 (開啟上面的選項才生效)",settingsAddNoteShowNoteGroupColorText:"允許將分組顏色應用到網頁上的備註",settingsAddNoteShowPopoverFrameText:"允許懸停在備註上時顯示同分組下的其他備註 (僅非預設分組時)",settingsAddNoteOpenNoteNewTabText:"在新標籤頁中開啟其他備註 (未啟用時,可以按住 Ctrl 並點選在後臺標籤中開啟;按住 Ctrl+Shift 並點選在新標籤頁中開啟)",settingsAddNoteCanHideAddFrameText:"點選新增框外部時隱藏新增框",settingsAboutAddNoteText:"備註",settingsAboutInterfaceText:"外觀",settingsInterfaceInsertSearchButtonText:"在網頁的右下角顯示浮動搜尋按鈕",settingsInterfaceConfigText:"外觀模式: ",settingsInterfaceSystemText:"跟隨系統",settingsInterfaceBrightText:"明亮模式",settingsInterfaceDarkText:"暗黑模式",settingsInterfaceLanguageText:"顯示語言: ",settingsAboutOtherText:"其他設定",settingsAboutStoredDataText:"儲存資料",settingsWebDAVConfigText:"配置 WebDAV",settingsWebDAVSyncText:"同步資料",settingsWebDAVSyncTitle:"上傳或下載備註資料",settingsWebDAVUploadText:"上傳資料",settingsWebDAVUploadTitle:"上傳本地備註資料至雲端",settingsWebDAVDownloadText:"下載資料",settingsWebDAVDownloadTitle:"下載雲端備註資料至本地",settingsWebDAVEnableText:"啟用 WebDAV 同步資料功能",settingsFrameInterfaceAutoSyncText:"同步來自其他標籤頁的資料變動",settingsStoredDataLastTimeText:"上次修改時間: ",settingsWebDAVSyncTimeText:"上次 WebDAV 同步時間: ",settingsLocalDataText:"本地資料:",settingsNotesCountText:"備註數量:",settingsGroupCountText:"分組數量:",settingsStoredDataExportTitle:"備份所有儲存資料到檔案中",settingsStoredDataImportIitle:"從檔案中恢復所有儲存資料",settingsAboutScriptText:"關於指令碼",settingsScriptAuthorText:"指令碼作者: ",settingsScriptVersionText:"指令碼版本: ",settingsScriptCoreText:"核心版本: ",settingsScriptLibraryText:"依賴庫: ",settingsScriptIconText:"圖示: ",settingsScriptHandlerText:"指令碼管理器: ",settingsIconText:"圖示: ",gmSettingsText:"開啟設定面板",gmManagementText:"開啟備註管理面板",gmGroupText:"開啟分組管理面板",gmExportText:"備份資料",gmImportText:"恢復資料",defaultGroupText:"預設分組",groupNewValueText:"新的分組",groupCreateValueText:"新建分組",groupCreateValueTitle:"建立新的分組",groupValueText:"分組名",groupPrimaryColorText:"主要顏色",groupSecondaryColorText:"次要顏色",groupWeightText:"權重",selectGroupHeaderText:"選擇分組",optionsImportNoFileText:"沒有選擇檔案!",optionsImportNotATextFile:"這不是一個文字檔案!",optionsImportValidText:"這是一個無效的檔案!",optionsImportCannotFindFile:"無法找到檔案!",optionsImportEmptyText:"檔案內容為空!",optionsImportErrorObjectText:"解析物件時出錯!",cancelText:"取消",webDAVHeaderText:"WebDAV 配置",webDAVURLText:"WebDAV URL(例如: https://example.com/):",webDAVFileText:"資料檔案路徑(相對 WebDAV 根目錄,例如: notes/data.txt):",webDAVUserText:"WebDAV 使用者名稱:",webDAVPasswordText:"WebDAV 密碼:",webDAVPassphraseText:"密碼短語(可選,用於加密資料檔案):",webDAVIntervalText:"自動同步間隔(分鐘,為 0 時表示禁用自動同步):",webDAVSyncModeText:"同步模式:",webDAVSyncModeTwoWayText:"雙向的",webDAVSyncModeUploadText:"僅上傳",webDAVSyncModeDownloadText:"僅下載",webDAVConfigInvalidText:"WebDAV 的配置無效!",webDAVInternalErrorText:"內部錯誤!",webDAVResponseContentErrorText:"網路響應的內容不正確!",webDAVVerifyErrorText:"服務端驗證出錯!請檢查使用者名稱及密碼配置",webDAVPermissionErrorText:"沒有指定路徑的訪問許可權!",webDAVFileLostErrorText:"沒有找到檔案!",webDAVContentDecodeErrorText:"資料解碼錯誤!",webDAVUnknownErrorText:"未知錯誤!",webDAVUploadSuccessText:"WebDAV: 上傳資料完成",webDAVDownloadSuccessText:"WebDAV: 下载数据完成",webDAVNoChangeText:"WebDAV: 無資料變化",webDAVNoFileText:"WebDAV: 雲端檔案不存在",webDAVLocalNewText:"WebDAV: 本地資料比雲端資料更新",webDAVCloudNewText:"WebDAV: 雲端資料比本地資料更新"};class Vc{constructor(){Tt(this,"lang");Tt(this,"type");this.lang={en:Cc,zhHans:Ac,zhHant:kc},this.type="en"}get(){return this.lang[this.type]}query(t){return this.lang[this.type][t]||""}setLangDict(t){const n=["en","zhHans","zhHant"];for(const o in t){const r=o;n.forEach(s=>{const l=t[r];if(l){const a=l[s];a&&(this.lang[s][r]=a)}})}}getLangType(){return this.type}setLangType(t){switch(t==null?void 0:t.toLowerCase().replaceAll("_","").replaceAll("-","")){case"zh":case"zhcn":case"zhhans":this.type="zhHans";break;case"zhhk":case"zhtw":case"zhhant":this.type="zhHant";break;default:this.type="en"}}getLangOptions(){return{en:"English (en)",zhHans:"简体中文 (zh-Hans)",zhHant:"繁體中文 (zh-Hant)"}}}const he={error(e){const t=`The required ${e} method is incomplete!!!`;console.error(t)},warn(e){console.warn(`The required ${e} method is incomplete!!!`)},tips(e){console.info("Tips: "+e)},info(){return typeof GM_info=="object"?GM_info:(this.warn("GM_info"),{scriptHandler:"Unknown",script:{version:"0.0.0"}})},getValue(e,t){return typeof GM_getValue=="function"?GM_getValue(e,t):(this.error("GM_getValue"),t)},setValue(e,t){typeof GM_setValue=="function"?GM_setValue(e,t):this.error("GM_setValue")},deleteValue(e){typeof GM_deleteValue=="function"?GM_deleteValue(e):this.error("GM_deleteValue")},listValues(){return typeof GM_listValues=="function"?GM_listValues():(this.error("GM_listValues"),[])},openInTab(e,t){typeof GM_openInTab=="function"?GM_openInTab(e,t):this.error("GM_openInTab")},registerMenuCommand(e,t){if(typeof GM_registerMenuCommand=="function"){const{scriptHandler:n,version:o="0"}=this.info();return n==="Violentmonkey"&&Es("2.12.5",o,".",!0)?(this.tips("Maybe you should update Violentmonkey to 2.12.5 or higher."),null):GM_registerMenuCommand(e,t)}return this.warn("GM_registerMenuCommand"),null},unregisterMenuCommand(e){if(typeof GM_unregisterMenuCommand=="function"){const{scriptHandler:t,version:n="0"}=this.info();if(t==="Violentmonkey"&&Es("2.12.5",n,".",!0))return void this.tips("Maybe you should update Violentmonkey to 2.12.5 or higher.");GM_unregisterMenuCommand(e)}else this.warn("GM_unregisterMenuCommand")},addValueChangeListener(e,t){return typeof GM_addValueChangeListener=="function"?GM_addValueChangeListener(e,t):(this.warn("GM_addValueChangeListener"),null)},removeValueChangeListener(e){typeof GM_removeValueChangeListener=="function"?GM_removeValueChangeListener(e):this.warn("GM_removeValueChangeListener")},setClipboard(e){typeof GM_setClipboard=="function"?GM_setClipboard(e):this.error("GM_setClipboard")},addStyle(e){if(typeof GM_addStyle=="function")return GM_addStyle(e);{const t=document.createElement("style");return t.innerHTML=e,document.body.appendChild(t),t}},ajax(e,t){const{method:n="GET",headers:o,data:r,responseType:s}=t;return new Promise((l,a)=>{typeof GM_xmlhttpRequest=="function"?GM_xmlhttpRequest({method:n,url:e,headers:o,data:r,nocache:!0,responseType:s,onload:i=>{l(i)},onerror:i=>{console.error(i),a(i)}}):(this.error("GM_xmlhttpRequest"),a(null))})}};var un=(e=>(e[e.Self=0]="Self",e[e.Blank=1]="Blank",e[e.BgBlank=2]="BgBlank",e))(un||{});function Es(e,t,n=".",o=!1){const r=e.split(n),s=t.split(n);let l=!1;const a=r.length,i=s.length;for(let c=(a<i?a:i)-1;c>=0;c--){const u=Number(r[c]),v=Number(s[c]);l=u>v||!(!o||u!==v)}return l}function Dc(e,t){t===1?he.openInTab(e,{active:!0,insert:!0,setParent:!0}):t===2?he.openInTab(e,{active:!1,insert:!0,setParent:!0}):window.location.href=e}function Is(e){return e.getBoundingClientRect().right+document.documentElement.scrollLeft}function Ms(e){return e.getBoundingClientRect().bottom+document.documentElement.scrollTop}function Aa(e,t={}){const{brackets:n,double:o,prefix:r}=t;if(e&&(r&&(e=r+e),o&&(e=o+e+o),n))switch(n){case"angle":e=`<${e}>`;break;case"curly":e=`{${e}}`;break;case"square":e=`[${e}]`;break;case"parentheses":e=`(${e})`}return e}function ar(e,t){return e.toString().padStart(t,"0")}const Xe={timer:{},debounce(e,t,n,o){return window.clearTimeout(this.timer[e]),o&&this.timer[e]===void 0&&t(),this.timer[e]=window.setTimeout(()=>{t(),this.timer[e]=void 0},n),{cancel:()=>{window.clearTimeout(this.timer[e]),this.timer[e]=void 0}}}};var lr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ka(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Nc(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var Os={exports:{}},Ls={exports:{}};const jc=Nc(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Fs;function $t(){return Fs||(Fs=1,Ls.exports=(e=e||(function(t,n){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&lr!==void 0&&lr.crypto&&(o=lr.crypto),!o)try{o=jc}catch{}var r=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||(function(){function f(){}return function(b){var S;return f.prototype=b,S=new f,f.prototype=null,S}})(),l={},a=l.lib={},i=a.Base={extend:function(f){var b=s(this);return f&&b.mixIn(f),b.hasOwnProperty("init")&&this.init!==b.init||(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var f=this.extend();return f.init.apply(f,arguments),f},init:function(){},mixIn:function(f){for(var b in f)f.hasOwnProperty(b)&&(this[b]=f[b]);f.hasOwnProperty("toString")&&(this.toString=f.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=i.extend({init:function(f,b){f=this.words=f||[],this.sigBytes=b!=n?b:4*f.length},toString:function(f){return(f||v).stringify(this)},concat:function(f){var b=this.words,S=f.words,h=this.sigBytes,d=f.sigBytes;if(this.clamp(),h%4)for(var g=0;g<d;g++){var T=S[g>>>2]>>>24-g%4*8&255;b[h+g>>>2]|=T<<24-(h+g)%4*8}else for(var k=0;k<d;k+=4)b[h+k>>>2]=S[k>>>2];return this.sigBytes+=d,this},clamp:function(){var f=this.words,b=this.sigBytes;f[b>>>2]&=4294967295<<32-b%4*8,f.length=t.ceil(b/4)},clone:function(){var f=i.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var b=[],S=0;S<f;S+=4)b.push(r());return new c.init(b,f)}}),u=l.enc={},v=u.Hex={stringify:function(f){for(var b=f.words,S=f.sigBytes,h=[],d=0;d<S;d++){var g=b[d>>>2]>>>24-d%4*8&255;h.push((g>>>4).toString(16)),h.push((15&g).toString(16))}return h.join("")},parse:function(f){for(var b=f.length,S=[],h=0;h<b;h+=2)S[h>>>3]|=parseInt(f.substr(h,2),16)<<24-h%8*4;return new c.init(S,b/2)}},w=u.Latin1={stringify:function(f){for(var b=f.words,S=f.sigBytes,h=[],d=0;d<S;d++){var g=b[d>>>2]>>>24-d%4*8&255;h.push(String.fromCharCode(g))}return h.join("")},parse:function(f){for(var b=f.length,S=[],h=0;h<b;h++)S[h>>>2]|=(255&f.charCodeAt(h))<<24-h%4*8;return new c.init(S,b)}},p=u.Utf8={stringify:function(f){try{return decodeURIComponent(escape(w.stringify(f)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(f){return w.parse(unescape(encodeURIComponent(f)))}},m=a.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(f){typeof f=="string"&&(f=p.parse(f)),this._data.concat(f),this._nDataBytes+=f.sigBytes},_process:function(f){var b,S=this._data,h=S.words,d=S.sigBytes,g=this.blockSize,T=d/(4*g),k=(T=f?t.ceil(T):t.max((0|T)-this._minBufferSize,0))*g,j=t.min(4*k,d);if(k){for(var V=0;V<k;V+=g)this._doProcessBlock(h,V);b=h.splice(0,k),S.sigBytes-=j}return new c.init(b,j)},clone:function(){var f=i.clone.call(this);return f._data=this._data.clone(),f},_minBufferSize:0});a.Hasher=m.extend({cfg:i.extend(),init:function(f){this.cfg=this.cfg.extend(f),this.reset()},reset:function(){m.reset.call(this),this._doReset()},update:function(f){return this._append(f),this._process(),this},finalize:function(f){return f&&this._append(f),this._doFinalize()},blockSize:16,_createHelper:function(f){return function(b,S){return new f.init(S).finalize(b)}},_createHmacHelper:function(f){return function(b,S){return new A.HMAC.init(f,S).finalize(b)}}});var A=l.algo={};return l})(Math),e)),Ls.exports;var e}var Bs,Us={exports:{}};function Ec(){return Bs||(Bs=1,Us.exports=(e=$t(),(function(){var t=e,n=t.lib.WordArray;function o(r,s,l){for(var a=[],i=0,c=0;c<s;c++)if(c%4){var u=l[r.charCodeAt(c-1)]<<c%4*2|l[r.charCodeAt(c)]>>>6-c%4*2;a[i>>>2]|=u<<24-i%4*8,i++}return n.create(a,i)}t.enc.Base64={stringify:function(r){var s=r.words,l=r.sigBytes,a=this._map;r.clamp();for(var i=[],c=0;c<l;c+=3)for(var u=(s[c>>>2]>>>24-c%4*8&255)<<16|(s[c+1>>>2]>>>24-(c+1)%4*8&255)<<8|s[c+2>>>2]>>>24-(c+2)%4*8&255,v=0;v<4&&c+.75*v<l;v++)i.push(a.charAt(u>>>6*(3-v)&63));var w=a.charAt(64);if(w)for(;i.length%4;)i.push(w);return i.join("")},parse:function(r){var s=r.length,l=this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var i=0;i<l.length;i++)a[l.charCodeAt(i)]=i}var c=l.charAt(64);if(c){var u=r.indexOf(c);u!==-1&&(s=u)}return o(r,s,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})(),e.enc.Base64)),Us.exports;var e}var Ps,Ws={exports:{}};function Ic(){return Ps||(Ps=1,Ws.exports=(e=$t(),(function(t){var n=e,o=n.lib,r=o.WordArray,s=o.Hasher,l=n.algo,a=[];(function(){for(var p=0;p<64;p++)a[p]=4294967296*t.abs(t.sin(p+1))|0})();var i=l.MD5=s.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,m){for(var A=0;A<16;A++){var f=m+A,b=p[f];p[f]=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8)}var S=this._hash.words,h=p[m+0],d=p[m+1],g=p[m+2],T=p[m+3],k=p[m+4],j=p[m+5],V=p[m+6],I=p[m+7],P=p[m+8],M=p[m+9],re=p[m+10],ue=p[m+11],se=p[m+12],ee=p[m+13],oe=p[m+14],ie=p[m+15],B=S[0],F=S[1],U=S[2],$=S[3];B=c(B,F,U,$,h,7,a[0]),$=c($,B,F,U,d,12,a[1]),U=c(U,$,B,F,g,17,a[2]),F=c(F,U,$,B,T,22,a[3]),B=c(B,F,U,$,k,7,a[4]),$=c($,B,F,U,j,12,a[5]),U=c(U,$,B,F,V,17,a[6]),F=c(F,U,$,B,I,22,a[7]),B=c(B,F,U,$,P,7,a[8]),$=c($,B,F,U,M,12,a[9]),U=c(U,$,B,F,re,17,a[10]),F=c(F,U,$,B,ue,22,a[11]),B=c(B,F,U,$,se,7,a[12]),$=c($,B,F,U,ee,12,a[13]),U=c(U,$,B,F,oe,17,a[14]),B=u(B,F=c(F,U,$,B,ie,22,a[15]),U,$,d,5,a[16]),$=u($,B,F,U,V,9,a[17]),U=u(U,$,B,F,ue,14,a[18]),F=u(F,U,$,B,h,20,a[19]),B=u(B,F,U,$,j,5,a[20]),$=u($,B,F,U,re,9,a[21]),U=u(U,$,B,F,ie,14,a[22]),F=u(F,U,$,B,k,20,a[23]),B=u(B,F,U,$,M,5,a[24]),$=u($,B,F,U,oe,9,a[25]),U=u(U,$,B,F,T,14,a[26]),F=u(F,U,$,B,P,20,a[27]),B=u(B,F,U,$,ee,5,a[28]),$=u($,B,F,U,g,9,a[29]),U=u(U,$,B,F,I,14,a[30]),B=v(B,F=u(F,U,$,B,se,20,a[31]),U,$,j,4,a[32]),$=v($,B,F,U,P,11,a[33]),U=v(U,$,B,F,ue,16,a[34]),F=v(F,U,$,B,oe,23,a[35]),B=v(B,F,U,$,d,4,a[36]),$=v($,B,F,U,k,11,a[37]),U=v(U,$,B,F,I,16,a[38]),F=v(F,U,$,B,re,23,a[39]),B=v(B,F,U,$,ee,4,a[40]),$=v($,B,F,U,h,11,a[41]),U=v(U,$,B,F,T,16,a[42]),F=v(F,U,$,B,V,23,a[43]),B=v(B,F,U,$,M,4,a[44]),$=v($,B,F,U,se,11,a[45]),U=v(U,$,B,F,ie,16,a[46]),B=w(B,F=v(F,U,$,B,g,23,a[47]),U,$,h,6,a[48]),$=w($,B,F,U,I,10,a[49]),U=w(U,$,B,F,oe,15,a[50]),F=w(F,U,$,B,j,21,a[51]),B=w(B,F,U,$,se,6,a[52]),$=w($,B,F,U,T,10,a[53]),U=w(U,$,B,F,re,15,a[54]),F=w(F,U,$,B,d,21,a[55]),B=w(B,F,U,$,P,6,a[56]),$=w($,B,F,U,ie,10,a[57]),U=w(U,$,B,F,V,15,a[58]),F=w(F,U,$,B,ee,21,a[59]),B=w(B,F,U,$,k,6,a[60]),$=w($,B,F,U,ue,10,a[61]),U=w(U,$,B,F,g,15,a[62]),F=w(F,U,$,B,M,21,a[63]),S[0]=S[0]+B|0,S[1]=S[1]+F|0,S[2]=S[2]+U|0,S[3]=S[3]+$|0},_doFinalize:function(){var p=this._data,m=p.words,A=8*this._nDataBytes,f=8*p.sigBytes;m[f>>>5]|=128<<24-f%32;var b=t.floor(A/4294967296),S=A;m[15+(f+64>>>9<<4)]=16711935&(b<<8|b>>>24)|4278255360&(b<<24|b>>>8),m[14+(f+64>>>9<<4)]=16711935&(S<<8|S>>>24)|4278255360&(S<<24|S>>>8),p.sigBytes=4*(m.length+1),this._process();for(var h=this._hash,d=h.words,g=0;g<4;g++){var T=d[g];d[g]=16711935&(T<<8|T>>>24)|4278255360&(T<<24|T>>>8)}return h},clone:function(){var p=s.clone.call(this);return p._hash=this._hash.clone(),p}});function c(p,m,A,f,b,S,h){var d=p+(m&A|~m&f)+b+h;return(d<<S|d>>>32-S)+m}function u(p,m,A,f,b,S,h){var d=p+(m&f|A&~f)+b+h;return(d<<S|d>>>32-S)+m}function v(p,m,A,f,b,S,h){var d=p+(m^A^f)+b+h;return(d<<S|d>>>32-S)+m}function w(p,m,A,f,b,S,h){var d=p+(A^(m|~f))+b+h;return(d<<S|d>>>32-S)+m}n.MD5=s._createHelper(i),n.HmacMD5=s._createHmacHelper(i)})(Math),e.MD5)),Ws.exports;var e}var Rs,Hs={exports:{}},Gs={exports:{}};function Mc(){return Rs||(Rs=1,Gs.exports=(a=$t(),t=(e=a).lib,n=t.WordArray,o=t.Hasher,r=e.algo,s=[],l=r.SHA1=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(i,c){for(var u=this._hash.words,v=u[0],w=u[1],p=u[2],m=u[3],A=u[4],f=0;f<80;f++){if(f<16)s[f]=0|i[c+f];else{var b=s[f-3]^s[f-8]^s[f-14]^s[f-16];s[f]=b<<1|b>>>31}var S=(v<<5|v>>>27)+A+s[f];S+=f<20?1518500249+(w&p|~w&m):f<40?1859775393+(w^p^m):f<60?(w&p|w&m|p&m)-1894007588:(w^p^m)-899497514,A=m,m=p,p=w<<30|w>>>2,w=v,v=S}u[0]=u[0]+v|0,u[1]=u[1]+w|0,u[2]=u[2]+p|0,u[3]=u[3]+m|0,u[4]=u[4]+A|0},_doFinalize:function(){var i=this._data,c=i.words,u=8*this._nDataBytes,v=8*i.sigBytes;return c[v>>>5]|=128<<24-v%32,c[14+(v+64>>>9<<4)]=Math.floor(u/4294967296),c[15+(v+64>>>9<<4)]=u,i.sigBytes=4*c.length,this._process(),this._hash},clone:function(){var i=o.clone.call(this);return i._hash=this._hash.clone(),i}}),e.SHA1=o._createHelper(l),e.HmacSHA1=o._createHmacHelper(l),a.SHA1)),Gs.exports;var e,t,n,o,r,s,l,a}var $s,Oc={exports:{}},Ks;function zs(){return Ks?Hs.exports:(Ks=1,Hs.exports=(function(r){return(function(){var s=r,l=s.lib,a=l.Base,i=l.WordArray,c=s.algo,u=c.MD5,v=c.EvpKDF=a.extend({cfg:a.extend({keySize:4,hasher:u,iterations:1}),init:function(w){this.cfg=this.cfg.extend(w)},compute:function(w,p){for(var m,A=this.cfg,f=A.hasher.create(),b=i.create(),S=b.words,h=A.keySize,d=A.iterations;S.length<h;){m&&f.update(m),m=f.update(w).finalize(p),f.reset();for(var g=1;g<d;g++)m=f.finalize(m),f.reset();b.concat(m)}return b.sigBytes=4*h,b}});s.EvpKDF=function(w,p,m){return v.create(m).compute(w,p)}})(),r.EvpKDF})($t(),Mc(),$s||($s=1,Oc.exports=(e=$t(),n=(t=e).lib.Base,o=t.enc.Utf8,void(t.algo.HMAC=n.extend({init:function(r,s){r=this._hasher=new r.init,typeof s=="string"&&(s=o.parse(s));var l=r.blockSize,a=4*l;s.sigBytes>a&&(s=r.finalize(s)),s.clamp();for(var i=this._oKey=s.clone(),c=this._iKey=s.clone(),u=i.words,v=c.words,w=0;w<l;w++)u[w]^=1549556828,v[w]^=909522486;i.sigBytes=c.sigBytes=a,this.reset()},reset:function(){var r=this._hasher;r.reset(),r.update(this._iKey)},update:function(r){return this._hasher.update(r),this},finalize:function(r){var s=this._hasher,l=s.finalize(r);return s.reset(),s.finalize(this._oKey.clone().concat(l))}}))))));var e,t,n,o}var qs,Lc={exports:{}},Js,cr,Fc=(Js||(Js=1,Os.exports=(function(e){return(function(){var t=e,n=t.lib.BlockCipher,o=t.algo,r=[],s=[],l=[],a=[],i=[],c=[],u=[],v=[],w=[],p=[];(function(){for(var f=[],b=0;b<256;b++)f[b]=b<128?b<<1:b<<1^283;var S=0,h=0;for(b=0;b<256;b++){var d=h^h<<1^h<<2^h<<3^h<<4;d=d>>>8^255&d^99,r[S]=d,s[d]=S;var g=f[S],T=f[g],k=f[T],j=257*f[d]^16843008*d;l[S]=j<<24|j>>>8,a[S]=j<<16|j>>>16,i[S]=j<<8|j>>>24,c[S]=j,j=16843009*k^65537*T^257*g^16843008*S,u[d]=j<<24|j>>>8,v[d]=j<<16|j>>>16,w[d]=j<<8|j>>>24,p[d]=j,S?(S=g^f[f[f[k^g]]],h^=f[f[h]]):S=h=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],A=o.AES=n.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var f=this._keyPriorReset=this._key,b=f.words,S=f.sigBytes/4,h=4*((this._nRounds=S+6)+1),d=this._keySchedule=[],g=0;g<h;g++)g<S?d[g]=b[g]:(j=d[g-1],g%S?S>6&&g%S==4&&(j=r[j>>>24]<<24|r[j>>>16&255]<<16|r[j>>>8&255]<<8|r[255&j]):(j=r[(j=j<<8|j>>>24)>>>24]<<24|r[j>>>16&255]<<16|r[j>>>8&255]<<8|r[255&j],j^=m[g/S|0]<<24),d[g]=d[g-S]^j);for(var T=this._invKeySchedule=[],k=0;k<h;k++){if(g=h-k,k%4)var j=d[g];else j=d[g-4];T[k]=k<4||g<=4?j:u[r[j>>>24]]^v[r[j>>>16&255]]^w[r[j>>>8&255]]^p[r[255&j]]}}},encryptBlock:function(f,b){this._doCryptBlock(f,b,this._keySchedule,l,a,i,c,r)},decryptBlock:function(f,b){var S=f[b+1];f[b+1]=f[b+3],f[b+3]=S,this._doCryptBlock(f,b,this._invKeySchedule,u,v,w,p,s),S=f[b+1],f[b+1]=f[b+3],f[b+3]=S},_doCryptBlock:function(f,b,S,h,d,g,T,k){for(var j=this._nRounds,V=f[b]^S[0],I=f[b+1]^S[1],P=f[b+2]^S[2],M=f[b+3]^S[3],re=4,ue=1;ue<j;ue++){var se=h[V>>>24]^d[I>>>16&255]^g[P>>>8&255]^T[255&M]^S[re++],ee=h[I>>>24]^d[P>>>16&255]^g[M>>>8&255]^T[255&V]^S[re++],oe=h[P>>>24]^d[M>>>16&255]^g[V>>>8&255]^T[255&I]^S[re++],ie=h[M>>>24]^d[V>>>16&255]^g[I>>>8&255]^T[255&P]^S[re++];V=se,I=ee,P=oe,M=ie}se=(k[V>>>24]<<24|k[I>>>16&255]<<16|k[P>>>8&255]<<8|k[255&M])^S[re++],ee=(k[I>>>24]<<24|k[P>>>16&255]<<16|k[M>>>8&255]<<8|k[255&V])^S[re++],oe=(k[P>>>24]<<24|k[M>>>16&255]<<16|k[V>>>8&255]<<8|k[255&I])^S[re++],ie=(k[M>>>24]<<24|k[V>>>16&255]<<16|k[I>>>8&255]<<8|k[255&P])^S[re++],f[b]=se,f[b+1]=ee,f[b+2]=oe,f[b+3]=ie},keySize:8});t.AES=n._createHelper(A)})(),e.AES})($t(),Ec(),Ic(),zs(),qs||(qs=1,Lc.exports=(cr=$t(),zs(),void(cr.lib.Cipher||(function(e){var t=cr,n=t.lib,o=n.Base,r=n.WordArray,s=n.BufferedBlockAlgorithm,l=t.enc;l.Utf8;var a=l.Base64,i=t.algo.EvpKDF,c=n.Cipher=s.extend({cfg:o.extend(),createEncryptor:function(h,d){return this.create(this._ENC_XFORM_MODE,h,d)},createDecryptor:function(h,d){return this.create(this._DEC_XFORM_MODE,h,d)},init:function(h,d,g){this.cfg=this.cfg.extend(g),this._xformMode=h,this._key=d,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(h){return this._append(h),this._process()},finalize:function(h){return h&&this._append(h),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function h(d){return typeof d=="string"?S:f}return function(d){return{encrypt:function(g,T,k){return h(T).encrypt(d,g,T,k)},decrypt:function(g,T,k){return h(T).decrypt(d,g,T,k)}}}})()});n.StreamCipher=c.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var u=t.mode={},v=n.BlockCipherMode=o.extend({createEncryptor:function(h,d){return this.Encryptor.create(h,d)},createDecryptor:function(h,d){return this.Decryptor.create(h,d)},init:function(h,d){this._cipher=h,this._iv=d}}),w=u.CBC=(function(){var h=v.extend();function d(g,T,k){var j,V=this._iv;V?(j=V,this._iv=e):j=this._prevBlock;for(var I=0;I<k;I++)g[T+I]^=j[I]}return h.Encryptor=h.extend({processBlock:function(g,T){var k=this._cipher,j=k.blockSize;d.call(this,g,T,j),k.encryptBlock(g,T),this._prevBlock=g.slice(T,T+j)}}),h.Decryptor=h.extend({processBlock:function(g,T){var k=this._cipher,j=k.blockSize,V=g.slice(T,T+j);k.decryptBlock(g,T),d.call(this,g,T,j),this._prevBlock=V}}),h})(),p=(t.pad={}).Pkcs7={pad:function(h,d){for(var g=4*d,T=g-h.sigBytes%g,k=T<<24|T<<16|T<<8|T,j=[],V=0;V<T;V+=4)j.push(k);var I=r.create(j,T);h.concat(I)},unpad:function(h){var d=255&h.words[h.sigBytes-1>>>2];h.sigBytes-=d}};n.BlockCipher=c.extend({cfg:c.cfg.extend({mode:w,padding:p}),reset:function(){var h;c.reset.call(this);var d=this.cfg,g=d.iv,T=d.mode;this._xformMode==this._ENC_XFORM_MODE?h=T.createEncryptor:(h=T.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==h?this._mode.init(this,g&&g.words):(this._mode=h.call(T,this,g&&g.words),this._mode.__creator=h)},_doProcessBlock:function(h,d){this._mode.processBlock(h,d)},_doFinalize:function(){var h,d=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(d.pad(this._data,this.blockSize),h=this._process(!0)):(h=this._process(!0),d.unpad(h)),h},blockSize:4});var m=n.CipherParams=o.extend({init:function(h){this.mixIn(h)},toString:function(h){return(h||this.formatter).stringify(this)}}),A=(t.format={}).OpenSSL={stringify:function(h){var d=h.ciphertext,g=h.salt;return(g?r.create([1398893684,1701076831]).concat(g).concat(d):d).toString(a)},parse:function(h){var d,g=a.parse(h),T=g.words;return T[0]==1398893684&&T[1]==1701076831&&(d=r.create(T.slice(2,4)),T.splice(0,4),g.sigBytes-=16),m.create({ciphertext:g,salt:d})}},f=n.SerializableCipher=o.extend({cfg:o.extend({format:A}),encrypt:function(h,d,g,T){T=this.cfg.extend(T);var k=h.createEncryptor(g,T),j=k.finalize(d),V=k.cfg;return m.create({ciphertext:j,key:g,iv:V.iv,algorithm:h,mode:V.mode,padding:V.padding,blockSize:h.blockSize,formatter:T.format})},decrypt:function(h,d,g,T){return T=this.cfg.extend(T),d=this._parse(d,T.format),h.createDecryptor(g,T).finalize(d.ciphertext)},_parse:function(h,d){return typeof h=="string"?d.parse(h,this):h}}),b=(t.kdf={}).OpenSSL={execute:function(h,d,g,T,k){if(T||(T=r.random(8)),k)j=i.create({keySize:d+g,hasher:k}).compute(h,T);else var j=i.create({keySize:d+g}).compute(h,T);var V=r.create(j.words.slice(d),4*g);return j.sigBytes=4*d,m.create({key:j,iv:V,salt:T})}},S=n.PasswordBasedCipher=f.extend({cfg:f.cfg.extend({kdf:b}),encrypt:function(h,d,g,T){var k=(T=this.cfg.extend(T)).kdf.execute(g,h.keySize,h.ivSize,T.salt,T.hasher);T.iv=k.iv;var j=f.encrypt.call(this,h,d,k.key,T);return j.mixIn(k),j},decrypt:function(h,d,g,T){T=this.cfg.extend(T),d=this._parse(d,T.format);var k=T.kdf.execute(g,h.keySize,h.ivSize,d.salt,T.hasher);return T.iv=k.iv,f.decrypt.call(this,h,d,k.key,T)}})})()))))),Os.exports);const Xs=ka(Fc);var Qs,Ys={exports:{}},Bc=(Qs||(Qs=1,Ys.exports=(function(e){return e.enc.Utf8})($t())),Ys.exports);const Uc=ka(Bc),Zs={error(e){const t=`The required ${e} method is incomplete!!!`;console.error(t)},ajax(e,t){const{method:n="GET",headers:o,data:r,responseType:s}=t;return new Promise((l,a)=>{typeof GM_xmlhttpRequest=="function"?GM_xmlhttpRequest({method:n,url:e,headers:o,data:r,nocache:!0,responseType:s,onload:i=>{l(i)},onerror:i=>{console.error(i),a(null)}}):(this.error("GM_xmlhttpRequest"),a(null))})}};class Pc extends Error{constructor(t){super(t),this.name="InternalError"}}class Wc extends Error{constructor(){super("unauthorized (401)"),this.name="Unauthorized"}}let Rc=class extends Error{constructor(){super("forbidden (403)"),this.name="Forbidden"}};class Hc extends Error{constructor(){super("not found (404)"),this.name="NotFound"}}class Gc extends Error{constructor(t){super(`redirection (${t})`),this.name="Redirection"}}class $c extends Error{constructor(t){super(`client-side error (${t})`),this.name="ClientSideError"}}class Kc extends Error{constructor(t){super(`server-side error (${t})`),this.name="ServerSideError"}}const Ut=class Pt{constructor(t="",n="",o=""){this.domainURL=t,this.user=n,this.password=o,this.domainURL.endsWith("/")||(this.domainURL+="/")}generateHeaders(){return{Authorization:"Basic "+window.btoa(this.user+":"+this.password)}}generateFullURL(t){return t.startsWith("/")&&(t=t.slice(1)),this.domainURL+t}dataEncapsulation(t,n){if(t===-1)throw new Pt.InternalError("internal program error");if(t===401)throw new Pt.Unauthorized;if(t===403)throw new Pt.Forbidden;if(t===404)throw new Pt.NotFound;if(t>=300&&t<400)throw new Pt.Redirection(t);if(t>=400&&t<500)throw new Pt.ClientSideError(t);if(t>=500)throw new Pt.ServerSideError(t);return{status:t,data:n}}updateConfig(t,n,o){this.domainURL=t,this.user=n,this.password=o}async download(t){const n=this.generateHeaders();let o=0,r="";try{const s=await Zs.ajax(this.generateFullURL(t),{method:"GET",headers:n});o=s.status,r=s.responseText}catch{o=-1,r=""}return this.dataEncapsulation(o,r)}async upload(t,n){const o=this.generateHeaders();let r=0,s="";try{const l=await Zs.ajax(this.generateFullURL(t),{method:"PUT",headers:o,data:n});r=l.status,s=l.response}catch{r=-1,s=""}return this.dataEncapsulation(r,s)}};Ut.InternalError=Pc,Ut.Unauthorized=Wc,Ut.Forbidden=Rc,Ut.NotFound=Hc,Ut.Redirection=Gc,Ut.ClientSideError=$c,Ut.ServerSideError=Kc;let ct=Ut;const Va="7.5.0",Da="2026-08-11",zc=[{name:"Vue",version:"3.5.41",url:"https://vuejs.org/"},{name:"Pinia",version:"2.3.1",url:"https://pinia.vuejs.org/"},{name:"CryptoJS",version:"4.2.0",url:"https://cryptojs.gitbook.io/"},{name:"arrive.js",version:"2.5.3",url:"https://github.com/uzairfarooq/arrive"},{name:"userscript-with-webdav",version:"1.0.0",url:"https://github.com/LightAPIs/userscript-with-webdav"},{name:"vue-simple-message",version:"0.2.0",url:"https://github.com/LightAPIs/vue-simple-message"}],ze=pt("note",{state:()=>{const e=new Vc;return{id:"",items:{},config:{searchBox:{showIndex:!1,canHideSearchFrame:!0,showGroupName:!1,openNewTab:!1,enableShortcutKeys:!1},searchValue:{caseSensitive:!0,split:!1,regular:!1},addNote:{showNoteGroupName:!1,hideNoteText:!1,showNoteGroupColor:!1,showPopoverFrame:!1,openNoteNewTab:!1,canHideAddFrame:!0},interface:{insertSearchButton:!0,mode:"dark",language:""},storeData:{autoSync:!0,enableWebDAV:!1,webDAVURL:"",webDAVFile:"",webDAVUser:"",webDAVPassword:"",webDAVPassphrase:"",webDAVSyncMode:"two-way",webDAVAutoSyncInterval:0},other:{}},group:{default:{value:"default",primaryColor:"",secondaryColor:"",weight:0}},storeModificationTime:0,webDAVSyncTime:0,i18n:e,lang:e.get(),menuCommand:{settings:null,management:null,group:null},listener:{items:null,config:null,group:null},webDAVTimer:null,webDAVSyncLoading:!1,webDAVHandler:new ct,changeEvent:null,itemClick:null,defaultColor:{primaryColor:"#3c81df",secondaryColor:"#ffffff"},scriptInfo:{author:{name:"",homepage:""},updated:"",url:"",library:zc,icons:[{name:"Ikonate",url:"https://ikonate.com/"}]},otherConfigInfo:{},searchBtnClassName:"",searchBtnBoxClassName:""}},getters:{configKeyName:e=>"$"+e.id+"Config",groupKeyName:e=>"$"+e.id+"Group",modificationTimeKeyName:e=>"$"+e.id+"Time",webDAVSyncTimeKeyName:e=>"$"+e.id+"WebDAV",itemsKeyName:e=>"$"+e.id+"Items",itemsCount:e=>Object.keys(e.items).length,groupCount:e=>Object.keys(e.group).length},actions:{init(e){this.readValuesFromStorage(),this.findMaxWeightGroupKey(),e&&this.i18n.setLangDict(e),this.i18n.setLangType(this.config.interface.language||window.navigator.language||document.documentElement.lang),this.config.interface.language=this.i18n.getLangType(),this.lang=this.i18n.get(),this.registerMenuCommand(),this.valueChangeListener(),this.updateWebDAVConfig(),this.webDAVSyncTimer("immediate")},readValuesFromStorage(){const e=he.listValues();let t=!1;for(const n of e){const o=he.getValue(n,null);if(o)switch(n){case this.configKeyName:for(const r in this.config)o[r]&&Object.assign(this.config[r],o[r]);break;case this.groupKeyName:Object.assign(this.group,o);break;case this.modificationTimeKeyName:this.storeModificationTime=o;break;case this.webDAVSyncTimeKeyName:this.webDAVSyncTime=o;break;case this.itemsKeyName:Object.assign(this.items,o);break;default:o.tag&&(this.items[n]||(o.name||(o.name=n),this.items[n]=o,t=!0)),he.deleteValue(n)}}t&&he.setValue(this.itemsKeyName,this.items)},updateWebDAVConfig(){const{webDAVURL:e,webDAVUser:t,webDAVPassword:n}=this.config.storeData;this.webDAVHandler.updateConfig(e,t,n)},findMaxWeightGroupKey(){const e=co();e.groupKey="default";for(const t in this.group){const n=Number(this.group[t].weight)||0,o=Number(this.group[e.groupKey].weight)||0;n>o?e.groupKey=t:n===o&&[t,e.groupKey].includes("default")&&(e.groupKey="default")}},initOtherConfigInfo(e){this.otherConfigInfo=e;for(const t in this.otherConfigInfo)this.config.other[t]===void 0&&(this.config.other[t]=this.otherConfigInfo[t].default)},writeModificationTime(e){this.storeModificationTime=e||Date.now(),he.setValue(this.modificationTimeKeyName,this.storeModificationTime)},writeWebDAVSyncTime(){this.webDAVSyncTime=Date.now(),he.setValue(this.webDAVSyncTimeKeyName,this.webDAVSyncTime)},readModificationTime(){return he.getValue(this.modificationTimeKeyName,this.storeModificationTime)},executeChangeEvent(e){typeof this.changeEvent=="function"&&this.changeEvent(e)},judgeUsers(e){return e?Object.keys(this.items).includes(e):!1},writeUser(e,t,n,o){return this.storageEvent(()=>{let r=!1;if(this.judgeUsers(e)){const s=this.items[e];n||o&&o!=="default"?(s.tag!==n&&(this.items[e].tag=n,r=!0),s.name!==t&&(this.items[e].name=t,r=!0),s.name!==o&&(this.items[e].group=o,r=!0)):(delete this.items[e],r=!0)}else(n||o&&o!=="default")&&(this.items[e]={tag:n,name:t,group:o},r=!0);return!!r&&(he.setValue(this.itemsKeyName,this.items),this.writeModificationTime(),!0)},e)},updateUserName(e,t){t&&this.judgeUsers(e)&&(this.items[e].name=t)},setUsers(e,t=!0,n=!0){return this.storageEvent(()=>(this.items=e,n&&(he.setValue(this.itemsKeyName,this.items),this.writeModificationTime()),t))},writeNewGroupValue(e,t){return this.storageEvent(()=>(this.group[e]=t,he.setValue(this.groupKeyName,this.group),this.writeModificationTime(),!0))},setGroups(e,t=!0,n=!0){return this.storageEvent(()=>(this.group=e,n&&(he.setValue(this.groupKeyName,this.group),this.writeModificationTime()),t))},saveConfig(e,t=!0,n=!0){return this.storageEvent(()=>{if(e){const{addNote:o,searchBox:r,searchValue:s,interface:l,other:a,storeData:i}=e;o&&Object.assign(this.config.addNote,o),r&&Object.assign(this.config.searchBox,r),s&&Object.assign(this.config.searchValue,s),l&&Object.assign(this.config.interface,l),a&&Object.assign(this.config.other,a),i&&Object.assign(this.config.storeData,i)}return this.updateWebDAVConfig(),n&&he.setValue(this.configKeyName,this.config),t})},storageEvent(e,t){try{return e()&&(this.executeChangeEvent(t),this.addNotification(this.lang.saveCompletedNotifactionText)),!0}catch(n){return console.error("Error in storage operation.",n),this.addNotification(this.lang.saveErrorNotifactionText,"error"),!1}},setInterfaceMode(e){switch(e){case"dark":this.config.interface.mode="dark";break;case"bright":this.config.interface.mode="bright";break;default:this.config.interface.mode="system"}this.saveConfig()},setInterfaceLanguage(e){this.i18n.setLangType(e),this.lang=this.i18n.get(),this.config.interface.language=this.i18n.getLangType(),this.saveConfig(),this.registerMenuCommand()},getUrl(e){return this.itemClick?this.itemClick(e):`${location.origin}/${e}`},getUserGroupKey(e){if(this.judgeUsers(e)){const t=this.items[e].group;if(t&&Object.keys(this.group).includes(t))return t}return"default"},getUserGroupName(e){let t="";const n=this.getUserGroupKey(e);return n!=="default"&&this.group[n]&&(t=this.group[n].value),t},getUserTag(e,t={}){const{maskGroup:n}=t;let o="";if(this.judgeUsers(e)){if(o=this.items[e].tag,this.config.addNote.showNoteGroupName&&!n){const r=this.getUserGroupName(e);this.config.addNote.hideNoteText?o=r:r&&(o?o+=` [${r}]`:o=r)}o=Aa(o,t)}return o},getUserName(e){return this.judgeUsers(e)&&this.items[e].name||""},getPrimaryColor(e){const t=this.getUserGroupKey(e);return this.group[t].primaryColor},getSecondaryColor(e){const t=this.getUserGroupKey(e);return this.group[t].secondaryColor},openLink(e,t,n,o){const r=this.getUrl(e);let s=un.Self;o==="popover"?s=this.config.addNote.openNoteNewTab?un.Blank:un.Self:o==="search"&&(s=this.config.searchBox.openNewTab?un.Blank:un.Self),(function(l,a,i,c){l&&Dc(l,a&&i?1:a?2:c)})(r,t,n,s)},determineSearchString(e,t,n=!1){if(e){let o=null,r=[];if(this.config.searchValue.regular&&/^\/.+\/[gim]{0,3}$/.test(e))try{o=new RegExp(e.replace(/^\/|\/[gim]{0,3}$/g,""),e.replace(/^\/.+\/[^gim]*/i,""))}catch(l){console.log(l),o=null}o===null&&this.config.searchValue.split&&(r=e.split(/\s+/));let s=!0;if(o)s=o.test(t);else if(r.length>0)for(const l of r)this.config.searchValue.caseSensitive?t.includes(l)||(s=!1):t.toLocaleLowerCase().includes(l.toLocaleLowerCase())||(s=!1);else s=this.config.searchValue.caseSensitive?t.includes(e):t.toLocaleLowerCase().includes(e.toLocaleLowerCase());return s}return n},addNotification(e,t="info",n,o=4e3){const r=Ea(),s=new Date,l=n||`id-${s.getTime()}_${r.total}`;r.total++,r.notifications.splice(0,0,{id:l,type:t,content:e}),console.info(`[${ar(s.getHours(),2)}:${ar(s.getMinutes(),2)}:${ar(s.getSeconds(),2)}] >>> ${e}`),window.setTimeout(()=>{r.removeNotifaction(l)},o)},export(){const e=he.listValues(),t={};for(const n of e)t[n]=he.getValue(n,{});(function(n,o,r){const s=new Blob([n]),l=document.createElementNS("http://www.w3.org/1999/xhtml","a");l.href=URL.createObjectURL(s),l.download=o;const a=new MouseEvent("click",{bubbles:!0,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});l.dispatchEvent(a),typeof r=="function"&&r()})(JSON.stringify(t),`${this.id}_data_${Date.now()}.txt`,()=>{this.addNotification(this.lang.backUpNotifactionText)})},import(){(function(e){const t=document.createElementNS("http://www.w3.org/1999/xhtml","input");t.type="file",t.accept=".txt, .text, .json, .conf, .config",t.style.display="none",t.addEventListener("change",()=>{var o;if(!t.value)return console.warn("No file selected."),void e({state:!1,tip:"optionsImportNoFileText"});const n=(o=t.files)==null?void 0:o[0];if(!n)return console.warn("Cannot find file."),void e({state:!1,tip:"optionsImportCannotFindFile"});{const{type:r}=n;if(!["application/json","application/xml","text/plain"].includes(r))return console.warn("Invalid file."),void e({state:!1,tip:"optionsImportValidText"});{const s=new FileReader;s.onload=l=>{const{target:a}=l;if(a){const i=a.result;return void(typeof i=="string"?e({state:!0,tip:"opened"},i):(console.warn("Not a text file."),e({state:!1,tip:"optionsImportNotATextFile"})))}},s.readAsText(n)}}}),t.click()})((e,t)=>{if(e.state)if(t)try{const n=JSON.parse(t);typeof n=="object"&&n?this.storageEvent(()=>{for(const o in n)o===this.configKeyName?this.saveConfig(n[o],!1):o===this.groupKeyName?this.setGroups(n[o],!1):o===this.itemsKeyName&&this.setUsers(n[o],!1);return!0}):(console.warn("Content is not an object."),this.addNotification(this.lang.optionsImportErrorObjectText,"error"))}catch(n){console.error(n),this.addNotification(this.lang.optionsImportErrorObjectText,"error")}else this.addNotification(this.lang.optionsImportEmptyText,"error");else this.addNotification(this.lang[e.tip],"warn")})},showFrame(e,t=!1,n=!0){const o=Na(),r=Rr(),s=Hr(),l=co(),a=Wo(),i=Gr(),c=Wr();if(o.isInsert||r.isInsert||s.isInsert||l.isShow||a.isShow||i.isShow||!t&&c.isShow)return!0;switch(e){case"settings":o.isInsert=n;break;case"management":r.isInsert=n;break;case"group":s.isInsert=n;break;case"search":c.isShow=n;break;default:return!0}return!1},showPopover(e,t,n){this.config.addNote.showPopoverFrame&&Tr().show(e,t,n)},showAdd(e,t){const n=co();let o="",r="",s=n.groupKey;this.judgeUsers(e)?(o=this.items[e].tag||"",r=t||this.items[e].name||"",s=this.items[e].group||"default"):t&&(o=t,r=t),n.show(e,o,s,r)},hidePopover(){this.config.addNote.showPopoverFrame&&Tr().hide()},registerMenuCommand(){for(const e in this.menuCommand){const t=this.menuCommand[e];t!==null&&(he.unregisterMenuCommand(t),this.menuCommand[e]=null)}this.menuCommand.settings=he.registerMenuCommand(this.lang.gmSettingsText,()=>{this.showFrame("settings")}),this.menuCommand.management=he.registerMenuCommand(this.lang.gmManagementText,()=>{this.showFrame("management")}),this.menuCommand.group=he.registerMenuCommand(this.lang.gmGroupText,()=>{this.showFrame("group")})},valueChangeListener(){const e=this.config.storeData.autoSync;for(const t in this.listener){const n=this.listener[t];n!==null&&(he.removeValueChangeListener(n),this.listener[t]=null)}e&&(this.listener.items=he.addValueChangeListener(this.itemsKeyName,(t,n,o,r)=>{r&&Xe.debounce("itemsListener",()=>{o&&(this.setUsers(o,!0,!1),this.addNotification(this.lang.syncNoteNotifactionText))},1e3)}),this.listener.group=he.addValueChangeListener(this.groupKeyName,(t,n,o,r)=>{r&&Xe.debounce("groupListener",()=>{o&&(this.setGroups(o,!0,!1),this.addNotification(this.lang.syncGroupNotifactionText))},1e3)}),this.listener.config=he.addValueChangeListener(this.configKeyName,(t,n,o,r)=>{r&&Xe.debounce("configListener",()=>{o&&this.saveConfig(o,!0,!1)},1e3)}))},webDAVSyncTimer(e){const t=this.config.storeData.enableWebDAV;if(this.webDAVTimer!=null&&(window.clearInterval(this.webDAVTimer),this.webDAVTimer=null),t){e==="two-way"?(this.writeWebDAVSyncTime(),this.webDAVSyncHandler()):e==="upload"?(this.writeWebDAVSyncTime(),this.webDAVSyncHandler("upload")):e==="download"&&(this.writeWebDAVSyncTime(),this.webDAVSyncHandler("download"));const n=this.config.storeData.webDAVAutoSyncInterval;n>0&&(e==="immediate"&&this.webDAVSyncDecider(n),this.webDAVTimer=window.setInterval(()=>{this.webDAVSyncDecider(n)},60*n*1e3))}},webDAVSyncDecider(e){Date.now()-he.getValue(this.webDAVSyncTimeKeyName,0)<1e3*(60*e-5)||(this.writeWebDAVSyncTime(),this.webDAVSyncHandler())},async webDAVSyncHandler(e){if(this.config.storeData.enableWebDAV){if(this.webDAVSyncLoading=!0,!this.webDAVValidator())return this.addNotification(this.lang.webDAVConfigInvalidText),void(this.webDAVSyncLoading=!1);const{webDAVFile:t,webDAVSyncMode:n}=this.config.storeData;if(e)e==="upload"?n!=="download"&&(this.writeModificationTime(),await this.webDAVUploadData()):e==="download"&&n!=="upload"&&await this.webDAVDownloadData();else try{const o=await this.webDAVHandler.download(t+".lock");if(o.status===200)try{const{unix:r}=JSON.parse(o.data);if(typeof r!="number")return console.error(r),this.addNotification(this.lang.webDAVResponseContentErrorText,"error"),void(this.webDAVSyncLoading=!1);const s=this.readModificationTime();s>r?n==="download"?this.addNotification(this.lang.webDAVLocalNewText):await this.webDAVUploadData():s<r?n==="upload"?this.addNotification(this.lang.webDAVCloudNewText):await this.webDAVDownloadData(r):this.addNotification(this.lang.webDAVNoChangeText)}catch(r){console.error(r),this.addNotification(this.lang.webDAVResponseContentErrorText,"error")}else this.addNotification(`${this.lang.webDAVUnknownErrorText} (Code: ${o.status})`,"error"),console.warn(o.status),console.error(o.data)}catch(o){o instanceof ct.NotFound?n==="download"?this.addNotification(this.lang.webDAVNoFileText):await this.webDAVUploadData():o instanceof ct.InternalError?this.addNotification(this.lang.webDAVInternalErrorText,"error"):o instanceof ct.Unauthorized?this.addNotification(this.lang.webDAVVerifyErrorText,"error"):(this.addNotification(this.lang.webDAVUnknownErrorText,"error"),console.error(o))}this.webDAVSyncLoading=!1}},async webDAVUploadData(){const{webDAVFile:e,webDAVPassphrase:t}=this.config.storeData,n=he.listValues(),o={};for(const s of n)s===this.itemsKeyName&&(o[this.itemsKeyName]=he.getValue(this.itemsKeyName,{})),s===this.groupKeyName&&(o[this.groupKeyName]=he.getValue(this.groupKeyName,{}));let r="";r=t?Xs.encrypt(JSON.stringify(o),t).toString():JSON.stringify(o);try{await this.webDAVHandler.upload(e,r);const s={unix:this.storeModificationTime};try{await this.webDAVHandler.upload(e+".lock",JSON.stringify(s)),this.addNotification(this.lang.webDAVUploadSuccessText)}catch(l){if(!(l instanceof ct.Forbidden))throw l;this.addNotification(`${this.lang.webDAVPermissionErrorText} (Path: ${e}.lock)`,"error")}}catch(s){s instanceof ct.Forbidden?this.addNotification(`${this.lang.webDAVPermissionErrorText} (Path: ${e})`,"error"):s instanceof ct.InternalError?this.addNotification(this.lang.webDAVInternalErrorText,"error"):(this.addNotification(this.lang.webDAVUnknownErrorText,"error"),console.error(s))}},async webDAVDownloadData(e){const{webDAVFile:t,webDAVPassphrase:n}=this.config.storeData;try{const o=await this.webDAVHandler.download(t);if(o.status===200)try{let r="";n?r=Xs.decrypt(o.data,n).toString(Uc):r=o.data;const s=JSON.parse(r);if(typeof s=="object"&&s){if(this.storageEvent(()=>{for(const l in s)l===this.itemsKeyName?this.setUsers(s[l],!1,!1):l===this.groupKeyName&&this.setGroups(s[l],!1,!1);return!0}),e===void 0)try{const l=await this.webDAVHandler.download(t+".lock");if(l.status===200)try{const{unix:a}=JSON.parse(l.data);typeof a!="number"?(console.error(a),this.addNotification(this.lang.webDAVResponseContentErrorText,"error")):e=a}catch(a){console.error(a),this.addNotification(this.lang.webDAVResponseContentErrorText,"error")}else this.addNotification(`${this.lang.webDAVUnknownErrorText} (Code: ${l.status})`,"error"),console.warn(l.status),console.error(l.data)}catch(l){if(!(l instanceof ct.NotFound))throw l;this.addNotification(`${this.lang.webDAVFileLostErrorText} (File: ${t}.lock)`)}e&&(he.setValue(this.itemsKeyName,this.items),he.setValue(this.groupKeyName,this.group),this.writeModificationTime(e),this.addNotification(this.lang.webDAVDownloadSuccessText))}else console.warn("Content is not an object."),this.addNotification(this.lang.optionsImportErrorObjectText,"error")}catch(r){console.error(r),this.addNotification(this.lang.webDAVContentDecodeErrorText,"error")}else this.addNotification(`${this.lang.webDAVUnknownErrorText} (Code: ${o.status})`,"error"),console.warn(o.status),console.error(o.data)}catch(o){o instanceof ct.NotFound?this.addNotification(`${this.lang.webDAVFileLostErrorText} (File: ${t})`,"error"):o instanceof ct.InternalError?this.addNotification(this.lang.webDAVInternalErrorText,"error"):o instanceof ct.Unauthorized?this.addNotification(this.lang.webDAVVerifyErrorText,"error"):(this.addNotification(this.lang.webDAVUnknownErrorText,"error"),console.error(o))}},webDAVValidator(){const{webDAVURL:e,webDAVFile:t,webDAVUser:n,webDAVPassword:o}=this.config.storeData;return!!(e&&t&&n&&o)}}}),Wr=pt("searchFrame",{state:()=>({isShow:!1})}),co=pt("addFrame",{state:()=>({isShow:!1,userId:"",userName:"",initialValue:"",groupKey:"default"}),actions:{selecteGroup(e){const t=Wo();t.selected=e,t.isShow=!0},addGroup(e){const t=Gr();t.created=e,t.isShow=!0},show(e,t,n,o){this.userId=e,this.userName=o||"",this.initialValue=t,this.groupKey=n||"default",this.isShow=!0}}}),Rr=pt("managementFrame",{state:()=>({isInsert:!1,isEcho:!1}),actions:{selecteGroup(e){const t=Wo();t.selected=e,t.isShow=!0}}}),Hr=pt("groupFrame",{state:()=>({isInsert:!1})}),Wo=pt("selectGroupFrame",{state:()=>({isShow:!1,selected:null})}),Gr=pt("newGroupFrame",{state:()=>({isShow:!1,created:null})}),Na=pt("settingsFrame",{state:()=>({isInsert:!1})}),ja=pt("webDAVFrame",{state:()=>({isInsert:!1})}),Ea=pt("messageFrame",{state:()=>({notifications:[],total:0}),actions:{removeNotifaction(e){for(let t=0;t<this.notifications.length;t++)if(this.notifications[t].id===e)return this.notifications.splice(t,1),!0;return!1}}}),Tr=pt("popoverFrame",{state:()=>({isShow:!1,currentUserId:"",x:0,y:0,isPopHover:!1,isTagHover:!1,showDebounced:null}),actions:{show(e,t,n){this.showDebounced=Xe.debounce("popoverShow",()=>{this.currentUserId=e,this.x=t,this.y=n,this.isShow=!0,this.isTagHover=!0},1e3)},hide(){this.showDebounced&&(this.showDebounced.cancel(),this.showDebounced=null),this.isTagHover=!1,Xe.debounce("popoverHide",()=>{this.isPopHover||this.isTagHover||(this.isShow=!1)},1e3)}}}),qc=["title"],Jc=be({__name:"NoteObjFloatButton",props:{isInsert:{type:Boolean},title:{},buttonClass:{},boxClass:{}},emits:["click"],setup(e,{emit:t}){const n=t;return(o,r)=>e.isInsert?(z(),Z("div",{key:0,class:et(["note-obj-search-expand-box",e.boxClass])},[x("div",{title:e.title,class:et(["note-obj-search-expand-span",e.buttonClass]),onClick:r[0]||(r[0]=s=>n("click",s))},[...r[1]||(r[1]=[x("svg",{width:"1em",height:"1em"},[x("use",{"xlink:href":"#noteObjSearchIcon"})],-1)])],10,qc)],2)):tt("",!0)}});function ei(e,t){t.value&&t.value!==t.oldValue&&setTimeout(()=>{try{e.focus(),e.select()}catch(n){console.log(n)}},100)}const Ro={mounted:ei,updated:ei},Xc={class:"note-obj-add-frame-dialog"},Qc={class:"note-obj-add-frame-user-info"},Yc={class:"note-obj-add-frame-user-id"},Zc={key:0,class:"note-obj-add-frame-user-name"},eu=["placeholder","onKeyup"],tu=["title"],nu=["title"],ou=["title"],ru=["title"],su=["title"],iu=be({__name:"NoteObjAddFrame",setup(e){const t=ze(),n=co(),o=_e(""),{isShow:r}=Kt(n),s=je(()=>n.groupKey&&n.groupKey!=="default"&&t.group[n.groupKey]?t.group[n.groupKey].value:t.lang.defaultGroupText);function l(m){m.key==="Enter"?u():m.key==="Escape"&&p()}function a(){n.selecteGroup(m=>{m&&(n.groupKey=m)})}function i(){n.addGroup(m=>{m&&(n.groupKey=m)})}function c(m,A,f,b){t.writeUser(m,A,f,b)&&p()}function u(){c(n.userId,n.userName,o.value,n.groupKey)}function v(){c(n.userId,"","","")}function w(){t.config.addNote.canHideAddFrame&&p()}function p(){n.isShow=!1}return Le(r,m=>{m&&(o.value=n.initialValue)}),(m,A)=>ce((z(),Z("div",{class:"note-obj-add-frame-presentation",onClick:de(w,["self"])},[x("div",Xc,[x("div",Qc,[x("span",Yc,G(_(t).lang.userIdText+": "+_(n).userId),1),_(n).userName?(z(),Z("span",Zc,G(_(t).lang.userNameText+": "+_(n).userName),1)):tt("",!0)]),ce(x("input",{"onUpdate:modelValue":A[0]||(A[0]=f=>o.value=f),type:"text",placeholder:_(t).lang.addPlaceholder,class:"note-obj-add-frame-input",onKeyup:nn(de(l,["prevent"]),["enter","esc"])},null,40,eu),[[Je,o.value,void 0,{trim:!0}],[_(Ro),_(r)]]),x("button",{type:"button",title:_(t).lang.groupTitle,class:"note-obj-add-frame-group-button",onClick:de(a,["stop"])},G(s.value),9,tu),x("button",{type:"button",title:_(t).lang.groupCreateValueTitle,class:"note-obj-add-frame-group-button",onClick:de(i,["stop"])},G(_(t).lang.groupCreateValueText),9,nu),x("button",{type:"button",title:_(t).lang.saveTagTitle,onClick:de(u,["stop"])},G(_(t).lang.saveTagText),9,ou),x("button",{type:"button",title:_(t).lang.clearTagTitle,onClick:de(v,["stop"])},G(_(t).lang.clearTagText),9,ru),x("button",{type:"button",title:_(t).lang.cancelTagTitle,class:"note-obj-add-frame-button-bottom",onClick:de(p,["stop"])},G(_(t).lang.cancelTagText),9,su)])],512)),[[De,_(r)]])}}),au={previous:{},timer:{},throttle(e,t,n,o={}){const r=Date.now(),{leading:s,trailing:l}=o;this.previous[e]===void 0&&s===!1&&(this.previous[e]=r);const a=n-(r-(this.previous[e]===void 0?0:this.previous[e]));return a<=0||a>n?(window.clearTimeout(this.timer[e]),this.previous[e]=r,t()):this.timer[e]===void 0&&l!==!1&&(this.timer[e]=window.setTimeout(()=>{this.previous[e]=s===!1?void 0:Date.now(),this.timer[e]=void 0,t()},a)),{cancel:()=>{window.clearTimeout(this.timer[e]),this.previous[e]=void 0,this.timer[e]=void 0}}}},lu=["title","data-index"],cu={class:"note-obj-search-frame-tags-item-text"},uu=be({__name:"NoteObjSearchItem",props:{itemKey:{},index:{},isShow:{type:Boolean},highlight:{type:Boolean},name:{},tag:{},groupKey:{}},emits:["mouseenter"],setup(e,{emit:t}){const n=e,o=t,r=ze(),s=je(()=>{let i=n.itemKey+(n.name&&n.name!==n.itemKey?`
${n.name}`:"")+(n.tag?`
${n.tag}`:"");if(r.config.searchBox.showGroupName&&n.groupKey&&n.groupKey!=="default"){const c=r.group[n.groupKey];c&&(i+=`
${c.value}`)}return i}),l=je(()=>{let i=n.tag||n.name||n.itemKey;if(r.config.searchBox.showGroupName&&n.groupKey&&n.groupKey!=="default"){const c=r.group[n.groupKey];c&&(i+=` [${c.value}]`)}return i});function a(){o("mouseenter",n.index)}return(i,c)=>ce((z(),Z("li",{class:et({"note-obj-search-frame-tags-list-item-highlight":e.highlight}),title:s.value,"data-index":e.index,onMouseenter:a,onClick:c[0]||(c[0]=de(u=>{return v=u,w=e.itemKey,void r.openLink(w,v.ctrlKey||v.metaKey,v.shiftKey,"search");var v,w},["stop"]))},[x("span",cu,G(l.value),1)],42,lu)),[[De,e.isShow]])}}),du={class:"note-obj-search-frame-dialog"},pu=["placeholder","onKeydown","onKeyup"],fu=["title"],hu={key:0,class:"note-obj-search-frame-index-trapezoid"},gu={class:"note-obj-search-frame-index-value"},mu=be({__name:"NoteObjSearchFrame",setup(e){const t=ze(),n=Wr(),o=_e(""),r=_e({}),s=_e(0),l=_e(""),a=t.id+"_searchFrameTagsList",{isShow:i}=Kt(n),c=je(()=>{let b=0;for(const S in r.value)r.value[S].isShow&&b++;return b});function u(b){if(b!==0){for(const S in r.value)if(r.value[S].index===b)return S}return""}function v(b){au.throttle("searchKeydown",()=>{c.value===0?s.value=0:b.key==="ArrowUp"?s.value>1?s.value--:s.value=c.value:b.key==="ArrowDown"?s.value<c.value?s.value++:s.value=1:b.key==="PageUp"?s.value>10?s.value-=10:s.value<=1?s.value=c.value:s.value=1:b.key==="PageDown"&&(s.value<c.value-9?s.value+=10:s.value===c.value?s.value=1:s.value=c.value),l.value=u(s.value)},100)}function w(b){b.key==="Enter"?l.value&&t.openLink(l.value,b.ctrlKey||b.metaKey,b.shiftKey,"search"):b.key==="Escape"&&f()}function p(){let b=1,S=!1,h="",d=0;for(const g in r.value)t.determineSearchString(o.value,r.value[g].tag||r.value[g].name||g)?(Object.assign(r.value[g],{isShow:!0,index:b,highlight:g===l.value}),g===l.value&&(d=b,S=!0),b===1&&(h=g),b++):Object.assign(r.value[g],{isShow:!1,index:-1,highlight:!1});S||(l.value=h,d=c.value>0?1:0,h&&(r.value[h].highlight=!0)),Jn(()=>{s.value=d})}function m(b){s.value!==b&&(s.value=b,l.value=u(b))}function A(){t.config.searchBox.canHideSearchFrame&&f()}function f(){n.isShow=!1}return Le(i,b=>{b&&(function(){let S=1;const h=Object.assign({},t.items);for(const d in h)Object.assign(h[d],{isShow:!1,index:S++,highlight:!1});r.value=h})()}),Le(o,()=>{Xe.debounce("searchValue",()=>{p()},250)}),Le(s,b=>{for(const S in r.value){const h=r.value[S];h.highlight=h.index===b}(function(S){const h=document.getElementById(a),d=document.querySelector(`#${a} [data-index="${S}"]`);h&&d&&(d.offsetTop-h.scrollTop>225?h.scrollTop=d.offsetTop-225:d.offsetTop-h.scrollTop<0&&(h.scrollTop=d.offsetTop))})(b)}),(b,S)=>ce((z(),Z("div",{class:"note-obj-search-frame-presentation",onClick:de(A,["self"])},[x("div",du,[ce(x("input",{type:"text",placeholder:_(t).lang.searchTagPlaceholder,class:"note-obj-search-frame-input","onUpdate:modelValue":S[0]||(S[0]=h=>o.value=h),onKeydown:nn(de(v,["prevent"]),["arrow-up","arrow-down","page-down","page-up"]),onKeyup:nn(de(w,["stop","prevent"]),["enter","esc"]),onFocusin:p},null,40,pu),[[_(Ro),_(i)],[Je,o.value,void 0,{trim:!0}]]),x("span",{title:_(t).lang.searchCloseTitle,class:"note-obj-search-frame-close-btn",onClick:de(f,["stop"])},[...S[1]||(S[1]=[x("svg",{width:"1em",height:"1em"},[x("use",{"xlink:href":"#noteObjCloseIcon"})],-1)])],8,fu),_(t).config.searchBox.showIndex?(z(),Z("div",hu,[x("span",gu,G(s.value+"/"+c.value),1)])):tt("",!0),x("ul",{id:a,class:"note-obj-search-frame-tags-list"},[(z(!0),Z(fe,null,Oe(r.value,({index:h,isShow:d,name:g,tag:T,group:k,highlight:j},V)=>(z(),Me(uu,{key:V,"is-show":d,"item-key":V.toString(),index:h,name:g,tag:T,"group-key":k,highlight:j,onMouseenter:m},null,8,["is-show","item-key","index","name","tag","group-key","highlight"]))),128))])])],512)),[[De,_(i)]])}}),vu=["data-key","readonly","value","onKeyup"],Ia=be({__name:"NoteObjManagementInput",props:{value:{},dataKey:{},editable:{type:Boolean},className:{}},emits:["value-change"],setup(e,{emit:t}){const n=e,o=t;function r(s){n.editable&&(s.key==="Enter"?o("value-change",s.target.value.trim()):s.key==="Escape"&&o("value-change",n.value))}return(s,l)=>ce((z(),Z("input",{"data-key":e.dataKey,type:"text",readonly:!e.editable,class:et(e.className+(e.editable?" note-obj-management-frame-item-input-edit":"")),value:e.value,onKeyup:nn(de(r,["stop","prevent"]),["enter","esc"])},null,42,vu)),[[_(Ro),e.editable]])}}),bu=["title"],yu=be({__name:"NoteObjGroupItem",props:{dataKey:{},groupValue:{}},emits:["click"],setup(e,{emit:t}){const n=ze(),o=e,r=t,s=je(()=>o.groupValue&&o.groupValue!=="default"&&n.group[o.groupValue]&&n.group[o.groupValue].value||n.lang.defaultGroupText),l=je(()=>o.groupValue&&n.group[o.groupValue]&&n.group[o.groupValue].secondaryColor||n.defaultColor.secondaryColor),a=je(()=>o.groupValue&&n.group[o.groupValue]&&n.group[o.groupValue].primaryColor||n.defaultColor.primaryColor);return(i,c)=>(z(),Z("span",{class:"note-obj-management-frame-group-item",title:_(n).lang.groupTitle,style:on({color:l.value,backgroundColor:a.value}),onClick:c[0]||(c[0]=de(u=>r("click",e.dataKey),["stop"]))},G(s.value),13,bu))}}),xu=["title"],st=be({__name:"NoteObjTh",props:{text:{}},setup:e=>(t,n)=>(z(),Z("th",{title:e.text},G(e.text),9,xu))}),wu=["xlink:href"],Ma=be({__name:"NoteObjEditButton",props:{state:{type:Boolean,required:!0},stateModifiers:{}},emits:Ml(["change"],["update:state"]),setup(e,{emit:t}){const n=Ul(e,"state"),o=t;function r(){const s=!n.value;n.value=s,o("change",s)}return(s,l)=>(z(),Z("span",null,[(z(),Z("svg",{width:"1em",height:"1em",onClick:de(r,["stop"])},[x("use",{"xlink:href":n.value?"#noteObjOKIcon":"#noteObjEditIcon"},null,8,wu)]))]))}}),Tu=["disabled"],Un=be({__name:"NoteObjToolButton",props:{disabled:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const n=t;function o(){n("click")}return(r,s)=>(z(),Z("button",{class:"note-obj-frame-tool-button",type:"button",disabled:e.disabled,onClick:de(o,["stop"])},[mn(r.$slots,"default")],8,Tu))}}),Su=["disabled"],yn=be({__name:"NoteObjWindowButton",props:{type:{},disabled:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const n=t;function o(){n("click")}return(r,s)=>(z(),Z("button",{class:et(["note-obj-frame-window-button",e.type==="save"?"note-obj-frame-window-save-button":"note-obj-frame-window-cancel-button"]),type:"button",disabled:e.disabled,onClick:de(o,["stop"])},[mn(r.$slots,"default")],10,Su))}}),_u={key:0,class:"note-obj-frame-presentation note-obj-management-frame-presentation"},Cu={class:"note-obj-frame-dialog note-obj-management-frame-dialog"},Au={class:"note-obj-frame-header note-obj-management-frame-header"},ku={for:"noteObjManagementFrameSearchInputBox"},Vu=["placeholder","onKeydown"],Du={for:"noteObjManagementFrameRangeSelect"},Nu={value:"all"},ju={value:"id"},Eu={value:"name"},Iu={value:"tag"},Mu={for:"noteObjManagementFrameGroupSelect"},Ou={value:""},Lu=["value"],Fu={class:"note-obj-frame-show-number"},Bu={class:"note-obj-frame-content note-obj-management-frame-content"},Uu={class:"note-obj-management-frame-thead"},Pu=["title"],Wu={class:"note-obj-frame-tbody note-obj-management-frame-tbody"},Ru=["checked","onChange"],Hu=["title","href"],Gu=["title"],$u=["title","onClick"],Ku={class:"note-obj-frame-tool note-obj-management-frame-tool"},zu={class:"note-obj-frame-footer note-obj-management-frame-footer"},qu=be({__name:"NoteObjManagementFrame",setup(e){const t=ze(),n=Rr(),o=Hr(),{isInsert:r}=Kt(n),s=_e(""),l=_e("all"),a=_e(""),i=_e(!1),c=_e(!1),u=_e({}),v=je(()=>{let V=0;for(const I in u.value)u.value[I].isExists&&V++;return V}),w=je(()=>{let V=0;for(const I in u.value){const P=u.value[I];P.isExists&&P.isShow&&P.isSelected&&V++}return V}),p=je({get(){for(const V in u.value){const I=u.value[V];if(I.isExists&&I.isShow&&!I.isSelected)return!1}return!0},set(V){for(const I in u.value){const P=u.value[I];P.isExists&&P.isShow&&(V&&!P.isSelected?P.isSelected=!0:!V&&P.isSelected&&(P.isSelected=!1))}}});function m(){s.value="",l.value="all",a.value="",i.value=!1;const V=Object.assign({},t.items);for(const I in V)Object.assign(V[I],{isExists:!0,isShow:!0,isSelected:!1,editable:!1});u.value=V}function A(){const V=Object.keys(t.group);for(const I in u.value){const P=u.value[I];if(P.isExists){let M=!1;a.value&&a.value!==P.group&&(a.value!=="default"||V.includes(P.group))||(l.value==="all"?M=t.determineSearchString(s.value,I,!0)||t.determineSearchString(s.value,P.name,!0)||t.determineSearchString(s.value,P.tag,!0):l.value==="id"?M=t.determineSearchString(s.value,I,!0):l.value==="name"?M=t.determineSearchString(s.value,P.name,!0):l.value==="tag"&&(M=t.determineSearchString(s.value,P.tag,!0))),P.isShow=M}}}function f(){console.info("Just to intercept the carriage return event.")}function b(V){n.selecteGroup(I=>{u.value[V].group=I,k()})}function S(V){u.value[V].editable?(function(I){const P=document.querySelector(`.note-obj-management-frame-item-input-tag[data-key="${I}"]`),M=(P==null?void 0:P.value.trim())||"";u.value[I].tag=M,k(),u.value[I].editable=!1})(V):u.value[V].editable=!0}function h(){for(const V in u.value){const I=u.value[V];I.isExists&&I.isShow&&I.isSelected&&(I.isExists=!1,k())}}function d(){const V=[];for(const I in u.value){const P=u.value[I];P.isExists&&P.isShow&&P.isSelected&&V.push(I)}V.length>0&&(n.selecteGroup(I=>{V.forEach(P=>{u.value[P].group=I})}),k())}function g(){n.isEcho=!0,n.isInsert=!1,o.isInsert=!0}function T(){if(i.value){const V={};for(const I in u.value){const{isExists:P,tag:M,name:re,group:ue}=u.value[I];P&&(V[I]={tag:M,name:re,group:ue})}t.setUsers(V)&&(i.value=!1)}}function k(){i.value=!0}function j(){i.value=!1,s.value="",l.value="all",a.value="",r.value=!1}return Le(r,V=>{V&&(Object.keys(t.items).length>50?(c.value=!0,u.value={},Xe.debounce("initNotesManagement",()=>{m(),c.value=!1},50)):m())}),Le(s,()=>{Xe.debounce("notesManagementSearch",A,250)}),Le(l,()=>{Xe.debounce("notesManagementRange",A,50)}),Le(a,()=>{Xe.debounce("notesManagementGroup",A,50)}),(V,I)=>_(r)?(z(),Z("div",_u,[x("div",Cu,[x("div",Au,[x("form",null,[x("label",ku,G(_(t).lang.searchContentText),1),ce(x("input",{id:"noteObjManagementFrameSearchInputBox",type:"text","onUpdate:modelValue":I[0]||(I[0]=P=>s.value=P),placeholder:_(t).lang.searchContentPlaceholder,class:"note-obj-management-frame-search-input",onKeydown:nn(de(f,["stop","prevent"]),["enter"])},null,40,Vu),[[Je,s.value,void 0,{trim:!0}]]),x("label",Du,G(_(t).lang.rangeText),1),ce(x("select",{"onUpdate:modelValue":I[1]||(I[1]=P=>l.value=P),id:"noteObjManagementFrameRangeSelect",name:"managementFrameRangeSelect"},[x("option",Nu,G(_(t).lang.rangeAllText),1),x("option",ju,G(_(t).lang.userIdText),1),x("option",Eu,G(_(t).lang.userNameText),1),x("option",Iu,G(_(t).lang.userTagTableText),1)],512),[[yr,l.value]]),x("label",Mu,G(_(t).lang.groupText+": "),1),ce(x("select",{"onUpdate:modelValue":I[2]||(I[2]=P=>a.value=P),id:"noteObjManagementFrameGroupSelect",name:"managementFrameGroupSelect"},[x("option",Ou,G(_(t).lang.rangeAllText),1),(z(!0),Z(fe,null,Oe(_(t).group,({value:P},M)=>(z(),Z("option",{key:M,value:M},G(M==="default"?_(t).lang.defaultGroupText:P),9,Lu))),128))],512),[[yr,a.value]]),x("span",Fu,G(w.value+"/"+v.value),1)])]),x("div",Bu,[x("div",Uu,[x("table",null,[x("thead",null,[x("tr",null,[x("th",null,[ce(x("input",{"onUpdate:modelValue":I[3]||(I[3]=P=>p.value=P),type:"checkbox",title:_(t).lang.selectAllTitle},null,8,Pu),[[xa,p.value]])]),J(st,{text:_(t).lang.userIdText},null,8,["text"]),J(st,{text:_(t).lang.userNameText},null,8,["text"]),J(st,{text:_(t).lang.userTagTableText},null,8,["text"]),J(st,{text:_(t).lang.groupText},null,8,["text"]),J(st,{text:_(t).lang.editText},null,8,["text"]),J(st,{text:_(t).lang.deleteText},null,8,["text"])])])])]),x("div",Wu,[x("table",null,[x("tbody",null,[(z(!0),Z(fe,null,Oe(u.value,({isShow:P,isExists:M,isSelected:re,name:ue,tag:se,editable:ee,group:oe},ie)=>ce((z(),Z("tr",{key:ie},[x("td",null,[x("input",{type:"checkbox",checked:re,onChange:B=>u.value[ie].isSelected=!re},null,40,Ru)]),x("td",null,[x("a",{title:ie.toString(),target:"_blank",href:_(t).getUrl(ie.toString()),class:"note-obj-management-frame-item-a"},G(ie),9,Hu)]),x("td",{title:ue},G(ue),9,Gu),x("td",null,[J(Ia,{value:se,"data-key":ie.toString(),editable:ee,"class-name":"note-obj-management-frame-item-input-tag",onValueChange:B=>(function(F,U){u.value[F].tag=U,k(),u.value[F].editable=!1})(ie.toString(),B)},null,8,["value","data-key","editable","onValueChange"])]),x("td",null,[J(yu,{"group-value":oe,"data-key":ie.toString(),onClick:b},null,8,["group-value","data-key"])]),x("td",null,[J(Ma,{state:ee,title:_(t).lang.editTitle,class:"note-obj-frame-item-btn note-obj-management-frame-item-btn note-obj-frame-item-edit note-obj-management-frame-item-edit",onChange:B=>S(ie.toString())},null,8,["state","title","onChange"])]),x("td",null,[x("span",{title:_(t).lang.deleteTitle,class:"note-obj-frame-item-btn note-obj-management-frame-item-btn note-obj-frame-item-delete note-obj-management-frame-item-delete",onClick:de(B=>(function(F){u.value[F].isExists=!1,k()})(ie.toString()),["stop"])},[...I[4]||(I[4]=[x("svg",{width:"1em",height:"1em"},[x("use",{"xlink:href":"#noteObjDeleteIcon"})],-1)])],8,$u)])],512)),[[De,M&&P]])),128))])])])]),x("div",Ku,[J(Un,{disabled:w.value===0,title:_(t).lang.deleteSelectedTitle,onClick:h},{default:ye(()=>[Ae(G(_(t).lang.deleteSelectedText),1)]),_:1},8,["disabled","title"]),J(Un,{disabled:w.value===0,title:_(t).lang.moveSelectedTitle,onClick:d},{default:ye(()=>[Ae(G(_(t).lang.moveSelectedText),1)]),_:1},8,["disabled","title"]),J(Un,{title:_(t).lang.manageGroupsTitle,onClick:g},{default:ye(()=>[Ae(G(_(t).lang.manageGroupsText),1)]),_:1},8,["title"])]),x("div",zu,[ce(x("span",{class:"note-obj-frame-tip-text note-obj-management-frame-show-modify-text"},G(_(t).lang.modifyText),513),[[De,i.value]]),ce(x("span",{class:"note-obj-frame-tip-text note-obj-management-frame-show-wait-text"},G(_(t).lang.waitText),513),[[De,c.value]]),J(yn,{type:"save",class:"note-obj-frame-save-content",title:_(t).lang.saveContentTitle,disabled:!i.value,onClick:T},{default:ye(()=>[Ae(G(_(t).lang.saveContentText),1)]),_:1},8,["title","disabled"]),J(yn,{type:"cancel",class:"note-obj-frame-cancel-content",title:_(t).lang.closeContentTitle,onClick:j},{default:ye(()=>[Ae(G(_(t).lang.closeCotentText),1)]),_:1},8,["title"])])])])):tt("",!0)}}),Ju={key:0,class:"note-obj-frame-presentation note-obj-group-frame-presentation"},Xu={class:"note-obj-frame-dialog note-obj-group-frame-dialog"},Qu={class:"note-obj-frame-header note-obj-group-frame-header"},Yu={for:"noteObjGroupFrameSearchInputBox"},Zu=["placeholder","onKeydown"],ed={class:"note-obj-frame-show-number"},td={class:"note-obj-frame-content note-obj-group-frame-content"},nd={class:"note-obj-group-frame-thead"},od=["title"],rd={class:"note-obj-frame-tbody note-obj-group-frame-tbody"},sd=["checked","onChange"],id=["value","onChange"],ad=["value","onChange"],ld=["value","onChange"],cd=["title","onClick"],ud={class:"note-obj-frame-tool note-obj-group-frame-tool"},dd={class:"note-obj-frame-footer note-obj-group-frame-footer"},pd=be({__name:"NoteObjGroupFrame",setup(e){const t=ze(),n=Hr(),o=Rr(),{isInsert:r}=Kt(n),s=_e(""),l=_e(!1),a=_e(!1),i=_e({default:{value:"",primaryColor:t.defaultColor.primaryColor,secondaryColor:t.defaultColor.secondaryColor,weight:0,isExists:!0,isShow:!0,isSelected:!1,editable:!1}}),c=je(()=>{let d=0;for(const g in i.value)i.value[g].isExists&&d++;return d}),u=je(()=>{let d=0;for(const g in i.value){const T=i.value[g];T.isExists&&T.isShow&&T.isSelected&&d++}return d}),v=je({get(){for(const d in i.value){const g=i.value[d];if(g.isExists&&g.isShow&&!g.isSelected)return!1}return!0},set(d){for(const g in i.value){const T=i.value[g];T.isExists&&T.isShow&&(d&&!T.isSelected?T.isSelected=!0:!d&&T.isSelected&&(T.isSelected=!1))}}});function w(){console.info("Just to intercept the carriage return event.")}function p(){s.value="",l.value=!1;const d=Object.assign({},t.group);for(const g in d)Object.assign(d[g],{isExists:!0,isShow:!0,isSelected:!1,editable:!1});i.value=d}function m(d){d!=="default"&&(i.value[d].editable?(function(g){const T=document.querySelector(`.note-obj-group-frame-item-input-value[data-key="${g}"]`),k=(T==null?void 0:T.value.trim())||"";i.value[g].value=k,S(),i.value[g].editable=!1})(d):i.value[d].editable=!0)}function A(){for(const d in i.value)if(d!=="default"){const g=i.value[d];g.isExists&&g.isShow&&g.isSelected&&(g.isExists=!1,S())}}function f(){const d="g_"+Date.now();i.value[d]={value:t.lang.groupNewValueText,primaryColor:t.defaultColor.primaryColor,secondaryColor:t.defaultColor.secondaryColor,weight:0,isExists:!0,isShow:!0,isSelected:!1,editable:!1},S(),Jn(()=>{const g=document.querySelector(".note-obj-group-frame-tbody");g&&(g.scrollTop=g.scrollHeight)})}function b(){if(l.value){const d={default:{value:"",primaryColor:t.defaultColor.primaryColor,secondaryColor:t.defaultColor.secondaryColor,weight:0}};for(const g in i.value){const{isExists:T,value:k,primaryColor:j,secondaryColor:V,weight:I}=i.value[g];T&&k&&(d[g]={value:k,primaryColor:j||t.defaultColor.primaryColor,secondaryColor:V||t.defaultColor.secondaryColor,weight:I||0})}t.setGroups(d)&&(l.value=!1)}}function S(){l.value=!0}function h(){l.value=!1,s.value="",r.value=!1,o.isEcho&&(o.isEcho=!1,o.isInsert=!0)}return Le(s,d=>{Xe.debounce("groupSearchValue",()=>{(function(g){for(const T in i.value){const k=i.value[T];k.isShow=t.determineSearchString(g,k.value,!0)}})(d)},250)}),Le(r,d=>{d&&(Object.keys(t.group).length>50?(a.value=!0,i.value={default:{value:"",primaryColor:t.defaultColor.primaryColor,secondaryColor:t.defaultColor.secondaryColor,weight:0,isExists:!0,isShow:!0,isSelected:!1,editable:!1}},Xe.debounce("initGroupsManagement",()=>{p(),a.value=!1},50)):p())}),(d,g)=>_(r)?(z(),Z("div",Ju,[x("div",Xu,[x("div",Qu,[x("form",null,[x("label",Yu,G(_(t).lang.searchContentText),1),ce(x("input",{"onUpdate:modelValue":g[0]||(g[0]=T=>s.value=T),type:"text",id:"noteObjGroupFrameSearchInputBox",placeholder:_(t).lang.searchContentPlaceholder,onKeydown:nn(de(w,["stop","prevent"]),["enter"])},null,40,Zu),[[Je,s.value,void 0,{trim:!0}]]),x("span",ed,G(u.value+"/"+c.value),1)])]),x("div",td,[x("div",nd,[x("table",null,[x("thead",null,[x("tr",null,[x("th",null,[ce(x("input",{"onUpdate:modelValue":g[1]||(g[1]=T=>v.value=T),type:"checkbox",title:_(t).lang.selectAllTitle},null,8,od),[[xa,v.value]])]),J(st,{text:_(t).lang.groupValueText},null,8,["text"]),J(st,{text:_(t).lang.groupPrimaryColorText},null,8,["text"]),J(st,{text:_(t).lang.groupSecondaryColorText},null,8,["text"]),J(st,{text:_(t).lang.groupWeightText},null,8,["text"]),J(st,{text:_(t).lang.editText},null,8,["text"]),J(st,{text:_(t).lang.deleteText},null,8,["text"])])])])]),x("div",rd,[x("table",null,[x("tbody",null,[(z(!0),Z(fe,null,Oe(i.value,({isExists:T,isShow:k,isSelected:j,value:V,editable:I,primaryColor:P,secondaryColor:M,weight:re},ue)=>ce((z(),Z("tr",{key:ue},[x("td",null,[x("input",{type:"checkbox",checked:j,onChange:se=>i.value[ue].isSelected=!j},null,40,sd)]),x("td",null,[J(Ia,{value:V,"data-key":ue.toString(),editable:I,"class-name":"note-obj-group-frame-item-input-value",onValueChange:se=>(function(ee,oe){i.value[ee].value=oe,S(),i.value[ee].editable=!1})(ue.toString(),se)},null,8,["value","data-key","editable","onValueChange"])]),x("td",null,[x("input",{type:"color",value:P,onChange:se=>(function(ee,oe){let ie="";oe.target&&(ie=oe.target.value),i.value[ee].primaryColor=ie||t.defaultColor.primaryColor,S()})(ue.toString(),se)},null,40,id)]),x("td",null,[x("input",{type:"color",value:M,onChange:se=>(function(ee,oe){let ie="";oe.target&&(ie=oe.target.value),i.value[ee].secondaryColor=ie||t.defaultColor.secondaryColor,S()})(ue.toString(),se)},null,40,ad)]),x("td",null,[x("input",{type:"number",step:1,min:-100,max:100,value:re,onChange:se=>(function(ee,oe){let ie=0;oe.target&&(ie=+oe.target.value),i.value[ee].weight=ie||0,S()})(ue.toString(),se)},null,40,ld)]),x("td",null,[ce(J(Ma,{state:I,title:_(t).lang.editTitle,class:"note-obj-frame-item-btn note-obj-group-frame-item-btn note-obj-frame-item-edit note-obj-group-frame-item-edit",onChange:se=>m(ue.toString())},null,8,["state","title","onChange"]),[[De,ue!=="default"]])]),x("td",null,[ce(x("span",{title:_(t).lang.deleteTitle,class:"note-obj-frame-item-btn note-obj-group-frame-item-btn note-obj-frame-item-delete note-obj-group-frame-item-delete",onClick:de(se=>(function(ee){ee!=="default"&&(i.value[ee].isExists=!1,S())})(ue.toString()),["stop"])},[...g[2]||(g[2]=[x("svg",{width:"1em",height:"1em"},[x("use",{"xlink:href":"#noteObjDeleteIcon"})],-1)])],8,cd),[[De,ue!=="default"]])])],512)),[[De,T&&k]])),128))])])])]),x("div",ud,[J(Un,{disabled:u.value===0,title:_(t).lang.deleteSelectedTitle,onClick:A},{default:ye(()=>[Ae(G(_(t).lang.deleteSelectedText),1)]),_:1},8,["disabled","title"]),J(Un,{title:_(t).lang.groupCreateValueTitle,onClick:f},{default:ye(()=>[Ae(G(_(t).lang.groupCreateValueText),1)]),_:1},8,["title"])]),x("div",dd,[ce(x("span",{class:"note-obj-frame-tip-text note-obj-group-frame-show-modify-text"},G(_(t).lang.modifyText),513),[[De,l.value]]),ce(x("span",{class:"note-obj-frame-tip-text note-obj-group-frame-show-wait-text"},G(_(t).lang.waitText),513),[[De,a.value]]),J(yn,{type:"save",title:_(t).lang.saveContentTitle,class:"note-obj-frame-save-content",disabled:!l.value,onClick:b},{default:ye(()=>[Ae(G(_(t).lang.saveContentText),1)]),_:1},8,["title","disabled"]),J(yn,{type:"cancel",title:_(t).lang.closeContentTitle,class:"note-obj-frame-cancel-content",onClick:h},{default:ye(()=>[Ae(G(_(t).lang.closeCotentText),1)]),_:1},8,["title"])])])])):tt("",!0)}}),fd={class:"note-obj-select-group-frame-dialog"},hd={class:"note-obj-select-group-frame-header"},gd={class:"note-obj-select-group-frame-header-text"},md={class:"note-obj-select-group-frame-content"},vd=["title","onClick"],bd={class:"note-obj-select-group-frame-footer"},yd=be({__name:"NoteObjSelectGroupFrame",setup(e){const t=ze(),n=Wo(),o=_e([]),{isShow:r}=Kt(n);function s(){l()}function l(){n.isShow=!1}return Le(r,a=>{a&&(o.value=Object.keys(t.group).sort((i,c)=>{const u=Number(t.group[i].weight)||0,v=Number(t.group[c].weight)||0;return u-v<0?1:u-v>0?-1:0}).map(i=>({key:i,...t.group[i]})))}),(a,i)=>ce((z(),Z("div",{class:"note-obj-select-group-frame-presentation",onClick:de(s,["self"])},[x("div",fd,[x("div",hd,[x("div",gd,G(_(t).lang.selectGroupHeaderText),1)]),x("div",md,[(z(!0),Z(fe,null,Oe(o.value,({key:c,value:u,primaryColor:v,secondaryColor:w})=>(z(),Z("div",{key:c,class:"note-obj-select-group-frame-group-item",title:c==="default"?_(t).lang.defaultGroupText:u,style:on({color:w,backgroundColor:v}),onClick:de(p=>(function(m){typeof n.selected=="function"&&(n.selected(m),n.selected=null),l()})(c),["stop"])},G(c==="default"?_(t).lang.defaultGroupText:u),13,vd))),128))]),x("div",bd,[x("span",{class:"note-obj-select-group-frame-btn",onClick:de(l,["stop"])},G(_(t).lang.cancelText),1)])])],512)),[[De,_(n).isShow]])}}),xd={class:"note-obj-new-group-frame-dialog"},wd={class:"note-obj-new-group-frame-header"},Td={class:"note-obj-new-group-frame-title-text"},Sd=["placeholder","onKeyup"],_d={class:"note-obj-new-group-frame-color-label"},Cd={class:"note-obj-new-group-frame-color-label-text"},Ad={class:"note-obj-new-group-frame-color-label"},kd={class:"note-obj-new-group-frame-color-label-text"},Vd={class:"note-obj-new-group-frame-color-label"},Dd={class:"note-obj-new-group-frame-color-label-text"},Nd=["title"],jd=["ttile"],Ed=be({__name:"NoteObjNewGroupFrame",setup(e){const t=ze(),n=Gr(),o=_e(""),r=_e(""),s=_e(""),l=_e(0),{isShow:a}=Kt(n);function i(w){w.key==="Enter"?c():w.key==="Escape"&&v()}function c(){if(o.value){const w="g_"+Date.now();t.writeNewGroupValue(w,{value:o.value,primaryColor:r.value,secondaryColor:s.value,weight:l.value})&&(typeof n.created=="function"&&(n.created(w),n.created=null),v())}}function u(){v()}function v(){n.isShow=!1}return Le(a,w=>{w&&(o.value=t.lang.groupNewValueText,r.value=t.defaultColor.primaryColor,s.value=t.defaultColor.secondaryColor,l.value=0)}),(w,p)=>ce((z(),Z("div",{class:"note-obj-new-group-frame-presentation",onClick:de(u,["self"])},[x("div",xd,[x("div",wd,[x("span",Td,G(_(t).lang.groupCreateValueText),1)]),ce(x("input",{"onUpdate:modelValue":p[0]||(p[0]=m=>o.value=m),type:"text",placeholder:_(t).lang.groupPlaceholder,class:"note-obj-new-group-frame-input",onKeyup:nn(de(i,["prevent"]),["enter","esc"])},null,40,Sd),[[Je,o.value,void 0,{trim:!0}],[_(Ro),_(a)]]),x("div",_d,[x("span",Cd,G(_(t).lang.groupPrimaryColorText+": "),1),ce(x("input",{"onUpdate:modelValue":p[1]||(p[1]=m=>r.value=m),type:"color"},null,512),[[Je,r.value]])]),x("div",Ad,[x("span",kd,G(_(t).lang.groupSecondaryColorText+": "),1),ce(x("input",{"onUpdate:modelValue":p[2]||(p[2]=m=>s.value=m),type:"color"},null,512),[[Je,s.value]])]),x("div",Vd,[x("span",Dd,G(_(t).lang.groupWeightText+": "),1),ce(x("input",{"onUpdate:modelValue":p[3]||(p[3]=m=>l.value=m),type:"number",step:1,min:-100,max:100},null,512),[[Je,l.value]])]),x("button",{type:"button",title:_(t).lang.saveTagTitle,onClick:de(c,["stop"])},G(_(t).lang.saveTagText),9,Nd),x("button",{type:"button",class:"note-obj-new-group-frame-button-bottom",ttile:_(t).lang.cancelTagTItle,onClick:de(v,["stop"])},G(_(t).lang.cancelTagText),9,jd)])],512)),[[De,_(a)]])}}),Id={class:"note-obj-popover-frame-header"},Md={class:"note-obj-popover-frame-title"},Od={class:"note-obj-popover-frame-title"},Ld={class:"note-obj-popover-frame-content"},Fd=["title","onOnclick"],Bd=be({__name:"NoteObjPopoverFrame",setup(e){const t=ze(),n=Tr(),{currentUserId:o}=Kt(n),r=rn({name:"",tag:"",group:""}),s=_e({}),l=_e("");function a(){n.isPopHover=!0}function i(){n.isPopHover=!1,Xe.debounce("popoverHide",()=>{n.isPopHover||n.isTagHover||(n.isShow=!1)},1e3)}return Le(o,c=>{if(c){Object.assign(r,t.items[c]);const u=r.group,v=Object.keys(t.group),w={};if(u&&u!=="default"&&v.includes(u)){l.value=t.group[u].value;const p=Object.assign({},t.items);for(const m in p){const A=p[m];A.group===u&&m!==c&&(w[m]=A)}}else l.value="";s.value=w}}),(c,u)=>ce((z(),Z("div",{class:"note-obj-popver-frame-dialog",style:on({left:_(n).x+10+"px",top:_(n).y-50+"px"}),onMouseenter:a,onMouseleave:i},[x("div",Id,[x("div",Md,G(l.value),1),x("div",Od,G(r.tag||r.name||""),1)]),x("div",Ld,[(z(!0),Z(fe,null,Oe(s.value,(v,w,p)=>(z(),Z("div",{key:w,class:et(p%2==1?"note-obj-popover-frame-item-deepen":"note-obj-popover-frame-item"),title:w+(v.name&&v.name!==w?`
${v.name}`:"")+(v.tag?`
${v.tag}`:""),onOnclick:de(m=>(function(A,f){t.openLink(f.toString(),A.ctrlKey||A.metaKey,A.shiftKey,"popover")})(m,w),["stop"])},G(v.tag||v.name||w),43,Fd))),128))]),u[0]||(u[0]=x("div",{class:"note-obj-popover-frame-arrow"},null,-1))],36)),[[De,_(n).isShow]])}}),Qt=be({__name:"NoteObjFlodHeader",props:{text:{},iconRomote:{type:Boolean}},emits:["update:iconRomote"],setup(e,{emit:t}){const n=t;return(o,r)=>(z(),Z("header",{onClick:r[0]||(r[0]=de(s=>n("update:iconRomote",!e.iconRomote),["stop"]))},[x("span",null,G(e.text),1),x("i",{class:et(["note-obj-settings-frame-header-icon",{"note-obj-settings-frame-header-icon-romote":e.iconRomote}])},[...r[1]||(r[1]=[x("svg",{width:"1em",height:"1em"},[x("use",{"xlink:href":"#noteObjChevronRightIcon"})],-1)])],2)]))}}),Ud={class:"note-obj-settings-frame-component-package"},Pd=["id","checked"],Wd=["for"],Rd=be({__name:"NoteObjSettingsCheckbox",props:{id:{},isSelected:{type:Boolean},label:{}},emits:["change"],setup(e,{emit:t}){const n=t;return(o,r)=>(z(),Z("div",Ud,[x("input",{type:"checkbox",id:e.id,checked:e.isSelected,onChange:r[0]||(r[0]=s=>n("change",!e.isSelected))},null,40,Pd),x("label",{for:e.id,class:"note-obj-settings-checkbox-label"},G(e.label),9,Wd)]))}}),Hd={class:"note-obj-settings-frame-component-package-input-text"},Gd={class:"note-obj-setttings-frame-before-input-text"},$d=["id","value"],Kd=be({__name:"NoteObjSettingsInput",props:{id:{},value:{},label:{}},emits:["change"],setup(e,{emit:t}){const n=e,o=t;function r(s){Xe.debounce(n.id+"_settingsInput",()=>{let l="";s.target&&(l=s.target.value),o("change",l)},500)}return(s,l)=>(z(),Z("div",Hd,[x("span",Gd,G(e.label),1),x("input",{type:"text",id:e.id,value:e.value,onInput:r},null,40,$d)]))}}),zd=["id"],qd={class:"note-obj-settings-frame-radio-config-text"},Jd=["id","value","checked"],Xd=["for"],Qd=be({__name:"NoteObjSettingsRadio",props:{id:{},label:{},value:{},options:{}},emits:["change"],setup(e,{emit:t}){const n=ze(),o=t;function r(s){let l="";s.target&&(l=s.target.value),o("change",l)}return(s,l)=>(z(),Z("div",{class:"note-obj-settings-frame-component-package",id:e.id},[x("label",qd,G(e.label),1),(z(!0),Z(fe,null,Oe(e.options,(a,i)=>(z(),Z("span",{key:i},[x("input",{type:"radio",id:e.id+"_"+i,value:i,checked:e.value===i,onChange:r},null,40,Jd),x("label",{for:e.id+"_"+i,class:"note-obj-settings-radio-label"},G(_(n).lang[a]||a),9,Xd)]))),128))],8,zd))}}),Yd={class:"note-obj-settings-frame-component-package"},Zd=["for"],ep=["id","name"],tp=["value","selected"],np=be({__name:"NoteObjSettingsSelect",props:{id:{},selected:{},options:{},label:{}},emits:["change"],setup(e,{emit:t}){const n=ze(),o=t;function r(s){let l="";s.target&&(l=s.target.value),o("change",l)}return(s,l)=>(z(),Z("div",Yd,[x("label",{class:"note-obj-settings-frame-before-select-text",for:e.id},G(e.label),9,Zd),x("select",{id:e.id,name:e.id+"_select",onChange:r},[(z(!0),Z(fe,null,Oe(e.options,(a,i)=>(z(),Z("option",{key:i,value:i,selected:i===e.selected},G(_(n).lang[a]||a),9,tp))),128))],40,ep)]))}}),op={class:"note-obj-settings-frame-content-section"},ln=be({__name:"NoteObjSettingsItem",props:{id:{},type:{},value:{type:[String,Boolean]},label:{},options:{}},emits:["value-change"],setup(e,{emit:t}){const n=t;return(o,r)=>(z(),Z("div",op,[e.type==="checkbox"?(z(),Me(Rd,{key:0,id:e.id,label:e.label,"is-selected":!!e.value,onChange:r[0]||(r[0]=s=>n("value-change",s))},null,8,["id","label","is-selected"])):e.type==="text"?(z(),Me(Kd,{key:1,id:e.id,label:e.label,value:e.value.toString(),onChange:r[1]||(r[1]=s=>n("value-change",s))},null,8,["id","label","value"])):e.type==="radio"?(z(),Me(Qd,{key:2,id:e.id,label:e.label,value:e.value.toString(),options:e.options||{},onChange:r[2]||(r[2]=s=>n("value-change",s))},null,8,["id","label","value","options"])):e.type==="select"?(z(),Me(np,{key:3,id:e.id,label:e.label,options:e.options||{},selected:e.value.toString(),onChange:r[3]||(r[3]=s=>n("value-change",s))},null,8,["id","label","options","selected"])):tt("",!0)]))}}),rp={class:"note-obj-settings-frame-content-section"},sp={key:0},ip=["href"],ap={key:2},ht=be({__name:"NoteObjScriptItem",props:{label:{},type:{},url:{}},setup:e=>(t,n)=>(z(),Z("div",rp,[e.label?(z(),Z("span",sp,G(e.label),1)):tt("",!0),e.type==="a"?(z(),Z("a",{key:1,href:e.url||"#",target:"_blank"},[mn(t.$slots,"default")],8,ip)):e.type==="p"?(z(),Z("p",ap,[mn(t.$slots,"default")])):tt("",!0)]))}),lp={key:0,class:"note-obj-settings-divider-label"},ti=be({__name:"NoteObjSettingsDivider",props:{type:{}},setup(e){const t=!!Il().default;return(n,o)=>(z(),Z("div",{class:et(["note-obj-settings-frame-content-section note-obj-settings-divider","note-obj-settings-divider-"+e.type+(t?" note-obj-settings-divider-inner-text":"")])},[t?(z(),Z("span",lp,[mn(n.$slots,"default")])):tt("",!0)],2))}}),io=be({__name:"NoteObjSettingsDividerPackage",props:{label:{}},setup:e=>(t,n)=>(z(),Z(fe,null,[J(ti,{type:"solid"},{default:ye(()=>[Ae(G(e.label),1)]),_:1}),mn(t.$slots,"default"),J(ti,{type:"dashed"})],64))}),cp={class:"note-obj-settings-frame-card"},up={class:"note-obj-settings-frame-header"},dp={class:"note-obj-settings-frame-headline"},pp=["title"],fp={class:"note-obj-settings-frame-body"},hp={class:"note-obj-settings-frame-flod"},gp={class:"note-obj-settings-frame-content"},mp={class:"note-obj-settings-frame-flod"},vp={class:"note-obj-settings-frame-content"},bp={class:"note-obj-settings-frame-flod"},yp={class:"note-obj-settings-frame-content"},xp={class:"note-obj-settings-frame-flod"},wp={class:"note-obj-settings-frame-content"},Tp={key:0,class:"note-obj-settings-frame-flod"},Sp={class:"note-obj-settings-frame-content"},_p={class:"note-obj-settings-frame-flod"},Cp={class:"note-obj-settings-frame-content"},Ap={class:"note-obj-settings-frame-content-section note-obj-settings-frame-center-content"},kp={class:"note-obj-settings-frame-content-section note-obj-settings-frame-center-content"},Vp=["title","disabled"],Dp=["title","disabled"],Np=["title","disabled"],jp={class:"note-obj-settings-frame-flod"},Ep={class:"note-obj-settings-frame-content"},Ip={class:"note-obj-settings-frame-footer"},Mp=["title"],Op=["title"],Lp=be({__name:"NoteObjSettingsFrame",setup(e){const t=ze(),n=Na(),o=ja(),r=he.info(),s=rn({searchBox:!1,searchValue:!1,addNote:!1,interface:!1,other:!1,storeData:!1,script:!1}),l={searchBox:{showIndex:{id:"settingsSearchBoxShowIndexText",type:"checkbox"},canHideSearchFrame:{id:"settingsSearchBoxCanHideSearchFrameText",type:"checkbox"},showGroupName:{id:"settingsSearchBoxShowGroupNameText",type:"checkbox"},openNewTab:{id:"settingsSearchBoxOpenNewTabText",type:"checkbox"},enableShortcutKeys:{id:"settingsSearchBoxEnableShortcutKeysText",type:"checkbox"}},searchValue:{caseSensitive:{id:"settingsSearchValueCaseSensitiveText",type:"checkbox"},split:{id:"settingsSearchValueSplitText",type:"checkbox"},regular:{id:"settingsSearchValueRegularText",type:"checkbox"}},addNote:{showNoteGroupName:{id:"settingsAddNoteShowNoteGroupNameText",type:"checkbox"},hideNoteText:{id:"settingsAddNoteHideNoteText",type:"checkbox"},showNoteGroupColor:{id:"settingsAddNoteShowNoteGroupColorText",type:"checkbox"},showPopoverFrame:{id:"settingsAddNoteShowPopoverFrameText",type:"checkbox"},openNoteNewTab:{id:"settingsAddNoteOpenNoteNewTabText",type:"checkbox"},canHideAddFrame:{id:"settingsAddNoteCanHideAddFrameText",type:"checkbox"}},interface:{insertSearchButton:{id:"settingsInterfaceInsertSearchButtonText",type:"checkbox"},mode:{id:"settingsInterfaceConfigText",type:"radio",options:{system:"settingsInterfaceSystemText",bright:"settingsInterfaceBrightText",dark:"settingsInterfaceDarkText"}},language:{id:"settingsInterfaceLanguageText",type:"select",options:t.i18n.getLangOptions()}},storeData:{enableWebDAV:{id:"settingsWebDAVEnableText",type:"checkbox"},autoSync:{id:"settingsFrameInterfaceAutoSyncText",type:"checkbox"}}},a=je(()=>Object.keys(t.config.other).length>0),i=je(()=>t.storeModificationTime?new Date(t.storeModificationTime).toString():"none."),c=je(()=>t.webDAVSyncTime?new Date(t.webDAVSyncTime).toString():"none.");function u(){o.isInsert=!0}function v(){t.config.storeData.enableWebDAV&&t.config.storeData.webDAVSyncMode==="two-way"&&!t.webDAVSyncLoading&&t.webDAVSyncTimer("two-way")}function w(){t.config.storeData.enableWebDAV&&t.config.storeData.webDAVSyncMode!=="download"&&!t.webDAVSyncLoading&&t.webDAVSyncTimer("upload")}function p(){t.config.storeData.enableWebDAV&&t.config.storeData.webDAVSyncMode!=="upload"&&!t.webDAVSyncLoading&&t.webDAVSyncTimer("download")}function m(){t.export()}function A(){t.import()}function f(){b()}function b(){n.isInsert=!1}return(S,h)=>(z(),Me(Zl,{name:"note-obj-settings-frame-card"},{default:ye(()=>[_(n).isInsert?(z(),Z("div",{key:0,class:"note-obj-settings-frame-presentation",onClick:de(f,["self"])},[x("div",cp,[x("header",up,[x("span",dp,G(_(t).lang.settingsHeadlineText),1),x("span",{title:_(t).lang.settingsCloseTitle,class:"note-obj-settings-frame-close-btn",onClick:de(b,["stop"])},[...h[7]||(h[7]=[x("svg",{width:"1em",height:"1em"},[x("use",{"xlink:href":"#noteObjCloseIcon"})],-1)])],8,pp)]),x("div",fp,[x("div",hp,[J(Qt,{"icon-romote":s.searchBox,"onUpdate:iconRomote":h[0]||(h[0]=d=>s.searchBox=d),text:_(t).lang.settingsAboutSearchBoxText},null,8,["icon-romote","text"]),ce(x("div",gp,[(z(!0),Z(fe,null,Oe(l.searchBox,({id:d,type:g},T)=>(z(),Me(ln,{key:T,value:_(t).config.searchBox[T],id:d,label:_(t).lang[d],type:g,onValueChange:k=>(function(j,V){t.config.searchBox[j]=V,t.saveConfig()})(T,!!k)},null,8,["value","id","label","type","onValueChange"]))),128))],512),[[De,s.searchBox]])]),x("div",mp,[J(Qt,{"icon-romote":s.searchValue,"onUpdate:iconRomote":h[1]||(h[1]=d=>s.searchValue=d),text:_(t).lang.settingsAboutSearchValueText},null,8,["icon-romote","text"]),ce(x("div",vp,[(z(!0),Z(fe,null,Oe(l.searchValue,({id:d,type:g},T)=>(z(),Me(ln,{key:T,value:_(t).config.searchValue[T],id:d,label:_(t).lang[d],type:g,onValueChange:k=>(function(j,V){t.config.searchValue[j]=V,t.saveConfig()})(T,!!k)},null,8,["value","id","label","type","onValueChange"]))),128))],512),[[De,s.searchValue]])]),x("div",bp,[J(Qt,{"icon-romote":s.addNote,"onUpdate:iconRomote":h[2]||(h[2]=d=>s.addNote=d),text:_(t).lang.settingsAboutAddNoteText},null,8,["icon-romote","text"]),ce(x("div",yp,[(z(!0),Z(fe,null,Oe(l.addNote,({id:d,type:g},T)=>(z(),Me(ln,{key:T,value:_(t).config.addNote[T],id:d,label:_(t).lang[d],type:g,onValueChange:k=>(function(j,V){t.config.addNote[j]=V,t.saveConfig()})(T,!!k)},null,8,["value","id","label","type","onValueChange"]))),128))],512),[[De,s.addNote]])]),x("div",xp,[J(Qt,{"icon-romote":s.interface,"onUpdate:iconRomote":h[3]||(h[3]=d=>s.interface=d),text:_(t).lang.settingsAboutInterfaceText},null,8,["icon-romote","text"]),ce(x("div",wp,[(z(!0),Z(fe,null,Oe(l.interface,({id:d,type:g,options:T},k)=>(z(),Me(ln,{key:k,value:_(t).config.interface[k],id:d,label:_(t).lang[d],type:g,options:T,onValueChange:j=>(function(V,I){V==="mode"?t.setInterfaceMode(I.toString()):V==="language"?t.setInterfaceLanguage(I.toString()):V==="insertSearchButton"&&(t.config.interface.insertSearchButton=!!I,t.saveConfig())})(k,j)},null,8,["value","id","label","type","options","onValueChange"]))),128))],512),[[De,s.interface]])]),a.value?(z(),Z("div",Tp,[J(Qt,{"icon-romote":s.other,"onUpdate:iconRomote":h[4]||(h[4]=d=>s.other=d),text:_(t).lang.settingsAboutOtherText},null,8,["icon-romote","text"]),ce(x("div",Sp,[(z(!0),Z(fe,null,Oe(_(t).config.other,(d,g)=>(z(),Me(ln,{key:g,value:d,id:"otherSettings_"+g,label:_(t).otherConfigInfo[g].lang[_(t).i18n.getLangType()],type:_(t).otherConfigInfo[g].type,options:_(t).otherConfigInfo[g].options,onValueChange:T=>(function(k,j){const V=t.config.other[k];if(V!==j&&(t.config.other[k]=j,t.saveConfig(void 0,!1))){t.addNotification(t.lang.saveCompletedNotifactionText);const I=t.otherConfigInfo[k];I.type==="checkbox"?I.event(!!j,!!V):I.event(j.toString(),V.toString())}})(g.toString(),T)},null,8,["value","id","label","type","options","onValueChange"]))),128))],512),[[De,s.other]])])):tt("",!0),x("div",_p,[J(Qt,{"icon-romote":s.storeData,"onUpdate:iconRomote":h[5]||(h[5]=d=>s.storeData=d),text:_(t).lang.settingsAboutStoredDataText},null,8,["icon-romote","text"]),ce(x("div",Cp,[x("div",Ap,[x("button",{type:"button",onClick:de(u,["stop"])},G(_(t).lang.settingsWebDAVConfigText),1)]),x("div",kp,[x("button",{type:"button",title:_(t).lang.settingsWebDAVSyncTitle,disabled:!_(t).config.storeData.enableWebDAV||_(t).config.storeData.webDAVSyncMode!=="two-way",onClick:de(v,["stop"])},G(_(t).lang.settingsWebDAVSyncText),9,Vp),x("button",{type:"button",title:_(t).lang.settingsWebDAVUploadTitle,disabled:!_(t).config.storeData.enableWebDAV||_(t).config.storeData.webDAVSyncMode==="download",onClick:de(w,["stop"])},G(_(t).lang.settingsWebDAVUploadText),9,Dp),x("button",{type:"button",title:_(t).lang.settingsWebDAVDownloadTitle,disabled:!_(t).config.storeData.enableWebDAV||_(t).config.storeData.webDAVSyncMode==="upload",onClick:de(p,["stop"])},G(_(t).lang.settingsWebDAVDownloadText),9,Np)]),(z(!0),Z(fe,null,Oe(l.storeData,({id:d,type:g},T)=>(z(),Me(ln,{key:T,value:_(t).config.storeData[T],id:d,label:_(t).lang[d],type:g,onValueChange:k=>(function(j,V){t.config.storeData[j]=V,t.saveConfig(),j==="autoSync"?t.valueChangeListener():j==="enableWebDAV"&&t.webDAVSyncTimer("immediate")})(T,!!k)},null,8,["value","id","label","type","onValueChange"]))),128)),J(io,{label:_(t).lang.settingsLocalDataText},{default:ye(()=>[J(ht,{type:"p",label:"+ "+_(t).lang.settingsNotesCountText},{default:ye(()=>[Ae(G(_(t).itemsCount),1)]),_:1},8,["label"]),J(ht,{type:"p",label:"+ "+_(t).lang.settingsGroupCountText},{default:ye(()=>[Ae(G(_(t).groupCount),1)]),_:1},8,["label"])]),_:1},8,["label"]),J(io,{label:_(t).lang.settingsStoredDataLastTimeText},{default:ye(()=>[J(ht,{type:"p"},{default:ye(()=>[Ae(G(i.value),1)]),_:1})]),_:1},8,["label"]),J(io,{label:_(t).lang.settingsWebDAVSyncTimeText},{default:ye(()=>[J(ht,{type:"p"},{default:ye(()=>[Ae(G(c.value),1)]),_:1})]),_:1},8,["label"])],512),[[De,s.storeData]])]),x("div",jp,[J(Qt,{"icon-romote":s.script,"onUpdate:iconRomote":h[6]||(h[6]=d=>s.script=d),text:_(t).lang.settingsAboutScriptText},null,8,["icon-romote","text"]),ce(x("div",Ep,[J(ht,{type:"a",label:_(t).lang.settingsScriptAuthorText,url:_(t).scriptInfo.author.homepage},{default:ye(()=>[Ae(G(_(t).scriptInfo.author.name),1)]),_:1},8,["label","url"]),J(ht,{type:"a",label:_(t).lang.settingsScriptVersionText,url:_(t).scriptInfo.url},{default:ye(()=>[Ae(G((_(t).scriptInfo.version||_(r).script.version)+" ("+_(t).scriptInfo.updated+")"),1)]),_:1},8,["label","url"]),J(ht,{type:"a",label:_(t).lang.settingsScriptCoreText,url:"https://github.com/LightAPIs"},{default:ye(()=>[Ae(G("Note_Obj v"+_(Va)+" ("+_(Da)+")"),1)]),_:1},8,["label"]),J(io,{label:_(t).lang.settingsScriptLibraryText},{default:ye(()=>[(z(!0),Z(fe,null,Oe(_(t).scriptInfo.library,(d,g)=>(z(),Me(ht,{key:g,type:"a",label:"+ ",url:d.url},{default:ye(()=>[Ae(G(d.name+" (v"+d.version+")"),1)]),_:2},1032,["url"]))),128))]),_:1},8,["label"]),(z(!0),Z(fe,null,Oe(_(t).scriptInfo.icons,(d,g)=>(z(),Me(ht,{key:g,type:"a",label:_(t).lang.settingsScriptIconText,url:d.url},{default:ye(()=>[Ae(G(d.name),1)]),_:2},1032,["label","url"]))),128)),J(ht,{type:"p",label:_(t).lang.settingsScriptHandlerText},{default:ye(()=>[Ae(G(_(r).scriptHandler+" ("+(_(r).version||"0.0.0")+")"),1)]),_:1},8,["label"])],512),[[De,s.script]])])]),x("div",Ip,[x("button",{type:"button",title:_(t).lang.settingsStoredDataExportTitle,onClick:de(m,["stop"])},G(_(t).lang.gmExportText),9,Mp),x("button",{type:"button",title:_(t).lang.settingsStoredDataImportIitle,onClick:de(A,["stop"])},G(_(t).lang.gmImportText),9,Op)])])])):tt("",!0)]),_:1}))}}),Fp={key:0,class:"note-obj-frame-presentation note-obj-webdav-frame-presentation"},Bp={class:"note-obj-frame-dialog note-obj-webdav-frame-dialog"},Up={class:"note-obj-frame-header note-obj-webdav-frame-header"},Pp={class:"note-obj-webdav-frame-title"},Wp={class:"note-obj-webdav-frame-content"},Rp={class:"note-obj-webdav-frame-form"},Hp={class:"note-obj-webdav-frame-form-item"},Gp={for:"note-obj-webdav-frame-url"},$p={class:"note-obj-webdav-frame-form-item"},Kp={for:"note-obj-webdav-frame-file"},zp={class:"note-obj-webdav-frame-form-item"},qp={for:"note-obj-webdav-frame-user"},Jp={class:"note-obj-webdav-frame-form-item"},Xp={for:"note-obj-webdav-frame-password"},Qp={class:"note-obj-webdav-frame-form-item"},Yp={for:"note-obj-webdav-frame-passphrase"},Zp={class:"note-obj-webdav-frame-form-item"},ef={fro:"note-obj-webdav-frame-interval"},tf={class:"note-obj-webdav-frame-form-item"},nf={for:"note-obj-webdav-frame-mode"},of=["value","selected"],rf={class:"note-obj-frame-footer note-obj-webdav-frame-footer"},sf=be({__name:"NoteObjWebdavFrame",setup(e){const t={"two-way":"webDAVSyncModeTwoWayText",upload:"webDAVSyncModeUploadText",download:"webDAVSyncModeDownloadText"},n=ze(),{isInsert:o}=Kt(ja()),r=rn({url:"",file:"",user:"",password:"",passphrase:"",interval:0,mode:"two-way"});function s(){const{url:a,file:i,user:c,password:u,passphrase:v,interval:w,mode:p}=r;let m=Number(w)||0;m<=0&&(m=0),Object.assign(n.config.storeData,{webDAVURL:a.trim(),webDAVFile:i.trim(),webDAVUser:c.trim(),webDAVPassword:u,webDAVPassphrase:v,webDAVAutoSyncInterval:Math.floor(m),webDAVSyncMode:p}),n.saveConfig(),n.webDAVSyncTimer(),l()}function l(){o.value=!1}return Le(o,a=>{if(a){const{webDAVURL:i,webDAVFile:c,webDAVUser:u,webDAVPassword:v,webDAVPassphrase:w,webDAVAutoSyncInterval:p,webDAVSyncMode:m}=n.config.storeData;Object.assign(r,{url:i,file:c,user:u,password:v,passphrase:w,interval:p,mode:m})}}),(a,i)=>_(o)?(z(),Z("div",Fp,[x("div",Bp,[x("div",Up,[x("div",Pp,G(_(n).lang.webDAVHeaderText),1)]),x("div",Wp,[x("div",Rp,[x("div",Hp,[x("label",Gp,G(_(n).lang.webDAVURLText),1),i[7]||(i[7]=x("br",null,null,-1)),ce(x("input",{"onUpdate:modelValue":i[0]||(i[0]=c=>r.url=c),id:"note-obj-webdav-frame-url",type:"url"},null,512),[[Je,r.url]])]),x("div",$p,[x("label",Kp,G(_(n).lang.webDAVFileText),1),i[8]||(i[8]=x("br",null,null,-1)),ce(x("input",{"onUpdate:modelValue":i[1]||(i[1]=c=>r.file=c),id:"note-obj-webdav-frame-file",type:"text"},null,512),[[Je,r.file]])]),x("div",zp,[x("label",qp,G(_(n).lang.webDAVUserText),1),i[9]||(i[9]=x("br",null,null,-1)),ce(x("input",{"onUpdate:modelValue":i[2]||(i[2]=c=>r.user=c),id:"note-obj-webdav-frame-user",type:"text"},null,512),[[Je,r.user]])]),x("div",Jp,[x("label",Xp,G(_(n).lang.webDAVPasswordText),1),i[10]||(i[10]=x("br",null,null,-1)),ce(x("input",{"onUpdate:modelValue":i[3]||(i[3]=c=>r.password=c),id:"note-obj-webdav-frame-password",type:"password"},null,512),[[Je,r.password]])]),x("div",Qp,[x("label",Yp,G(_(n).lang.webDAVPassphraseText),1),i[11]||(i[11]=x("br",null,null,-1)),ce(x("input",{"onUpdate:modelValue":i[4]||(i[4]=c=>r.passphrase=c),id:"note-obj-webdav-frame-passphrase",type:"password"},null,512),[[Je,r.passphrase]])]),x("div",Zp,[x("label",ef,G(_(n).lang.webDAVIntervalText),1),i[12]||(i[12]=x("br",null,null,-1)),ce(x("input",{"onUpdate:modelValue":i[5]||(i[5]=c=>r.interval=c),id:"note-obj-webdav-frame-interval",type:"number",min:"0",step:"1"},null,512),[[Je,r.interval]])]),x("div",tf,[x("label",nf,G(_(n).lang.webDAVSyncModeText),1),ce(x("select",{id:"note-obj-webdav-frame-mode","onUpdate:modelValue":i[6]||(i[6]=c=>r.mode=c)},[(z(),Z(fe,null,Oe(t,(c,u)=>x("option",{key:u,value:u,selected:u===r.mode},G(_(n).lang[c]),9,of)),64))],512),[[yr,r.mode]])])])]),x("div",rf,[J(yn,{type:"save",title:_(n).lang.saveContentTitle,class:"note-obj-frame-save-content",onClick:s},{default:ye(()=>[Ae(G(_(n).lang.saveContentText),1)]),_:1},8,["title"]),J(yn,{type:"cancel",title:_(n).lang.closeContentTitle,class:"note-obj-frame-cancel-content",onClick:l},{default:ye(()=>[Ae(G(_(n).lang.closeCotentText),1)]),_:1},8,["title"])])])])):tt("",!0)}});(function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".vue-simple-message-frame-presentation[data-v-a6bb4455]{max-width:320px;position:fixed;top:20px;right:0;z-index:1000000;pointer-events:none}.vue-simple-message-frame-notification[data-v-a6bb4455]{display:block;box-sizing:inherit;box-shadow:0 1px 4px #0003;background-color:#336;color:#fff;margin:10px;position:relative;min-width:240px;backface-visibility:hidden;pointer-events:all;border-radius:3px;padding:16px 20px}.vue-simple-message-frame-notification.vue-simple-message-frame-notification-error[data-v-a6bb4455]{background-color:#f91717}.vue-simple-message-frame-notification.vue-simple-message-frame-notification-warn[data-v-a6bb4455]{background-color:#b8b810}.vue-simple-message-frame-notification.vue-simple-message-frame-notification-debug[data-v-a6bb4455]{background-color:#700270}.vue-simple-message-frame-notification-enter-active[data-v-a6bb4455],.vue-simple-message-frame-notification-leave-active[data-v-a6bb4455]{transition:all .5s ease}.vue-simple-message-frame-notification-enter-from[data-v-a6bb4455]{transform:translate(100%);opacity:0}.vue-simple-message-frame-notification-leave-to[data-v-a6bb4455]{opacity:0}.vue-simple-message-frame-close-btn[data-v-a6bb4455]{position:absolute;right:4px;top:4px;width:18px;height:18px;box-shadow:1px 1px 2px #00000040;border-radius:3px;cursor:pointer}.vue-simple-message-frame-close-btn svg[data-v-a6bb4455]{width:18px;height:18px}.vue-simple-message-frame-content[data-v-a6bb4455]{margin-top:5px;word-break:break-all}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();const Oa=e=>(go="data-v-a6bb4455",e=e(),go=null,e),af={class:"vue-simple-message-frame-presentation"},lf=Oa(()=>x("div",{style:{display:"none"}},[x("svg",{id:"simpleMessageCloseIcon",role:"img",xmlns:"http://www.w3.org/2000/svg",width:"18px",height:"18px",viewBox:"0 0 24 24","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",stroke:"currentColor"},[x("path",{d:"M6.34314575 6.34314575L17.6568542 17.6568542M6.34314575 17.6568542L17.6568542 6.34314575"})])],-1)),cf=["onClick"],uf=[Oa(()=>x("svg",null,[x("use",{"xlink:href":"#simpleMessageCloseIcon"})],-1))],df={class:"vue-simple-message-frame-content"},pf=be({name:"SimpleMessage"}),ff=be({...pf,props:{list:{}},emits:["update:list","close"],setup(e,{emit:t}){const n=e,o=t;return(r,s)=>(z(),Z("div",af,[lf,J(uc,{tag:"div",name:"vue-simple-message-frame-notification"},{default:ye(()=>[(z(!0),Z(fe,null,Oe(r.list,({id:l,type:a,content:i,color:c,background:u})=>(z(),Z("div",{key:l,class:et(["vue-simple-message-frame-notification","vue-simple-message-frame-notification-"+a]),style:on({color:c,background:u})},[x("i",{class:"vue-simple-message-frame-close-btn",title:"Close",onClick:de(v=>(function(w){o("update:list",n.list.filter(p=>p.id!==w)),o("close",w)})(l),["stop"])},uf,8,cf),x("div",df,G(i),1)],6))),128))]),_:1})]))}}),hf=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},gf=hf(ff,[["__scopeId","data-v-a6bb4455"]]),mf=be({__name:"NoteObjMessageFrame",setup(e){const t=Ea();function n(o){t.removeNotifaction(o)}return(o,r)=>(z(),Me(_(gf),{list:_(t).notifications,onClose:n},null,8,["list"]))}}),vf=be({__name:"App",setup(e){const t=ze(),n=Wr(),o=je(()=>{switch(t.config.interface.mode){case"bright":return"note-obj-interface-bright";case"dark":return"note-obj-interface-dark";default:return"note-obj-interface-system"}});function r(){t.showFrame("search",!0,!n.isShow)}return Lr(()=>{document.onkeydown=s=>{t.config.searchBox.enableShortcutKeys&&(s.ctrlKey||s.metaKey)&&s.shiftKey&&s.key==="F"&&r()}}),(s,l)=>(z(),Z("div",{class:et(o.value)},[l[0]||(l[0]=x("div",{class:"note-obj-icons",style:{display:"none"}},[x("svg",{id:"noteObjSearchIcon",role:"img",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24","stroke-width":"2","stroke-linecap":"square","stroke-linejoin":"miter",fill:"none",stroke:"currentColor"},[x("path",{d:"M14.4121122,14.4121122 L20,20"}),x("circle",{cx:"10",cy:"10",r:"6"})]),x("svg",{id:"noteObjCloseIcon",role:"img",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",stroke:"currentColor"},[x("path",{d:"M6.34314575 6.34314575L17.6568542 17.6568542M6.34314575 17.6568542L17.6568542 6.34314575"})]),x("svg",{id:"noteObjEditIcon",role:"img",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24","stroke-width":"2","stroke-linecap":"square","stroke-linejoin":"miter",fill:"none",stroke:"currentColor"},[x("path",{d:"M18.4142136 4.41421356L19.5857864 5.58578644C20.366835 6.36683502 20.366835 7.63316498 19.5857864 8.41421356L8 20 4 20 4 16 15.5857864 4.41421356C16.366835 3.63316498 17.633165 3.63316498 18.4142136 4.41421356zM14 6L18 10"})]),x("svg",{id:"noteObjDeleteIcon",role:"img",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24","stroke-width":"2","stroke-linecap":"square","stroke-linejoin":"miter",fill:"none",stroke:"currentColor"},[x("path",{d:"M19 6L5 6M14 5L10 5M6 10L6 20C6 20.6666667 6.33333333 21 7 21 7.66666667 21 11 21 17 21 17.6666667 21 18 20.6666667 18 20 18 19.3333333 18 16 18 10"})]),x("svg",{id:"noteObjOKIcon",role:"img",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24","stroke-width":"2","stroke-linecap":"square","stroke-linejoin":"miter",fill:"none",stroke:"currentColor"},[x("polyline",{points:"7 13 10 16 17 9"}),x("circle",{cx:"12",cy:"12",r:"10"})]),x("svg",{id:"noteObjChevronRightIcon",role:"img",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24","stroke-width":"3","stroke-linecap":"square","stroke-linejoin":"miter",fill:"none",stroke:"currentColor"},[x("polyline",{points:"10 6 16 12 10 18 10 18"})])],-1)),J(Jc,{"is-insert":_(t).config.interface.insertSearchButton,title:_(t).lang.searchTagTitle,"button-class":_(t).searchBtnClassName,"box-class":_(t).searchBtnBoxClassName,onClick:r},null,8,["is-insert","title","button-class","box-class"]),J(iu),J(mu),J(qu),J(pd),J(yd),J(Ed),J(Bd),J(Lp),J(sf),J(mf)],2))}});class bf{constructor(t="info"){this.logLevel=t}queryLog(t,n,o,r){let s="";switch(s=r?`fn: Unable to find ${t} in document. Selector: (${n})`:`fn: Unable to find ${t}. Selector: (${n})`,o){case"error":console.error(s);break;case"warn":this.logLevel!=="error"&&console.warn(s);break;case"info":this.logLevel!=="info"&&this.logLevel!=="debug"||console.info(s);break;case"debug":this.logLevel==="debug"&&console.debug(s)}}query(t,n,o="error"){if(typeof t=="string"){const r=document.querySelector(t);return r instanceof HTMLElement?r:(this.queryLog("HTMLElement",t,n||"error",!0),null)}{const r=t.querySelector(n);return r instanceof HTMLElement?r:(this.queryLog("HTMLElement",n,o),null)}}queryAll(t,n,o="error"){if(typeof t=="string"){const r=document.querySelectorAll(t);return r.length===0&&this.queryLog("NodeListOf<HTMLElement>",t,n||"error",!0),r}{const r=t.querySelectorAll(n);return r.length===0&&this.queryLog("NodeListOf<HTMLElement>",n,o),r}}queryAnchor(t,n,o="error"){if(typeof t=="string"){const r=document.querySelector(t);if(r instanceof HTMLAnchorElement)return r;this.queryLog("HTMLAnchorElement",t,n||"error",!0)}else{const r=t.querySelector(n);if(r instanceof HTMLAnchorElement)return r;this.queryLog("HTMLAnchorElement",n,o)}return null}queryAllAnchor(t,n,o="error"){if(typeof t=="string"){const r=document.querySelectorAll(t);return r.length===0&&this.queryLog("NodeListOf<HTMLAnchorElement>",t,n||"error",!0),r}{const r=t.querySelectorAll(n);return r.length===0&&this.queryLog("NodeListOf<HTMLAnchorElement>",n,o),r}}getText(t,n,o,r){var s,l;if(typeof t=="string"){const a=this.query(t,n);if(a){const i=((s=a.textContent)==null?void 0:s.trim())||"";return typeof o=="function"?o(i):i}}else{const a=this.query(t,n,o);if(a){const i=((l=a.textContent)==null?void 0:l.trim())||"";return typeof r=="function"?r(i):i}}return""}getUrlId(t,n,o,r){if(typeof t=="string"){const s=this.queryAnchor(t,n);if(s)return this.getIdFromUrl(s.href,o)}else{const s=this.queryAnchor(t,n,o);if(s)return this.getIdFromUrl(s.href,r)}return""}getIdFromUrl(t,n){let o=t.replace(location.origin+"/","").replace(/\/$/,"");return typeof n=="function"&&(o=n(o)),o}}(function(e,t,n){if(e.MutationObserver&&typeof HTMLElement<"u"){var o,r=0,s=(o=Element.prototype.matches||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototype.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector,{matchesSelector:function(p,m){return p instanceof Element&&o.call(p,m)},addMethod:function(p,m,A){var f=p[m];p[m]=function(){return A.length==arguments.length?A.apply(this,arguments):typeof f=="function"?f.apply(this,arguments):void 0}},callCallbacks:function(p,m,A){if(p.length){m&&m.options.onceOnly&&(p=[p[0]],m.me.unbindEventWithSelectorAndCallback.call(m.target,m.selector,m.callback));for(var f,b=0;f=p[b];b++)f&&f.callback&&f.callback.call(f.elem,f.elem);m&&m.callback&&A&&A.addTimeoutHandler(m.target,m.selector,m.callback,m.options,m.data)}},checkChildNodesRecursively:function(p,m,A,f){for(var b,S=0;b=p[S];S++)A(b,m,f)&&f.push({callback:m.callback,elem:b}),b.childNodes.length>0&&s.checkChildNodesRecursively(b.childNodes,m,A,f)},mergeArrays:function(p,m){var A,f={};for(A in p)p.hasOwnProperty(A)&&(f[A]=p[A]);for(A in m)m.hasOwnProperty(A)&&(f[A]=m[A]);return f},toElementsArray:function(p){return p===void 0||typeof p.length=="number"&&p!==e||(p=[p]),p}}),l=(function(){var p=function(){this._eventsBucket=[],this._beforeAdding=null,this._beforeRemoving=null};return p.prototype.addEvent=function(m,A,f,b,S){var h={target:m,selector:A,options:f,callback:b,data:S,firedElems:[]};return this._beforeAdding&&this._beforeAdding(h),this._eventsBucket.push(h),h},p.prototype.removeEvent=function(m){for(var A,f=this._eventsBucket.length-1;A=this._eventsBucket[f];f--)if(m(A)){this._beforeRemoving&&this._beforeRemoving(A),A.data&&A.data.timeoutId&&clearTimeout(A.data.timeoutId);var b=this._eventsBucket.splice(f,1);b&&b.length&&(b[0].callback=null)}},p.prototype.beforeAdding=function(m){this._beforeAdding=m},p.prototype.beforeRemoving=function(m){this._beforeRemoving=m},p})(),a=function(p,m){var A=new l,f=this,b={fireOnAttributesModification:!1};return A.beforeAdding(function(S){var h,d=S.target;d!==e.document&&d!==e||(d=document.getElementsByTagName("html")[0]),h=new MutationObserver(function(T){m.call(this,T,S)});var g=p(S.options);h.observe(d,g),S.observer=h,S.me=f}),A.beforeRemoving(function(S){S.observer.disconnect()}),this.bindEvent=function(S,h,d){h=s.mergeArrays(b,h);for(var g=s.toElementsArray(this),T=0;T<g.length;T++){const k={};f.addTimeoutHandler(g[T],S,d,h,k),A.addEvent(g[T],S,h,d,k)}},this.unbindEvent=function(){var S=s.toElementsArray(this);A.removeEvent(function(h){for(var d=0;d<S.length;d++)if(this===n||h.target===S[d])return!0;return!1})},this.unbindEventWithSelectorOrCallback=function(S){var h,d=s.toElementsArray(this),g=S;h=typeof S=="function"?function(T){for(var k=0;k<d.length;k++)if((this===n||T.target===d[k])&&T.callback===g)return!0;return!1}:function(T){for(var k=0;k<d.length;k++)if((this===n||T.target===d[k])&&T.selector===S)return!0;return!1},A.removeEvent(h)},this.unbindEventWithSelectorAndCallback=function(S,h){var d=s.toElementsArray(this);A.removeEvent(function(g){for(var T=0;T<d.length;T++)if((this===n||g.target===d[T])&&g.selector===S&&g.callback===h)return!0;return!1})},this.addTimeoutHandler=function(S,h,d,g,T){!g.timeout||g.timeout<=0||(T.timeoutId&&clearTimeout(T.timeoutId),T.timeoutId=setTimeout(()=>{f.unbindEventWithSelectorAndCallback.call(S,h,d),d.call(null,null)},g.timeout))},this},i=new function(){var p={fireOnAttributesModification:!1,onceOnly:!1,existing:!1,timeout:0};function m(f,b,S){return!(!s.matchesSelector(f,b.selector)||(f._id===n&&(f._id=r++),b.firedElems.indexOf(f._id)!=-1))&&(b.firedElems.push(f._id),!0)}var A=(i=new a(function(f){var b={attributes:!1,childList:!0,subtree:!0};return f.fireOnAttributesModification&&(b.attributes=!0),b},function(f,b){f.forEach(function(S){var h=S.addedNodes,d=S.target,g=[];h!==null&&h.length>0?s.checkChildNodesRecursively(h,b,m,g):S.type==="attributes"&&m(d,b)&&g.push({callback:b.callback,elem:d}),s.callCallbacks(g,b,i)})})).bindEvent;return i.bindEvent=function(f,b,S){var h=typeof b=="object"?s.mergeArrays(p,b):{...p},d=typeof S=="function"?S:typeof b=="function"?b:n,g=s.toElementsArray(this);if(d||(h.onceOnly=!0),h.existing){for(var T=[],k=0;k<g.length;k++)for(var j=g[k].querySelectorAll(f),V=0;V<j.length;V++)T.push({callback:d,elem:j[V]});if(h.onceOnly&&T.length)return d?d.call(T[0].elem,T[0].elem):Promise.resolve(T[0].elem);setTimeout(s.callCallbacks,1,T)}if(!d){var I=this;return new Promise(P=>A.call(I,f,h,P))}A.call(this,f,h,d)},i},c=new function(){var p={onceOnly:!1,timeout:0};function m(f,b){return s.matchesSelector(f,b.selector)}var A=(c=new a(function(){return{childList:!0,subtree:!0}},function(f,b){f.forEach(function(S){var h=S.removedNodes,d=[];h!==null&&h.length>0&&s.checkChildNodesRecursively(h,b,m,d),s.callCallbacks(d,b,c)})})).bindEvent;return c.bindEvent=function(f,b,S){var h=typeof b=="object"?s.mergeArrays(p,b):{...p},d=typeof S=="function"?S:typeof b=="function"?b:n;if(!d){h.onceOnly=!0;var g=this;return new Promise(T=>A.call(g,f,h,T))}A.call(this,f,h,d)},c};t&&w(t.fn),w(HTMLElement.prototype),w(SVGElement.prototype),w(NodeList.prototype),w(HTMLCollection.prototype),w(HTMLDocument.prototype),w(Window.prototype);var u={};return v(i,u,"unbindAllArrive"),v(c,u,"unbindAllLeave"),u}function v(p,m,A){s.addMethod(m,A,p.unbindEvent),s.addMethod(m,A,p.unbindEventWithSelectorOrCallback),s.addMethod(m,A,p.unbindEventWithSelectorAndCallback)}function w(p){p.arrive=i.bindEvent,v(i,p,"unbindArrive"),p.leave=c.bindEvent,v(c,p,"unbindLeave")}})(window,typeof jQuery>"u"?null:jQuery,void 0);const Rt=class Rt{constructor(t){Tt(this,"version",Va);Tt(this,"updated",Da);Tt(this,"fn");Tt(this,"store");const{id:n,style:o,searchBtnClassName:r="",searchBtnBoxClassName:s="",itemClick:l,changeEvent:a,script:{library:i,icons:c,author:u,url:v,version:w,updated:p},settings:m,primaryColor:A,secondaryColor:f,language:b,logLevel:S="warn"}=t;this.fn=new bf(S);const h=Rt.insertDom(n),d=yc(vf),g=(function(){const T=pi(!0),k=T.run(()=>_e({}));let j=[],V=[];const I=Er({install(P){Po(I),I._a=P,P.provide(Sa,I),P.config.globalProperties.$pinia=I,V.forEach(M=>j.push(M)),V=[]},use(P){return this._a?j.push(P):V.push(P),this},_p:j,_a:null,_e:T,_s:new Map,state:k});return I})();d.use(g),this.store=ze(),this.store.id=n,this.store.init(b),o&&he.addStyle(o),this.store.searchBtnClassName=r,this.store.searchBtnBoxClassName=s,this.store.scriptInfo.author=u,this.store.scriptInfo.version=w,this.store.scriptInfo.updated=p,v&&(this.store.scriptInfo.url=v),i&&this.store.scriptInfo.library.push(...i),c&&this.store.scriptInfo.icons.push(...c),A&&(this.store.defaultColor.primaryColor=A),f&&(this.store.defaultColor.secondaryColor=f),typeof l=="function"&&(this.store.itemClick=l),typeof a=="function"&&(this.store.changeEvent=a),m&&this.store.initOtherConfigInfo(m),d.mount("#"+h)}getOtherConfig(){return Object.assign({},this.store.config.other)}judgeUsers(t){return this.store.judgeUsers(t)}getUserTag(t,n){return this.store.getUserTag(t,n)}createNoteBtn(t,n,o=[],r="div"){const s=document.createElement(r);return s.className=Rt.btnClassName,o.length>0&&s.classList.add(...o),s.title=this.store.i18n.query("editTitle"),s.addEventListener("click",l=>{l.stopPropagation(),this.store.showAdd(t,n)}),s}handler(t,n,o,r={},s){const{add:l,after:a,before:i,className:c=[],restore:u}=r;let v=n;if(o&&(v=this.fn.query(n,o,"warn")),v)if(l){const w=this.fn.query(v,"."+Rt.tagClassName,"none");if(w&&w.remove(),!u){const p=this.createNoteTag(t,r,l,c,s);p&&(a?a.after(p):i?i.before(p):v.appendChild(p))}}else u?this.restoreElement(v,t,r):this.updateElement(v,t,r,s)}arrive(t,n,o,r){let s;s=typeof t=="string"?this.fn.query(t):t,s&&s.arrive(n,o,r)}unbindArrive(t,n,o){let r;r=typeof t=="string"?this.fn.query(t):t,r&&r.unbindArrive(n,o)}leave(t,n,o,r){let s;s=typeof t=="string"?this.fn.query(t):t,s&&s.leave(n,o,r)}unbindLeave(t,n,o){let r;r=typeof t=="string"?this.fn.query(t):t,r&&r.unbindLeave(n,o)}restoreElement(t,n,o={}){const{maskPrimaryColor:r,maskHover:s,title:l,className:a=[],notModify:i}=o;i||(t.textContent=Aa(n,o)),r||this.store.config.addNote.showNoteGroupColor&&t.style.setProperty("color",""),s||(t.onmouseenter=null,t.onmouseleave=null),l&&(t.title=""),a.length>0&&t.classList.remove(...a)}updateElement(t,n,o={},r){const{maskPrimaryColor:s,title:l,offsetWidth:a=0,offsetHeight:i=0,maskHover:c,className:u=[],notModify:v,...w}=o,p=this.store.getUserTag(n,w);p&&(v?l&&(t.title=p):(t.textContent=p,l&&(t.title=n)),s||(this.store.config.addNote.showNoteGroupColor?t.style.setProperty("color",this.store.getPrimaryColor(n),"important"):t.style.setProperty("color","")),c||(t.onmouseenter=()=>{const m=Is(t),A=Ms(t);this.store.showPopover(n,m+a,A+i)},t.onmouseleave=()=>{this.store.hidePopover()}),u.length>0&&t.classList.add(...u),this.store.updateUserName(n,r))}createNoteTag(t,n={},o="span",r=[],s){const{maskPrimaryColor:l,maskSecondaryColor:a,offsetWidth:i=0,offsetHeight:c=0,maskHover:u,...v}=n,w=this.store.getUserTag(t,v);if(w){const p=document.createElement(o);return p.className=Rt.tagClassName,this.store.config.addNote.showNoteGroupColor&&(l||a?l?a||p.style.setProperty("color",this.store.getSecondaryColor(t),"important"):p.style.setProperty("color",this.store.getPrimaryColor(t),"important"):(p.style.setProperty("background-color",this.store.getPrimaryColor(t),"important"),p.style.setProperty("color",this.store.getSecondaryColor(t),"important"))),r.length>0&&p.classList.add(...r),p.textContent=w,u||(p.onmouseenter=()=>{const m=Is(p),A=Ms(p);this.store.showPopover(t,m+i,A+c)},p.onmouseleave=()=>{this.store.hidePopover()}),this.store.updateUserName(t,s),p}return null}static insertDom(t){const n=document.createElement("div"),o=t+"_vue";return n.className="note-obj-vue-module",n.innerHTML=`<div id="${o}" class="note-obj-vue-div"></div>`,document.body.appendChild(n),o}};Tt(Rt,"tagClassName","note-obj-user-tag"),Tt(Rt,"btnClassName","note-obj-add-note-btn");let Sr=Rt;window.Note_Obj=Sr;