From f3d658ae49935c7a1212f645a3e5a782c418b26f Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Thu, 14 Dec 2023 16:27:12 +0800 Subject: [PATCH] fix --- dist/css/{451.b2bbf841.css => 43.76f60c61.css} | 2 +- dist/css/{90.6be384c0.css => 865.6be384c0.css} | 0 dist/index.html | 2 +- dist/js/{115.44e53a42.js => 115.29fa6aac.js} | 2 +- dist/js/{286.d10724c9.js => 286.a3966664.js} | 2 +- dist/js/{391.147e3ff9.js => 391.c0d5a404.js} | 2 +- dist/js/43.7be4f131.js | 1 + dist/js/451.d58b7ed9.js | 1 - dist/js/865.8c2a1d80.js | 1 + dist/js/90.2f95d56b.js | 1 - dist/js/{app.8a81ae06.js => app.34b01207.js} | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) rename dist/css/{451.b2bbf841.css => 43.76f60c61.css} (50%) rename dist/css/{90.6be384c0.css => 865.6be384c0.css} (100%) rename dist/js/{115.44e53a42.js => 115.29fa6aac.js} (99%) rename dist/js/{286.d10724c9.js => 286.a3966664.js} (99%) rename dist/js/{391.147e3ff9.js => 391.c0d5a404.js} (99%) create mode 100644 dist/js/43.7be4f131.js delete mode 100644 dist/js/451.d58b7ed9.js create mode 100644 dist/js/865.8c2a1d80.js delete mode 100644 dist/js/90.2f95d56b.js rename dist/js/{app.8a81ae06.js => app.34b01207.js} (97%) diff --git a/dist/css/451.b2bbf841.css b/dist/css/43.76f60c61.css similarity index 50% rename from dist/css/451.b2bbf841.css rename to dist/css/43.76f60c61.css index 5d86b54c..acd0746c 100644 --- a/dist/css/451.b2bbf841.css +++ b/dist/css/43.76f60c61.css @@ -1 +1 @@ -.driver-active *,.driver-active .driver-overlay{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@-webkit-keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{-webkit-animation:animate-fade-in .2s ease-in-out;animation:animate-fade-in .2s ease-in-out}.driver-fade .driver-popover{-webkit-animation:animate-fade-in .2s;animation:animate-fade-in .2s}.driver-popover{all:unset;box-sizing:border-box;color:#2d2d2d;margin:0;padding:15px;border-radius:5px;min-width:250px;max-width:300px;box-shadow:0 1px 10px #0006;z-index:1000000000;position:fixed;top:0;right:0;background-color:#fff}.driver-popover *{font-family:Helvetica Neue,Inter,ui-sans-serif,Apple Color Emoji,Helvetica,Arial,sans-serif}.driver-popover-title{font:19px/normal sans-serif;font-weight:700;display:block;position:relative;line-height:1.5;zoom:1;margin:0}.driver-popover-close-btn{all:unset;position:absolute;top:0;right:0;width:32px;height:28px;cursor:pointer;font-size:18px;font-weight:500;color:#d2d2d2;z-index:1;text-align:center;transition:color;transition-duration:.2s}.driver-popover-close-btn:focus,.driver-popover-close-btn:hover{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{margin-bottom:0;font:14px/normal sans-serif;line-height:1.5;font-weight:400;zoom:1}.driver-popover-footer{margin-top:15px;text-align:right;zoom:1;display:flex;align-items:center;justify-content:space-between}.driver-popover-progress-text{font-size:13px;font-weight:400;color:#727272;zoom:1}.driver-popover-footer button{all:unset;display:inline-block;box-sizing:border-box;padding:3px 7px;text-decoration:none;text-shadow:1px 1px 0 #fff;background-color:#fff;color:#2d2d2d;font:12px/normal sans-serif;cursor:pointer;outline:0;zoom:1;line-height:1.3;border:1px solid #ccc;border-radius:3px}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}:not(body):has(>.driver-active-element){overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}.driver-popover-footer button:focus,.driver-popover-footer button:hover{background-color:#f7f7f7}.driver-popover-navigation-btns{display:flex;flex-grow:1;justify-content:flex-end}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";position:absolute;border:5px solid #fff}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{left:100%;border-right-color:transparent;border-bottom-color:transparent;border-top-color:transparent}.driver-popover-arrow-side-right{right:100%;border-left-color:transparent;border-bottom-color:transparent;border-top-color:transparent}.driver-popover-arrow-side-top{top:100%;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.driver-popover-arrow-side-bottom{bottom:100%;border-left-color:transparent;border-top-color:transparent;border-right-color:transparent}.driver-popover-arrow-side-center{display:none}.driver-popover-arrow-side-left.driver-popover-arrow-align-start,.driver-popover-arrow-side-right.driver-popover-arrow-align-start{top:15px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-start,.driver-popover-arrow-side-top.driver-popover-arrow-align-start{left:15px}.driver-popover-arrow-align-end.driver-popover-arrow-side-left,.driver-popover-arrow-align-end.driver-popover-arrow-side-right{bottom:15px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-end,.driver-popover-arrow-side-top.driver-popover-arrow-align-end{right:15px}.driver-popover-arrow-side-left.driver-popover-arrow-align-center,.driver-popover-arrow-side-right.driver-popover-arrow-align-center{top:50%;margin-top:-5px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-center,.driver-popover-arrow-side-top.driver-popover-arrow-align-center{left:50%;margin-left:-5px}.driver-popover-arrow-none{display:none}#app[data-v-b43da8b0],body[data-v-b43da8b0],html[data-v-b43da8b0]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden;--aida-fsize2:2.2rem;--aida-fsize1-8:1.8rem;--aida-fsize1-6:1.6rem;--aida-fsize1-4:1.4rem}input[data-v-b43da8b0]{outline:none}li[data-v-b43da8b0],ul[data-v-b43da8b0]{list-style:none;padding:0}.page_content[data-v-b43da8b0]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-b43da8b0],.button_second[data-v-b43da8b0]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-b43da8b0]{width:100%}.system_silder .ant-slider[data-v-b43da8b0]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-b43da8b0]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-b43da8b0]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-b43da8b0]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-b43da8b0]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-b43da8b0]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-b43da8b0]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-b43da8b0],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-b43da8b0]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-b43da8b0]{padding:0 1rem}.started_btn[data-v-b43da8b0]{padding:.4rem 1.8rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:1}.el-cascader[data-v-b43da8b0]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-b43da8b0]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-b43da8b0]{height:80%!important;font-size:1.2rem}.el-popper[data-v-b43da8b0]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-b43da8b0],.el-cascader__tags[data-v-b43da8b0]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-b43da8b0],.el-cascader__tags .el-tag--light[data-v-b43da8b0]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-b43da8b0],.el-cascader__tags .el-tag--light .el-tag__content[data-v-b43da8b0]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-b43da8b0],.el-cascader__tags .el-cascader__search-input[data-v-b43da8b0]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-b43da8b0]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-b43da8b0]{display:flex!important}.hideEvents [data-v-b43da8b0],.hideEvents[data-v-b43da8b0]{pointer-events:none!important}.Guide_[data-v-b43da8b0]{overflow-y:initial!important}.Guide_.showEvents [data-v-b43da8b0],.Guide_[data-v-b43da8b0]{pointer-events:auto!important}.Guide_.showEvents .hideEvents [data-v-b43da8b0],.Guide_.showEvents .hideEvents[data-v-b43da8b0]{pointer-events:none!important}.Guide_ .Guide_active[data-v-b43da8b0]{box-shadow:0 0 13px #ff5f5f;-webkit-animation:identifier-b43da8b0 1s linear infinite;animation:identifier-b43da8b0 1s linear infinite;display:block!important}@-webkit-keyframes identifier-b43da8b0{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}@keyframes identifier-b43da8b0{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}[data-v-b43da8b0]:not(body):has(>.driver-active-element){overflow:initial!important}.delete_like_file_block[data-v-b43da8b0]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-b43da8b0]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-b43da8b0]{color:red}.el-popper .el-cascader-panel[data-v-b43da8b0]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-b43da8b0]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-b43da8b0]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-b43da8b0]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-b43da8b0]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-b43da8b0]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-b43da8b0]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-b43da8b0],.ant-select-allow-clear .ant-select-selector[data-v-b43da8b0]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-b43da8b0]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-b43da8b0]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-b43da8b0]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-b43da8b0]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-b43da8b0]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-b43da8b0]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-b43da8b0]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-b43da8b0]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-b43da8b0]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-b43da8b0]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-b43da8b0]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-b43da8b0]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-b43da8b0]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-b43da8b0]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-b43da8b0]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-b43da8b0],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-b43da8b0],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-b43da8b0]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-b43da8b0]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-b43da8b0]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-b43da8b0]:after{border-color:#eee}.ant-modal-mask[data-v-b43da8b0]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.ant-modal-confirm-confirm .ant-modal-content[data-v-b43da8b0]{border-radius:1rem}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns[data-v-b43da8b0]{width:100%;display:flex;justify-content:center}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns .ant-btn-primary[data-v-b43da8b0]{margin-left:10rem}.modal_component.ant-modal[data-v-b43da8b0]{top:0}.modal_component .ant-modal-content[data-v-b43da8b0]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-b43da8b0]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-b43da8b0]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-b43da8b0]{padding:0}.ant-modal-body[data-v-b43da8b0]{font-size:1.4rem}.operate_file_block[data-v-b43da8b0]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-b43da8b0]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative;overflow:initial!important}.operate_file_block .select_img_type .select_category[data-v-b43da8b0]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-b43da8b0]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-b43da8b0]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-b43da8b0]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-b43da8b0]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-b43da8b0]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-b43da8b0],.operate_file_block .select_img_type .category_list .category_item[data-v-b43da8b0]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.driver-active [data-v-b43da8b0],.driver-overlay[data-v-b43da8b0]{pointer-events:none}.printboard_upload_modal.showEvents [data-v-b43da8b0],.sketchboard_upload_modal .switch_type_list.showEvents [data-v-b43da8b0]{pointer-events:auto}.habit[data-v-b43da8b0] .ant-btn:hover,[data-v-b43da8b0] .ant-btn:active,[data-v-b43da8b0] .ant-btn:after,[data-v-b43da8b0] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-b43da8b0] .ant-switch-checked{background-color:#000}[data-v-b43da8b0] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-b43da8b0] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-b43da8b0] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-b43da8b0]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-b43da8b0]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-b43da8b0]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-b43da8b0]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-b43da8b0]{background-color:#543087}.ant-spin[data-v-b43da8b0]{color:#000}.pin_block[data-v-b43da8b0]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-b43da8b0]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-b43da8b0]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-b43da8b0]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-b43da8b0]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-b43da8b0]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-b43da8b0]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-b43da8b0],.ant-checkbox-wrapper[data-v-b43da8b0]{font-size:1.4rem}.ant-checkbox-checked[data-v-b43da8b0]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-b43da8b0],.ant-select-multiple .ant-select-selection-search[data-v-b43da8b0]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-b43da8b0]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-b43da8b0],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-b43da8b0],.ant-checkbox:hover .ant-checkbox-inner[data-v-b43da8b0]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-b43da8b0]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-b43da8b0]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-b43da8b0]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-b43da8b0]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-b43da8b0],.designOpenrtion_modal .ant-modal-body[data-v-b43da8b0],.design_detail_modal_component .ant-modal-body[data-v-b43da8b0],.library_page .ant-modal-body[data-v-b43da8b0]{overflow-y:hidden}.collection_modal .design_title_text[data-v-b43da8b0],.designOpenrtion_modal .design_title_text[data-v-b43da8b0],.design_detail_modal_component .design_title_text[data-v-b43da8b0],.library_page .design_title_text[data-v-b43da8b0]{font-size:var(--aida-fsize2);font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-b43da8b0],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-b43da8b0],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-b43da8b0],.library_page .design_title_text .design_title_text_intro[data-v-b43da8b0]{font-size:var(--aida-fsize1-4);font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-b43da8b0],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-b43da8b0],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-b43da8b0],.library_page .ant-upload.ant-upload-select-picture-card[data-v-b43da8b0]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-b43da8b0],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-b43da8b0],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-b43da8b0],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-b43da8b0]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-b43da8b0],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-b43da8b0],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-b43da8b0],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-b43da8b0]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-b43da8b0],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-b43da8b0],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-b43da8b0],.library_page .ant-upload-list-picture-card-container[data-v-b43da8b0]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-b43da8b0],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-b43da8b0],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-b43da8b0],.library_page .ant-upload-picture-card-wrapper[data-v-b43da8b0]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-b43da8b0],.design_detail_modal_component .design_closeIcon[data-v-b43da8b0]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-b43da8b0]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-b43da8b0]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-b43da8b0]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-b43da8b0]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-b43da8b0],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-b43da8b0]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-b43da8b0],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-b43da8b0]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-b43da8b0],.design_detail_modal_component .subitOkPreviewBtn[data-v-b43da8b0]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-b43da8b0],i[data-v-b43da8b0]{font-size:1.4rem}.ant-modal-close-x[data-v-b43da8b0]{width:100%;height:100%}.collection_modal_body .input_box[data-v-b43da8b0],.design_detail_modal_component .input_box[data-v-b43da8b0],.library_page .input_box[data-v-b43da8b0]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-b43da8b0],.design_detail_modal_component .input_box input[data-v-b43da8b0],.library_page .input_box input[data-v-b43da8b0]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-b43da8b0]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-b43da8b0]:-moz-placeholder,.library_page .input_box inputinput[data-v-b43da8b0]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-b43da8b0]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-b43da8b0]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-b43da8b0]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-b43da8b0]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-b43da8b0]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-b43da8b0]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-b43da8b0],.design_detail_modal_component .input_box span[data-v-b43da8b0],.library_page .input_box span[data-v-b43da8b0]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-b43da8b0],.design_detail_modal_component .input_box.active input[data-v-b43da8b0],.library_page .input_box.active input[data-v-b43da8b0]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-b43da8b0],.design_detail_modal_component .input_box.active span[data-v-b43da8b0],.library_page .input_box.active span[data-v-b43da8b0]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-b43da8b0],.design_detail_modal_component .input_box .generage_btn[data-v-b43da8b0],.library_page .input_box .generage_btn[data-v-b43da8b0]{margin:0 auto}.collection_modal_body .upload_item[data-v-b43da8b0],.design_detail_modal_component .upload_item[data-v-b43da8b0],.library_page .upload_item[data-v-b43da8b0]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item[data-v-b43da8b0],.library_page .upload_item .upload_file_item[data-v-b43da8b0]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-b43da8b0],.library_page .upload_item .upload_file_item.active[data-v-b43da8b0]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-b43da8b0],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-b43da8b0],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-b43da8b0],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-b43da8b0]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-b43da8b0],.library_page .upload_item .upload_file_item.upload_component[data-v-b43da8b0]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-b43da8b0]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-b43da8b0]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-b43da8b0]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-b43da8b0]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-b43da8b0]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-b43da8b0]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-b43da8b0]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-b43da8b0]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-b43da8b0]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-b43da8b0]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.habit[data-v-b43da8b0]{position:relative}.habit .habit_button[data-v-b43da8b0]{background-color:#fff;border:2px solid #000;padding:0 2rem;box-sizing:initial;font-weight:600;height:3.2rem;line-height:3.2rem;padding:.4rem 1.5rem;font-size:1.2rem;cursor:pointer;position:relative}.habit .habit_button .fi-bs-angle-down[data-v-b43da8b0]{margin-left:1rem;display:inline-block;transform:translateY(2px)}.habit .habit_mask[data-v-b43da8b0]{position:absolute;top:-20px;left:auto;right:-30px;bottom:0;opacity:0;width:100vw;height:100vh}.habit .habit_content[data-v-b43da8b0]{border:2px solid #000;border-radius:1rem;padding:2rem;font-size:1.6rem;transform-origin:top right;position:absolute;right:-.3rem;top:110%;background:#fff;width:30rem;opacity:0;transition:all .3s;transform:scale(.75) translateY(10%);display:none;overflow:inherit!important}.habit .habit_content.active[data-v-b43da8b0]{opacity:1;transform:scale(.75) translateY(0)}.habit .habit_content .habit_title h3[data-v-b43da8b0]{font-size:1.6rem;font-weight:600;color:#000;margin:0}.habit .habit_content .habit_title .habit_intro[data-v-b43da8b0]{font-size:1.2rem;color:rgba(0,0,0,.5);font-weight:500}.habit .habit_content .habit_type[data-v-b43da8b0]{margin-top:1.5rem;cursor:pointer;position:relative}.habit .habit_content .habit_type .habit_workspace_show[data-v-b43da8b0]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_type .habit_workspace_show.active[data-v-b43da8b0]{transform:translateY(0)}.habit .habit_content .habit_Overal_Single[data-v-b43da8b0]{display:flex;align-items:center;justify-content:center;margin:3rem 0;position:relative}.habit .habit_content .habit_Overal_Single .habit_Overal_Single_text[data-v-b43da8b0]{font-weight:600;color:rgba(0,0,0,.5)}.habit .habit_content .habit_Overal_Single .habit_Overal_Single_text.active[data-v-b43da8b0]{color:rgba(0,0,0,.7);font-weight:900}.habit .habit_content .habit_Overal_Single[data-v-b43da8b0] .ant-switch{margin:0 1rem}.habit .habit_content .habit_Overal_Single .habit_sex_show[data-v-b43da8b0]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_Overal_Single .habit_sex_show.active[data-v-b43da8b0]{transform:translateY(0)}.habit .habit_content .habit_habit_singleton[data-v-b43da8b0]{margin-bottom:3rem;position:relative}.habit .habit_content .habit_habit_singleton .habit_singleton_show[data-v-b43da8b0]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_habit_singleton .habit_singleton_show.active[data-v-b43da8b0]{transform:translateY(0)}.habit .habit_content .habit_System_Designer[data-v-b43da8b0]{margin-top:8rem}.habit .habit_content .habit_System_Designer[data-v-b43da8b0] .ant-slider-rail,.habit .habit_content .habit_System_Designer[data-v-b43da8b0] .ant-slider-track{height:.6rem;background-color:#e1e1e1;border-radius:.5rem}.habit .habit_content .habit_System_Designer[data-v-b43da8b0] .ant-slider .ant-slider-handle:not(.ant-tooltip-open),.habit .habit_content .habit_System_Designer[data-v-b43da8b0] .ant-slider-handle{background-color:#2d2e76!important;border:none!important}.habit .habit_content .habit_System_Designer[data-v-b43da8b0] .ant-slider-handle:hover{box-shadow:0 0 0 5px rgba(45,46,118,.2)}.habit .habit_content .habit_System_Designer .habit_System_Designer_text_max[data-v-b43da8b0]{display:flex;justify-content:space-between}.habit .habit_content .habit_model[data-v-b43da8b0]{margin-top:2rem}.habit .habit_content .habit_model_show[data-v-b43da8b0]{position:absolute;background-color:#fff;border:2px solid #000;border-radius:1rem;padding:2rem;bottom:-.5rem;transform:translateY(110%);right:-.2rem;width:40rem;opacity:0;transition:all .3s;display:none}.habit .habit_content .habit_model_show.active[data-v-b43da8b0]{opacity:1;transform:translateY(100%)}.habit .habit_content .habit_model_show .habit_btn[data-v-b43da8b0]{min-height:26rem;display:flex;justify-content:space-between}.habit .habit_content .habit_model_show .habit_btn .model_current[data-v-b43da8b0]{margin-right:3rem}.habit .habit_content .habit_model_show .habit_btn .model_current .model_text[data-v-b43da8b0]{text-align:center}.habit .habit_content .habit_model_show .habit_model_list[data-v-b43da8b0]{margin:0}.habit .habit_content .habit_model_show .habit_model_list li[data-v-b43da8b0]{padding:.5rem 0;display:flex}.habit .habit_content .habit_model_show .habit_model_list li input[data-v-b43da8b0]{border:0;width:80%;background:transparent}.habit .habit_content .habit_model_show .habit_model_list li>div[data-v-b43da8b0]{cursor:pointer;width:80%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace[data-v-b43da8b0]{text-align:center;justify-content:center}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace div[data-v-b43da8b0]{border-radius:50%;border:1px solid #000;display:inline-block;width:2rem;height:2rem;line-height:2rem;text-align:center}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace i[data-v-b43da8b0]{flex:1}.habit .habit_content .habit_model_show .habit_model_list li i[data-v-b43da8b0]{cursor:pointer}.habit .habit_content .habit_model_show .habit_model_list li .fi-rr-trash[data-v-b43da8b0]{margin-left:1rem}.habit .habit_content .habit_model_show .habit_model_list li[data-v-b43da8b0]:hover{background:rgba(0,0,0,.1)}.habit .habit_content .habit_model_show .model_Designer[data-v-b43da8b0]{flex:1;overflow:hidden;display:flex;flex-direction:column}.habit .habit_content .habit_model_show .model_Designer .model_text[data-v-b43da8b0]{display:flex;justify-content:center}.habit .habit_content .habit_model_show .model_Designer .model_text[data-v-b43da8b0] .ant-switch{margin:0 1rem}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text[data-v-b43da8b0]{font-weight:600;color:rgba(0,0,0,.5)}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text.active[data-v-b43da8b0]{color:rgba(0,0,0,.7);font-weight:900}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text[data-v-b43da8b0] .ant-switch-checked{background-color:#000}.habit .habit_content .habit_model_show .model_img[data-v-b43da8b0]{display:flex;flex:1;align-items:center;overflow-x:auto}.habit .habit_content .habit_model_show .model_img.model_img[data-v-b43da8b0]::-webkit-scrollbar{width:1rem;height:1rem;-webkit-transition:all .3s;transition:all .3s}.habit .habit_content .habit_model_show .model_img.model_img[data-v-b43da8b0]::-webkit-scrollbar-thumb,.habit .habit_content .habit_model_show .model_img.model_img[data-v-b43da8b0]::-webkit-scrollbar-track{border-radius:1rem;background:rgba(238,238,244,0)}.habit .habit_content .habit_model_show .model_img.model_img:hover.model_img[data-v-b43da8b0]::-webkit-scrollbar-thumb{background:#543087}.habit .habit_content .habit_model_show .model_img.model_img:hover.model_img[data-v-b43da8b0]::-webkit-scrollbar-track{background:rgba(84,48,135,.2)}.habit .habit_content .habit_model_show .model_img>div[data-v-b43da8b0]{display:flex}.habit .habit_content .habit_model_show .model_img div[data-v-b43da8b0]{width:auto;margin-right:1rem}.habit .habit_content .habit_model_show .model_img img[data-v-b43da8b0]{width:10rem;cursor:pointer}.habit[data-v-b43da8b0] .ant-dropdown-button{margin-right:8px;margin-bottom:8px}.habit[data-v-b43da8b0] .ant-btn{box-shadow:none!important;color:rgba(0,0,0,.5);box-shadow:none;border:none;background:#f6f6f6;width:100%;font-weight:600;display:flex;align-items:center;justify-content:space-between;font-size:1.4rem}.ant-tooltip{z-index:1049!important}.habit :deep(.ant-tooltip .ant-tooltip-inner),:deep(.ant-tooltip-arrow-content){background:#000!important}.habit_mod{background-color:#000!important}.ant-tooltip .ant-tooltip-inner,.ant-tooltip-arrow-content{background:#000!important}#app[data-v-22ba4800],body[data-v-22ba4800],html[data-v-22ba4800]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden;--aida-fsize2:2.2rem;--aida-fsize1-8:1.8rem;--aida-fsize1-6:1.6rem;--aida-fsize1-4:1.4rem}input[data-v-22ba4800]{outline:none}li[data-v-22ba4800],ul[data-v-22ba4800]{list-style:none;padding:0}.page_content[data-v-22ba4800]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-22ba4800],.button_second[data-v-22ba4800]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-22ba4800]{width:100%}.system_silder .ant-slider[data-v-22ba4800]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-22ba4800]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-22ba4800]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-22ba4800]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-22ba4800]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-22ba4800]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-22ba4800]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-22ba4800],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-22ba4800]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-22ba4800]{padding:0 1rem}.started_btn[data-v-22ba4800]{padding:.4rem 1.8rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:1}.el-cascader[data-v-22ba4800]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-22ba4800]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-22ba4800]{height:80%!important;font-size:1.2rem}.el-popper[data-v-22ba4800]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-22ba4800],.el-cascader__tags[data-v-22ba4800]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-22ba4800],.el-cascader__tags .el-tag--light[data-v-22ba4800]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-22ba4800],.el-cascader__tags .el-tag--light .el-tag__content[data-v-22ba4800]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-22ba4800],.el-cascader__tags .el-cascader__search-input[data-v-22ba4800]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-22ba4800]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-22ba4800]{display:flex!important}.hideEvents [data-v-22ba4800],.hideEvents[data-v-22ba4800]{pointer-events:none!important}.Guide_[data-v-22ba4800]{overflow-y:initial!important}.Guide_.showEvents [data-v-22ba4800],.Guide_[data-v-22ba4800]{pointer-events:auto!important}.Guide_.showEvents .hideEvents [data-v-22ba4800],.Guide_.showEvents .hideEvents[data-v-22ba4800]{pointer-events:none!important}.Guide_ .Guide_active[data-v-22ba4800]{box-shadow:0 0 13px #ff5f5f;-webkit-animation:identifier-22ba4800 1s linear infinite;animation:identifier-22ba4800 1s linear infinite;display:block!important}@-webkit-keyframes identifier-22ba4800{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}@keyframes identifier-22ba4800{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}[data-v-22ba4800]:not(body):has(>.driver-active-element){overflow:initial!important}.delete_like_file_block[data-v-22ba4800]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-22ba4800]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-22ba4800]{color:red}.el-popper .el-cascader-panel[data-v-22ba4800]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-22ba4800]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-22ba4800]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-22ba4800]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-22ba4800]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-22ba4800]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-22ba4800]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-22ba4800],.ant-select-allow-clear .ant-select-selector[data-v-22ba4800]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-22ba4800]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-22ba4800]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-22ba4800]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-22ba4800]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-22ba4800]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-22ba4800]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-22ba4800]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-22ba4800]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-22ba4800]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-22ba4800]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-22ba4800]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-22ba4800]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-22ba4800]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-22ba4800]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-22ba4800]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-22ba4800],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-22ba4800],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-22ba4800]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-22ba4800]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-22ba4800]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-22ba4800]:after{border-color:#eee}.ant-modal-mask[data-v-22ba4800]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.ant-modal-confirm-confirm .ant-modal-content[data-v-22ba4800]{border-radius:1rem}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns[data-v-22ba4800]{width:100%;display:flex;justify-content:center}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns .ant-btn-primary[data-v-22ba4800]{margin-left:10rem}.modal_component.ant-modal[data-v-22ba4800]{top:0}.modal_component .ant-modal-content[data-v-22ba4800]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-22ba4800]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-22ba4800]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-22ba4800]{padding:0}.ant-modal-body[data-v-22ba4800]{font-size:1.4rem}.operate_file_block[data-v-22ba4800]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-22ba4800]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative;overflow:initial!important}.operate_file_block .select_img_type .select_category[data-v-22ba4800]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-22ba4800]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-22ba4800]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-22ba4800]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-22ba4800]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-22ba4800]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-22ba4800],.operate_file_block .select_img_type .category_list .category_item[data-v-22ba4800]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.driver-active [data-v-22ba4800],.driver-overlay[data-v-22ba4800]{pointer-events:none}.printboard_upload_modal.showEvents [data-v-22ba4800],.sketchboard_upload_modal .switch_type_list.showEvents [data-v-22ba4800]{pointer-events:auto}.habit[data-v-22ba4800] .ant-btn:hover,[data-v-22ba4800] .ant-btn:active,[data-v-22ba4800] .ant-btn:after,[data-v-22ba4800] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-22ba4800] .ant-switch-checked{background-color:#000}[data-v-22ba4800] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-22ba4800] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-22ba4800] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-22ba4800]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-22ba4800]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-22ba4800]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-22ba4800]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-22ba4800]{background-color:#543087}.ant-spin[data-v-22ba4800]{color:#000}.pin_block[data-v-22ba4800]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-22ba4800]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-22ba4800]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-22ba4800]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-22ba4800]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-22ba4800]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-22ba4800]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-22ba4800],.ant-checkbox-wrapper[data-v-22ba4800]{font-size:1.4rem}.ant-checkbox-checked[data-v-22ba4800]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-22ba4800],.ant-select-multiple .ant-select-selection-search[data-v-22ba4800]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-22ba4800]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-22ba4800],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-22ba4800],.ant-checkbox:hover .ant-checkbox-inner[data-v-22ba4800]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-22ba4800]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-22ba4800]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-22ba4800]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-22ba4800]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-22ba4800],.designOpenrtion_modal .ant-modal-body[data-v-22ba4800],.design_detail_modal_component .ant-modal-body[data-v-22ba4800],.library_page .ant-modal-body[data-v-22ba4800]{overflow-y:hidden}.collection_modal .design_title_text[data-v-22ba4800],.designOpenrtion_modal .design_title_text[data-v-22ba4800],.design_detail_modal_component .design_title_text[data-v-22ba4800],.library_page .design_title_text[data-v-22ba4800]{font-size:var(--aida-fsize2);font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-22ba4800],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-22ba4800],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-22ba4800],.library_page .design_title_text .design_title_text_intro[data-v-22ba4800]{font-size:var(--aida-fsize1-4);font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-22ba4800],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-22ba4800],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-22ba4800],.library_page .ant-upload.ant-upload-select-picture-card[data-v-22ba4800]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-22ba4800],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-22ba4800],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-22ba4800],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-22ba4800]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-22ba4800],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-22ba4800],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-22ba4800],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-22ba4800]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-22ba4800],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-22ba4800],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-22ba4800],.library_page .ant-upload-list-picture-card-container[data-v-22ba4800]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-22ba4800],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-22ba4800],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-22ba4800],.library_page .ant-upload-picture-card-wrapper[data-v-22ba4800]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-22ba4800],.design_detail_modal_component .design_closeIcon[data-v-22ba4800]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-22ba4800]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-22ba4800]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-22ba4800]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-22ba4800]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-22ba4800],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-22ba4800]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-22ba4800],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-22ba4800]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-22ba4800],.design_detail_modal_component .subitOkPreviewBtn[data-v-22ba4800]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-22ba4800],i[data-v-22ba4800]{font-size:1.4rem}.ant-modal-close-x[data-v-22ba4800]{width:100%;height:100%}.collection_modal_body .input_box[data-v-22ba4800],.design_detail_modal_component .input_box[data-v-22ba4800],.library_page .input_box[data-v-22ba4800]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-22ba4800],.design_detail_modal_component .input_box input[data-v-22ba4800],.library_page .input_box input[data-v-22ba4800]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-22ba4800]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-22ba4800]:-moz-placeholder,.library_page .input_box inputinput[data-v-22ba4800]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-22ba4800]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-22ba4800]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-22ba4800]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-22ba4800]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-22ba4800]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-22ba4800]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-22ba4800],.design_detail_modal_component .input_box span[data-v-22ba4800],.library_page .input_box span[data-v-22ba4800]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-22ba4800],.design_detail_modal_component .input_box.active input[data-v-22ba4800],.library_page .input_box.active input[data-v-22ba4800]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-22ba4800],.design_detail_modal_component .input_box.active span[data-v-22ba4800],.library_page .input_box.active span[data-v-22ba4800]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-22ba4800],.design_detail_modal_component .input_box .generage_btn[data-v-22ba4800],.library_page .input_box .generage_btn[data-v-22ba4800]{margin:0 auto}.collection_modal_body .upload_item[data-v-22ba4800],.design_detail_modal_component .upload_item[data-v-22ba4800],.library_page .upload_item[data-v-22ba4800]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item[data-v-22ba4800],.library_page .upload_item .upload_file_item[data-v-22ba4800]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-22ba4800],.library_page .upload_item .upload_file_item.active[data-v-22ba4800]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-22ba4800],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-22ba4800],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-22ba4800],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-22ba4800]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-22ba4800],.library_page .upload_item .upload_file_item.upload_component[data-v-22ba4800]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-22ba4800] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-22ba4800] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-22ba4800] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-22ba4800] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-22ba4800] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-22ba4800] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-22ba4800],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-22ba4800]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-22ba4800],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-22ba4800]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-22ba4800],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-22ba4800]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-22ba4800],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-22ba4800]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-22ba4800],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-22ba4800]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-22ba4800],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-22ba4800]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-22ba4800],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-22ba4800],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-22ba4800]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-22ba4800]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-22ba4800]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-22ba4800]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-22ba4800]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-22ba4800]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-22ba4800]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-22ba4800]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-22ba4800]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-22ba4800]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-22ba4800]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.header_max[data-v-22ba4800]{position:relative}.header_component[data-v-22ba4800]{display:flex;justify-content:space-between;padding-left:0;width:100%;height:7rem;background:hsla(0,0%,100%,.2);position:relative;align-items:center;z-index:1049;background-color:#fff}.header_component .header_right[data-v-22ba4800]{width:33%;display:flex;justify-content:flex-end;align-items:center}.header_component .header_logo[data-v-22ba4800]{width:14.4rem;height:3.2rem;margin:2.1rem 2.8rem 0;margin-top:0}.header_component .header_nav_content[data-v-22ba4800]{display:flex;align-items:center}.header_component .header_nav_content .nav_item[data-v-22ba4800]{padding:1.1rem 1rem;border-bottom:.1rem solid transparent;margin-right:3.4rem;font-size:1.6rem;line-height:1.3rem;color:#000;cursor:pointer;font-weight:900}.header_component .header_nav_content .nav_item.nav_item[data-v-22ba4800]:nth-child(3){margin:0}.header_component .header_nav_content .nav_item.nav_item[data-v-22ba4800]:before{position:absolute;content:"";display:block;background:#000;height:.3rem;left:50%;transform:translateX(-50%);bottom:.3rem;width:0;transition:all .3s}.header_component .header_nav_content .nav_item.select_nav[data-v-22ba4800]{color:#000;transform:scale(1.15)}.header_component .header_nav_content .nav_item.select_nav[data-v-22ba4800]:before{width:80%}.header_component .header_right_content[data-v-22ba4800]{top:0;left:0;display:flex;width:33%;height:100%;align-items:center;overflow:hidden}.header_component .header_right_content .header_icon[data-v-22ba4800]{font-size:3.6rem;position:relative;top:.3rem}.header_component .header_right_content .header_user_icon[data-v-22ba4800]{height:4rem;width:4rem;background-color:#000;border-radius:50%;transform:translateX(-40%) scale(1.3)}.header_component .header_right_content .header_user_content[data-v-22ba4800]{display:flex;align-items:center;position:relative;height:3.7rem}.header_component .header_right_content .header_user_content.marLeft2[data-v-22ba4800]{margin-left:2rem}.header_component .header_right_content .header_user_content .username[data-v-22ba4800]{font-size:1.8rem;color:#1a1a1a;margin:0 .8rem;font-weight:900}.header_component .header_right_content .header_user_content .username span[data-v-22ba4800]{margin:.7rem}.header_component .header_right_content .header_user_content .icon-xiala[data-v-22ba4800]{font-size:1.4rem;cursor:pointer;transition:all .3s}.header_component .header_right_content .header_user_content .icon_rotate[data-v-22ba4800]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.select_block[data-v-22ba4800]{z-index:1050;position:absolute;left:6.5rem;top:4.7rem;width:11.4rem;background:#fff;box-shadow:0 .4rem .4rem 0 rgba(0,0,0,.1);overflow:hidden;border:1px solid #000}.select_block.select_list[data-v-22ba4800]{transform:translateX(120%)}.select_block .select_item[data-v-22ba4800]{padding-left:1.5rem;height:4.1rem;color:#4d4d4d;display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.select_block .select_item[data-v-22ba4800]:hover{background:#f7f7f7}.select_block .select_item .iconfont[data-v-22ba4800]{font-size:1.4rem}.select_block .select_item .select_item_des[data-v-22ba4800]{font-size:1.3rem;margin-left:.8rem}.modal_component .skip_content[data-v-22ba4800]{width:6rem;height:3rem;line-height:2.8rem;border:.1rem solid #343579;font-size:1.4rem;color:#343579;position:absolute;top:1.8rem;right:1.8rem;cursor:pointer}.modal_component .bind_email_content[data-v-22ba4800]{padding:4.8rem 9.2rem 6rem}.modal_component .bind_email_content .bind_email_tip[data-v-22ba4800]{font-size:1.8rem;color:#a5b0c2;line-height:1.9rem;text-align:center}.modal_component .bind_email_content .bind_email[data-v-22ba4800]{margin-top:2rem;font-size:2.2rem;font-weight:400;color:#030303;text-align:center}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_title[data-v-22ba4800]{font-size:2.2rem;font-weight:700;color:#030303;line-height:2.4rem}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-22ba4800]{width:100%;height:4.6rem;margin-top:1rem;border:.1rem solid #b4bed7;padding-left:2.1rem;line-height:4.6rem;font-size:1.8rem;box-sizing:border-box}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-22ba4800]::-moz-placeholder{color:#a5b0c2}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-22ba4800]::placeholder{color:#a5b0c2}.modal_component .bind_email_content .bind_email_submit_button[data-v-22ba4800]{height:4.6rem;line-height:4.6rem;background:#343579;font-size:1.6rem;font-weight:500;color:#fff;width:12.8rem;text-align:center;cursor:pointer;margin:3rem auto 0}.modal_component .bind_email_content .icon--shangyibu[data-v-22ba4800]{font-size:2.5rem;font-weight:700;color:#030303}.modal_component .bind_email_content .email_last_step_content[data-v-22ba4800]{margin-left:1rem;font-size:2.2rem;font-family:PingFang SC;font-weight:700;color:#030303}.modal_component .bind_email_content .tip_content[data-v-22ba4800]{font-size:1.3rem;font-weight:700;color:#343579;cursor:pointer}.modal_component .bind_email_content .email_last_step_des[data-v-22ba4800]{display:flex;align-items:center;justify-content:space-between;margin-top:2.5rem;margin-bottom:1.5rem}.modal_component .bind_email_content .email_last_step_des .sent_email_content[data-v-22ba4800]{font-size:1.8rem;font-weight:700;color:#a5b0c2}#app[data-v-7293e3bd],body[data-v-7293e3bd],html[data-v-7293e3bd]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden;--aida-fsize2:2.2rem;--aida-fsize1-8:1.8rem;--aida-fsize1-6:1.6rem;--aida-fsize1-4:1.4rem}input[data-v-7293e3bd]{outline:none}li[data-v-7293e3bd],ul[data-v-7293e3bd]{list-style:none;padding:0}.page_content[data-v-7293e3bd]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-7293e3bd],.button_second[data-v-7293e3bd]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-7293e3bd]{width:100%}.system_silder .ant-slider[data-v-7293e3bd]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-7293e3bd]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-7293e3bd]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-7293e3bd]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-7293e3bd]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-7293e3bd]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-7293e3bd]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-7293e3bd],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-7293e3bd]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-7293e3bd]{padding:0 1rem}.started_btn[data-v-7293e3bd]{padding:.4rem 1.8rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:1}.el-cascader[data-v-7293e3bd]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-7293e3bd]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-7293e3bd]{height:80%!important;font-size:1.2rem}.el-popper[data-v-7293e3bd]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-7293e3bd],.el-cascader__tags[data-v-7293e3bd]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-7293e3bd],.el-cascader__tags .el-tag--light[data-v-7293e3bd]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-7293e3bd],.el-cascader__tags .el-tag--light .el-tag__content[data-v-7293e3bd]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-7293e3bd],.el-cascader__tags .el-cascader__search-input[data-v-7293e3bd]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-7293e3bd]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-7293e3bd]{display:flex!important}.hideEvents [data-v-7293e3bd],.hideEvents[data-v-7293e3bd]{pointer-events:none!important}.Guide_[data-v-7293e3bd]{overflow-y:initial!important}.Guide_.showEvents [data-v-7293e3bd],.Guide_[data-v-7293e3bd]{pointer-events:auto!important}.Guide_.showEvents .hideEvents [data-v-7293e3bd],.Guide_.showEvents .hideEvents[data-v-7293e3bd]{pointer-events:none!important}.Guide_ .Guide_active[data-v-7293e3bd]{box-shadow:0 0 13px #ff5f5f;-webkit-animation:identifier-7293e3bd 1s linear infinite;animation:identifier-7293e3bd 1s linear infinite;display:block!important}@-webkit-keyframes identifier-7293e3bd{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}@keyframes identifier-7293e3bd{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}[data-v-7293e3bd]:not(body):has(>.driver-active-element){overflow:initial!important}.delete_like_file_block[data-v-7293e3bd]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-7293e3bd]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-7293e3bd]{color:red}.el-popper .el-cascader-panel[data-v-7293e3bd]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-7293e3bd]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-7293e3bd]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-7293e3bd]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-7293e3bd]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-7293e3bd]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-7293e3bd]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-7293e3bd],.ant-select-allow-clear .ant-select-selector[data-v-7293e3bd]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-7293e3bd]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-7293e3bd]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-7293e3bd]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-7293e3bd]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-7293e3bd]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-7293e3bd]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-7293e3bd]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-7293e3bd]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-7293e3bd]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-7293e3bd]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-7293e3bd]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-7293e3bd]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-7293e3bd]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-7293e3bd]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-7293e3bd]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-7293e3bd],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-7293e3bd],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-7293e3bd]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-7293e3bd]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-7293e3bd]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-7293e3bd]:after{border-color:#eee}.ant-modal-mask[data-v-7293e3bd]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.ant-modal-confirm-confirm .ant-modal-content[data-v-7293e3bd]{border-radius:1rem}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns[data-v-7293e3bd]{width:100%;display:flex;justify-content:center}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns .ant-btn-primary[data-v-7293e3bd]{margin-left:10rem}.modal_component.ant-modal[data-v-7293e3bd]{top:0}.modal_component .ant-modal-content[data-v-7293e3bd]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-7293e3bd]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-7293e3bd]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-7293e3bd]{padding:0}.ant-modal-body[data-v-7293e3bd]{font-size:1.4rem}.operate_file_block[data-v-7293e3bd]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-7293e3bd]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative;overflow:initial!important}.operate_file_block .select_img_type .select_category[data-v-7293e3bd]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-7293e3bd]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-7293e3bd]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-7293e3bd]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-7293e3bd]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-7293e3bd]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-7293e3bd],.operate_file_block .select_img_type .category_list .category_item[data-v-7293e3bd]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.driver-active [data-v-7293e3bd],.driver-overlay[data-v-7293e3bd]{pointer-events:none}.printboard_upload_modal.showEvents [data-v-7293e3bd],.sketchboard_upload_modal .switch_type_list.showEvents [data-v-7293e3bd]{pointer-events:auto}.habit[data-v-7293e3bd] .ant-btn:hover,[data-v-7293e3bd] .ant-btn:active,[data-v-7293e3bd] .ant-btn:after,[data-v-7293e3bd] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-7293e3bd] .ant-switch-checked{background-color:#000}[data-v-7293e3bd] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-7293e3bd] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-7293e3bd] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-7293e3bd]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-7293e3bd]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-7293e3bd]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-7293e3bd]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-7293e3bd]{background-color:#543087}.ant-spin[data-v-7293e3bd]{color:#000}.pin_block[data-v-7293e3bd]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-7293e3bd]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-7293e3bd]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-7293e3bd]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-7293e3bd]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-7293e3bd]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-7293e3bd]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-7293e3bd],.ant-checkbox-wrapper[data-v-7293e3bd]{font-size:1.4rem}.ant-checkbox-checked[data-v-7293e3bd]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-7293e3bd],.ant-select-multiple .ant-select-selection-search[data-v-7293e3bd]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-7293e3bd]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-7293e3bd],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-7293e3bd],.ant-checkbox:hover .ant-checkbox-inner[data-v-7293e3bd]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-7293e3bd]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-7293e3bd]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-7293e3bd]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-7293e3bd]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-7293e3bd],.designOpenrtion_modal .ant-modal-body[data-v-7293e3bd],.design_detail_modal_component .ant-modal-body[data-v-7293e3bd],.library_page .ant-modal-body[data-v-7293e3bd]{overflow-y:hidden}.collection_modal .design_title_text[data-v-7293e3bd],.designOpenrtion_modal .design_title_text[data-v-7293e3bd],.design_detail_modal_component .design_title_text[data-v-7293e3bd],.library_page .design_title_text[data-v-7293e3bd]{font-size:var(--aida-fsize2);font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-7293e3bd],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-7293e3bd],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-7293e3bd],.library_page .design_title_text .design_title_text_intro[data-v-7293e3bd]{font-size:var(--aida-fsize1-4);font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-7293e3bd],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-7293e3bd],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-7293e3bd],.library_page .ant-upload.ant-upload-select-picture-card[data-v-7293e3bd]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7293e3bd],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7293e3bd],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7293e3bd],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7293e3bd]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7293e3bd],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7293e3bd],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7293e3bd],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7293e3bd]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-7293e3bd],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-7293e3bd],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-7293e3bd],.library_page .ant-upload-list-picture-card-container[data-v-7293e3bd]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-7293e3bd],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-7293e3bd],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-7293e3bd],.library_page .ant-upload-picture-card-wrapper[data-v-7293e3bd]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-7293e3bd],.design_detail_modal_component .design_closeIcon[data-v-7293e3bd]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-7293e3bd]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-7293e3bd]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-7293e3bd]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-7293e3bd]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-7293e3bd],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-7293e3bd]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-7293e3bd],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-7293e3bd]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-7293e3bd],.design_detail_modal_component .subitOkPreviewBtn[data-v-7293e3bd]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-7293e3bd],i[data-v-7293e3bd]{font-size:1.4rem}.ant-modal-close-x[data-v-7293e3bd]{width:100%;height:100%}.collection_modal_body .input_box[data-v-7293e3bd],.design_detail_modal_component .input_box[data-v-7293e3bd],.library_page .input_box[data-v-7293e3bd]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-7293e3bd],.design_detail_modal_component .input_box input[data-v-7293e3bd],.library_page .input_box input[data-v-7293e3bd]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-7293e3bd]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7293e3bd]:-moz-placeholder,.library_page .input_box inputinput[data-v-7293e3bd]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-7293e3bd]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7293e3bd]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-7293e3bd]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-7293e3bd]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7293e3bd]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-7293e3bd]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-7293e3bd],.design_detail_modal_component .input_box span[data-v-7293e3bd],.library_page .input_box span[data-v-7293e3bd]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-7293e3bd],.design_detail_modal_component .input_box.active input[data-v-7293e3bd],.library_page .input_box.active input[data-v-7293e3bd]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-7293e3bd],.design_detail_modal_component .input_box.active span[data-v-7293e3bd],.library_page .input_box.active span[data-v-7293e3bd]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-7293e3bd],.design_detail_modal_component .input_box .generage_btn[data-v-7293e3bd],.library_page .input_box .generage_btn[data-v-7293e3bd]{margin:0 auto}.collection_modal_body .upload_item[data-v-7293e3bd],.design_detail_modal_component .upload_item[data-v-7293e3bd],.library_page .upload_item[data-v-7293e3bd]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item[data-v-7293e3bd],.library_page .upload_item .upload_file_item[data-v-7293e3bd]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-7293e3bd],.library_page .upload_item .upload_file_item.active[data-v-7293e3bd]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-7293e3bd],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-7293e3bd],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-7293e3bd],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-7293e3bd]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-7293e3bd],.library_page .upload_item .upload_file_item.upload_component[data-v-7293e3bd]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-7293e3bd]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7293e3bd]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7293e3bd]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7293e3bd]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7293e3bd]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7293e3bd]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-7293e3bd]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-7293e3bd]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-7293e3bd]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-7293e3bd]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.robot[data-v-7293e3bd]{position:absolute;bottom:.5rem;right:2.5rem;z-index:10003}.robot .robot_top[data-v-7293e3bd]{width:30rem;margin-left:auto;overflow-x:hidden;transition:all .3s;opacity:0;height:auto;max-height:30rem;display:none}.robot .robot_top.active[data-v-7293e3bd]{opacity:1}.robot .robot_top.robot_top[data-v-7293e3bd]::-webkit-scrollbar{display:none}.robot .robot_top .robot_text[data-v-7293e3bd]{font-size:1.4rem;padding:1rem 1.5rem;display:inline-block;border-radius:2rem;max-width:80%}.robot .robot_top .robot_text .robot_img[data-v-7293e3bd]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.robot .robot_top .robot_text .robot_img.img[data-v-7293e3bd]{width:18rem}.robot .robot_top .robot_text .robot_img .robot_img_item[data-v-7293e3bd]{max-height:100%;position:relative;width:40%;overflow:hidden;margin:0 5%;margin-bottom:5%}.robot .robot_top .robot_text .robot_img .robot_img_item:hover .delete_like_file_block[data-v-7293e3bd]{display:block}.robot .robot_top .robot_text .robot_img img[data-v-7293e3bd]{width:100%;height:8rem;-o-object-fit:contain;object-fit:contain;cursor:auto}.robot .robot_top .robot_text .driver__btn[data-v-7293e3bd]{width:100%;margin-top:1rem;display:flex;justify-content:space-around}.robot .robot_top .robot_text .driver__btn span[data-v-7293e3bd]{font-size:1.4em;color:#9efff4;cursor:pointer}.robot .robot_top .text_left[data-v-7293e3bd],.robot .robot_top .text_right[data-v-7293e3bd]{margin:2rem 0;font-size:1.2rem}.robot .robot_top .text_left[data-v-7293e3bd]{display:flex;justify-content:flex-start}.robot .robot_top .text_left>div[data-v-7293e3bd]{background-color:#e8e8ea;color:#000}.robot .robot_top .text_right[data-v-7293e3bd]{display:flex;justify-content:flex-end}.robot .robot_top .text_right>div[data-v-7293e3bd]{background-color:#835ff7;color:#fff}.robot .robot_top .text_right.white>div[data-v-7293e3bd]{background-color:#fff}.robot .robot_content[data-v-7293e3bd]{opacity:0;width:8rem;height:1.1rem;border-radius:2rem;overflow:hidden;border:.2rem solid;background:#341e57;display:flex;justify-content:flex-end;margin-left:auto;transition:all .3s}.robot .robot_content>div[data-v-7293e3bd]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);height:100%;width:80%;border-radius:2rem}.robot.robot:hover .robot_content[data-v-7293e3bd]{opacity:1}.robot .robot_bottom[data-v-7293e3bd]{display:flex;align-items:center}.robot .robot_input[data-v-7293e3bd]{border:1px solid #d5d5d7;display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background:#fff;border-radius:5px;transition:all .3s;opacity:0;display:none;margin-right:4rem}.robot .robot_input.active[data-v-7293e3bd]{opacity:1}.robot .robot_input input[data-v-7293e3bd]{border:none;font-size:1.2rem;width:25rem}.robot .robot_input .robot_btn[data-v-7293e3bd]{display:flex;height:100%;cursor:pointer}.robot .robot_input .fi-ss-paper-plane-top[data-v-7293e3bd]{display:flex;align-items:center}.robot .robot_input .fi-ss-paper-plane-top[data-v-7293e3bd]:before{color:#835df8}.robot .robot_img[data-v-7293e3bd]{margin-left:auto}.robot .robot_img img[data-v-7293e3bd]{width:8rem;cursor:pointer} \ No newline at end of file +.driver-active *,.driver-active .driver-overlay{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@-webkit-keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{-webkit-animation:animate-fade-in .2s ease-in-out;animation:animate-fade-in .2s ease-in-out}.driver-fade .driver-popover{-webkit-animation:animate-fade-in .2s;animation:animate-fade-in .2s}.driver-popover{all:unset;box-sizing:border-box;color:#2d2d2d;margin:0;padding:15px;border-radius:5px;min-width:250px;max-width:300px;box-shadow:0 1px 10px #0006;z-index:1000000000;position:fixed;top:0;right:0;background-color:#fff}.driver-popover *{font-family:Helvetica Neue,Inter,ui-sans-serif,Apple Color Emoji,Helvetica,Arial,sans-serif}.driver-popover-title{font:19px/normal sans-serif;font-weight:700;display:block;position:relative;line-height:1.5;zoom:1;margin:0}.driver-popover-close-btn{all:unset;position:absolute;top:0;right:0;width:32px;height:28px;cursor:pointer;font-size:18px;font-weight:500;color:#d2d2d2;z-index:1;text-align:center;transition:color;transition-duration:.2s}.driver-popover-close-btn:focus,.driver-popover-close-btn:hover{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{margin-bottom:0;font:14px/normal sans-serif;line-height:1.5;font-weight:400;zoom:1}.driver-popover-footer{margin-top:15px;text-align:right;zoom:1;display:flex;align-items:center;justify-content:space-between}.driver-popover-progress-text{font-size:13px;font-weight:400;color:#727272;zoom:1}.driver-popover-footer button{all:unset;display:inline-block;box-sizing:border-box;padding:3px 7px;text-decoration:none;text-shadow:1px 1px 0 #fff;background-color:#fff;color:#2d2d2d;font:12px/normal sans-serif;cursor:pointer;outline:0;zoom:1;line-height:1.3;border:1px solid #ccc;border-radius:3px}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}:not(body):has(>.driver-active-element){overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}.driver-popover-footer button:focus,.driver-popover-footer button:hover{background-color:#f7f7f7}.driver-popover-navigation-btns{display:flex;flex-grow:1;justify-content:flex-end}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";position:absolute;border:5px solid #fff}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{left:100%;border-right-color:transparent;border-bottom-color:transparent;border-top-color:transparent}.driver-popover-arrow-side-right{right:100%;border-left-color:transparent;border-bottom-color:transparent;border-top-color:transparent}.driver-popover-arrow-side-top{top:100%;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.driver-popover-arrow-side-bottom{bottom:100%;border-left-color:transparent;border-top-color:transparent;border-right-color:transparent}.driver-popover-arrow-side-center{display:none}.driver-popover-arrow-side-left.driver-popover-arrow-align-start,.driver-popover-arrow-side-right.driver-popover-arrow-align-start{top:15px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-start,.driver-popover-arrow-side-top.driver-popover-arrow-align-start{left:15px}.driver-popover-arrow-align-end.driver-popover-arrow-side-left,.driver-popover-arrow-align-end.driver-popover-arrow-side-right{bottom:15px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-end,.driver-popover-arrow-side-top.driver-popover-arrow-align-end{right:15px}.driver-popover-arrow-side-left.driver-popover-arrow-align-center,.driver-popover-arrow-side-right.driver-popover-arrow-align-center{top:50%;margin-top:-5px}.driver-popover-arrow-side-bottom.driver-popover-arrow-align-center,.driver-popover-arrow-side-top.driver-popover-arrow-align-center{left:50%;margin-left:-5px}.driver-popover-arrow-none{display:none}#app[data-v-b43da8b0],body[data-v-b43da8b0],html[data-v-b43da8b0]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden;--aida-fsize2:2.2rem;--aida-fsize1-8:1.8rem;--aida-fsize1-6:1.6rem;--aida-fsize1-4:1.4rem}input[data-v-b43da8b0]{outline:none}li[data-v-b43da8b0],ul[data-v-b43da8b0]{list-style:none;padding:0}.page_content[data-v-b43da8b0]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-b43da8b0],.button_second[data-v-b43da8b0]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-b43da8b0]{width:100%}.system_silder .ant-slider[data-v-b43da8b0]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-b43da8b0]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-b43da8b0]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-b43da8b0]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-b43da8b0]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-b43da8b0]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-b43da8b0]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-b43da8b0],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-b43da8b0]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-b43da8b0]{padding:0 1rem}.started_btn[data-v-b43da8b0]{padding:.4rem 1.8rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:1}.el-cascader[data-v-b43da8b0]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-b43da8b0]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-b43da8b0]{height:80%!important;font-size:1.2rem}.el-popper[data-v-b43da8b0]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-b43da8b0],.el-cascader__tags[data-v-b43da8b0]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-b43da8b0],.el-cascader__tags .el-tag--light[data-v-b43da8b0]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-b43da8b0],.el-cascader__tags .el-tag--light .el-tag__content[data-v-b43da8b0]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-b43da8b0],.el-cascader__tags .el-cascader__search-input[data-v-b43da8b0]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-b43da8b0]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-b43da8b0]{display:flex!important}.hideEvents [data-v-b43da8b0],.hideEvents[data-v-b43da8b0]{pointer-events:none!important}.Guide_[data-v-b43da8b0]{overflow-y:initial!important}.Guide_.showEvents [data-v-b43da8b0],.Guide_[data-v-b43da8b0]{pointer-events:auto!important}.Guide_.showEvents .hideEvents [data-v-b43da8b0],.Guide_.showEvents .hideEvents[data-v-b43da8b0]{pointer-events:none!important}.Guide_ .Guide_active[data-v-b43da8b0]{box-shadow:0 0 13px #ff5f5f;-webkit-animation:identifier-b43da8b0 1s linear infinite;animation:identifier-b43da8b0 1s linear infinite;display:block!important}@-webkit-keyframes identifier-b43da8b0{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}@keyframes identifier-b43da8b0{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}[data-v-b43da8b0]:not(body):has(>.driver-active-element){overflow:initial!important}.delete_like_file_block[data-v-b43da8b0]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-b43da8b0]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-b43da8b0]{color:red}.el-popper .el-cascader-panel[data-v-b43da8b0]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-b43da8b0]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-b43da8b0]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-b43da8b0]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-b43da8b0]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-b43da8b0]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-b43da8b0]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-b43da8b0],.ant-select-allow-clear .ant-select-selector[data-v-b43da8b0]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-b43da8b0]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-b43da8b0]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-b43da8b0]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-b43da8b0]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-b43da8b0]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-b43da8b0]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-b43da8b0]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-b43da8b0]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-b43da8b0]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-b43da8b0]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-b43da8b0]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-b43da8b0]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-b43da8b0]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-b43da8b0]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-b43da8b0]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-b43da8b0],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-b43da8b0],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-b43da8b0]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-b43da8b0]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-b43da8b0]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-b43da8b0]:after{border-color:#eee}.ant-modal-mask[data-v-b43da8b0]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.ant-modal-confirm-confirm .ant-modal-content[data-v-b43da8b0]{border-radius:1rem}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns[data-v-b43da8b0]{width:100%;display:flex;justify-content:center}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns .ant-btn-primary[data-v-b43da8b0]{margin-left:10rem}.modal_component.ant-modal[data-v-b43da8b0]{top:0}.modal_component .ant-modal-content[data-v-b43da8b0]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-b43da8b0]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-b43da8b0]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-b43da8b0]{padding:0}.ant-modal-body[data-v-b43da8b0]{font-size:1.4rem}.operate_file_block[data-v-b43da8b0]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-b43da8b0]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative;overflow:initial!important}.operate_file_block .select_img_type .select_category[data-v-b43da8b0]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-b43da8b0]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-b43da8b0]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-b43da8b0]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-b43da8b0]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-b43da8b0]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-b43da8b0],.operate_file_block .select_img_type .category_list .category_item[data-v-b43da8b0]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.driver-active [data-v-b43da8b0],.driver-overlay[data-v-b43da8b0]{pointer-events:none}.printboard_upload_modal.showEvents [data-v-b43da8b0],.sketchboard_upload_modal .switch_type_list.showEvents [data-v-b43da8b0]{pointer-events:auto}.habit[data-v-b43da8b0] .ant-btn:hover,[data-v-b43da8b0] .ant-btn:active,[data-v-b43da8b0] .ant-btn:after,[data-v-b43da8b0] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-b43da8b0] .ant-switch-checked{background-color:#000}[data-v-b43da8b0] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-b43da8b0] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-b43da8b0] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-b43da8b0]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-b43da8b0]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-b43da8b0]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-b43da8b0]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-b43da8b0]{background-color:#543087}.ant-spin[data-v-b43da8b0]{color:#000}.pin_block[data-v-b43da8b0]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-b43da8b0]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-b43da8b0]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-b43da8b0]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-b43da8b0]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-b43da8b0]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-b43da8b0]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-b43da8b0],.ant-checkbox-wrapper[data-v-b43da8b0]{font-size:1.4rem}.ant-checkbox-checked[data-v-b43da8b0]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-b43da8b0],.ant-select-multiple .ant-select-selection-search[data-v-b43da8b0]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-b43da8b0]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-b43da8b0],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-b43da8b0],.ant-checkbox:hover .ant-checkbox-inner[data-v-b43da8b0]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-b43da8b0]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-b43da8b0]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-b43da8b0]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-b43da8b0]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-b43da8b0],.designOpenrtion_modal .ant-modal-body[data-v-b43da8b0],.design_detail_modal_component .ant-modal-body[data-v-b43da8b0],.library_page .ant-modal-body[data-v-b43da8b0]{overflow-y:hidden}.collection_modal .design_title_text[data-v-b43da8b0],.designOpenrtion_modal .design_title_text[data-v-b43da8b0],.design_detail_modal_component .design_title_text[data-v-b43da8b0],.library_page .design_title_text[data-v-b43da8b0]{font-size:var(--aida-fsize2);font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-b43da8b0],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-b43da8b0],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-b43da8b0],.library_page .design_title_text .design_title_text_intro[data-v-b43da8b0]{font-size:var(--aida-fsize1-4);font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-b43da8b0],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-b43da8b0],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-b43da8b0],.library_page .ant-upload.ant-upload-select-picture-card[data-v-b43da8b0]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-b43da8b0],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-b43da8b0],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-b43da8b0],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-b43da8b0]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-b43da8b0],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-b43da8b0],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-b43da8b0],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-b43da8b0]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-b43da8b0],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-b43da8b0],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-b43da8b0],.library_page .ant-upload-list-picture-card-container[data-v-b43da8b0]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-b43da8b0],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-b43da8b0],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-b43da8b0],.library_page .ant-upload-picture-card-wrapper[data-v-b43da8b0]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-b43da8b0],.design_detail_modal_component .design_closeIcon[data-v-b43da8b0]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-b43da8b0]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-b43da8b0]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-b43da8b0]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-b43da8b0]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-b43da8b0],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-b43da8b0]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-b43da8b0],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-b43da8b0]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-b43da8b0],.design_detail_modal_component .subitOkPreviewBtn[data-v-b43da8b0]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-b43da8b0],i[data-v-b43da8b0]{font-size:1.4rem}.ant-modal-close-x[data-v-b43da8b0]{width:100%;height:100%}.collection_modal_body .input_box[data-v-b43da8b0],.design_detail_modal_component .input_box[data-v-b43da8b0],.library_page .input_box[data-v-b43da8b0]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-b43da8b0],.design_detail_modal_component .input_box input[data-v-b43da8b0],.library_page .input_box input[data-v-b43da8b0]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-b43da8b0]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-b43da8b0]:-moz-placeholder,.library_page .input_box inputinput[data-v-b43da8b0]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-b43da8b0]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-b43da8b0]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-b43da8b0]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-b43da8b0]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-b43da8b0]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-b43da8b0]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-b43da8b0],.design_detail_modal_component .input_box span[data-v-b43da8b0],.library_page .input_box span[data-v-b43da8b0]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-b43da8b0],.design_detail_modal_component .input_box.active input[data-v-b43da8b0],.library_page .input_box.active input[data-v-b43da8b0]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-b43da8b0],.design_detail_modal_component .input_box.active span[data-v-b43da8b0],.library_page .input_box.active span[data-v-b43da8b0]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-b43da8b0],.design_detail_modal_component .input_box .generage_btn[data-v-b43da8b0],.library_page .input_box .generage_btn[data-v-b43da8b0]{margin:0 auto}.collection_modal_body .upload_item[data-v-b43da8b0],.design_detail_modal_component .upload_item[data-v-b43da8b0],.library_page .upload_item[data-v-b43da8b0]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item[data-v-b43da8b0],.library_page .upload_item .upload_file_item[data-v-b43da8b0]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-b43da8b0],.library_page .upload_item .upload_file_item.active[data-v-b43da8b0]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-b43da8b0],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-b43da8b0],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-b43da8b0],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-b43da8b0]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-b43da8b0],.library_page .upload_item .upload_file_item.upload_component[data-v-b43da8b0]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-b43da8b0] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-b43da8b0]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-b43da8b0]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-b43da8b0]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-b43da8b0]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-b43da8b0]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-b43da8b0]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-b43da8b0],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-b43da8b0],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-b43da8b0]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-b43da8b0]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-b43da8b0]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-b43da8b0]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-b43da8b0]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.habit[data-v-b43da8b0]{position:relative}.habit .habit_button[data-v-b43da8b0]{background-color:#fff;border:2px solid #000;padding:0 2rem;box-sizing:initial;font-weight:600;height:3.2rem;line-height:3.2rem;padding:.4rem 1.5rem;font-size:1.2rem;cursor:pointer;position:relative}.habit .habit_button .fi-bs-angle-down[data-v-b43da8b0]{margin-left:1rem;display:inline-block;transform:translateY(2px)}.habit .habit_mask[data-v-b43da8b0]{position:absolute;top:-20px;left:auto;right:-30px;bottom:0;opacity:0;width:100vw;height:100vh}.habit .habit_content[data-v-b43da8b0]{border:2px solid #000;border-radius:1rem;padding:2rem;font-size:1.6rem;transform-origin:top right;position:absolute;right:-.3rem;top:110%;background:#fff;width:30rem;opacity:0;transition:all .3s;transform:scale(.75) translateY(10%);display:none;overflow:inherit!important}.habit .habit_content.active[data-v-b43da8b0]{opacity:1;transform:scale(.75) translateY(0)}.habit .habit_content .habit_title h3[data-v-b43da8b0]{font-size:1.6rem;font-weight:600;color:#000;margin:0}.habit .habit_content .habit_title .habit_intro[data-v-b43da8b0]{font-size:1.2rem;color:rgba(0,0,0,.5);font-weight:500}.habit .habit_content .habit_type[data-v-b43da8b0]{margin-top:1.5rem;cursor:pointer;position:relative}.habit .habit_content .habit_type .habit_workspace_show[data-v-b43da8b0]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_type .habit_workspace_show.active[data-v-b43da8b0]{transform:translateY(0)}.habit .habit_content .habit_Overal_Single[data-v-b43da8b0]{display:flex;align-items:center;justify-content:center;margin:3rem 0;position:relative}.habit .habit_content .habit_Overal_Single .habit_Overal_Single_text[data-v-b43da8b0]{font-weight:600;color:rgba(0,0,0,.5)}.habit .habit_content .habit_Overal_Single .habit_Overal_Single_text.active[data-v-b43da8b0]{color:rgba(0,0,0,.7);font-weight:900}.habit .habit_content .habit_Overal_Single[data-v-b43da8b0] .ant-switch{margin:0 1rem}.habit .habit_content .habit_Overal_Single .habit_sex_show[data-v-b43da8b0]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_Overal_Single .habit_sex_show.active[data-v-b43da8b0]{transform:translateY(0)}.habit .habit_content .habit_habit_singleton[data-v-b43da8b0]{margin-bottom:3rem;position:relative}.habit .habit_content .habit_habit_singleton .habit_singleton_show[data-v-b43da8b0]{width:100%;z-index:1;transform:translateY(10%);top:4rem;height:14rem;overflow-x:hidden;cursor:auto}.habit .habit_content .habit_habit_singleton .habit_singleton_show.active[data-v-b43da8b0]{transform:translateY(0)}.habit .habit_content .habit_System_Designer[data-v-b43da8b0]{margin-top:8rem}.habit .habit_content .habit_System_Designer[data-v-b43da8b0] .ant-slider-rail,.habit .habit_content .habit_System_Designer[data-v-b43da8b0] .ant-slider-track{height:.6rem;background-color:#e1e1e1;border-radius:.5rem}.habit .habit_content .habit_System_Designer[data-v-b43da8b0] .ant-slider .ant-slider-handle:not(.ant-tooltip-open),.habit .habit_content .habit_System_Designer[data-v-b43da8b0] .ant-slider-handle{background-color:#2d2e76!important;border:none!important}.habit .habit_content .habit_System_Designer[data-v-b43da8b0] .ant-slider-handle:hover{box-shadow:0 0 0 5px rgba(45,46,118,.2)}.habit .habit_content .habit_System_Designer .habit_System_Designer_text_max[data-v-b43da8b0]{display:flex;justify-content:space-between}.habit .habit_content .habit_model[data-v-b43da8b0]{margin-top:2rem}.habit .habit_content .habit_model_show[data-v-b43da8b0]{position:absolute;background-color:#fff;border:2px solid #000;border-radius:1rem;padding:2rem;bottom:-.5rem;transform:translateY(110%);right:-.2rem;width:40rem;opacity:0;transition:all .3s;display:none}.habit .habit_content .habit_model_show.active[data-v-b43da8b0]{opacity:1;transform:translateY(100%)}.habit .habit_content .habit_model_show .habit_btn[data-v-b43da8b0]{min-height:26rem;display:flex;justify-content:space-between}.habit .habit_content .habit_model_show .habit_btn .model_current[data-v-b43da8b0]{margin-right:3rem}.habit .habit_content .habit_model_show .habit_btn .model_current .model_text[data-v-b43da8b0]{text-align:center}.habit .habit_content .habit_model_show .habit_model_list[data-v-b43da8b0]{margin:0}.habit .habit_content .habit_model_show .habit_model_list li[data-v-b43da8b0]{padding:.5rem 0;display:flex}.habit .habit_content .habit_model_show .habit_model_list li input[data-v-b43da8b0]{border:0;width:80%;background:transparent}.habit .habit_content .habit_model_show .habit_model_list li>div[data-v-b43da8b0]{cursor:pointer;width:80%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace[data-v-b43da8b0]{text-align:center;justify-content:center}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace div[data-v-b43da8b0]{border-radius:50%;border:1px solid #000;display:inline-block;width:2rem;height:2rem;line-height:2rem;text-align:center}.habit .habit_content .habit_model_show .habit_model_list li.newWorkspace i[data-v-b43da8b0]{flex:1}.habit .habit_content .habit_model_show .habit_model_list li i[data-v-b43da8b0]{cursor:pointer}.habit .habit_content .habit_model_show .habit_model_list li .fi-rr-trash[data-v-b43da8b0]{margin-left:1rem}.habit .habit_content .habit_model_show .habit_model_list li[data-v-b43da8b0]:hover{background:rgba(0,0,0,.1)}.habit .habit_content .habit_model_show .model_Designer[data-v-b43da8b0]{flex:1;overflow:hidden;display:flex;flex-direction:column}.habit .habit_content .habit_model_show .model_Designer .model_text[data-v-b43da8b0]{display:flex;justify-content:center}.habit .habit_content .habit_model_show .model_Designer .model_text[data-v-b43da8b0] .ant-switch{margin:0 1rem}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text[data-v-b43da8b0]{font-weight:600;color:rgba(0,0,0,.5)}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text.active[data-v-b43da8b0]{color:rgba(0,0,0,.7);font-weight:900}.habit .habit_content .habit_model_show .model_Designer .model_text .habit_System_Seleves_text[data-v-b43da8b0] .ant-switch-checked{background-color:#000}.habit .habit_content .habit_model_show .model_img[data-v-b43da8b0]{display:flex;flex:1;align-items:center;overflow-x:auto}.habit .habit_content .habit_model_show .model_img.model_img[data-v-b43da8b0]::-webkit-scrollbar{width:1rem;height:1rem;-webkit-transition:all .3s;transition:all .3s}.habit .habit_content .habit_model_show .model_img.model_img[data-v-b43da8b0]::-webkit-scrollbar-thumb,.habit .habit_content .habit_model_show .model_img.model_img[data-v-b43da8b0]::-webkit-scrollbar-track{border-radius:1rem;background:rgba(238,238,244,0)}.habit .habit_content .habit_model_show .model_img.model_img:hover.model_img[data-v-b43da8b0]::-webkit-scrollbar-thumb{background:#543087}.habit .habit_content .habit_model_show .model_img.model_img:hover.model_img[data-v-b43da8b0]::-webkit-scrollbar-track{background:rgba(84,48,135,.2)}.habit .habit_content .habit_model_show .model_img>div[data-v-b43da8b0]{display:flex}.habit .habit_content .habit_model_show .model_img div[data-v-b43da8b0]{width:auto;margin-right:1rem}.habit .habit_content .habit_model_show .model_img img[data-v-b43da8b0]{width:10rem;cursor:pointer}.habit[data-v-b43da8b0] .ant-dropdown-button{margin-right:8px;margin-bottom:8px}.habit[data-v-b43da8b0] .ant-btn{box-shadow:none!important;color:rgba(0,0,0,.5);box-shadow:none;border:none;background:#f6f6f6;width:100%;font-weight:600;display:flex;align-items:center;justify-content:space-between;font-size:1.4rem}.ant-tooltip{z-index:1049!important}.habit :deep(.ant-tooltip .ant-tooltip-inner),:deep(.ant-tooltip-arrow-content){background:#000!important}.habit_mod{background-color:#000!important}.ant-tooltip .ant-tooltip-inner,.ant-tooltip-arrow-content{background:#000!important}#app[data-v-574f1158],body[data-v-574f1158],html[data-v-574f1158]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden;--aida-fsize2:2.2rem;--aida-fsize1-8:1.8rem;--aida-fsize1-6:1.6rem;--aida-fsize1-4:1.4rem}input[data-v-574f1158]{outline:none}li[data-v-574f1158],ul[data-v-574f1158]{list-style:none;padding:0}.page_content[data-v-574f1158]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-574f1158],.button_second[data-v-574f1158]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-574f1158]{width:100%}.system_silder .ant-slider[data-v-574f1158]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-574f1158]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-574f1158]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-574f1158]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-574f1158]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-574f1158]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-574f1158]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-574f1158],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-574f1158]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-574f1158]{padding:0 1rem}.started_btn[data-v-574f1158]{padding:.4rem 1.8rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:1}.el-cascader[data-v-574f1158]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-574f1158]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-574f1158]{height:80%!important;font-size:1.2rem}.el-popper[data-v-574f1158]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-574f1158],.el-cascader__tags[data-v-574f1158]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-574f1158],.el-cascader__tags .el-tag--light[data-v-574f1158]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-574f1158],.el-cascader__tags .el-tag--light .el-tag__content[data-v-574f1158]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-574f1158],.el-cascader__tags .el-cascader__search-input[data-v-574f1158]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-574f1158]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-574f1158]{display:flex!important}.hideEvents [data-v-574f1158],.hideEvents[data-v-574f1158]{pointer-events:none!important}.Guide_[data-v-574f1158]{overflow-y:initial!important}.Guide_.showEvents [data-v-574f1158],.Guide_[data-v-574f1158]{pointer-events:auto!important}.Guide_.showEvents .hideEvents [data-v-574f1158],.Guide_.showEvents .hideEvents[data-v-574f1158]{pointer-events:none!important}.Guide_ .Guide_active[data-v-574f1158]{box-shadow:0 0 13px #ff5f5f;-webkit-animation:identifier-574f1158 1s linear infinite;animation:identifier-574f1158 1s linear infinite;display:block!important}@-webkit-keyframes identifier-574f1158{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}@keyframes identifier-574f1158{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}[data-v-574f1158]:not(body):has(>.driver-active-element){overflow:initial!important}.delete_like_file_block[data-v-574f1158]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-574f1158]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-574f1158]{color:red}.el-popper .el-cascader-panel[data-v-574f1158]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-574f1158]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-574f1158]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-574f1158]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-574f1158]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-574f1158]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-574f1158]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-574f1158],.ant-select-allow-clear .ant-select-selector[data-v-574f1158]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-574f1158]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-574f1158]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-574f1158]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-574f1158]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-574f1158]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-574f1158]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-574f1158]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-574f1158]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-574f1158]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-574f1158]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-574f1158]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-574f1158]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-574f1158]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-574f1158]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-574f1158]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-574f1158],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-574f1158],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-574f1158]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-574f1158]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-574f1158]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-574f1158]:after{border-color:#eee}.ant-modal-mask[data-v-574f1158]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.ant-modal-confirm-confirm .ant-modal-content[data-v-574f1158]{border-radius:1rem}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns[data-v-574f1158]{width:100%;display:flex;justify-content:center}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns .ant-btn-primary[data-v-574f1158]{margin-left:10rem}.modal_component.ant-modal[data-v-574f1158]{top:0}.modal_component .ant-modal-content[data-v-574f1158]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-574f1158]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-574f1158]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-574f1158]{padding:0}.ant-modal-body[data-v-574f1158]{font-size:1.4rem}.operate_file_block[data-v-574f1158]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-574f1158]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative;overflow:initial!important}.operate_file_block .select_img_type .select_category[data-v-574f1158]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-574f1158]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-574f1158]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-574f1158]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-574f1158]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-574f1158]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-574f1158],.operate_file_block .select_img_type .category_list .category_item[data-v-574f1158]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.driver-active [data-v-574f1158],.driver-overlay[data-v-574f1158]{pointer-events:none}.printboard_upload_modal.showEvents [data-v-574f1158],.sketchboard_upload_modal .switch_type_list.showEvents [data-v-574f1158]{pointer-events:auto}.habit[data-v-574f1158] .ant-btn:hover,[data-v-574f1158] .ant-btn:active,[data-v-574f1158] .ant-btn:after,[data-v-574f1158] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-574f1158] .ant-switch-checked{background-color:#000}[data-v-574f1158] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-574f1158] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-574f1158] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-574f1158]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-574f1158]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-574f1158]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-574f1158]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-574f1158]{background-color:#543087}.ant-spin[data-v-574f1158]{color:#000}.pin_block[data-v-574f1158]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-574f1158]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-574f1158]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-574f1158]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-574f1158]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-574f1158]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-574f1158]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-574f1158],.ant-checkbox-wrapper[data-v-574f1158]{font-size:1.4rem}.ant-checkbox-checked[data-v-574f1158]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-574f1158],.ant-select-multiple .ant-select-selection-search[data-v-574f1158]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-574f1158]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-574f1158],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-574f1158],.ant-checkbox:hover .ant-checkbox-inner[data-v-574f1158]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-574f1158]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-574f1158]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-574f1158]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-574f1158]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-574f1158],.designOpenrtion_modal .ant-modal-body[data-v-574f1158],.design_detail_modal_component .ant-modal-body[data-v-574f1158],.library_page .ant-modal-body[data-v-574f1158]{overflow-y:hidden}.collection_modal .design_title_text[data-v-574f1158],.designOpenrtion_modal .design_title_text[data-v-574f1158],.design_detail_modal_component .design_title_text[data-v-574f1158],.library_page .design_title_text[data-v-574f1158]{font-size:var(--aida-fsize2);font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-574f1158],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-574f1158],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-574f1158],.library_page .design_title_text .design_title_text_intro[data-v-574f1158]{font-size:var(--aida-fsize1-4);font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-574f1158],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-574f1158],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-574f1158],.library_page .ant-upload.ant-upload-select-picture-card[data-v-574f1158]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-574f1158],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-574f1158],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-574f1158],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-574f1158]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-574f1158],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-574f1158],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-574f1158],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-574f1158]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-574f1158],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-574f1158],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-574f1158],.library_page .ant-upload-list-picture-card-container[data-v-574f1158]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-574f1158],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-574f1158],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-574f1158],.library_page .ant-upload-picture-card-wrapper[data-v-574f1158]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-574f1158],.design_detail_modal_component .design_closeIcon[data-v-574f1158]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-574f1158]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-574f1158]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-574f1158]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-574f1158]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-574f1158],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-574f1158]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-574f1158],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-574f1158]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-574f1158],.design_detail_modal_component .subitOkPreviewBtn[data-v-574f1158]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-574f1158],i[data-v-574f1158]{font-size:1.4rem}.ant-modal-close-x[data-v-574f1158]{width:100%;height:100%}.collection_modal_body .input_box[data-v-574f1158],.design_detail_modal_component .input_box[data-v-574f1158],.library_page .input_box[data-v-574f1158]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-574f1158],.design_detail_modal_component .input_box input[data-v-574f1158],.library_page .input_box input[data-v-574f1158]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-574f1158]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-574f1158]:-moz-placeholder,.library_page .input_box inputinput[data-v-574f1158]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-574f1158]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-574f1158]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-574f1158]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-574f1158]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-574f1158]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-574f1158]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-574f1158],.design_detail_modal_component .input_box span[data-v-574f1158],.library_page .input_box span[data-v-574f1158]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-574f1158],.design_detail_modal_component .input_box.active input[data-v-574f1158],.library_page .input_box.active input[data-v-574f1158]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-574f1158],.design_detail_modal_component .input_box.active span[data-v-574f1158],.library_page .input_box.active span[data-v-574f1158]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-574f1158],.design_detail_modal_component .input_box .generage_btn[data-v-574f1158],.library_page .input_box .generage_btn[data-v-574f1158]{margin:0 auto}.collection_modal_body .upload_item[data-v-574f1158],.design_detail_modal_component .upload_item[data-v-574f1158],.library_page .upload_item[data-v-574f1158]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item[data-v-574f1158],.library_page .upload_item .upload_file_item[data-v-574f1158]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-574f1158],.library_page .upload_item .upload_file_item.active[data-v-574f1158]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-574f1158],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-574f1158],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-574f1158],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-574f1158]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-574f1158],.library_page .upload_item .upload_file_item.upload_component[data-v-574f1158]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-574f1158] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-574f1158] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-574f1158] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-574f1158] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-574f1158] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-574f1158] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-574f1158],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-574f1158]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-574f1158],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-574f1158]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-574f1158],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-574f1158]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-574f1158],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-574f1158]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-574f1158],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-574f1158]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-574f1158],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-574f1158]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-574f1158],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-574f1158],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-574f1158]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-574f1158]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-574f1158]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-574f1158]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-574f1158]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-574f1158]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-574f1158]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-574f1158]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-574f1158]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-574f1158]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-574f1158]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.header_max[data-v-574f1158]{position:relative}.header_component[data-v-574f1158]{display:flex;justify-content:space-between;padding-left:0;width:100%;height:7rem;background:hsla(0,0%,100%,.2);position:relative;align-items:center;z-index:1049;background-color:#fff}.header_component .header_right[data-v-574f1158]{width:33%;display:flex;justify-content:flex-end;align-items:center}.header_component .header_logo[data-v-574f1158]{width:14.4rem;height:3.2rem;margin:2.1rem 2.8rem 0;margin-top:0}.header_component .header_nav_content[data-v-574f1158]{display:flex;align-items:center}.header_component .header_nav_content .nav_item[data-v-574f1158]{padding:1.1rem 1rem;border-bottom:.1rem solid transparent;margin-right:3.4rem;font-size:1.6rem;line-height:1.3rem;color:#000;cursor:pointer;font-weight:900}.header_component .header_nav_content .nav_item.nav_item[data-v-574f1158]:nth-child(3){margin:0}.header_component .header_nav_content .nav_item.nav_item[data-v-574f1158]:before{position:absolute;content:"";display:block;background:#000;height:.3rem;left:50%;transform:translateX(-50%);bottom:.3rem;width:0;transition:all .3s}.header_component .header_nav_content .nav_item.select_nav[data-v-574f1158]{color:#000;transform:scale(1.15)}.header_component .header_nav_content .nav_item.select_nav[data-v-574f1158]:before{width:80%}.header_component .header_right_content[data-v-574f1158]{top:0;left:0;display:flex;width:33%;height:100%;align-items:center;overflow:hidden}.header_component .header_right_content .header_icon[data-v-574f1158]{font-size:3.6rem;position:relative;top:.3rem}.header_component .header_right_content .header_user_icon[data-v-574f1158]{height:4rem;width:4rem;background-color:#000;border-radius:50%;transform:translateX(-40%) scale(1.3)}.header_component .header_right_content .header_user_content[data-v-574f1158]{display:flex;align-items:center;position:relative;height:3.7rem}.header_component .header_right_content .header_user_content.marLeft2[data-v-574f1158]{margin-left:2rem}.header_component .header_right_content .header_user_content .username[data-v-574f1158]{font-size:1.8rem;color:#1a1a1a;margin:0 .8rem;font-weight:900}.header_component .header_right_content .header_user_content .username span[data-v-574f1158]{margin:.7rem}.header_component .header_right_content .header_user_content .icon-xiala[data-v-574f1158]{font-size:1.4rem;cursor:pointer;transition:all .3s}.header_component .header_right_content .header_user_content .icon_rotate[data-v-574f1158]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.header_component .header_right_content .trialApproval[data-v-574f1158]{margin-left:2rem}.select_block[data-v-574f1158]{z-index:1050;position:absolute;left:6.5rem;top:4.7rem;width:11.4rem;background:#fff;box-shadow:0 .4rem .4rem 0 rgba(0,0,0,.1);overflow:hidden;border:1px solid #000}.select_block.select_list[data-v-574f1158]{transform:translateX(120%)}.select_block .select_item[data-v-574f1158]{padding-left:1.5rem;height:4.1rem;color:#4d4d4d;display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.select_block .select_item[data-v-574f1158]:hover{background:#f7f7f7}.select_block .select_item .iconfont[data-v-574f1158]{font-size:1.4rem}.select_block .select_item .select_item_des[data-v-574f1158]{font-size:1.3rem;margin-left:.8rem}.modal_component .skip_content[data-v-574f1158]{width:6rem;height:3rem;line-height:2.8rem;border:.1rem solid #343579;font-size:1.4rem;color:#343579;position:absolute;top:1.8rem;right:1.8rem;cursor:pointer}.modal_component .bind_email_content[data-v-574f1158]{padding:4.8rem 9.2rem 6rem}.modal_component .bind_email_content .bind_email_tip[data-v-574f1158]{font-size:1.8rem;color:#a5b0c2;line-height:1.9rem;text-align:center}.modal_component .bind_email_content .bind_email[data-v-574f1158]{margin-top:2rem;font-size:2.2rem;font-weight:400;color:#030303;text-align:center}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_title[data-v-574f1158]{font-size:2.2rem;font-weight:700;color:#030303;line-height:2.4rem}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-574f1158]{width:100%;height:4.6rem;margin-top:1rem;border:.1rem solid #b4bed7;padding-left:2.1rem;line-height:4.6rem;font-size:1.8rem;box-sizing:border-box}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-574f1158]::-moz-placeholder{color:#a5b0c2}.modal_component .bind_email_content .bind_email_form_content .bind_email_form_input[data-v-574f1158]::placeholder{color:#a5b0c2}.modal_component .bind_email_content .bind_email_submit_button[data-v-574f1158]{height:4.6rem;line-height:4.6rem;background:#343579;font-size:1.6rem;font-weight:500;color:#fff;width:12.8rem;text-align:center;cursor:pointer;margin:3rem auto 0}.modal_component .bind_email_content .icon--shangyibu[data-v-574f1158]{font-size:2.5rem;font-weight:700;color:#030303}.modal_component .bind_email_content .email_last_step_content[data-v-574f1158]{margin-left:1rem;font-size:2.2rem;font-family:PingFang SC;font-weight:700;color:#030303}.modal_component .bind_email_content .tip_content[data-v-574f1158]{font-size:1.3rem;font-weight:700;color:#343579;cursor:pointer}.modal_component .bind_email_content .email_last_step_des[data-v-574f1158]{display:flex;align-items:center;justify-content:space-between;margin-top:2.5rem;margin-bottom:1.5rem}.modal_component .bind_email_content .email_last_step_des .sent_email_content[data-v-574f1158]{font-size:1.8rem;font-weight:700;color:#a5b0c2}#app[data-v-7293e3bd],body[data-v-7293e3bd],html[data-v-7293e3bd]{margin:0;padding:0;height:100%;font-family:Roboto,sans-serif;overflow:hidden;--aida-fsize2:2.2rem;--aida-fsize1-8:1.8rem;--aida-fsize1-6:1.6rem;--aida-fsize1-4:1.4rem}input[data-v-7293e3bd]{outline:none}li[data-v-7293e3bd],ul[data-v-7293e3bd]{list-style:none;padding:0}.page_content[data-v-7293e3bd]{max-width:100%;height:100%;margin:0 auto}.button_first[data-v-7293e3bd],.button_second[data-v-7293e3bd]{width:11.85rem;text-align:center;height:4rem;line-height:4rem;font-size:1.4rem;font-weight:400;color:#000;cursor:pointer;border-radius:1.5rem;border:2px solid}.system_silder[data-v-7293e3bd]{width:100%}.system_silder .ant-slider[data-v-7293e3bd]{margin:0;width:12rem}.system_silder .ant-slider .ant-slider-rail[data-v-7293e3bd]{height:.6rem;border-radius:.3rem;background:#f2f0fd}.system_silder .ant-slider .ant-slider-track[data-v-7293e3bd]{height:.6rem;border-radius:.3rem;background:#343579}.system_silder .ant-slider .ant-slider-handle[data-v-7293e3bd]{margin-top:-.4rem;border:.2rem solid #343579}.ant-tooltip[data-v-7293e3bd]{z-index:2}.ant-tooltip .ant-tooltip-inner[data-v-7293e3bd]{background:#343579;border-radius:5px;padding:.6rem .5rem}.select_block .ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-7293e3bd]{background:transparent;height:4rem;border:.1rem solid transparent!important;border-radius:0;box-shadow:none!important;width:15rem;background:#fff;border-radius:1rem;margin:0 1rem}.select_block .ant-select-single .ant-select-selector .ant-select-selection-item[data-v-7293e3bd],.select_block .ant-select-single .ant-select-selector .ant-select-selection-placeholder[data-v-7293e3bd]{line-height:3.8rem;color:#1a1a1a;font-size:1.3rem;font-weight:700}.select_block .ant-select-single:not(.ant-select-customize-input) .ant-select-selector[data-v-7293e3bd]{padding:0 1rem}.started_btn[data-v-7293e3bd]{padding:.4rem 1.8rem;display:inline-block;border-radius:2rem;font-size:1.2rem;color:#fff;background-color:#39215b;cursor:pointer;zoom:1}.el-cascader[data-v-7293e3bd]{font-size:1.2rem;width:100%;height:3rem;--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec}.el-cascader .el-input[data-v-7293e3bd]{height:100%}.el-cascader .el-input .el-input__wrapper .el-input__inner[data-v-7293e3bd]{height:80%!important;font-size:1.2rem}.el-popper[data-v-7293e3bd]{padding:.5rem 1.1rem}.el-cascader__collapse-tag[data-v-7293e3bd],.el-cascader__tags[data-v-7293e3bd]{--el-color-primary:#d9d9d9;--el-cascader-tag-background:#e1d9ec;--el-fill-color:#e1d9ec;height:80%;width:90%!important;flex-wrap:nowrap;overflow:hidden}.el-cascader__collapse-tag .el-tag--light[data-v-7293e3bd],.el-cascader__tags .el-tag--light[data-v-7293e3bd]{margin:0 0 0 .6rem;padding-right:.5rem;height:100%;--el-icon-size:1.4rem;display:flex}.el-cascader__collapse-tag .el-tag--light .el-tag__content[data-v-7293e3bd],.el-cascader__tags .el-tag--light .el-tag__content[data-v-7293e3bd]{font-size:1.4rem;color:#000}.el-cascader__collapse-tag .el-cascader__search-input[data-v-7293e3bd],.el-cascader__tags .el-cascader__search-input[data-v-7293e3bd]{height:100%;margin:0 0 0 1.1rem}.el-cascader__collapse-tag[data-v-7293e3bd]{margin-bottom:.5rem}.el-cascader__collapse-tag .el-cascader__collapse-tag .el-tag--light[data-v-7293e3bd]{display:flex!important}.hideEvents [data-v-7293e3bd],.hideEvents[data-v-7293e3bd]{pointer-events:none!important}.Guide_[data-v-7293e3bd]{overflow-y:initial!important}.Guide_.showEvents [data-v-7293e3bd],.Guide_[data-v-7293e3bd]{pointer-events:auto!important}.Guide_.showEvents .hideEvents [data-v-7293e3bd],.Guide_.showEvents .hideEvents[data-v-7293e3bd]{pointer-events:none!important}.Guide_ .Guide_active[data-v-7293e3bd]{box-shadow:0 0 13px #ff5f5f;-webkit-animation:identifier-7293e3bd 1s linear infinite;animation:identifier-7293e3bd 1s linear infinite;display:block!important}@-webkit-keyframes identifier-7293e3bd{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}@keyframes identifier-7293e3bd{0%{box-shadow:none}50%{box-shadow:0 0 13px #ff5f5f}to{box-shadow:none}}[data-v-7293e3bd]:not(body):has(>.driver-active-element){overflow:initial!important}.delete_like_file_block[data-v-7293e3bd]{display:none;width:2.5rem;height:2.5rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:0;right:0;text-align:center;line-height:2.5rem;left:auto;cursor:pointer}.delete_like_file_block i[data-v-7293e3bd]{font-size:1.6rem;color:#fff}.delete_like_file_block i.fi-sr-heart[data-v-7293e3bd]{color:red}.el-popper .el-cascader-panel[data-v-7293e3bd]{--el-cascader-menu-selected-text-color:#000}.el-popper .el-cascader-panel .el-scrollbar[data-v-7293e3bd]{min-width:19rem;max-width:19rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap[data-v-7293e3bd]{height:24.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-cascader-node[data-v-7293e3bd]{padding-right:2rem;padding:0 3rem 0 2rem;height:3.4rem;line-height:3.4rem;font-size:1.4rem}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox[data-v-7293e3bd]{--el-checkbox-input-height:1.4rem;--el-checkbox-input-width:1.4rem;--el-checkbox-font-size:1.4rem;--el-checkbox-checked-bg-color:#767676;--el-checkbox-checked-input-border-color:#767676;--el-checkbox-input-border-color-hover:#dcdfe6}.el-popper .el-cascader-panel .el-scrollbar .el-cascader-menu__wrap .el-cascader-menu__list .el-checkbox .el-checkbox__input .el-checkbox__inner[data-v-7293e3bd]:after{height:.7rem;left:.4rem;top:.1rem;width:.3rem}.ant-select-allow-clear[data-v-7293e3bd]{font-size:1.2rem;height:3rem}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow[data-v-7293e3bd],.ant-select-allow-clear .ant-select-selector[data-v-7293e3bd]{height:100%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item[data-v-7293e3bd]{height:80%}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item[data-v-7293e3bd]{align-items:center;height:100%;margin:0;margin-right:.4rem;background-color:#e1d9ec}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-content[data-v-7293e3bd]{height:100%;line-height:1.7}.ant-select-allow-clear .ant-select-selector .ant-select-selection-overflow .ant-select-selection-overflow-item .ant-select-selection-item .ant-select-selection-item-remove[data-v-7293e3bd]{height:100%;font-size:1rem;display:flex;align-items:center}.ant-select-allow-clear .ant-select-selector[data-v-7293e3bd]:after{line-height:1}.ant-select-allow-clear.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector[data-v-7293e3bd]{box-shadow:0 0 0 2px rgba(24,144,255,0);border:1px solid #d9d9d9}.ant-select:not(.ant-select-disabled):hover .ant-select-selector[data-v-7293e3bd]{border:1px solid #d9d9d9}.ant-select-dropdown[data-v-7293e3bd]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item[data-v-7293e3bd]{padding:.5rem 1.2rem;line-height:2.2rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox[data-v-7293e3bd]{font-size:1.4rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox :hover .ant-cascader-checkbox-inner[data-v-7293e3bd]{border:1px solid #d9d9d9}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-7293e3bd]{width:1.6rem;height:1.6rem}.ant-select-dropdown .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner[data-v-7293e3bd]:after{width:.8rem;height:.8rem}.ant-cascader-checkbox-checked .ant-cascader-checkbox-inner[data-v-7293e3bd]{background-color:#767676;border-color:#d9d9d9!important}.ant-cascader-checkbox-checked[data-v-7293e3bd]:after,.ant-cascader-checkbox-input:focus+.ant-cascader-checkbox-inner[data-v-7293e3bd],.ant-cascader-checkbox-wrapper:hover .ant-cascader-checkbox-inner[data-v-7293e3bd],.ant-cascader-checkbox:hover .ant-cascader-checkbox-inner[data-v-7293e3bd]{border-color:#d9d9d9}.ant-cascader-checkbox-indeterminate .ant-cascader-checkbox-inner[data-v-7293e3bd]:after{background-color:#767676}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-7293e3bd]{background-color:#d9d9d9}.ant-checkbox-wrapper-disabled .ant-checkbox-disabled .ant-checkbox-inner[data-v-7293e3bd]:after{border-color:#eee}.ant-modal-mask[data-v-7293e3bd]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);border-radius:1rem;overflow:hidden;height:calc(100% - 7rem);bottom:0;top:auto;margin:0 9rem}.ant-modal-confirm-confirm .ant-modal-content[data-v-7293e3bd]{border-radius:1rem}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns[data-v-7293e3bd]{width:100%;display:flex;justify-content:center}.ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns .ant-btn-primary[data-v-7293e3bd]{margin-left:10rem}.modal_component.ant-modal[data-v-7293e3bd]{top:0}.modal_component .ant-modal-content[data-v-7293e3bd]{overflow:hidden}.modal_component .ant-modal-content .ant-modal-header[data-v-7293e3bd]{padding:2.4rem 2.6rem;background:#f7f7f7}.modal_component .ant-modal-content .ant-modal-header .ant-modal-title[data-v-7293e3bd]{font-size:1.8rem;line-height:1.8rem;color:#030303}.modal_component .ant-modal-content .ant-modal-body[data-v-7293e3bd]{padding:0}.ant-modal-body[data-v-7293e3bd]{font-size:1.4rem}.operate_file_block[data-v-7293e3bd]{width:100%;height:3rem;font-size:1.6rem;color:#fff;position:absolute;left:0;bottom:0}.operate_file_block .select_img_type[data-v-7293e3bd]{height:100%;line-height:3rem;text-align:center;background:rgba(0,0,0,.6);position:relative;overflow:initial!important}.operate_file_block .select_img_type .select_category[data-v-7293e3bd]{display:flex;align-items:center;justify-content:center}.operate_file_block .select_img_type .select_category .icon-xiala[data-v-7293e3bd]{margin-left:.8rem}.operate_file_block .select_img_type .icon_rotate[data-v-7293e3bd]{transform:rotate(180deg);-webkit-animation-direction:.5s;animation-direction:.5s}.operate_file_block .select_img_type .category_list[data-v-7293e3bd]{width:100%;cursor:pointer;position:absolute;margin-top:.2rem;left:0;background-color:#b1b1b1;border:1px solid #343579;border-radius:.8rem;z-index:3;height:9rem;overflow-x:hidden}.operate_file_block .select_img_type .category_list.category_list[data-v-7293e3bd]::-webkit-scrollbar{display:none}.operate_file_block .select_img_type .category_list .category_item[data-v-7293e3bd]{text-align:left;font-size:1.4rem;padding:1rem 1.5rem;line-height:1.6rem;font-weight:600;color:#595959}.operate_file_block .select_img_type .category_list .category_item.select_category_item[data-v-7293e3bd],.operate_file_block .select_img_type .category_list .category_item[data-v-7293e3bd]:hover{background:linear-gradient(-137deg,#eeefdb,#e7dbed)}.driver-active [data-v-7293e3bd],.driver-overlay[data-v-7293e3bd]{pointer-events:none}.printboard_upload_modal.showEvents [data-v-7293e3bd],.sketchboard_upload_modal .switch_type_list.showEvents [data-v-7293e3bd]{pointer-events:auto}.habit[data-v-7293e3bd] .ant-btn:hover,[data-v-7293e3bd] .ant-btn:active,[data-v-7293e3bd] .ant-btn:after,[data-v-7293e3bd] .ant-btn:focus{color:#000;border-color:#000!important;box-shadow:none!important}[data-v-7293e3bd] .ant-switch-checked{background-color:#000}[data-v-7293e3bd] .ant-switch-checked .ant-switch-handle{left:calc(100% - 2rem)}[data-v-7293e3bd] .ant-switch{min-width:4.4rem;height:2.2rem;line-height:2.2rem}[data-v-7293e3bd] .ant-switch .ant-switch-handle{width:1.8rem;height:1.8rem}.ant-message[data-v-7293e3bd]{z-index:1049!important;top:6rem}.ant-modal-confirm-btns .ant-btn[data-v-7293e3bd]:hover{color:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-7293e3bd]{background:#39215b!important;border-color:#39215b!important}.ant-modal-confirm-btns .ant-btn-primary[data-v-7293e3bd]:hover{color:#fff!important;border-color:#543087!important;background:#543087!important}.ant-spin-dot-item[data-v-7293e3bd]{background-color:#543087}.ant-spin[data-v-7293e3bd]{color:#000}.pin_block[data-v-7293e3bd]{text-align:center;margin-top:.5rem}.pin_block .ant-checkbox-wrapper[data-v-7293e3bd]{height:2.2rem;align-items:center}.pin_block .ant-checkbox-wrapper span[data-v-7293e3bd]{font-size:1.4rem;line-height:2.3rem}.pin_block .ant-checkbox-wrapper span .ant-checkbox-input[data-v-7293e3bd]:after{height:auto}.pin_block .ant-checkbox-wrapper span.ant-checkbox-checked[data-v-7293e3bd]:after{border:1px solid transparent}.ant-checkbox-inner[data-v-7293e3bd]{width:1.6rem;height:1.6rem}.ant-checkbox-inner[data-v-7293e3bd]:after{width:.57142857rem;height:.91428571rem}.ant-checkbox-wrapper span[data-v-7293e3bd],.ant-checkbox-wrapper[data-v-7293e3bd]{font-size:1.4rem}.ant-checkbox-checked[data-v-7293e3bd]:after{border:1px solid rgba(0,0,0,.65)}.ant-select-multiple .ant-select-selection-search-input[data-v-7293e3bd],.ant-select-multiple .ant-select-selection-search[data-v-7293e3bd]{height:100%}.ant-checkbox-checked .ant-checkbox-inner[data-v-7293e3bd]{background-color:#767676;border-color:#d9d9d9!important}.ant-checkbox-input:focus+.ant-checkbox-inner[data-v-7293e3bd],.ant-checkbox-wrapper:hover .ant-checkbox-inner[data-v-7293e3bd],.ant-checkbox:hover .ant-checkbox-inner[data-v-7293e3bd]{border-color:#d9d9d9!important}.libraryPageCascader[data-v-7293e3bd]{border-radius:1rem}.libraryPageCascader .cascader_btn_max[data-v-7293e3bd]{height:4rem;width:100%;border-bottom:1px solid #e1e1e1;display:flex;align-items:center}.libraryPageCascader .cascader_btn_max .cascader_btn1[data-v-7293e3bd]{margin:0 1rem;line-height:1.5rem}.libraryPageCascader .ant-cascader-menu[data-v-7293e3bd]{margin-top:4rem}.collection_modal .ant-modal-body[data-v-7293e3bd],.designOpenrtion_modal .ant-modal-body[data-v-7293e3bd],.design_detail_modal_component .ant-modal-body[data-v-7293e3bd],.library_page .ant-modal-body[data-v-7293e3bd]{overflow-y:hidden}.collection_modal .design_title_text[data-v-7293e3bd],.designOpenrtion_modal .design_title_text[data-v-7293e3bd],.design_detail_modal_component .design_title_text[data-v-7293e3bd],.library_page .design_title_text[data-v-7293e3bd]{font-size:var(--aida-fsize2);font-weight:900;color:rgba(0,0,0,.65);align-items:center;margin-bottom:2rem}.collection_modal .design_title_text .design_title_text_intro[data-v-7293e3bd],.designOpenrtion_modal .design_title_text .design_title_text_intro[data-v-7293e3bd],.design_detail_modal_component .design_title_text .design_title_text_intro[data-v-7293e3bd],.library_page .design_title_text .design_title_text_intro[data-v-7293e3bd]{font-size:var(--aida-fsize1-4);font-weight:400;color:rgba(0,0,0,.45)}.collection_modal .ant-upload.ant-upload-select-picture-card[data-v-7293e3bd],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card[data-v-7293e3bd],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card[data-v-7293e3bd],.library_page .ant-upload.ant-upload-select-picture-card[data-v-7293e3bd]{background:#fff;width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7293e3bd],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7293e3bd],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7293e3bd],.library_page .ant-upload.ant-upload-select-picture-card .upload_tip_block .icon-jiahao[data-v-7293e3bd]{font-size:3.2rem;color:#b7b7b7}.collection_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7293e3bd],.designOpenrtion_modal .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7293e3bd],.design_detail_modal_component .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7293e3bd],.library_page .ant-upload.ant-upload-select-picture-card .ant-upload-text[data-v-7293e3bd]{font-size:1.6rem;color:#b7b7b7}.collection_modal .ant-upload-list-picture-card-container[data-v-7293e3bd],.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-7293e3bd],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-7293e3bd],.library_page .ant-upload-list-picture-card-container[data-v-7293e3bd]{display:none!important}.collection_modal .ant-upload-picture-card-wrapper[data-v-7293e3bd],.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-7293e3bd],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-7293e3bd],.library_page .ant-upload-picture-card-wrapper[data-v-7293e3bd]{width:auto;vertical-align:top}.designOpenrtion_modal .design_closeIcon[data-v-7293e3bd],.design_detail_modal_component .design_closeIcon[data-v-7293e3bd]{top:2rem;right:2rem;cursor:pointer;width:4rem;height:4rem;display:flex;align-items:center;justify-content:center;position:absolute}.designOpenrtion_modal .design_closeIcon .fi-rr-cross-small[data-v-7293e3bd]:before,.design_detail_modal_component .design_closeIcon .fi-rr-cross-small[data-v-7293e3bd]:before{padding:.2rem;border-radius:5px;border:2px solid rgba(0,0,0,.25);transition:all 1s;color:rgba(0,0,0,.55)}.designOpenrtion_modal .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-7293e3bd]:before,.design_detail_modal_component .design_closeIcon.collection_closeIcon:hover .fi-rr-cross-small[data-v-7293e3bd]:before{border:2px solid rgba(0,0,0,.55);color:#000}.designOpenrtion_modal .ant-upload-list-picture-card-container[data-v-7293e3bd],.design_detail_modal_component .ant-upload-list-picture-card-container[data-v-7293e3bd]{display:none!important}.designOpenrtion_modal .ant-upload-picture-card-wrapper[data-v-7293e3bd],.design_detail_modal_component .ant-upload-picture-card-wrapper[data-v-7293e3bd]{width:auto;vertical-align:top}.designOpenrtion_modal .subitOkPreviewBtn[data-v-7293e3bd],.design_detail_modal_component .subitOkPreviewBtn[data-v-7293e3bd]{background-color:#38205b;color:#fff;cursor:pointer;left:50%;position:absolute;transform:translateX(-50%);padding:.5rem 2rem;border-radius:2rem;font-size:1.2rem;display:inline-block}.ant-upload[data-v-7293e3bd],i[data-v-7293e3bd]{font-size:1.4rem}.ant-modal-close-x[data-v-7293e3bd]{width:100%;height:100%}.collection_modal_body .input_box[data-v-7293e3bd],.design_detail_modal_component .input_box[data-v-7293e3bd],.library_page .input_box[data-v-7293e3bd]{display:flex;align-items:center;position:sticky;top:0;background:#fff;padding-top:2.5rem;padding-bottom:2rem;z-index:2}.collection_modal_body .input_box input[data-v-7293e3bd],.design_detail_modal_component .input_box input[data-v-7293e3bd],.library_page .input_box input[data-v-7293e3bd]{border-radius:.5rem;width:70%;border:1px solid rgba(0,0,0,.15);padding-left:1.5rem;border:.1rem solid #f1f1f1;font-size:1.2rem;font-weight:400}.collection_modal_body .input_box inputinput[data-v-7293e3bd]:-moz-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7293e3bd]:-moz-placeholder,.library_page .input_box inputinput[data-v-7293e3bd]:-moz-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-7293e3bd]:-ms-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7293e3bd]:-ms-input-placeholder,.library_page .input_box inputinput[data-v-7293e3bd]:-ms-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box inputinput[data-v-7293e3bd]::-webkit-input-placeholder,.design_detail_modal_component .input_box inputinput[data-v-7293e3bd]::-webkit-input-placeholder,.library_page .input_box inputinput[data-v-7293e3bd]::-webkit-input-placeholder{color:rgba(0,0,0,.15)}.collection_modal_body .input_box span[data-v-7293e3bd],.design_detail_modal_component .input_box span[data-v-7293e3bd],.library_page .input_box span[data-v-7293e3bd]{position:absolute;bottom:0;font-size:1.2rem;color:red;opacity:0;transform:scale(.7);transform-origin:left bottom}.collection_modal_body .input_box.active input[data-v-7293e3bd],.design_detail_modal_component .input_box.active input[data-v-7293e3bd],.library_page .input_box.active input[data-v-7293e3bd]{border:1px solid #ff0001;box-shadow:0 0 3px 1px rgba(255,0,0,.2)}.collection_modal_body .input_box.active span[data-v-7293e3bd],.design_detail_modal_component .input_box.active span[data-v-7293e3bd],.library_page .input_box.active span[data-v-7293e3bd]{opacity:1}.collection_modal_body .input_box .generage_btn[data-v-7293e3bd],.design_detail_modal_component .input_box .generage_btn[data-v-7293e3bd],.library_page .input_box .generage_btn[data-v-7293e3bd]{margin:0 auto}.collection_modal_body .upload_item[data-v-7293e3bd],.design_detail_modal_component .upload_item[data-v-7293e3bd],.library_page .upload_item[data-v-7293e3bd]{display:flex;flex-wrap:wrap}.collection_modal_body .upload_item .upload_file_item[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item[data-v-7293e3bd],.library_page .upload_item .upload_file_item[data-v-7293e3bd]{margin:0 2rem 2rem 0;display:inline-block;width:10rem;height:10rem;border:1px solid #f5f5f5;vertical-align:top;position:relative;cursor:pointer}.collection_modal_body .upload_item .upload_file_item.active[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item.active[data-v-7293e3bd],.library_page .upload_item .upload_file_item.active[data-v-7293e3bd]{opacity:.5;border-radius:1rem;transform:scale(.9)}.collection_modal_body .upload_item .upload_file_item.active .delete_file_block[data-v-7293e3bd],.collection_modal_body .upload_item .upload_file_item.active .operate_file_block[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item.active .delete_file_block[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item.active .operate_file_block[data-v-7293e3bd],.library_page .upload_item .upload_file_item.active .delete_file_block[data-v-7293e3bd],.library_page .upload_item .upload_file_item.active .operate_file_block[data-v-7293e3bd]{pointer-events:none}.collection_modal_body .upload_item .upload_file_item.upload_component[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item.upload_component[data-v-7293e3bd],.library_page .upload_item .upload_file_item.upload_component[data-v-7293e3bd]{border:none;display:flex;align-items:center;justify-content:center}.collection_modal_body .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-picture-card-wrapper,.design_detail_modal_component .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-picture-card-wrapper,.library_page .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-picture-card-wrapper{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.collection_modal_body .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-select-picture-card,.design_detail_modal_component .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-select-picture-card,.library_page .upload_item .upload_file_item[data-v-7293e3bd] .ant-upload-select-picture-card{width:6rem;height:6rem;border:.3rem solid #ededed;border-radius:1rem;margin:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content[data-v-7293e3bd]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:relative}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content:hover .delete_file_block[data-v-7293e3bd]{display:block}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content .upload_img[data-v-7293e3bd]{display:block;height:100%;width:auto;max-width:100%;-o-object-fit:cover;object-fit:cover}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block[data-v-7293e3bd]{display:none;width:100%;cursor:pointer;height:3rem;background:rgba(0,0,0,.2);font-size:1.6rem;color:#fff;line-height:3rem;text-align:center;position:absolute;left:0;bottom:0}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop[data-v-7293e3bd]{width:3.2rem;height:3.2rem;background:rgba(0,0,0,.6);border-radius:.4rem;position:absolute;top:.9rem;right:.9rem;text-align:center;line-height:3.2rem;left:auto}.collection_modal_body .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_file_item_content .delete_file_block.rightTop .icon-shanchu[data-v-7293e3bd]{font-size:1.6rem;color:#fff}.collection_modal_body .upload_item .upload_file_item .upload_img_icon[data-v-7293e3bd],.design_detail_modal_component .upload_item .upload_file_item .upload_img_icon[data-v-7293e3bd],.library_page .upload_item .upload_file_item .upload_img_icon[data-v-7293e3bd]{width:4.6rem}.cut_pricture_modal .ant-modal-content[data-v-7293e3bd]{border-radius:1rem}.cut_pricture_modal .ant-modal-body[data-v-7293e3bd]{height:65rem;padding:8rem 5rem!important;overflow-y:hidden}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-button:single-button{display:block;border-style:solid;height:1.3rem;width:1.4rem}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-button:single-button:vertical:decrement{border-width:0 .8rem .8rem .8rem;border-color:transparent transparent #555 transparent}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-button:single-button:vertical:decrement:hover{border-color:transparent transparent #777 transparent}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-button:single-button:vertical:increment{border-width:.8rem .8rem 0 .8rem;border-color:#555 transparent transparent transparent}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-button:vertical:single-button:increment:hover{border-color:#777 transparent transparent transparent}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar{width:1.4rem}.scroll_style[data-v-7293e3bd]::-webkit-scrollbar-thumb{background:#c2c2c2;opacity:.8;border-radius:.7rem}.mark_loading[data-v-7293e3bd]{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);left:0;top:0;z-index:99999;display:flex;align-items:center;justify-content:center}.robot[data-v-7293e3bd]{position:absolute;bottom:.5rem;right:2.5rem;z-index:10003}.robot .robot_top[data-v-7293e3bd]{width:30rem;margin-left:auto;overflow-x:hidden;transition:all .3s;opacity:0;height:auto;max-height:30rem;display:none}.robot .robot_top.active[data-v-7293e3bd]{opacity:1}.robot .robot_top.robot_top[data-v-7293e3bd]::-webkit-scrollbar{display:none}.robot .robot_top .robot_text[data-v-7293e3bd]{font-size:1.4rem;padding:1rem 1.5rem;display:inline-block;border-radius:2rem;max-width:80%}.robot .robot_top .robot_text .robot_img[data-v-7293e3bd]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.robot .robot_top .robot_text .robot_img.img[data-v-7293e3bd]{width:18rem}.robot .robot_top .robot_text .robot_img .robot_img_item[data-v-7293e3bd]{max-height:100%;position:relative;width:40%;overflow:hidden;margin:0 5%;margin-bottom:5%}.robot .robot_top .robot_text .robot_img .robot_img_item:hover .delete_like_file_block[data-v-7293e3bd]{display:block}.robot .robot_top .robot_text .robot_img img[data-v-7293e3bd]{width:100%;height:8rem;-o-object-fit:contain;object-fit:contain;cursor:auto}.robot .robot_top .robot_text .driver__btn[data-v-7293e3bd]{width:100%;margin-top:1rem;display:flex;justify-content:space-around}.robot .robot_top .robot_text .driver__btn span[data-v-7293e3bd]{font-size:1.4em;color:#9efff4;cursor:pointer}.robot .robot_top .text_left[data-v-7293e3bd],.robot .robot_top .text_right[data-v-7293e3bd]{margin:2rem 0;font-size:1.2rem}.robot .robot_top .text_left[data-v-7293e3bd]{display:flex;justify-content:flex-start}.robot .robot_top .text_left>div[data-v-7293e3bd]{background-color:#e8e8ea;color:#000}.robot .robot_top .text_right[data-v-7293e3bd]{display:flex;justify-content:flex-end}.robot .robot_top .text_right>div[data-v-7293e3bd]{background-color:#835ff7;color:#fff}.robot .robot_top .text_right.white>div[data-v-7293e3bd]{background-color:#fff}.robot .robot_content[data-v-7293e3bd]{opacity:0;width:8rem;height:1.1rem;border-radius:2rem;overflow:hidden;border:.2rem solid;background:#341e57;display:flex;justify-content:flex-end;margin-left:auto;transition:all .3s}.robot .robot_content>div[data-v-7293e3bd]{background:linear-gradient(45deg,#eee4f3,#f3f4e6);height:100%;width:80%;border-radius:2rem}.robot.robot:hover .robot_content[data-v-7293e3bd]{opacity:1}.robot .robot_bottom[data-v-7293e3bd]{display:flex;align-items:center}.robot .robot_input[data-v-7293e3bd]{border:1px solid #d5d5d7;display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background:#fff;border-radius:5px;transition:all .3s;opacity:0;display:none;margin-right:4rem}.robot .robot_input.active[data-v-7293e3bd]{opacity:1}.robot .robot_input input[data-v-7293e3bd]{border:none;font-size:1.2rem;width:25rem}.robot .robot_input .robot_btn[data-v-7293e3bd]{display:flex;height:100%;cursor:pointer}.robot .robot_input .fi-ss-paper-plane-top[data-v-7293e3bd]{display:flex;align-items:center}.robot .robot_input .fi-ss-paper-plane-top[data-v-7293e3bd]:before{color:#835df8}.robot .robot_img[data-v-7293e3bd]{margin-left:auto}.robot .robot_img img[data-v-7293e3bd]{width:8rem;cursor:pointer} \ No newline at end of file diff --git a/dist/css/90.6be384c0.css b/dist/css/865.6be384c0.css similarity index 100% rename from dist/css/90.6be384c0.css rename to dist/css/865.6be384c0.css diff --git a/dist/index.html b/dist/index.html index 8acb9901..0985632a 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -AiDA
\ No newline at end of file +AiDA
\ No newline at end of file diff --git a/dist/js/115.44e53a42.js b/dist/js/115.29fa6aac.js similarity index 99% rename from dist/js/115.44e53a42.js rename to dist/js/115.29fa6aac.js index 0008fc37..28523021 100644 --- a/dist/js/115.44e53a42.js +++ b/dist/js/115.29fa6aac.js @@ -30,7 +30,7 @@ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/js JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/main/LICENSE */ -!function(A){e.exports=A()}((function(){return function e(A,t,i){function n(o,s){if(!t[o]){if(!A[o]){var a=void 0;if(!s&&a)return require(o,!0);if(r)return r(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=t[o]={exports:{}};A[o][0].call(c.exports,(function(e){var t=A[o][1][e];return n(t||e)}),c,c.exports,e,A,t,i)}return t[o].exports}for(var r=void 0,o=0;o>2,s=(3&A)<<4|t>>4,a=1>6:64,l=2>4,t=(15&o)<<4|(s=r.indexOf(e.charAt(l++)))>>2,i=(3&s)<<6|(a=r.indexOf(e.charAt(l++))),u[c++]=A,64!==s&&(u[c++]=t),64!==a&&(u[c++]=i);return u}},{"./support":30,"./utils":32}],2:[function(e,A,t){"use strict";var i=e("./external"),n=e("./stream/DataWorker"),r=e("./stream/Crc32Probe"),o=e("./stream/DataLengthProbe");function s(e,A,t,i,n){this.compressedSize=e,this.uncompressedSize=A,this.crc32=t,this.compression=i,this.compressedContent=n}s.prototype={getContentWorker:function(){var e=new n(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),A=this;return e.on("end",(function(){if(this.streamInfo.data_length!==A.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new n(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,A,t){return e.pipe(new r).pipe(new o("uncompressedSize")).pipe(A.compressWorker(t)).pipe(new o("compressedSize")).withStreamInfo("compression",A)},A.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,A,t){"use strict";var i=e("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},t.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,A,t){"use strict";var i=e("./utils"),n=function(){for(var e,A=[],t=0;t<256;t++){e=t;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;A[t]=e}return A}();A.exports=function(e,A){return void 0!==e&&e.length?"string"!==i.getTypeOf(e)?function(e,A,t,i){var r=n,o=i+t;e^=-1;for(var s=i;s>>8^r[255&(e^A[s])];return-1^e}(0|A,e,e.length,0):function(e,A,t,i){var r=n,o=i+t;e^=-1;for(var s=i;s>>8^r[255&(e^A.charCodeAt(s))];return-1^e}(0|A,e,e.length,0):0}},{"./utils":32}],5:[function(e,A,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(e,A,t){"use strict";var i=null;i="undefined"!=typeof Promise?Promise:e("lie"),A.exports={Promise:i}},{lie:37}],7:[function(e,A,t){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=e("pako"),r=e("./utils"),o=e("./stream/GenericWorker"),s=i?"uint8array":"array";function a(e,A){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=A,this.meta={}}t.magic="\b\0",r.inherits(a,o),a.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(r.transformTo(s,e.data),!1)},a.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},a.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},a.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(A){e.push({data:A,meta:e.meta})}},t.compressWorker=function(e){return new a("Deflate",e)},t.uncompressWorker=function(){return new a("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,A,t){"use strict";function i(e,A){var t,i="";for(t=0;t>>=8;return i}function n(e,A,t,n,o,c){var d,u,h=e.file,g=e.compression,p=c!==s.utf8encode,f=r.transformTo("string",c(h.name)),m=r.transformTo("string",s.utf8encode(h.name)),B=h.comment,w=r.transformTo("string",c(B)),v=r.transformTo("string",s.utf8encode(B)),y=m.length!==h.name.length,C=v.length!==B.length,b="",_="",Q="",U=h.dir,F=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};A&&!t||(x.crc32=e.crc32,x.compressedSize=e.compressedSize,x.uncompressedSize=e.uncompressedSize);var E=0;A&&(E|=8),p||!y&&!C||(E|=2048);var k=0,I=0;U&&(k|=16),"UNIX"===o?(I=798,k|=function(e,A){var t=e;return e||(t=A?16893:33204),(65535&t)<<16}(h.unixPermissions,U)):(I=20,k|=function(e){return 63&(e||0)}(h.dosPermissions)),d=F.getUTCHours(),d<<=6,d|=F.getUTCMinutes(),d<<=5,d|=F.getUTCSeconds()/2,u=F.getUTCFullYear()-1980,u<<=4,u|=F.getUTCMonth()+1,u<<=5,u|=F.getUTCDate(),y&&(_=i(1,1)+i(a(f),4)+m,b+="up"+i(_.length,2)+_),C&&(Q=i(1,1)+i(a(w),4)+v,b+="uc"+i(Q.length,2)+Q);var S="";return S+="\n\0",S+=i(E,2),S+=g.magic,S+=i(d,2),S+=i(u,2),S+=i(x.crc32,4),S+=i(x.compressedSize,4),S+=i(x.uncompressedSize,4),S+=i(f.length,2),S+=i(b.length,2),{fileRecord:l.LOCAL_FILE_HEADER+S+f+b,dirRecord:l.CENTRAL_FILE_HEADER+i(I,2)+S+i(w.length,2)+"\0\0\0\0"+i(k,4)+i(n,4)+f+b+w}}var r=e("../utils"),o=e("../stream/GenericWorker"),s=e("../utf8"),a=e("../crc32"),l=e("../signature");function c(e,A,t,i){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=A,this.zipPlatform=t,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}r.inherits(c,o),c.prototype.push=function(e){var A=e.meta.percent||0,t=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:t?(A+100*(t-i-1))/t:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var A=this.streamFiles&&!e.file.dir;if(A){var t=n(e,A,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:t.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var A=this.streamFiles&&!e.file.dir,t=n(e,A,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(t.dirRecord),A)this.push({data:function(e){return l.DATA_DESCRIPTOR+i(e.crc32,4)+i(e.compressedSize,4)+i(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:t.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,A=0;A=this.index;A--)t=(t<<8)+this.byteAt(A);return this.index+=e,t},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},A.exports=n},{"../utils":32}],19:[function(e,A,t){"use strict";var i=e("./Uint8ArrayReader");function n(e){i.call(this,e)}e("../utils").inherits(n,i),n.prototype.readData=function(e){this.checkOffset(e);var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,A,t){"use strict";var i=e("./DataReader");function n(e){i.call(this,e)}e("../utils").inherits(n,i),n.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},n.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},n.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},n.prototype.readData=function(e){this.checkOffset(e);var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./DataReader":18}],21:[function(e,A,t){"use strict";var i=e("./ArrayReader");function n(e){i.call(this,e)}e("../utils").inherits(n,i),n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var A=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(e,A,t){"use strict";var i=e("../utils"),n=e("../support"),r=e("./ArrayReader"),o=e("./StringReader"),s=e("./NodeBufferReader"),a=e("./Uint8ArrayReader");A.exports=function(e){var A=i.getTypeOf(e);return i.checkSupport(A),"string"!==A||n.uint8array?"nodebuffer"===A?new s(e):n.uint8array?new a(i.transformTo("uint8array",e)):new r(i.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,A,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,A,t){"use strict";var i=e("./GenericWorker"),n=e("../utils");function r(e){i.call(this,"ConvertWorker to "+e),this.destType=e}n.inherits(r,i),r.prototype.processChunk=function(e){this.push({data:n.transformTo(this.destType,e.data),meta:e.meta})},A.exports=r},{"../utils":32,"./GenericWorker":28}],25:[function(e,A,t){"use strict";var i=e("./GenericWorker"),n=e("../crc32");function r(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(r,i),r.prototype.processChunk=function(e){this.streamInfo.crc32=n(e.data,this.streamInfo.crc32||0),this.push(e)},A.exports=r},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,A,t){"use strict";var i=e("../utils"),n=e("./GenericWorker");function r(e){n.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(r,n),r.prototype.processChunk=function(e){if(e){var A=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=A+e.data.length}n.prototype.processChunk.call(this,e)},A.exports=r},{"../utils":32,"./GenericWorker":28}],27:[function(e,A,t){"use strict";var i=e("../utils"),n=e("./GenericWorker");function r(e){n.call(this,"DataWorker");var A=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){A.dataIsReady=!0,A.data=e,A.max=e&&e.length||0,A.type=i.getTypeOf(e),A.isPaused||A._tickAndRepeat()}),(function(e){A.error(e)}))}i.inherits(r,n),r.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},r.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},r.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},r.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,A=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,A);break;case"uint8array":e=this.data.subarray(this.index,A);break;case"array":case"nodebuffer":e=this.data.slice(this.index,A)}return this.index=A,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},A.exports=r},{"../utils":32,"./GenericWorker":28}],28:[function(e,A,t){"use strict";function i(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,A){return this._listeners[e].push(A),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,A){if(this._listeners[e])for(var t=0;t "+e:e}},A.exports=i},{}],29:[function(e,A,t){"use strict";var i=e("../utils"),n=e("./ConvertWorker"),r=e("./GenericWorker"),o=e("../base64"),s=e("../support"),a=e("../external"),l=null;if(s.nodestream)try{l=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function c(e,A){return new a.Promise((function(t,n){var r=[],s=e._internalType,a=e._outputType,l=e._mimeType;e.on("data",(function(e,t){r.push(e),A&&A(t)})).on("error",(function(e){r=[],n(e)})).on("end",(function(){try{var e=function(e,A,t){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",A),t);case"base64":return o.encode(A);default:return i.transformTo(e,A)}}(a,function(e,A){var t,i=0,n=null,r=0;for(t=0;t>>6:(t<65536?A[o++]=224|t>>>12:(A[o++]=240|t>>>18,A[o++]=128|t>>>12&63),A[o++]=128|t>>>6&63),A[o++]=128|63&t);return A}(e)},t.utf8decode=function(e){return n.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var A,t,n,r,o=e.length,a=new Array(2*o);for(A=t=0;A>10&1023,a[t++]=56320|1023&n)}return a.length!==t&&(a.subarray?a=a.subarray(0,t):a.length=t),i.applyFromCharCode(a)}(e=i.transformTo(n.uint8array?"uint8array":"array",e))},i.inherits(l,o),l.prototype.processChunk=function(e){var A=i.transformTo(n.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var r=A;(A=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),A.set(r,this.leftOver.length)}else A=this.leftOver.concat(A);this.leftOver=null}var o=function(e,A){var t;for((A=A||e.length)>e.length&&(A=e.length),t=A-1;0<=t&&128==(192&e[t]);)t--;return t<0||0===t?A:t+s[e[t]]>A?t:A}(A),a=A;o!==A.length&&(n.uint8array?(a=A.subarray(0,o),this.leftOver=A.subarray(o,A.length)):(a=A.slice(0,o),this.leftOver=A.slice(o,A.length))),this.push({data:t.utf8decode(a),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=l,i.inherits(c,o),c.prototype.processChunk=function(e){this.push({data:t.utf8encode(e.data),meta:e.meta})},t.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,A,t){"use strict";var i=e("./support"),n=e("./base64"),r=e("./nodejsUtils"),o=e("./external");function s(e){return e}function a(e,A){for(var t=0;t>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=i(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var A,t,i,n=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(t<65536?A[o++]=224|t>>>12:(A[o++]=240|t>>>18,A[o++]=128|t>>>12&63),A[o++]=128|t>>>6&63),A[o++]=128|63&t);return A},t.buf2binstring=function(e){return a(e,e.length)},t.binstring2buf=function(e){for(var A=new i.Buf8(e.length),t=0,n=A.length;t>10&1023,l[i++]=56320|1023&n)}return a(l,i)},t.utf8border=function(e,A){var t;for((A=A||e.length)>e.length&&(A=e.length),t=A-1;0<=t&&128==(192&e[t]);)t--;return t<0||0===t?A:t+o[e[t]]>A?t:A}},{"./common":41}],43:[function(e,A,t){"use strict";A.exports=function(e,A,t,i){for(var n=65535&e|0,r=e>>>16&65535|0,o=0;0!==t;){for(t-=o=2e3>>1:e>>>1;A[t]=e}return A}();A.exports=function(e,A,t,n){var r=i,o=n+t;e^=-1;for(var s=n;s>>8^r[255&(e^A[s])];return-1^e}},{}],46:[function(e,A,t){"use strict";var i,n=e("../utils/common"),r=e("./trees"),o=e("./adler32"),s=e("./crc32"),a=e("./messages"),l=0,c=4,d=0,u=-2,h=-1,g=4,p=2,f=8,m=9,B=286,w=30,v=19,y=2*B+1,C=15,b=3,_=258,Q=_+b+1,U=42,F=113,x=1,E=2,k=3,I=4;function S(e,A){return e.msg=a[A],A}function D(e){return(e<<1)-(4e.avail_out&&(t=e.avail_out),0!==t&&(n.arraySet(e.output,A.pending_buf,A.pending_out,t,e.next_out),e.next_out+=t,A.pending_out+=t,e.total_out+=t,e.avail_out-=t,A.pending-=t,0===A.pending&&(A.pending_out=0))}function O(e,A){r._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,A),e.block_start=e.strstart,L(e.strm)}function M(e,A){e.pending_buf[e.pending++]=A}function T(e,A){e.pending_buf[e.pending++]=A>>>8&255,e.pending_buf[e.pending++]=255&A}function N(e,A){var t,i,n=e.max_chain_length,r=e.strstart,o=e.prev_length,s=e.nice_match,a=e.strstart>e.w_size-Q?e.strstart-(e.w_size-Q):0,l=e.window,c=e.w_mask,d=e.prev,u=e.strstart+_,h=l[r+o-1],g=l[r+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(t=A)+o]===g&&l[t+o-1]===h&&l[t]===l[r]&&l[++t]===l[r+1]){r+=2,t++;do{}while(l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&ra&&0!=--n);return o<=e.lookahead?o:e.lookahead}function K(e){var A,t,i,r,a,l,c,d,u,h,g=e.w_size;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=g+(g-Q)){for(n.arraySet(e.window,e.window,g,g,0),e.match_start-=g,e.strstart-=g,e.block_start-=g,A=t=e.hash_size;i=e.head[--A],e.head[A]=g<=i?i-g:0,--t;);for(A=t=g;i=e.prev[--A],e.prev[A]=g<=i?i-g:0,--t;);r+=g}if(0===e.strm.avail_in)break;if(l=e.strm,c=e.window,d=e.strstart+e.lookahead,u=r,h=void 0,h=l.avail_in,u=b)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<=b&&(e.ins_h=(e.ins_h<=b)if(i=r._tr_tally(e,e.strstart-e.match_start,e.match_length-b),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=b){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=b&&(e.ins_h=(e.ins_h<=b&&e.match_length<=e.prev_length){for(n=e.strstart+e.lookahead-b,i=r._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-b),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=n&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(K(e),0===e.lookahead&&A===l)return x;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+t;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,O(e,!1),0===e.strm.avail_out))return x;if(e.strstart-e.block_start>=e.w_size-Q&&(O(e,!1),0===e.strm.avail_out))return x}return e.insert=0,A===c?(O(e,!0),0===e.strm.avail_out?k:I):(e.strstart>e.block_start&&(O(e,!1),e.strm.avail_out),x)})),new V(4,4,8,4,P),new V(4,5,16,8,P),new V(4,6,32,32,P),new V(4,4,16,16,R),new V(8,16,32,32,R),new V(8,16,128,128,R),new V(8,32,128,256,R),new V(32,128,258,1024,R),new V(32,258,258,4096,R)],t.deflateInit=function(e,A){return Z(e,A,f,15,8,0)},t.deflateInit2=Z,t.deflateReset=z,t.deflateResetKeep=j,t.deflateSetHeader=function(e,A){return e&&e.state?2!==e.state.wrap?u:(e.state.gzhead=A,d):u},t.deflate=function(e,A){var t,n,o,a;if(!e||!e.state||5>8&255),M(n,n.gzhead.time>>16&255),M(n,n.gzhead.time>>24&255),M(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),M(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(M(n,255&n.gzhead.extra.length),M(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=s(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(M(n,0),M(n,0),M(n,0),M(n,0),M(n,0),M(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),M(n,3),n.status=F);else{var h=f+(n.w_bits-8<<4)<<8;h|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(h|=32),h+=31-h%31,n.status=F,T(n,h),0!==n.strstart&&(T(n,e.adler>>>16),T(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(o=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),L(e),o=n.pending,n.pending!==n.pending_buf_size));)M(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),L(e),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindexo&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),L(e),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindexo&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(e),n.pending+2<=n.pending_buf_size&&(M(n,255&e.adler),M(n,e.adler>>8&255),e.adler=0,n.status=F)):n.status=F),0!==n.pending){if(L(e),0===e.avail_out)return n.last_flush=-1,d}else if(0===e.avail_in&&D(A)<=D(t)&&A!==c)return S(e,-5);if(666===n.status&&0!==e.avail_in)return S(e,-5);if(0!==e.avail_in||0!==n.lookahead||A!==l&&666!==n.status){var g=2===n.strategy?function(e,A){for(var t;;){if(0===e.lookahead&&(K(e),0===e.lookahead)){if(A===l)return x;break}if(e.match_length=0,t=r._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(O(e,!1),0===e.strm.avail_out))return x}return e.insert=0,A===c?(O(e,!0),0===e.strm.avail_out?k:I):e.last_lit&&(O(e,!1),0===e.strm.avail_out)?x:E}(n,A):3===n.strategy?function(e,A){for(var t,i,n,o,s=e.window;;){if(e.lookahead<=_){if(K(e),e.lookahead<=_&&A===l)return x;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=b&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=b?(t=r._tr_tally(e,1,e.match_length-b),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=r._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(O(e,!1),0===e.strm.avail_out))return x}return e.insert=0,A===c?(O(e,!0),0===e.strm.avail_out?k:I):e.last_lit&&(O(e,!1),0===e.strm.avail_out)?x:E}(n,A):i[n.level].func(n,A);if(g!==k&&g!==I||(n.status=666),g===x||g===k)return 0===e.avail_out&&(n.last_flush=-1),d;if(g===E&&(1===A?r._tr_align(n):5!==A&&(r._tr_stored_block(n,0,0,!1),3===A&&(H(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(e),0===e.avail_out))return n.last_flush=-1,d}return A!==c?d:n.wrap<=0?1:(2===n.wrap?(M(n,255&e.adler),M(n,e.adler>>8&255),M(n,e.adler>>16&255),M(n,e.adler>>24&255),M(n,255&e.total_in),M(n,e.total_in>>8&255),M(n,e.total_in>>16&255),M(n,e.total_in>>24&255)):(T(n,e.adler>>>16),T(n,65535&e.adler)),L(e),0=t.w_size&&(0===s&&(H(t.head),t.strstart=0,t.block_start=0,t.insert=0),h=new n.Buf8(t.w_size),n.arraySet(h,A,g-t.w_size,t.w_size,0),A=h,g=t.w_size),a=e.avail_in,l=e.next_in,c=e.input,e.avail_in=g,e.next_in=0,e.input=A,K(t);t.lookahead>=b;){for(i=t.strstart,r=t.lookahead-(b-1);t.ins_h=(t.ins_h<>>=v=w>>>24,g-=v,0===(v=w>>>16&255))U[r++]=65535&w;else{if(!(16&v)){if(0==(64&v)){w=p[(65535&w)+(h&(1<>>=v,g-=v),g<15&&(h+=Q[i++]<>>=v=w>>>24,g-=v,!(16&(v=w>>>16&255))){if(0==(64&v)){w=f[(65535&w)+(h&(1<>>=v,g-=v,(v=r-o)>3,h&=(1<<(g-=y<<3))-1,e.next_in=i,e.next_out=r,e.avail_in=i>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function f(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function m(e){var A;return e&&e.state?(A=e.state,e.total_in=e.total_out=A.total=0,e.msg="",A.wrap&&(e.adler=1&A.wrap),A.mode=u,A.last=0,A.havedict=0,A.dmax=32768,A.head=null,A.hold=0,A.bits=0,A.lencode=A.lendyn=new i.Buf32(h),A.distcode=A.distdyn=new i.Buf32(g),A.sane=1,A.back=-1,c):d}function B(e){var A;return e&&e.state?((A=e.state).wsize=0,A.whave=0,A.wnext=0,m(e)):d}function w(e,A){var t,i;return e&&e.state?(i=e.state,A<0?(t=0,A=-A):(t=1+(A>>4),A<48&&(A&=15)),A&&(A<8||15=o.wsize?(i.arraySet(o.window,A,t-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(r=o.wsize-o.wnext)&&(r=n),i.arraySet(o.window,A,t-n,r,o.wnext),(n-=r)?(i.arraySet(o.window,A,t-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,t.check=r(t.check,K,2,0),y=v=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&v)<<8)+(v>>8))%31){e.msg="incorrect header check",t.mode=30;break}if(8!=(15&v)){e.msg="unknown compression method",t.mode=30;break}if(y-=4,L=8+(15&(v>>>=4)),0===t.wbits)t.wbits=L;else if(L>t.wbits){e.msg="invalid window size",t.mode=30;break}t.dmax=1<>8&1),512&t.flags&&(K[0]=255&v,K[1]=v>>>8&255,t.check=r(t.check,K,2,0)),y=v=0,t.mode=3;case 3:for(;y<32;){if(0===B)break e;B--,v+=h[f++]<>>8&255,K[2]=v>>>16&255,K[3]=v>>>24&255,t.check=r(t.check,K,4,0)),y=v=0,t.mode=4;case 4:for(;y<16;){if(0===B)break e;B--,v+=h[f++]<>8),512&t.flags&&(K[0]=255&v,K[1]=v>>>8&255,t.check=r(t.check,K,2,0)),y=v=0,t.mode=5;case 5:if(1024&t.flags){for(;y<16;){if(0===B)break e;B--,v+=h[f++]<>>8&255,t.check=r(t.check,K,2,0)),y=v=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&(B<(U=t.length)&&(U=B),U&&(t.head&&(L=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),i.arraySet(t.head.extra,h,f,U,L)),512&t.flags&&(t.check=r(t.check,h,U,f)),B-=U,f+=U,t.length-=U),t.length))break e;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(0===B)break e;for(U=0;L=h[f+U++],t.head&&L&&t.length<65536&&(t.head.name+=String.fromCharCode(L)),L&&U>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=12;break;case 10:for(;y<32;){if(0===B)break e;B--,v+=h[f++]<>>=7&y,y-=7&y,t.mode=27;break}for(;y<3;){if(0===B)break e;B--,v+=h[f++]<>>=1)){case 0:t.mode=14;break;case 1:if(_(t),t.mode=20,6!==A)break;v>>>=2,y-=2;break e;case 2:t.mode=17;break;case 3:e.msg="invalid block type",t.mode=30}v>>>=2,y-=2;break;case 14:for(v>>>=7&y,y-=7&y;y<32;){if(0===B)break e;B--,v+=h[f++]<>>16^65535)){e.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&v,y=v=0,t.mode=15,6===A)break e;case 15:t.mode=16;case 16:if(U=t.length){if(B>>=5,y-=5,t.ndist=1+(31&v),v>>>=5,y-=5,t.ncode=4+(15&v),v>>>=4,y-=4,286>>=3,y-=3}for(;t.have<19;)t.lens[P[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,M={bits:t.lenbits},O=s(0,t.lens,0,19,t.lencode,0,t.work,M),t.lenbits=M.bits,O){e.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have>>16&255,I=65535&N,!((E=N>>>24)<=y);){if(0===B)break e;B--,v+=h[f++]<>>=E,y-=E,t.lens[t.have++]=I;else{if(16===I){for(T=E+2;y>>=E,y-=E,0===t.have){e.msg="invalid bit length repeat",t.mode=30;break}L=t.lens[t.have-1],U=3+(3&v),v>>>=2,y-=2}else if(17===I){for(T=E+3;y>>=E)),v>>>=3,y-=3}else{for(T=E+7;y>>=E)),v>>>=7,y-=7}if(t.have+U>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=30;break}for(;U--;)t.lens[t.have++]=L}}if(30===t.mode)break;if(0===t.lens[256]){e.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,M={bits:t.lenbits},O=s(a,t.lens,0,t.nlen,t.lencode,0,t.work,M),t.lenbits=M.bits,O){e.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,M={bits:t.distbits},O=s(l,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,M),t.distbits=M.bits,O){e.msg="invalid distances set",t.mode=30;break}if(t.mode=20,6===A)break e;case 20:t.mode=21;case 21:if(6<=B&&258<=w){e.next_out=m,e.avail_out=w,e.next_in=f,e.avail_in=B,t.hold=v,t.bits=y,o(e,b),m=e.next_out,g=e.output,w=e.avail_out,f=e.next_in,h=e.input,B=e.avail_in,v=t.hold,y=t.bits,12===t.mode&&(t.back=-1);break}for(t.back=0;k=(N=t.lencode[v&(1<>>16&255,I=65535&N,!((E=N>>>24)<=y);){if(0===B)break e;B--,v+=h[f++]<>S)])>>>16&255,I=65535&N,!(S+(E=N>>>24)<=y);){if(0===B)break e;B--,v+=h[f++]<>>=S,y-=S,t.back+=S}if(v>>>=E,y-=E,t.back+=E,t.length=I,0===k){t.mode=26;break}if(32&k){t.back=-1,t.mode=12;break}if(64&k){e.msg="invalid literal/length code",t.mode=30;break}t.extra=15&k,t.mode=22;case 22:if(t.extra){for(T=t.extra;y>>=t.extra,y-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;k=(N=t.distcode[v&(1<>>16&255,I=65535&N,!((E=N>>>24)<=y);){if(0===B)break e;B--,v+=h[f++]<>S)])>>>16&255,I=65535&N,!(S+(E=N>>>24)<=y);){if(0===B)break e;B--,v+=h[f++]<>>=S,y-=S,t.back+=S}if(v>>>=E,y-=E,t.back+=E,64&k){e.msg="invalid distance code",t.mode=30;break}t.offset=I,t.extra=15&k,t.mode=24;case 24:if(t.extra){for(T=t.extra;y>>=t.extra,y-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(0===w)break e;if(U=b-w,t.offset>U){if((U=t.offset-U)>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=30;break}F=U>t.wnext?(U-=t.wnext,t.wsize-U):t.wnext-U,U>t.length&&(U=t.length),x=t.window}else x=g,F=m-t.offset,U=t.length;for(wB?(v=M[T+d[_]],D[H+d[_]]):(v=96,0),h=1<>E)+(g-=h)]=w<<24|v<<16|y|0,0!==g;);for(h=1<>=1;if(0!==h?(S&=h-1,S+=h):S=0,_++,0==--L[b]){if(b===U)break;b=A[t+d[_]]}if(F>>7)]}function M(e,A){e.pending_buf[e.pending++]=255&A,e.pending_buf[e.pending++]=A>>>8&255}function T(e,A,t){e.bi_valid>p-t?(e.bi_buf|=A<>p-e.bi_valid,e.bi_valid+=t-p):(e.bi_buf|=A<>>=1,t<<=1,0<--A;);return t>>>1}function P(e,A,t){var i,n,r=new Array(g+1),o=0;for(i=1;i<=g;i++)r[i]=o=o+t[i-1]<<1;for(n=0;n<=A;n++){var s=e[2*n+1];0!==s&&(e[2*n]=K(r[s]++,s))}}function R(e){var A;for(A=0;A>1;1<=t;t--)j(e,r,t);for(n=a;t=e.heap[1],e.heap[1]=e.heap[e.heap_len--],j(e,r,1),i=e.heap[1],e.heap[--e.heap_max]=t,e.heap[--e.heap_max]=i,r[2*n]=r[2*t]+r[2*i],e.depth[n]=(e.depth[t]>=e.depth[i]?e.depth[t]:e.depth[i])+1,r[2*t+1]=r[2*i+1]=n,e.heap[1]=n++,j(e,r,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,A){var t,i,n,r,o,s,a=A.dyn_tree,l=A.max_code,c=A.stat_desc.static_tree,d=A.stat_desc.has_stree,u=A.stat_desc.extra_bits,p=A.stat_desc.extra_base,f=A.stat_desc.max_length,m=0;for(r=0;r<=g;r++)e.bl_count[r]=0;for(a[2*e.heap[e.heap_max]+1]=0,t=e.heap_max+1;t>=7;i>>=1)if(1&t&&0!==e.dyn_ltree[2*A])return n;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return r;for(A=32;A>>3,(s=e.static_len+3+7>>>3)<=o&&(o=s)):o=s=t+5,t+4<=o&&-1!==A?J(e,A,t,i):4===e.strategy||s===o?(T(e,2+(i?1:0),3),z(e,Q,U)):(T(e,4+(i?1:0),3),function(e,A,t,i){var n;for(T(e,A-257,5),T(e,t-1,5),T(e,i-4,4),n=0;n>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&A,e.pending_buf[e.l_buf+e.last_lit]=255&t,e.last_lit++,0===A?e.dyn_ltree[2*t]++:(e.matches++,A--,e.dyn_ltree[2*(x[t]+l+1)]++,e.dyn_dtree[2*O(A)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){T(e,2,3),N(e,m,Q),function(e){16===e.bi_valid?(M(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,A,t){"use strict";A.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,A,i){(function(e){!function(e,A){"use strict";if(!e.setImmediate){var t,i,n,r,o=1,s={},a=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,t="[object process]"==={}.toString.call(e.process)?function(e){process.nextTick((function(){u(e)}))}:function(){if(e.postMessage&&!e.importScripts){var A=!0,t=e.onmessage;return e.onmessage=function(){A=!1},e.postMessage("","*"),e.onmessage=t,A}}()?(r="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",h,!1):e.attachEvent("onmessage",h),function(A){e.postMessage(r+A,"*")}):e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){u(e.data)},function(e){n.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(i=l.documentElement,function(e){var A=l.createElement("script");A.onreadystatechange=function(){u(e),A.onreadystatechange=null,i.removeChild(A),A=null},i.appendChild(A)}):function(e){setTimeout(u,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var A=new Array(arguments.length-1),i=0;iA?1:0},sum:function(e,A){var t={};return e.reduce(A?function(e,i,n){return t.index=n,e+A.call(t,i)}:function(e,A){return e+A},0)},max:function(e,t){return Math.max.apply(null,t?A.map(e,t):e)}};var t=function(){var e=5,t=8-e,i=1e3,n=.75;function r(A,t,i){return(A<<2*e)+(t<>t,o=e[1]>>t,s=e[2]>>t,i=r(n,o,s),l[i]=(l[i]||0)+1})),l}function c(e,A){var i,n,r,o=1e6,a=0,l=1e6,c=0,d=1e6,u=0;return e.forEach((function(e){i=e[0]>>t,n=e[1]>>t,r=e[2]>>t,ia&&(a=i),nc&&(c=n),ru&&(u=r)})),new s(o,a,l,c,d,u,A)}function d(e,t){if(t.count()){var i=t.r2-t.r1+1,n=t.g2-t.g1+1,o=t.b2-t.b1+1,s=A.max([i,n,o]);if(1==t.count())return[t.copy()];var a,l,c,d,u,h=0,g=[],p=[];if(s==i)for(a=t.r1;a<=t.r2;a++){for(d=0,l=t.g1;l<=t.g2;l++)for(c=t.b1;c<=t.b2;c++)u=r(a,l,c),d+=e[u]||0;h+=d,g[a]=h}else if(s==n)for(a=t.g1;a<=t.g2;a++){for(d=0,l=t.r1;l<=t.r2;l++)for(c=t.b1;c<=t.b2;c++)u=r(l,a,c),d+=e[u]||0;h+=d,g[a]=h}else for(a=t.b1;a<=t.b2;a++){for(d=0,l=t.r1;l<=t.r2;l++)for(c=t.g1;c<=t.g2;c++)u=r(l,c,a),d+=e[u]||0;h+=d,g[a]=h}return g.forEach((function(e,A){p[A]=h-e})),f(s==i?"r":s==n?"g":"b")}function f(e){var A,i,n,r,o,s=e+"1",l=e+"2",c=0;for(a=t[s];a<=t[l];a++)if(g[a]>h/2){n=t.copy(),r=t.copy(),A=a-t[s],i=t[l]-a,o=A<=i?Math.min(t[l]-1,~~(a+i/2)):Math.max(t[s],~~(a-1-A/2));while(!g[o])o++;c=p[o];while(!c&&g[o-1])c=p[--o];return n[l]=o,r[s]=n[l]+1,[n,r]}}}function u(e,t){if(!e.length||t<2||t>256)return!1;var r=l(e);r.forEach((function(){0}));var s=c(e,r),u=new o((function(e,t){return A.naturalOrder(e.count(),t.count())}));function h(e,A){var t,n=1,o=0;while(o=A)return;if(o++>i)return}else e.push(t),o++}u.push(s),h(u,n*t);var g=new o((function(e,t){return A.naturalOrder(e.count()*e.volume(),t.count()*t.volume())}));while(u.size())g.push(u.pop());h(g,t-g.size());var p=new a;while(g.size())p.push(g.pop());return p}return s.prototype={volume:function(e){var A=this;return A._volume&&!e||(A._volume=(A.r2-A.r1+1)*(A.g2-A.g1+1)*(A.b2-A.b1+1)),A._volume},count:function(e){var A=this,t=A.histo;if(!A._count_set||e){var i,n,o,s,a=0;for(i=A.r1;i<=A.r2;i++)for(n=A.g1;n<=A.g2;n++)for(o=A.b1;o<=A.b2;o++)s=r(i,n,o),a+=t[s]||0;A._count=a,A._count_set=!0}return A._count},copy:function(){var e=this;return new s(e.r1,e.r2,e.g1,e.g2,e.b1,e.b2,e.histo)},avg:function(A){var t=this,i=t.histo;if(!t._avg||A){var n,o,s,a,l,c=0,d=1<<8-e,u=0,h=0,g=0;for(o=t.r1;o<=t.r2;o++)for(s=t.g1;s<=t.g2;s++)for(a=t.b1;a<=t.b2;a++)l=r(o,s,a),n=i[l]||0,c+=n,u+=n*(o+.5)*d,h+=n*(s+.5)*d,g+=n*(a+.5)*d;t._avg=c?[~~(u/c),~~(h/c),~~(g/c)]:[~~(d*(t.r1+t.r2+1)/2),~~(d*(t.g1+t.g2+1)/2),~~(d*(t.b1+t.b2+1)/2)]}return t._avg},contains:function(e){var A=this,i=e[0]>>t;return gval=e[1]>>t,bval=e[2]>>t,i>=A.r1&&i<=A.r2&&gval>=A.g1&&gval<=A.g2&&bval>=A.b1&&bval<=A.b2}},a.prototype={push:function(e){this.vboxes.push({vbox:e,color:e.avg()})},palette:function(){return this.vboxes.map((function(e){return e.color}))},size:function(){return this.vboxes.size()},map:function(e){for(var A=this.vboxes,t=0;t251&&n[1]>251&&n[2]>251&&(e[i].color=[255,255,255])}},{quantize:u}}();e.exports=t.quantize},5115:function(e,A,t){"use strict";t.r(A),t.d(A,{default:function(){return $u}});var n=t(6252),r=t(3577),o=t(9963);const s=e=>((0,n.dD)("data-v-3380e119"),e=e(),(0,n.Cn)(),e),a={class:"home_page Guide_1_16_1"},l={class:"page_content"},c={class:"page_content_body"},d={class:"home_page_body"},u={class:"home_page_left"},h={class:"home_page_left_content"},g={class:"home_left_null"},p={class:"is_finish_loading"},f={class:"home_left_info"},m={class:"left_info_top"},B={class:"left_info_content scroll_style"},w={class:"left_info_content_body",ref:"collection_canvas"},v={class:"home_page_right"},y={class:"right_top"},C={class:"right_top_left"},b={class:"right_content_block"},_={class:"right_content_header"},Q={class:"content_header_left"},U=s((()=>(0,n._)("i",{class:"fi fi-rs-comments"},null,-1))),F={class:"content_header_des"},x={class:"right_content_body"},E={class:"right_content_img_item"},k=["onClick"],I=["src"],S=["onClick"],D={class:"right_content_header"},H={class:"content_header_left"},L=s((()=>(0,n._)("i",{class:"fi fi-rs-comments"},null,-1))),O={class:"content_header_des"},M={class:"right_content_export"},T={class:"right_content_body"},N={class:"right_content_img_item",id:"right_content_img_block"},K=["onClick","onDragstart","onDrop"],P={class:"content_img_flex"},R=["src"],V=["onClick"],G={class:"mark_loading"},j={class:"progress_mark"},z={class:"mark_content Guide_1_16"};function Z(e,A,t,i,s,Z){const W=(0,n.up)("HeaderComponent"),Y=(0,n.up)("a-spin"),X=(0,n.up)("NewCollectionReview"),J=(0,n.up)("a-checkbox"),$=(0,n.up)("CollectionModal"),q=(0,n.up)("DesignDetail"),ee=(0,n.up)("ExportNewCoolection"),Ae=(0,n.up)("a-progress"),te=(0,n.up)("RobotAssist"),ie=(0,n.Q2)("mousewheel");return(0,n.wg)(),(0,n.iD)("div",a,[(0,n.Wm)(W),(0,n._)("div",l,[(0,n._)("div",c,[(0,n._)("div",d,[(0,n._)("div",u,[(0,n._)("div",h,[(0,n.wy)((0,n._)("div",g,[(0,n._)("div",null,[(0,n._)("div",{id:"Guide_1_1",class:"new_collection_button Guide_1_1",onClick:A[0]||(A[0]=A=>e.startNewCollection())},(0,r.zw)(e.$t("HomeView.GetStarted")),1)]),(0,n.wy)((0,n._)("div",p,[(0,n.Wm)(Y,{size:"large"})],512),[[o.F8,e.isFinishLoading]])],512),[[o.F8,!e.isHaveReviewCollection]]),(0,n.wy)((0,n._)("div",f,[(0,n._)("div",m,[(0,n._)("div",{class:"button_second",onClick:A[1]||(A[1]=A=>e.startNewCollection())},(0,r.zw)(e.$t("HomeView.Start")),1),(0,n._)("div",{class:"button_first button_margin",onClick:A[2]||(A[2]=A=>e.recollection())},(0,r.zw)(e.$t("HomeView.Edit")),1)]),(0,n._)("div",B,[(0,n._)("div",w,[(0,n.Wm)(X,{id:"collectionReview"})],512)])],512),[[o.F8,e.isHaveReviewCollection]])])]),(0,n._)("div",v,[(0,n._)("div",y,[(0,n._)("div",C,[(0,n._)("div",{class:"button_second Guide_1_15",onClick:A[3]||(A[3]=A=>e.designNewCollection())},(0,r.zw)(e.$t("HomeView.Design")),1),(0,n.wy)((0,n._)("div",{class:"button_first button_margin_14 Guide_1_30",onClick:A[4]||(A[4]=A=>e.resDesignCollection())},(0,r.zw)(e.$t("HomeView.Redesign")),513),[[o.F8,e.designCollectionId]])])]),(0,n._)("div",b,[(0,n._)("div",_,[(0,n._)("div",Q,[U,(0,n._)("span",F,(0,r.zw)(e.$t("HomeView.GeneratedDesign")),1)])]),(0,n._)("div",x,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["right_content_img_block scroll_style Guide_1_17",[0!=e.designCollectionList.length?"active":"",e.driver__.driver?"showEvents":""]])},[(0,n._)("div",E,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.designCollectionList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_block",key:A?.designItemId},[(0,n._)("div",{class:(0,r.C_)(["content_img_flex",[e.driver__.driver&&37==e.driver__.index?"hideEvents":""]]),onClick:i=>e.designDetail(A,t,e.designCollectionList,"dislike")},[(0,n._)("img",{class:"content_img",src:A.designOutfitUrl},null,8,I)],10,k),(0,n._)("div",{class:(0,r.C_)(["icon iconfont icon-jushoucang icon_like",[0==t&&37==e.driver__.index?"Guide_active showEvents":""]]),onClick:(0,o.iM)((i=>e.likeDesignCollection(A,t)),["stop"])},null,10,S)])))),128))])],2)),[[ie]])]),(0,n._)("div",D,[(0,n._)("div",H,[L,(0,n._)("span",O,(0,r.zw)(e.$t("HomeView.SelectedDesign")),1)]),(0,n.wy)((0,n._)("div",M,[(0,n._)("div",{class:"button_second Guide_1_31",onClick:A[5]||(A[5]=A=>e.exportCanvas())},(0,r.zw)(e.$t("HomeView.Export")),1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",e.isShowOperate?"icon_rotate":""]),onClick:A[6]||(A[6]=(0,o.iM)((A=>e.changeShowOperateContent()),["stop"]))},null,2),(0,n.wy)((0,n._)("div",{class:"export_nav",onClick:A[7]||(A[7]=(0,o.iM)((()=>{}),["stop"]))},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.exportNav,(e=>((0,n.wg)(),(0,n.j4)(J,{checked:e.change,"onUpdate:checked":A=>e.change=A,disabled:e.noChange},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(e.name),1)])),_:2},1032,["checked","onUpdate:checked","disabled"])))),256))],512),[[o.F8,e.isShowOperate]])],512),[[o.F8,e.likeDesignCollectionList.length]])]),(0,n._)("div",T,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["right_content_img_block scroll_style",{active:0!=e.likeDesignCollectionList.length}])},[(0,n._)("div",N,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.likeDesignCollectionList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_block",draggable:"",key:t.id,onClick:A=>e.designDetail(t,i,e.likeDesignCollectionList,"like"),onDragstart:A=>e.dragstart(A,i),onDragover:A[8]||(A[8]=(0,o.iM)((()=>{}),["prevent"])),onDrop:A=>e.dragDrop(A,i)},[(0,n._)("div",P,[((0,n.wg)(),(0,n.iD)("img",{class:"content_img",src:t.designOutfitUrl,key:t.designOutfitUrl},null,8,R))]),(0,n._)("div",{class:"icon iconfont icon-jushoucanggift icon_like",onClick:(0,o.iM)((A=>e.dislikeDesignCollection(t,i)),["stop"])},null,8,V)],40,K)))),128))])],2)),[[ie]])])])])])])]),(0,n.Wm)($,{ref:"collectionModal",onFinishCollection:A[9]||(A[9]=A=>e.finishCollection())},null,512),(0,n.Wm)(q,{ref:"designDetail",onFinishRedesign:e.finishRedesign},null,8,["onFinishRedesign"]),(0,n.Wm)(ee,{id:"exportNewCoolection"}),(0,n.wy)((0,n._)("div",G,[(0,n.Wm)(Y,{size:"large"})],512),[[o.F8,e.isShowMark]]),(0,n.wy)((0,n._)("div",j,[(0,n._)("div",z,[(0,n.Wm)(Ae,{type:"circle",percent:e.designProgress,strokeColor:"#341e57",width:200},null,8,["percent"]),(0,n._)("div",null,[(0,n.Wm)(Y,{indicator:e.indicator},null,8,["indicator"])])])],512),[[o.F8,e.showDesignMark]]),(0,n.Wm)(te)])}var W=t(2262),Y=t(7365);const X={key:0},J={class:"collection_title"},$={class:"collection_title_text"},q={class:"collection_progress"},ee={class:"collection_modal_body"},Ae={class:"mark_loading"};function te(e,A,t,i,s,a){const l=(0,n.up)("a-progress"),c=(0,n.up)("MoodboardUpload"),d=(0,n.up)("PrintboardUpload"),u=(0,n.up)("ColorboardUpload"),h=(0,n.up)("SketchboardUpload"),g=(0,n.up)("a-spin"),p=(0,n.up)("a-modal");return e.showCollectionModal?((0,n.wg)(),(0,n.iD)("div",X,[(0,n.Wm)(p,{class:"modal_component collection_modal Guide_1_2",visible:e.showCollectionModal,"onUpdate:visible":A[4]||(A[4]=A=>e.showCollectionModal=A),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,wrapClassName:"#app",keyboard:!1},{default:(0,n.w5)((()=>[(0,n._)("div",J,[(0,n._)("div",$,[(0,n.wy)((0,n._)("div",null,(0,r.zw)(e.$t("collectionModal.Moodboard")),513),[[o.F8,1===e.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(e.$t("collectionModal.Printboard")),513),[[o.F8,2===e.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(e.$t("collectionModal.Colorboard")),513),[[o.F8,3===e.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(e.$t("collectionModal.Sketchboard")),513),[[o.F8,4===e.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(e.$t("collectionModal.MoodCollection")),513),[[o.F8,1===e.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(e.$t("collectionModal.PrinCollection")),513),[[o.F8,2===e.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(e.$t("collectionModal.ColorCollection")),513),[[o.F8,3===e.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(e.$t("collectionModal.SketchCollection")),513),[[o.F8,4===e.collectionStep]])]),(0,n._)("div",q,[(0,n.Wm)(l,{strokeWidth:13,strokeColor:"#341e57",type:"circle",percent:25*e.collectionStep,format:A=>`${e.collectionStep}/4`},null,8,["percent","format"])])]),(0,n._)("div",{class:(0,r.C_)(["collection_closeIcon",[e.driver__.driver?"hideEvents":""]])},[(0,n._)("i",{class:"fi fi-rr-cross-small",onClick:A[0]||(A[0]=(0,o.iM)((A=>e.cancelDsign()),["stop"]))})],2),(0,n._)("div",{class:(0,r.C_)(["collection_page",[e.driver__.driver?"hideEvents":""]])},[(0,n.wy)((0,n._)("i",{class:"fi fi-rr-arrow-small-left",onClick:A[1]||(A[1]=A=>e.lastStep())},null,512),[[o.F8,e.collectionStep>1]]),e.collectionStep<4?((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-arrow-small-right Guide_1_8",onClick:A[2]||(A[2]=(0,o.iM)((A=>e.nextStep()),["stop"]))})):((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-rr-check Guide_1_14",onClick:A[3]||(A[3]=(0,o.iM)((A=>e.finishCollection()),["stop"]))}))],2),(0,n._)("div",ee,[(0,n.wy)((0,n.Wm)(c,{ref:"MoodboardUpload"},null,512),[[o.F8,1===e.collectionStep]]),(0,n.wy)((0,n.Wm)(d,{ref:"PrintboardUpload"},null,512),[[o.F8,2===e.collectionStep]]),(0,n.wy)((0,n.Wm)(u,{ref:"ColorboardUpload"},null,512),[[o.F8,3===e.collectionStep]]),(0,n.wy)((0,n.Wm)(h,{ref:"SketchboardUpload"},null,512),[[o.F8,4===e.collectionStep]])]),(0,n.wy)((0,n._)("div",Ae,[(0,n.Wm)(g,{size:"large"})],512),[[o.F8,e.isShowMark]])])),_:1},8,["visible"])])):(0,n.kq)("",!0)}const ie={class:"generate"},ne={key:0,class:"printModel"},re=["placeholder","maxlength"],oe={key:2,class:"generage_img Guide_1_6"},se={class:"upload_item"},ae=["onClick"],le={class:"upload_file_item_content"},ce={class:"upload_file_item_content"},de=["src"],ue={key:0,class:"operate_file_block"},he={class:"select_img_type"},ge=["onClick"],pe={class:"category_list"},fe=["onClick"],me=["onClick"],Be=(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1),we=[Be],ve=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-br-upload"})],-1),ye={key:3,class:"generage_img Guide_1_6"},Ce=["onClick"],be={alt:""},_e=["onClick"],Qe=["onClick"],Ue={class:"mark_loading"};function Fe(e,A,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("scaleImage"),u=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",ie,["Sketchboard"==e.type_.type2||"Printboard"==e.type_.type2?((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,r.C_)(["generate_checkbox Guide_1_2_2",[e.driver__.driver?"hideEvents":""]])},[(0,n._)("div",null,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":A[0]||(A[0]=A=>e.checkbox[0].type=A),onClick:A[1]||(A[1]=A=>e.setKeyword(0))},null,512),[[o.e8,e.checkbox[0].type]]),(0,n._)("span",null,(0,r.zw)(e.$t("Generate.ImageOnly")),1)])]),(0,n._)("div",null,[(0,n._)("label",{class:(0,r.C_)([e.driver__.driver&&29==e.driver__.index?"showEvents":"","Sketchboard"==e.type_.type2?"Guide_1_9_1":""])},[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":A[2]||(A[2]=A=>e.checkbox[1].type=A),onClick:A[3]||(A[3]=A=>e.setKeyword(1))},null,512),[[o.e8,e.checkbox[1].type]]),(0,n._)("span",null,(0,r.zw)(e.$t("Generate.TextOnly")),1)],2)]),(0,n._)("div",null,[(0,n._)("label",{class:(0,r.C_)(["Guide_1_2_3",[e.driver__.driver?"showEvents":""]])},[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":A[4]||(A[4]=A=>e.checkbox[2].type=A),onClick:A[5]||(A[5]=A=>e.setKeyword(2))},null,512),[[o.e8,e.checkbox[2].type]]),(0,n._)("span",null,(0,r.zw)(e.$t("Generate.TextImage")),1)],2)]),"Printboard"==e.type_.type2?((0,n.wg)(),(0,n.iD)("div",ne,[(0,n._)("div",{onClick:A[6]||(A[6]=(0,o.iM)(((...A)=>e.PrintModel&&e.PrintModel(...A)),["stop"])),class:(0,r.C_)(["Guide_1_2_4",[e.driver__.driver?"showEvents":""]])},(0,r.zw)(e.printModel.name),3),(0,n.wy)((0,n._)("ul",{class:(0,r.C_)(["Guide_1_2_5",[e.driver__.driver?"showEvents":""]])},[(0,n._)("li",{class:"printModel_item",onClick:A[7]||(A[7]=A=>e.setprintModel(1))},(0,r.zw)(e.$t("Generate.Model1")),1),(0,n._)("li",{class:"printModel_item",onClick:A[8]||(A[8]=A=>e.setprintModel(2))},(0,r.zw)(e.$t("Generate.Model2")),1),(0,n.wy)((0,n._)("li",{class:"printModel_item",onClick:A[9]||(A[9]=A=>e.setprintModel(3))},(0,r.zw)(e.$t("Generate.Generate")),513),[[o.F8,e.printBoards.length>=1]])],2),[[o.F8,e.printModel.optype]])])):(0,n.kq)("",!0)],2)):((0,n.wg)(),(0,n.iD)("div",{key:1,class:(0,r.C_)(["input_box Guide_1_5",[e.inputShow?"active":""]])},[(0,n.wy)((0,n._)("input",{class:"search_input",onInput:A[10]||(A[10]=(...A)=>e.ifMaximumLength&&e.ifMaximumLength(...A)),placeholder:e.$t("Generate.inputContent1"),maxlength:e.inputShow?0:9999,"onUpdate:modelValue":A[11]||(A[11]=A=>e.searchPictureName=A),onKeydown:A[12]||(A[12]=(0,o.D2)((A=>e.getgenerate()),["enter"]))},null,40,re),[[o.nr,e.searchPictureName]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:A[13]||(A[13]=(0,o.iM)(((...A)=>e.getgenerate&&e.getgenerate(...A)),["stop"]))},(0,r.zw)(e.$t("Generate.Generate")),1),(0,n._)("span",null,(0,r.zw)(e.$t("Generate.maximumLength")),1)],2)),"Sketchboard"==e.type_.type2||"Printboard"==e.type_.type2?((0,n.wg)(),(0,n.iD)("div",oe,[(0,n._)("div",se,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.sketchboardList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["upload_file_item Guide_1_2_7",[A?.checked?"active":"",e.checkboxImage?"forbidden":"",e.driver__.driver?"showEvents":""]]),key:A,onClick:(0,o.iM)((t=>e.setSketchboardItem(A)),["stop"])},[(0,n.wy)((0,n._)("div",le,[(0,n.Wm)(l,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===A?.status]]),(0,n.wy)((0,n._)("div",ce,[(0,n._)("img",{src:A?.imgUrl,class:"upload_img"},null,8,de),"Sketchboard"==e.type_.type2?((0,n.wg)(),(0,n.iD)("div",ue,[(0,n._)("div",he,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>e.showFileCategory(A)),["stop"])},[(0,n.Uk)((0,r.zw)(A.categoryValue)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",A.categoryShow?"icon_rotate":""])},null,2)],8,ge),(0,n.wy)((0,n._)("div",pe,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.sketchCatecoryList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",A.category==t.name?"select_category_item":""]),key:i,onClick:(0,o.iM)((i=>e.selectFileCategory(A,t)),["stop"])},(0,r.zw)(t.value),11,fe)))),128))],512),[[o.F8,A.categoryShow]])])])):(0,n.kq)("",!0),(0,n._)("div",{class:"delete_file_block",onClick:A=>e.deleteFile(t)},we,8,me)],512),[[o.F8,"done"===A?.status]])],10,ae)))),128)),(0,n._)("div",{class:(0,r.C_)(["upload_file_item upload_component Guide_1_2_6",[e.driver__.driver?"showEvents":""]])},[(0,n.Wm)(c,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...e.upload},disabled:e.checkbox[1].type,headers:{Authorization:e.token},"file-list":e.sketchboardList,"onUpdate:file-list":A[14]||(A[14]=A=>e.sketchboardList=A),"before-upload":e.beforeUpload,multiple:"",accept:".jpg,.png,.jpeg,.bmp",onChange:A[15]||(A[15]=A=>e.fileUploadChange(A))},{default:(0,n.w5)((()=>[ve])),_:1},8,["action","data","disabled","headers","file-list","before-upload"])],2)])])):((0,n.wg)(),(0,n.iD)("div",ye,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.fileList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["generage_img_item",[t?.checked?"active":""]]),key:t.imgUrl,onClick:A=>e.generageAdd(t)},[(0,n.wy)((0,n._)("img",be,null,512),[[u,t.imgUrl]]),(0,n._)("div",{class:(0,r.C_)(["delete_like_file_block",[e.driver__.driver?"hideEvents":""]])},[t.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,o.iM)((A=>e.likeFile(t,"noLike")),["stop"])},null,8,Qe)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,o.iM)((A=>e.likeFile(t,"like")),["stop"])},null,8,_e))],2),(0,n._)("div",{class:(0,r.C_)(["delete_like_file_block left",[e.driver__.driver?"hideEvents":""]])},[(0,n._)("i",{class:"fi fi-bs-expand-arrows-alt",onClick:A[16]||(A[16]=(0,o.iM)((A=>e.scaleImage()),["stop"]))})],2)],10,Ce)))),128))])),(0,n.Wm)(d,{ref:"scaleImage"},null,512),(0,n.wy)((0,n._)("div",Ue,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,e.loadingShow]])])}var xe=t(320),Ee=t(1446),ke=t(4873),Ie=t(6214),Se=t(3907),De={id:1,testUrl:"http://192.168.1.5:10086",zIndex:2,setColor:(e,A,t)=>new Promise((i=>{var n=void 0==t?.min?5:t.min,r=void 0==t?.max?5:t.max,o=new Image;o.src=A;o.onload=()=>{const A=o.width,t=o.height,s=document.createElement("canvas");s.width=A,s.height=t;var a=s.getContext("2d");a.drawImage(o,0,0);var l=a.getImageData(0,0,A,t),c=[];for(let i=0;ie[i][0]&&h-ne[i][1]&&g-ne[i][2]&&d++}let o={rgb:e[i],ratio:parseInt(String((d/(A*t)*100).toFixed(6)))};c.push(o)}i({width:A,height:t,ratio:c})}}))},He=t(2339),Le=t(7332);const Oe={class:"scaleImage_btn"},Me=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),Te=[Me],Ne=(0,n._)("i",{class:"fi fi-rr-down-to-line"},null,-1),Ke=[Ne],Pe={class:"scaleImage_content"},Re=["src"],Ve={class:"scaleImage_nav"},Ge={class:"nav_left"},je={class:"nav_list"},ze=["onClick","src"],Ze={class:"nav_right"};function We(e,A,t,i,s,a){const l=(0,n.up)("a-modal");return(0,n.wg)(),(0,n.j4)(l,{class:"scaleImage_modal",visible:e.scaleImage,"onUpdate:visible":A[4]||(A[4]=A=>e.scaleImage=A),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,mask:!1,keyboard:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",Oe,[(0,n._)("div",{class:"collection_closeIcon left",onClick:A[0]||(A[0]=(0,o.iM)((A=>e.cancelDsign()),["stop"]))},Te),(0,n._)("div",{class:"collection_closeIcon",onClick:A[1]||(A[1]=(0,o.iM)((A=>e.download()),["stop"]))},Ke)]),(0,n._)("div",Pe,[(0,n._)("img",{src:e.scaleImageList[e.scaleImageIndex]?.imgUrl},null,8,Re)]),(0,n._)("div",Ve,[(0,n._)("div",Ge,[(0,n._)("i",{class:"fi fi-rr-arrow-small-left",onClick:A[2]||(A[2]=A=>e.lastStep())})]),(0,n._)("div",je,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.scaleImageList,((A,t)=>((0,n.wg)(),(0,n.iD)("img",{onClick:A=>e.setScaleImageIndex(t),class:(0,r.C_)({active:t==e.scaleImageIndex}),src:A?.imgUrl,key:A.id},null,10,ze)))),128))]),(0,n._)("div",Ze,[(0,n._)("i",{class:"fi fi-rr-arrow-small-right",onClick:A[3]||(A[3]=(0,o.iM)((A=>e.nextStep()),["stop"]))})])])])),_:1},8,["visible"])}var Ye=(0,n.aZ)({setup(){let e=(0,W.iH)(!1),A=(0,W.iH)(!1);const t=(0,W.iH)(!1),i=e=>{t.value=e};let n=(0,W.iH)([]),r=(0,W.iH)(0);return{scaleImage:e,loadingShow:A,visible:t,setVisible:i,scaleImageList:n,scaleImageIndex:r}},data(){return{}},mounted(){},methods:{init(e){this.scaleImage=!0,this.scaleImageList=e},cancelDsign(){this.scaleImage=!1,this.scaleImageList=[],this.scaleImageIndex=0},lastStep(){this.scaleImageIndex<=0||(this.scaleImageIndex-=1)},nextStep(){this.scaleImageIndex>=this.scaleImageList.length-1||(this.scaleImageIndex+=1)},download(){(0,Le.W$)(this.scaleImageList[this.scaleImageIndex].imgUrl)},setScaleImageIndex(e){this.scaleImageIndex=e}}}),Xe=t(3744);const Je=(0,Xe.Z)(Ye,[["render",We]]);var $e=Je,qe=t(4272),eA=t(8552),AA=(0,n.aZ)({components:{scaleImage:$e},props:["msg","sketchCatecoryList"],setup(){let e=(0,W.iH)([{name:"image",type:!0},{name:"text",type:!1},{name:"text-image",type:!1}]),A=(0,W.iH)(),t=(0,W.iH)([]),i=(0,W.iH)([]),r=(0,W.iH)([]),o=(0,W.iH)(!1),s=(0,W.iH)(""),a=(0,W.iH)(1),l=(0,W.iH)(""),c=(0,W.iH)(20),d=(0,W.iH)(0),u=(0,W.iH)(""),h=(0,W.iH)(null),g=(0,Se.oR)(),p=(0,W.iH)([]),f=(0,W.iH)([]),m=(0,W.iH)(),B=(0,W.iH)(""),w=(0,W.iH)({num:"",optype:!1,name:(0,eA.QT)().t("Generate.Model")+"1"}),v=(0,n.Fl)((()=>g.state.UploadFilesModule.printboard)),y=(0,W.iH)({}),C=(0,W.iH)(!1),b=(0,W.iH)(!1),_=(0,W.iH)(),Q=(0,n.f3)("driver__"),{t:U}=(0,eA.QT)(),F=(0,W.iH)();return{imgList:t,selectImgList:i,selectImgListIds:r,isShowLoading:o,selectCode:s,currentPage:a,searchPictureName:l,pageSize:c,total:d,searcMaterialhName:u,designType:h,checkbox:e,store:g,fileList:p,sketchboardList:f,collectionElementid:m,level2Type:B,checkboxImage:A,printModel:w,loadingShow:C,printBoards:v,workspace:y,inputShow:b,inputTime:_,driver__:Q,t:U,isTest:F}},data(e){return{indicator:(0,n.h)(xe.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,gender:"",level1Type:e.msg,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",moodboarList:(0,n.Fl)((()=>(0,Se.oR)().state.UploadFilesModule.moodboard)),type_:{type1:"generate",type2:e.msg}}},mounted(){this.token=(0,He.ej)("token")||"";let e=(0,He.ej)("isTest");this.isTest=JSON.parse(e)||"",this.uploadUrl=(0,Le.M$)(),this.workspace=this.store.state.Workspace.workspace,this.$emit("generateCheckbox",this.checkbox[0].type)},watch:{driver__:{handler(e,A){"Printboard"==this.type_.type2?e.index>=14&&e.index<15&&this.setKeyword(e.index-14):this.type_.type2}}},computed:{getSketchLabel(e){return e=>{let A="";for(let t of this.sketchCatecoryList)if(t.value===e){A=t.label;break}return A}}},methods:{generageAdd(e){e.type_=this.type_,e.resData=JSON.parse(JSON.stringify(e));let A=8;"Sketchboard"==this.type_.type2&&(A=20),e.jsContent1=this.t("uploadFile.jsContent1",{maxImg:A}),this.store.commit("addGenerateMaterialFils",e);let t=this.store.state.UploadFilesModule.moodboard;t.length>=2&&this.driver__.driver&&qe.RX.moveNext()},beforeUpload(e){const A="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/bmp"===e.type;A||Ee.ZP.info(this.t("Generate.jsContent1"));const t=e.size/1024/1024<2;return t||Ee.ZP.info(this.t("Generate.jsContent2")),A&&t||ke.Z.LIST_IGNORE},setKeyword(e){this.checkbox.forEach((e=>{e.type=!1})),(0,n.Y3)().then((()=>{this.checkbox[e].type=!0,this.$emit("generateCheckbox",this.checkbox[0].type),this.checkboxImage=this.checkbox[1].type,this.checkboxImage&&this.sketchboardList.forEach((e=>{e.checked=!1}))})),2!=e&&1!=e||this.driver__.driver&&qe.RX.moveNext()},PrintModel(){this.printModel.optype||document.addEventListener("click",this.removePrintModel),this.printModel.optype=!this.printModel.optype,(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))},removePrintModel(){this.printModel.optype=!1,document.removeEventListener("click",this.removePrintModel)},setprintModel(e){this.printModel=3==e?{num:"Generate",optype:!1,name:this.t("Generate.Generate")}:{num:e,optype:!1,name:this.t("Generate.Model")+e},(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))},getgenerate(){if(this.isTest)return void Ee.ZP.info(this.t("isTest.available"));if(!this.searchPictureName)return void Ee.ZP.info(this.t("Generate.jsContent5"));{let e=this.searchPictureName.split(/\s+/).length;if(e>75)return void Ee.ZP.info(this.t("Generate.jsContent4"))}let e={generateType:"text",designType:"",collectionElementId:"",level1Type:this.upload.level1Type,level2Type:"",text:this.searchPictureName,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:1,gender:""};this.loadingShow=!0,Ie.V.axiosPost(Ie.V.httpUrls.sketchAndPrintGenerate,e).then((e=>{if(e){let A;this.fileList=[],e.generatedCollectionItems.forEach(((t,i)=>{A={id:e.generatedCollectionItems[i].generateItemId,imgUrl:e.generatedCollectionItems[i].generateItemUrl,like:e.generatedCollectionItems[i].isLiked},this.fileList.push(A),this.loadingShow=!1})),(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))}})).catch((e=>{this.loadingShow=!1}))},ifMaximumLength(){clearTimeout(this.inputTime);let e=document.getElementsByClassName("generate")[0].getElementsByClassName("input_box")[0];e.getElementsByClassName("search_input")[0];this.inputTime=setTimeout((()=>{this.searchPictureName?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},fileUploadChange(e){let A=e.file,t=!0;if("done"===A.status){let e=JSON.parse(A.xhr.response);if(0==e.errCode){A.id=e.data.id,A.imgUrl=e.data.url,A.resData=e.data,A.type_="upload",A.id_=De.id++,A.category=this.sketchCatecoryList?.[0]?.name,A.categoryValue=this.sketchCatecoryList?.[0]?.value;let t=this.sketchboardList.filter((e=>"done"===e.status)),i=this.store.state.UploadFilesModule.sketchboard;i.length>=8?Ee.ZP.info(this.t("Generate.jsContent6")):this.sketchboardList=t,(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))}else t=!1}else"error"===A.status&&(t=!1);if(!t){let e=-1,t=JSON.parse(A.xhr.response);this.sketchboardList.forEach(((t,i)=>{A.uid===t.uid&&(e=i)})),e>-1&&this.sketchboardList.splice(e,1),Ee.ZP.warning(t.errMsg)}},showFileCategory(e){e.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(e,A){e.category=A.name,e.categoryShow=!1},hiddenFileCategory(){for(let e of this.sketchboardList)e.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},setSketchboardItem(e){this.checkboxImage||(e.checked?e.checked=!1:(this.sketchboardList.forEach((e=>{e.checked&&(e.checked=!1)})),e.checked=!0),this.collectionElementid=e.id,this.level2Type=e.category,this.driver__.driver&&qe.RX.moveNext())},deleteFile(e){this.sketchboardList.splice(e,1)},likeFile(e,A){if("like"==A){let A={generateDetailId:e.id,level1Type:"Moodboard",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};Ie.V.axiosPost(Ie.V.httpUrls.generateLike,A).then((A=>{e.like=!0})).catch((e=>{}))}else{let A={generateDetailId:e.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};Ie.V.axiosGet(Ie.V.httpUrls.generateDislike,{params:A}).then((A=>{e.like=!1})).catch((e=>{}))}},scaleImage(){let e=this.$refs.scaleImage;e.init(this.fileList)},closeModal(){this.searchPictureName="",this.designType=null,this.selectImgList=[],this.selectImgListIds=[],this.imgList=[],this.currentPage=1,this.total=0}}});const tA=(0,Xe.Z)(AA,[["render",Fe]]);var iA=tA;const nA=e=>((0,n.dD)("data-v-469e9626"),e=e(),(0,n.Cn)(),e),rA={class:"collection_modal_item"},oA={class:"moodboard_body"},sA={class:"upload_img_body scroll_style"},aA={class:"upload_item"},lA={class:"upload_file_item_content"},cA={class:"upload_file_item_content"},dA=["src"],uA=["onClick"],hA={class:"upload_file_item upload_component"},gA={class:"upload_tip_block"},pA=nA((()=>(0,n._)("i",{class:"fi fi-br-upload"},null,-1))),fA=[pA],mA={class:"upload_max_tip"},BA=nA((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1))),wA={class:"modal_right"},vA={class:"modal_layout"},yA={class:"modal_text"},CA=["onClick"],bA=nA((()=>(0,n._)("div",{class:"checked"},[(0,n._)("i",{class:"fi fi-rr-trash"})],-1))),_A={class:"modal_accomplish"},QA={class:"modal_text"},UA=nA((()=>(0,n._)("div",null,"Layout of selected moodboard",-1))),FA={class:"modal_img_max"},xA=["src"],EA={key:1,class:"modal_img"},kA=["src"],IA={class:"mark_loading"};function SA(e,A,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("Material"),u=(0,n.up)("Generate"),h=(0,n.up)("layout"),g=(0,n.up)("layoutMobile"),p=(0,n.Q2)("lazy"),f=(0,n.Q2)("modelImg");return(0,n.wg)(),(0,n.iD)("div",rA,[(0,n._)("div",{class:(0,r.C_)(["modal_left Guide_1_1_2",[e.driver__.driver?"showEvents":""]])},[(0,n._)("div",{class:(0,r.C_)(["switch_type_list",[e.driver__.driver?"hideEvents":""]])},[(0,n._)("div",{onClick:A[0]||(A[0]=(0,o.iM)((A=>e.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==e.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("MoodboardUpload.Upload")),1)],2),(0,n._)("div",{onClick:A[1]||(A[1]=(0,o.iM)((A=>e.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==e.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("MoodboardUpload.Library")),1)],2),(0,n._)("div",{onClick:A[2]||(A[2]=(0,o.iM)((A=>e.open(3)),["stop"])),class:(0,r.C_)(["switch_type_item Guide_1_4",[3==e.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("MoodboardUpload.Generate")),1)],2)],2),(0,n.wy)((0,n._)("div",oA,[(0,n._)("div",sA,[(0,n._)("div",aA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.fileList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:A},[(0,n.wy)((0,n._)("div",lA,[(0,n.Wm)(l,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===A?.status]]),(0,n.wy)((0,n._)("div",cA,[(0,n._)("img",{src:A?.imgUrl,class:"upload_img"},null,8,dA),(0,n._)("div",{class:"delete_file_block",onClick:t=>e.deleteFile(A)},(0,r.zw)(e.$t("MoodboardUpload.Delete")),9,uA)],512),[[o.F8,"done"===A?.status]])])))),128)),(0,n.wy)((0,n._)("div",hA,[(0,n.Wm)(c,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...e.upload},headers:{Authorization:e.token},"before-upload":e.beforeUpload,"file-list":e.fileList,"onUpdate:file-list":A[3]||(A[3]=A=>e.fileList=A),multiple:!e.driver__.driver,maxCount:8-e.moodboarList.length+e.fileList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:A[4]||(A[4]=A=>e.fileUploadChange(A))},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",gA,fA,512),[[o.F8,e.moodboarList.length<8]])])),_:1},8,["action","data","headers","before-upload","file-list","multiple","maxCount"])],512),[[o.F8,e.moodboarList.length<8]])])]),(0,n._)("div",mA,[BA,(0,n._)("span",null,(0,r.zw)(e.$t("MoodboardUpload.Maximum")),1)])],512),[[o.F8,1==e.openClick]]),(0,n.wy)((0,n.Wm)(d,{ref:"Material",msg:"Moodboard"},null,512),[[o.F8,2==e.openClick]]),(0,n.wy)((0,n.Wm)(u,{ref:"Generate",msg:"Moodboard"},null,512),[[o.F8,3==e.openClick]])],2),(0,n.wy)((0,n._)("div",wA,[(0,n._)("div",vA,[(0,n._)("div",yA,[(0,n._)("div",null,(0,r.zw)(e.$t("MoodboardUpload.Thumbnail")),1),(0,n._)("div",{class:(0,r.C_)(["modal_btn started_btn Guide_1_7",[e.driver__.driver?"showEvents":""]]),onClick:A[5]||(A[5]=A=>e.layout())},(0,r.zw)(e.$t("MoodboardUpload.layout")),3)]),(0,n._)("div",{class:(0,r.C_)(["modal_img",[e.driver__.driver?"hideEvents":""]])},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.moodboarList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:A,onClick:t=>e.deleteFile(A)},[(0,n.wy)((0,n._)("img",null,null,512),[[p,A.imgUrl]]),bA],8,CA)))),128))],2)]),(0,n.wy)((0,n._)("div",_A,[(0,n._)("div",QA,[UA,(0,n._)("div",{class:"modal_btn started_btn",onClick:A[6]||(A[6]=(0,o.iM)((A=>e.changeTemplateModal()),["stop"]))},"Edit")]),(0,n._)("div",FA,[e.modalImg[0]?.id?((0,n.wg)(),(0,n.iD)("div",EA,[(0,n._)("img",{src:e.modalImg[0].imgUrl},null,8,kA)])):((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,r.C_)(["modal_img",{active:e.flex_direction}]),id:"modal_img"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.layoutList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([[e.moodb_className[t]],"modal_imgItem"])},[(0,n.wy)((0,n._)("img",{src:A.imgUrl},null,8,xA),[[f]])],2)))),256))],2)),(0,n.wy)((0,n._)("div",IA,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,e.loadingShow]])])],512),[[o.F8,e.moodboarList.length>1||e.edieShow]])],512),[[o.F8,e.moodboarList.length]]),(0,n.Wm)(h,{ref:"layout",moodb_className:e.moodb_className,flex_direction:e.flex_direction,onSetmoodbClass:e.setmoodbClass},null,8,["moodb_className","flex_direction","onSetmoodbClass"]),(0,n.Wm)(g,{ref:"layoutMobile",moodb_className:e.moodb_className,flex_direction:e.flex_direction,onSetmoodbClass:e.setmoodbClass},null,8,["moodb_className","flex_direction","onSetmoodbClass"])])}var DA=t(5929);const HA={class:"my_material_modal"},LA={class:"my_material_header"},OA={class:"my_material_header_right"},MA={class:"content_search_block"},TA=["placeholder"],NA=(0,n._)("span",{class:"icon iconfont icon-sousuo"},null,-1),KA=[NA],PA={class:"my_material_content"},RA={class:"material_content_body scroll_style"},VA=["src","onClick"],GA={key:0,class:"operate_file_block"},jA={class:"select_img_type"},zA=["onClick"],ZA={class:"category_list"},WA=["onClick"],YA={key:1,class:"pin_block"},XA={class:"material_content_list_loding"},JA=(0,n._)("img",{src:DA,alt:""},null,-1),$A=[JA],qA={class:"no_data_block loading_block"};function et(e,A,t,i,s,a){const l=(0,n.up)("a-checkbox"),c=(0,n.up)("a-spin"),d=(0,n.Q2)("observe");return(0,n.wg)(),(0,n.iD)("div",HA,[(0,n._)("div",LA,[(0,n._)("div",OA,[(0,n._)("div",MA,[(0,n.wy)((0,n._)("input",{class:"search_input",placeholder:e.$t("Material.inputContent1"),"onUpdate:modelValue":A[0]||(A[0]=A=>e.searchPictureName=A),onKeydown:A[1]||(A[1]=(0,o.D2)((A=>e.getLibraryList("")),["enter"]))},null,40,TA),[[o.nr,e.searchPictureName]]),(0,n._)("div",{class:"search_icon_block",onClick:A[2]||(A[2]=(0,o.iM)((A=>e.getLibraryList("")),["stop"]))},KA)])])]),(0,n._)("div",PA,[(0,n._)("div",RA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.imgList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{key:A,class:(0,r.C_)(["content_img_item",[A?.checked?"active":"","Moodboard"==e.selectCode?"moodb":""]])},[(0,n._)("img",{src:A?.imgUrl,onClick:(0,o.iM)((t=>e.selectImgItem(A)),["stop"])},null,8,VA),"Sketchboard"==e.selectCode?((0,n.wg)(),(0,n.iD)("div",GA,[(0,n._)("div",jA,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>e.showFileCategory(A)),["stop"])},[(0,n.Uk)((0,r.zw)(A?.categoryValue)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",A?.categoryShow?"icon_rotate":""])},null,2)],8,zA),(0,n.wy)((0,n._)("div",ZA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.disignTypeList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",A?.category==t.name?"select_category_item":""]),key:i,onClick:(0,o.iM)((i=>e.selectFileCategory(A,t)),["stop"])},(0,r.zw)(t.value),11,WA)))),128))],512),[[o.F8,A?.categoryShow]])])])):(0,n.kq)("",!0),"Sketchboard"==e.selectCode||"Printboard"==e.selectCode?((0,n.wg)(),(0,n.iD)("div",YA,[(0,n.Wm)(l,{checked:A.pin,"onUpdate:checked":e=>A.pin=e},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(e.$t("Material.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])])):(0,n.kq)("",!0)],2)))),128)),(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",XA,$A)),[[o.F8,e.total>e.imgList?.length],[d]])]),(0,n.wy)((0,n._)("div",qA,[(0,n.Wm)(c,{size:"large"})],512),[[o.F8,e.isShowLoading]])])])}var At=(0,n.aZ)({props:["msg","disignTypeList"],setup(e){let A=(0,W.iH)(!1),t=(0,W.iH)([]),i=(0,W.iH)(!1),n=(0,W.iH)(""),r=(0,W.iH)(1),o=(0,W.iH)(""),s=(0,W.iH)(12),a=(0,W.iH)(0),l=(0,W.iH)(""),c=(0,W.iH)(null),d=(0,W.iH)({}),{t:u}=(0,eA.QT)();return{myMaterialModalShow:A,imgList:t,isShowLoading:i,selectCode:n,currentPage:r,searchPictureName:o,pageSize:s,total:a,searcMaterialhName:l,designType:c,workspace:d,t:u}},data(e){return{type_:{type1:"material",type2:e.msg},store:(0,Se.oR)()}},directives:{observe:{mounted(e,A){const t=new IntersectionObserver(n,{root:null,threshold:[.1]});t.observe(e);let i=A.instance;function n(e,A){e.forEach((e=>{e.isIntersecting&&i.getLibraryList("di")}))}}}},computed:{getSketchLabel(e){return e=>{let A="";for(let t of this.disignTypeList)if(t.value===e){A=t.label;break}return A}},sketchboardList(){return this.store.state.UploadFilesModule.sketchMaterialFiles},moodboardList(){return this.store.state.UploadFilesModule.moodboardMaterialFiles},printboardList(){return this.store.state.UploadFilesModule.printMaterialFiles}},mounted(){},watch:{sketchboardList:{handler(e,A){A.forEach((A=>{-1==e.findIndex((e=>e.id==A.id))&&this.imgList.forEach((e=>{e.id==A.id&&(e.checked=!1)}))}))}},moodboardList:{handler(e,A){A.forEach((A=>{-1==e.findIndex((e=>e.id==A.id))&&this.imgList.forEach((e=>{e.id==A.id&&(e.checked=!1)}))}))}},printboardList:{handler(e,A){A.forEach((A=>{-1==e.findIndex((e=>e.id==A.id))&&this.imgList.forEach((e=>{e.id==A.id&&(e.checked=!1)}))}))}}},methods:{init(e){this.selectCode=e,this.getLibraryList("")},selectImgItem(e){e.type_=this.type_,e.resData=JSON.parse(JSON.stringify(e)),this.imgList.forEach((e=>{e.categoryShow=!1}));let A=8;"Sketchboard"==this.selectCode&&(A=20),e.jsContent1=this.t("uploadFile.jsContent1",{maxImg:A}),this.store.commit("addGenerateMaterialFils",e)},changePage(e,A){this.currentPage=e,this.pageSize=A,this.getLibraryList("")},handleChange(){this.getLibraryList("")},getLibraryList(e){let A=this.store.state.Workspace.workspace;"di"==e&&(this.currentPage=void 0!=this.imgList?.[0]?.id?this.imgList?.length/this.pageSize+1:1);let t={level1Type:this.selectCode,modelSex:A?.sex,page:this.currentPage,pictureName:this.searchPictureName,size:this.pageSize};this.isShowLoading=!0,Ie.V.axiosPost(Ie.V.httpUrls.queryLibraryPage,t).then((e=>{let A=[];e.content.forEach(((e,t)=>{let i;"Sketchboard"==this.type_.type2?(i=this.store.state.UploadFilesModule.sketchMaterialFiles,e.categoryValue=e.level2TypeEnum.value,e.category=e.level2Type,e.categoryShow=!1):"Moodboard"==this.type_.type2?i=this.store.state.UploadFilesModule.moodboardMaterialFiles:"Printboard"==this.type_.type2&&(i=this.store.state.UploadFilesModule.printMaterialFiles),e.imgUrl=e.url,e.id_||(e.id_=De.id++,i.forEach((A=>{e.id==A.id&&(e.id_=A.id_?A.id_:De.id++,e.checked=!0,e.pin=A.pin)}))),A.push(e)})),A[A.length-1].id==this.imgList[this.imgList.length-1]?.id||this.imgList.push(...A),this.total=e.total,this.isShowLoading=!1})).catch((e=>{this.isShowLoading=!1}))},closeModal(){this.myMaterialModalShow=!1,this.searchPictureName="",this.designType=null,this.imgList=[],this.currentPage=1,this.pageSize=10,this.total=0},showFileCategory(e){e.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(e,A){e.categoryValue=A.value,e.category=A.name;for(let t of this.imgList)t.categoryShow=!1;this.setSketchLibrary(e)},hiddenFileCategory(){for(let e of this.imgList)e.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},setSketchLibrary(e){let A={libraryId:e.id,level2Type:e.category};Ie.V.axiosPost(Ie.V.httpUrls.setSketchLibrary,A).then((e=>{})).catch((e=>{}))}}});const tt=(0,Xe.Z)(At,[["render",et]]);var it=tt;const nt={class:"mood_template_component"},rt={class:"mood_template_item template_three"},ot={class:"mood_template_item template_four"},st={class:"mood_template_item template_five"},at={class:"mood_template_item template_six"},lt={class:"mood_template_item template_seven"},ct={class:"mood_template_item template_eight"},dt={class:"mood_template_item template_nine"},ut={class:"mood_template_item template_ten"};function ht(e,A,t,i,s,a){return(0,n.wg)(),(0,n.iD)("div",nt,[(0,n.wy)((0,n._)("div",rt,[(0,n._)("div",{class:"img_template three_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template three_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template three_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4)],512),[[o.F8,3==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",ot,[(0,n._)("div",{class:"img_template four_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4)],512),[[o.F8,4==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",st,[(0,n._)("div",{class:"img_template five_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4)],512),[[o.F8,5==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",at,[(0,n._)("div",{class:"img_template six_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_6",style:(0,r.j5)({backgroundImage:`url(${e.fileList[5]?.imgUrl})`})},null,4)],512),[[o.F8,6==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",lt,[(0,n._)("div",{class:"img_template seven_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_6",style:(0,r.j5)({backgroundImage:`url(${e.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_7",style:(0,r.j5)({backgroundImage:`url(${e.fileList[6]?.imgUrl})`})},null,4)],512),[[o.F8,7==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",ct,[(0,n._)("div",{class:"img_template eight_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_6",style:(0,r.j5)({backgroundImage:`url(${e.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_7",style:(0,r.j5)({backgroundImage:`url(${e.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_8",style:(0,r.j5)({backgroundImage:`url(${e.fileList[7]?.imgUrl})`})},null,4)],512),[[o.F8,8==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",dt,[(0,n._)("div",{class:"img_template nine_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_6",style:(0,r.j5)({backgroundImage:`url(${e.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_7",style:(0,r.j5)({backgroundImage:`url(${e.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_8",style:(0,r.j5)({backgroundImage:`url(${e.fileList[7]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_9",style:(0,r.j5)({backgroundImage:`url(${e.fileList[8]?.imgUrl})`})},null,4)],512),[[o.F8,9==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",ut,[(0,n._)("div",{class:"img_template ten_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_6",style:(0,r.j5)({backgroundImage:`url(${e.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_7",style:(0,r.j5)({backgroundImage:`url(${e.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_8",style:(0,r.j5)({backgroundImage:`url(${e.fileList[7]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_9",style:(0,r.j5)({backgroundImage:`url(${e.fileList[8]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_10",style:(0,r.j5)({backgroundImage:`url(${e.fileList[9]?.imgUrl})`})},null,4)],512),[[o.F8,10==e.moodTemplateId]])])}var gt=(0,n.aZ)({props:["fileList","moodTemplateId"],setup(){}});const pt=(0,Xe.Z)(gt,[["render",ht],["__scopeId","data-v-3174c5e2"]]);var ft=pt;const mt={class:"layout_content"},Bt={class:"collection_title"},wt={class:"collection_title_text"},vt={class:"layout_title"},yt=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),Ct=[yt],bt={class:"layout_nav"},_t=["onClick"],Qt=["src"],Ut=["onClick"],Ft=["src"],xt=(0,n._)("div",null,null,-1),Et={class:"layout_btn"},kt={class:"layout_btn_top"},It={class:"layout_btn_bottom"},St={class:"layout_btn_left"},Dt={class:"layout_btn_right"},Ht={class:"layout_rotote"},Lt={class:"layout_translate"},Ot={class:"layout_angle_tr"},Mt={class:"layout_angle_tl"},Tt={class:"layout_angle_br"},Nt={class:"layout_angle_bl"},Kt={class:"layout_left"},Pt={class:"layout_left_text"},Rt=["onClick"],Vt={class:"mark_loading"};function Gt(e,A,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("a-modal"),u=(0,n.Q2)("modelImg"),h=(0,n.Q2)("compile"),g=(0,n.Q2)("rotote"),p=(0,n.Q2)("translate"),f=(0,n.Q2)("angle"),m=(0,n.Q2)("layout");return(0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(d,{class:"layout_modal",visible:e.layout,"onUpdate:visible":A[2]||(A[2]=A=>e.layout=A),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,keyboard:!1,mask:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",mt,[(0,n._)("div",Bt,[(0,n._)("div",wt,[(0,n._)("div",vt,(0,r.zw)(e.$t("layout.MoodBoardDesign")),1)])]),(0,n._)("div",{class:"collection_closeIcon",onClick:A[0]||(A[0]=(0,o.iM)((A=>e.cancelDsign()),["stop"]))},Ct),(0,n._)("div",bt,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.layoutList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{key:A,class:(0,r.C_)({active:A.setPitch}),onClick:i=>e.setpitch(A,t)},[(0,n._)("img",{src:A.imgUrl},null,8,Qt)],10,_t)))),128))]),(0,n._)("div",{class:(0,r.C_)(["layout_centent",{active:e.flex_direction}]),id:"layoutCentent"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.layoutList,((A,t)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{key:A,class:(0,r.C_)([e.moodbClassName[t],"modal_imgItem"]),onClick:i=>e.setpitch(A,t),ref_for:!0,ref:"content"},[(0,n.wy)((0,n._)("img",{crossOrigin:"anonymous",src:A.imgUrl,draggable:"false",class:(0,r.C_)(e.moodbClassName[t])},null,10,Ft),[[u]]),xt,(0,n.wy)((0,n._)("ul",Et,[(0,n.wy)((0,n._)("li",kt,null,512),[[h,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",It,null,512),[[h,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",St,null,512),[[h,"left",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Dt,null,512),[[h,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ht,null,512),[[g,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Lt,null,512),[[p,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ot,null,512),[[f,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Mt,null,512),[[f,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Tt,null,512),[[f,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Nt,null,512),[[f,"left",void 0,{stop:!0}]])],512),[[o.F8,A.setPitch]])],10,Ut)),[[m,t]]))),128))],2),(0,n._)("div",Kt,[(0,n._)("div",Pt,(0,r.zw)(e.$t("layout.LayerOptions")),1),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.moodbList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"layout_left_items",onClick:t=>e.setmoodb(A)},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A,((e,A)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([e,"layout_left_item"])},null,2)))),256))],8,Rt)))),256))]),(0,n._)("div",{class:"button_second submit_button",onClick:A[1]||(A[1]=A=>e.submitTemplate())},(0,r.zw)(e.$t("layout.Submit")),1)]),(0,n.wy)((0,n._)("div",Vt,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,e.loadingShow]]),(0,n.Wm)(c,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...e.upload},headers:{Authorization:e.token},"before-upload":e.beforeUpload,multiple:"",accept:".jpg,.png,.jpeg,.bmp"},null,8,["action","data","headers","before-upload"])])),_:1},8,["visible"])])}var jt={moodb_:[[["wh4"]],[["wh4","wh4"],["wh8","wh8"]],[["wh4","w1h2","w1h2"],["w1h2","w1h2","wh4"],["w2h1","w2h1","wh4"],["wh4","w2h1","w2h1"]],[["wh1","wh1","w1h2","wh4"],["w1h2","wh1","wh1","wh4"],["wh4","wh1","wh1","w1h2"],["w1h2","w1h2","w1h2","w1h2"]],[["wh1","wh1","wh1","wh1","wh4"],["wh1","wh1","wh4","wh1","wh1"],["wh4","wh1","wh1","wh1","wh1"],["w1h2","w1h2","w1h2","wh1","wh1"],["wh1","wh1","w1h2","w1h2","w1h2"],["w1h2","w1h2","wh1","wh1","w1h2"],["w1h2","wh1","wh1","w1h2","w1h2"]],[["wh1","wh1","wh1","wh1","w1h2","w1h2"],["wh1","wh1","w1h2","wh1","wh1","w1h2"],["w1h2","w1h2","wh1","wh1","wh1","wh1"],["wh1","wh1","wh1","wh1","w2h1","w2h1"],["wh1","wh1","w2h1","w2h1","wh1","wh1"],["w2h1","w2h1","wh1","wh1","wh1","wh1"]],[["wh1","wh1","wh1","wh1","wh1","wh1","w1h2"],["wh1","wh1","wh1","wh1","w1h2","wh1","wh1"],["wh1","wh1","w1h2","wh1","wh1","wh1","wh1"],["w1h2","wh1","wh1","wh1","wh1","wh1","wh1"],["wh1","wh1","wh1","wh1","wh1","wh1","w2h1"]],[["wh1","wh1","wh1","wh1","wh1","wh1","wh1","wh1"]]]},zt=t(9980),Zt=t.n(zt),Wt=(t(2801),t(8675),t(7380),t(1118),t(1120)),Yt=t.n(Wt);const Xt=e=>new Promise((A=>{Yt()(e,{useCORS:!0}).then((e=>{let t,i,n,r=e.toDataURL("image/jpeg",.9),o=.9,s=new Image;s.src=r,s.setAttribute("crossOrigin","Anonymous"),s.onload=function(){n=1*this.width,t=this.width,i=this.height;let e=document.createElement("canvas"),r=e.getContext("2d");Math.max(t,i)>n?t>i?(e.width=n,e.height=n*(i/t)):(e.height=n,e.width=n*(t/i)):(e.width=t,e.height=i,o=.6),r.clearRect(0,0,e.width,e.height),r.drawImage(this,0,0,e.width,e.height);let s=e.toDataURL("image/jpeg",o),a=Jt(s),l=new File([a],new Date+".jpg");A(l)}}))}));function Jt(e,A){let t=atob(e.split(",")[1]),i=[];for(let n=0;n{A.stopPropagation(),e.parentElement.children.forEach((e=>{e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px"})),e.parentElement.children.forEach((e=>{e.classList.add("active")})),e.style.zIndex=De.zIndex++;let t=e.style.left?e.style.left.replace(/px/g,""):0,i=e.style.top?e.style.top.replace(/px/g,""):0,n=A.offsetX,r=A.offsetY,o=A.clientX-A.offsetX-Number(t),s=A.clientY-A.offsetY-Number(i),a=!0;document.onmousemove=function(A){a&&(e.style.left=A.x-n-o+"px",e.style.top=A.y-r-s+"px",e.offsetLeft<=0&&(e.style.left="0px"),e.offsetTop<=0&&(e.style.top="0px"),e.offsetLeft+e.offsetWidth>=e.parentNode.offsetWidth&&(e.style.left=e.parentNode.offsetWidth-e.offsetWidth+"px"),e.offsetTop+e.offsetHeight>=e.parentNode.offsetHeight&&(e.style.top=e.parentNode.offsetHeight-e.offsetHeight+"px"))},document.onmouseup=function(){a=!1}}))},updated(e,A){}},compile:{mounted(e,A){e.addEventListener("mousedown",(t=>{t.stopPropagation();let i,n,r=e.parentNode.parentNode;e.parentElement.parentNode.parentNode.children.forEach((e=>{e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px"})),e.parentElement.parentNode.parentNode.children.forEach((e=>{e.classList.add("active")})),"right"==A.value||("left"==A.value?(r.style.right=r.parentNode.offsetWidth-r.offsetWidth-r.offsetLeft+"px",r.style.left="auto"):"top"==A.value?(r.style.bottom=r.parentNode.offsetHeight-r.offsetHeight-r.offsetTop+"px",r.style.top="auto"):A.value),"left"==A.value||"right"==A.value?(i=t.x,n=r.offsetWidth):(n=r.offsetHeight,i=t.y);let o=!0;document.onmousemove=function(e){o&&("left"==A.value?r.style.width=n+i-e.x+"px":"right"==A.value?r.style.width=n+e.x-i+"px":"top"==A.value?r.style.height=n+i-e.y+"px":"bottom"==A.value&&(r.style.height=n+e.y-i+"px"),r.parentNode.offsetWidth<=r.offsetWidth+Number(r.style.right.replace(/px/g,""))&&(r.style.width=r.parentNode.offsetWidth-Number(r.style.right.replace(/px/g,""))+"px"),r.offsetLeft+r.offsetWidth>=r.parentNode.offsetWidth&&(r.style.width=r.parentNode.offsetWidth-r.offsetLeft+"px"),r.parentNode.offsetHeight<=r.offsetHeight+Number(r.style.bottom.replace(/px/g,""))&&(r.style.height=r.parentNode.offsetHeight-Number(r.style.bottom.replace(/px/g,""))+"px"),r.offsetTop+r.offsetHeight>=r.parentNode.offsetHeight&&(r.style.height=r.parentNode.offsetHeight-r.offsetTop+"px"))},document.onmouseup=function(){o=!1}}))}},rotote:{mounted(e){let A,t=!0,i=0,n=e.parentNode.parentNode;if(document.defaultView){let e=document.defaultView.getComputedStyle(n.firstElementChild,null).transform.split("(")[1].split(",");A=Number(e[3])}e.addEventListener("mousedown",(r=>{r.stopPropagation(),t=!0;var o=e.getBoundingClientRect();let s=o.x+o.width/2,a=o.y+o.height/2;document.addEventListener("mousemove",(r=>{if(t){let t=s,o=a,l=r.clientX-t,c=o-r.clientY;i=Math.atan2(l,c)*(180/Math.PI),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+A+") rotateZ("+i+"deg)",e.style.transform="translate(-50%,-50%) rotateZ("+i+"deg)"}})),document.addEventListener("mouseup",(()=>{t=!1}))}));let r=!0;e.parentNode.addEventListener("mousemove",(t=>{e.parentNode.addEventListener("mousewheel",(e=>{r&&(r=!1,e.deltaY>0?A-=A<=1?.05:.1:A+=A<=1?.05:.1,A>=3?A=3:A<.2&&(A=.2),setTimeout((()=>{r=!0}),100),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+A+") rotateZ("+i+"deg)")}))}))}},angle:{mounted(e,A){let t=!1;e.addEventListener("mousedown",(i=>{i.stopPropagation(),e.parentNode.children.forEach((e=>{e.classList.add("eventNode")})),t=!0;let n,r,o=e.parentNode.parentNode,s=Math.sqrt(o.offsetWidth/2*o.offsetWidth/2+o.offsetHeight/2*o.offsetHeight/2),a=i=>{if(t){"right"==A.value?(n=o.offsetWidth-i.offsetX,r=o.offsetHeight-i.offsetY):"top"==A.value?(n=o.offsetWidth-i.offsetX-o.offsetWidth,r=o.offsetHeight-i.offsetY):"left"==A.value?(n=o.offsetWidth-i.offsetX,r=o.offsetHeight-i.offsetY-o.offsetHeight):"bottom"==A.value&&(n=o.offsetWidth-i.offsetX-o.offsetWidth,r=o.offsetHeight-i.offsetY-o.offsetHeight);let t=Math.sqrt(n*n+r*+r)/2;if(100-100*t/s<=50){let i=(100-100*t/s)/3.33-1;i<=0&&(i=0),"right"==A.value?(e.parentNode.style.borderTopLeftRadius=100-100*t/s+"%",o.style.borderTopLeftRadius=100-100*t/s+"%",e.style.left=i+"%",e.style.top=i+"%"):"top"==A.value?(e.parentNode.style.borderTopRightRadius=100-100*t/s+"%",o.style.borderTopRightRadius=100-100*t/s+"%",e.style.right=i+"%",e.style.left="auto",e.style.top=i+"%"):"bottom"==A.value?(e.parentNode.style.borderBottomRightRadius=100-100*t/s+"%",o.style.borderBottomRightRadius=100-100*t/s+"%",e.style.right=i+"%",e.style.top="auto",e.style.left="auto",e.style.bottom=i+"%"):"left"==A.value&&(e.parentNode.style.borderBottomLeftRadius=100-100*t/s+"%",o.style.borderBottomLeftRadius=100-100*t/s+"%",e.style.left=i+"%",e.style.top="auto",e.style.bottom=i+"%")}else"right"==A.value?(e.parentNode.style.borderTopLeftRadius="50%",o.style.borderTopLeftRadius="50%"):"top"==A.value?(e.parentNode.style.borderTopRightRadius="50%",o.style.borderTopRightRadius="50%"):"bottom"==A.value?(e.parentNode.style.borderBottomRightRadius="50%",o.style.borderBottomRightRadius="50%"):"left"==A.value&&(e.parentNode.style.borderBottomLeftRadius="50%",o.style.borderBottomLeftRadius="50%")}document.addEventListener("mouseup",(()=>{t=!1,e.removeEventListener("mousemove",a),e.parentNode.children.forEach((e=>{e.classList.remove("eventNode")}))}))};e.parentNode.addEventListener("mousemove",a)}))}},translate:{mounted(e,A,t){e.addEventListener("mousedown",(A=>{A.stopPropagation();let t=e.parentNode.parentNode;e.style.left=(e.offsetLeft+2)/t.offsetWidth*100+"%",e.style.top=(e.offsetTop+2)/t.offsetHeight*100+"%";e.style.left&&e.style.left.replace(/%/g,""),e.style.top&&e.style.top.replace(/%/g,"");let i=A.offsetX,n=A.offsetY,r=A.clientX-A.offsetX-e.offsetLeft,o=A.clientY-A.offsetY-e.offsetTop,s=!0;document.onmousemove=function(A){if(s){let s=(A.x-i+2-r)/t.offsetWidth*100+"%",a=(A.y-n+2-o)/t.offsetHeight*100+"%";e.style.left=s,e.style.top=a,e.previousSibling.style.top=a,e.previousSibling.style.left=s,t.firstChild.style.top=a,t.firstChild.style.left=s,e.offsetLeft<=0&&(e.style.left="0%",e.previousSibling.style.left="0%",t.firstChild.style.left="0%"),e.offsetTop<=0&&(e.style.top="0%",e.previousSibling.style.top="0%",t.firstChild.style.top="0%"),e.style.left.replace(/%/g,"")>=100&&(e.style.left="100%",e.previousSibling.style.left="100%",t.firstChild.style.left="100%"),e.style.top.replace(/%/g,"")>=100&&(e.style.top="100%",e.previousSibling.style.top="100%",t.firstChild.style.top="100%")}},document.onmouseup=function(){s=!1}}))}},modelImg:{mounted(e){let A=e.parentNode;A.offsetHeight>A.offsetWidth?(e.style.height="100%",e.style.width="auto"):(e.style.width="100%",e.style.height="auto")},updated(e){let A=e.parentNode;A.offsetHeight>A.offsetWidth?(e.style.height="100%",e.style.width="auto"):(e.style.width="100%",e.style.height="auto")}}},methods:{init(){let e=this.$parent;e=e.layoutList,this.layout=!0,this.layoutList.forEach((e=>{e.setPitch=!1})),this.layoutList=e,this.moodbList=this.moodb[e.length-1],this.moodbClassName=this.moodb_className},cancelDsign(){this.layout=!1},setpitch(e,A){this.layoutList.forEach((e=>{e.setPitch=!1})),e.setPitch=!0,this.content&&(this.content[A].style.zIndex=De.zIndex++)},setmoodb(e){if(this.moodbClassName=e,this.$emit("setmoodbClass",this.moodbClassName),this.content)for(e of this.content)e.classList.remove("active"),e.style.top="",e.style.left="",e.style.right="",e.style.bottom="",e.style.width="",e.style.height=""},changeTemplateModal(){this.layout=!this.layout},submitTemplate(){this.loadingShow=!0,this.layoutList.forEach((e=>{e.setPitch=!1})),(0,n.Y3)().then((async()=>{let e=document.getElementById("layoutCentent"),A=await $t(e),t=new FormData;t.append("inPin","0"),t.append("gender",""),t.append("level1Type","Moodboard"),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",A);let i={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};Ie.V.axiosPost(Ie.V.httpUrls.elementUpload,t,i).then((e=>{e.imgUrl=e.url,this.layout=!1,this.loadingShow=!1,this.store.commit("setDisposeMoodboard",e)})).catch((e=>{this.loadingShow=!1}))}))},beforeUpload(){}}});const ei=(0,Xe.Z)(qt,[["render",Gt]]);var Ai=ei;const ti={class:"layout_content"},ii={class:"collection_title"},ni={class:"collection_title_text"},ri={class:"layout_title"},oi=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),si=[oi],ai={class:"layout_nav"},li=["onClick"],ci=["src"],di=["onClick"],ui=["src"],hi={class:"layout_btn"},gi={class:"layout_btn_top"},pi={class:"layout_btn_bottom"},fi={class:"layout_btn_left"},mi={class:"layout_btn_right"},Bi={class:"layout_rotote"},wi={class:"layout_translate"},vi={class:"layout_angle_tr"},yi={class:"layout_angle_tl"},Ci={class:"layout_angle_br"},bi={class:"layout_angle_bl"},_i={class:"layout_left"},Qi={class:"layout_left_text"},Ui=["onClick"],Fi={class:"mark_loading"};function xi(e,A,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("a-modal"),u=(0,n.Q2)("modelImg"),h=(0,n.Q2)("compile"),g=(0,n.Q2)("rotote"),p=(0,n.Q2)("translate"),f=(0,n.Q2)("angle"),m=(0,n.Q2)("layout");return(0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(d,{class:"layout_modal",visible:e.layout,"onUpdate:visible":A[2]||(A[2]=A=>e.layout=A),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,mask:!1,keyboard:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",ti,[(0,n._)("div",ii,[(0,n._)("div",ni,[(0,n._)("div",ri,(0,r.zw)(e.$t("layout.MoodBoardDesign")),1)])]),(0,n._)("div",{class:"collection_closeIcon",onClick:A[0]||(A[0]=(0,o.iM)((A=>e.cancelDsign()),["stop"]))},si),(0,n._)("div",ai,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.layoutList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{key:A,class:(0,r.C_)({active:A.setPitch}),onClick:i=>e.setpitch(A,t)},[(0,n._)("img",{src:A.imgUrl},null,8,ci)],10,li)))),128))]),(0,n._)("div",{class:(0,r.C_)(["layout_centent",{active:e.flex_direction}]),id:"layoutCentent"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.layoutList,((A,t)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{key:A,class:(0,r.C_)([e.moodbClassName[t],"modal_imgItem"]),onClick:i=>e.setpitch(A,t),ref_for:!0,ref:"content"},[(0,n.wy)((0,n._)("img",{crossOrigin:"anonymous",src:A.imgUrl,draggable:"false"},null,8,ui),[[u]]),(0,n.wy)((0,n._)("ul",hi,[(0,n.wy)((0,n._)("li",gi,null,512),[[h,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",pi,null,512),[[h,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",fi,null,512),[[h,"left",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",mi,null,512),[[h,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Bi,null,512),[[g,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",wi,null,512),[[p,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",vi,null,512),[[f,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",yi,null,512),[[f,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ci,null,512),[[f,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",bi,null,512),[[f,"left",void 0,{stop:!0}]])],512),[[o.F8,A.setPitch]])],10,di)),[[m,t]]))),128))],2),(0,n._)("div",_i,[(0,n._)("div",Qi,(0,r.zw)(e.$t("layout.LayerOptions")),1),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.moodbList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"layout_left_items",onClick:t=>e.setmoodb(A)},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A,((e,A)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([e,"layout_left_item"])},null,2)))),256))],8,Ui)))),256))]),(0,n._)("div",{class:"button_second submit_button",onClick:A[1]||(A[1]=A=>e.submitTemplate())},(0,r.zw)(e.$t("layout.Submit")),1)]),(0,n.wy)((0,n._)("div",Fi,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,e.loadingShow]]),(0,n.Wm)(c,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...e.upload},headers:{Authorization:e.token},"before-upload":e.beforeUpload,multiple:"",accept:".jpg,.png,.jpeg,.bmp"},null,8,["action","data","headers","before-upload"])])),_:1},8,["visible"])])}var Ei=(0,n.aZ)({props:["moodb_className","flex_direction"],components:{draggable:Zt()},setup(e){let A=(0,W.iH)(!1),t=(0,W.iH)([]),i=(0,W.iH)(1),n=!1,r=(0,W.iH)([]);const o=(0,W.iH)(null);let s=(0,W.iH)(!1);return{layout:A,templateFileList:t,openClick:i,drag:n,layoutList:r,content:o,loadingShow:s}},data(){return{store:(0,Se.oR)(),moodb:jt.moodb_,moodbList:{},moodbClassName:[],setabsolute:!1,token:"",uploadUrl:"",upload:{isPin:0,gender:"",level1Type:"Moodboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}}},mounted(){this.token=(0,He.ej)("token")||"",this.uploadUrl=(0,Le.M$)()},directives:{layout:{mounted(e,A,t){e.addEventListener("touchstart",(A=>{A.stopPropagation(),e.parentElement.children.forEach((e=>{e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px"})),e.parentElement.children.forEach((e=>{e.classList.add("active")})),e.style.zIndex=De.zIndex++;let t=e.style.left?e.style.left.replace(/px/g,""):0,i=e.style.top?e.style.top.replace(/px/g,""):0,n=A.changedTouches[0].pageX-e.getBoundingClientRect().left,r=A.changedTouches[0].pageY-e.getBoundingClientRect().top,o=A.targetTouches[0].clientX-n-Number(t),s=A.targetTouches[0].clientY-r-Number(i),a=!0,l=function(A){a&&(e.style.left=A.targetTouches[0].pageX-n-o+"px",e.style.top=A.targetTouches[0].pageY-r-s+"px",e.offsetLeft<=0&&(e.style.left="0px"),e.offsetTop<=0&&(e.style.top="0px"),e.offsetLeft+e.offsetWidth>=e.parentNode.offsetWidth&&(e.style.left=e.parentNode.offsetWidth-e.offsetWidth+"px"),e.offsetTop+e.offsetHeight>=e.parentNode.offsetHeight&&(e.style.top=e.parentNode.offsetHeight-e.offsetHeight+"px"))},c=function(){a=!1,document.removeEventListener("touchmove",l),document.removeEventListener("touchmove",l)};document.addEventListener("touchmove",l),document.addEventListener("touchend",c)}))},updated(e,A){}},compile:{mounted(e,A){e.addEventListener("touchstart",(t=>{t.stopPropagation();let i,n,r=e.parentNode.parentNode;e.parentElement.parentNode.parentNode.children.forEach((e=>{e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px"})),e.parentElement.parentNode.parentNode.children.forEach((e=>{e.classList.add("active")})),"right"==A.value||("left"==A.value?(r.style.right=r.parentNode.offsetWidth-r.offsetWidth-r.offsetLeft+"px",r.style.left="auto"):"top"==A.value?(r.style.bottom=r.parentNode.offsetHeight-r.offsetHeight-r.offsetTop+"px",r.style.top="auto"):A.value),"left"==A.value||"right"==A.value?(i=t.targetTouches[0].clientX,n=r.offsetWidth):(n=r.offsetHeight,i=t.targetTouches[0].clientY);let o=!0,s=function(e){o&&("left"==A.value?r.style.width=n+i-e.targetTouches[0].clientX+"px":"right"==A.value?r.style.width=n+e.targetTouches[0].clientX-i+"px":"top"==A.value?r.style.height=n+i-e.targetTouches[0].clientY+"px":"bottom"==A.value&&(r.style.height=n+e.targetTouches[0].clientY-i+"px"),r.parentNode.offsetWidth<=r.offsetWidth+Number(r.style.right.replace(/px/g,""))&&(r.style.width=r.parentNode.offsetWidth-Number(r.style.right.replace(/px/g,""))+"px"),r.offsetLeft+r.offsetWidth>=r.parentNode.offsetWidth&&(r.style.width=r.parentNode.offsetWidth-r.offsetLeft+"px"),r.parentNode.offsetHeight<=r.offsetHeight+Number(r.style.bottom.replace(/px/g,""))&&(r.style.height=r.parentNode.offsetHeight-Number(r.style.bottom.replace(/px/g,""))+"px"),r.offsetTop+r.offsetHeight>=r.parentNode.offsetHeight&&(r.style.height=r.parentNode.offsetHeight-r.offsetTop+"px"))},a=function(){o=!1,e.parentNode.removeEventListener("touchmove",s),document.removeEventListener("touchmove",s),e.parentNode.children.forEach((e=>{e.classList.remove("eventNode")}))};e.parentNode.addEventListener("touchmove",s),document.addEventListener("touchend",a)}))}},rotote:{mounted(e){let A,t=!0,i=0,n=e.parentNode.parentNode;if(document.defaultView){let e=document.defaultView.getComputedStyle(n.firstElementChild,null).transform.split("(")[1].split(",");A=Number(e[3])}e.addEventListener("touchstart",(r=>{r.stopPropagation(),t=!0;var o=e.getBoundingClientRect();let s=o.x+o.width/2,a=o.y+o.height/2;document.addEventListener("touchmove",(r=>{if(t){let t=s,o=a,l=r.targetTouches[0].clientX-t,c=o-r.targetTouches[0].clientY;i=Math.atan2(l,c)*(180/Math.PI),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+A+") rotateZ("+i+"deg)",e.style.transform="translate(-50%,-50%) rotateZ("+i+"deg)"}})),document.addEventListener("touchend",(()=>{t=!1}))}));let r=!0;e.parentNode.addEventListener("mousemove",(t=>{e.parentNode.addEventListener("mousewheel",(e=>{r&&(r=!1,e.deltaY>0?A-=A<=1?.05:.1:A+=A<=1?.05:.1,A>=3?A=3:A<.2&&(A=.2),setTimeout((()=>{r=!0}),100),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+A+") rotateZ("+i+"deg)")}))}))}},angle:{mounted(e,A){let t=!1;e.addEventListener("touchstart",(i=>{i.stopPropagation(),e.parentNode.children.forEach((e=>{e.classList.add("eventNode")})),t=!0;let n,r,o=e.parentNode.parentNode,s=Math.sqrt(o.offsetWidth/2*o.offsetWidth/2+o.offsetHeight/2*o.offsetHeight/2),a=i=>{if(t){let t=i.changedTouches[0].pageX-e.parentNode.getBoundingClientRect().left,a=i.changedTouches[0].pageY-e.parentNode.getBoundingClientRect().top;"right"==A.value?(n=o.offsetWidth-t,r=o.offsetHeight-a):"top"==A.value?(n=o.offsetWidth-t-o.offsetWidth,r=o.offsetHeight-a):"left"==A.value?(n=o.offsetWidth-t,r=o.offsetHeight-o.offsetHeight-a):"bottom"==A.value&&(n=o.offsetWidth-t-o.offsetWidth,r=o.offsetHeight-a-o.offsetHeight);let l=Math.sqrt(n*n+r*r)/2;if(100-100*l/s<=50){let t=(100-100*l/s)/3.33-1;t<=0&&(t=0),"right"==A.value?(e.parentNode.style.borderTopLeftRadius=100-100*l/s+"%",o.style.borderTopLeftRadius=100-100*l/s+"%",e.style.left=t+"%",e.style.top=t+"%"):"top"==A.value?(e.parentNode.style.borderTopRightRadius=100-100*l/s+"%",o.style.borderTopRightRadius=100-100*l/s+"%",e.style.right=t+"%",e.style.left="auto",e.style.top=t+"%"):"bottom"==A.value?(e.parentNode.style.borderBottomRightRadius=100-100*l/s+"%",o.style.borderBottomRightRadius=100-100*l/s+"%",e.style.right=t+"%",e.style.top="auto",e.style.left="auto",e.style.bottom=t+"%"):"left"==A.value&&(e.parentNode.style.borderBottomLeftRadius=100-100*l/s+"%",o.style.borderBottomLeftRadius=100-100*l/s+"%",e.style.left=t+"%",e.style.top="auto",e.style.bottom=t+"%")}else"right"==A.value?(e.parentNode.style.borderTopLeftRadius="50%",o.style.borderTopLeftRadius="50%"):"top"==A.value?(e.parentNode.style.borderTopRightRadius="50%",o.style.borderTopRightRadius="50%"):"bottom"==A.value?(e.parentNode.style.borderBottomRightRadius="50%",o.style.borderBottomRightRadius="50%"):"left"==A.value&&(e.parentNode.style.borderBottomLeftRadius="50%",o.style.borderBottomLeftRadius="50%")}document.addEventListener("touchend",(()=>{t=!1,e.parentNode.removeEventListener("touchmove",a),e.parentNode.children.forEach((e=>{e.classList.remove("eventNode")}))}))};e.parentNode.addEventListener("touchmove",a,!1)}))}},translate:{mounted(e,A,t){e.addEventListener("touchstart",(A=>{A.stopPropagation();let t=e.parentNode.parentNode;e.style.left=(e.offsetLeft+2)/t.offsetWidth*100+"%",e.style.top=(e.offsetTop+2)/t.offsetHeight*100+"%";e.style.left&&e.style.left.replace(/%/g,""),e.style.top&&e.style.top.replace(/%/g,"");let i=A.changedTouches[0].pageX-e.parentNode.getBoundingClientRect().left,n=A.changedTouches[0].pageY-e.parentNode.getBoundingClientRect().top,r=A.changedTouches[0].pageX-i-e.offsetLeft,o=A.changedTouches[0].pageY-n-e.offsetTop,s=!0,a=function(A){if(s){let s=(A.changedTouches[0].pageX-i+2-r)/t.offsetWidth*100+"%",a=(A.changedTouches[0].pageY-n+2-o)/t.offsetHeight*100+"%";e.style.left=s,e.style.top=a,e.previousSibling.style.top=a,e.previousSibling.style.left=s,t.firstChild.style.top=a,t.firstChild.style.left=s,e.offsetLeft<=0&&(e.style.left="0%",e.previousSibling.style.left="0%",t.firstChild.style.left="0%"),e.offsetTop<=0&&(e.style.top="0%",e.previousSibling.style.top="0%",t.firstChild.style.top="0%"),e.style.left.replace(/%/g,"")>=100&&(e.style.left="100%",e.previousSibling.style.left="100%",t.firstChild.style.left="100%"),e.style.top.replace(/%/g,"")>=100&&(e.style.top="100%",e.previousSibling.style.top="100%",t.firstChild.style.top="100%")}};e.parentNode.addEventListener("touchmove",a,!1),document.addEventListener("touchend",(()=>{s=!1,e.parentNode.removeEventListener("touchmove",a),e.parentNode.children.forEach((e=>{e.classList.remove("eventNode")}))}))}))}},modelImg:{}},methods:{init(){let e=this.$parent;e=e.layoutList,this.layout=!0,this.layoutList.forEach((e=>{e.setPitch=!1})),this.layoutList=e,this.moodbList=this.moodb[e.length-1],this.moodbClassName=this.moodb_className},cancelDsign(){this.layout=!1},setpitch(e,A){this.layoutList.forEach((e=>{e.setPitch=!1})),e.setPitch=!0,this.content&&(this.content[A].style.zIndex=De.zIndex++)},setmoodb(e){if(this.moodbClassName=e,this.$emit("setmoodbClass",this.moodbClassName),this.content)for(e of this.content)e.classList.remove("active"),e.style.top="",e.style.left="",e.style.right="",e.style.bottom="",e.style.width="",e.style.height=""},changeTemplateModal(){this.layout=!this.layout},submitTemplate(){this.loadingShow=!0,this.layoutList.forEach((e=>{e.setPitch=!1})),(0,n.Y3)().then((async()=>{let e=document.getElementById("layoutCentent"),A=await $t(e),t=new FormData;t.append("inPin","0"),t.append("gender",""),t.append("level1Type","Moodboard"),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",A);let i={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};Ie.V.axiosPost(Ie.V.httpUrls.elementUpload,t,i).then((e=>{e.imgUrl=e.url,this.layout=!1,this.loadingShow=!1,this.store.commit("setDisposeMoodboard",e)})).catch((e=>{this.loadingShow=!1}))}))},beforeUpload(){}}});const ki=(0,Xe.Z)(Ei,[["render",xi]]);var Ii=ki,Si=(0,n.aZ)({components:{Material:it,MoodTemplate:ft,Generate:iA,layout:Ai,layoutMobile:Ii},setup(){const e=(0,Se.oR)();let A=(0,W.iH)([]),t=(0,W.iH)([]),i=(0,W.iH)([]),r=(0,W.iH)(!1),o=(0,W.iH)([]),s=(0,W.iH)(1),a=(0,W.iH)([]),l=(0,W.iH)(!1),c=[],d=(0,W.iH)(!1),u=(0,W.iH)(!1),h=(0,n.Fl)((()=>e.state.UploadFilesModule.disposeMoodboard)),g=(0,n.f3)("driver__"),p=(0,W.iH)([]),f=(0,W.iH)(),{t:m}=(0,eA.QT)();return{fileList:t,showFileList:i,lessenList:A,templateModal:r,templateFileList:o,openClick:s,moodb_className:a,flex_direction:l,layoutList:c,layoutOpen:d,loadingShow:u,modalImg:h,driver__:g,uploading:p,edieShow:f,t:m}},data(){return{indicator:(0,n.h)(xe.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,gender:"",level1Type:"Moodboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",moodTemplateId:"",store:(0,Se.oR)(),moodb_:jt.moodb_,moodboarList:(0,n.Fl)((()=>(0,Se.oR)().state.UploadFilesModule.moodboard))}},mounted(){this.token=(0,He.ej)("token")||"",this.uploadUrl=(0,Le.M$)()},watch:{driver__:{handler(e,A){e.index>=6&&e.index<=8&&this.open(e.index-5)}}},directives:{modelImg:{mounted(e){let A=e.parentNode;A.offsetHeight>A.offsetWidth?(e.style.height="100%",e.style.width="auto"):(e.style.width="100%",e.style.height="auto")},updated(e){let A=e.parentNode;A.offsetHeight>A.offsetWidth?(e.style.height="100%",e.style.width="auto"):(e.style.width="100%",e.style.height="auto")}}},methods:{open(e){if(this.openClick=e,2==e){let e=this.$refs.Material;e.init("Moodboard")}else if(3==e){let e=this.$refs.Generate;this.driver__.driver?e.searchPictureName="Exit sign, door, sunset, ocean, surreal":e.searchPictureName=""}},fileUploadChange(e){let A=e.file,t=!0;if("done"===A.status){let e=JSON.parse(A.xhr.response);if(0==e.errCode){A.imgUrl=e.data.url,A.resData=e.data,A.type_={type1:"upload",type2:"Moodboard"},A.id_=De.id++,A.id=e.data.id;let t=this.fileList.filter((e=>"done"===e.status)),i=this.store.state.UploadFilesModule.moodboard;i.length>=8?Ee.ZP.info(this.t("MoodboardUpload.jsContent1")):this.store.commit("setMoodboardFile",t)}else t=!1}else"error"===A.status&&(t=!1);if(!t){let e=JSON.parse(A.xhr.response),t=-1;this.fileList.forEach(((e,i)=>{A.uid===e.uid&&(t=i)})),t>-1&&this.fileList.splice(t,1),Ee.ZP.warning(e.errMsg)}},beforeUpload(e){const A="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/bmp"===e.type;A||Ee.ZP.info(this.t("MoodboardUpload.jsContent3"));const t=e.size/1024/1024<2;return t||Ee.ZP.info(this.t("MoodboardUpload.jsContent4")),A&&t||ke.Z.LIST_IGNORE},deleteFile(e){if("generate"==e.type_.type1||"material"==e.type_.type1)e.jsContent1=this.t("uploadFile.jsContent1",{maxImg:8}),this.store.commit("addGenerateMaterialFils",e);else{let A;this.fileList=this.store.state.UploadFilesModule.moodboardFiles,this.store.state.UploadFilesModule.moodboardFiles.forEach(((t,i)=>{t.id_==e.id_&&(A=i)})),this.fileList.splice(A,1),this.store.commit("setMoodboardFile",this.fileList)}0==this.store.state.UploadFilesModule.moodboard.length&&(this.store.commit("clearMoodTemplateId"),this.layoutList=[],this.edieShow=!1)},recollection(){let e=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.moodboardFiles)),A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.disposeMoodboard)),t={generate:[],material:[],moodboard:[]};e.forEach((e=>{"generate"==e.type_.type1?t.generate.push(e):"material"==e.type_.type1?t.material.push(e):t.moodboard.push(e)})),this.store.commit("setMoodboardGenerateFiles",t.generate),this.store.commit("setMoodboardMaterialFiles",t.material),this.store.commit("setMoodboardFile",t.moodboard),this.store.commit("setDisposeMoodboard",A[0]),this.fileList=t.moodboard},async changeTemplateModal(){if(this.modalImg[0]?.id){let e=(0,Le.S0)()?this.$refs.layoutMobile:this.$refs.layout;this.layoutList.length<=0&&await this.layout(),e.init()}else Ee.ZP.info(this.t("MoodboardUpload.jsContent5"))},layout(){this.loadingShow=!0,this.edieShow=!0,this.store.commit("setDisposeMoodboard",[]);let e=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.moodboard));this.layoutList=e;var A=Math.round(Math.random()*(this.moodb_[e.length-1].length-1));let t=this.moodb_[e.length-1][A];0!=t.filter(((e,A)=>"w2h1"==e)).length&&e.length>4?this.flex_direction=!0:this.flex_direction=!1,1==this.moodb_[e.length-1].length||JSON.stringify(this.moodb_className)!=JSON.stringify(this.moodb_[e.length-1][A])?(2==this.moodb_[e.length-1].length?this.moodb_className=this.moodb_[e.length-1][0]:this.moodb_className=this.moodb_[e.length-1][A],this.layoutOpen=!0,this.layoutList.forEach((e=>{e.setPitch=!1})),(0,n.Y3)().then((async()=>{let e=document.getElementById("modal_img"),A=await $t(e),t=new FormData;t.append("inPin","0"),t.append("level1Type","Moodboard"),t.append("gender",""),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",A);let i={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};Ie.V.axiosPost(Ie.V.httpUrls.elementUpload,t,i).then((e=>{let A=e;A.imgUrl=e.url,A.resData=JSON.parse(JSON.stringify(A)),this.store.commit("setDisposeMoodboard",A),this.loadingShow=!1})).catch((e=>{this.loadingShow=!1})),this.driver__.driver&&qe.RX.moveNext()}))):this.layout()},setmoodbClass(e){this.moodb_className=e}}});const Di=(0,Xe.Z)(Si,[["render",SA],["__scopeId","data-v-469e9626"]]);var Hi=Di;const Li=e=>((0,n.dD)("data-v-4c8347bb"),e=e(),(0,n.Cn)(),e),Oi={class:"printboard_left_upload"},Mi={class:"left_upload_header"},Ti={class:"upload_header_item"},Ni={class:"switch_type_list"},Ki={class:"printboard_body"},Pi={class:"upload_img_body"},Ri={class:"upload_item"},Vi={class:"upload_file_img_block"},Gi={class:"upload_file_item_content"},ji={class:"upload_file_item_content"},zi=["onClick"],Zi=Li((()=>(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1))),Wi=[Zi],Yi={class:"pin_block"},Xi={class:"upload_file_item upload_component"},Ji={class:"upload_tip_block"},$i=Li((()=>(0,n._)("i",{class:"fi fi-br-upload"},null,-1))),qi=[$i],en={class:"upload_max_tip"},An=Li((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1))),tn={class:"modal_right"},nn={class:"modal_layout"},rn={class:"modal_text"},on={class:"modal_img"},sn=["onClick"],an=Li((()=>(0,n._)("div",{class:"checked"},[(0,n._)("i",{class:"fi fi-rr-trash"})],-1))),ln={class:"modal_accomplish"},cn=["maxlength","readonly","placeholder"],dn={class:"modal_img"},un=["src","onClick"],hn=["onClick"],gn=["onClick"],pn={class:"pin_block"},fn={class:"mark_loading"};function mn(e,A,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-checkbox"),d=(0,n.up)("a-upload"),u=(0,n.up)("Material"),h=(0,n.up)("Generate"),g=(0,n.up)("Cropper"),p=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["printboard_upload_modal",[e.driver__.driver?"showEvents":""]])},[(0,n._)("div",Oi,[(0,n._)("div",Mi,[(0,n._)("div",Ti,[(0,n._)("div",Ni,[(0,n._)("div",{onClick:A[0]||(A[0]=(0,o.iM)((A=>e.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==e.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("PrintboardUpload.Upload")),1)],2),(0,n._)("div",{onClick:A[1]||(A[1]=(0,o.iM)((A=>e.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==e.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("PrintboardUpload.Library")),1)],2),(0,n._)("div",{onClick:A[2]||(A[2]=(0,o.iM)((A=>e.open(3)),["stop"])),class:(0,r.C_)(["switch_type_item Guide_1_2_1",[3==e.openClick?"select_swtich":"",e.driver__.driver?"showEvents":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("PrintboardUpload.Generate")),1)],2)])])]),(0,n.wy)((0,n._)("div",Ki,[(0,n._)("div",Pi,[(0,n._)("div",Ri,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.fileList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["upload_file_item"]),key:A},[(0,n._)("div",Vi,[(0,n.wy)((0,n._)("div",Gi,[(0,n.Wm)(l,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===A?.status]]),(0,n.wy)((0,n._)("div",ji,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("img",{class:"upload_img",key:A.imgUrl})),[[p,A.imgUrl]]),(0,n._)("div",{class:"delete_like_file_block",onClick:(0,o.iM)((t=>e.deleteFile(A)),["stop"])},Wi,8,zi)],512),[[o.F8,"done"===A?.status]])]),(0,n.wy)((0,n._)("div",Yi,[(0,n.Wm)(c,{checked:A.pin,"onUpdate:checked":e=>A.pin=e},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(e.$t("PrintboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])],512),[[o.F8,"done"===A?.status]])])))),128)),(0,n.wy)((0,n._)("div",Xi,[(0,n.Wm)(d,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card","before-upload":e.beforeUpload,data:{...e.upload},headers:{Authorization:e.token},"file-list":e.fileList,"onUpdate:file-list":A[3]||(A[3]=A=>e.fileList=A),customRequest:function(){},multiple:!e.driver__.driver,maxCount:8-e.printboardList.length+e.fileList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:e.fileUploadChange},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",Ji,qi,512),[[o.F8,e.printboardList.length<8]])])),_:1},8,["action","before-upload","data","headers","file-list","customRequest","multiple","maxCount","onChange"])],512),[[o.F8,e.printboardList.length<8]])])]),(0,n._)("div",en,[An,(0,n._)("span",null,(0,r.zw)(e.$t("PrintboardUpload.Maximum")),1)])],512),[[o.F8,1==e.openClick]]),(0,n.wy)((0,n.Wm)(u,{ref:"Material",msg:"Printboard",onConfirmSelect:e.confirmSelect},null,8,["onConfirmSelect"]),[[o.F8,2==e.openClick]]),(0,n.wy)((0,n.Wm)(h,{ref:"Generate",msg:"Printboard",onGenerateCheckbox:e.getgenerateCheckbox},null,8,["onGenerateCheckbox"]),[[o.F8,3==e.openClick]])]),(0,n._)("div",tn,[(0,n._)("div",nn,[(0,n._)("div",rn,[(0,n._)("div",null,(0,r.zw)(e.$t("PrintboardUpload.Thumbnail")),1)]),(0,n._)("div",on,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.printboardList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:A,onClick:(0,o.iM)((t=>e.deleteFile(A)),["stop"])},[(0,n.wy)((0,n._)("img",null,null,512),[[p,A.imgUrl]]),an],8,sn)))),128))])]),(0,n.wy)((0,n._)("div",ln,[(0,n._)("div",{class:(0,r.C_)(["input_box Guide_1_2_8",[e.inputShow?"active":"",e.driver__.driver?"showEvents":""]])},[(0,n.wy)((0,n._)("input",{class:(0,r.C_)(["search_input",{forbidden:e.generateCheckbox}]),onInput:A[4]||(A[4]=(...A)=>e.ifMaximumLength&&e.ifMaximumLength(...A)),onKeydown:A[5]||(A[5]=(0,o.D2)(((...A)=>e.getgenerate&&e.getgenerate(...A)),["enter"])),maxlength:e.inputShow?0:9999,readonly:e.generateCheckbox,placeholder:e.$t("PrintboardUpload.inputContent1"),"onUpdate:modelValue":A[6]||(A[6]=A=>e.captionGeneration=A)},null,42,cn),[[o.nr,e.captionGeneration]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:A[7]||(A[7]=(0,o.iM)(((...A)=>e.getgenerate&&e.getgenerate(...A)),["stop"]))},(0,r.zw)(e.$t("PrintboardUpload.Generate")),1),(0,n._)("span",null,(0,r.zw)(e.$t("PrintboardUpload.maximumLength")),1)],2),(0,n._)("div",dn,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.generateList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["modal_imgItem Guide_1_2_9",[A?.checked?"active":"",e.driver__.driver?"showEvents":""]])},[(0,n._)("img",{src:A.imgUrl,onClick:(0,o.iM)((t=>e.generageAdd(A)),["stop"])},null,8,un),(0,n._)("div",{class:(0,r.C_)(["delete_like_file_block",[e.driver__.driver?"hideEvents":""]])},[A.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,o.iM)((t=>e.likeFile(A,"noLike")),["stop"])},null,8,gn)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,o.iM)((t=>e.likeFile(A,"like")),["stop"])},null,8,hn))],2),(0,n._)("div",pn,[(0,n.Wm)(c,{checked:A.pin,"onUpdate:checked":e=>A.pin=e},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(e.$t("PrintboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])])],2)))),256))]),(0,n.wy)((0,n._)("div",fn,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,e.loadingShow]])],512),[[o.F8,3==e.openClick]])]),(0,n.Wm)(g,{ref:"Cropper",onHandleCropperSuccess:e.handleCropperSuccess,onCloseCropper:A[8]||(A[8]=A=>e.deletUploadFile()),cropperFileData:e.cropperFileData,isUpload:e.isUpload},null,8,["onHandleCropperSuccess","cropperFileData","isUpload"])],2)}const Bn=e=>((0,n.dD)("data-v-6e086b04"),e=e(),(0,n.Cn)(),e),wn={class:"collection_title"},vn={class:"collection_title_text"},yn={class:"collection_modal_body"},Cn={class:"cut_picture_left"},bn={class:"cut_picture_body"},_n={class:"cur_picture_opterate"},Qn=Bn((()=>(0,n._)("span",{class:"icon iconfont icon-chexiao operate_icon"},null,-1))),Un=[Qn],Fn=Bn((()=>(0,n._)("span",{class:"icon iconfont icon-chexiao operate_icon icon_chexiao_sec"},null,-1))),xn=[Fn],En=Bn((()=>(0,n._)("span",{class:"operate_icon icon_font"},"-",-1))),kn=[En],In=Bn((()=>(0,n._)("span",{class:"operate_icon icon_font"},"+",-1))),Sn=[In],Dn=Bn((()=>(0,n._)("span",{class:"icon iconfont icon-shuaxin operate_icon"},null,-1))),Hn=[Dn],Ln={class:"cut_picture_right"},On={class:"cur_picture_right_header"},Mn=Bn((()=>(0,n._)("div",{class:"review_logo icon iconfont icon-yulan"},null,-1))),Tn={class:"cut_picture_review_block"},Nn={class:"cut_picture_review_item"},Kn=["src"];function Pn(e,A,t,i,s,a){const l=(0,n.up)("VueCropper"),c=(0,n.up)("a-modal");return(0,n.wg)(),(0,n.j4)(c,{class:"modal_component cut_pricture_modal",visible:e.cutPicuterModal,"onUpdate:visible":A[8]||(A[8]=A=>e.cutPicuterModal=A),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,keyboard:!1,zIndex:999999,mask:!1},{default:(0,n.w5)((()=>[(0,n._)("div",wn,[(0,n._)("div",vn,[(0,n._)("div",null,(0,r.zw)(e.$t("Cropper.Cutpicture")),1)]),(0,n._)("div",{class:"header_right_block",onClick:A[2]||(A[2]=(0,o.iM)((()=>{}),["stop"]))},[(0,n._)("div",{class:"next_step_button",onClick:A[0]||(A[0]=(0,o.iM)((A=>e.finishCropper()),["stop"]))},(0,r.zw)(e.$t("Cropper.Finish")),1),(0,n._)("div",{class:"header_cancel_button",onClick:A[1]||(A[1]=(0,o.iM)((A=>e.cancleCropper()),["stop"]))},(0,r.zw)(e.$t("Cropper.Cancel")),1)])]),(0,n._)("div",yn,[(0,n._)("div",Cn,[(0,n._)("div",bn,[(0,n.Wm)(l,{ref:"cropper",original:e.option.original,img:e.option.img,outputSize:e.option.size,outputType:e.option.outputType,"auto-crop":e.option.autoCrop,"auto-crop-width":e.option.autoCropWidth,"auto-crop-height":e.option.autoCropHeight,"center-box":e.option.centerBox,"can-move":e.option.canMove,"can-move-box":e.option.canMoveBox,onRealTime:e.realTime},null,8,["original","img","outputSize","outputType","auto-crop","auto-crop-width","auto-crop-height","center-box","can-move","can-move-box","onRealTime"])]),(0,n._)("div",_n,[(0,n._)("div",{class:"cur_picture_opterate_item",onClick:A[3]||(A[3]=A=>e.rotateLeft())},Un),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:A[4]||(A[4]=A=>e.rotateRight())},xn),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:A[5]||(A[5]=A=>e.changeScale(-1))},kn),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:A[6]||(A[6]=A=>e.changeScale(1))},Sn),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:A[7]||(A[7]=A=>e.refreshCrop())},Hn)])]),(0,n._)("div",Ln,[(0,n._)("div",On,[Mn,(0,n._)("div",null,(0,r.zw)(e.$t("Cropper.CropPreview")),1)]),(0,n._)("div",Tn,[(0,n._)("div",Nn,[(0,n._)("div",{class:"cut_picture_review_content",style:(0,r.j5)({width:e.previews.w+"px",height:e.previews.h+"px",overflow:"hidden"})},[(0,n._)("div",{style:(0,r.j5)(e.previews.div)},[(0,n._)("img",{class:"previews_image",style:(0,r.j5)(e.previews.img),src:e.previews.url},null,12,Kn)],4)],4)])])])])])),_:1},8,["visible"])}var Rn=t(2323),Vn=(0,n.aZ)({props:["cropperFileData","isUpload"],components:{VueCropper:Rn.AK},setup(){let e=(0,n.f3)("driver__");return{driver__:e}},data(){return{cutPicuterModal:!1,option:{original:!1,img:"",size:1,full:!1,outputType:"png",autoCrop:!0,autoCropWidth:360,autoCropHeight:360,max:99999,centerBox:!0,canMove:!0,canMoveBox:!0},previews:{}}},methods:{rotateLeft(){let e=this.$refs.cropper;e.rotateLeft()},rotateRight(){let e=this.$refs.cropper;e.rotateRight()},refreshCrop(){let e=this.$refs.cropper;e.refresh()},changeScale(e){e=e||1;let A=this.$refs.cropper;A.changeScale(e)},realTime(e){this.previews=e},getOptionImg(e){this.option.img=e},changeShowModal(e){this.cutPicuterModal=e},finishCropper(){let e=this.$refs.cropper;e.getCropData((e=>{let A=(0,Le._x)(e,this.cropperFileData.name);this.$emit("handleCropperSuccess",{file:A,fileData:this.cropperFileData})}))},closeCropper(){this.cutPicuterModal=!1,this.option.img=""},cancleCropper(){this.cutPicuterModal=!1,this.option.img="",this.$emit("closeCropper")}}});const Gn=(0,Xe.Z)(Vn,[["render",Pn],["__scopeId","data-v-6e086b04"]]);var jn=Gn,zn=(0,n.aZ)({components:{Cropper:jn,Material:it,Generate:iA},setup(){let e=(0,Se.oR)(),A=(0,W.iH)([]),t=(0,W.iH)([]),i=(0,n.Fl)((()=>e.state.UploadFilesModule.moodboard)),r=(0,n.Fl)((()=>e.state.UploadFilesModule.printboard)),o=(0,W.iH)(1),s=(0,W.iH)(),a=(0,W.iH)([]),l=(0,W.iH)(!1),c=(0,W.iH)(!1),d=(0,W.iH)(),u=(0,n.f3)("driver__"),{t:h}=(0,eA.QT)(),g=(0,W.iH)();return{fileList:A,printImgList:t,moodBoards:i,printBoards:r,openClick:o,generateCheckbox:s,generateList:a,loadingShow:l,inputShow:c,inputTime:d,driver__:u,t:h,isTest:g}},computed:{getPinLength(){let e=0;for(let A of this.printBoards)A.pin&&e++;return e}},watch:{printBoards:{handler(e,A){}}},data(){return{swtich_type:"upload",indicator:(0,n.h)(xe.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,gender:"",level1Type:"Printboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",store:(0,Se.oR)(),cropperFileData:{name:"",uid:""},currentFileNum:0,isUpload:!1,captionGeneration:"",printboardList:(0,n.Fl)((()=>(0,Se.oR)().state.UploadFilesModule.printboard))}},mounted(){this.token=(0,He.ej)("token")||"";let e=(0,He.ej)("isTest");this.isTest=JSON.parse(e)||"",this.uploadUrl=(0,Le.M$)(),this.driver__.driver?this.captionGeneration="Exit sign, door, sunset, ocean, surreal":this.captionGeneration=""},methods:{open(e){this.openClick=e;let A=this.$refs.Material;2==e&&A.init("Printboard"),3==e&&(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))},fileUploadChange(e){let A=e.file;A.id_=De.id++,A.type_={type1:"upload",type2:"Printboard"},A.pin=!1;let t=this.$refs.Cropper;if(1===this.currentFileNum){var i=new FileReader;i.onload=e=>{let A;A="object"===typeof e.target.result?window.URL.createObjectURL(new Blob([e.target.result])):e.target.result,t.getOptionImg(A)},i.readAsArrayBuffer(A.originFileObj),this.cropperFileData=A,t.changeShowModal(!0),(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))}else this.customRequest(A)},beforeUpload(e,A){const t="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/bmp"===e.type;t||Ee.ZP.info(this.t("PrintboardUpload.jsContent1"));const i=e.size/1024/1024<2;if(i||Ee.ZP.info(this.t("PrintboardUpload.jsContent2")),!t||!i)return t&&i||ke.Z.LIST_IGNORE;this.currentFileNum=A.length},deleteFile(e){if("generate"==e.type_.type1||"material"==e.type_.type1)e.jsContent1=this.t("uploadFile.jsContent1",{maxImg:8}),this.store.commit("addGenerateMaterialFils",e);else{let A;this.fileList=this.store.state.UploadFilesModule.printboardFiles,this.store.state.UploadFilesModule.printboardFiles.forEach(((t,i)=>{t.id_==e.id_&&(A=i)})),this.fileList.splice(A,1),this.store.commit("setPrintboardFile",this.fileList)}},likeFile(e,A){if("like"==A){let A={generateDetailId:e.id,level1Type:"Printboard",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};Ie.V.axiosPost(Ie.V.httpUrls.generateLike,A).then((A=>{e.like=!0})).catch((e=>{}))}else{let A={generateDetailId:e.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};Ie.V.axiosGet(Ie.V.httpUrls.generateDislike,{params:A}).then((A=>{e.like=!1})).catch((e=>{}))}},customRequest(e){let A={...this.upload,file:e.originFileObj},t=e.uid;Ie.V.axiosPost("/api/element/upload",A,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{if(e){for(let i of this.fileList)t===i.uid&&(i.status="done",i.imgUrl=e.url,i.pin=!1,i.id=e.id,i.resData=e);let A=this.fileList.filter((e=>"done"===e.status));this.store.commit("setPrintboardFile",A)}})).catch((e=>{let A=-1;this.fileList.forEach(((e,i)=>{t===e.uid&&(A=i)})),A>-1&&this.fileList.splice(A,1)}))},closeCropper(e){if(this.isUpload)return;if("error"==e){let e=-1;this.fileList.forEach(((A,t)=>{this.cropperFileData.uid===A.uid&&(e=t)})),e>-1&&this.fileList.splice(e,1)}let A=this.$refs.Cropper;A.closeCropper()},deletUploadFile(){let e=-1;this.fileList.forEach(((A,t)=>{this.cropperFileData.uid===A.uid&&(e=t)})),e>-1&&this.fileList.splice(e,1)},handleCropperSuccess(e){let{file:A,fileData:t}=e,i={...this.upload,file:A};if(this.isUpload)return;this.isUpload=!0;const r=Ee.ZP.loading("loading",0);Ie.V.axiosPost("/api/element/upload",i,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{for(let i of this.fileList)t.uid===i.uid&&(i.status="done",i.imgUrl=e.url,i.id=e.id,i.resData=e);let A=this.fileList.filter((e=>"done"===e.status));this.isUpload=!1,this.closeCropper("success"),this.cropperFileData={name:"",uid:""},this.store.commit("setPrintboardFile",A),r(),(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))})).catch((e=>{let A=-1;this.fileList.forEach(((e,i)=>{t.uid===e.uid&&(A=i)})),A>-1&&this.fileList.splice(A,1),this.cropperFileData={name:"",uid:""},this.isUpload=!1,this.closeCropper("error"),r()}))},recollection(){let e=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.printboardFiles)),A={generate:[],material:[],moodboard:[]};e.forEach((e=>{"generate"==e.type_.type1?A.generate.push(e):"material"==e.type_.type1?A.material.push(e):A.moodboard.push(e)})),this.store.commit("setPrintboardGenerateFiles",A.generate),this.store.commit("setPrintboardMaterialFiles",A.material),this.store.commit("setPrintboardFile",A.moodboard),this.fileList=A.moodboard,this.store.commit("setPrintboardFile",this.fileList)},confirmSelect(e){for(let A of e){let e={imgUrl:A.url,resData:A,pin:!1,id:A.id,status:"done"};if(15==this.fileList.length){Ee.ZP.warning(this.t("PrintboardUpload.jsContent3"));break}this.fileList.push(e)}this.store.commit("setPrintboardFile",this.fileList)},getgenerateCheckbox(e){this.generateCheckbox=e},ifMaximumLength(){clearTimeout(this.inputTime),this.inputTime=setTimeout((()=>{this.captionGeneration?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},getgenerate(){if(this.isTest)return void Ee.ZP.warning(this.t("isTest.available"));let e=this.$refs.Generate,A=e.checkbox.filter((e=>e.type))[0].name;if("Generate"==e.printModel.num)return void this.generatePrint();let t={generateType:A,designType:"",collectionElementId:e?.collectionElementid,level1Type:e.upload.level1Type,level2Type:"",text:this.captionGeneration,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:e.printModel.num,gender:""};if("image"==A||"text-image"==A){if(!e?.collectionElementid)return void Ee.ZP.info(this.t("PrintboardUpload.jsContent4"))}else if("text"==A){if(t.collectionElementId="",t.level2Type="",!this.captionGeneration)return void Ee.ZP.info(this.t("PrintboardUpload.jsContent6"));{let e=this.captionGeneration.split(/\s+/).length;if(e>75)return void Ee.ZP.info(this.t("PrintboardUpload.jsContent5"))}}this.loadingShow=!0,Ie.V.axiosPost(Ie.V.httpUrls.sketchAndPrintGenerate,t).then((e=>{if(e){let A;this.generateList=[],e.generatedCollectionItems.forEach(((t,i)=>{A={id:t.generateItemId,imgUrl:t.generateItemUrl,id_:De.id++,like:e.generatedCollectionItems[i].isLiked},this.generateList.push(A),this.loadingShow=!1})),(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))}})).catch((e=>{this.loadingShow=!1}))},randomRange(e,A,t){let i=Math.floor(Math.random()*(A-e))+e;while(i===t)i=Math.floor(Math.random()*(A-e))+e;return i},generatePrint(){let e={};if(this.moodBoards.length){let A=this.randomRange(0,this.moodBoards.length,-1),t=-2;if(this.getPinLength)if(1===this.getPinLength)this.printBoards.forEach(((e,A)=>{e.pin&&(t=A)}));else{let e=[];this.printBoards.forEach(((A,t)=>{A.pin&&e.push(t)})),t=this.randomRange(0,e.length,-1)}else t=this.randomRange(0,this.printBoards.length,-1);e={select1Id:this.moodBoards[A].resData.id,select2Id:this.printBoards[t].id}}else{let A=-1,t=-2;if(this.getPinLength)if(1===this.getPinLength)this.printBoards.forEach(((e,t)=>{e.pin&&(A=t)})),t=this.randomRange(0,this.printBoards.length,A);else{let e=[];this.printBoards.forEach(((A,t)=>{A.pin&&e.push(t)})),A=this.randomRange(0,e.length,-1),t=this.randomRange(0,this.printBoards.length,e[A])}else A=this.randomRange(0,this.printBoards.length,-1),t=this.randomRange(0,this.printBoards.length,A);e={select1Id:this.printBoards[A].id,select2Id:this.printBoards[t].id}}e.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.loadingShow=!0,Ie.V.axiosPost(Ie.V.httpUrls.elementGeneratePrint,e).then((e=>{if(e){this.generateList=[];let A={id:e.generateItemId,imgUrl:e.generateItemUrl,id_:De.id++,like:e.isLiked};this.generateList.push(A),this.loadingShow=!1}})).catch((e=>{this.loadingShow=!1}))},generageAdd(e){e.type_={type1:"generate",type2:"Printboard"},e.resData=JSON.parse(JSON.stringify(e)),e.jsContent1=this.t("uploadFile.jsContent1",{maxImg:8}),this.store.commit("addGenerateMaterialFils",e),this.driver__.driver&&qe.RX.moveNext()}}});const Zn=(0,Xe.Z)(zn,[["render",mn],["__scopeId","data-v-4c8347bb"]]);var Wn=Zn;const Yn={class:"colorboard_upload_modal"},Xn={class:"modal_layout"},Jn={class:"modal_text"},$n={class:"modal_img"},qn=["onClick"],er={class:"colorboard_upload_right"},Ar={class:"upload_right_content"},tr={class:"right_content_line"},ir={class:"upload_right_header"},nr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),rr={class:"color_setting_block"},or={class:"right_content_line right_content_line_upload"},sr={class:"upload_right_header"},ar=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),lr={class:"upload_centetn"},cr={class:"upload_item Guide_1_10"},dr={class:"upload_file_item_content"},ur={class:"upload_file_item_content"},hr=["src"],gr=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-rr-picture"})],-1),pr={class:"upload_color"},fr=["onClick"],mr=["title"],Br={class:"right_content_line"},wr={class:"upload_right_header"},vr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),yr={class:"get_color_block"},Cr=(0,n._)("span",{class:"icon iconfont icon-huoquduixiang"},null,-1),br={class:"get_color_des"},_r=["title"];function Qr(e,A,t,i,s,a){const l=(0,n.up)("Chrome"),c=(0,n.up)("a-spin"),d=(0,n.up)("a-upload");return(0,n.wg)(),(0,n.iD)("div",Yn,[(0,n._)("div",Xn,[(0,n._)("div",Jn,[(0,n._)("div",null,(0,r.zw)(e.$t("ColorboardUpload.Thumbnail")),1)]),(0,n._)("div",$n,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.colorList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["modal_img_item",[1==t?"Guide_1_11_1":"",e.driver__.driver?"showEvents":""]]),key:A},[(0,n._)("div",{onClick:i=>e.selectColorItem(t,A),class:(0,r.C_)(["upload_color",e.selectIndex===t?"select_upload_color":""]),style:(0,r.j5)({background:`rgba(${A?.r},${A?.g},${A?.b},${A?.a})`})},null,14,qn)],2)))),128)),(0,n._)("div",null,[(0,n._)("span",{class:"started_btn",onClick:A[0]||(A[0]=(...A)=>e.clearCurrentColor&&e.clearCurrentColor(...A))},(0,r.zw)(e.$t("ColorboardUpload.Clear")),1)])])]),(0,n._)("div",er,[(0,n._)("div",Ar,[(0,n._)("div",tr,[(0,n._)("div",ir,[nr,(0,n._)("span",null,(0,r.zw)(e.$t("ColorboardUpload.Palette")),1)]),(0,n._)("div",rr,[(0,n.Wm)(l,{class:"chrome_color",modelValue:e.selectColor,"onUpdate:modelValue":A[1]||(A[1]=A=>e.selectColor=A)},null,8,["modelValue"])])]),(0,n._)("div",or,[(0,n._)("div",sr,[ar,(0,n._)("span",null,(0,r.zw)(e.$t("ColorboardUpload.UploadImage")),1)]),(0,n._)("div",lr,[(0,n._)("div",cr,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.fileList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:t},[(0,n.wy)((0,n._)("div",dr,[(0,n.Wm)(c,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"done"!==t.status]]),(0,n.wy)((0,n._)("div",ur,[(0,n._)("img",{src:t?.imgUrl,class:"upload_img",ref_for:!0,ref:"colorImage"},null,8,hr),(0,n._)("div",{class:"delete_file_block",onClick:A[2]||(A[2]=A=>e.deleteFile(e.index))},"Delete")],512),[[o.F8,"done"===t.status]])])))),128)),(0,n.wy)((0,n.Wm)(d,{"list-type":"picture-card",customRequest:function(){},onChange:e.fileUploadChange,"before-upload":e.beforeUpload,accept:".jpg,.png,.jpeg,.bmp"},{default:(0,n.w5)((()=>[gr])),_:1},8,["customRequest","onChange","before-upload"]),[[o.F8,e.fileList.length<1]])]),(0,n._)("div",pr,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.selectColorList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{key:A,onClick:t=>e.setUplpadColor(A),class:(0,r.C_)(["upload_color_item",[0==t?"Guide_1_11":"",1==t?"Guide_1_11_2":""]])},[(0,n._)("div",{class:"upload_color_item_bg",style:(0,r.j5)({"background-color":`rgba(${A.rgba.r},${A.rgba.g},${A.rgba.b},${A.rgba.a})`})},null,4),(0,n._)("img",{src:"#",title:e.pantongNameList[t]},null,8,mr)],10,fr)))),128))])])]),(0,n._)("div",Br,[(0,n._)("div",wr,[vr,(0,n._)("span",null,(0,r.zw)(e.$t("ColorboardUpload.ColorCode")),1)]),(0,n._)("div",yr,[(0,n.wy)((0,n._)("input",{class:"get_color_input",placeholder:"tcx value (e.g.: 19-4052)","onUpdate:modelValue":A[3]||(A[3]=A=>e.tcxColor=A),onKeydown:A[4]||(A[4]=(0,o.D2)((A=>e.getTcxColor()),["enter"]))},null,544),[[o.nr,e.tcxColor]]),(0,n._)("div",{class:"get_color_button",onClick:A[5]||(A[5]=A=>e.getTcxColor())},[Cr,(0,n._)("span",br,(0,r.zw)(e.$t("ColorboardUpload.ExtractColor")),1)]),(0,n.wy)((0,n._)("div",{class:"get_color_bg",onClick:A[6]||(A[6]=A=>e.setUplpadColor(e.reviewColor)),style:(0,r.j5)({"background-color":`rgba(${e.getSelectRGB(e.reviewColor).r},${e.getSelectRGB(e.reviewColor).g},${e.getSelectRGB(e.reviewColor).b},${e.getSelectRGB(e.reviewColor).a})`})},[(0,n._)("img",{src:"#",title:e.pantongName},null,8,_r)],4),[[o.F8,e.getColorBg]])])])])])])}var Ur=t(1125),Fr=t(6243),xr=t.n(Fr);t(1703);function Er(e,A,t){const i=e,n=[];for(let r,o,s,a,l,c=0;c=125)&&(o>250&&s>250&&a>250||n.push([o,s,a]));return n}function kr(e){let{colorCount:A,quality:t}=e;if("undefined"!==typeof A&&Number.isInteger(A)){if(1===A)throw new Error("colorCount should be between 2 and 20. To get one color, call getColor() instead of getPalette()");A=Math.max(A,2),A=Math.min(A,20)}else A=10;return("undefined"===typeof t||!Number.isInteger(t)||t<1)&&(t=10),{colorCount:A,quality:t}}var Ir={createPixelArray:Er,validateOptions:kr}; +!function(A){e.exports=A()}((function(){return function e(A,t,i){function n(o,s){if(!t[o]){if(!A[o]){var a=void 0;if(!s&&a)return require(o,!0);if(r)return r(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=t[o]={exports:{}};A[o][0].call(c.exports,(function(e){var t=A[o][1][e];return n(t||e)}),c,c.exports,e,A,t,i)}return t[o].exports}for(var r=void 0,o=0;o>2,s=(3&A)<<4|t>>4,a=1>6:64,l=2>4,t=(15&o)<<4|(s=r.indexOf(e.charAt(l++)))>>2,i=(3&s)<<6|(a=r.indexOf(e.charAt(l++))),u[c++]=A,64!==s&&(u[c++]=t),64!==a&&(u[c++]=i);return u}},{"./support":30,"./utils":32}],2:[function(e,A,t){"use strict";var i=e("./external"),n=e("./stream/DataWorker"),r=e("./stream/Crc32Probe"),o=e("./stream/DataLengthProbe");function s(e,A,t,i,n){this.compressedSize=e,this.uncompressedSize=A,this.crc32=t,this.compression=i,this.compressedContent=n}s.prototype={getContentWorker:function(){var e=new n(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),A=this;return e.on("end",(function(){if(this.streamInfo.data_length!==A.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new n(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,A,t){return e.pipe(new r).pipe(new o("uncompressedSize")).pipe(A.compressWorker(t)).pipe(new o("compressedSize")).withStreamInfo("compression",A)},A.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,A,t){"use strict";var i=e("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},t.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,A,t){"use strict";var i=e("./utils"),n=function(){for(var e,A=[],t=0;t<256;t++){e=t;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;A[t]=e}return A}();A.exports=function(e,A){return void 0!==e&&e.length?"string"!==i.getTypeOf(e)?function(e,A,t,i){var r=n,o=i+t;e^=-1;for(var s=i;s>>8^r[255&(e^A[s])];return-1^e}(0|A,e,e.length,0):function(e,A,t,i){var r=n,o=i+t;e^=-1;for(var s=i;s>>8^r[255&(e^A.charCodeAt(s))];return-1^e}(0|A,e,e.length,0):0}},{"./utils":32}],5:[function(e,A,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(e,A,t){"use strict";var i=null;i="undefined"!=typeof Promise?Promise:e("lie"),A.exports={Promise:i}},{lie:37}],7:[function(e,A,t){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=e("pako"),r=e("./utils"),o=e("./stream/GenericWorker"),s=i?"uint8array":"array";function a(e,A){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=A,this.meta={}}t.magic="\b\0",r.inherits(a,o),a.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(r.transformTo(s,e.data),!1)},a.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},a.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},a.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(A){e.push({data:A,meta:e.meta})}},t.compressWorker=function(e){return new a("Deflate",e)},t.uncompressWorker=function(){return new a("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,A,t){"use strict";function i(e,A){var t,i="";for(t=0;t>>=8;return i}function n(e,A,t,n,o,c){var d,u,h=e.file,g=e.compression,p=c!==s.utf8encode,f=r.transformTo("string",c(h.name)),m=r.transformTo("string",s.utf8encode(h.name)),B=h.comment,w=r.transformTo("string",c(B)),v=r.transformTo("string",s.utf8encode(B)),y=m.length!==h.name.length,C=v.length!==B.length,b="",_="",Q="",U=h.dir,F=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};A&&!t||(x.crc32=e.crc32,x.compressedSize=e.compressedSize,x.uncompressedSize=e.uncompressedSize);var E=0;A&&(E|=8),p||!y&&!C||(E|=2048);var k=0,I=0;U&&(k|=16),"UNIX"===o?(I=798,k|=function(e,A){var t=e;return e||(t=A?16893:33204),(65535&t)<<16}(h.unixPermissions,U)):(I=20,k|=function(e){return 63&(e||0)}(h.dosPermissions)),d=F.getUTCHours(),d<<=6,d|=F.getUTCMinutes(),d<<=5,d|=F.getUTCSeconds()/2,u=F.getUTCFullYear()-1980,u<<=4,u|=F.getUTCMonth()+1,u<<=5,u|=F.getUTCDate(),y&&(_=i(1,1)+i(a(f),4)+m,b+="up"+i(_.length,2)+_),C&&(Q=i(1,1)+i(a(w),4)+v,b+="uc"+i(Q.length,2)+Q);var S="";return S+="\n\0",S+=i(E,2),S+=g.magic,S+=i(d,2),S+=i(u,2),S+=i(x.crc32,4),S+=i(x.compressedSize,4),S+=i(x.uncompressedSize,4),S+=i(f.length,2),S+=i(b.length,2),{fileRecord:l.LOCAL_FILE_HEADER+S+f+b,dirRecord:l.CENTRAL_FILE_HEADER+i(I,2)+S+i(w.length,2)+"\0\0\0\0"+i(k,4)+i(n,4)+f+b+w}}var r=e("../utils"),o=e("../stream/GenericWorker"),s=e("../utf8"),a=e("../crc32"),l=e("../signature");function c(e,A,t,i){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=A,this.zipPlatform=t,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}r.inherits(c,o),c.prototype.push=function(e){var A=e.meta.percent||0,t=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:t?(A+100*(t-i-1))/t:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var A=this.streamFiles&&!e.file.dir;if(A){var t=n(e,A,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:t.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var A=this.streamFiles&&!e.file.dir,t=n(e,A,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(t.dirRecord),A)this.push({data:function(e){return l.DATA_DESCRIPTOR+i(e.crc32,4)+i(e.compressedSize,4)+i(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:t.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,A=0;A=this.index;A--)t=(t<<8)+this.byteAt(A);return this.index+=e,t},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},A.exports=n},{"../utils":32}],19:[function(e,A,t){"use strict";var i=e("./Uint8ArrayReader");function n(e){i.call(this,e)}e("../utils").inherits(n,i),n.prototype.readData=function(e){this.checkOffset(e);var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,A,t){"use strict";var i=e("./DataReader");function n(e){i.call(this,e)}e("../utils").inherits(n,i),n.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},n.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},n.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},n.prototype.readData=function(e){this.checkOffset(e);var A=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./DataReader":18}],21:[function(e,A,t){"use strict";var i=e("./ArrayReader");function n(e){i.call(this,e)}e("../utils").inherits(n,i),n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var A=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,A},A.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(e,A,t){"use strict";var i=e("../utils"),n=e("../support"),r=e("./ArrayReader"),o=e("./StringReader"),s=e("./NodeBufferReader"),a=e("./Uint8ArrayReader");A.exports=function(e){var A=i.getTypeOf(e);return i.checkSupport(A),"string"!==A||n.uint8array?"nodebuffer"===A?new s(e):n.uint8array?new a(i.transformTo("uint8array",e)):new r(i.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,A,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,A,t){"use strict";var i=e("./GenericWorker"),n=e("../utils");function r(e){i.call(this,"ConvertWorker to "+e),this.destType=e}n.inherits(r,i),r.prototype.processChunk=function(e){this.push({data:n.transformTo(this.destType,e.data),meta:e.meta})},A.exports=r},{"../utils":32,"./GenericWorker":28}],25:[function(e,A,t){"use strict";var i=e("./GenericWorker"),n=e("../crc32");function r(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(r,i),r.prototype.processChunk=function(e){this.streamInfo.crc32=n(e.data,this.streamInfo.crc32||0),this.push(e)},A.exports=r},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,A,t){"use strict";var i=e("../utils"),n=e("./GenericWorker");function r(e){n.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(r,n),r.prototype.processChunk=function(e){if(e){var A=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=A+e.data.length}n.prototype.processChunk.call(this,e)},A.exports=r},{"../utils":32,"./GenericWorker":28}],27:[function(e,A,t){"use strict";var i=e("../utils"),n=e("./GenericWorker");function r(e){n.call(this,"DataWorker");var A=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){A.dataIsReady=!0,A.data=e,A.max=e&&e.length||0,A.type=i.getTypeOf(e),A.isPaused||A._tickAndRepeat()}),(function(e){A.error(e)}))}i.inherits(r,n),r.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},r.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},r.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},r.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,A=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,A);break;case"uint8array":e=this.data.subarray(this.index,A);break;case"array":case"nodebuffer":e=this.data.slice(this.index,A)}return this.index=A,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},A.exports=r},{"../utils":32,"./GenericWorker":28}],28:[function(e,A,t){"use strict";function i(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,A){return this._listeners[e].push(A),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,A){if(this._listeners[e])for(var t=0;t "+e:e}},A.exports=i},{}],29:[function(e,A,t){"use strict";var i=e("../utils"),n=e("./ConvertWorker"),r=e("./GenericWorker"),o=e("../base64"),s=e("../support"),a=e("../external"),l=null;if(s.nodestream)try{l=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function c(e,A){return new a.Promise((function(t,n){var r=[],s=e._internalType,a=e._outputType,l=e._mimeType;e.on("data",(function(e,t){r.push(e),A&&A(t)})).on("error",(function(e){r=[],n(e)})).on("end",(function(){try{var e=function(e,A,t){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",A),t);case"base64":return o.encode(A);default:return i.transformTo(e,A)}}(a,function(e,A){var t,i=0,n=null,r=0;for(t=0;t>>6:(t<65536?A[o++]=224|t>>>12:(A[o++]=240|t>>>18,A[o++]=128|t>>>12&63),A[o++]=128|t>>>6&63),A[o++]=128|63&t);return A}(e)},t.utf8decode=function(e){return n.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var A,t,n,r,o=e.length,a=new Array(2*o);for(A=t=0;A>10&1023,a[t++]=56320|1023&n)}return a.length!==t&&(a.subarray?a=a.subarray(0,t):a.length=t),i.applyFromCharCode(a)}(e=i.transformTo(n.uint8array?"uint8array":"array",e))},i.inherits(l,o),l.prototype.processChunk=function(e){var A=i.transformTo(n.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var r=A;(A=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),A.set(r,this.leftOver.length)}else A=this.leftOver.concat(A);this.leftOver=null}var o=function(e,A){var t;for((A=A||e.length)>e.length&&(A=e.length),t=A-1;0<=t&&128==(192&e[t]);)t--;return t<0||0===t?A:t+s[e[t]]>A?t:A}(A),a=A;o!==A.length&&(n.uint8array?(a=A.subarray(0,o),this.leftOver=A.subarray(o,A.length)):(a=A.slice(0,o),this.leftOver=A.slice(o,A.length))),this.push({data:t.utf8decode(a),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=l,i.inherits(c,o),c.prototype.processChunk=function(e){this.push({data:t.utf8encode(e.data),meta:e.meta})},t.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,A,t){"use strict";var i=e("./support"),n=e("./base64"),r=e("./nodejsUtils"),o=e("./external");function s(e){return e}function a(e,A){for(var t=0;t>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=i(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var A,t,i,n=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(t<65536?A[o++]=224|t>>>12:(A[o++]=240|t>>>18,A[o++]=128|t>>>12&63),A[o++]=128|t>>>6&63),A[o++]=128|63&t);return A},t.buf2binstring=function(e){return a(e,e.length)},t.binstring2buf=function(e){for(var A=new i.Buf8(e.length),t=0,n=A.length;t>10&1023,l[i++]=56320|1023&n)}return a(l,i)},t.utf8border=function(e,A){var t;for((A=A||e.length)>e.length&&(A=e.length),t=A-1;0<=t&&128==(192&e[t]);)t--;return t<0||0===t?A:t+o[e[t]]>A?t:A}},{"./common":41}],43:[function(e,A,t){"use strict";A.exports=function(e,A,t,i){for(var n=65535&e|0,r=e>>>16&65535|0,o=0;0!==t;){for(t-=o=2e3>>1:e>>>1;A[t]=e}return A}();A.exports=function(e,A,t,n){var r=i,o=n+t;e^=-1;for(var s=n;s>>8^r[255&(e^A[s])];return-1^e}},{}],46:[function(e,A,t){"use strict";var i,n=e("../utils/common"),r=e("./trees"),o=e("./adler32"),s=e("./crc32"),a=e("./messages"),l=0,c=4,d=0,u=-2,h=-1,g=4,p=2,f=8,m=9,B=286,w=30,v=19,y=2*B+1,C=15,b=3,_=258,Q=_+b+1,U=42,F=113,x=1,E=2,k=3,I=4;function S(e,A){return e.msg=a[A],A}function D(e){return(e<<1)-(4e.avail_out&&(t=e.avail_out),0!==t&&(n.arraySet(e.output,A.pending_buf,A.pending_out,t,e.next_out),e.next_out+=t,A.pending_out+=t,e.total_out+=t,e.avail_out-=t,A.pending-=t,0===A.pending&&(A.pending_out=0))}function O(e,A){r._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,A),e.block_start=e.strstart,L(e.strm)}function M(e,A){e.pending_buf[e.pending++]=A}function T(e,A){e.pending_buf[e.pending++]=A>>>8&255,e.pending_buf[e.pending++]=255&A}function N(e,A){var t,i,n=e.max_chain_length,r=e.strstart,o=e.prev_length,s=e.nice_match,a=e.strstart>e.w_size-Q?e.strstart-(e.w_size-Q):0,l=e.window,c=e.w_mask,d=e.prev,u=e.strstart+_,h=l[r+o-1],g=l[r+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(t=A)+o]===g&&l[t+o-1]===h&&l[t]===l[r]&&l[++t]===l[r+1]){r+=2,t++;do{}while(l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&l[++r]===l[++t]&&ra&&0!=--n);return o<=e.lookahead?o:e.lookahead}function K(e){var A,t,i,r,a,l,c,d,u,h,g=e.w_size;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=g+(g-Q)){for(n.arraySet(e.window,e.window,g,g,0),e.match_start-=g,e.strstart-=g,e.block_start-=g,A=t=e.hash_size;i=e.head[--A],e.head[A]=g<=i?i-g:0,--t;);for(A=t=g;i=e.prev[--A],e.prev[A]=g<=i?i-g:0,--t;);r+=g}if(0===e.strm.avail_in)break;if(l=e.strm,c=e.window,d=e.strstart+e.lookahead,u=r,h=void 0,h=l.avail_in,u=b)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<=b&&(e.ins_h=(e.ins_h<=b)if(i=r._tr_tally(e,e.strstart-e.match_start,e.match_length-b),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=b){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=b&&(e.ins_h=(e.ins_h<=b&&e.match_length<=e.prev_length){for(n=e.strstart+e.lookahead-b,i=r._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-b),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=n&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(K(e),0===e.lookahead&&A===l)return x;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+t;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,O(e,!1),0===e.strm.avail_out))return x;if(e.strstart-e.block_start>=e.w_size-Q&&(O(e,!1),0===e.strm.avail_out))return x}return e.insert=0,A===c?(O(e,!0),0===e.strm.avail_out?k:I):(e.strstart>e.block_start&&(O(e,!1),e.strm.avail_out),x)})),new V(4,4,8,4,P),new V(4,5,16,8,P),new V(4,6,32,32,P),new V(4,4,16,16,R),new V(8,16,32,32,R),new V(8,16,128,128,R),new V(8,32,128,256,R),new V(32,128,258,1024,R),new V(32,258,258,4096,R)],t.deflateInit=function(e,A){return Z(e,A,f,15,8,0)},t.deflateInit2=Z,t.deflateReset=z,t.deflateResetKeep=j,t.deflateSetHeader=function(e,A){return e&&e.state?2!==e.state.wrap?u:(e.state.gzhead=A,d):u},t.deflate=function(e,A){var t,n,o,a;if(!e||!e.state||5>8&255),M(n,n.gzhead.time>>16&255),M(n,n.gzhead.time>>24&255),M(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),M(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(M(n,255&n.gzhead.extra.length),M(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=s(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(M(n,0),M(n,0),M(n,0),M(n,0),M(n,0),M(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),M(n,3),n.status=F);else{var h=f+(n.w_bits-8<<4)<<8;h|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(h|=32),h+=31-h%31,n.status=F,T(n,h),0!==n.strstart&&(T(n,e.adler>>>16),T(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(o=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),L(e),o=n.pending,n.pending!==n.pending_buf_size));)M(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),L(e),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindexo&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),L(e),o=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindexo&&(e.adler=s(e.adler,n.pending_buf,n.pending-o,o)),0===a&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(e),n.pending+2<=n.pending_buf_size&&(M(n,255&e.adler),M(n,e.adler>>8&255),e.adler=0,n.status=F)):n.status=F),0!==n.pending){if(L(e),0===e.avail_out)return n.last_flush=-1,d}else if(0===e.avail_in&&D(A)<=D(t)&&A!==c)return S(e,-5);if(666===n.status&&0!==e.avail_in)return S(e,-5);if(0!==e.avail_in||0!==n.lookahead||A!==l&&666!==n.status){var g=2===n.strategy?function(e,A){for(var t;;){if(0===e.lookahead&&(K(e),0===e.lookahead)){if(A===l)return x;break}if(e.match_length=0,t=r._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(O(e,!1),0===e.strm.avail_out))return x}return e.insert=0,A===c?(O(e,!0),0===e.strm.avail_out?k:I):e.last_lit&&(O(e,!1),0===e.strm.avail_out)?x:E}(n,A):3===n.strategy?function(e,A){for(var t,i,n,o,s=e.window;;){if(e.lookahead<=_){if(K(e),e.lookahead<=_&&A===l)return x;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=b&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=b?(t=r._tr_tally(e,1,e.match_length-b),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=r._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(O(e,!1),0===e.strm.avail_out))return x}return e.insert=0,A===c?(O(e,!0),0===e.strm.avail_out?k:I):e.last_lit&&(O(e,!1),0===e.strm.avail_out)?x:E}(n,A):i[n.level].func(n,A);if(g!==k&&g!==I||(n.status=666),g===x||g===k)return 0===e.avail_out&&(n.last_flush=-1),d;if(g===E&&(1===A?r._tr_align(n):5!==A&&(r._tr_stored_block(n,0,0,!1),3===A&&(H(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(e),0===e.avail_out))return n.last_flush=-1,d}return A!==c?d:n.wrap<=0?1:(2===n.wrap?(M(n,255&e.adler),M(n,e.adler>>8&255),M(n,e.adler>>16&255),M(n,e.adler>>24&255),M(n,255&e.total_in),M(n,e.total_in>>8&255),M(n,e.total_in>>16&255),M(n,e.total_in>>24&255)):(T(n,e.adler>>>16),T(n,65535&e.adler)),L(e),0=t.w_size&&(0===s&&(H(t.head),t.strstart=0,t.block_start=0,t.insert=0),h=new n.Buf8(t.w_size),n.arraySet(h,A,g-t.w_size,t.w_size,0),A=h,g=t.w_size),a=e.avail_in,l=e.next_in,c=e.input,e.avail_in=g,e.next_in=0,e.input=A,K(t);t.lookahead>=b;){for(i=t.strstart,r=t.lookahead-(b-1);t.ins_h=(t.ins_h<>>=v=w>>>24,g-=v,0===(v=w>>>16&255))U[r++]=65535&w;else{if(!(16&v)){if(0==(64&v)){w=p[(65535&w)+(h&(1<>>=v,g-=v),g<15&&(h+=Q[i++]<>>=v=w>>>24,g-=v,!(16&(v=w>>>16&255))){if(0==(64&v)){w=f[(65535&w)+(h&(1<>>=v,g-=v,(v=r-o)>3,h&=(1<<(g-=y<<3))-1,e.next_in=i,e.next_out=r,e.avail_in=i>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function f(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function m(e){var A;return e&&e.state?(A=e.state,e.total_in=e.total_out=A.total=0,e.msg="",A.wrap&&(e.adler=1&A.wrap),A.mode=u,A.last=0,A.havedict=0,A.dmax=32768,A.head=null,A.hold=0,A.bits=0,A.lencode=A.lendyn=new i.Buf32(h),A.distcode=A.distdyn=new i.Buf32(g),A.sane=1,A.back=-1,c):d}function B(e){var A;return e&&e.state?((A=e.state).wsize=0,A.whave=0,A.wnext=0,m(e)):d}function w(e,A){var t,i;return e&&e.state?(i=e.state,A<0?(t=0,A=-A):(t=1+(A>>4),A<48&&(A&=15)),A&&(A<8||15=o.wsize?(i.arraySet(o.window,A,t-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(r=o.wsize-o.wnext)&&(r=n),i.arraySet(o.window,A,t-n,r,o.wnext),(n-=r)?(i.arraySet(o.window,A,t-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,t.check=r(t.check,K,2,0),y=v=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&v)<<8)+(v>>8))%31){e.msg="incorrect header check",t.mode=30;break}if(8!=(15&v)){e.msg="unknown compression method",t.mode=30;break}if(y-=4,L=8+(15&(v>>>=4)),0===t.wbits)t.wbits=L;else if(L>t.wbits){e.msg="invalid window size",t.mode=30;break}t.dmax=1<>8&1),512&t.flags&&(K[0]=255&v,K[1]=v>>>8&255,t.check=r(t.check,K,2,0)),y=v=0,t.mode=3;case 3:for(;y<32;){if(0===B)break e;B--,v+=h[f++]<>>8&255,K[2]=v>>>16&255,K[3]=v>>>24&255,t.check=r(t.check,K,4,0)),y=v=0,t.mode=4;case 4:for(;y<16;){if(0===B)break e;B--,v+=h[f++]<>8),512&t.flags&&(K[0]=255&v,K[1]=v>>>8&255,t.check=r(t.check,K,2,0)),y=v=0,t.mode=5;case 5:if(1024&t.flags){for(;y<16;){if(0===B)break e;B--,v+=h[f++]<>>8&255,t.check=r(t.check,K,2,0)),y=v=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&(B<(U=t.length)&&(U=B),U&&(t.head&&(L=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),i.arraySet(t.head.extra,h,f,U,L)),512&t.flags&&(t.check=r(t.check,h,U,f)),B-=U,f+=U,t.length-=U),t.length))break e;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(0===B)break e;for(U=0;L=h[f+U++],t.head&&L&&t.length<65536&&(t.head.name+=String.fromCharCode(L)),L&&U>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=12;break;case 10:for(;y<32;){if(0===B)break e;B--,v+=h[f++]<>>=7&y,y-=7&y,t.mode=27;break}for(;y<3;){if(0===B)break e;B--,v+=h[f++]<>>=1)){case 0:t.mode=14;break;case 1:if(_(t),t.mode=20,6!==A)break;v>>>=2,y-=2;break e;case 2:t.mode=17;break;case 3:e.msg="invalid block type",t.mode=30}v>>>=2,y-=2;break;case 14:for(v>>>=7&y,y-=7&y;y<32;){if(0===B)break e;B--,v+=h[f++]<>>16^65535)){e.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&v,y=v=0,t.mode=15,6===A)break e;case 15:t.mode=16;case 16:if(U=t.length){if(B>>=5,y-=5,t.ndist=1+(31&v),v>>>=5,y-=5,t.ncode=4+(15&v),v>>>=4,y-=4,286>>=3,y-=3}for(;t.have<19;)t.lens[P[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,M={bits:t.lenbits},O=s(0,t.lens,0,19,t.lencode,0,t.work,M),t.lenbits=M.bits,O){e.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have>>16&255,I=65535&N,!((E=N>>>24)<=y);){if(0===B)break e;B--,v+=h[f++]<>>=E,y-=E,t.lens[t.have++]=I;else{if(16===I){for(T=E+2;y>>=E,y-=E,0===t.have){e.msg="invalid bit length repeat",t.mode=30;break}L=t.lens[t.have-1],U=3+(3&v),v>>>=2,y-=2}else if(17===I){for(T=E+3;y>>=E)),v>>>=3,y-=3}else{for(T=E+7;y>>=E)),v>>>=7,y-=7}if(t.have+U>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=30;break}for(;U--;)t.lens[t.have++]=L}}if(30===t.mode)break;if(0===t.lens[256]){e.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,M={bits:t.lenbits},O=s(a,t.lens,0,t.nlen,t.lencode,0,t.work,M),t.lenbits=M.bits,O){e.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,M={bits:t.distbits},O=s(l,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,M),t.distbits=M.bits,O){e.msg="invalid distances set",t.mode=30;break}if(t.mode=20,6===A)break e;case 20:t.mode=21;case 21:if(6<=B&&258<=w){e.next_out=m,e.avail_out=w,e.next_in=f,e.avail_in=B,t.hold=v,t.bits=y,o(e,b),m=e.next_out,g=e.output,w=e.avail_out,f=e.next_in,h=e.input,B=e.avail_in,v=t.hold,y=t.bits,12===t.mode&&(t.back=-1);break}for(t.back=0;k=(N=t.lencode[v&(1<>>16&255,I=65535&N,!((E=N>>>24)<=y);){if(0===B)break e;B--,v+=h[f++]<>S)])>>>16&255,I=65535&N,!(S+(E=N>>>24)<=y);){if(0===B)break e;B--,v+=h[f++]<>>=S,y-=S,t.back+=S}if(v>>>=E,y-=E,t.back+=E,t.length=I,0===k){t.mode=26;break}if(32&k){t.back=-1,t.mode=12;break}if(64&k){e.msg="invalid literal/length code",t.mode=30;break}t.extra=15&k,t.mode=22;case 22:if(t.extra){for(T=t.extra;y>>=t.extra,y-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;k=(N=t.distcode[v&(1<>>16&255,I=65535&N,!((E=N>>>24)<=y);){if(0===B)break e;B--,v+=h[f++]<>S)])>>>16&255,I=65535&N,!(S+(E=N>>>24)<=y);){if(0===B)break e;B--,v+=h[f++]<>>=S,y-=S,t.back+=S}if(v>>>=E,y-=E,t.back+=E,64&k){e.msg="invalid distance code",t.mode=30;break}t.offset=I,t.extra=15&k,t.mode=24;case 24:if(t.extra){for(T=t.extra;y>>=t.extra,y-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(0===w)break e;if(U=b-w,t.offset>U){if((U=t.offset-U)>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=30;break}F=U>t.wnext?(U-=t.wnext,t.wsize-U):t.wnext-U,U>t.length&&(U=t.length),x=t.window}else x=g,F=m-t.offset,U=t.length;for(wB?(v=M[T+d[_]],D[H+d[_]]):(v=96,0),h=1<>E)+(g-=h)]=w<<24|v<<16|y|0,0!==g;);for(h=1<>=1;if(0!==h?(S&=h-1,S+=h):S=0,_++,0==--L[b]){if(b===U)break;b=A[t+d[_]]}if(F>>7)]}function M(e,A){e.pending_buf[e.pending++]=255&A,e.pending_buf[e.pending++]=A>>>8&255}function T(e,A,t){e.bi_valid>p-t?(e.bi_buf|=A<>p-e.bi_valid,e.bi_valid+=t-p):(e.bi_buf|=A<>>=1,t<<=1,0<--A;);return t>>>1}function P(e,A,t){var i,n,r=new Array(g+1),o=0;for(i=1;i<=g;i++)r[i]=o=o+t[i-1]<<1;for(n=0;n<=A;n++){var s=e[2*n+1];0!==s&&(e[2*n]=K(r[s]++,s))}}function R(e){var A;for(A=0;A>1;1<=t;t--)j(e,r,t);for(n=a;t=e.heap[1],e.heap[1]=e.heap[e.heap_len--],j(e,r,1),i=e.heap[1],e.heap[--e.heap_max]=t,e.heap[--e.heap_max]=i,r[2*n]=r[2*t]+r[2*i],e.depth[n]=(e.depth[t]>=e.depth[i]?e.depth[t]:e.depth[i])+1,r[2*t+1]=r[2*i+1]=n,e.heap[1]=n++,j(e,r,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,A){var t,i,n,r,o,s,a=A.dyn_tree,l=A.max_code,c=A.stat_desc.static_tree,d=A.stat_desc.has_stree,u=A.stat_desc.extra_bits,p=A.stat_desc.extra_base,f=A.stat_desc.max_length,m=0;for(r=0;r<=g;r++)e.bl_count[r]=0;for(a[2*e.heap[e.heap_max]+1]=0,t=e.heap_max+1;t>=7;i>>=1)if(1&t&&0!==e.dyn_ltree[2*A])return n;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return r;for(A=32;A>>3,(s=e.static_len+3+7>>>3)<=o&&(o=s)):o=s=t+5,t+4<=o&&-1!==A?J(e,A,t,i):4===e.strategy||s===o?(T(e,2+(i?1:0),3),z(e,Q,U)):(T(e,4+(i?1:0),3),function(e,A,t,i){var n;for(T(e,A-257,5),T(e,t-1,5),T(e,i-4,4),n=0;n>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&A,e.pending_buf[e.l_buf+e.last_lit]=255&t,e.last_lit++,0===A?e.dyn_ltree[2*t]++:(e.matches++,A--,e.dyn_ltree[2*(x[t]+l+1)]++,e.dyn_dtree[2*O(A)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){T(e,2,3),N(e,m,Q),function(e){16===e.bi_valid?(M(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,A,t){"use strict";A.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,A,i){(function(e){!function(e,A){"use strict";if(!e.setImmediate){var t,i,n,r,o=1,s={},a=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,t="[object process]"==={}.toString.call(e.process)?function(e){process.nextTick((function(){u(e)}))}:function(){if(e.postMessage&&!e.importScripts){var A=!0,t=e.onmessage;return e.onmessage=function(){A=!1},e.postMessage("","*"),e.onmessage=t,A}}()?(r="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",h,!1):e.attachEvent("onmessage",h),function(A){e.postMessage(r+A,"*")}):e.MessageChannel?((n=new MessageChannel).port1.onmessage=function(e){u(e.data)},function(e){n.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(i=l.documentElement,function(e){var A=l.createElement("script");A.onreadystatechange=function(){u(e),A.onreadystatechange=null,i.removeChild(A),A=null},i.appendChild(A)}):function(e){setTimeout(u,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var A=new Array(arguments.length-1),i=0;iA?1:0},sum:function(e,A){var t={};return e.reduce(A?function(e,i,n){return t.index=n,e+A.call(t,i)}:function(e,A){return e+A},0)},max:function(e,t){return Math.max.apply(null,t?A.map(e,t):e)}};var t=function(){var e=5,t=8-e,i=1e3,n=.75;function r(A,t,i){return(A<<2*e)+(t<>t,o=e[1]>>t,s=e[2]>>t,i=r(n,o,s),l[i]=(l[i]||0)+1})),l}function c(e,A){var i,n,r,o=1e6,a=0,l=1e6,c=0,d=1e6,u=0;return e.forEach((function(e){i=e[0]>>t,n=e[1]>>t,r=e[2]>>t,ia&&(a=i),nc&&(c=n),ru&&(u=r)})),new s(o,a,l,c,d,u,A)}function d(e,t){if(t.count()){var i=t.r2-t.r1+1,n=t.g2-t.g1+1,o=t.b2-t.b1+1,s=A.max([i,n,o]);if(1==t.count())return[t.copy()];var a,l,c,d,u,h=0,g=[],p=[];if(s==i)for(a=t.r1;a<=t.r2;a++){for(d=0,l=t.g1;l<=t.g2;l++)for(c=t.b1;c<=t.b2;c++)u=r(a,l,c),d+=e[u]||0;h+=d,g[a]=h}else if(s==n)for(a=t.g1;a<=t.g2;a++){for(d=0,l=t.r1;l<=t.r2;l++)for(c=t.b1;c<=t.b2;c++)u=r(l,a,c),d+=e[u]||0;h+=d,g[a]=h}else for(a=t.b1;a<=t.b2;a++){for(d=0,l=t.r1;l<=t.r2;l++)for(c=t.g1;c<=t.g2;c++)u=r(l,c,a),d+=e[u]||0;h+=d,g[a]=h}return g.forEach((function(e,A){p[A]=h-e})),f(s==i?"r":s==n?"g":"b")}function f(e){var A,i,n,r,o,s=e+"1",l=e+"2",c=0;for(a=t[s];a<=t[l];a++)if(g[a]>h/2){n=t.copy(),r=t.copy(),A=a-t[s],i=t[l]-a,o=A<=i?Math.min(t[l]-1,~~(a+i/2)):Math.max(t[s],~~(a-1-A/2));while(!g[o])o++;c=p[o];while(!c&&g[o-1])c=p[--o];return n[l]=o,r[s]=n[l]+1,[n,r]}}}function u(e,t){if(!e.length||t<2||t>256)return!1;var r=l(e);r.forEach((function(){0}));var s=c(e,r),u=new o((function(e,t){return A.naturalOrder(e.count(),t.count())}));function h(e,A){var t,n=1,o=0;while(o=A)return;if(o++>i)return}else e.push(t),o++}u.push(s),h(u,n*t);var g=new o((function(e,t){return A.naturalOrder(e.count()*e.volume(),t.count()*t.volume())}));while(u.size())g.push(u.pop());h(g,t-g.size());var p=new a;while(g.size())p.push(g.pop());return p}return s.prototype={volume:function(e){var A=this;return A._volume&&!e||(A._volume=(A.r2-A.r1+1)*(A.g2-A.g1+1)*(A.b2-A.b1+1)),A._volume},count:function(e){var A=this,t=A.histo;if(!A._count_set||e){var i,n,o,s,a=0;for(i=A.r1;i<=A.r2;i++)for(n=A.g1;n<=A.g2;n++)for(o=A.b1;o<=A.b2;o++)s=r(i,n,o),a+=t[s]||0;A._count=a,A._count_set=!0}return A._count},copy:function(){var e=this;return new s(e.r1,e.r2,e.g1,e.g2,e.b1,e.b2,e.histo)},avg:function(A){var t=this,i=t.histo;if(!t._avg||A){var n,o,s,a,l,c=0,d=1<<8-e,u=0,h=0,g=0;for(o=t.r1;o<=t.r2;o++)for(s=t.g1;s<=t.g2;s++)for(a=t.b1;a<=t.b2;a++)l=r(o,s,a),n=i[l]||0,c+=n,u+=n*(o+.5)*d,h+=n*(s+.5)*d,g+=n*(a+.5)*d;t._avg=c?[~~(u/c),~~(h/c),~~(g/c)]:[~~(d*(t.r1+t.r2+1)/2),~~(d*(t.g1+t.g2+1)/2),~~(d*(t.b1+t.b2+1)/2)]}return t._avg},contains:function(e){var A=this,i=e[0]>>t;return gval=e[1]>>t,bval=e[2]>>t,i>=A.r1&&i<=A.r2&&gval>=A.g1&&gval<=A.g2&&bval>=A.b1&&bval<=A.b2}},a.prototype={push:function(e){this.vboxes.push({vbox:e,color:e.avg()})},palette:function(){return this.vboxes.map((function(e){return e.color}))},size:function(){return this.vboxes.size()},map:function(e){for(var A=this.vboxes,t=0;t251&&n[1]>251&&n[2]>251&&(e[i].color=[255,255,255])}},{quantize:u}}();e.exports=t.quantize},5115:function(e,A,t){"use strict";t.r(A),t.d(A,{default:function(){return $u}});var n=t(6252),r=t(3577),o=t(9963);const s=e=>((0,n.dD)("data-v-3380e119"),e=e(),(0,n.Cn)(),e),a={class:"home_page Guide_1_16_1"},l={class:"page_content"},c={class:"page_content_body"},d={class:"home_page_body"},u={class:"home_page_left"},h={class:"home_page_left_content"},g={class:"home_left_null"},p={class:"is_finish_loading"},f={class:"home_left_info"},m={class:"left_info_top"},B={class:"left_info_content scroll_style"},w={class:"left_info_content_body",ref:"collection_canvas"},v={class:"home_page_right"},y={class:"right_top"},C={class:"right_top_left"},b={class:"right_content_block"},_={class:"right_content_header"},Q={class:"content_header_left"},U=s((()=>(0,n._)("i",{class:"fi fi-rs-comments"},null,-1))),F={class:"content_header_des"},x={class:"right_content_body"},E={class:"right_content_img_item"},k=["onClick"],I=["src"],S=["onClick"],D={class:"right_content_header"},H={class:"content_header_left"},L=s((()=>(0,n._)("i",{class:"fi fi-rs-comments"},null,-1))),O={class:"content_header_des"},M={class:"right_content_export"},T={class:"right_content_body"},N={class:"right_content_img_item",id:"right_content_img_block"},K=["onClick","onDragstart","onDrop"],P={class:"content_img_flex"},R=["src"],V=["onClick"],G={class:"mark_loading"},j={class:"progress_mark"},z={class:"mark_content Guide_1_16"};function Z(e,A,t,i,s,Z){const W=(0,n.up)("HeaderComponent"),Y=(0,n.up)("a-spin"),X=(0,n.up)("NewCollectionReview"),J=(0,n.up)("a-checkbox"),$=(0,n.up)("CollectionModal"),q=(0,n.up)("DesignDetail"),ee=(0,n.up)("ExportNewCoolection"),Ae=(0,n.up)("a-progress"),te=(0,n.up)("RobotAssist"),ie=(0,n.Q2)("mousewheel");return(0,n.wg)(),(0,n.iD)("div",a,[(0,n.Wm)(W),(0,n._)("div",l,[(0,n._)("div",c,[(0,n._)("div",d,[(0,n._)("div",u,[(0,n._)("div",h,[(0,n.wy)((0,n._)("div",g,[(0,n._)("div",null,[(0,n._)("div",{id:"Guide_1_1",class:"new_collection_button Guide_1_1",onClick:A[0]||(A[0]=A=>e.startNewCollection())},(0,r.zw)(e.$t("HomeView.GetStarted")),1)]),(0,n.wy)((0,n._)("div",p,[(0,n.Wm)(Y,{size:"large"})],512),[[o.F8,e.isFinishLoading]])],512),[[o.F8,!e.isHaveReviewCollection]]),(0,n.wy)((0,n._)("div",f,[(0,n._)("div",m,[(0,n._)("div",{class:"button_second",onClick:A[1]||(A[1]=A=>e.startNewCollection())},(0,r.zw)(e.$t("HomeView.Start")),1),(0,n._)("div",{class:"button_first button_margin",onClick:A[2]||(A[2]=A=>e.recollection())},(0,r.zw)(e.$t("HomeView.Edit")),1)]),(0,n._)("div",B,[(0,n._)("div",w,[(0,n.Wm)(X,{id:"collectionReview"})],512)])],512),[[o.F8,e.isHaveReviewCollection]])])]),(0,n._)("div",v,[(0,n._)("div",y,[(0,n._)("div",C,[(0,n._)("div",{class:"button_second Guide_1_15",onClick:A[3]||(A[3]=A=>e.designNewCollection())},(0,r.zw)(e.$t("HomeView.Design")),1),(0,n.wy)((0,n._)("div",{class:"button_first button_margin_14 Guide_1_30",onClick:A[4]||(A[4]=A=>e.resDesignCollection())},(0,r.zw)(e.$t("HomeView.Redesign")),513),[[o.F8,e.designCollectionId]])])]),(0,n._)("div",b,[(0,n._)("div",_,[(0,n._)("div",Q,[U,(0,n._)("span",F,(0,r.zw)(e.$t("HomeView.GeneratedDesign")),1)])]),(0,n._)("div",x,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["right_content_img_block scroll_style Guide_1_17",[0!=e.designCollectionList.length?"active":"",e.driver__.driver?"showEvents":""]])},[(0,n._)("div",E,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.designCollectionList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_block",key:A?.designItemId},[(0,n._)("div",{class:(0,r.C_)(["content_img_flex",[e.driver__.driver&&37==e.driver__.index?"hideEvents":""]]),onClick:i=>e.designDetail(A,t,e.designCollectionList,"dislike")},[(0,n._)("img",{class:"content_img",src:A.designOutfitUrl},null,8,I)],10,k),(0,n._)("div",{class:(0,r.C_)(["icon iconfont icon-jushoucang icon_like",[0==t&&37==e.driver__.index?"Guide_active showEvents":""]]),onClick:(0,o.iM)((i=>e.likeDesignCollection(A,t)),["stop"])},null,10,S)])))),128))])],2)),[[ie]])]),(0,n._)("div",D,[(0,n._)("div",H,[L,(0,n._)("span",O,(0,r.zw)(e.$t("HomeView.SelectedDesign")),1)]),(0,n.wy)((0,n._)("div",M,[(0,n._)("div",{class:"button_second Guide_1_31",onClick:A[5]||(A[5]=A=>e.exportCanvas())},(0,r.zw)(e.$t("HomeView.Export")),1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",e.isShowOperate?"icon_rotate":""]),onClick:A[6]||(A[6]=(0,o.iM)((A=>e.changeShowOperateContent()),["stop"]))},null,2),(0,n.wy)((0,n._)("div",{class:"export_nav",onClick:A[7]||(A[7]=(0,o.iM)((()=>{}),["stop"]))},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.exportNav,(e=>((0,n.wg)(),(0,n.j4)(J,{checked:e.change,"onUpdate:checked":A=>e.change=A,disabled:e.noChange},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(e.name),1)])),_:2},1032,["checked","onUpdate:checked","disabled"])))),256))],512),[[o.F8,e.isShowOperate]])],512),[[o.F8,e.likeDesignCollectionList.length]])]),(0,n._)("div",T,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["right_content_img_block scroll_style",{active:0!=e.likeDesignCollectionList.length}])},[(0,n._)("div",N,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.likeDesignCollectionList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:"content_img_block",draggable:"",key:t.id,onClick:A=>e.designDetail(t,i,e.likeDesignCollectionList,"like"),onDragstart:A=>e.dragstart(A,i),onDragover:A[8]||(A[8]=(0,o.iM)((()=>{}),["prevent"])),onDrop:A=>e.dragDrop(A,i)},[(0,n._)("div",P,[((0,n.wg)(),(0,n.iD)("img",{class:"content_img",src:t.designOutfitUrl,key:t.designOutfitUrl},null,8,R))]),(0,n._)("div",{class:"icon iconfont icon-jushoucanggift icon_like",onClick:(0,o.iM)((A=>e.dislikeDesignCollection(t,i)),["stop"])},null,8,V)],40,K)))),128))])],2)),[[ie]])])])])])])]),(0,n.Wm)($,{ref:"collectionModal",onFinishCollection:A[9]||(A[9]=A=>e.finishCollection())},null,512),(0,n.Wm)(q,{ref:"designDetail",onFinishRedesign:e.finishRedesign},null,8,["onFinishRedesign"]),(0,n.Wm)(ee,{id:"exportNewCoolection"}),(0,n.wy)((0,n._)("div",G,[(0,n.Wm)(Y,{size:"large"})],512),[[o.F8,e.isShowMark]]),(0,n.wy)((0,n._)("div",j,[(0,n._)("div",z,[(0,n.Wm)(Ae,{type:"circle",percent:e.designProgress,strokeColor:"#341e57",width:200},null,8,["percent"]),(0,n._)("div",null,[(0,n.Wm)(Y,{indicator:e.indicator},null,8,["indicator"])])])],512),[[o.F8,e.showDesignMark]]),(0,n.Wm)(te)])}var W=t(2262),Y=t(6386);const X={key:0},J={class:"collection_title"},$={class:"collection_title_text"},q={class:"collection_progress"},ee={class:"collection_modal_body"},Ae={class:"mark_loading"};function te(e,A,t,i,s,a){const l=(0,n.up)("a-progress"),c=(0,n.up)("MoodboardUpload"),d=(0,n.up)("PrintboardUpload"),u=(0,n.up)("ColorboardUpload"),h=(0,n.up)("SketchboardUpload"),g=(0,n.up)("a-spin"),p=(0,n.up)("a-modal");return e.showCollectionModal?((0,n.wg)(),(0,n.iD)("div",X,[(0,n.Wm)(p,{class:"modal_component collection_modal Guide_1_2",visible:e.showCollectionModal,"onUpdate:visible":A[4]||(A[4]=A=>e.showCollectionModal=A),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,wrapClassName:"#app",keyboard:!1},{default:(0,n.w5)((()=>[(0,n._)("div",J,[(0,n._)("div",$,[(0,n.wy)((0,n._)("div",null,(0,r.zw)(e.$t("collectionModal.Moodboard")),513),[[o.F8,1===e.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(e.$t("collectionModal.Printboard")),513),[[o.F8,2===e.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(e.$t("collectionModal.Colorboard")),513),[[o.F8,3===e.collectionStep]]),(0,n.wy)((0,n._)("div",null,(0,r.zw)(e.$t("collectionModal.Sketchboard")),513),[[o.F8,4===e.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(e.$t("collectionModal.MoodCollection")),513),[[o.F8,1===e.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(e.$t("collectionModal.PrinCollection")),513),[[o.F8,2===e.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(e.$t("collectionModal.ColorCollection")),513),[[o.F8,3===e.collectionStep]]),(0,n.wy)((0,n._)("div",{class:"collection_title_text_intro"},(0,r.zw)(e.$t("collectionModal.SketchCollection")),513),[[o.F8,4===e.collectionStep]])]),(0,n._)("div",q,[(0,n.Wm)(l,{strokeWidth:13,strokeColor:"#341e57",type:"circle",percent:25*e.collectionStep,format:A=>`${e.collectionStep}/4`},null,8,["percent","format"])])]),(0,n._)("div",{class:(0,r.C_)(["collection_closeIcon",[e.driver__.driver?"hideEvents":""]])},[(0,n._)("i",{class:"fi fi-rr-cross-small",onClick:A[0]||(A[0]=(0,o.iM)((A=>e.cancelDsign()),["stop"]))})],2),(0,n._)("div",{class:(0,r.C_)(["collection_page",[e.driver__.driver?"hideEvents":""]])},[(0,n.wy)((0,n._)("i",{class:"fi fi-rr-arrow-small-left",onClick:A[1]||(A[1]=A=>e.lastStep())},null,512),[[o.F8,e.collectionStep>1]]),e.collectionStep<4?((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-arrow-small-right Guide_1_8",onClick:A[2]||(A[2]=(0,o.iM)((A=>e.nextStep()),["stop"]))})):((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-rr-check Guide_1_14",onClick:A[3]||(A[3]=(0,o.iM)((A=>e.finishCollection()),["stop"]))}))],2),(0,n._)("div",ee,[(0,n.wy)((0,n.Wm)(c,{ref:"MoodboardUpload"},null,512),[[o.F8,1===e.collectionStep]]),(0,n.wy)((0,n.Wm)(d,{ref:"PrintboardUpload"},null,512),[[o.F8,2===e.collectionStep]]),(0,n.wy)((0,n.Wm)(u,{ref:"ColorboardUpload"},null,512),[[o.F8,3===e.collectionStep]]),(0,n.wy)((0,n.Wm)(h,{ref:"SketchboardUpload"},null,512),[[o.F8,4===e.collectionStep]])]),(0,n.wy)((0,n._)("div",Ae,[(0,n.Wm)(g,{size:"large"})],512),[[o.F8,e.isShowMark]])])),_:1},8,["visible"])])):(0,n.kq)("",!0)}const ie={class:"generate"},ne={key:0,class:"printModel"},re=["placeholder","maxlength"],oe={key:2,class:"generage_img Guide_1_6"},se={class:"upload_item"},ae=["onClick"],le={class:"upload_file_item_content"},ce={class:"upload_file_item_content"},de=["src"],ue={key:0,class:"operate_file_block"},he={class:"select_img_type"},ge=["onClick"],pe={class:"category_list"},fe=["onClick"],me=["onClick"],Be=(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1),we=[Be],ve=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-br-upload"})],-1),ye={key:3,class:"generage_img Guide_1_6"},Ce=["onClick"],be={alt:""},_e=["onClick"],Qe=["onClick"],Ue={class:"mark_loading"};function Fe(e,A,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("scaleImage"),u=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",ie,["Sketchboard"==e.type_.type2||"Printboard"==e.type_.type2?((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,r.C_)(["generate_checkbox Guide_1_2_2",[e.driver__.driver?"hideEvents":""]])},[(0,n._)("div",null,[(0,n._)("label",null,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":A[0]||(A[0]=A=>e.checkbox[0].type=A),onClick:A[1]||(A[1]=A=>e.setKeyword(0))},null,512),[[o.e8,e.checkbox[0].type]]),(0,n._)("span",null,(0,r.zw)(e.$t("Generate.ImageOnly")),1)])]),(0,n._)("div",null,[(0,n._)("label",{class:(0,r.C_)([e.driver__.driver&&29==e.driver__.index?"showEvents":"","Sketchboard"==e.type_.type2?"Guide_1_9_1":""])},[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":A[2]||(A[2]=A=>e.checkbox[1].type=A),onClick:A[3]||(A[3]=A=>e.setKeyword(1))},null,512),[[o.e8,e.checkbox[1].type]]),(0,n._)("span",null,(0,r.zw)(e.$t("Generate.TextOnly")),1)],2)]),(0,n._)("div",null,[(0,n._)("label",{class:(0,r.C_)(["Guide_1_2_3",[e.driver__.driver?"showEvents":""]])},[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":A[4]||(A[4]=A=>e.checkbox[2].type=A),onClick:A[5]||(A[5]=A=>e.setKeyword(2))},null,512),[[o.e8,e.checkbox[2].type]]),(0,n._)("span",null,(0,r.zw)(e.$t("Generate.TextImage")),1)],2)]),"Printboard"==e.type_.type2?((0,n.wg)(),(0,n.iD)("div",ne,[(0,n._)("div",{onClick:A[6]||(A[6]=(0,o.iM)(((...A)=>e.PrintModel&&e.PrintModel(...A)),["stop"])),class:(0,r.C_)(["Guide_1_2_4",[e.driver__.driver?"showEvents":""]])},(0,r.zw)(e.printModel.name),3),(0,n.wy)((0,n._)("ul",{class:(0,r.C_)(["Guide_1_2_5",[e.driver__.driver?"showEvents":""]])},[(0,n._)("li",{class:"printModel_item",onClick:A[7]||(A[7]=A=>e.setprintModel(1))},(0,r.zw)(e.$t("Generate.Model1")),1),(0,n._)("li",{class:"printModel_item",onClick:A[8]||(A[8]=A=>e.setprintModel(2))},(0,r.zw)(e.$t("Generate.Model2")),1),(0,n.wy)((0,n._)("li",{class:"printModel_item",onClick:A[9]||(A[9]=A=>e.setprintModel(3))},(0,r.zw)(e.$t("Generate.Generate")),513),[[o.F8,e.printBoards.length>=1]])],2),[[o.F8,e.printModel.optype]])])):(0,n.kq)("",!0)],2)):((0,n.wg)(),(0,n.iD)("div",{key:1,class:(0,r.C_)(["input_box Guide_1_5",[e.inputShow?"active":""]])},[(0,n.wy)((0,n._)("input",{class:"search_input",onInput:A[10]||(A[10]=(...A)=>e.ifMaximumLength&&e.ifMaximumLength(...A)),placeholder:e.$t("Generate.inputContent1"),maxlength:e.inputShow?0:9999,"onUpdate:modelValue":A[11]||(A[11]=A=>e.searchPictureName=A),onKeydown:A[12]||(A[12]=(0,o.D2)((A=>e.getgenerate()),["enter"]))},null,40,re),[[o.nr,e.searchPictureName]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:A[13]||(A[13]=(0,o.iM)(((...A)=>e.getgenerate&&e.getgenerate(...A)),["stop"]))},(0,r.zw)(e.$t("Generate.Generate")),1),(0,n._)("span",null,(0,r.zw)(e.$t("Generate.maximumLength")),1)],2)),"Sketchboard"==e.type_.type2||"Printboard"==e.type_.type2?((0,n.wg)(),(0,n.iD)("div",oe,[(0,n._)("div",se,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.sketchboardList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["upload_file_item Guide_1_2_7",[A?.checked?"active":"",e.checkboxImage?"forbidden":"",e.driver__.driver?"showEvents":""]]),key:A,onClick:(0,o.iM)((t=>e.setSketchboardItem(A)),["stop"])},[(0,n.wy)((0,n._)("div",le,[(0,n.Wm)(l,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===A?.status]]),(0,n.wy)((0,n._)("div",ce,[(0,n._)("img",{src:A?.imgUrl,class:"upload_img"},null,8,de),"Sketchboard"==e.type_.type2?((0,n.wg)(),(0,n.iD)("div",ue,[(0,n._)("div",he,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>e.showFileCategory(A)),["stop"])},[(0,n.Uk)((0,r.zw)(A.categoryValue)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",A.categoryShow?"icon_rotate":""])},null,2)],8,ge),(0,n.wy)((0,n._)("div",pe,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.sketchCatecoryList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",A.category==t.name?"select_category_item":""]),key:i,onClick:(0,o.iM)((i=>e.selectFileCategory(A,t)),["stop"])},(0,r.zw)(t.value),11,fe)))),128))],512),[[o.F8,A.categoryShow]])])])):(0,n.kq)("",!0),(0,n._)("div",{class:"delete_file_block",onClick:A=>e.deleteFile(t)},we,8,me)],512),[[o.F8,"done"===A?.status]])],10,ae)))),128)),(0,n._)("div",{class:(0,r.C_)(["upload_file_item upload_component Guide_1_2_6",[e.driver__.driver?"showEvents":""]])},[(0,n.Wm)(c,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...e.upload},disabled:e.checkbox[1].type,headers:{Authorization:e.token},"file-list":e.sketchboardList,"onUpdate:file-list":A[14]||(A[14]=A=>e.sketchboardList=A),"before-upload":e.beforeUpload,multiple:"",accept:".jpg,.png,.jpeg,.bmp",onChange:A[15]||(A[15]=A=>e.fileUploadChange(A))},{default:(0,n.w5)((()=>[ve])),_:1},8,["action","data","disabled","headers","file-list","before-upload"])],2)])])):((0,n.wg)(),(0,n.iD)("div",ye,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.fileList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["generage_img_item",[t?.checked?"active":""]]),key:t.imgUrl,onClick:A=>e.generageAdd(t)},[(0,n.wy)((0,n._)("img",be,null,512),[[u,t.imgUrl]]),(0,n._)("div",{class:(0,r.C_)(["delete_like_file_block",[e.driver__.driver?"hideEvents":""]])},[t.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,o.iM)((A=>e.likeFile(t,"noLike")),["stop"])},null,8,Qe)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,o.iM)((A=>e.likeFile(t,"like")),["stop"])},null,8,_e))],2),(0,n._)("div",{class:(0,r.C_)(["delete_like_file_block left",[e.driver__.driver?"hideEvents":""]])},[(0,n._)("i",{class:"fi fi-bs-expand-arrows-alt",onClick:A[16]||(A[16]=(0,o.iM)((A=>e.scaleImage()),["stop"]))})],2)],10,Ce)))),128))])),(0,n.Wm)(d,{ref:"scaleImage"},null,512),(0,n.wy)((0,n._)("div",Ue,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,e.loadingShow]])])}var xe=t(320),Ee=t(1446),ke=t(4873),Ie=t(6214),Se=t(3907),De={id:1,testUrl:"http://192.168.1.5:10086",zIndex:2,setColor:(e,A,t)=>new Promise((i=>{var n=void 0==t?.min?5:t.min,r=void 0==t?.max?5:t.max,o=new Image;o.src=A;o.onload=()=>{const A=o.width,t=o.height,s=document.createElement("canvas");s.width=A,s.height=t;var a=s.getContext("2d");a.drawImage(o,0,0);var l=a.getImageData(0,0,A,t),c=[];for(let i=0;ie[i][0]&&h-ne[i][1]&&g-ne[i][2]&&d++}let o={rgb:e[i],ratio:parseInt(String((d/(A*t)*100).toFixed(6)))};c.push(o)}i({width:A,height:t,ratio:c})}}))},He=t(2339),Le=t(7332);const Oe={class:"scaleImage_btn"},Me=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),Te=[Me],Ne=(0,n._)("i",{class:"fi fi-rr-down-to-line"},null,-1),Ke=[Ne],Pe={class:"scaleImage_content"},Re=["src"],Ve={class:"scaleImage_nav"},Ge={class:"nav_left"},je={class:"nav_list"},ze=["onClick","src"],Ze={class:"nav_right"};function We(e,A,t,i,s,a){const l=(0,n.up)("a-modal");return(0,n.wg)(),(0,n.j4)(l,{class:"scaleImage_modal",visible:e.scaleImage,"onUpdate:visible":A[4]||(A[4]=A=>e.scaleImage=A),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,mask:!1,keyboard:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",Oe,[(0,n._)("div",{class:"collection_closeIcon left",onClick:A[0]||(A[0]=(0,o.iM)((A=>e.cancelDsign()),["stop"]))},Te),(0,n._)("div",{class:"collection_closeIcon",onClick:A[1]||(A[1]=(0,o.iM)((A=>e.download()),["stop"]))},Ke)]),(0,n._)("div",Pe,[(0,n._)("img",{src:e.scaleImageList[e.scaleImageIndex]?.imgUrl},null,8,Re)]),(0,n._)("div",Ve,[(0,n._)("div",Ge,[(0,n._)("i",{class:"fi fi-rr-arrow-small-left",onClick:A[2]||(A[2]=A=>e.lastStep())})]),(0,n._)("div",je,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.scaleImageList,((A,t)=>((0,n.wg)(),(0,n.iD)("img",{onClick:A=>e.setScaleImageIndex(t),class:(0,r.C_)({active:t==e.scaleImageIndex}),src:A?.imgUrl,key:A.id},null,10,ze)))),128))]),(0,n._)("div",Ze,[(0,n._)("i",{class:"fi fi-rr-arrow-small-right",onClick:A[3]||(A[3]=(0,o.iM)((A=>e.nextStep()),["stop"]))})])])])),_:1},8,["visible"])}var Ye=(0,n.aZ)({setup(){let e=(0,W.iH)(!1),A=(0,W.iH)(!1);const t=(0,W.iH)(!1),i=e=>{t.value=e};let n=(0,W.iH)([]),r=(0,W.iH)(0);return{scaleImage:e,loadingShow:A,visible:t,setVisible:i,scaleImageList:n,scaleImageIndex:r}},data(){return{}},mounted(){},methods:{init(e){this.scaleImage=!0,this.scaleImageList=e},cancelDsign(){this.scaleImage=!1,this.scaleImageList=[],this.scaleImageIndex=0},lastStep(){this.scaleImageIndex<=0||(this.scaleImageIndex-=1)},nextStep(){this.scaleImageIndex>=this.scaleImageList.length-1||(this.scaleImageIndex+=1)},download(){(0,Le.W$)(this.scaleImageList[this.scaleImageIndex].imgUrl)},setScaleImageIndex(e){this.scaleImageIndex=e}}}),Xe=t(3744);const Je=(0,Xe.Z)(Ye,[["render",We]]);var $e=Je,qe=t(4272),eA=t(8552),AA=(0,n.aZ)({components:{scaleImage:$e},props:["msg","sketchCatecoryList"],setup(){let e=(0,W.iH)([{name:"image",type:!0},{name:"text",type:!1},{name:"text-image",type:!1}]),A=(0,W.iH)(),t=(0,W.iH)([]),i=(0,W.iH)([]),r=(0,W.iH)([]),o=(0,W.iH)(!1),s=(0,W.iH)(""),a=(0,W.iH)(1),l=(0,W.iH)(""),c=(0,W.iH)(20),d=(0,W.iH)(0),u=(0,W.iH)(""),h=(0,W.iH)(null),g=(0,Se.oR)(),p=(0,W.iH)([]),f=(0,W.iH)([]),m=(0,W.iH)(),B=(0,W.iH)(""),w=(0,W.iH)({num:"",optype:!1,name:(0,eA.QT)().t("Generate.Model")+"1"}),v=(0,n.Fl)((()=>g.state.UploadFilesModule.printboard)),y=(0,W.iH)({}),C=(0,W.iH)(!1),b=(0,W.iH)(!1),_=(0,W.iH)(),Q=(0,n.f3)("driver__"),{t:U}=(0,eA.QT)(),F=(0,W.iH)();return{imgList:t,selectImgList:i,selectImgListIds:r,isShowLoading:o,selectCode:s,currentPage:a,searchPictureName:l,pageSize:c,total:d,searcMaterialhName:u,designType:h,checkbox:e,store:g,fileList:p,sketchboardList:f,collectionElementid:m,level2Type:B,checkboxImage:A,printModel:w,loadingShow:C,printBoards:v,workspace:y,inputShow:b,inputTime:_,driver__:Q,t:U,isTest:F}},data(e){return{indicator:(0,n.h)(xe.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,gender:"",level1Type:e.msg,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",moodboarList:(0,n.Fl)((()=>(0,Se.oR)().state.UploadFilesModule.moodboard)),type_:{type1:"generate",type2:e.msg}}},mounted(){this.token=(0,He.ej)("token")||"";let e=(0,He.ej)("isTest");this.isTest=JSON.parse(e)||"",this.uploadUrl=(0,Le.M$)(),this.workspace=this.store.state.Workspace.workspace,this.$emit("generateCheckbox",this.checkbox[0].type)},watch:{driver__:{handler(e,A){"Printboard"==this.type_.type2?e.index>=14&&e.index<15&&this.setKeyword(e.index-14):this.type_.type2}}},computed:{getSketchLabel(e){return e=>{let A="";for(let t of this.sketchCatecoryList)if(t.value===e){A=t.label;break}return A}}},methods:{generageAdd(e){e.type_=this.type_,e.resData=JSON.parse(JSON.stringify(e));let A=8;"Sketchboard"==this.type_.type2&&(A=20),e.jsContent1=this.t("uploadFile.jsContent1",{maxImg:A}),this.store.commit("addGenerateMaterialFils",e);let t=this.store.state.UploadFilesModule.moodboard;t.length>=2&&this.driver__.driver&&qe.RX.moveNext()},beforeUpload(e){const A="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/bmp"===e.type;A||Ee.ZP.info(this.t("Generate.jsContent1"));const t=e.size/1024/1024<2;return t||Ee.ZP.info(this.t("Generate.jsContent2")),A&&t||ke.Z.LIST_IGNORE},setKeyword(e){this.checkbox.forEach((e=>{e.type=!1})),(0,n.Y3)().then((()=>{this.checkbox[e].type=!0,this.$emit("generateCheckbox",this.checkbox[0].type),this.checkboxImage=this.checkbox[1].type,this.checkboxImage&&this.sketchboardList.forEach((e=>{e.checked=!1}))})),2!=e&&1!=e||this.driver__.driver&&qe.RX.moveNext()},PrintModel(){this.printModel.optype||document.addEventListener("click",this.removePrintModel),this.printModel.optype=!this.printModel.optype,(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))},removePrintModel(){this.printModel.optype=!1,document.removeEventListener("click",this.removePrintModel)},setprintModel(e){this.printModel=3==e?{num:"Generate",optype:!1,name:this.t("Generate.Generate")}:{num:e,optype:!1,name:this.t("Generate.Model")+e},(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))},getgenerate(){if(this.isTest)return void Ee.ZP.info(this.t("isTest.available"));if(!this.searchPictureName)return void Ee.ZP.info(this.t("Generate.jsContent5"));{let e=this.searchPictureName.split(/\s+/).length;if(e>75)return void Ee.ZP.info(this.t("Generate.jsContent4"))}let e={generateType:"text",designType:"",collectionElementId:"",level1Type:this.upload.level1Type,level2Type:"",text:this.searchPictureName,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:1,gender:""};this.loadingShow=!0,Ie.V.axiosPost(Ie.V.httpUrls.sketchAndPrintGenerate,e).then((e=>{if(e){let A;this.fileList=[],e.generatedCollectionItems.forEach(((t,i)=>{A={id:e.generatedCollectionItems[i].generateItemId,imgUrl:e.generatedCollectionItems[i].generateItemUrl,like:e.generatedCollectionItems[i].isLiked},this.fileList.push(A),this.loadingShow=!1})),(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))}})).catch((e=>{this.loadingShow=!1}))},ifMaximumLength(){clearTimeout(this.inputTime);let e=document.getElementsByClassName("generate")[0].getElementsByClassName("input_box")[0];e.getElementsByClassName("search_input")[0];this.inputTime=setTimeout((()=>{this.searchPictureName?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},fileUploadChange(e){let A=e.file,t=!0;if("done"===A.status){let e=JSON.parse(A.xhr.response);if(0==e.errCode){A.id=e.data.id,A.imgUrl=e.data.url,A.resData=e.data,A.type_="upload",A.id_=De.id++,A.category=this.sketchCatecoryList?.[0]?.name,A.categoryValue=this.sketchCatecoryList?.[0]?.value;let t=this.sketchboardList.filter((e=>"done"===e.status)),i=this.store.state.UploadFilesModule.sketchboard;i.length>=8?Ee.ZP.info(this.t("Generate.jsContent6")):this.sketchboardList=t,(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))}else t=!1}else"error"===A.status&&(t=!1);if(!t){let e=-1,t=JSON.parse(A.xhr.response);this.sketchboardList.forEach(((t,i)=>{A.uid===t.uid&&(e=i)})),e>-1&&this.sketchboardList.splice(e,1),Ee.ZP.warning(t.errMsg)}},showFileCategory(e){e.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(e,A){e.category=A.name,e.categoryShow=!1},hiddenFileCategory(){for(let e of this.sketchboardList)e.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},setSketchboardItem(e){this.checkboxImage||(e.checked?e.checked=!1:(this.sketchboardList.forEach((e=>{e.checked&&(e.checked=!1)})),e.checked=!0),this.collectionElementid=e.id,this.level2Type=e.category,this.driver__.driver&&qe.RX.moveNext())},deleteFile(e){this.sketchboardList.splice(e,1)},likeFile(e,A){if("like"==A){let A={generateDetailId:e.id,level1Type:"Moodboard",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};Ie.V.axiosPost(Ie.V.httpUrls.generateLike,A).then((A=>{e.like=!0})).catch((e=>{}))}else{let A={generateDetailId:e.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};Ie.V.axiosGet(Ie.V.httpUrls.generateDislike,{params:A}).then((A=>{e.like=!1})).catch((e=>{}))}},scaleImage(){let e=this.$refs.scaleImage;e.init(this.fileList)},closeModal(){this.searchPictureName="",this.designType=null,this.selectImgList=[],this.selectImgListIds=[],this.imgList=[],this.currentPage=1,this.total=0}}});const tA=(0,Xe.Z)(AA,[["render",Fe]]);var iA=tA;const nA=e=>((0,n.dD)("data-v-469e9626"),e=e(),(0,n.Cn)(),e),rA={class:"collection_modal_item"},oA={class:"moodboard_body"},sA={class:"upload_img_body scroll_style"},aA={class:"upload_item"},lA={class:"upload_file_item_content"},cA={class:"upload_file_item_content"},dA=["src"],uA=["onClick"],hA={class:"upload_file_item upload_component"},gA={class:"upload_tip_block"},pA=nA((()=>(0,n._)("i",{class:"fi fi-br-upload"},null,-1))),fA=[pA],mA={class:"upload_max_tip"},BA=nA((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1))),wA={class:"modal_right"},vA={class:"modal_layout"},yA={class:"modal_text"},CA=["onClick"],bA=nA((()=>(0,n._)("div",{class:"checked"},[(0,n._)("i",{class:"fi fi-rr-trash"})],-1))),_A={class:"modal_accomplish"},QA={class:"modal_text"},UA=nA((()=>(0,n._)("div",null,"Layout of selected moodboard",-1))),FA={class:"modal_img_max"},xA=["src"],EA={key:1,class:"modal_img"},kA=["src"],IA={class:"mark_loading"};function SA(e,A,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("Material"),u=(0,n.up)("Generate"),h=(0,n.up)("layout"),g=(0,n.up)("layoutMobile"),p=(0,n.Q2)("lazy"),f=(0,n.Q2)("modelImg");return(0,n.wg)(),(0,n.iD)("div",rA,[(0,n._)("div",{class:(0,r.C_)(["modal_left Guide_1_1_2",[e.driver__.driver?"showEvents":""]])},[(0,n._)("div",{class:(0,r.C_)(["switch_type_list",[e.driver__.driver?"hideEvents":""]])},[(0,n._)("div",{onClick:A[0]||(A[0]=(0,o.iM)((A=>e.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==e.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("MoodboardUpload.Upload")),1)],2),(0,n._)("div",{onClick:A[1]||(A[1]=(0,o.iM)((A=>e.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==e.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("MoodboardUpload.Library")),1)],2),(0,n._)("div",{onClick:A[2]||(A[2]=(0,o.iM)((A=>e.open(3)),["stop"])),class:(0,r.C_)(["switch_type_item Guide_1_4",[3==e.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("MoodboardUpload.Generate")),1)],2)],2),(0,n.wy)((0,n._)("div",oA,[(0,n._)("div",sA,[(0,n._)("div",aA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.fileList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:A},[(0,n.wy)((0,n._)("div",lA,[(0,n.Wm)(l,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===A?.status]]),(0,n.wy)((0,n._)("div",cA,[(0,n._)("img",{src:A?.imgUrl,class:"upload_img"},null,8,dA),(0,n._)("div",{class:"delete_file_block",onClick:t=>e.deleteFile(A)},(0,r.zw)(e.$t("MoodboardUpload.Delete")),9,uA)],512),[[o.F8,"done"===A?.status]])])))),128)),(0,n.wy)((0,n._)("div",hA,[(0,n.Wm)(c,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...e.upload},headers:{Authorization:e.token},"before-upload":e.beforeUpload,"file-list":e.fileList,"onUpdate:file-list":A[3]||(A[3]=A=>e.fileList=A),multiple:!e.driver__.driver,maxCount:8-e.moodboarList.length+e.fileList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:A[4]||(A[4]=A=>e.fileUploadChange(A))},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",gA,fA,512),[[o.F8,e.moodboarList.length<8]])])),_:1},8,["action","data","headers","before-upload","file-list","multiple","maxCount"])],512),[[o.F8,e.moodboarList.length<8]])])]),(0,n._)("div",mA,[BA,(0,n._)("span",null,(0,r.zw)(e.$t("MoodboardUpload.Maximum")),1)])],512),[[o.F8,1==e.openClick]]),(0,n.wy)((0,n.Wm)(d,{ref:"Material",msg:"Moodboard"},null,512),[[o.F8,2==e.openClick]]),(0,n.wy)((0,n.Wm)(u,{ref:"Generate",msg:"Moodboard"},null,512),[[o.F8,3==e.openClick]])],2),(0,n.wy)((0,n._)("div",wA,[(0,n._)("div",vA,[(0,n._)("div",yA,[(0,n._)("div",null,(0,r.zw)(e.$t("MoodboardUpload.Thumbnail")),1),(0,n._)("div",{class:(0,r.C_)(["modal_btn started_btn Guide_1_7",[e.driver__.driver?"showEvents":""]]),onClick:A[5]||(A[5]=A=>e.layout())},(0,r.zw)(e.$t("MoodboardUpload.layout")),3)]),(0,n._)("div",{class:(0,r.C_)(["modal_img",[e.driver__.driver?"hideEvents":""]])},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.moodboarList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:A,onClick:t=>e.deleteFile(A)},[(0,n.wy)((0,n._)("img",null,null,512),[[p,A.imgUrl]]),bA],8,CA)))),128))],2)]),(0,n.wy)((0,n._)("div",_A,[(0,n._)("div",QA,[UA,(0,n._)("div",{class:"modal_btn started_btn",onClick:A[6]||(A[6]=(0,o.iM)((A=>e.changeTemplateModal()),["stop"]))},"Edit")]),(0,n._)("div",FA,[e.modalImg[0]?.id?((0,n.wg)(),(0,n.iD)("div",EA,[(0,n._)("img",{src:e.modalImg[0].imgUrl},null,8,kA)])):((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,r.C_)(["modal_img",{active:e.flex_direction}]),id:"modal_img"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.layoutList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([[e.moodb_className[t]],"modal_imgItem"])},[(0,n.wy)((0,n._)("img",{src:A.imgUrl},null,8,xA),[[f]])],2)))),256))],2)),(0,n.wy)((0,n._)("div",IA,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,e.loadingShow]])])],512),[[o.F8,e.moodboarList.length>1||e.edieShow]])],512),[[o.F8,e.moodboarList.length]]),(0,n.Wm)(h,{ref:"layout",moodb_className:e.moodb_className,flex_direction:e.flex_direction,onSetmoodbClass:e.setmoodbClass},null,8,["moodb_className","flex_direction","onSetmoodbClass"]),(0,n.Wm)(g,{ref:"layoutMobile",moodb_className:e.moodb_className,flex_direction:e.flex_direction,onSetmoodbClass:e.setmoodbClass},null,8,["moodb_className","flex_direction","onSetmoodbClass"])])}var DA=t(5929);const HA={class:"my_material_modal"},LA={class:"my_material_header"},OA={class:"my_material_header_right"},MA={class:"content_search_block"},TA=["placeholder"],NA=(0,n._)("span",{class:"icon iconfont icon-sousuo"},null,-1),KA=[NA],PA={class:"my_material_content"},RA={class:"material_content_body scroll_style"},VA=["src","onClick"],GA={key:0,class:"operate_file_block"},jA={class:"select_img_type"},zA=["onClick"],ZA={class:"category_list"},WA=["onClick"],YA={key:1,class:"pin_block"},XA={class:"material_content_list_loding"},JA=(0,n._)("img",{src:DA,alt:""},null,-1),$A=[JA],qA={class:"no_data_block loading_block"};function et(e,A,t,i,s,a){const l=(0,n.up)("a-checkbox"),c=(0,n.up)("a-spin"),d=(0,n.Q2)("observe");return(0,n.wg)(),(0,n.iD)("div",HA,[(0,n._)("div",LA,[(0,n._)("div",OA,[(0,n._)("div",MA,[(0,n.wy)((0,n._)("input",{class:"search_input",placeholder:e.$t("Material.inputContent1"),"onUpdate:modelValue":A[0]||(A[0]=A=>e.searchPictureName=A),onKeydown:A[1]||(A[1]=(0,o.D2)((A=>e.getLibraryList("")),["enter"]))},null,40,TA),[[o.nr,e.searchPictureName]]),(0,n._)("div",{class:"search_icon_block",onClick:A[2]||(A[2]=(0,o.iM)((A=>e.getLibraryList("")),["stop"]))},KA)])])]),(0,n._)("div",PA,[(0,n._)("div",RA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.imgList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{key:A,class:(0,r.C_)(["content_img_item",[A?.checked?"active":"","Moodboard"==e.selectCode?"moodb":""]])},[(0,n._)("img",{src:A?.imgUrl,onClick:(0,o.iM)((t=>e.selectImgItem(A)),["stop"])},null,8,VA),"Sketchboard"==e.selectCode?((0,n.wg)(),(0,n.iD)("div",GA,[(0,n._)("div",jA,[(0,n._)("div",{class:"select_category",onClick:(0,o.iM)((t=>e.showFileCategory(A)),["stop"])},[(0,n.Uk)((0,r.zw)(A?.categoryValue)+" ",1),(0,n._)("div",{class:(0,r.C_)(["icon","iconfont","icon-xiala",A?.categoryShow?"icon_rotate":""])},null,2)],8,zA),(0,n.wy)((0,n._)("div",ZA,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.disignTypeList,((t,i)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["category_item",A?.category==t.name?"select_category_item":""]),key:i,onClick:(0,o.iM)((i=>e.selectFileCategory(A,t)),["stop"])},(0,r.zw)(t.value),11,WA)))),128))],512),[[o.F8,A?.categoryShow]])])])):(0,n.kq)("",!0),"Sketchboard"==e.selectCode||"Printboard"==e.selectCode?((0,n.wg)(),(0,n.iD)("div",YA,[(0,n.Wm)(l,{checked:A.pin,"onUpdate:checked":e=>A.pin=e},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(e.$t("Material.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])])):(0,n.kq)("",!0)],2)))),128)),(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",XA,$A)),[[o.F8,e.total>e.imgList?.length],[d]])]),(0,n.wy)((0,n._)("div",qA,[(0,n.Wm)(c,{size:"large"})],512),[[o.F8,e.isShowLoading]])])])}var At=(0,n.aZ)({props:["msg","disignTypeList"],setup(e){let A=(0,W.iH)(!1),t=(0,W.iH)([]),i=(0,W.iH)(!1),n=(0,W.iH)(""),r=(0,W.iH)(1),o=(0,W.iH)(""),s=(0,W.iH)(12),a=(0,W.iH)(0),l=(0,W.iH)(""),c=(0,W.iH)(null),d=(0,W.iH)({}),{t:u}=(0,eA.QT)();return{myMaterialModalShow:A,imgList:t,isShowLoading:i,selectCode:n,currentPage:r,searchPictureName:o,pageSize:s,total:a,searcMaterialhName:l,designType:c,workspace:d,t:u}},data(e){return{type_:{type1:"material",type2:e.msg},store:(0,Se.oR)()}},directives:{observe:{mounted(e,A){const t=new IntersectionObserver(n,{root:null,threshold:[.1]});t.observe(e);let i=A.instance;function n(e,A){e.forEach((e=>{e.isIntersecting&&i.getLibraryList("di")}))}}}},computed:{getSketchLabel(e){return e=>{let A="";for(let t of this.disignTypeList)if(t.value===e){A=t.label;break}return A}},sketchboardList(){return this.store.state.UploadFilesModule.sketchMaterialFiles},moodboardList(){return this.store.state.UploadFilesModule.moodboardMaterialFiles},printboardList(){return this.store.state.UploadFilesModule.printMaterialFiles}},mounted(){},watch:{sketchboardList:{handler(e,A){A.forEach((A=>{-1==e.findIndex((e=>e.id==A.id))&&this.imgList.forEach((e=>{e.id==A.id&&(e.checked=!1)}))}))}},moodboardList:{handler(e,A){A.forEach((A=>{-1==e.findIndex((e=>e.id==A.id))&&this.imgList.forEach((e=>{e.id==A.id&&(e.checked=!1)}))}))}},printboardList:{handler(e,A){A.forEach((A=>{-1==e.findIndex((e=>e.id==A.id))&&this.imgList.forEach((e=>{e.id==A.id&&(e.checked=!1)}))}))}}},methods:{init(e){this.selectCode=e,this.getLibraryList("")},selectImgItem(e){e.type_=this.type_,e.resData=JSON.parse(JSON.stringify(e)),this.imgList.forEach((e=>{e.categoryShow=!1}));let A=8;"Sketchboard"==this.selectCode&&(A=20),e.jsContent1=this.t("uploadFile.jsContent1",{maxImg:A}),this.store.commit("addGenerateMaterialFils",e)},changePage(e,A){this.currentPage=e,this.pageSize=A,this.getLibraryList("")},handleChange(){this.getLibraryList("")},getLibraryList(e){let A=this.store.state.Workspace.workspace;"di"==e&&(this.currentPage=void 0!=this.imgList?.[0]?.id?this.imgList?.length/this.pageSize+1:1);let t={level1Type:this.selectCode,modelSex:A?.sex,page:this.currentPage,pictureName:this.searchPictureName,size:this.pageSize};this.isShowLoading=!0,Ie.V.axiosPost(Ie.V.httpUrls.queryLibraryPage,t).then((e=>{let A=[];e.content.forEach(((e,t)=>{let i;"Sketchboard"==this.type_.type2?(i=this.store.state.UploadFilesModule.sketchMaterialFiles,e.categoryValue=e.level2TypeEnum.value,e.category=e.level2Type,e.categoryShow=!1):"Moodboard"==this.type_.type2?i=this.store.state.UploadFilesModule.moodboardMaterialFiles:"Printboard"==this.type_.type2&&(i=this.store.state.UploadFilesModule.printMaterialFiles),e.imgUrl=e.url,e.id_||(e.id_=De.id++,i.forEach((A=>{e.id==A.id&&(e.id_=A.id_?A.id_:De.id++,e.checked=!0,e.pin=A.pin)}))),A.push(e)})),A[A.length-1].id==this.imgList[this.imgList.length-1]?.id||this.imgList.push(...A),this.total=e.total,this.isShowLoading=!1})).catch((e=>{this.isShowLoading=!1}))},closeModal(){this.myMaterialModalShow=!1,this.searchPictureName="",this.designType=null,this.imgList=[],this.currentPage=1,this.pageSize=10,this.total=0},showFileCategory(e){e.categoryShow=!0,document.addEventListener("click",this.hiddenFileCategory)},selectFileCategory(e,A){e.categoryValue=A.value,e.category=A.name;for(let t of this.imgList)t.categoryShow=!1;this.setSketchLibrary(e)},hiddenFileCategory(){for(let e of this.imgList)e.categoryShow=!1;document.removeEventListener("click",this.hiddenFileCategory)},setSketchLibrary(e){let A={libraryId:e.id,level2Type:e.category};Ie.V.axiosPost(Ie.V.httpUrls.setSketchLibrary,A).then((e=>{})).catch((e=>{}))}}});const tt=(0,Xe.Z)(At,[["render",et]]);var it=tt;const nt={class:"mood_template_component"},rt={class:"mood_template_item template_three"},ot={class:"mood_template_item template_four"},st={class:"mood_template_item template_five"},at={class:"mood_template_item template_six"},lt={class:"mood_template_item template_seven"},ct={class:"mood_template_item template_eight"},dt={class:"mood_template_item template_nine"},ut={class:"mood_template_item template_ten"};function ht(e,A,t,i,s,a){return(0,n.wg)(),(0,n.iD)("div",nt,[(0,n.wy)((0,n._)("div",rt,[(0,n._)("div",{class:"img_template three_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template three_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template three_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4)],512),[[o.F8,3==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",ot,[(0,n._)("div",{class:"img_template four_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template four_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4)],512),[[o.F8,4==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",st,[(0,n._)("div",{class:"img_template five_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template five_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4)],512),[[o.F8,5==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",at,[(0,n._)("div",{class:"img_template six_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template six_6",style:(0,r.j5)({backgroundImage:`url(${e.fileList[5]?.imgUrl})`})},null,4)],512),[[o.F8,6==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",lt,[(0,n._)("div",{class:"img_template seven_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_6",style:(0,r.j5)({backgroundImage:`url(${e.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template seven_7",style:(0,r.j5)({backgroundImage:`url(${e.fileList[6]?.imgUrl})`})},null,4)],512),[[o.F8,7==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",ct,[(0,n._)("div",{class:"img_template eight_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_6",style:(0,r.j5)({backgroundImage:`url(${e.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_7",style:(0,r.j5)({backgroundImage:`url(${e.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template eight_8",style:(0,r.j5)({backgroundImage:`url(${e.fileList[7]?.imgUrl})`})},null,4)],512),[[o.F8,8==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",dt,[(0,n._)("div",{class:"img_template nine_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_6",style:(0,r.j5)({backgroundImage:`url(${e.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_7",style:(0,r.j5)({backgroundImage:`url(${e.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_8",style:(0,r.j5)({backgroundImage:`url(${e.fileList[7]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template nine_9",style:(0,r.j5)({backgroundImage:`url(${e.fileList[8]?.imgUrl})`})},null,4)],512),[[o.F8,9==e.moodTemplateId]]),(0,n.wy)((0,n._)("div",ut,[(0,n._)("div",{class:"img_template ten_1",style:(0,r.j5)({backgroundImage:`url(${e.fileList[0]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_2",style:(0,r.j5)({backgroundImage:`url(${e.fileList[1]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_3",style:(0,r.j5)({backgroundImage:`url(${e.fileList[2]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_4",style:(0,r.j5)({backgroundImage:`url(${e.fileList[3]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_5",style:(0,r.j5)({backgroundImage:`url(${e.fileList[4]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_6",style:(0,r.j5)({backgroundImage:`url(${e.fileList[5]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_7",style:(0,r.j5)({backgroundImage:`url(${e.fileList[6]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_8",style:(0,r.j5)({backgroundImage:`url(${e.fileList[7]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_9",style:(0,r.j5)({backgroundImage:`url(${e.fileList[8]?.imgUrl})`})},null,4),(0,n._)("div",{class:"img_template ten_10",style:(0,r.j5)({backgroundImage:`url(${e.fileList[9]?.imgUrl})`})},null,4)],512),[[o.F8,10==e.moodTemplateId]])])}var gt=(0,n.aZ)({props:["fileList","moodTemplateId"],setup(){}});const pt=(0,Xe.Z)(gt,[["render",ht],["__scopeId","data-v-3174c5e2"]]);var ft=pt;const mt={class:"layout_content"},Bt={class:"collection_title"},wt={class:"collection_title_text"},vt={class:"layout_title"},yt=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),Ct=[yt],bt={class:"layout_nav"},_t=["onClick"],Qt=["src"],Ut=["onClick"],Ft=["src"],xt=(0,n._)("div",null,null,-1),Et={class:"layout_btn"},kt={class:"layout_btn_top"},It={class:"layout_btn_bottom"},St={class:"layout_btn_left"},Dt={class:"layout_btn_right"},Ht={class:"layout_rotote"},Lt={class:"layout_translate"},Ot={class:"layout_angle_tr"},Mt={class:"layout_angle_tl"},Tt={class:"layout_angle_br"},Nt={class:"layout_angle_bl"},Kt={class:"layout_left"},Pt={class:"layout_left_text"},Rt=["onClick"],Vt={class:"mark_loading"};function Gt(e,A,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("a-modal"),u=(0,n.Q2)("modelImg"),h=(0,n.Q2)("compile"),g=(0,n.Q2)("rotote"),p=(0,n.Q2)("translate"),f=(0,n.Q2)("angle"),m=(0,n.Q2)("layout");return(0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(d,{class:"layout_modal",visible:e.layout,"onUpdate:visible":A[2]||(A[2]=A=>e.layout=A),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,keyboard:!1,mask:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",mt,[(0,n._)("div",Bt,[(0,n._)("div",wt,[(0,n._)("div",vt,(0,r.zw)(e.$t("layout.MoodBoardDesign")),1)])]),(0,n._)("div",{class:"collection_closeIcon",onClick:A[0]||(A[0]=(0,o.iM)((A=>e.cancelDsign()),["stop"]))},Ct),(0,n._)("div",bt,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.layoutList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{key:A,class:(0,r.C_)({active:A.setPitch}),onClick:i=>e.setpitch(A,t)},[(0,n._)("img",{src:A.imgUrl},null,8,Qt)],10,_t)))),128))]),(0,n._)("div",{class:(0,r.C_)(["layout_centent",{active:e.flex_direction}]),id:"layoutCentent"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.layoutList,((A,t)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{key:A,class:(0,r.C_)([e.moodbClassName[t],"modal_imgItem"]),onClick:i=>e.setpitch(A,t),ref_for:!0,ref:"content"},[(0,n.wy)((0,n._)("img",{crossOrigin:"anonymous",src:A.imgUrl,draggable:"false",class:(0,r.C_)(e.moodbClassName[t])},null,10,Ft),[[u]]),xt,(0,n.wy)((0,n._)("ul",Et,[(0,n.wy)((0,n._)("li",kt,null,512),[[h,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",It,null,512),[[h,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",St,null,512),[[h,"left",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Dt,null,512),[[h,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ht,null,512),[[g,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Lt,null,512),[[p,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ot,null,512),[[f,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Mt,null,512),[[f,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Tt,null,512),[[f,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Nt,null,512),[[f,"left",void 0,{stop:!0}]])],512),[[o.F8,A.setPitch]])],10,Ut)),[[m,t]]))),128))],2),(0,n._)("div",Kt,[(0,n._)("div",Pt,(0,r.zw)(e.$t("layout.LayerOptions")),1),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.moodbList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"layout_left_items",onClick:t=>e.setmoodb(A)},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A,((e,A)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([e,"layout_left_item"])},null,2)))),256))],8,Rt)))),256))]),(0,n._)("div",{class:"button_second submit_button",onClick:A[1]||(A[1]=A=>e.submitTemplate())},(0,r.zw)(e.$t("layout.Submit")),1)]),(0,n.wy)((0,n._)("div",Vt,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,e.loadingShow]]),(0,n.Wm)(c,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...e.upload},headers:{Authorization:e.token},"before-upload":e.beforeUpload,multiple:"",accept:".jpg,.png,.jpeg,.bmp"},null,8,["action","data","headers","before-upload"])])),_:1},8,["visible"])])}var jt={moodb_:[[["wh4"]],[["wh4","wh4"],["wh8","wh8"]],[["wh4","w1h2","w1h2"],["w1h2","w1h2","wh4"],["w2h1","w2h1","wh4"],["wh4","w2h1","w2h1"]],[["wh1","wh1","w1h2","wh4"],["w1h2","wh1","wh1","wh4"],["wh4","wh1","wh1","w1h2"],["w1h2","w1h2","w1h2","w1h2"]],[["wh1","wh1","wh1","wh1","wh4"],["wh1","wh1","wh4","wh1","wh1"],["wh4","wh1","wh1","wh1","wh1"],["w1h2","w1h2","w1h2","wh1","wh1"],["wh1","wh1","w1h2","w1h2","w1h2"],["w1h2","w1h2","wh1","wh1","w1h2"],["w1h2","wh1","wh1","w1h2","w1h2"]],[["wh1","wh1","wh1","wh1","w1h2","w1h2"],["wh1","wh1","w1h2","wh1","wh1","w1h2"],["w1h2","w1h2","wh1","wh1","wh1","wh1"],["wh1","wh1","wh1","wh1","w2h1","w2h1"],["wh1","wh1","w2h1","w2h1","wh1","wh1"],["w2h1","w2h1","wh1","wh1","wh1","wh1"]],[["wh1","wh1","wh1","wh1","wh1","wh1","w1h2"],["wh1","wh1","wh1","wh1","w1h2","wh1","wh1"],["wh1","wh1","w1h2","wh1","wh1","wh1","wh1"],["w1h2","wh1","wh1","wh1","wh1","wh1","wh1"],["wh1","wh1","wh1","wh1","wh1","wh1","w2h1"]],[["wh1","wh1","wh1","wh1","wh1","wh1","wh1","wh1"]]]},zt=t(9980),Zt=t.n(zt),Wt=(t(2801),t(8675),t(7380),t(1118),t(1120)),Yt=t.n(Wt);const Xt=e=>new Promise((A=>{Yt()(e,{useCORS:!0}).then((e=>{let t,i,n,r=e.toDataURL("image/jpeg",.9),o=.9,s=new Image;s.src=r,s.setAttribute("crossOrigin","Anonymous"),s.onload=function(){n=1*this.width,t=this.width,i=this.height;let e=document.createElement("canvas"),r=e.getContext("2d");Math.max(t,i)>n?t>i?(e.width=n,e.height=n*(i/t)):(e.height=n,e.width=n*(t/i)):(e.width=t,e.height=i,o=.6),r.clearRect(0,0,e.width,e.height),r.drawImage(this,0,0,e.width,e.height);let s=e.toDataURL("image/jpeg",o),a=Jt(s),l=new File([a],new Date+".jpg");A(l)}}))}));function Jt(e,A){let t=atob(e.split(",")[1]),i=[];for(let n=0;n{A.stopPropagation(),e.parentElement.children.forEach((e=>{e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px"})),e.parentElement.children.forEach((e=>{e.classList.add("active")})),e.style.zIndex=De.zIndex++;let t=e.style.left?e.style.left.replace(/px/g,""):0,i=e.style.top?e.style.top.replace(/px/g,""):0,n=A.offsetX,r=A.offsetY,o=A.clientX-A.offsetX-Number(t),s=A.clientY-A.offsetY-Number(i),a=!0;document.onmousemove=function(A){a&&(e.style.left=A.x-n-o+"px",e.style.top=A.y-r-s+"px",e.offsetLeft<=0&&(e.style.left="0px"),e.offsetTop<=0&&(e.style.top="0px"),e.offsetLeft+e.offsetWidth>=e.parentNode.offsetWidth&&(e.style.left=e.parentNode.offsetWidth-e.offsetWidth+"px"),e.offsetTop+e.offsetHeight>=e.parentNode.offsetHeight&&(e.style.top=e.parentNode.offsetHeight-e.offsetHeight+"px"))},document.onmouseup=function(){a=!1}}))},updated(e,A){}},compile:{mounted(e,A){e.addEventListener("mousedown",(t=>{t.stopPropagation();let i,n,r=e.parentNode.parentNode;e.parentElement.parentNode.parentNode.children.forEach((e=>{e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px"})),e.parentElement.parentNode.parentNode.children.forEach((e=>{e.classList.add("active")})),"right"==A.value||("left"==A.value?(r.style.right=r.parentNode.offsetWidth-r.offsetWidth-r.offsetLeft+"px",r.style.left="auto"):"top"==A.value?(r.style.bottom=r.parentNode.offsetHeight-r.offsetHeight-r.offsetTop+"px",r.style.top="auto"):A.value),"left"==A.value||"right"==A.value?(i=t.x,n=r.offsetWidth):(n=r.offsetHeight,i=t.y);let o=!0;document.onmousemove=function(e){o&&("left"==A.value?r.style.width=n+i-e.x+"px":"right"==A.value?r.style.width=n+e.x-i+"px":"top"==A.value?r.style.height=n+i-e.y+"px":"bottom"==A.value&&(r.style.height=n+e.y-i+"px"),r.parentNode.offsetWidth<=r.offsetWidth+Number(r.style.right.replace(/px/g,""))&&(r.style.width=r.parentNode.offsetWidth-Number(r.style.right.replace(/px/g,""))+"px"),r.offsetLeft+r.offsetWidth>=r.parentNode.offsetWidth&&(r.style.width=r.parentNode.offsetWidth-r.offsetLeft+"px"),r.parentNode.offsetHeight<=r.offsetHeight+Number(r.style.bottom.replace(/px/g,""))&&(r.style.height=r.parentNode.offsetHeight-Number(r.style.bottom.replace(/px/g,""))+"px"),r.offsetTop+r.offsetHeight>=r.parentNode.offsetHeight&&(r.style.height=r.parentNode.offsetHeight-r.offsetTop+"px"))},document.onmouseup=function(){o=!1}}))}},rotote:{mounted(e){let A,t=!0,i=0,n=e.parentNode.parentNode;if(document.defaultView){let e=document.defaultView.getComputedStyle(n.firstElementChild,null).transform.split("(")[1].split(",");A=Number(e[3])}e.addEventListener("mousedown",(r=>{r.stopPropagation(),t=!0;var o=e.getBoundingClientRect();let s=o.x+o.width/2,a=o.y+o.height/2;document.addEventListener("mousemove",(r=>{if(t){let t=s,o=a,l=r.clientX-t,c=o-r.clientY;i=Math.atan2(l,c)*(180/Math.PI),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+A+") rotateZ("+i+"deg)",e.style.transform="translate(-50%,-50%) rotateZ("+i+"deg)"}})),document.addEventListener("mouseup",(()=>{t=!1}))}));let r=!0;e.parentNode.addEventListener("mousemove",(t=>{e.parentNode.addEventListener("mousewheel",(e=>{r&&(r=!1,e.deltaY>0?A-=A<=1?.05:.1:A+=A<=1?.05:.1,A>=3?A=3:A<.2&&(A=.2),setTimeout((()=>{r=!0}),100),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+A+") rotateZ("+i+"deg)")}))}))}},angle:{mounted(e,A){let t=!1;e.addEventListener("mousedown",(i=>{i.stopPropagation(),e.parentNode.children.forEach((e=>{e.classList.add("eventNode")})),t=!0;let n,r,o=e.parentNode.parentNode,s=Math.sqrt(o.offsetWidth/2*o.offsetWidth/2+o.offsetHeight/2*o.offsetHeight/2),a=i=>{if(t){"right"==A.value?(n=o.offsetWidth-i.offsetX,r=o.offsetHeight-i.offsetY):"top"==A.value?(n=o.offsetWidth-i.offsetX-o.offsetWidth,r=o.offsetHeight-i.offsetY):"left"==A.value?(n=o.offsetWidth-i.offsetX,r=o.offsetHeight-i.offsetY-o.offsetHeight):"bottom"==A.value&&(n=o.offsetWidth-i.offsetX-o.offsetWidth,r=o.offsetHeight-i.offsetY-o.offsetHeight);let t=Math.sqrt(n*n+r*+r)/2;if(100-100*t/s<=50){let i=(100-100*t/s)/3.33-1;i<=0&&(i=0),"right"==A.value?(e.parentNode.style.borderTopLeftRadius=100-100*t/s+"%",o.style.borderTopLeftRadius=100-100*t/s+"%",e.style.left=i+"%",e.style.top=i+"%"):"top"==A.value?(e.parentNode.style.borderTopRightRadius=100-100*t/s+"%",o.style.borderTopRightRadius=100-100*t/s+"%",e.style.right=i+"%",e.style.left="auto",e.style.top=i+"%"):"bottom"==A.value?(e.parentNode.style.borderBottomRightRadius=100-100*t/s+"%",o.style.borderBottomRightRadius=100-100*t/s+"%",e.style.right=i+"%",e.style.top="auto",e.style.left="auto",e.style.bottom=i+"%"):"left"==A.value&&(e.parentNode.style.borderBottomLeftRadius=100-100*t/s+"%",o.style.borderBottomLeftRadius=100-100*t/s+"%",e.style.left=i+"%",e.style.top="auto",e.style.bottom=i+"%")}else"right"==A.value?(e.parentNode.style.borderTopLeftRadius="50%",o.style.borderTopLeftRadius="50%"):"top"==A.value?(e.parentNode.style.borderTopRightRadius="50%",o.style.borderTopRightRadius="50%"):"bottom"==A.value?(e.parentNode.style.borderBottomRightRadius="50%",o.style.borderBottomRightRadius="50%"):"left"==A.value&&(e.parentNode.style.borderBottomLeftRadius="50%",o.style.borderBottomLeftRadius="50%")}document.addEventListener("mouseup",(()=>{t=!1,e.removeEventListener("mousemove",a),e.parentNode.children.forEach((e=>{e.classList.remove("eventNode")}))}))};e.parentNode.addEventListener("mousemove",a)}))}},translate:{mounted(e,A,t){e.addEventListener("mousedown",(A=>{A.stopPropagation();let t=e.parentNode.parentNode;e.style.left=(e.offsetLeft+2)/t.offsetWidth*100+"%",e.style.top=(e.offsetTop+2)/t.offsetHeight*100+"%";e.style.left&&e.style.left.replace(/%/g,""),e.style.top&&e.style.top.replace(/%/g,"");let i=A.offsetX,n=A.offsetY,r=A.clientX-A.offsetX-e.offsetLeft,o=A.clientY-A.offsetY-e.offsetTop,s=!0;document.onmousemove=function(A){if(s){let s=(A.x-i+2-r)/t.offsetWidth*100+"%",a=(A.y-n+2-o)/t.offsetHeight*100+"%";e.style.left=s,e.style.top=a,e.previousSibling.style.top=a,e.previousSibling.style.left=s,t.firstChild.style.top=a,t.firstChild.style.left=s,e.offsetLeft<=0&&(e.style.left="0%",e.previousSibling.style.left="0%",t.firstChild.style.left="0%"),e.offsetTop<=0&&(e.style.top="0%",e.previousSibling.style.top="0%",t.firstChild.style.top="0%"),e.style.left.replace(/%/g,"")>=100&&(e.style.left="100%",e.previousSibling.style.left="100%",t.firstChild.style.left="100%"),e.style.top.replace(/%/g,"")>=100&&(e.style.top="100%",e.previousSibling.style.top="100%",t.firstChild.style.top="100%")}},document.onmouseup=function(){s=!1}}))}},modelImg:{mounted(e){let A=e.parentNode;A.offsetHeight>A.offsetWidth?(e.style.height="100%",e.style.width="auto"):(e.style.width="100%",e.style.height="auto")},updated(e){let A=e.parentNode;A.offsetHeight>A.offsetWidth?(e.style.height="100%",e.style.width="auto"):(e.style.width="100%",e.style.height="auto")}}},methods:{init(){let e=this.$parent;e=e.layoutList,this.layout=!0,this.layoutList.forEach((e=>{e.setPitch=!1})),this.layoutList=e,this.moodbList=this.moodb[e.length-1],this.moodbClassName=this.moodb_className},cancelDsign(){this.layout=!1},setpitch(e,A){this.layoutList.forEach((e=>{e.setPitch=!1})),e.setPitch=!0,this.content&&(this.content[A].style.zIndex=De.zIndex++)},setmoodb(e){if(this.moodbClassName=e,this.$emit("setmoodbClass",this.moodbClassName),this.content)for(e of this.content)e.classList.remove("active"),e.style.top="",e.style.left="",e.style.right="",e.style.bottom="",e.style.width="",e.style.height=""},changeTemplateModal(){this.layout=!this.layout},submitTemplate(){this.loadingShow=!0,this.layoutList.forEach((e=>{e.setPitch=!1})),(0,n.Y3)().then((async()=>{let e=document.getElementById("layoutCentent"),A=await $t(e),t=new FormData;t.append("inPin","0"),t.append("gender",""),t.append("level1Type","Moodboard"),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",A);let i={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};Ie.V.axiosPost(Ie.V.httpUrls.elementUpload,t,i).then((e=>{e.imgUrl=e.url,this.layout=!1,this.loadingShow=!1,this.store.commit("setDisposeMoodboard",e)})).catch((e=>{this.loadingShow=!1}))}))},beforeUpload(){}}});const ei=(0,Xe.Z)(qt,[["render",Gt]]);var Ai=ei;const ti={class:"layout_content"},ii={class:"collection_title"},ni={class:"collection_title_text"},ri={class:"layout_title"},oi=(0,n._)("i",{class:"fi fi-rr-cross-small"},null,-1),si=[oi],ai={class:"layout_nav"},li=["onClick"],ci=["src"],di=["onClick"],ui=["src"],hi={class:"layout_btn"},gi={class:"layout_btn_top"},pi={class:"layout_btn_bottom"},fi={class:"layout_btn_left"},mi={class:"layout_btn_right"},Bi={class:"layout_rotote"},wi={class:"layout_translate"},vi={class:"layout_angle_tr"},yi={class:"layout_angle_tl"},Ci={class:"layout_angle_br"},bi={class:"layout_angle_bl"},_i={class:"layout_left"},Qi={class:"layout_left_text"},Ui=["onClick"],Fi={class:"mark_loading"};function xi(e,A,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-upload"),d=(0,n.up)("a-modal"),u=(0,n.Q2)("modelImg"),h=(0,n.Q2)("compile"),g=(0,n.Q2)("rotote"),p=(0,n.Q2)("translate"),f=(0,n.Q2)("angle"),m=(0,n.Q2)("layout");return(0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(d,{class:"layout_modal",visible:e.layout,"onUpdate:visible":A[2]||(A[2]=A=>e.layout=A),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,mask:!1,keyboard:!1,destroyOnClose:!0},{default:(0,n.w5)((()=>[(0,n._)("div",ti,[(0,n._)("div",ii,[(0,n._)("div",ni,[(0,n._)("div",ri,(0,r.zw)(e.$t("layout.MoodBoardDesign")),1)])]),(0,n._)("div",{class:"collection_closeIcon",onClick:A[0]||(A[0]=(0,o.iM)((A=>e.cancelDsign()),["stop"]))},si),(0,n._)("div",ai,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.layoutList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{key:A,class:(0,r.C_)({active:A.setPitch}),onClick:i=>e.setpitch(A,t)},[(0,n._)("img",{src:A.imgUrl},null,8,ci)],10,li)))),128))]),(0,n._)("div",{class:(0,r.C_)(["layout_centent",{active:e.flex_direction}]),id:"layoutCentent"},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.layoutList,((A,t)=>(0,n.wy)(((0,n.wg)(),(0,n.iD)("div",{key:A,class:(0,r.C_)([e.moodbClassName[t],"modal_imgItem"]),onClick:i=>e.setpitch(A,t),ref_for:!0,ref:"content"},[(0,n.wy)((0,n._)("img",{crossOrigin:"anonymous",src:A.imgUrl,draggable:"false"},null,8,ui),[[u]]),(0,n.wy)((0,n._)("ul",hi,[(0,n.wy)((0,n._)("li",gi,null,512),[[h,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",pi,null,512),[[h,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",fi,null,512),[[h,"left",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",mi,null,512),[[h,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Bi,null,512),[[g,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",wi,null,512),[[p,void 0,void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",vi,null,512),[[f,"top",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",yi,null,512),[[f,"right",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",Ci,null,512),[[f,"bottom",void 0,{stop:!0}]]),(0,n.wy)((0,n._)("li",bi,null,512),[[f,"left",void 0,{stop:!0}]])],512),[[o.F8,A.setPitch]])],10,di)),[[m,t]]))),128))],2),(0,n._)("div",_i,[(0,n._)("div",Qi,(0,r.zw)(e.$t("layout.LayerOptions")),1),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.moodbList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"layout_left_items",onClick:t=>e.setmoodb(A)},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(A,((e,A)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)([e,"layout_left_item"])},null,2)))),256))],8,Ui)))),256))]),(0,n._)("div",{class:"button_second submit_button",onClick:A[1]||(A[1]=A=>e.submitTemplate())},(0,r.zw)(e.$t("layout.Submit")),1)]),(0,n.wy)((0,n._)("div",Fi,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,e.loadingShow]]),(0,n.Wm)(c,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card",data:{...e.upload},headers:{Authorization:e.token},"before-upload":e.beforeUpload,multiple:"",accept:".jpg,.png,.jpeg,.bmp"},null,8,["action","data","headers","before-upload"])])),_:1},8,["visible"])])}var Ei=(0,n.aZ)({props:["moodb_className","flex_direction"],components:{draggable:Zt()},setup(e){let A=(0,W.iH)(!1),t=(0,W.iH)([]),i=(0,W.iH)(1),n=!1,r=(0,W.iH)([]);const o=(0,W.iH)(null);let s=(0,W.iH)(!1);return{layout:A,templateFileList:t,openClick:i,drag:n,layoutList:r,content:o,loadingShow:s}},data(){return{store:(0,Se.oR)(),moodb:jt.moodb_,moodbList:{},moodbClassName:[],setabsolute:!1,token:"",uploadUrl:"",upload:{isPin:0,gender:"",level1Type:"Moodboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}}},mounted(){this.token=(0,He.ej)("token")||"",this.uploadUrl=(0,Le.M$)()},directives:{layout:{mounted(e,A,t){e.addEventListener("touchstart",(A=>{A.stopPropagation(),e.parentElement.children.forEach((e=>{e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px"})),e.parentElement.children.forEach((e=>{e.classList.add("active")})),e.style.zIndex=De.zIndex++;let t=e.style.left?e.style.left.replace(/px/g,""):0,i=e.style.top?e.style.top.replace(/px/g,""):0,n=A.changedTouches[0].pageX-e.getBoundingClientRect().left,r=A.changedTouches[0].pageY-e.getBoundingClientRect().top,o=A.targetTouches[0].clientX-n-Number(t),s=A.targetTouches[0].clientY-r-Number(i),a=!0,l=function(A){a&&(e.style.left=A.targetTouches[0].pageX-n-o+"px",e.style.top=A.targetTouches[0].pageY-r-s+"px",e.offsetLeft<=0&&(e.style.left="0px"),e.offsetTop<=0&&(e.style.top="0px"),e.offsetLeft+e.offsetWidth>=e.parentNode.offsetWidth&&(e.style.left=e.parentNode.offsetWidth-e.offsetWidth+"px"),e.offsetTop+e.offsetHeight>=e.parentNode.offsetHeight&&(e.style.top=e.parentNode.offsetHeight-e.offsetHeight+"px"))},c=function(){a=!1,document.removeEventListener("touchmove",l),document.removeEventListener("touchmove",l)};document.addEventListener("touchmove",l),document.addEventListener("touchend",c)}))},updated(e,A){}},compile:{mounted(e,A){e.addEventListener("touchstart",(t=>{t.stopPropagation();let i,n,r=e.parentNode.parentNode;e.parentElement.parentNode.parentNode.children.forEach((e=>{e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px"})),e.parentElement.parentNode.parentNode.children.forEach((e=>{e.classList.add("active")})),"right"==A.value||("left"==A.value?(r.style.right=r.parentNode.offsetWidth-r.offsetWidth-r.offsetLeft+"px",r.style.left="auto"):"top"==A.value?(r.style.bottom=r.parentNode.offsetHeight-r.offsetHeight-r.offsetTop+"px",r.style.top="auto"):A.value),"left"==A.value||"right"==A.value?(i=t.targetTouches[0].clientX,n=r.offsetWidth):(n=r.offsetHeight,i=t.targetTouches[0].clientY);let o=!0,s=function(e){o&&("left"==A.value?r.style.width=n+i-e.targetTouches[0].clientX+"px":"right"==A.value?r.style.width=n+e.targetTouches[0].clientX-i+"px":"top"==A.value?r.style.height=n+i-e.targetTouches[0].clientY+"px":"bottom"==A.value&&(r.style.height=n+e.targetTouches[0].clientY-i+"px"),r.parentNode.offsetWidth<=r.offsetWidth+Number(r.style.right.replace(/px/g,""))&&(r.style.width=r.parentNode.offsetWidth-Number(r.style.right.replace(/px/g,""))+"px"),r.offsetLeft+r.offsetWidth>=r.parentNode.offsetWidth&&(r.style.width=r.parentNode.offsetWidth-r.offsetLeft+"px"),r.parentNode.offsetHeight<=r.offsetHeight+Number(r.style.bottom.replace(/px/g,""))&&(r.style.height=r.parentNode.offsetHeight-Number(r.style.bottom.replace(/px/g,""))+"px"),r.offsetTop+r.offsetHeight>=r.parentNode.offsetHeight&&(r.style.height=r.parentNode.offsetHeight-r.offsetTop+"px"))},a=function(){o=!1,e.parentNode.removeEventListener("touchmove",s),document.removeEventListener("touchmove",s),e.parentNode.children.forEach((e=>{e.classList.remove("eventNode")}))};e.parentNode.addEventListener("touchmove",s),document.addEventListener("touchend",a)}))}},rotote:{mounted(e){let A,t=!0,i=0,n=e.parentNode.parentNode;if(document.defaultView){let e=document.defaultView.getComputedStyle(n.firstElementChild,null).transform.split("(")[1].split(",");A=Number(e[3])}e.addEventListener("touchstart",(r=>{r.stopPropagation(),t=!0;var o=e.getBoundingClientRect();let s=o.x+o.width/2,a=o.y+o.height/2;document.addEventListener("touchmove",(r=>{if(t){let t=s,o=a,l=r.targetTouches[0].clientX-t,c=o-r.targetTouches[0].clientY;i=Math.atan2(l,c)*(180/Math.PI),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+A+") rotateZ("+i+"deg)",e.style.transform="translate(-50%,-50%) rotateZ("+i+"deg)"}})),document.addEventListener("touchend",(()=>{t=!1}))}));let r=!0;e.parentNode.addEventListener("mousemove",(t=>{e.parentNode.addEventListener("mousewheel",(e=>{r&&(r=!1,e.deltaY>0?A-=A<=1?.05:.1:A+=A<=1?.05:.1,A>=3?A=3:A<.2&&(A=.2),setTimeout((()=>{r=!0}),100),n.firstElementChild.style.transform="translate(-50%,-50%) scale("+A+") rotateZ("+i+"deg)")}))}))}},angle:{mounted(e,A){let t=!1;e.addEventListener("touchstart",(i=>{i.stopPropagation(),e.parentNode.children.forEach((e=>{e.classList.add("eventNode")})),t=!0;let n,r,o=e.parentNode.parentNode,s=Math.sqrt(o.offsetWidth/2*o.offsetWidth/2+o.offsetHeight/2*o.offsetHeight/2),a=i=>{if(t){let t=i.changedTouches[0].pageX-e.parentNode.getBoundingClientRect().left,a=i.changedTouches[0].pageY-e.parentNode.getBoundingClientRect().top;"right"==A.value?(n=o.offsetWidth-t,r=o.offsetHeight-a):"top"==A.value?(n=o.offsetWidth-t-o.offsetWidth,r=o.offsetHeight-a):"left"==A.value?(n=o.offsetWidth-t,r=o.offsetHeight-o.offsetHeight-a):"bottom"==A.value&&(n=o.offsetWidth-t-o.offsetWidth,r=o.offsetHeight-a-o.offsetHeight);let l=Math.sqrt(n*n+r*r)/2;if(100-100*l/s<=50){let t=(100-100*l/s)/3.33-1;t<=0&&(t=0),"right"==A.value?(e.parentNode.style.borderTopLeftRadius=100-100*l/s+"%",o.style.borderTopLeftRadius=100-100*l/s+"%",e.style.left=t+"%",e.style.top=t+"%"):"top"==A.value?(e.parentNode.style.borderTopRightRadius=100-100*l/s+"%",o.style.borderTopRightRadius=100-100*l/s+"%",e.style.right=t+"%",e.style.left="auto",e.style.top=t+"%"):"bottom"==A.value?(e.parentNode.style.borderBottomRightRadius=100-100*l/s+"%",o.style.borderBottomRightRadius=100-100*l/s+"%",e.style.right=t+"%",e.style.top="auto",e.style.left="auto",e.style.bottom=t+"%"):"left"==A.value&&(e.parentNode.style.borderBottomLeftRadius=100-100*l/s+"%",o.style.borderBottomLeftRadius=100-100*l/s+"%",e.style.left=t+"%",e.style.top="auto",e.style.bottom=t+"%")}else"right"==A.value?(e.parentNode.style.borderTopLeftRadius="50%",o.style.borderTopLeftRadius="50%"):"top"==A.value?(e.parentNode.style.borderTopRightRadius="50%",o.style.borderTopRightRadius="50%"):"bottom"==A.value?(e.parentNode.style.borderBottomRightRadius="50%",o.style.borderBottomRightRadius="50%"):"left"==A.value&&(e.parentNode.style.borderBottomLeftRadius="50%",o.style.borderBottomLeftRadius="50%")}document.addEventListener("touchend",(()=>{t=!1,e.parentNode.removeEventListener("touchmove",a),e.parentNode.children.forEach((e=>{e.classList.remove("eventNode")}))}))};e.parentNode.addEventListener("touchmove",a,!1)}))}},translate:{mounted(e,A,t){e.addEventListener("touchstart",(A=>{A.stopPropagation();let t=e.parentNode.parentNode;e.style.left=(e.offsetLeft+2)/t.offsetWidth*100+"%",e.style.top=(e.offsetTop+2)/t.offsetHeight*100+"%";e.style.left&&e.style.left.replace(/%/g,""),e.style.top&&e.style.top.replace(/%/g,"");let i=A.changedTouches[0].pageX-e.parentNode.getBoundingClientRect().left,n=A.changedTouches[0].pageY-e.parentNode.getBoundingClientRect().top,r=A.changedTouches[0].pageX-i-e.offsetLeft,o=A.changedTouches[0].pageY-n-e.offsetTop,s=!0,a=function(A){if(s){let s=(A.changedTouches[0].pageX-i+2-r)/t.offsetWidth*100+"%",a=(A.changedTouches[0].pageY-n+2-o)/t.offsetHeight*100+"%";e.style.left=s,e.style.top=a,e.previousSibling.style.top=a,e.previousSibling.style.left=s,t.firstChild.style.top=a,t.firstChild.style.left=s,e.offsetLeft<=0&&(e.style.left="0%",e.previousSibling.style.left="0%",t.firstChild.style.left="0%"),e.offsetTop<=0&&(e.style.top="0%",e.previousSibling.style.top="0%",t.firstChild.style.top="0%"),e.style.left.replace(/%/g,"")>=100&&(e.style.left="100%",e.previousSibling.style.left="100%",t.firstChild.style.left="100%"),e.style.top.replace(/%/g,"")>=100&&(e.style.top="100%",e.previousSibling.style.top="100%",t.firstChild.style.top="100%")}};e.parentNode.addEventListener("touchmove",a,!1),document.addEventListener("touchend",(()=>{s=!1,e.parentNode.removeEventListener("touchmove",a),e.parentNode.children.forEach((e=>{e.classList.remove("eventNode")}))}))}))}},modelImg:{}},methods:{init(){let e=this.$parent;e=e.layoutList,this.layout=!0,this.layoutList.forEach((e=>{e.setPitch=!1})),this.layoutList=e,this.moodbList=this.moodb[e.length-1],this.moodbClassName=this.moodb_className},cancelDsign(){this.layout=!1},setpitch(e,A){this.layoutList.forEach((e=>{e.setPitch=!1})),e.setPitch=!0,this.content&&(this.content[A].style.zIndex=De.zIndex++)},setmoodb(e){if(this.moodbClassName=e,this.$emit("setmoodbClass",this.moodbClassName),this.content)for(e of this.content)e.classList.remove("active"),e.style.top="",e.style.left="",e.style.right="",e.style.bottom="",e.style.width="",e.style.height=""},changeTemplateModal(){this.layout=!this.layout},submitTemplate(){this.loadingShow=!0,this.layoutList.forEach((e=>{e.setPitch=!1})),(0,n.Y3)().then((async()=>{let e=document.getElementById("layoutCentent"),A=await $t(e),t=new FormData;t.append("inPin","0"),t.append("gender",""),t.append("level1Type","Moodboard"),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",A);let i={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};Ie.V.axiosPost(Ie.V.httpUrls.elementUpload,t,i).then((e=>{e.imgUrl=e.url,this.layout=!1,this.loadingShow=!1,this.store.commit("setDisposeMoodboard",e)})).catch((e=>{this.loadingShow=!1}))}))},beforeUpload(){}}});const ki=(0,Xe.Z)(Ei,[["render",xi]]);var Ii=ki,Si=(0,n.aZ)({components:{Material:it,MoodTemplate:ft,Generate:iA,layout:Ai,layoutMobile:Ii},setup(){const e=(0,Se.oR)();let A=(0,W.iH)([]),t=(0,W.iH)([]),i=(0,W.iH)([]),r=(0,W.iH)(!1),o=(0,W.iH)([]),s=(0,W.iH)(1),a=(0,W.iH)([]),l=(0,W.iH)(!1),c=[],d=(0,W.iH)(!1),u=(0,W.iH)(!1),h=(0,n.Fl)((()=>e.state.UploadFilesModule.disposeMoodboard)),g=(0,n.f3)("driver__"),p=(0,W.iH)([]),f=(0,W.iH)(),{t:m}=(0,eA.QT)();return{fileList:t,showFileList:i,lessenList:A,templateModal:r,templateFileList:o,openClick:s,moodb_className:a,flex_direction:l,layoutList:c,layoutOpen:d,loadingShow:u,modalImg:h,driver__:g,uploading:p,edieShow:f,t:m}},data(){return{indicator:(0,n.h)(xe.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,gender:"",level1Type:"Moodboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",moodTemplateId:"",store:(0,Se.oR)(),moodb_:jt.moodb_,moodboarList:(0,n.Fl)((()=>(0,Se.oR)().state.UploadFilesModule.moodboard))}},mounted(){this.token=(0,He.ej)("token")||"",this.uploadUrl=(0,Le.M$)()},watch:{driver__:{handler(e,A){e.index>=6&&e.index<=8&&this.open(e.index-5)}}},directives:{modelImg:{mounted(e){let A=e.parentNode;A.offsetHeight>A.offsetWidth?(e.style.height="100%",e.style.width="auto"):(e.style.width="100%",e.style.height="auto")},updated(e){let A=e.parentNode;A.offsetHeight>A.offsetWidth?(e.style.height="100%",e.style.width="auto"):(e.style.width="100%",e.style.height="auto")}}},methods:{open(e){if(this.openClick=e,2==e){let e=this.$refs.Material;e.init("Moodboard")}else if(3==e){let e=this.$refs.Generate;this.driver__.driver?e.searchPictureName="Exit sign, door, sunset, ocean, surreal":e.searchPictureName=""}},fileUploadChange(e){let A=e.file,t=!0;if("done"===A.status){let e=JSON.parse(A.xhr.response);if(0==e.errCode){A.imgUrl=e.data.url,A.resData=e.data,A.type_={type1:"upload",type2:"Moodboard"},A.id_=De.id++,A.id=e.data.id;let t=this.fileList.filter((e=>"done"===e.status)),i=this.store.state.UploadFilesModule.moodboard;i.length>=8?Ee.ZP.info(this.t("MoodboardUpload.jsContent1")):this.store.commit("setMoodboardFile",t)}else t=!1}else"error"===A.status&&(t=!1);if(!t){let e=JSON.parse(A.xhr.response),t=-1;this.fileList.forEach(((e,i)=>{A.uid===e.uid&&(t=i)})),t>-1&&this.fileList.splice(t,1),Ee.ZP.warning(e.errMsg)}},beforeUpload(e){const A="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/bmp"===e.type;A||Ee.ZP.info(this.t("MoodboardUpload.jsContent3"));const t=e.size/1024/1024<2;return t||Ee.ZP.info(this.t("MoodboardUpload.jsContent4")),A&&t||ke.Z.LIST_IGNORE},deleteFile(e){if("generate"==e.type_.type1||"material"==e.type_.type1)e.jsContent1=this.t("uploadFile.jsContent1",{maxImg:8}),this.store.commit("addGenerateMaterialFils",e);else{let A;this.fileList=this.store.state.UploadFilesModule.moodboardFiles,this.store.state.UploadFilesModule.moodboardFiles.forEach(((t,i)=>{t.id_==e.id_&&(A=i)})),this.fileList.splice(A,1),this.store.commit("setMoodboardFile",this.fileList)}0==this.store.state.UploadFilesModule.moodboard.length&&(this.store.commit("clearMoodTemplateId"),this.layoutList=[],this.edieShow=!1)},recollection(){let e=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.moodboardFiles)),A=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.disposeMoodboard)),t={generate:[],material:[],moodboard:[]};e.forEach((e=>{"generate"==e.type_.type1?t.generate.push(e):"material"==e.type_.type1?t.material.push(e):t.moodboard.push(e)})),this.store.commit("setMoodboardGenerateFiles",t.generate),this.store.commit("setMoodboardMaterialFiles",t.material),this.store.commit("setMoodboardFile",t.moodboard),this.store.commit("setDisposeMoodboard",A[0]),this.fileList=t.moodboard},async changeTemplateModal(){if(this.modalImg[0]?.id){let e=(0,Le.S0)()?this.$refs.layoutMobile:this.$refs.layout;this.layoutList.length<=0&&await this.layout(),e.init()}else Ee.ZP.info(this.t("MoodboardUpload.jsContent5"))},layout(){this.loadingShow=!0,this.edieShow=!0,this.store.commit("setDisposeMoodboard",[]);let e=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.moodboard));this.layoutList=e;var A=Math.round(Math.random()*(this.moodb_[e.length-1].length-1));let t=this.moodb_[e.length-1][A];0!=t.filter(((e,A)=>"w2h1"==e)).length&&e.length>4?this.flex_direction=!0:this.flex_direction=!1,1==this.moodb_[e.length-1].length||JSON.stringify(this.moodb_className)!=JSON.stringify(this.moodb_[e.length-1][A])?(2==this.moodb_[e.length-1].length?this.moodb_className=this.moodb_[e.length-1][0]:this.moodb_className=this.moodb_[e.length-1][A],this.layoutOpen=!0,this.layoutList.forEach((e=>{e.setPitch=!1})),(0,n.Y3)().then((async()=>{let e=document.getElementById("modal_img"),A=await $t(e),t=new FormData;t.append("inPin","0"),t.append("level1Type","Moodboard"),t.append("gender",""),t.append("timeZone",Intl.DateTimeFormat().resolvedOptions().timeZone),t.append("file",A);let i={headers:{"Content-Type":"multipart/form-data",Accept:"*/*"}};Ie.V.axiosPost(Ie.V.httpUrls.elementUpload,t,i).then((e=>{let A=e;A.imgUrl=e.url,A.resData=JSON.parse(JSON.stringify(A)),this.store.commit("setDisposeMoodboard",A),this.loadingShow=!1})).catch((e=>{this.loadingShow=!1})),this.driver__.driver&&qe.RX.moveNext()}))):this.layout()},setmoodbClass(e){this.moodb_className=e}}});const Di=(0,Xe.Z)(Si,[["render",SA],["__scopeId","data-v-469e9626"]]);var Hi=Di;const Li=e=>((0,n.dD)("data-v-4c8347bb"),e=e(),(0,n.Cn)(),e),Oi={class:"printboard_left_upload"},Mi={class:"left_upload_header"},Ti={class:"upload_header_item"},Ni={class:"switch_type_list"},Ki={class:"printboard_body"},Pi={class:"upload_img_body"},Ri={class:"upload_item"},Vi={class:"upload_file_img_block"},Gi={class:"upload_file_item_content"},ji={class:"upload_file_item_content"},zi=["onClick"],Zi=Li((()=>(0,n._)("span",{class:"icon iconfont icon-shanchu"},null,-1))),Wi=[Zi],Yi={class:"pin_block"},Xi={class:"upload_file_item upload_component"},Ji={class:"upload_tip_block"},$i=Li((()=>(0,n._)("i",{class:"fi fi-br-upload"},null,-1))),qi=[$i],en={class:"upload_max_tip"},An=Li((()=>(0,n._)("span",{class:"icon iconfont icon-zhuyi"},null,-1))),tn={class:"modal_right"},nn={class:"modal_layout"},rn={class:"modal_text"},on={class:"modal_img"},sn=["onClick"],an=Li((()=>(0,n._)("div",{class:"checked"},[(0,n._)("i",{class:"fi fi-rr-trash"})],-1))),ln={class:"modal_accomplish"},cn=["maxlength","readonly","placeholder"],dn={class:"modal_img"},un=["src","onClick"],hn=["onClick"],gn=["onClick"],pn={class:"pin_block"},fn={class:"mark_loading"};function mn(e,A,t,i,s,a){const l=(0,n.up)("a-spin"),c=(0,n.up)("a-checkbox"),d=(0,n.up)("a-upload"),u=(0,n.up)("Material"),h=(0,n.up)("Generate"),g=(0,n.up)("Cropper"),p=(0,n.Q2)("lazy");return(0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["printboard_upload_modal",[e.driver__.driver?"showEvents":""]])},[(0,n._)("div",Oi,[(0,n._)("div",Mi,[(0,n._)("div",Ti,[(0,n._)("div",Ni,[(0,n._)("div",{onClick:A[0]||(A[0]=(0,o.iM)((A=>e.open(1)),["stop"])),class:(0,r.C_)(["switch_type_item",[1==e.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("PrintboardUpload.Upload")),1)],2),(0,n._)("div",{onClick:A[1]||(A[1]=(0,o.iM)((A=>e.open(2)),["stop"])),class:(0,r.C_)(["switch_type_item",[2==e.openClick?"select_swtich":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("PrintboardUpload.Library")),1)],2),(0,n._)("div",{onClick:A[2]||(A[2]=(0,o.iM)((A=>e.open(3)),["stop"])),class:(0,r.C_)(["switch_type_item Guide_1_2_1",[3==e.openClick?"select_swtich":"",e.driver__.driver?"showEvents":""]])},[(0,n._)("span",null,(0,r.zw)(e.$t("PrintboardUpload.Generate")),1)],2)])])]),(0,n.wy)((0,n._)("div",Ki,[(0,n._)("div",Pi,[(0,n._)("div",Ri,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.fileList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["upload_file_item"]),key:A},[(0,n._)("div",Vi,[(0,n.wy)((0,n._)("div",Gi,[(0,n.Wm)(l,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"uploading"===A?.status]]),(0,n.wy)((0,n._)("div",ji,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("img",{class:"upload_img",key:A.imgUrl})),[[p,A.imgUrl]]),(0,n._)("div",{class:"delete_like_file_block",onClick:(0,o.iM)((t=>e.deleteFile(A)),["stop"])},Wi,8,zi)],512),[[o.F8,"done"===A?.status]])]),(0,n.wy)((0,n._)("div",Yi,[(0,n.Wm)(c,{checked:A.pin,"onUpdate:checked":e=>A.pin=e},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(e.$t("PrintboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])],512),[[o.F8,"done"===A?.status]])])))),128)),(0,n.wy)((0,n._)("div",Xi,[(0,n.Wm)(d,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card","before-upload":e.beforeUpload,data:{...e.upload},headers:{Authorization:e.token},"file-list":e.fileList,"onUpdate:file-list":A[3]||(A[3]=A=>e.fileList=A),customRequest:function(){},multiple:!e.driver__.driver,maxCount:8-e.printboardList.length+e.fileList.length,accept:".jpg,.png,.jpeg,.bmp",onChange:e.fileUploadChange},{default:(0,n.w5)((()=>[(0,n.wy)((0,n._)("div",Ji,qi,512),[[o.F8,e.printboardList.length<8]])])),_:1},8,["action","before-upload","data","headers","file-list","customRequest","multiple","maxCount","onChange"])],512),[[o.F8,e.printboardList.length<8]])])]),(0,n._)("div",en,[An,(0,n._)("span",null,(0,r.zw)(e.$t("PrintboardUpload.Maximum")),1)])],512),[[o.F8,1==e.openClick]]),(0,n.wy)((0,n.Wm)(u,{ref:"Material",msg:"Printboard",onConfirmSelect:e.confirmSelect},null,8,["onConfirmSelect"]),[[o.F8,2==e.openClick]]),(0,n.wy)((0,n.Wm)(h,{ref:"Generate",msg:"Printboard",onGenerateCheckbox:e.getgenerateCheckbox},null,8,["onGenerateCheckbox"]),[[o.F8,3==e.openClick]])]),(0,n._)("div",tn,[(0,n._)("div",nn,[(0,n._)("div",rn,[(0,n._)("div",null,(0,r.zw)(e.$t("PrintboardUpload.Thumbnail")),1)]),(0,n._)("div",on,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.printboardList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"modal_img_item",key:A,onClick:(0,o.iM)((t=>e.deleteFile(A)),["stop"])},[(0,n.wy)((0,n._)("img",null,null,512),[[p,A.imgUrl]]),an],8,sn)))),128))])]),(0,n.wy)((0,n._)("div",ln,[(0,n._)("div",{class:(0,r.C_)(["input_box Guide_1_2_8",[e.inputShow?"active":"",e.driver__.driver?"showEvents":""]])},[(0,n.wy)((0,n._)("input",{class:(0,r.C_)(["search_input",{forbidden:e.generateCheckbox}]),onInput:A[4]||(A[4]=(...A)=>e.ifMaximumLength&&e.ifMaximumLength(...A)),onKeydown:A[5]||(A[5]=(0,o.D2)(((...A)=>e.getgenerate&&e.getgenerate(...A)),["enter"])),maxlength:e.inputShow?0:9999,readonly:e.generateCheckbox,placeholder:e.$t("PrintboardUpload.inputContent1"),"onUpdate:modelValue":A[6]||(A[6]=A=>e.captionGeneration=A)},null,42,cn),[[o.nr,e.captionGeneration]]),(0,n._)("div",{class:"generage_btn started_btn",onClick:A[7]||(A[7]=(0,o.iM)(((...A)=>e.getgenerate&&e.getgenerate(...A)),["stop"]))},(0,r.zw)(e.$t("PrintboardUpload.Generate")),1),(0,n._)("span",null,(0,r.zw)(e.$t("PrintboardUpload.maximumLength")),1)],2),(0,n._)("div",dn,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.generateList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["modal_imgItem Guide_1_2_9",[A?.checked?"active":"",e.driver__.driver?"showEvents":""]])},[(0,n._)("img",{src:A.imgUrl,onClick:(0,o.iM)((t=>e.generageAdd(A)),["stop"])},null,8,un),(0,n._)("div",{class:(0,r.C_)(["delete_like_file_block",[e.driver__.driver?"hideEvents":""]])},[A.like?((0,n.wg)(),(0,n.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,o.iM)((t=>e.likeFile(A,"noLike")),["stop"])},null,8,gn)):((0,n.wg)(),(0,n.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,o.iM)((t=>e.likeFile(A,"like")),["stop"])},null,8,hn))],2),(0,n._)("div",pn,[(0,n.Wm)(c,{checked:A.pin,"onUpdate:checked":e=>A.pin=e},{default:(0,n.w5)((()=>[(0,n.Uk)((0,r.zw)(e.$t("PrintboardUpload.PIN")),1)])),_:2},1032,["checked","onUpdate:checked"])])],2)))),256))]),(0,n.wy)((0,n._)("div",fn,[(0,n.Wm)(l,{size:"large"})],512),[[o.F8,e.loadingShow]])],512),[[o.F8,3==e.openClick]])]),(0,n.Wm)(g,{ref:"Cropper",onHandleCropperSuccess:e.handleCropperSuccess,onCloseCropper:A[8]||(A[8]=A=>e.deletUploadFile()),cropperFileData:e.cropperFileData,isUpload:e.isUpload},null,8,["onHandleCropperSuccess","cropperFileData","isUpload"])],2)}const Bn=e=>((0,n.dD)("data-v-6e086b04"),e=e(),(0,n.Cn)(),e),wn={class:"collection_title"},vn={class:"collection_title_text"},yn={class:"collection_modal_body"},Cn={class:"cut_picture_left"},bn={class:"cut_picture_body"},_n={class:"cur_picture_opterate"},Qn=Bn((()=>(0,n._)("span",{class:"icon iconfont icon-chexiao operate_icon"},null,-1))),Un=[Qn],Fn=Bn((()=>(0,n._)("span",{class:"icon iconfont icon-chexiao operate_icon icon_chexiao_sec"},null,-1))),xn=[Fn],En=Bn((()=>(0,n._)("span",{class:"operate_icon icon_font"},"-",-1))),kn=[En],In=Bn((()=>(0,n._)("span",{class:"operate_icon icon_font"},"+",-1))),Sn=[In],Dn=Bn((()=>(0,n._)("span",{class:"icon iconfont icon-shuaxin operate_icon"},null,-1))),Hn=[Dn],Ln={class:"cut_picture_right"},On={class:"cur_picture_right_header"},Mn=Bn((()=>(0,n._)("div",{class:"review_logo icon iconfont icon-yulan"},null,-1))),Tn={class:"cut_picture_review_block"},Nn={class:"cut_picture_review_item"},Kn=["src"];function Pn(e,A,t,i,s,a){const l=(0,n.up)("VueCropper"),c=(0,n.up)("a-modal");return(0,n.wg)(),(0,n.j4)(c,{class:"modal_component cut_pricture_modal",visible:e.cutPicuterModal,"onUpdate:visible":A[8]||(A[8]=A=>e.cutPicuterModal=A),footer:null,width:"65%",maskClosable:!1,centered:!0,closable:!1,keyboard:!1,zIndex:999999,mask:!1},{default:(0,n.w5)((()=>[(0,n._)("div",wn,[(0,n._)("div",vn,[(0,n._)("div",null,(0,r.zw)(e.$t("Cropper.Cutpicture")),1)]),(0,n._)("div",{class:"header_right_block",onClick:A[2]||(A[2]=(0,o.iM)((()=>{}),["stop"]))},[(0,n._)("div",{class:"next_step_button",onClick:A[0]||(A[0]=(0,o.iM)((A=>e.finishCropper()),["stop"]))},(0,r.zw)(e.$t("Cropper.Finish")),1),(0,n._)("div",{class:"header_cancel_button",onClick:A[1]||(A[1]=(0,o.iM)((A=>e.cancleCropper()),["stop"]))},(0,r.zw)(e.$t("Cropper.Cancel")),1)])]),(0,n._)("div",yn,[(0,n._)("div",Cn,[(0,n._)("div",bn,[(0,n.Wm)(l,{ref:"cropper",original:e.option.original,img:e.option.img,outputSize:e.option.size,outputType:e.option.outputType,"auto-crop":e.option.autoCrop,"auto-crop-width":e.option.autoCropWidth,"auto-crop-height":e.option.autoCropHeight,"center-box":e.option.centerBox,"can-move":e.option.canMove,"can-move-box":e.option.canMoveBox,onRealTime:e.realTime},null,8,["original","img","outputSize","outputType","auto-crop","auto-crop-width","auto-crop-height","center-box","can-move","can-move-box","onRealTime"])]),(0,n._)("div",_n,[(0,n._)("div",{class:"cur_picture_opterate_item",onClick:A[3]||(A[3]=A=>e.rotateLeft())},Un),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:A[4]||(A[4]=A=>e.rotateRight())},xn),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:A[5]||(A[5]=A=>e.changeScale(-1))},kn),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:A[6]||(A[6]=A=>e.changeScale(1))},Sn),(0,n._)("div",{class:"cur_picture_opterate_item",onClick:A[7]||(A[7]=A=>e.refreshCrop())},Hn)])]),(0,n._)("div",Ln,[(0,n._)("div",On,[Mn,(0,n._)("div",null,(0,r.zw)(e.$t("Cropper.CropPreview")),1)]),(0,n._)("div",Tn,[(0,n._)("div",Nn,[(0,n._)("div",{class:"cut_picture_review_content",style:(0,r.j5)({width:e.previews.w+"px",height:e.previews.h+"px",overflow:"hidden"})},[(0,n._)("div",{style:(0,r.j5)(e.previews.div)},[(0,n._)("img",{class:"previews_image",style:(0,r.j5)(e.previews.img),src:e.previews.url},null,12,Kn)],4)],4)])])])])])),_:1},8,["visible"])}var Rn=t(2323),Vn=(0,n.aZ)({props:["cropperFileData","isUpload"],components:{VueCropper:Rn.AK},setup(){let e=(0,n.f3)("driver__");return{driver__:e}},data(){return{cutPicuterModal:!1,option:{original:!1,img:"",size:1,full:!1,outputType:"png",autoCrop:!0,autoCropWidth:360,autoCropHeight:360,max:99999,centerBox:!0,canMove:!0,canMoveBox:!0},previews:{}}},methods:{rotateLeft(){let e=this.$refs.cropper;e.rotateLeft()},rotateRight(){let e=this.$refs.cropper;e.rotateRight()},refreshCrop(){let e=this.$refs.cropper;e.refresh()},changeScale(e){e=e||1;let A=this.$refs.cropper;A.changeScale(e)},realTime(e){this.previews=e},getOptionImg(e){this.option.img=e},changeShowModal(e){this.cutPicuterModal=e},finishCropper(){let e=this.$refs.cropper;e.getCropData((e=>{let A=(0,Le._x)(e,this.cropperFileData.name);this.$emit("handleCropperSuccess",{file:A,fileData:this.cropperFileData})}))},closeCropper(){this.cutPicuterModal=!1,this.option.img=""},cancleCropper(){this.cutPicuterModal=!1,this.option.img="",this.$emit("closeCropper")}}});const Gn=(0,Xe.Z)(Vn,[["render",Pn],["__scopeId","data-v-6e086b04"]]);var jn=Gn,zn=(0,n.aZ)({components:{Cropper:jn,Material:it,Generate:iA},setup(){let e=(0,Se.oR)(),A=(0,W.iH)([]),t=(0,W.iH)([]),i=(0,n.Fl)((()=>e.state.UploadFilesModule.moodboard)),r=(0,n.Fl)((()=>e.state.UploadFilesModule.printboard)),o=(0,W.iH)(1),s=(0,W.iH)(),a=(0,W.iH)([]),l=(0,W.iH)(!1),c=(0,W.iH)(!1),d=(0,W.iH)(),u=(0,n.f3)("driver__"),{t:h}=(0,eA.QT)(),g=(0,W.iH)();return{fileList:A,printImgList:t,moodBoards:i,printBoards:r,openClick:o,generateCheckbox:s,generateList:a,loadingShow:l,inputShow:c,inputTime:d,driver__:u,t:h,isTest:g}},computed:{getPinLength(){let e=0;for(let A of this.printBoards)A.pin&&e++;return e}},watch:{printBoards:{handler(e,A){}}},data(){return{swtich_type:"upload",indicator:(0,n.h)(xe.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,gender:"",level1Type:"Printboard",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:"",uploadUrl:"",store:(0,Se.oR)(),cropperFileData:{name:"",uid:""},currentFileNum:0,isUpload:!1,captionGeneration:"",printboardList:(0,n.Fl)((()=>(0,Se.oR)().state.UploadFilesModule.printboard))}},mounted(){this.token=(0,He.ej)("token")||"";let e=(0,He.ej)("isTest");this.isTest=JSON.parse(e)||"",this.uploadUrl=(0,Le.M$)(),this.driver__.driver?this.captionGeneration="Exit sign, door, sunset, ocean, surreal":this.captionGeneration=""},methods:{open(e){this.openClick=e;let A=this.$refs.Material;2==e&&A.init("Printboard"),3==e&&(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))},fileUploadChange(e){let A=e.file;A.id_=De.id++,A.type_={type1:"upload",type2:"Printboard"},A.pin=!1;let t=this.$refs.Cropper;if(1===this.currentFileNum){var i=new FileReader;i.onload=e=>{let A;A="object"===typeof e.target.result?window.URL.createObjectURL(new Blob([e.target.result])):e.target.result,t.getOptionImg(A)},i.readAsArrayBuffer(A.originFileObj),this.cropperFileData=A,t.changeShowModal(!0),(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))}else this.customRequest(A)},beforeUpload(e,A){const t="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/bmp"===e.type;t||Ee.ZP.info(this.t("PrintboardUpload.jsContent1"));const i=e.size/1024/1024<2;if(i||Ee.ZP.info(this.t("PrintboardUpload.jsContent2")),!t||!i)return t&&i||ke.Z.LIST_IGNORE;this.currentFileNum=A.length},deleteFile(e){if("generate"==e.type_.type1||"material"==e.type_.type1)e.jsContent1=this.t("uploadFile.jsContent1",{maxImg:8}),this.store.commit("addGenerateMaterialFils",e);else{let A;this.fileList=this.store.state.UploadFilesModule.printboardFiles,this.store.state.UploadFilesModule.printboardFiles.forEach(((t,i)=>{t.id_==e.id_&&(A=i)})),this.fileList.splice(A,1),this.store.commit("setPrintboardFile",this.fileList)}},likeFile(e,A){if("like"==A){let A={generateDetailId:e.id,level1Type:"Printboard",level2Type:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};Ie.V.axiosPost(Ie.V.httpUrls.generateLike,A).then((A=>{e.like=!0})).catch((e=>{}))}else{let A={generateDetailId:e.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};Ie.V.axiosGet(Ie.V.httpUrls.generateDislike,{params:A}).then((A=>{e.like=!1})).catch((e=>{}))}},customRequest(e){let A={...this.upload,file:e.originFileObj},t=e.uid;Ie.V.axiosPost("/api/element/upload",A,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{if(e){for(let i of this.fileList)t===i.uid&&(i.status="done",i.imgUrl=e.url,i.pin=!1,i.id=e.id,i.resData=e);let A=this.fileList.filter((e=>"done"===e.status));this.store.commit("setPrintboardFile",A)}})).catch((e=>{let A=-1;this.fileList.forEach(((e,i)=>{t===e.uid&&(A=i)})),A>-1&&this.fileList.splice(A,1)}))},closeCropper(e){if(this.isUpload)return;if("error"==e){let e=-1;this.fileList.forEach(((A,t)=>{this.cropperFileData.uid===A.uid&&(e=t)})),e>-1&&this.fileList.splice(e,1)}let A=this.$refs.Cropper;A.closeCropper()},deletUploadFile(){let e=-1;this.fileList.forEach(((A,t)=>{this.cropperFileData.uid===A.uid&&(e=t)})),e>-1&&this.fileList.splice(e,1)},handleCropperSuccess(e){let{file:A,fileData:t}=e,i={...this.upload,file:A};if(this.isUpload)return;this.isUpload=!0;const r=Ee.ZP.loading("loading",0);Ie.V.axiosPost("/api/element/upload",i,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{for(let i of this.fileList)t.uid===i.uid&&(i.status="done",i.imgUrl=e.url,i.id=e.id,i.resData=e);let A=this.fileList.filter((e=>"done"===e.status));this.isUpload=!1,this.closeCropper("success"),this.cropperFileData={name:"",uid:""},this.store.commit("setPrintboardFile",A),r(),(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))})).catch((e=>{let A=-1;this.fileList.forEach(((e,i)=>{t.uid===e.uid&&(A=i)})),A>-1&&this.fileList.splice(A,1),this.cropperFileData={name:"",uid:""},this.isUpload=!1,this.closeCropper("error"),r()}))},recollection(){let e=JSON.parse(JSON.stringify(this.store.state.UploadFilesModule.allBoardData.printboardFiles)),A={generate:[],material:[],moodboard:[]};e.forEach((e=>{"generate"==e.type_.type1?A.generate.push(e):"material"==e.type_.type1?A.material.push(e):A.moodboard.push(e)})),this.store.commit("setPrintboardGenerateFiles",A.generate),this.store.commit("setPrintboardMaterialFiles",A.material),this.store.commit("setPrintboardFile",A.moodboard),this.fileList=A.moodboard,this.store.commit("setPrintboardFile",this.fileList)},confirmSelect(e){for(let A of e){let e={imgUrl:A.url,resData:A,pin:!1,id:A.id,status:"done"};if(15==this.fileList.length){Ee.ZP.warning(this.t("PrintboardUpload.jsContent3"));break}this.fileList.push(e)}this.store.commit("setPrintboardFile",this.fileList)},getgenerateCheckbox(e){this.generateCheckbox=e},ifMaximumLength(){clearTimeout(this.inputTime),this.inputTime=setTimeout((()=>{this.captionGeneration?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},getgenerate(){if(this.isTest)return void Ee.ZP.warning(this.t("isTest.available"));let e=this.$refs.Generate,A=e.checkbox.filter((e=>e.type))[0].name;if("Generate"==e.printModel.num)return void this.generatePrint();let t={generateType:A,designType:"",collectionElementId:e?.collectionElementid,level1Type:e.upload.level1Type,level2Type:"",text:this.captionGeneration,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:e.printModel.num,gender:""};if("image"==A||"text-image"==A){if(!e?.collectionElementid)return void Ee.ZP.info(this.t("PrintboardUpload.jsContent4"))}else if("text"==A){if(t.collectionElementId="",t.level2Type="",!this.captionGeneration)return void Ee.ZP.info(this.t("PrintboardUpload.jsContent6"));{let e=this.captionGeneration.split(/\s+/).length;if(e>75)return void Ee.ZP.info(this.t("PrintboardUpload.jsContent5"))}}this.loadingShow=!0,Ie.V.axiosPost(Ie.V.httpUrls.sketchAndPrintGenerate,t).then((e=>{if(e){let A;this.generateList=[],e.generatedCollectionItems.forEach(((t,i)=>{A={id:t.generateItemId,imgUrl:t.generateItemUrl,id_:De.id++,like:e.generatedCollectionItems[i].isLiked},this.generateList.push(A),this.loadingShow=!1})),(0,n.Y3)().then((()=>{this.driver__.driver&&qe.RX.moveNext()}))}})).catch((e=>{this.loadingShow=!1}))},randomRange(e,A,t){let i=Math.floor(Math.random()*(A-e))+e;while(i===t)i=Math.floor(Math.random()*(A-e))+e;return i},generatePrint(){let e={};if(this.moodBoards.length){let A=this.randomRange(0,this.moodBoards.length,-1),t=-2;if(this.getPinLength)if(1===this.getPinLength)this.printBoards.forEach(((e,A)=>{e.pin&&(t=A)}));else{let e=[];this.printBoards.forEach(((A,t)=>{A.pin&&e.push(t)})),t=this.randomRange(0,e.length,-1)}else t=this.randomRange(0,this.printBoards.length,-1);e={select1Id:this.moodBoards[A].resData.id,select2Id:this.printBoards[t].id}}else{let A=-1,t=-2;if(this.getPinLength)if(1===this.getPinLength)this.printBoards.forEach(((e,t)=>{e.pin&&(A=t)})),t=this.randomRange(0,this.printBoards.length,A);else{let e=[];this.printBoards.forEach(((A,t)=>{A.pin&&e.push(t)})),A=this.randomRange(0,e.length,-1),t=this.randomRange(0,this.printBoards.length,e[A])}else A=this.randomRange(0,this.printBoards.length,-1),t=this.randomRange(0,this.printBoards.length,A);e={select1Id:this.printBoards[A].id,select2Id:this.printBoards[t].id}}e.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.loadingShow=!0,Ie.V.axiosPost(Ie.V.httpUrls.elementGeneratePrint,e).then((e=>{if(e){this.generateList=[];let A={id:e.generateItemId,imgUrl:e.generateItemUrl,id_:De.id++,like:e.isLiked};this.generateList.push(A),this.loadingShow=!1}})).catch((e=>{this.loadingShow=!1}))},generageAdd(e){e.type_={type1:"generate",type2:"Printboard"},e.resData=JSON.parse(JSON.stringify(e)),e.jsContent1=this.t("uploadFile.jsContent1",{maxImg:8}),this.store.commit("addGenerateMaterialFils",e),this.driver__.driver&&qe.RX.moveNext()}}});const Zn=(0,Xe.Z)(zn,[["render",mn],["__scopeId","data-v-4c8347bb"]]);var Wn=Zn;const Yn={class:"colorboard_upload_modal"},Xn={class:"modal_layout"},Jn={class:"modal_text"},$n={class:"modal_img"},qn=["onClick"],er={class:"colorboard_upload_right"},Ar={class:"upload_right_content"},tr={class:"right_content_line"},ir={class:"upload_right_header"},nr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),rr={class:"color_setting_block"},or={class:"right_content_line right_content_line_upload"},sr={class:"upload_right_header"},ar=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),lr={class:"upload_centetn"},cr={class:"upload_item Guide_1_10"},dr={class:"upload_file_item_content"},ur={class:"upload_file_item_content"},hr=["src"],gr=(0,n._)("div",{class:"upload_tip_block"},[(0,n._)("i",{class:"fi fi-rr-picture"})],-1),pr={class:"upload_color"},fr=["onClick"],mr=["title"],Br={class:"right_content_line"},wr={class:"upload_right_header"},vr=(0,n._)("i",{class:"color_edit fi fi-bs-comments"},null,-1),yr={class:"get_color_block"},Cr=(0,n._)("span",{class:"icon iconfont icon-huoquduixiang"},null,-1),br={class:"get_color_des"},_r=["title"];function Qr(e,A,t,i,s,a){const l=(0,n.up)("Chrome"),c=(0,n.up)("a-spin"),d=(0,n.up)("a-upload");return(0,n.wg)(),(0,n.iD)("div",Yn,[(0,n._)("div",Xn,[(0,n._)("div",Jn,[(0,n._)("div",null,(0,r.zw)(e.$t("ColorboardUpload.Thumbnail")),1)]),(0,n._)("div",$n,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.colorList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,r.C_)(["modal_img_item",[1==t?"Guide_1_11_1":"",e.driver__.driver?"showEvents":""]]),key:A},[(0,n._)("div",{onClick:i=>e.selectColorItem(t,A),class:(0,r.C_)(["upload_color",e.selectIndex===t?"select_upload_color":""]),style:(0,r.j5)({background:`rgba(${A?.r},${A?.g},${A?.b},${A?.a})`})},null,14,qn)],2)))),128)),(0,n._)("div",null,[(0,n._)("span",{class:"started_btn",onClick:A[0]||(A[0]=(...A)=>e.clearCurrentColor&&e.clearCurrentColor(...A))},(0,r.zw)(e.$t("ColorboardUpload.Clear")),1)])])]),(0,n._)("div",er,[(0,n._)("div",Ar,[(0,n._)("div",tr,[(0,n._)("div",ir,[nr,(0,n._)("span",null,(0,r.zw)(e.$t("ColorboardUpload.Palette")),1)]),(0,n._)("div",rr,[(0,n.Wm)(l,{class:"chrome_color",modelValue:e.selectColor,"onUpdate:modelValue":A[1]||(A[1]=A=>e.selectColor=A)},null,8,["modelValue"])])]),(0,n._)("div",or,[(0,n._)("div",sr,[ar,(0,n._)("span",null,(0,r.zw)(e.$t("ColorboardUpload.UploadImage")),1)]),(0,n._)("div",lr,[(0,n._)("div",cr,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.fileList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"upload_file_item",key:t},[(0,n.wy)((0,n._)("div",dr,[(0,n.Wm)(c,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[o.F8,"done"!==t.status]]),(0,n.wy)((0,n._)("div",ur,[(0,n._)("img",{src:t?.imgUrl,class:"upload_img",ref_for:!0,ref:"colorImage"},null,8,hr),(0,n._)("div",{class:"delete_file_block",onClick:A[2]||(A[2]=A=>e.deleteFile(e.index))},"Delete")],512),[[o.F8,"done"===t.status]])])))),128)),(0,n.wy)((0,n.Wm)(d,{"list-type":"picture-card",customRequest:function(){},onChange:e.fileUploadChange,"before-upload":e.beforeUpload,accept:".jpg,.png,.jpeg,.bmp"},{default:(0,n.w5)((()=>[gr])),_:1},8,["customRequest","onChange","before-upload"]),[[o.F8,e.fileList.length<1]])]),(0,n._)("div",pr,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.selectColorList,((A,t)=>((0,n.wg)(),(0,n.iD)("div",{key:A,onClick:t=>e.setUplpadColor(A),class:(0,r.C_)(["upload_color_item",[0==t?"Guide_1_11":"",1==t?"Guide_1_11_2":""]])},[(0,n._)("div",{class:"upload_color_item_bg",style:(0,r.j5)({"background-color":`rgba(${A.rgba.r},${A.rgba.g},${A.rgba.b},${A.rgba.a})`})},null,4),(0,n._)("img",{src:"#",title:e.pantongNameList[t]},null,8,mr)],10,fr)))),128))])])]),(0,n._)("div",Br,[(0,n._)("div",wr,[vr,(0,n._)("span",null,(0,r.zw)(e.$t("ColorboardUpload.ColorCode")),1)]),(0,n._)("div",yr,[(0,n.wy)((0,n._)("input",{class:"get_color_input",placeholder:"tcx value (e.g.: 19-4052)","onUpdate:modelValue":A[3]||(A[3]=A=>e.tcxColor=A),onKeydown:A[4]||(A[4]=(0,o.D2)((A=>e.getTcxColor()),["enter"]))},null,544),[[o.nr,e.tcxColor]]),(0,n._)("div",{class:"get_color_button",onClick:A[5]||(A[5]=A=>e.getTcxColor())},[Cr,(0,n._)("span",br,(0,r.zw)(e.$t("ColorboardUpload.ExtractColor")),1)]),(0,n.wy)((0,n._)("div",{class:"get_color_bg",onClick:A[6]||(A[6]=A=>e.setUplpadColor(e.reviewColor)),style:(0,r.j5)({"background-color":`rgba(${e.getSelectRGB(e.reviewColor).r},${e.getSelectRGB(e.reviewColor).g},${e.getSelectRGB(e.reviewColor).b},${e.getSelectRGB(e.reviewColor).a})`})},[(0,n._)("img",{src:"#",title:e.pantongName},null,8,_r)],4),[[o.F8,e.getColorBg]])])])])])])}var Ur=t(1125),Fr=t(6243),xr=t.n(Fr);t(1703);function Er(e,A,t){const i=e,n=[];for(let r,o,s,a,l,c=0;c=125)&&(o>250&&s>250&&a>250||n.push([o,s,a]));return n}function kr(e){let{colorCount:A,quality:t}=e;if("undefined"!==typeof A&&Number.isInteger(A)){if(1===A)throw new Error("colorCount should be between 2 and 20. To get one color, call getColor() instead of getPalette()");A=Math.max(A,2),A=Math.min(A,20)}else A=10;return("undefined"===typeof t||!Number.isInteger(t)||t<1)&&(t=10),{colorCount:A,quality:t}}var Ir={createPixelArray:Er,validateOptions:kr}; /* * Color Thief v2.3.2 * by Lokesh Dhakar - http://www.lokeshdhakar.com diff --git a/dist/js/286.d10724c9.js b/dist/js/286.a3966664.js similarity index 99% rename from dist/js/286.d10724c9.js rename to dist/js/286.a3966664.js index 140da441..b9735c2f 100644 --- a/dist/js/286.d10724c9.js +++ b/dist/js/286.a3966664.js @@ -1,3 +1,3 @@ -"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[286],{9136:function(e,t,o){o.r(t),o.d(t,{default:function(){return Tp}});var i=o(6252),n=o(3577),l=o(9963),a=o.p+"img/null_img.cdd90213.png";const r={class:"library_page"},s={class:"page_content"},c={class:"page_content_body"},u={class:"library_page_body"},d={class:"library_body_left"},p=["onClick"],m={class:"menu_item_left"},h=["onClick"],f={class:"library_body_right"},v={class:"library_right_header"},g={class:"library_header_left"},b={class:"librart_headr_right"},y={class:"select_block"},w=(0,i._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),S=(0,i._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),_={class:"libray_right_content"},k={class:"right_content_body"},x={class:"content_body_header"},C={class:"content_body_header_left"},O={class:"content_body_header_right"},L={class:(0,n.C_)(["header_operate_item","fontSize","active"])},P={class:"content_search_block"},U=["placeholder"],j={class:"search_cascader"},I={class:"intersection"},T=["title"],M=["title"],F=(0,i._)("span",{class:"icon iconfont icon-sousuo"},null,-1),E=[F],N={class:"check_block"},H={class:"check_block_body"},D={class:"content_body_table scroll_style"},B=["onClick"],z={class:"img_item_hover"},R={class:"img_operate_content"},$=["title","onClick"],A=(0,i._)("span",{class:"icon iconfont icon-dianwei operate_icon"},null,-1),V=[A],Z=["title","onClick"],W=(0,i._)("span",{class:"icon iconfont icon-tianxie operate_icon"},null,-1),Y=[W],q=["title","onClick"],K=(0,i._)("span",{class:"icon iconfont icon-shanchu operate_icon"},null,-1),G=[K],J={class:"content_img_name"},X={class:"no_data_block"},Q=(0,i._)("img",{src:a},null,-1),ee=[Q],te={class:"table_pagination"},oe={class:"right_content_body"},ie={class:"content_body_header content_body_header_generate"},ne={class:"content_body_header_right"},le={class:"content_body_header_right"},ae={class:"checkboxItem"},re={class:"checkboxItem"},se={class:"checkboxItem"},ce=["maxlength","readonly","placeholder"],ue={class:"printModel"},de={class:"upload_item"},pe={class:"upload_file_item_content"},me=["onClick"],he=["src"],fe=["onClick"],ve=(0,i._)("span",{class:"icon iconfont icon-shanchu"},null,-1),ge=[ve],be={class:"upload_component upload_file_item"},ye=(0,i._)("div",{class:"upload_tip_block"},[(0,i._)("i",{class:"fi fi-br-upload"})],-1),we={class:"content_body_table scroll_style"},Se={class:"img_item_hover"},_e={class:"img_operate_content"},ke={class:"img_operate_block"},xe=["onClick"],Ce=["onClick"],Oe=(0,i._)("div",{class:"content_img_name"},null,-1),Le={class:"no_data_block"},Pe=(0,i._)("img",{src:a},null,-1),Ue=[Pe],je={class:"table_pagination"},Ie={class:"collection_rename_content"},Te={class:"rename_form_content"},Me=["placeholder"],Fe={class:"rename_button_list"},Ee={class:"mark_loading"};function Ne(e,t,o,a,F,A){const W=(0,i.up)("HeaderComponent"),K=(0,i.up)("a-select"),Q=(0,i.up)("a-upload"),ve=(0,i.up)("el-cascader"),Pe=(0,i.up)("a-pagination"),Ne=(0,i.up)("a-spin"),He=(0,i.up)("a-modal"),De=(0,i.up)("ModelPlacement"),Be=(0,i.up)("ModelPlacementMobile"),ze=(0,i.up)("setLabel"),Re=(0,i.up)("RobotAssist"),$e=(0,i.Q2)("lazy");return(0,i.wg)(),(0,i.iD)("div",r,[(0,i._)("div",s,[(0,i._)("div",c,[(0,i.Wm)(W),(0,i._)("div",u,[(0,i._)("div",d,[(0,i._)("div",null,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.menuList,((t,o)=>((0,i.wg)(),(0,i.iD)("div",{class:"library_menu_list",key:t.title},[(0,i._)("div",{class:(0,n.C_)(["menu_item",e.selectCode==t.code?"select_menu_item":""]),onClick:i=>e.selectMenuItem(t,o)},[(0,i._)("div",m,[(0,i._)("i",{class:(0,n.C_)([t.icon])},null,2),(0,i._)("div",null,(0,n.zw)(t.title),1)]),(0,i.wy)((0,i._)("div",{class:(0,n.C_)(["icon","iconfont","icon-xiala",t.showChildren?"icon_rotate":""])},null,2),[[l.F8,t.children.length]])],10,p),(0,i.wy)((0,i._)("div",null,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(t.children,(t=>((0,i.wg)(),(0,i.iD)("div",{class:(0,n.C_)(["menu_item","child_menu_item",e.selectCode==t.code?"select_menu_item":""]),key:t.title,onClick:i=>e.selectMenuItem(t,o)},(0,n.zw)(t.title),11,h)))),128))],512),[[l.F8,t.showChildren&&t.children.length]])])))),128))])]),(0,i._)("div",f,[(0,i._)("div",v,[(0,i._)("div",g,[(0,i._)("div",{class:(0,n.C_)(["header_operate_item pointer",{operate_select:"Upload"==e.uploadGenerate}]),onClick:t[0]||(t[0]=t=>e.uploadGenerateOpen("Upload"))},[(0,i._)("div",null,(0,n.zw)(e.$t("LibraryPage.Organize")),1)],2),(0,i.wy)((0,i._)("div",{class:(0,n.C_)(["header_operate_item pointer",{operate_select:"Generate"==e.uploadGenerate}]),onClick:t[1]||(t[1]=t=>e.uploadGenerateOpen("Generate"))},(0,n.zw)(e.$t("LibraryPage.Generate")),3),[[l.F8,"Models"!=e.selectCode]])]),(0,i._)("div",b,[(0,i.wy)((0,i._)("div",y,[(0,i.Wm)(K,{ref:"select",value:e.sex.value,"onUpdate:value":t[2]||(t[2]=t=>e.sex.value=t),options:e.sexList,onChange:e.sexChange},{suffixIcon:(0,i.w5)((()=>[w])),_:1},8,["value","options","onChange"]),(0,i.wy)((0,i.Wm)(K,{ref:"select",value:e.designType.value,"onUpdate:value":t[3]||(t[3]=t=>e.designType.value=t),options:e.disignTypeList,onChange:e.handleChange},{suffixIcon:(0,i.w5)((()=>[S])),_:1},8,["value","options","onChange"]),[[l.F8,"Sketchboard"==e.selectCode]])],512),[[l.F8,"Sketchboard"==e.selectCode||"Models"==e.selectCode]])])]),(0,i._)("div",_,[(0,i.wy)((0,i._)("div",k,[(0,i._)("div",x,[(0,i._)("div",C,[(0,i._)("div",O,[(0,i._)("div",L,[(0,i.wy)((0,i.Wm)(Q,{"before-upload":e.beforeUpload,customRequest:e.customRequest,multiple:"Models"!=e.selectCode,maxCount:15,accept:".jpg,.png,.jpeg,.bmp",onChange:e.fileUploadChange},{default:(0,i.w5)((()=>[(0,i._)("div",null,(0,n.zw)(e.$t("LibraryPage.Upload")),1)])),_:1},8,["before-upload","customRequest","multiple","onChange"]),[[l.F8,"Upload"==e.uploadGenerate]])]),(0,i._)("div",{class:(0,n.C_)(["header_operate_item","fontSize",e.selectImgList.length>0?"active":""]),onClick:t[4]||(t[4]=t=>e.deleteBatchPic())},(0,n.zw)(e.$t("LibraryPage.Delete")),3),(0,i._)("div",{class:(0,n.C_)(["header_operate_item","fontSize",e.selectImgList.length>0?"active":""]),onClick:t[5]||(t[5]=t=>e.showRenameModal("","batch"))},(0,n.zw)(e.$t("LibraryPage.Rename")),3)]),(0,i._)("div",P,[(0,i.wy)((0,i._)("input",{class:"search_input",placeholder:e.$t("LibraryPage.inputContent1"),"onUpdate:modelValue":t[6]||(t[6]=t=>e.searchPictureName=t),onKeydown:t[7]||(t[7]=(0,l.D2)((t=>e.getLibraryList()),["enter"]))},null,40,U),[[l.nr,e.searchPictureName]]),(0,i._)("div",j,[(0,i.Wm)(ve,{options:e.options,filterable:"",modelValue:e.value.labelValue,"onUpdate:modelValue":t[8]||(t[8]=t=>e.value.labelValue=t),"collapse-tags":!0,"show-all-levels":!1,clearable:!0,placeholder:e.$t("LibraryPage.Select"),"max-collapse-tags":3,props:e.props,"collapse-tags-tooltip":!0,ref:"cascader","popper-class":"libraryPageCascader",onVisibleChange:e.dropdownVisibleChange},{empty:(0,i.w5)((()=>[(0,i._)("div",null,(0,n.zw)(e.$t("LibraryPage.Select")),1)])),_:1},8,["options","modelValue","placeholder","props","onVisibleChange"])]),(0,i._)("div",I,[(0,i.wy)((0,i._)("div",{title:e.$t("LibraryPage.unionSet"),onClick:t[9]||(t[9]=()=>e.intersection=1),class:(0,n.C_)(["icon","iconfont","icon-bingji"])},null,8,T),[[l.F8,0==e.intersection]]),(0,i.wy)((0,i._)("div",{title:e.$t("LibraryPage.intersection"),onClick:t[10]||(t[10]=()=>e.intersection=0),class:(0,n.C_)(["icon","iconfont","icon-bingji1"])},null,8,M),[[l.F8,1==e.intersection]])]),(0,i._)("div",{class:"generage_btn search_icon_block",onClick:t[11]||(t[11]=t=>e.getLibraryList())},E)])]),(0,i.wy)((0,i._)("div",{class:(0,n.C_)(["check_all_block",e.selectImgList.length==e.imgList.length?"check_all":""]),onClick:t[12]||(t[12]=t=>e.selectAllImg())},[(0,i._)("div",N,[(0,i.wy)((0,i._)("div",H,null,512),[[l.F8,e.selectImgList.length==e.imgList.length&&e.imgList.length]])]),(0,i._)("div",null,(0,n.zw)(e.$t("LibraryPage.all")),1)],2),[[l.F8,e.imgList.length]])]),(0,i._)("div",D,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.imgList,((t,o)=>((0,i.wg)(),(0,i.iD)("div",{class:"content_img_item",key:t.id,onClick:o=>e.selectImgItem(t),draggable:!0},[(0,i._)("div",{class:(0,n.C_)(["content_img_item_block",e.selectImgList.indexOf(t.id)>-1?"select_item_img":""])},[(0,i.wy)(((0,i.wg)(),(0,i.iD)("img",{key:t.url,class:(0,n.C_)(["content_img",["Moodboard","Printboard"].indexOf(e.selectCode)>-1?"board_content_img":""])},null,2)),[[$e,t.url]]),(0,i._)("div",z,[(0,i._)("div",R,[(0,i.wy)((0,i._)("div",{class:"img_operate_block",title:e.t("LibraryPage.Point"),onClick:(0,l.iM)((o=>e.editPlacementClick(t)),["stop"])},V,8,$),[[l.F8,"Models"===e.selectCode]]),(0,i._)("div",{class:"img_operate_block",title:e.t("LibraryPage.Rename"),onClick:(0,l.iM)((o=>e.showRenameModal(t,"single")),["stop"])},Y,8,Z),(0,i._)("div",{class:"img_operate_block",title:e.t("LibraryPage.Delete"),onClick:(0,l.iM)((i=>e.deleteSinglePic(t,o)),["stop"])},G,8,q)])])],2),(0,i._)("div",J,(0,n.zw)(t.name),1)],8,B)))),128)),(0,i.wy)((0,i._)("div",X,ee,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,i.wy)((0,i._)("div",te,[(0,i.Wm)(Pe,{current:e.currentPage,"onUpdate:current":t[13]||(t[13]=t=>e.currentPage=t),pageSize:e.pageSize,"onUpdate:pageSize":t[14]||(t[14]=t=>e.pageSize=t),total:e.total,showQuickJumper:!0,showSizeChanger:!1,onChange:e.changePage},null,8,["current","pageSize","total","onChange"])],512),[[l.F8,e.imgList.length]])],512),[[l.F8,"Upload"==e.uploadGenerate]]),(0,i.wy)((0,i._)("div",oe,[(0,i._)("div",ie,[(0,i._)("div",ne,[(0,i.wy)((0,i._)("div",le,[(0,i._)("div",ae,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=t=>e.checkbox[0].type=t),onClick:t[16]||(t[16]=t=>e.setKeyword(0))},null,512),[[l.e8,e.checkbox[0].type]]),(0,i._)("span",null,(0,n.zw)(e.$t("LibraryPage.ImageOnly")),1)])]),(0,i._)("div",re,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"checkbox","onUpdate:modelValue":t[17]||(t[17]=t=>e.checkbox[1].type=t),onClick:t[18]||(t[18]=t=>e.setKeyword(1))},null,512),[[l.e8,e.checkbox[1].type]]),(0,i._)("span",null,(0,n.zw)(e.$t("LibraryPage.TextOnly")),1)])]),(0,i._)("div",se,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"checkbox","onUpdate:modelValue":t[19]||(t[19]=t=>e.checkbox[2].type=t),onClick:t[20]||(t[20]=t=>e.setKeyword(2))},null,512),[[l.e8,e.checkbox[2].type]]),(0,i._)("span",null,(0,n.zw)(e.$t("LibraryPage.TextImage")),1)])])],512),[[l.F8,"Moodboard"!=e.selectCode]])]),(0,i._)("div",{class:(0,n.C_)(["input_box",{active:e.inputShow}])},[(0,i.wy)((0,i._)("input",{class:(0,n.C_)(["search_input",{active:e.checkbox[0].type}]),onInput:t[21]||(t[21]=(...t)=>e.ifMaximumLength&&e.ifMaximumLength(...t)),maxlength:e.inputShow?0:9999,onKeydown:t[22]||(t[22]=(0,l.D2)(((...t)=>e.getgenerate&&e.getgenerate(...t)),["enter"])),readonly:e.checkbox[0].type,placeholder:e.$t("LibraryPage.inputContent2"),"onUpdate:modelValue":t[23]||(t[23]=t=>e.captionGeneration=t)},null,42,ce),[[l.nr,e.captionGeneration]]),(0,i._)("div",{class:"generage_btn started_btn",onClick:t[24]||(t[24]=(0,l.iM)(((...t)=>e.getgenerate&&e.getgenerate(...t)),["stop"]))},(0,n.zw)(e.$t("LibraryPage.Generate")),1),(0,i._)("span",null,(0,n.zw)(e.$t("LibraryPage.maximumLength")),1)],2),(0,i.wy)((0,i._)("div",ue,[(0,i._)("div",{onClick:t[25]||(t[25]=(0,l.iM)(((...t)=>e.PrintModel&&e.PrintModel(...t)),["stop"]))},(0,n.zw)(e.printModel.name),1),(0,i.wy)((0,i._)("ul",null,[(0,i._)("li",{class:"printModel_item",onClick:t[26]||(t[26]=t=>e.setprintModel(1))},(0,n.zw)(e.$t("LibraryPage.Model1")),1),(0,i._)("li",{class:"printModel_item",onClick:t[27]||(t[27]=t=>e.setprintModel(2))},(0,n.zw)(e.$t("LibraryPage.Model2")),1)],512),[[l.F8,e.printModel.optype]])],512),[[l.F8,"Printboard"==e.selectCode]]),(0,i.wy)((0,i._)("div",de,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.selectGenerateList,((t,o)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,n.C_)(["upload_file_item",[t?.checked?"active":""]]),key:t},[(0,i.wy)((0,i._)("div",pe,[(0,i.Wm)(Ne,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[l.F8,"uploading"===t?.status]]),(0,i.wy)((0,i._)("div",{class:"upload_file_item_content",onClick:(0,l.iM)((o=>e.setSketchboardItem(t)),["stop"])},[(0,i._)("img",{src:t?.imgUrl,class:"upload_img"},null,8,he),(0,i._)("div",{class:"delete_file_block rightTop",onClick:t=>e.deleteFile(o)},ge,8,fe)],8,me),[[l.F8,"done"===t?.status]])],2)))),128)),(0,i.wy)((0,i._)("div",be,[(0,i.Wm)(Q,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card","before-upload":e.beforeUpload,disabled:e.checkbox[1].type,data:{...e.upload},headers:{Authorization:e.token},"file-list":e.selectGenerateList,"onUpdate:file-list":t[28]||(t[28]=t=>e.selectGenerateList=t),multiple:"",accept:".jpg,.png,.jpeg,.bmp",onChange:e.generateFileUploadChange},{default:(0,i.w5)((()=>[ye])),_:1},8,["action","before-upload","disabled","data","headers","file-list","onChange"])],512),[[l.F8,e.selectGenerateList.length<=3]])],512),[[l.F8,"Moodboard"!=e.selectCode]])]),(0,i._)("div",we,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.generateList,((t,o)=>((0,i.wg)(),(0,i.iD)("div",{class:"content_img_item",key:t.id},[(0,i._)("div",{class:(0,n.C_)(["content_img_item_block",e.selectImgList.indexOf(t.id)>-1?"select_item_img":""])},[(0,i.wy)(((0,i.wg)(),(0,i.iD)("img",{key:t.imgUrl,class:(0,n.C_)(["content_img",["Moodboard","Printboard"].indexOf(e.selectCode)>-1?"board_content_img":""])},null,2)),[[$e,t.imgUrl]]),(0,i._)("div",Se,[(0,i._)("div",_e,[(0,i._)("div",ke,[t.like?((0,i.wg)(),(0,i.iD)("i",{key:1,class:"fi fi-sr-heart operate_icon",onClick:(0,l.iM)((o=>e.likeFile(t,"noLike")),["stop"])},null,8,Ce)):((0,i.wg)(),(0,i.iD)("i",{key:0,class:"fi fi-rr-heart operate_icon",onClick:(0,l.iM)((o=>e.likeFile(t,"like")),["stop"])},null,8,xe))])])])],2),Oe])))),128)),(0,i.wy)((0,i._)("div",Le,Ue,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,i.wy)((0,i._)("div",je,null,512),[[l.F8,e.generateList.length]])],512),[[l.F8,"Upload"!=e.uploadGenerate]])])])])])]),(0,i.Wm)(He,{class:"library_rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[34]||(t[34]=t=>e.renameVisivle=t),footer:null,title:e.$t("LibraryPage.Rename"),width:"65%",keyboard:!1,maskClosable:!1,centered:!0,onOnCancel:e.closeRenameModal},{default:(0,i.w5)((()=>[(0,i._)("div",Ie,[(0,i._)("div",Te,[(0,i.wy)((0,i._)("input",{class:"rename_form_input",placeholder:e.$t("LibraryPage.inputContent3"),"onUpdate:modelValue":t[29]||(t[29]=t=>e.newPicName=t),onKeydown:t[30]||(t[30]=(0,l.D2)((t=>e.confrimRename()),["enter"]))},null,40,Me),[[l.nr,e.newPicName]])]),(0,i.Wm)(ve,{options:e.options,filterable:!0,modelValue:e.value.editLabelValue,"onUpdate:modelValue":t[31]||(t[31]=t=>e.value.editLabelValue=t),"collapse-tags":!0,"show-all-levels":!1,placeholder:e.$t("LibraryPage.Select"),clearable:!0,"max-collapse-tags":6,props:e.props,ref:"cascader1","collapse-tags-tooltip":!0,onVisibleChange:e.dropdownVisibleChange1},{empty:(0,i.w5)((()=>[(0,i._)("div",null,(0,n.zw)(e.$t("LibraryPage.Select")),1)])),_:1},8,["options","modelValue","placeholder","props","onVisibleChange"]),(0,i._)("div",Fe,[(0,i._)("div",{class:"rename_button_item rename_cancel_button",onClick:t[32]||(t[32]=t=>e.closeRenameModal())},(0,n.zw)(e.$t("LibraryPage.Cancel")),1),(0,i._)("div",{class:"rename_button_item rename_submit_button",onClick:t[33]||(t[33]=t=>e.confrimRename())},(0,n.zw)(e.$t("LibraryPage.Sure")),1)])])])),_:1},8,["visible","title","onOnCancel"]),(0,i.Wm)(De,{ref:"ModelPlacement",onSubmitModelPlacement:e.getLibraryList},null,8,["onSubmitModelPlacement"]),(0,i.Wm)(Be,{ref:"ModelPlacementMobile",onSubmitModelPlacement:e.getLibraryList},null,8,["onSubmitModelPlacement"]),(0,i.Wm)(ze,{ref:"setLabel"},null,512),(0,i.wy)((0,i._)("div",Ee,[(0,i.Wm)(Ne,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,i.Wm)(Re)])}var He=o(320),De=o(2262),Be=o(7365);const ze={key:0},Re=(0,i._)("span",{class:"icon iconfont icon-guanbi"},null,-1),$e=[Re],Ae={class:"models_placement_body"},Ve={class:"palcement_modal_header"},Ze={class:"models_placement_title"},We={class:"placement_operate_list"},Ye=(0,i._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),qe={class:"operate_item_des"},Ke=(0,i._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),Ge={class:"operate_item_des"},Je=(0,i._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),Xe={class:"operate_item_des"},Qe=(0,i._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),et={class:"operate_item_des"},tt={key:0,class:"plcaement_point_content"},ot={style:{display:"flex","align-items":"center"}},it={style:{display:"flex","align-items":"center"}},nt={style:{display:"flex","align-items":"center"}},lt={class:"models_placement_content"},at={class:"plcaement_point_content"},rt={class:"select_block"},st=(0,i._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),ct={class:"ponit_title"},ut={class:"point_list"},dt=["onMousedown"],pt={class:"placement_point_item placement_point_item_btn"},mt={class:"placement_content_operate_list"},ht=(0,i._)("div",{class:"placement_remove_point_block"},null,-1),ft={class:"placement_content_operate_des"},vt={class:"placement_tip_content"},gt={class:"img_preview_block"},bt={class:"perview_mark_loading"},yt={class:"img_content_block",ref:"imgbox"},wt=["onMousedown"],St={class:"icon iconfont icon-guanbi"},_t=["src"];function kt(e,t,o,a,r,s){const c=(0,i.up)("a-select"),u=(0,i.up)("a-spin"),d=(0,i.up)("vue-cropper"),p=(0,i.up)("a-modal");return e.placementShow?((0,i.wg)(),(0,i.iD)("div",ze,[(0,i.Wm)(p,{class:"models_placement_component",visible:e.placementShow,"onUpdate:visible":t[11]||(t[11]=t=>e.placementShow=t),footer:null,width:"111.5rem",maskClosable:!1,keyboard:!1,centered:!0},{closeIcon:(0,i.w5)((()=>[(0,i._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,l.iM)((t=>e.closeModal()),["stop"]))},$e)])),default:(0,i.w5)((()=>[(0,i._)("div",Ae,[(0,i._)("div",Ve,[(0,i._)("div",Ze,(0,n.zw)(e.$t("ModelPlacement.Registration")),1),(0,i._)("div",We,[(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[Ye,(0,i._)("div",qe,(0,n.zw)(e.$t("ModelPlacement.Submit")),1)],512),[[l.F8,6==e.locationList.length]]),(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[2]||(t[2]=(...t)=>e.printPreview&&e.printPreview(...t))},[Ke,(0,i._)("div",Ge,(0,n.zw)(e.$t("ModelPlacement.Preview")),1)],512),[[l.F8,6==e.locationList.length]]),(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[3]||(t[3]=(...t)=>e.backPreview&&e.backPreview(...t))},[Je,(0,i._)("div",Xe,(0,n.zw)(e.$t("ModelPlacement.Back")),1)],512),[[l.F8,e.perviewUrl]]),(0,i._)("div",{class:"operate_item",onClick:t[4]||(t[4]=(...t)=>e.restoreLocationList&&e.restoreLocationList(...t))},[Qe,(0,i._)("div",et,(0,n.zw)(e.$t("ModelPlacement.Restore")),1)])])]),88==e.userInfo.userId||83==e.userInfo.userId?((0,i.wg)(),(0,i.iD)("div",tt,[(0,i._)("div",ot,[(0,i._)("div",it,[(0,i._)("input",{type:"checkbox",model:"false",onClick:t[5]||(t[5]=()=>{e.modelType="System"})}),(0,i.Uk)(" "+(0,n.zw)(e.$t("ModelPlacement.System")),1)]),(0,i._)("div",nt,[(0,i._)("input",{type:"checkbox",model:"false",onClick:t[6]||(t[6]=()=>{e.modelType="Library"})}),(0,i.Uk)(" "+(0,n.zw)(e.$t("ModelPlacement.Library")),1)])])])):(0,i.kq)("",!0),(0,i._)("div",lt,[(0,i._)("div",at,[(0,i._)("div",rt,[(0,i.Wm)(c,{ref:"select",value:e.sex.name,"onUpdate:value":t[7]||(t[7]=t=>e.sex.name=t),options:e.sexList},{suffixIcon:(0,i.w5)((()=>[st])),_:1},8,["value","options"])]),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.pointList,((t,o)=>((0,i.wg)(),(0,i.iD)("div",{class:"placement_point_item",key:o},[(0,i._)("div",ct,(0,n.zw)(t.title),1),(0,i._)("div",ut,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(t.pointList,(t=>((0,i.wg)(),(0,i.iD)("div",{class:"point_item",key:t.color,style:(0,n.j5)({borderColor:t.color,visibility:t.show?"inherit":"hidden"}),onMousedown:o=>e.AddDian(t)},[(0,i._)("div",{class:"point_block",style:(0,n.j5)({background:t.color})},null,4)],44,dt)))),128))])])))),128)),(0,i._)("div",pt,[(0,i._)("span",{class:"started_btn",onClick:t[8]||(t[8]=(...t)=>e.setPoint&&e.setPoint(...t))},(0,n.zw)(e.$t("ModelPlacement.Point")),1)])]),(0,i._)("div",mt,[(0,i._)("div",{class:"placement_content_operate_item",onClick:t[9]||(t[9]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},[ht,(0,i._)("div",ft,(0,n.zw)(e.$t("ModelPlacement.RemovePoint")),1)])]),(0,i._)("div",vt,(0,n.zw)(e.$t("ModelPlacement.mannequinHint")),1),(0,i._)("div",gt,[(0,i.wy)((0,i._)("div",bt,[(0,i.Wm)(u,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,i._)("div",yt,[(0,i._)("div",{style:(0,n.j5)({width:e.imgBox.width+"px",height:e.imgBox.height+"px",top:e.imgBox.y+"px",left:e.imgBox.x+"px",position:"absolute"})},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.locationList,((o,a)=>(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",{class:(0,n.C_)(["ponit_click",e.isRemoveStatus?"remove_point_click":""]),key:o,style:(0,n.j5)({left:o.left+"px",top:o.top+"px",borderColor:o.color}),onMousedown:t=>e.getMouseDown(t,o,a),onMousemove:t[10]||(t[10]=t=>e.startMove(t))},[(0,i.wy)((0,i._)("div",{class:"placement_add_point_content",style:(0,n.j5)({background:o.color})},null,4),[[l.F8,!e.isRemoveStatus]]),(0,i.wy)((0,i._)("div",St,null,512),[[l.F8,e.isRemoveStatus]])],46,wt)),[[l.F8,!e.perviewUrl]]))),128))],4),(0,i.wy)((0,i.Wm)(d,{ref:"cropper",img:e.option.img,outputSize:e.option.outputSize,outputType:e.option.outputType,info:e.option.info,canScale:e.option.canScale,autoCrop:e.option.autoCrop,fixed:e.option.fixed,fixedNumber:e.option.fixedNumber,full:e.option.full,fixedBox:e.option.fixedBox,canMove:e.option.canMove,canMoveBox:e.option.canMoveBox,original:e.option.original,centerBox:e.option.centerBox,height:e.option.height,infoTrue:e.option.infoTrue,limitMinSize:e.option.limitMinSize,enlarge:e.option.enlarge,onRealTime:e.realTime,autoCropArea:1,autoCropHeight:e.option.autoCropHeight,autoCropWidth:e.option.autoCropWidth,mode:e.option.mode},null,8,["img","outputSize","outputType","info","canScale","autoCrop","fixed","fixedNumber","full","fixedBox","canMove","canMoveBox","original","centerBox","height","infoTrue","limitMinSize","enlarge","onRealTime","autoCropHeight","autoCropWidth","mode"]),[[l.F8,!e.perviewUrl]]),(0,i.wy)((0,i._)("img",{class:"placement_img",src:e.perviewUrl||e.printObject?.url},null,8,_t),[[l.F8,e.perviewUrl]])],512)])])])])),_:1},8,["visible"])])):(0,i.kq)("",!0)}var xt=o(6214),Ct=o(7332),Ot=o(2339),Lt=o(2323),Pt=o(3907),Ut=o(327),jt=o(8302),It=o(8552),Tt=(0,i.aZ)({components:{VueCropper:Lt.AK},setup(){const e=(0,Pt.oR)();let t=(0,De.iH)([]),o=(0,De.iH)([]),i=(0,De.iH)({}),n=(0,De.iH)({}),l=(0,De.iH)(null),a=(0,De.iH)({}),r=(0,De.iH)([]),s=(0,De.iH)([]),c=(0,De.iH)(!1),u=(0,De.iH)(!1),d=(0,De.iH)(),p=(0,De.iH)({}),m=(0,De.iH)([]),h=(0,De.iH)(),{t:f}=(0,It.QT)();return{store:e,oldLocationList:t,locationList:o,printObject:i,imgBox:n,intObj:l,currentSign:a,oldPointList:r,pointList:s,isSubmit:c,manager:u,userInfo:d,sex:p,sexList:m,cropperTime:h,t:f}},data(){return{placementShow:!1,collectionIndex:0,startDian:!1,moveOriginal:{posX:0,posY:0},isRemoveStatus:!1,placement_sacle:30,perviewUrl:"",isShowMark:!1,modelType:"Library",option:{img:"",outputSize:1,outputType:"png",info:!1,canScale:!0,autoCrop:!0,autoCropWidth:"0",autoCropHeight:"0",fixed:!0,fixedBox:!0,fixedNumber:[1,2.125],full:!1,canMove:!0,canMoveBox:!1,original:!1,centerBox:!1,height:!0,infoTrue:!0,maxImgSize:"2000",enlarge:7,mode:"auto 90%",limitMinSize:"100%",imgLoad:()=>{}}}},mounted(){let e=(0,Ot.ej)("userInfo");this.userInfo=JSON.parse(e),this.getSex()},methods:{formatter(e){return`${e}%`},showPlacementModal(e,t){this.sex=t,this.placementShow=!0,this.printObject={...e},this.option.img=this.printObject.url,setTimeout((()=>{(0,i.Y3)().then((()=>{let e=new Image;e.src=this.option.img;let t=this.$refs.imgbox,o=t.getElementsByClassName("cropper-crop-box")[0],i=t.getElementsByClassName("cropper-view-box")[0],n=document.createElement("div"),l=document.createElement("div"),a=document.createElement("div");t.getElementsByClassName("cropper-view-box-Bg").length>=1||(n.classList.add("cropper-view-box-Bg"),l.classList.add("cropper-view-box-Bg"),a.classList.add("cropper-view-box-Bg"),n.classList.add("cropper-view-box-Top"),l.classList.add("cropper-view-box-Bottom"),a.classList.add("cropper-view-box-Center"),i.appendChild(n),i.appendChild(l),i.appendChild(a)),o.addEventListener("mousemove",this.startMove),this.setImageSize()}))}),800)},setCropperWH(){let e=this.$refs.cropper;e.h==e.cropH?(e.cropH=e.scale*e.trueHeight,e.cropW=e.cropH/2.125,e.cropOffsertX=e.getImgAxis().x1+(e.scale*e.trueWidth/2-e.cropW/2),e.cropOffsertY=e.getImgAxis().y1):this.getDefaultPointList(this.imgBox," ")},realTime(e){clearTimeout(this.cropperTime),this.cropperTime=setTimeout((()=>{this.setImageSize()}),100)},setImageSize(){this.setCropperWH();let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")[0],o=(t.getBoundingClientRect(),e.getBoundingClientRect()),i=this.$refs.cropper;this.imgBox={width:i.cropW,height:i.cropH,left:o.left,top:o.top,scrollTop:t.scrollTop||0,x:i.getCropAxis().x1,y:i.getCropAxis().y1}},getSex(){xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{t.push({value:e.name,label:e.value})})),this.sexList=t}}))},setMove(){},getDefaultPointList(e,t){this.isSubmit=!1,this.locationList=[],this.pointList=[{title:this.t("ModelPlacement.SHOULDER"),pointList:[{type:"shoulderLeft",color:"#6E70FF",show:!0,field:"shoulder"},{type:"shoulderRight",color:"#6E70FF",show:!0,field:"shoulder"}]},{title:this.t("ModelPlacement.WAISTBAND"),pointList:[{type:"waistbandLeft",color:"#6FCEFF",show:!0,field:"waistband"},{type:"waistbandRight",color:"#6FCEFF",show:!0,field:"waistband"}]},{title:this.t("ModelPlacement.HAND"),pointList:[{type:"handLeft",color:"#d88e8e",show:!0,field:"hand"},{type:"handRight",color:"#d88e8e",show:!0,field:"hand"}]}];for(let o of this.pointList)for(let t of o.pointList)if(this.printObject[t.type]?.length){t.show=!1;let o={left:this.printObject[t.type][0]*e.width-12,top:this.printObject[t.type][1]*e.height-12,color:t.color,type:t.type,field:t.field};this.locationList.push(o)}"setPoint"!=t?(this.isSubmit=!0,this.oldLocationList=JSON.parse(JSON.stringify(this.locationList)),this.oldPointList=JSON.parse(JSON.stringify(this.pointList))):(this.option.canScale=!0,this.option.canMove=!0)},setPoint(){let e=this.printObject.file,t=this.printObject.url;this.printObject={shoulderLeft:[.3338,.1858],shoulderRight:[.6644,.1858],waistbandLeft:[.3758,.364],waistbandRight:[.6103,.364],handLeft:[.3277,.4687],handRight:[.6764,.4715],file:e,url:t},this.getDefaultPointList(this.imgBox,"setPoint")},AddDian(e){e.show&&(this.startDian=!0,this.isRemoveStatus=!1,this.intObj=e)},changeRemoveStatus(){this.isRemoveStatus=!0},startMove(e){if(this.isRemoveStatus)return;let t=this.$refs.imgbox,o=t.getElementsByClassName("cropper-crop-box")[0],i=o.scrollTop;this.intObj?(this.currentSign.left=e.clientX-this.imgBox.left,this.currentSign.top=e.clientY+i-this.imgBox.top,this.currentSign.color=this.intObj.color,this.currentSign.type=this.intObj.type,this.currentSign.field=this.intObj.field,this.locationList.push(this.currentSign),this.intObj.show=!1,this.intObj=null):this.startDian&&(this.currentSign.left=e.clientX-this.imgBox.left-this.imgBox.x-this.moveOriginal.posX-12,this.currentSign.top=e.clientY+i-this.imgBox.top-this.imgBox.y-this.moveOriginal.posY-12,document.addEventListener("mouseup",this.getMouseOver),this.$forceUpdate(),this.setBoundarySign())},setBoundarySign(){let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")[0],o=this.$refs.cropper.getCropAxis().y1,i=this.$refs.cropper.getCropAxis().x1,n=t.offsetHeight,l=n-24,a=t.clientWidth-24;this.currentSign.top+o<=0?this.currentSign.top=0:this.currentSign.top>=l+o&&(this.currentSign.top=l+o),this.currentSign.left+i<=0?this.currentSign.left=0:this.currentSign.left>=a+i&&(this.currentSign.left=a+i)},getMouseDown(e,t,o){if(this.isRemoveStatus){for(let e of this.pointList)for(let o of e.pointList)if(t.type==o.type){o.show=!0;break}this.locationList.splice(o,1)}else this.currentSign=t,this.moveOriginal.posX=0,this.moveOriginal.posY=0,this.startDian=!0},getMouseOver(){this.startDian=!1,this.currentSign={},document.removeEventListener("mouseup",this.getMouseOver)},closeModal(){let e=this;this.isSubmit?(e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""):Ut.Z.confirm({title:this.t("ModelPlacement.jsContent1"),icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,centered:!0,onOk(){e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""}})},restoreLocationList(){this.locationList=[],this.pointList=JSON.parse(JSON.stringify(this.oldPointList)),this.locationList=JSON.parse(JSON.stringify(this.oldLocationList))},submitPlacement(){let e=this.$refs.cropper;"System"==this.modelType&&88==this.userInfo.userId||"System"==this.modelType&&83==this.userInfo.userId?this.printObject.templateId?(this.printObject.id=this.printObject.relationId,this.confrimSubmit()):this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1})):e.getCropData((async e=>{if(this.printObject.templateId)this.printObject.id=this.printObject.relationId,this.confrimSubmit();else{let t=(0,Ct._x)(e,this.printObject.file.name);t.uid=this.printObject.file.uid,this.printObject.file=t,this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1}))}}))},confrimSubmit(){let e={libraryId:this.printObject.id,templateId:this.printObject.templateId||null,modelType:"Library",modelSex:this.sex.value,checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()};88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType),this.isShowMark=!0,xt.V.axiosPost(xt.V.httpUrls.saveOrEditTemplatePoint,e).then((e=>{this.isShowMark=!1,this.isSubmit=!0,this.$emit("submitModelPlacement"),this.closeModal()})).catch((e=>{this.isShowMark=!1}))},customRequest(){let e={file:this.printObject.file,level1Type:"Models",level2Type:"",checkMd5:1,sex:this.sex.value,modelType:"Library",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};return 88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType),this.isShowMark=!0,new Promise(((t,o)=>{xt.V.axiosPost(xt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((o=>{o.checkMd5?t(o):t(this.affirmCstomRequest(e))})).catch((e=>{o(e)}))}))},affirmCstomRequest(e){let t=this;return new Promise(((o,n)=>{Ut.Z.confirm({title:this.t("ModelPlacement.jsContent2"),icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",centered:!0,mask:!1,onOk(){e.checkMd5=0,xt.V.axiosPost(xt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{t.isShowMark=!1,o(e)})).catch((e=>{n(e)}))},onCancel(){t.isShowMark=!1}})}))},getPrintLocation(){let{width:e,height:t}=this.imgBox,o={},i={},n=JSON.parse(JSON.stringify(this.locationList));for(let l of n)o[l.field]=o[l.field]||[],o[l.field].push(l);for(let l in o)o[l].sort(this.sortBy("left")),o[l].forEach(((o,n)=>{o.type=n?o.field+"Right":o.field+"Left",o.left=((o.left+12)/e).toFixed(4),o.top=((o.top+12)/t).toFixed(4),i[o.type]=[o.left,o.top]}));return i},sortBy(e){return function(t,o){return t[e]-o[e]}},async printPreview(){let e=this.printObject.templateId?null:this.printObject.file,t={libraryId:this.printObject.relationId||null,templateId:this.printObject.templateId||null,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()},o=this.$refs.cropper;await o.getCropData((o=>{e=(0,Ct._x)(o,this.printObject.name),e.uid=this.printObject.file?.uid?this.printObject.file.uid:"";let i=new FormData;i.append("file",e),i.append("models",new Blob([JSON.stringify(t)],{type:"application/json"})),this.isShowMark||(this.isShowMark=!0,xt.V.axiosPost(xt.V.httpUrls.libraryModelsDot,i,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{this.perviewUrl=e,this.isShowMark=!1})).catch((e=>{this.isShowMark=!1})))}))},backPreview(){this.perviewUrl=""}}}),Mt=o(3744);const Ft=(0,Mt.Z)(Tt,[["render",kt]]);var Et=Ft;const Nt={class:"setLabel_centent"},Ht={class:"optionsItem"},Dt=["title"],Bt=["onClick"],zt=["onClick"],Rt={class:"childrenItem active"},$t=["title"],At=["onClick"],Vt=["onClick"],Zt={class:"newLabel setLabel_text"},Wt=["onClick"],Yt=["onClick"],qt={class:"newLabel setLabel_text optionsItem_title"};function Kt(e,t,o,a,r,s){const c=(0,i.up)("a-checkbox"),u=(0,i.up)("a-modal"),d=(0,i.Q2)("mousewheel");return(0,i.wg)(),(0,i.j4)(u,{class:"library_setLabel",visible:e.setLabelShow,"onUpdate:visible":t[8]||(t[8]=t=>e.setLabelShow=t),footer:null,title:e.$t("setLabel.EditTag"),width:"65%",maskClosable:!1,keyboard:!1,centered:!0,onCancel:e.clearSetLabel},{default:(0,i.w5)((()=>[(0,i._)("div",Nt,[(0,i._)("ul",Ht,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.options,((o,a)=>((0,i.wg)(),(0,i.iD)("li",{class:"optionsItem_title",onClick:t[3]||(t[3]=(0,l.iM)((()=>{}),["stop"])),key:o.id},[(0,i._)("div",{class:(0,n.C_)(["setLabel_text",{active:o.checkAll}])},[(0,i.Wm)(c,{checked:o.checkAll,"onUpdate:checked":e=>o.checkAll=e,onChange:t=>e.onCheckAllChange(o)},null,8,["checked","onUpdate:checked","onChange"]),(0,i.wy)((0,i._)("span",{title:o.classificationName},(0,n.zw)(o.classificationName),9,Dt),[[l.F8,!o.openType]]),(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=t=>e.itemName=t)},null,512),[[l.F8,o.openType],[l.nr,e.itemName]]),(0,i.wy)((0,i._)("i",{onClick:(0,l.iM)((t=>e.putName(a,"affirm",o)),["stop"]),class:"fi fi-br-check"},null,8,Bt),[[l.F8,o.openType]]),(0,i.wy)((0,i._)("i",{onClick:(0,l.iM)((t=>e.putName(a,"put",o)),["stop"]),class:"fi fi-rr-edit"},null,8,zt),[[l.F8,!o.openType]])],2),(0,i.wy)(((0,i.wg)(),(0,i.iD)("ul",Rt,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(o.childList,((a,r)=>((0,i.wg)(),(0,i.iD)("li",{class:(0,n.C_)(["childrenItem_title setLabel_text",{active:a.checkAll}]),key:a.id},[(0,i.Wm)(c,{checked:a.checkAll,"onUpdate:checked":e=>a.checkAll=e,onChange:t=>e.onCheckAllchildrenItem(o)},null,8,["checked","onUpdate:checked","onChange"]),(0,i.wy)((0,i._)("span",{title:a.classificationName},(0,n.zw)(a.classificationName),9,$t),[[l.F8,!a.openType]]),(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=t=>e.itemName=t)},null,512),[[l.F8,a.openType],[l.nr,e.itemName]]),(0,i.wy)((0,i._)("i",{onClick:(0,l.iM)((t=>e.putName(r,"affirm",a)),["stop"]),class:"fi fi-br-check"},null,8,At),[[l.F8,a.openType]]),(0,i.wy)((0,i._)("i",{onClick:(0,l.iM)((t=>e.putName(r,"put",a)),["stop"]),class:"fi fi-rr-edit"},null,8,Vt),[[l.F8,!a.openType]])],2)))),128)),(0,i._)("li",Zt,[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=t=>e.itemName=t)},null,512),[[l.F8,o.addOpenType],[l.nr,e.itemName]]),(0,i.wy)((0,i._)("i",{onClick:(0,l.iM)((t=>e.putName(-1,"affirm",o)),["stop"]),class:"fi fi-br-check"},null,8,Wt),[[l.F8,o.addOpenType]]),(0,i.wy)((0,i._)("div",{class:"addLabel",onClick:t=>e.newLabel(o,o.id)},"+",8,Yt),[[l.F8,!o.addOpenType]])])])),[[d]])])))),128)),(0,i._)("li",qt,[(0,i._)("div",null,[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[4]||(t[4]=t=>e.itemName=t)},null,512),[[l.F8,e.openType],[l.nr,e.itemName]]),(0,i.wy)((0,i._)("i",{onClick:t[5]||(t[5]=(0,l.iM)((t=>e.putName(-1,"affirm","")),["stop"])),class:"fi fi-br-check"},null,512),[[l.F8,e.openType]]),(0,i.wy)((0,i._)("div",{class:"addLabel",onClick:t[6]||(t[6]=t=>e.newLabel("",""))},"+",512),[[l.F8,!e.openType]])]),(0,i._)("div",{class:"started_btn",onClick:t[7]||(t[7]=t=>e.removeLabel(e.options))},"Delete")])])])])),_:1},8,["visible","title","onCancel"])}var Gt=o(1446),Jt=(0,i.aZ)({components:{VueCropper:Lt.AK},setup(){let e=(0,De.iH)(!1),t=(0,De.iH)(!0),o=(0,De.iH)([]),n=(0,i.f3)("type"),l=(0,De.iH)([]),a=(0,De.iH)(!1),r=(0,De.iH)(""),{t:s}=(0,It.QT)();return{multiple:e,indeterminate:t,value:(0,De.iH)([]),options:o,checkedList:l,openType:a,type:n,itemName:r,t:s}},data(){return{setLabelShow:!1}},mounted(){},watch:{},directives:{mousewheel:{mounted(e){let t=document.getElementsByClassName("setLabel_centent")[0];(0,i.Y3)().then((()=>{let o=document.getElementsByClassName("childrenItem"),i=e=>{e.stopPropagation(),t.classList.add("active")},n=e=>{e.stopPropagation(),t.classList.remove("active")};for(let e=0;e{let o=0;o=t.deltaY>0?25:-25,e.scrollBy(o,0)}),!0)}))}}},methods:{init(e,t){this.setLabelShow=!0,this.multiple="add"!==e,this.clearOpenType(),this.options=t},clearSetLabel(){this.clearOpenType();let e=this.$parent;e.getClass()},onCheckAllChange(e){e?.childList&&e?.childList.forEach((t=>{t.checkAll=e.checkAll}))},onCheckAllchildrenItem(e){let t=e?.childList.every((e=>e.checkAll));e.checkAll=!!t},clearOpenType(){this.options.forEach((e=>{e.openType=!1,e.addOpenType=!1,e?.childList&&e?.childList?.forEach((e=>{e.openType=!1}))})),this.openType=!1},putName(e,t,o){let i;if("put"==t)this.clearOpenType(),document.addEventListener("click",this.clearOpenType),o.openType=!0,this.itemName=o.classificationName;else if("affirm"==t){if(-1==e){if(""==this.itemName)return void Gt.ZP.warning(this.t("setLabel.jsContent1"));o?(o.addOpenType=!1,i={classificationName:this.itemName,parentId:o.id}):(this.openType=!1,i={classificationName:this.itemName,parentId:""})}else i={id:o.id,classificationName:this.itemName},o.classificationName=this.itemName,o.openType=!1;this.addLabel(i),document.removeEventListener("click",this.clearOpenType)}},newLabel(e,t){this.itemName="",this.clearOpenType(),e?e.addOpenType=!0:this.openType=!0},removeLabel(e){let t={classificationIdList:[],deleteConfirm:0},o=[];this.clearOpenType(),e.forEach((e=>{e.checkAll?o.push(e.id):e.childList&&e.childList.forEach((e=>{e.checkAll&&o.push(e.id)}))})),t.classificationIdList=o,this.deleteClass(t)},addLabel(e){let t=this.setLabelData();e.parentId&&(t.parentId=e.parentId),e.id&&(t.id=e.id),t.classificationName=e.classificationName,xt.V.axiosPost(xt.V.httpUrls.saveOrUpdate,t).then((e=>{this.getClass()})).catch((e=>{this.getClass()}))},deleteClass(e){xt.V.axiosPost(xt.V.httpUrls.classificationDelete,e).then((e=>{this.getClass()})).catch((t=>{if(2===t.errCode){let o=this;Ut.Z.confirm({title:t.errMsg,icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,centered:!0,onOk(){e.deleteConfirm=1,o.deleteClass(e)},onCancel(){}})}}))},getClass(){let e=this.setLabelData();xt.V.axiosPost(xt.V.httpUrls.queryClassification,e).then((e=>{this.options=e})).catch((e=>{}))},setLabelData(){let e={classificationIdList:[],classificationName:"123221",createTime:"",deleteConfirm:"",id:"",libraryId:"",parentId:"",type:this.type?.selectCode._value,updateTime:"",userId:""};return e}}});const Xt=(0,Mt.Z)(Jt,[["render",Kt]]);var Qt=Xt;const eo={key:0},to=(0,i._)("span",{class:"icon iconfont icon-guanbi"},null,-1),oo=[to],io={class:"models_placement_body"},no={class:"palcement_modal_header"},lo={class:"models_placement_title"},ao={class:"placement_operate_list"},ro=(0,i._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),so={class:"operate_item_des"},co=(0,i._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),uo={class:"operate_item_des"},po=(0,i._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),mo={class:"operate_item_des"},ho=(0,i._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),fo={class:"operate_item_des"},vo={key:0,class:"plcaement_point_content"},go={style:{display:"flex","align-items":"center"}},bo={style:{display:"flex","align-items":"center"}},yo={style:{display:"flex","align-items":"center"}},wo={class:"models_placement_content"},So={class:"plcaement_point_content"},_o={class:"select_block"},ko=(0,i._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),xo={class:"ponit_title"},Co={class:"point_list"},Oo=["onTouchstart"],Lo={class:"placement_point_item placement_point_item_btn"},Po={class:"placement_content_operate_list"},Uo=(0,i._)("div",{class:"placement_remove_point_block"},null,-1),jo={class:"placement_content_operate_des"},Io={class:"placement_tip_content"},To={class:"img_preview_block"},Mo={class:"perview_mark_loading"},Fo={class:"img_content_block",ref:"imgbox"},Eo=["onTouchstart"],No={class:"icon iconfont icon-guanbi"},Ho=["src"];function Do(e,t,o,a,r,s){const c=(0,i.up)("a-select"),u=(0,i.up)("a-spin"),d=(0,i.up)("vue-cropper"),p=(0,i.up)("a-modal");return e.placementShow?((0,i.wg)(),(0,i.iD)("div",eo,[(0,i.Wm)(p,{class:"models_placement_component",visible:e.placementShow,"onUpdate:visible":t[12]||(t[12]=t=>e.placementShow=t),footer:null,width:"111.5rem",maskClosable:!1,keyboard:!1,centered:!0},{closeIcon:(0,i.w5)((()=>[(0,i._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,l.iM)((t=>e.closeModal()),["stop"]))},oo)])),default:(0,i.w5)((()=>[(0,i._)("div",io,[(0,i._)("div",no,[(0,i._)("div",lo,(0,n.zw)(e.$t("ModelPlacement.Registration")),1),(0,i._)("div",ao,[(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[ro,(0,i._)("div",so,(0,n.zw)(e.$t("ModelPlacement.Submit")),1)],512),[[l.F8,6==e.locationList.length]]),(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[2]||(t[2]=(...t)=>e.printPreview&&e.printPreview(...t))},[co,(0,i._)("div",uo,(0,n.zw)(e.$t("ModelPlacement.Preview")),1)],512),[[l.F8,6==e.locationList.length]]),(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[3]||(t[3]=(...t)=>e.backPreview&&e.backPreview(...t))},[po,(0,i._)("div",mo,(0,n.zw)(e.$t("ModelPlacement.Back")),1)],512),[[l.F8,e.perviewUrl]]),(0,i._)("div",{class:"operate_item",onClick:t[4]||(t[4]=(...t)=>e.restoreLocationList&&e.restoreLocationList(...t))},[ho,(0,i._)("div",fo,(0,n.zw)(e.$t("ModelPlacement.Restore")),1)])])]),88==e.userInfo.userId||83==e.userInfo.userId?((0,i.wg)(),(0,i.iD)("div",vo,[(0,i._)("div",go,[(0,i._)("div",bo,[(0,i._)("input",{type:"checkbox",model:"false",onClick:t[5]||(t[5]=()=>{e.modelType="System"})}),(0,i.Uk)(" "+(0,n.zw)(e.$t("ModelPlacement.System")),1)]),(0,i._)("div",yo,[(0,i._)("input",{type:"checkbox",model:"false",onClick:t[6]||(t[6]=()=>{e.modelType="Library"})}),(0,i.Uk)(" "+(0,n.zw)(e.$t("ModelPlacement.Library")),1)])])])):(0,i.kq)("",!0),(0,i._)("div",wo,[(0,i._)("div",So,[(0,i._)("div",_o,[(0,i.Wm)(c,{ref:"select",value:e.sex.name,"onUpdate:value":t[7]||(t[7]=t=>e.sex.name=t),options:e.sexList},{suffixIcon:(0,i.w5)((()=>[ko])),_:1},8,["value","options"])]),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.pointList,((o,l)=>((0,i.wg)(),(0,i.iD)("div",{class:"placement_point_item",key:l,onTouchmove:t[8]||(t[8]=t=>e.startMove(t))},[(0,i._)("div",xo,(0,n.zw)(o.title),1),(0,i._)("div",Co,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(o.pointList,(t=>((0,i.wg)(),(0,i.iD)("div",{class:"point_item",key:t.color,style:(0,n.j5)({borderColor:t.color,visibility:t.show?"inherit":"hidden"}),onTouchstart:o=>e.AddDian(t)},[(0,i._)("div",{class:"point_block",style:(0,n.j5)({background:t.color})},null,4)],44,Oo)))),128))])],32)))),128)),(0,i._)("div",Lo,[(0,i._)("span",{class:"started_btn",onClick:t[9]||(t[9]=(...t)=>e.setPoint&&e.setPoint(...t))},(0,n.zw)(e.$t("ModelPlacement.Point")),1)])]),(0,i._)("div",Po,[(0,i._)("div",{class:"placement_content_operate_item",onClick:t[10]||(t[10]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},[Uo,(0,i._)("div",jo,(0,n.zw)(e.$t("ModelPlacement.RemovePoint")),1)])]),(0,i._)("div",Io,(0,n.zw)(e.$t("ModelPlacement.mannequinHint")),1),(0,i._)("div",To,[(0,i.wy)((0,i._)("div",Mo,[(0,i.Wm)(u,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,i._)("div",Fo,[(0,i._)("div",{style:(0,n.j5)({width:e.imgBox.width+"px",height:e.imgBox.height+"px",top:e.imgBox.y+"px",left:e.imgBox.x+"px",position:"absolute"})},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.locationList,((o,a)=>(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",{class:(0,n.C_)(["ponit_click",e.isRemoveStatus?"remove_point_click":""]),key:o,style:(0,n.j5)({left:o.left+"px",top:o.top+"px",borderColor:o.color}),onTouchstart:t=>e.getMouseDown(t,o,a),onTouchmove:t[11]||(t[11]=t=>e.startMove(t))},[(0,i.wy)((0,i._)("div",{class:"placement_add_point_content",style:(0,n.j5)({background:o.color})},null,4),[[l.F8,!e.isRemoveStatus]]),(0,i.wy)((0,i._)("div",No,null,512),[[l.F8,e.isRemoveStatus]])],46,Eo)),[[l.F8,!e.perviewUrl]]))),128))],4),(0,i.wy)((0,i.Wm)(d,{ref:"cropper",img:e.option.img,outputSize:e.option.outputSize,outputType:e.option.outputType,info:e.option.info,canScale:e.option.canScale,autoCrop:e.option.autoCrop,fixed:e.option.fixed,fixedNumber:e.option.fixedNumber,full:e.option.full,fixedBox:e.option.fixedBox,canMove:e.option.canMove,canMoveBox:e.option.canMoveBox,original:e.option.original,centerBox:e.option.centerBox,height:e.option.height,infoTrue:e.option.infoTrue,limitMinSize:e.option.limitMinSize,enlarge:e.option.enlarge,onRealTime:e.realTime,autoCropArea:1,autoCropHeight:e.option.autoCropHeight,autoCropWidth:e.option.autoCropWidth,mode:e.option.mode},null,8,["img","outputSize","outputType","info","canScale","autoCrop","fixed","fixedNumber","full","fixedBox","canMove","canMoveBox","original","centerBox","height","infoTrue","limitMinSize","enlarge","onRealTime","autoCropHeight","autoCropWidth","mode"]),[[l.F8,!e.perviewUrl]]),(0,i.wy)((0,i._)("img",{class:"placement_img",src:e.perviewUrl||e.printObject?.url},null,8,Ho),[[l.F8,e.perviewUrl]])],512)])])])])),_:1},8,["visible"])])):(0,i.kq)("",!0)}var Bo=(0,i.aZ)({components:{VueCropper:Lt.AK},setup(){const e=(0,Pt.oR)();let t=(0,De.iH)([]),o=(0,De.iH)([]),i=(0,De.iH)({}),n=(0,De.iH)({}),l=(0,De.iH)(null),a=(0,De.iH)({}),r=(0,De.iH)([]),s=(0,De.iH)([]),c=(0,De.iH)(!1),u=(0,De.iH)(!1),d=(0,De.iH)(),p=(0,De.iH)({}),m=(0,De.iH)([]),h=(0,De.iH)(),f=(0,De.iH)({img:"",outputSize:1,outputType:"png",info:!1,canScale:!0,autoCrop:!0,autoCropWidth:"0",autoCropHeight:"0",fixed:!0,fixedBox:!0,fixedNumber:[1,2.125],full:!1,canMove:!0,canMoveBox:!1,original:!1,centerBox:!1,height:!0,infoTrue:!0,maxImgSize:"2000",enlarge:7,mode:"auto 90%",limitMinSize:"100%",imgLoad:()=>{}}),{t:v}=(0,It.QT)();return{store:e,oldLocationList:t,locationList:o,printObject:i,imgBox:n,intObj:l,currentSign:a,oldPointList:r,pointList:s,isSubmit:c,manager:u,userInfo:d,sex:p,sexList:m,cropperTime:h,option:f,t:v}},data(){return{placementShow:!1,collectionIndex:0,startDian:!1,moveOriginal:{posX:0,posY:0},isRemoveStatus:!1,placement_sacle:30,perviewUrl:"",isShowMark:!1,modelType:"Library"}},mounted(){let e=(0,Ot.ej)("userInfo");this.userInfo=JSON.parse(e),this.getSex(),this.option.imgLoad=()=>{this.setImageSize()}},methods:{formatter(e){return`${e}%`},showPlacementModal(e,t){this.sex=t,this.placementShow=!0,this.printObject={...e},this.option.img=this.printObject.url,setTimeout((()=>{(0,i.Y3)().then((()=>{let e=new Image;e.src=this.option.img;let t=this.$refs.imgbox,o=t.getElementsByClassName("cropper-crop-box")[0],i=t.getElementsByClassName("cropper-view-box")[0],n=document.createElement("div"),l=document.createElement("div"),a=document.createElement("div");t.getElementsByClassName("cropper-view-box-Bg").length>=1||(n.classList.add("cropper-view-box-Bg"),l.classList.add("cropper-view-box-Bg"),a.classList.add("cropper-view-box-Bg"),n.classList.add("cropper-view-box-Top"),l.classList.add("cropper-view-box-Bottom"),a.classList.add("cropper-view-box-Center"),i.appendChild(n),i.appendChild(l),i.appendChild(a)),o.addEventListener("touchmove",this.startMove),this.setImageSize()}))}),800)},setCropperWH(){let e=this.$refs.cropper;e.h==e.cropH?(e.cropH=e.scale*e.trueHeight,e.cropW=e.cropH/2.125,e.cropOffsertX=e.getImgAxis().x1+(e.scale*e.trueWidth/2-e.cropW/2),e.cropOffsertY=e.getImgAxis().y1):this.getDefaultPointList(this.imgBox," ")},realTime(e){clearTimeout(this.cropperTime),this.cropperTime=setTimeout((()=>{this.setImageSize()}),100)},setImageSize(){this.setCropperWH();let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")?.[0],o=t.getBoundingClientRect(),i=(e.getBoundingClientRect(),this.$refs.cropper);this.imgBox={width:i.cropW,height:i.cropH,left:o.left,top:o.top,scrollTop:t.scrollTop||0,x:i.getCropAxis().x1,y:i.getCropAxis().y1}},getSex(){xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{t.push({value:e.name,label:e.value})})),this.sexList=t}}))},setMove(){},getDefaultPointList(e,t){this.isSubmit=!1,this.locationList=[],this.pointList=[{title:this.t("ModelPlacement.SHOULDER"),pointList:[{type:"shoulderLeft",color:"#6E70FF",show:!0,field:"shoulder"},{type:"shoulderRight",color:"#6E70FF",show:!0,field:"shoulder"}]},{title:this.t("ModelPlacement.WAISTBAND"),pointList:[{type:"waistbandLeft",color:"#6FCEFF",show:!0,field:"waistband"},{type:"waistbandRight",color:"#6FCEFF",show:!0,field:"waistband"}]},{title:this.t("ModelPlacement.HAND"),pointList:[{type:"handLeft",color:"#d88e8e",show:!0,field:"hand"},{type:"handRight",color:"#d88e8e",show:!0,field:"hand"}]}];for(let o of this.pointList)for(let t of o.pointList)if(this.printObject[t.type]?.length){t.show=!1;let o={left:this.printObject[t.type][0]*e.width-12,top:this.printObject[t.type][1]*e.height-12,color:t.color,type:t.type,field:t.field};this.locationList.push(o)}"setPoint"!=t?(this.isSubmit=!0,this.oldLocationList=JSON.parse(JSON.stringify(this.locationList)),this.oldPointList=JSON.parse(JSON.stringify(this.pointList))):(this.option.canScale=!0,this.option.canMove=!0)},setPoint(){let e=this.printObject.file,t=this.printObject.url;this.printObject={shoulderLeft:[.3338,.1858],shoulderRight:[.6644,.1858],waistbandLeft:[.3758,.364],waistbandRight:[.6103,.364],handLeft:[.3277,.4687],handRight:[.6764,.4715],file:e,url:t},this.getDefaultPointList(this.imgBox,"setPoint")},AddDian(e){e.show&&(this.startDian=!0,this.isRemoveStatus=!1,this.intObj=e)},changeRemoveStatus(){this.isRemoveStatus=!0},startMove(e){if(this.isRemoveStatus)return;let t=this.$refs.imgbox,o=t.scrollTop;e.targetTouches[0].pageX>this.imgBox.left&&(this.intObj?(this.currentSign.left=e.targetTouches[0].pageX-this.imgBox.left,this.currentSign.top=e.targetTouches[0].pageY+o-this.imgBox.top,this.currentSign.color=this.intObj.color,this.currentSign.type=this.intObj.type,this.currentSign.field=this.intObj.field,this.locationList.push(this.currentSign),this.intObj.show=!1,this.intObj=null):this.startDian&&(this.currentSign.left=e.targetTouches[0].pageX-this.imgBox.left-12,this.currentSign.top=e.targetTouches[0].pageY+o-this.imgBox.top-12,document.addEventListener("touchend",this.getMouseOver),this.$forceUpdate(),this.setBoundarySign()))},setBoundarySign(){let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")[0],o=this.$refs.cropper.getCropAxis().y1,i=this.$refs.cropper.getCropAxis().x1,n=t.offsetHeight,l=n-24,a=t.clientWidth-24;this.currentSign.top+o<=0?this.currentSign.top=0:this.currentSign.top>=l+o&&(this.currentSign.top=l+o),this.currentSign.left+i<=0?this.currentSign.left=0:this.currentSign.left>=a+i&&(this.currentSign.left=a+i)},getMouseDown(e,t,o){if(this.isRemoveStatus){for(let e of this.pointList)for(let o of e.pointList)if(t.type==o.type){o.show=!0;break}this.locationList.splice(o,1)}else this.currentSign=t,this.moveOriginal.posX=e.targetTouches[0].pageX-this.imgBox.left-this.currentSign.left,this.moveOriginal.posY=e.targetTouches[0].pageY-this.imgBox.top-this.currentSign.top,this.startDian=!0},getMouseOver(){this.startDian=!1,this.currentSign={},document.removeEventListener("touchend",this.getMouseOver)},closeModal(){let e=this;this.isSubmit?(e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""):Ut.Z.confirm({title:this.t("ModelPlacement.jsContent1"),icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,centered:!0,onOk(){e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""}})},restoreLocationList(){this.locationList=[],this.pointList=JSON.parse(JSON.stringify(this.oldPointList)),this.locationList=JSON.parse(JSON.stringify(this.oldLocationList))},submitPlacement(){let e=this.$refs.cropper;"System"==this.modelType&&88==this.userInfo.userId||"System"==this.modelType&&83==this.userInfo.userId?this.printObject.templateId?(this.printObject.id=this.printObject.relationId,this.confrimSubmit()):this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1})):e.getCropData((async e=>{if(this.printObject.templateId)this.printObject.id=this.printObject.relationId,this.confrimSubmit();else{let t=(0,Ct._x)(e,this.printObject.file.name);t.uid=this.printObject.file.uid,this.printObject.file=t,this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1}))}}))},confrimSubmit(){let e={libraryId:this.printObject.id,templateId:this.printObject.templateId||null,modelType:"Library",modelSex:this.sex.value,checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()};88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType),this.isShowMark=!0,xt.V.axiosPost(xt.V.httpUrls.saveOrEditTemplatePoint,e).then((e=>{this.isShowMark=!1,this.isSubmit=!0,this.$emit("submitModelPlacement"),this.closeModal()})).catch((e=>{this.isShowMark=!1}))},customRequest(){let e={file:this.printObject.file,level1Type:"Models",level2Type:"",checkMd5:1,sex:this.sex.value,modelType:"Library",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};return 88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType,e.sex=this.sex),this.isShowMark=!0,new Promise(((t,o)=>{xt.V.axiosPost(xt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((o=>{o.checkMd5?t(o):t(this.affirmCstomRequest(e))})).catch((e=>{o(e)}))}))},affirmCstomRequest(e){let t=this;return new Promise(((o,n)=>{Ut.Z.confirm({title:this.t("ModelPlacement.jsContent2"),icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",centered:!0,mask:!1,onOk(){e.checkMd5=0,xt.V.axiosPost(xt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{t.isShowMark=!1,o(e)})).catch((e=>{n(e)}))},onCancel(){t.isShowMark=!1}})}))},getPrintLocation(){let{width:e,height:t}=this.imgBox,o={},i={},n=JSON.parse(JSON.stringify(this.locationList));for(let l of n)o[l.field]=o[l.field]||[],o[l.field].push(l);for(let l in o)o[l].sort(this.sortBy("left")),o[l].forEach(((o,n)=>{o.type=n?o.field+"Right":o.field+"Left",o.left=((o.left+12)/e).toFixed(4),o.top=((o.top+12)/t).toFixed(4),i[o.type]=[o.left,o.top]}));return i},sortBy(e){return function(t,o){return t[e]-o[e]}},printPreview(){let e=this.printObject.templateId?null:this.printObject.file,t={libraryId:this.printObject.relationId||null,templateId:this.printObject.templateId||null,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()},o=this.$refs.cropper;o.getCropData((o=>{e=(0,Ct._x)(o,this.printObject.name),e.uid=this.printObject.file?.uid?this.printObject.file.uid:"";let i=new FormData;i.append("file",e),i.append("models",new Blob([JSON.stringify(t)],{type:"application/json"})),this.isShowMark||(this.isShowMark=!0,xt.V.axiosPost(xt.V.httpUrls.libraryModelsDot,i,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{this.perviewUrl=e,this.isShowMark=!1})).catch((e=>{this.isShowMark=!1})))}))},backPreview(){this.perviewUrl=""}}});const zo=(0,Mt.Z)(Bo,[["render",Do]]);var Ro=zo,$o=o(7729),Ao=o(4873),Vo=o(8652),Zo=o(6409);var Wo;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const Yo="undefined"!==typeof window,qo=(Object.prototype.toString,e=>"string"===typeof e),Ko=()=>{},Go=Yo&&(null==(Wo=null==window?void 0:window.navigator)?void 0:Wo.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Jo(e){return"function"===typeof e?e():(0,De.SU)(e)}function Xo(e){return e}function Qo(e){return!!(0,De.nZ)()&&((0,De.EB)(e),!0)}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function ei(e,t=!0){(0,i.FN)()?(0,i.bv)(e):t?e():(0,i.Y3)(e)}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function ti(e){var t;const o=Jo(e);return null!=(t=null==o?void 0:o.$el)?t:o}const oi=Yo?window:void 0;Yo&&window.document,Yo&&window.navigator,Yo&&window.location;function ii(...e){let t,o,n,l;if(qo(e[0])||Array.isArray(e[0])?([o,n,l]=e,t=oi):[t,o,n,l]=e,!t)return Ko;Array.isArray(o)||(o=[o]),Array.isArray(n)||(n=[n]);const a=[],r=()=>{a.forEach((e=>e())),a.length=0},s=(e,t,o,i)=>(e.addEventListener(t,o,i),()=>e.removeEventListener(t,o,i)),c=(0,i.YP)((()=>[ti(t),Jo(l)]),(([e,t])=>{r(),e&&a.push(...o.flatMap((o=>n.map((i=>s(e,o,i,t))))))}),{immediate:!0,flush:"post"}),u=()=>{c(),r()};return Qo(u),u}let ni=!1;function li(e,t,o={}){const{window:i=oi,ignore:n=[],capture:l=!0,detectIframe:a=!1}=o;if(!i)return;Go&&!ni&&(ni=!0,Array.from(i.document.body.children).forEach((e=>e.addEventListener("click",Ko))));let r=!0;const s=e=>n.some((t=>{if("string"===typeof t)return Array.from(i.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const o=ti(t);return o&&(e.target===o||e.composedPath().includes(o))}})),c=o=>{const i=ti(e);i&&i!==o.target&&!o.composedPath().includes(i)&&(0===o.detail&&(r=!s(o)),r?t(o):r=!0)},u=[ii(i,"click",c,{passive:!0,capture:l}),ii(i,"pointerdown",(t=>{const o=ti(e);o&&(r=!t.composedPath().includes(o)&&!s(t))}),{passive:!0}),a&&ii(i,"blur",(o=>{var n;const l=ti(e);"IFRAME"!==(null==(n=i.document.activeElement)?void 0:n.tagName)||(null==l?void 0:l.contains(i.document.activeElement))||t(o)}))].filter(Boolean),d=()=>u.forEach((e=>e()));return d}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function ai(e,t=!1){const o=(0,De.iH)(),i=()=>o.value=Boolean(e());return i(),ei(i,t),o}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const ri="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},si="__vueuse_ssr_handlers__";ri[si]=ri[si]||{};ri[si];Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function ci(e,t,{window:o=oi,initialValue:n=""}={}){const l=(0,De.iH)(n),a=(0,i.Fl)((()=>{var e;return ti(t)||(null==(e=null==o?void 0:o.document)?void 0:e.documentElement)}));return(0,i.YP)([a,()=>Jo(e)],(([e,t])=>{var i;if(e&&o){const a=null==(i=o.getComputedStyle(e).getPropertyValue(t))?void 0:i.trim();l.value=a||n}}),{immediate:!0}),(0,i.YP)(l,(t=>{var o;(null==(o=a.value)?void 0:o.style)&&a.value.style.setProperty(Jo(e),t)})),l}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var ui=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable,mi=(e,t)=>{var o={};for(var i in e)di.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&ui)for(var i of ui(e))t.indexOf(i)<0&&pi.call(e,i)&&(o[i]=e[i]);return o};function hi(e,t,o={}){const n=o,{window:l=oi}=n,a=mi(n,["window"]);let r;const s=ai((()=>l&&"ResizeObserver"in l)),c=()=>{r&&(r.disconnect(),r=void 0)},u=(0,i.YP)((()=>ti(e)),(e=>{c(),s.value&&l&&e&&(r=new ResizeObserver(t),r.observe(e,a))}),{immediate:!0,flush:"post"}),d=()=>{c(),u()};return Qo(d),{isSupported:s,stop:d}}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;new Map;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var fi;(function(e){e["UP"]="UP",e["RIGHT"]="RIGHT",e["DOWN"]="DOWN",e["LEFT"]="LEFT",e["NONE"]="NONE"})(fi||(fi={}));Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var vi=Object.defineProperty,gi=Object.getOwnPropertySymbols,bi=Object.prototype.hasOwnProperty,yi=Object.prototype.propertyIsEnumerable,wi=(e,t,o)=>t in e?vi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Si=(e,t)=>{for(var o in t||(t={}))bi.call(t,o)&&wi(e,o,t[o]);if(gi)for(var o of gi(t))yi.call(t,o)&&wi(e,o,t[o]);return e};const _i={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Si({linear:Xo},_i);var ki=o(576),xi=o(626),Ci=1/0;function Oi(e){var t=null==e?0:e.length;return t?(0,xi.Z)(e,Ci):[]}var Li=Oi;const Pi=4,Ui={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},ji=({move:e,size:t,bar:o})=>({[o.size]:t,transform:`translate${o.axis}(${e}%)`}),Ii=Symbol("scrollbarContextKey");var Ti=o(5937);const Mi="__epPropKey",Fi=e=>e,Ei=e=>(0,n.Kn)(e)&&!!e[Mi],Ni=(e,t)=>{if(!(0,n.Kn)(e)||Ei(e))return e;const{values:o,required:l,default:a,type:r,validator:s}=e,c=o||s?l=>{let r=!1,c=[];if(o&&(c=Array.from(o),(0,n.RI)(e,"default")&&c.push(a),r||(r=c.includes(l))),s&&(r||(r=s(l))),!r&&c.length>0){const e=[...new Set(c)].map((e=>JSON.stringify(e))).join(", ");(0,i.ZK)(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${e}], got value ${JSON.stringify(l)}.`)}return r}:void 0,u={type:r,required:!!l,validator:c,[Mi]:!0};return(0,n.RI)(e,"default")&&(u.default=a),u},Hi=e=>(0,Ti.Z)(Object.entries(e).map((([e,t])=>[e,Ni(t,e)]))),Di=Hi({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean});var Bi=(e,t)=>{const o=e.__vccOpts||e;for(const[i,n]of t)o[i]=n;return o};const zi="el",Ri="is-",$i=(e,t,o,i,n)=>{let l=`${e}-${t}`;return o&&(l+=`-${o}`),i&&(l+=`__${i}`),n&&(l+=`--${n}`),l},Ai=Symbol("namespaceContextKey"),Vi=e=>{const t=e||((0,i.FN)()?(0,i.f3)(Ai,(0,De.iH)(zi)):(0,De.iH)(zi)),o=(0,i.Fl)((()=>(0,De.SU)(t)||zi));return o},Zi=(e,t)=>{const o=Vi(t),i=(t="")=>$i(o.value,e,t,"",""),n=t=>t?$i(o.value,e,"",t,""):"",l=t=>t?$i(o.value,e,"","",t):"",a=(t,i)=>t&&i?$i(o.value,e,t,i,""):"",r=(t,i)=>t&&i?$i(o.value,e,"",t,i):"",s=(t,i)=>t&&i?$i(o.value,e,t,"",i):"",c=(t,i,n)=>t&&i&&n?$i(o.value,e,t,i,n):"",u=(e,...t)=>{const o=!(t.length>=1)||t[0];return e&&o?`${Ri}${e}`:""},d=e=>{const t={};for(const i in e)e[i]&&(t[`--${o.value}-${i}`]=e[i]);return t},p=t=>{const i={};for(const n in t)t[n]&&(i[`--${o.value}-${e}-${n}`]=t[n]);return i},m=e=>`--${o.value}-${e}`,h=t=>`--${o.value}-${e}-${t}`;return{namespace:o,b:i,e:n,m:l,be:a,em:r,bm:s,bem:c,is:u,cssVar:d,cssVarName:m,cssVarBlock:p,cssVarBlockName:h}};class Wi extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function Yi(e,t){throw new Wi(`[${e}] ${t}`)}function qi(e,t){0}const Ki="Thumb",Gi=(0,i.aZ)({__name:"thumb",props:Di,setup(e){const t=e,o=(0,i.f3)(Ii),a=Zi("scrollbar");o||Yi(Ki,"can not inject scrollbar context");const r=(0,De.iH)(),s=(0,De.iH)(),c=(0,De.iH)({}),u=(0,De.iH)(!1);let d=!1,p=!1,m=Yo?document.onselectstart:null;const h=(0,i.Fl)((()=>Ui[t.vertical?"vertical":"horizontal"])),f=(0,i.Fl)((()=>ji({size:t.size,move:t.move,bar:h.value}))),v=(0,i.Fl)((()=>r.value[h.value.offset]**2/o.wrapElement[h.value.scrollSize]/t.ratio/s.value[h.value.offset])),g=e=>{var t;if(e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button))return;null==(t=window.getSelection())||t.removeAllRanges(),y(e);const o=e.currentTarget;o&&(c.value[h.value.axis]=o[h.value.offset]-(e[h.value.client]-o.getBoundingClientRect()[h.value.direction]))},b=e=>{if(!s.value||!r.value||!o.wrapElement)return;const t=Math.abs(e.target.getBoundingClientRect()[h.value.direction]-e[h.value.client]),i=s.value[h.value.offset]/2,n=100*(t-i)*v.value/r.value[h.value.offset];o.wrapElement[h.value.scroll]=n*o.wrapElement[h.value.scrollSize]/100},y=e=>{e.stopImmediatePropagation(),d=!0,document.addEventListener("mousemove",w),document.addEventListener("mouseup",S),m=document.onselectstart,document.onselectstart=()=>!1},w=e=>{if(!r.value||!s.value)return;if(!1===d)return;const t=c.value[h.value.axis];if(!t)return;const i=-1*(r.value.getBoundingClientRect()[h.value.direction]-e[h.value.client]),n=s.value[h.value.offset]-t,l=100*(i-n)*v.value/r.value[h.value.offset];o.wrapElement[h.value.scroll]=l*o.wrapElement[h.value.scrollSize]/100},S=()=>{d=!1,c.value[h.value.axis]=0,document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",S),x(),p&&(u.value=!1)},_=()=>{p=!1,u.value=!!t.size},k=()=>{p=!0,u.value=d};(0,i.Jd)((()=>{x(),document.removeEventListener("mouseup",S)}));const x=()=>{document.onselectstart!==m&&(document.onselectstart=m)};return ii((0,De.Vh)(o,"scrollbarElement"),"mousemove",_),ii((0,De.Vh)(o,"scrollbarElement"),"mouseleave",k),(e,t)=>((0,i.wg)(),(0,i.j4)(l.uT,{name:(0,De.SU)(a).b("fade"),persisted:""},{default:(0,i.w5)((()=>[(0,i.wy)((0,i._)("div",{ref_key:"instance",ref:r,class:(0,n.C_)([(0,De.SU)(a).e("bar"),(0,De.SU)(a).is((0,De.SU)(h).key)]),onMousedown:b},[(0,i._)("div",{ref_key:"thumb",ref:s,class:(0,n.C_)((0,De.SU)(a).e("thumb")),style:(0,n.j5)((0,De.SU)(f)),onMousedown:g},null,38)],34),[[l.F8,e.always||u.value]])])),_:1},8,["name"]))}});var Ji=Bi(Gi,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const Xi=Hi({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),Qi=(0,i.aZ)({__name:"bar",props:Xi,setup(e,{expose:t}){const o=e,n=(0,De.iH)(0),l=(0,De.iH)(0),a=e=>{if(e){const t=e.offsetHeight-Pi,i=e.offsetWidth-Pi;l.value=100*e.scrollTop/t*o.ratioY,n.value=100*e.scrollLeft/i*o.ratioX}};return t({handleScroll:a}),(e,t)=>((0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i.Wm)(Ji,{move:n.value,ratio:e.ratioX,size:e.width,always:e.always},null,8,["move","ratio","size","always"]),(0,i.Wm)(Ji,{move:l.value,ratio:e.ratioY,size:e.height,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});var en=Bi(Qi,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const tn=e=>void 0===e,on=e=>"boolean"===typeof e,nn=e=>"number"===typeof e,ln=e=>!e&&0!==e||(0,n.kJ)(e)&&0===e.length||(0,n.Kn)(e)&&!Object.keys(e).length,an=e=>"undefined"!==typeof Element&&e instanceof Element,rn=e=>!!(0,n.HD)(e)&&!Number.isNaN(Number(e)),sn=Hi({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Fi([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical"]}}),cn={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(nn)},un="utils/dom/style";function dn(e,t="px"){return e?nn(e)||rn(e)?`${e}${t}`:(0,n.HD)(e)?e:void qi(un,"binding value must be a string or number"):""}const pn="ElScrollbar",mn=(0,i.aZ)({name:pn}),hn=(0,i.aZ)({...mn,props:sn,emits:cn,setup(e,{expose:t,emit:o}){const l=e,a=Zi("scrollbar");let r,s;const c=(0,De.iH)(),u=(0,De.iH)(),d=(0,De.iH)(),p=(0,De.iH)("0"),m=(0,De.iH)("0"),h=(0,De.iH)(),f=(0,De.iH)(1),v=(0,De.iH)(1),g=(0,i.Fl)((()=>{const e={};return l.height&&(e.height=dn(l.height)),l.maxHeight&&(e.maxHeight=dn(l.maxHeight)),[l.wrapStyle,e]})),b=(0,i.Fl)((()=>[l.wrapClass,a.e("wrap"),{[a.em("wrap","hidden-default")]:!l.native}])),y=(0,i.Fl)((()=>[a.e("view"),l.viewClass])),w=()=>{var e;u.value&&(null==(e=h.value)||e.handleScroll(u.value),o("scroll",{scrollTop:u.value.scrollTop,scrollLeft:u.value.scrollLeft}))};function S(e,t){(0,n.Kn)(e)?u.value.scrollTo(e):nn(e)&&nn(t)&&u.value.scrollTo(e,t)}const _=e=>{nn(e)?u.value.scrollTop=e:qi(pn,"value must be a number")},k=e=>{nn(e)?u.value.scrollLeft=e:qi(pn,"value must be a number")},x=()=>{if(!u.value)return;const e=u.value.offsetHeight-Pi,t=u.value.offsetWidth-Pi,o=e**2/u.value.scrollHeight,i=t**2/u.value.scrollWidth,n=Math.max(o,l.minSize),a=Math.max(i,l.minSize);f.value=o/(e-o)/(n/(e-n)),v.value=i/(t-i)/(a/(t-a)),m.value=n+Pil.noresize),(e=>{e?(null==r||r(),null==s||s()):(({stop:r}=hi(d,x)),s=ii("resize",x))}),{immediate:!0}),(0,i.YP)((()=>[l.maxHeight,l.height]),(()=>{l.native||(0,i.Y3)((()=>{var e;x(),u.value&&(null==(e=h.value)||e.handleScroll(u.value))}))})),(0,i.JJ)(Ii,(0,De.qj)({scrollbarElement:c,wrapElement:u})),(0,i.bv)((()=>{l.native||(0,i.Y3)((()=>{x()}))})),(0,i.ic)((()=>x())),t({wrapRef:u,update:x,scrollTo:S,setScrollTop:_,setScrollLeft:k,handleScroll:w}),(e,t)=>((0,i.wg)(),(0,i.iD)("div",{ref_key:"scrollbarRef",ref:c,class:(0,n.C_)((0,De.SU)(a).b())},[(0,i._)("div",{ref_key:"wrapRef",ref:u,class:(0,n.C_)((0,De.SU)(b)),style:(0,n.j5)((0,De.SU)(g)),onScroll:w},[((0,i.wg)(),(0,i.j4)((0,i.LL)(e.tag),{id:e.id,ref_key:"resizeRef",ref:d,class:(0,n.C_)((0,De.SU)(y)),style:(0,n.j5)(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:(0,i.w5)((()=>[(0,i.WI)(e.$slots,"default")])),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),e.native?(0,i.kq)("v-if",!0):((0,i.wg)(),(0,i.j4)(en,{key:0,ref_key:"barRef",ref:h,height:m.value,width:p.value,always:e.always,"ratio-x":v.value,"ratio-y":f.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var fn=Bi(hn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const vn=(e,t)=>{if(e.install=o=>{for(const i of[e,...Object.values(null!=t?t:{})])o.component(i.name,i)},t)for(const[o,i]of Object.entries(t))e[o]=i;return e},gn=e=>(e.install=n.dG,e),bn=vn(fn); +"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[286],{9136:function(e,t,o){o.r(t),o.d(t,{default:function(){return Tp}});var i=o(6252),n=o(3577),l=o(9963),a=o.p+"img/null_img.cdd90213.png";const r={class:"library_page"},s={class:"page_content"},c={class:"page_content_body"},u={class:"library_page_body"},d={class:"library_body_left"},p=["onClick"],m={class:"menu_item_left"},h=["onClick"],f={class:"library_body_right"},v={class:"library_right_header"},g={class:"library_header_left"},b={class:"librart_headr_right"},y={class:"select_block"},w=(0,i._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),S=(0,i._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),_={class:"libray_right_content"},k={class:"right_content_body"},x={class:"content_body_header"},C={class:"content_body_header_left"},O={class:"content_body_header_right"},L={class:(0,n.C_)(["header_operate_item","fontSize","active"])},P={class:"content_search_block"},U=["placeholder"],j={class:"search_cascader"},I={class:"intersection"},T=["title"],M=["title"],F=(0,i._)("span",{class:"icon iconfont icon-sousuo"},null,-1),E=[F],N={class:"check_block"},H={class:"check_block_body"},D={class:"content_body_table scroll_style"},B=["onClick"],z={class:"img_item_hover"},R={class:"img_operate_content"},$=["title","onClick"],A=(0,i._)("span",{class:"icon iconfont icon-dianwei operate_icon"},null,-1),V=[A],Z=["title","onClick"],W=(0,i._)("span",{class:"icon iconfont icon-tianxie operate_icon"},null,-1),Y=[W],q=["title","onClick"],K=(0,i._)("span",{class:"icon iconfont icon-shanchu operate_icon"},null,-1),G=[K],J={class:"content_img_name"},X={class:"no_data_block"},Q=(0,i._)("img",{src:a},null,-1),ee=[Q],te={class:"table_pagination"},oe={class:"right_content_body"},ie={class:"content_body_header content_body_header_generate"},ne={class:"content_body_header_right"},le={class:"content_body_header_right"},ae={class:"checkboxItem"},re={class:"checkboxItem"},se={class:"checkboxItem"},ce=["maxlength","readonly","placeholder"],ue={class:"printModel"},de={class:"upload_item"},pe={class:"upload_file_item_content"},me=["onClick"],he=["src"],fe=["onClick"],ve=(0,i._)("span",{class:"icon iconfont icon-shanchu"},null,-1),ge=[ve],be={class:"upload_component upload_file_item"},ye=(0,i._)("div",{class:"upload_tip_block"},[(0,i._)("i",{class:"fi fi-br-upload"})],-1),we={class:"content_body_table scroll_style"},Se={class:"img_item_hover"},_e={class:"img_operate_content"},ke={class:"img_operate_block"},xe=["onClick"],Ce=["onClick"],Oe=(0,i._)("div",{class:"content_img_name"},null,-1),Le={class:"no_data_block"},Pe=(0,i._)("img",{src:a},null,-1),Ue=[Pe],je={class:"table_pagination"},Ie={class:"collection_rename_content"},Te={class:"rename_form_content"},Me=["placeholder"],Fe={class:"rename_button_list"},Ee={class:"mark_loading"};function Ne(e,t,o,a,F,A){const W=(0,i.up)("HeaderComponent"),K=(0,i.up)("a-select"),Q=(0,i.up)("a-upload"),ve=(0,i.up)("el-cascader"),Pe=(0,i.up)("a-pagination"),Ne=(0,i.up)("a-spin"),He=(0,i.up)("a-modal"),De=(0,i.up)("ModelPlacement"),Be=(0,i.up)("ModelPlacementMobile"),ze=(0,i.up)("setLabel"),Re=(0,i.up)("RobotAssist"),$e=(0,i.Q2)("lazy");return(0,i.wg)(),(0,i.iD)("div",r,[(0,i._)("div",s,[(0,i._)("div",c,[(0,i.Wm)(W),(0,i._)("div",u,[(0,i._)("div",d,[(0,i._)("div",null,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.menuList,((t,o)=>((0,i.wg)(),(0,i.iD)("div",{class:"library_menu_list",key:t.title},[(0,i._)("div",{class:(0,n.C_)(["menu_item",e.selectCode==t.code?"select_menu_item":""]),onClick:i=>e.selectMenuItem(t,o)},[(0,i._)("div",m,[(0,i._)("i",{class:(0,n.C_)([t.icon])},null,2),(0,i._)("div",null,(0,n.zw)(t.title),1)]),(0,i.wy)((0,i._)("div",{class:(0,n.C_)(["icon","iconfont","icon-xiala",t.showChildren?"icon_rotate":""])},null,2),[[l.F8,t.children.length]])],10,p),(0,i.wy)((0,i._)("div",null,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(t.children,(t=>((0,i.wg)(),(0,i.iD)("div",{class:(0,n.C_)(["menu_item","child_menu_item",e.selectCode==t.code?"select_menu_item":""]),key:t.title,onClick:i=>e.selectMenuItem(t,o)},(0,n.zw)(t.title),11,h)))),128))],512),[[l.F8,t.showChildren&&t.children.length]])])))),128))])]),(0,i._)("div",f,[(0,i._)("div",v,[(0,i._)("div",g,[(0,i._)("div",{class:(0,n.C_)(["header_operate_item pointer",{operate_select:"Upload"==e.uploadGenerate}]),onClick:t[0]||(t[0]=t=>e.uploadGenerateOpen("Upload"))},[(0,i._)("div",null,(0,n.zw)(e.$t("LibraryPage.Organize")),1)],2),(0,i.wy)((0,i._)("div",{class:(0,n.C_)(["header_operate_item pointer",{operate_select:"Generate"==e.uploadGenerate}]),onClick:t[1]||(t[1]=t=>e.uploadGenerateOpen("Generate"))},(0,n.zw)(e.$t("LibraryPage.Generate")),3),[[l.F8,"Models"!=e.selectCode]])]),(0,i._)("div",b,[(0,i.wy)((0,i._)("div",y,[(0,i.Wm)(K,{ref:"select",value:e.sex.value,"onUpdate:value":t[2]||(t[2]=t=>e.sex.value=t),options:e.sexList,onChange:e.sexChange},{suffixIcon:(0,i.w5)((()=>[w])),_:1},8,["value","options","onChange"]),(0,i.wy)((0,i.Wm)(K,{ref:"select",value:e.designType.value,"onUpdate:value":t[3]||(t[3]=t=>e.designType.value=t),options:e.disignTypeList,onChange:e.handleChange},{suffixIcon:(0,i.w5)((()=>[S])),_:1},8,["value","options","onChange"]),[[l.F8,"Sketchboard"==e.selectCode]])],512),[[l.F8,"Sketchboard"==e.selectCode||"Models"==e.selectCode]])])]),(0,i._)("div",_,[(0,i.wy)((0,i._)("div",k,[(0,i._)("div",x,[(0,i._)("div",C,[(0,i._)("div",O,[(0,i._)("div",L,[(0,i.wy)((0,i.Wm)(Q,{"before-upload":e.beforeUpload,customRequest:e.customRequest,multiple:"Models"!=e.selectCode,maxCount:15,accept:".jpg,.png,.jpeg,.bmp",onChange:e.fileUploadChange},{default:(0,i.w5)((()=>[(0,i._)("div",null,(0,n.zw)(e.$t("LibraryPage.Upload")),1)])),_:1},8,["before-upload","customRequest","multiple","onChange"]),[[l.F8,"Upload"==e.uploadGenerate]])]),(0,i._)("div",{class:(0,n.C_)(["header_operate_item","fontSize",e.selectImgList.length>0?"active":""]),onClick:t[4]||(t[4]=t=>e.deleteBatchPic())},(0,n.zw)(e.$t("LibraryPage.Delete")),3),(0,i._)("div",{class:(0,n.C_)(["header_operate_item","fontSize",e.selectImgList.length>0?"active":""]),onClick:t[5]||(t[5]=t=>e.showRenameModal("","batch"))},(0,n.zw)(e.$t("LibraryPage.Rename")),3)]),(0,i._)("div",P,[(0,i.wy)((0,i._)("input",{class:"search_input",placeholder:e.$t("LibraryPage.inputContent1"),"onUpdate:modelValue":t[6]||(t[6]=t=>e.searchPictureName=t),onKeydown:t[7]||(t[7]=(0,l.D2)((t=>e.getLibraryList()),["enter"]))},null,40,U),[[l.nr,e.searchPictureName]]),(0,i._)("div",j,[(0,i.Wm)(ve,{options:e.options,filterable:"",modelValue:e.value.labelValue,"onUpdate:modelValue":t[8]||(t[8]=t=>e.value.labelValue=t),"collapse-tags":!0,"show-all-levels":!1,clearable:!0,placeholder:e.$t("LibraryPage.Select"),"max-collapse-tags":3,props:e.props,"collapse-tags-tooltip":!0,ref:"cascader","popper-class":"libraryPageCascader",onVisibleChange:e.dropdownVisibleChange},{empty:(0,i.w5)((()=>[(0,i._)("div",null,(0,n.zw)(e.$t("LibraryPage.Select")),1)])),_:1},8,["options","modelValue","placeholder","props","onVisibleChange"])]),(0,i._)("div",I,[(0,i.wy)((0,i._)("div",{title:e.$t("LibraryPage.unionSet"),onClick:t[9]||(t[9]=()=>e.intersection=1),class:(0,n.C_)(["icon","iconfont","icon-bingji"])},null,8,T),[[l.F8,0==e.intersection]]),(0,i.wy)((0,i._)("div",{title:e.$t("LibraryPage.intersection"),onClick:t[10]||(t[10]=()=>e.intersection=0),class:(0,n.C_)(["icon","iconfont","icon-bingji1"])},null,8,M),[[l.F8,1==e.intersection]])]),(0,i._)("div",{class:"generage_btn search_icon_block",onClick:t[11]||(t[11]=t=>e.getLibraryList())},E)])]),(0,i.wy)((0,i._)("div",{class:(0,n.C_)(["check_all_block",e.selectImgList.length==e.imgList.length?"check_all":""]),onClick:t[12]||(t[12]=t=>e.selectAllImg())},[(0,i._)("div",N,[(0,i.wy)((0,i._)("div",H,null,512),[[l.F8,e.selectImgList.length==e.imgList.length&&e.imgList.length]])]),(0,i._)("div",null,(0,n.zw)(e.$t("LibraryPage.all")),1)],2),[[l.F8,e.imgList.length]])]),(0,i._)("div",D,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.imgList,((t,o)=>((0,i.wg)(),(0,i.iD)("div",{class:"content_img_item",key:t.id,onClick:o=>e.selectImgItem(t),draggable:!0},[(0,i._)("div",{class:(0,n.C_)(["content_img_item_block",e.selectImgList.indexOf(t.id)>-1?"select_item_img":""])},[(0,i.wy)(((0,i.wg)(),(0,i.iD)("img",{key:t.url,class:(0,n.C_)(["content_img",["Moodboard","Printboard"].indexOf(e.selectCode)>-1?"board_content_img":""])},null,2)),[[$e,t.url]]),(0,i._)("div",z,[(0,i._)("div",R,[(0,i.wy)((0,i._)("div",{class:"img_operate_block",title:e.t("LibraryPage.Point"),onClick:(0,l.iM)((o=>e.editPlacementClick(t)),["stop"])},V,8,$),[[l.F8,"Models"===e.selectCode]]),(0,i._)("div",{class:"img_operate_block",title:e.t("LibraryPage.Rename"),onClick:(0,l.iM)((o=>e.showRenameModal(t,"single")),["stop"])},Y,8,Z),(0,i._)("div",{class:"img_operate_block",title:e.t("LibraryPage.Delete"),onClick:(0,l.iM)((i=>e.deleteSinglePic(t,o)),["stop"])},G,8,q)])])],2),(0,i._)("div",J,(0,n.zw)(t.name),1)],8,B)))),128)),(0,i.wy)((0,i._)("div",X,ee,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,i.wy)((0,i._)("div",te,[(0,i.Wm)(Pe,{current:e.currentPage,"onUpdate:current":t[13]||(t[13]=t=>e.currentPage=t),pageSize:e.pageSize,"onUpdate:pageSize":t[14]||(t[14]=t=>e.pageSize=t),total:e.total,showQuickJumper:!0,showSizeChanger:!1,onChange:e.changePage},null,8,["current","pageSize","total","onChange"])],512),[[l.F8,e.imgList.length]])],512),[[l.F8,"Upload"==e.uploadGenerate]]),(0,i.wy)((0,i._)("div",oe,[(0,i._)("div",ie,[(0,i._)("div",ne,[(0,i.wy)((0,i._)("div",le,[(0,i._)("div",ae,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"checkbox","onUpdate:modelValue":t[15]||(t[15]=t=>e.checkbox[0].type=t),onClick:t[16]||(t[16]=t=>e.setKeyword(0))},null,512),[[l.e8,e.checkbox[0].type]]),(0,i._)("span",null,(0,n.zw)(e.$t("LibraryPage.ImageOnly")),1)])]),(0,i._)("div",re,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"checkbox","onUpdate:modelValue":t[17]||(t[17]=t=>e.checkbox[1].type=t),onClick:t[18]||(t[18]=t=>e.setKeyword(1))},null,512),[[l.e8,e.checkbox[1].type]]),(0,i._)("span",null,(0,n.zw)(e.$t("LibraryPage.TextOnly")),1)])]),(0,i._)("div",se,[(0,i._)("label",null,[(0,i.wy)((0,i._)("input",{type:"checkbox","onUpdate:modelValue":t[19]||(t[19]=t=>e.checkbox[2].type=t),onClick:t[20]||(t[20]=t=>e.setKeyword(2))},null,512),[[l.e8,e.checkbox[2].type]]),(0,i._)("span",null,(0,n.zw)(e.$t("LibraryPage.TextImage")),1)])])],512),[[l.F8,"Moodboard"!=e.selectCode]])]),(0,i._)("div",{class:(0,n.C_)(["input_box",{active:e.inputShow}])},[(0,i.wy)((0,i._)("input",{class:(0,n.C_)(["search_input",{active:e.checkbox[0].type}]),onInput:t[21]||(t[21]=(...t)=>e.ifMaximumLength&&e.ifMaximumLength(...t)),maxlength:e.inputShow?0:9999,onKeydown:t[22]||(t[22]=(0,l.D2)(((...t)=>e.getgenerate&&e.getgenerate(...t)),["enter"])),readonly:e.checkbox[0].type,placeholder:e.$t("LibraryPage.inputContent2"),"onUpdate:modelValue":t[23]||(t[23]=t=>e.captionGeneration=t)},null,42,ce),[[l.nr,e.captionGeneration]]),(0,i._)("div",{class:"generage_btn started_btn",onClick:t[24]||(t[24]=(0,l.iM)(((...t)=>e.getgenerate&&e.getgenerate(...t)),["stop"]))},(0,n.zw)(e.$t("LibraryPage.Generate")),1),(0,i._)("span",null,(0,n.zw)(e.$t("LibraryPage.maximumLength")),1)],2),(0,i.wy)((0,i._)("div",ue,[(0,i._)("div",{onClick:t[25]||(t[25]=(0,l.iM)(((...t)=>e.PrintModel&&e.PrintModel(...t)),["stop"]))},(0,n.zw)(e.printModel.name),1),(0,i.wy)((0,i._)("ul",null,[(0,i._)("li",{class:"printModel_item",onClick:t[26]||(t[26]=t=>e.setprintModel(1))},(0,n.zw)(e.$t("LibraryPage.Model1")),1),(0,i._)("li",{class:"printModel_item",onClick:t[27]||(t[27]=t=>e.setprintModel(2))},(0,n.zw)(e.$t("LibraryPage.Model2")),1)],512),[[l.F8,e.printModel.optype]])],512),[[l.F8,"Printboard"==e.selectCode]]),(0,i.wy)((0,i._)("div",de,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.selectGenerateList,((t,o)=>((0,i.wg)(),(0,i.iD)("div",{class:(0,n.C_)(["upload_file_item",[t?.checked?"active":""]]),key:t},[(0,i.wy)((0,i._)("div",pe,[(0,i.Wm)(Ne,{indicator:e.indicator,tip:"Uploading..."},null,8,["indicator"])],512),[[l.F8,"uploading"===t?.status]]),(0,i.wy)((0,i._)("div",{class:"upload_file_item_content",onClick:(0,l.iM)((o=>e.setSketchboardItem(t)),["stop"])},[(0,i._)("img",{src:t?.imgUrl,class:"upload_img"},null,8,he),(0,i._)("div",{class:"delete_file_block rightTop",onClick:t=>e.deleteFile(o)},ge,8,fe)],8,me),[[l.F8,"done"===t?.status]])],2)))),128)),(0,i.wy)((0,i._)("div",be,[(0,i.Wm)(Q,{action:e.uploadUrl+"/api/element/upload","list-type":"picture-card","before-upload":e.beforeUpload,disabled:e.checkbox[1].type,data:{...e.upload},headers:{Authorization:e.token},"file-list":e.selectGenerateList,"onUpdate:file-list":t[28]||(t[28]=t=>e.selectGenerateList=t),multiple:"",accept:".jpg,.png,.jpeg,.bmp",onChange:e.generateFileUploadChange},{default:(0,i.w5)((()=>[ye])),_:1},8,["action","before-upload","disabled","data","headers","file-list","onChange"])],512),[[l.F8,e.selectGenerateList.length<=3]])],512),[[l.F8,"Moodboard"!=e.selectCode]])]),(0,i._)("div",we,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.generateList,((t,o)=>((0,i.wg)(),(0,i.iD)("div",{class:"content_img_item",key:t.id},[(0,i._)("div",{class:(0,n.C_)(["content_img_item_block",e.selectImgList.indexOf(t.id)>-1?"select_item_img":""])},[(0,i.wy)(((0,i.wg)(),(0,i.iD)("img",{key:t.imgUrl,class:(0,n.C_)(["content_img",["Moodboard","Printboard"].indexOf(e.selectCode)>-1?"board_content_img":""])},null,2)),[[$e,t.imgUrl]]),(0,i._)("div",Se,[(0,i._)("div",_e,[(0,i._)("div",ke,[t.like?((0,i.wg)(),(0,i.iD)("i",{key:1,class:"fi fi-sr-heart operate_icon",onClick:(0,l.iM)((o=>e.likeFile(t,"noLike")),["stop"])},null,8,Ce)):((0,i.wg)(),(0,i.iD)("i",{key:0,class:"fi fi-rr-heart operate_icon",onClick:(0,l.iM)((o=>e.likeFile(t,"like")),["stop"])},null,8,xe))])])])],2),Oe])))),128)),(0,i.wy)((0,i._)("div",Le,Ue,512),[[l.F8,!e.imgList.length&&!e.isShowMark]])]),(0,i.wy)((0,i._)("div",je,null,512),[[l.F8,e.generateList.length]])],512),[[l.F8,"Upload"!=e.uploadGenerate]])])])])])]),(0,i.Wm)(He,{class:"library_rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[34]||(t[34]=t=>e.renameVisivle=t),footer:null,title:e.$t("LibraryPage.Rename"),width:"65%",keyboard:!1,maskClosable:!1,centered:!0,onOnCancel:e.closeRenameModal},{default:(0,i.w5)((()=>[(0,i._)("div",Ie,[(0,i._)("div",Te,[(0,i.wy)((0,i._)("input",{class:"rename_form_input",placeholder:e.$t("LibraryPage.inputContent3"),"onUpdate:modelValue":t[29]||(t[29]=t=>e.newPicName=t),onKeydown:t[30]||(t[30]=(0,l.D2)((t=>e.confrimRename()),["enter"]))},null,40,Me),[[l.nr,e.newPicName]])]),(0,i.Wm)(ve,{options:e.options,filterable:!0,modelValue:e.value.editLabelValue,"onUpdate:modelValue":t[31]||(t[31]=t=>e.value.editLabelValue=t),"collapse-tags":!0,"show-all-levels":!1,placeholder:e.$t("LibraryPage.Select"),clearable:!0,"max-collapse-tags":6,props:e.props,ref:"cascader1","collapse-tags-tooltip":!0,onVisibleChange:e.dropdownVisibleChange1},{empty:(0,i.w5)((()=>[(0,i._)("div",null,(0,n.zw)(e.$t("LibraryPage.Select")),1)])),_:1},8,["options","modelValue","placeholder","props","onVisibleChange"]),(0,i._)("div",Fe,[(0,i._)("div",{class:"rename_button_item rename_cancel_button",onClick:t[32]||(t[32]=t=>e.closeRenameModal())},(0,n.zw)(e.$t("LibraryPage.Cancel")),1),(0,i._)("div",{class:"rename_button_item rename_submit_button",onClick:t[33]||(t[33]=t=>e.confrimRename())},(0,n.zw)(e.$t("LibraryPage.Sure")),1)])])])),_:1},8,["visible","title","onOnCancel"]),(0,i.Wm)(De,{ref:"ModelPlacement",onSubmitModelPlacement:e.getLibraryList},null,8,["onSubmitModelPlacement"]),(0,i.Wm)(Be,{ref:"ModelPlacementMobile",onSubmitModelPlacement:e.getLibraryList},null,8,["onSubmitModelPlacement"]),(0,i.Wm)(ze,{ref:"setLabel"},null,512),(0,i.wy)((0,i._)("div",Ee,[(0,i.Wm)(Ne,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,i.Wm)(Re)])}var He=o(320),De=o(2262),Be=o(6386);const ze={key:0},Re=(0,i._)("span",{class:"icon iconfont icon-guanbi"},null,-1),$e=[Re],Ae={class:"models_placement_body"},Ve={class:"palcement_modal_header"},Ze={class:"models_placement_title"},We={class:"placement_operate_list"},Ye=(0,i._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),qe={class:"operate_item_des"},Ke=(0,i._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),Ge={class:"operate_item_des"},Je=(0,i._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),Xe={class:"operate_item_des"},Qe=(0,i._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),et={class:"operate_item_des"},tt={key:0,class:"plcaement_point_content"},ot={style:{display:"flex","align-items":"center"}},it={style:{display:"flex","align-items":"center"}},nt={style:{display:"flex","align-items":"center"}},lt={class:"models_placement_content"},at={class:"plcaement_point_content"},rt={class:"select_block"},st=(0,i._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),ct={class:"ponit_title"},ut={class:"point_list"},dt=["onMousedown"],pt={class:"placement_point_item placement_point_item_btn"},mt={class:"placement_content_operate_list"},ht=(0,i._)("div",{class:"placement_remove_point_block"},null,-1),ft={class:"placement_content_operate_des"},vt={class:"placement_tip_content"},gt={class:"img_preview_block"},bt={class:"perview_mark_loading"},yt={class:"img_content_block",ref:"imgbox"},wt=["onMousedown"],St={class:"icon iconfont icon-guanbi"},_t=["src"];function kt(e,t,o,a,r,s){const c=(0,i.up)("a-select"),u=(0,i.up)("a-spin"),d=(0,i.up)("vue-cropper"),p=(0,i.up)("a-modal");return e.placementShow?((0,i.wg)(),(0,i.iD)("div",ze,[(0,i.Wm)(p,{class:"models_placement_component",visible:e.placementShow,"onUpdate:visible":t[11]||(t[11]=t=>e.placementShow=t),footer:null,width:"111.5rem",maskClosable:!1,keyboard:!1,centered:!0},{closeIcon:(0,i.w5)((()=>[(0,i._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,l.iM)((t=>e.closeModal()),["stop"]))},$e)])),default:(0,i.w5)((()=>[(0,i._)("div",Ae,[(0,i._)("div",Ve,[(0,i._)("div",Ze,(0,n.zw)(e.$t("ModelPlacement.Registration")),1),(0,i._)("div",We,[(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[Ye,(0,i._)("div",qe,(0,n.zw)(e.$t("ModelPlacement.Submit")),1)],512),[[l.F8,6==e.locationList.length]]),(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[2]||(t[2]=(...t)=>e.printPreview&&e.printPreview(...t))},[Ke,(0,i._)("div",Ge,(0,n.zw)(e.$t("ModelPlacement.Preview")),1)],512),[[l.F8,6==e.locationList.length]]),(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[3]||(t[3]=(...t)=>e.backPreview&&e.backPreview(...t))},[Je,(0,i._)("div",Xe,(0,n.zw)(e.$t("ModelPlacement.Back")),1)],512),[[l.F8,e.perviewUrl]]),(0,i._)("div",{class:"operate_item",onClick:t[4]||(t[4]=(...t)=>e.restoreLocationList&&e.restoreLocationList(...t))},[Qe,(0,i._)("div",et,(0,n.zw)(e.$t("ModelPlacement.Restore")),1)])])]),88==e.userInfo.userId||83==e.userInfo.userId?((0,i.wg)(),(0,i.iD)("div",tt,[(0,i._)("div",ot,[(0,i._)("div",it,[(0,i._)("input",{type:"checkbox",model:"false",onClick:t[5]||(t[5]=()=>{e.modelType="System"})}),(0,i.Uk)(" "+(0,n.zw)(e.$t("ModelPlacement.System")),1)]),(0,i._)("div",nt,[(0,i._)("input",{type:"checkbox",model:"false",onClick:t[6]||(t[6]=()=>{e.modelType="Library"})}),(0,i.Uk)(" "+(0,n.zw)(e.$t("ModelPlacement.Library")),1)])])])):(0,i.kq)("",!0),(0,i._)("div",lt,[(0,i._)("div",at,[(0,i._)("div",rt,[(0,i.Wm)(c,{ref:"select",value:e.sex.name,"onUpdate:value":t[7]||(t[7]=t=>e.sex.name=t),options:e.sexList},{suffixIcon:(0,i.w5)((()=>[st])),_:1},8,["value","options"])]),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.pointList,((t,o)=>((0,i.wg)(),(0,i.iD)("div",{class:"placement_point_item",key:o},[(0,i._)("div",ct,(0,n.zw)(t.title),1),(0,i._)("div",ut,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(t.pointList,(t=>((0,i.wg)(),(0,i.iD)("div",{class:"point_item",key:t.color,style:(0,n.j5)({borderColor:t.color,visibility:t.show?"inherit":"hidden"}),onMousedown:o=>e.AddDian(t)},[(0,i._)("div",{class:"point_block",style:(0,n.j5)({background:t.color})},null,4)],44,dt)))),128))])])))),128)),(0,i._)("div",pt,[(0,i._)("span",{class:"started_btn",onClick:t[8]||(t[8]=(...t)=>e.setPoint&&e.setPoint(...t))},(0,n.zw)(e.$t("ModelPlacement.Point")),1)])]),(0,i._)("div",mt,[(0,i._)("div",{class:"placement_content_operate_item",onClick:t[9]||(t[9]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},[ht,(0,i._)("div",ft,(0,n.zw)(e.$t("ModelPlacement.RemovePoint")),1)])]),(0,i._)("div",vt,(0,n.zw)(e.$t("ModelPlacement.mannequinHint")),1),(0,i._)("div",gt,[(0,i.wy)((0,i._)("div",bt,[(0,i.Wm)(u,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,i._)("div",yt,[(0,i._)("div",{style:(0,n.j5)({width:e.imgBox.width+"px",height:e.imgBox.height+"px",top:e.imgBox.y+"px",left:e.imgBox.x+"px",position:"absolute"})},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.locationList,((o,a)=>(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",{class:(0,n.C_)(["ponit_click",e.isRemoveStatus?"remove_point_click":""]),key:o,style:(0,n.j5)({left:o.left+"px",top:o.top+"px",borderColor:o.color}),onMousedown:t=>e.getMouseDown(t,o,a),onMousemove:t[10]||(t[10]=t=>e.startMove(t))},[(0,i.wy)((0,i._)("div",{class:"placement_add_point_content",style:(0,n.j5)({background:o.color})},null,4),[[l.F8,!e.isRemoveStatus]]),(0,i.wy)((0,i._)("div",St,null,512),[[l.F8,e.isRemoveStatus]])],46,wt)),[[l.F8,!e.perviewUrl]]))),128))],4),(0,i.wy)((0,i.Wm)(d,{ref:"cropper",img:e.option.img,outputSize:e.option.outputSize,outputType:e.option.outputType,info:e.option.info,canScale:e.option.canScale,autoCrop:e.option.autoCrop,fixed:e.option.fixed,fixedNumber:e.option.fixedNumber,full:e.option.full,fixedBox:e.option.fixedBox,canMove:e.option.canMove,canMoveBox:e.option.canMoveBox,original:e.option.original,centerBox:e.option.centerBox,height:e.option.height,infoTrue:e.option.infoTrue,limitMinSize:e.option.limitMinSize,enlarge:e.option.enlarge,onRealTime:e.realTime,autoCropArea:1,autoCropHeight:e.option.autoCropHeight,autoCropWidth:e.option.autoCropWidth,mode:e.option.mode},null,8,["img","outputSize","outputType","info","canScale","autoCrop","fixed","fixedNumber","full","fixedBox","canMove","canMoveBox","original","centerBox","height","infoTrue","limitMinSize","enlarge","onRealTime","autoCropHeight","autoCropWidth","mode"]),[[l.F8,!e.perviewUrl]]),(0,i.wy)((0,i._)("img",{class:"placement_img",src:e.perviewUrl||e.printObject?.url},null,8,_t),[[l.F8,e.perviewUrl]])],512)])])])])),_:1},8,["visible"])])):(0,i.kq)("",!0)}var xt=o(6214),Ct=o(7332),Ot=o(2339),Lt=o(2323),Pt=o(3907),Ut=o(327),jt=o(8302),It=o(8552),Tt=(0,i.aZ)({components:{VueCropper:Lt.AK},setup(){const e=(0,Pt.oR)();let t=(0,De.iH)([]),o=(0,De.iH)([]),i=(0,De.iH)({}),n=(0,De.iH)({}),l=(0,De.iH)(null),a=(0,De.iH)({}),r=(0,De.iH)([]),s=(0,De.iH)([]),c=(0,De.iH)(!1),u=(0,De.iH)(!1),d=(0,De.iH)(),p=(0,De.iH)({}),m=(0,De.iH)([]),h=(0,De.iH)(),{t:f}=(0,It.QT)();return{store:e,oldLocationList:t,locationList:o,printObject:i,imgBox:n,intObj:l,currentSign:a,oldPointList:r,pointList:s,isSubmit:c,manager:u,userInfo:d,sex:p,sexList:m,cropperTime:h,t:f}},data(){return{placementShow:!1,collectionIndex:0,startDian:!1,moveOriginal:{posX:0,posY:0},isRemoveStatus:!1,placement_sacle:30,perviewUrl:"",isShowMark:!1,modelType:"Library",option:{img:"",outputSize:1,outputType:"png",info:!1,canScale:!0,autoCrop:!0,autoCropWidth:"0",autoCropHeight:"0",fixed:!0,fixedBox:!0,fixedNumber:[1,2.125],full:!1,canMove:!0,canMoveBox:!1,original:!1,centerBox:!1,height:!0,infoTrue:!0,maxImgSize:"2000",enlarge:7,mode:"auto 90%",limitMinSize:"100%",imgLoad:()=>{}}}},mounted(){let e=(0,Ot.ej)("userInfo");this.userInfo=JSON.parse(e),this.getSex()},methods:{formatter(e){return`${e}%`},showPlacementModal(e,t){this.sex=t,this.placementShow=!0,this.printObject={...e},this.option.img=this.printObject.url,setTimeout((()=>{(0,i.Y3)().then((()=>{let e=new Image;e.src=this.option.img;let t=this.$refs.imgbox,o=t.getElementsByClassName("cropper-crop-box")[0],i=t.getElementsByClassName("cropper-view-box")[0],n=document.createElement("div"),l=document.createElement("div"),a=document.createElement("div");t.getElementsByClassName("cropper-view-box-Bg").length>=1||(n.classList.add("cropper-view-box-Bg"),l.classList.add("cropper-view-box-Bg"),a.classList.add("cropper-view-box-Bg"),n.classList.add("cropper-view-box-Top"),l.classList.add("cropper-view-box-Bottom"),a.classList.add("cropper-view-box-Center"),i.appendChild(n),i.appendChild(l),i.appendChild(a)),o.addEventListener("mousemove",this.startMove),this.setImageSize()}))}),800)},setCropperWH(){let e=this.$refs.cropper;e.h==e.cropH?(e.cropH=e.scale*e.trueHeight,e.cropW=e.cropH/2.125,e.cropOffsertX=e.getImgAxis().x1+(e.scale*e.trueWidth/2-e.cropW/2),e.cropOffsertY=e.getImgAxis().y1):this.getDefaultPointList(this.imgBox," ")},realTime(e){clearTimeout(this.cropperTime),this.cropperTime=setTimeout((()=>{this.setImageSize()}),100)},setImageSize(){this.setCropperWH();let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")[0],o=(t.getBoundingClientRect(),e.getBoundingClientRect()),i=this.$refs.cropper;this.imgBox={width:i.cropW,height:i.cropH,left:o.left,top:o.top,scrollTop:t.scrollTop||0,x:i.getCropAxis().x1,y:i.getCropAxis().y1}},getSex(){xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{t.push({value:e.name,label:e.value})})),this.sexList=t}}))},setMove(){},getDefaultPointList(e,t){this.isSubmit=!1,this.locationList=[],this.pointList=[{title:this.t("ModelPlacement.SHOULDER"),pointList:[{type:"shoulderLeft",color:"#6E70FF",show:!0,field:"shoulder"},{type:"shoulderRight",color:"#6E70FF",show:!0,field:"shoulder"}]},{title:this.t("ModelPlacement.WAISTBAND"),pointList:[{type:"waistbandLeft",color:"#6FCEFF",show:!0,field:"waistband"},{type:"waistbandRight",color:"#6FCEFF",show:!0,field:"waistband"}]},{title:this.t("ModelPlacement.HAND"),pointList:[{type:"handLeft",color:"#d88e8e",show:!0,field:"hand"},{type:"handRight",color:"#d88e8e",show:!0,field:"hand"}]}];for(let o of this.pointList)for(let t of o.pointList)if(this.printObject[t.type]?.length){t.show=!1;let o={left:this.printObject[t.type][0]*e.width-12,top:this.printObject[t.type][1]*e.height-12,color:t.color,type:t.type,field:t.field};this.locationList.push(o)}"setPoint"!=t?(this.isSubmit=!0,this.oldLocationList=JSON.parse(JSON.stringify(this.locationList)),this.oldPointList=JSON.parse(JSON.stringify(this.pointList))):(this.option.canScale=!0,this.option.canMove=!0)},setPoint(){let e=this.printObject.file,t=this.printObject.url;this.printObject={shoulderLeft:[.3338,.1858],shoulderRight:[.6644,.1858],waistbandLeft:[.3758,.364],waistbandRight:[.6103,.364],handLeft:[.3277,.4687],handRight:[.6764,.4715],file:e,url:t},this.getDefaultPointList(this.imgBox,"setPoint")},AddDian(e){e.show&&(this.startDian=!0,this.isRemoveStatus=!1,this.intObj=e)},changeRemoveStatus(){this.isRemoveStatus=!0},startMove(e){if(this.isRemoveStatus)return;let t=this.$refs.imgbox,o=t.getElementsByClassName("cropper-crop-box")[0],i=o.scrollTop;this.intObj?(this.currentSign.left=e.clientX-this.imgBox.left,this.currentSign.top=e.clientY+i-this.imgBox.top,this.currentSign.color=this.intObj.color,this.currentSign.type=this.intObj.type,this.currentSign.field=this.intObj.field,this.locationList.push(this.currentSign),this.intObj.show=!1,this.intObj=null):this.startDian&&(this.currentSign.left=e.clientX-this.imgBox.left-this.imgBox.x-this.moveOriginal.posX-12,this.currentSign.top=e.clientY+i-this.imgBox.top-this.imgBox.y-this.moveOriginal.posY-12,document.addEventListener("mouseup",this.getMouseOver),this.$forceUpdate(),this.setBoundarySign())},setBoundarySign(){let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")[0],o=this.$refs.cropper.getCropAxis().y1,i=this.$refs.cropper.getCropAxis().x1,n=t.offsetHeight,l=n-24,a=t.clientWidth-24;this.currentSign.top+o<=0?this.currentSign.top=0:this.currentSign.top>=l+o&&(this.currentSign.top=l+o),this.currentSign.left+i<=0?this.currentSign.left=0:this.currentSign.left>=a+i&&(this.currentSign.left=a+i)},getMouseDown(e,t,o){if(this.isRemoveStatus){for(let e of this.pointList)for(let o of e.pointList)if(t.type==o.type){o.show=!0;break}this.locationList.splice(o,1)}else this.currentSign=t,this.moveOriginal.posX=0,this.moveOriginal.posY=0,this.startDian=!0},getMouseOver(){this.startDian=!1,this.currentSign={},document.removeEventListener("mouseup",this.getMouseOver)},closeModal(){let e=this;this.isSubmit?(e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""):Ut.Z.confirm({title:this.t("ModelPlacement.jsContent1"),icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,centered:!0,onOk(){e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""}})},restoreLocationList(){this.locationList=[],this.pointList=JSON.parse(JSON.stringify(this.oldPointList)),this.locationList=JSON.parse(JSON.stringify(this.oldLocationList))},submitPlacement(){let e=this.$refs.cropper;"System"==this.modelType&&88==this.userInfo.userId||"System"==this.modelType&&83==this.userInfo.userId?this.printObject.templateId?(this.printObject.id=this.printObject.relationId,this.confrimSubmit()):this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1})):e.getCropData((async e=>{if(this.printObject.templateId)this.printObject.id=this.printObject.relationId,this.confrimSubmit();else{let t=(0,Ct._x)(e,this.printObject.file.name);t.uid=this.printObject.file.uid,this.printObject.file=t,this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1}))}}))},confrimSubmit(){let e={libraryId:this.printObject.id,templateId:this.printObject.templateId||null,modelType:"Library",modelSex:this.sex.value,checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()};88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType),this.isShowMark=!0,xt.V.axiosPost(xt.V.httpUrls.saveOrEditTemplatePoint,e).then((e=>{this.isShowMark=!1,this.isSubmit=!0,this.$emit("submitModelPlacement"),this.closeModal()})).catch((e=>{this.isShowMark=!1}))},customRequest(){let e={file:this.printObject.file,level1Type:"Models",level2Type:"",checkMd5:1,sex:this.sex.value,modelType:"Library",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};return 88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType),this.isShowMark=!0,new Promise(((t,o)=>{xt.V.axiosPost(xt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((o=>{o.checkMd5?t(o):t(this.affirmCstomRequest(e))})).catch((e=>{o(e)}))}))},affirmCstomRequest(e){let t=this;return new Promise(((o,n)=>{Ut.Z.confirm({title:this.t("ModelPlacement.jsContent2"),icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",centered:!0,mask:!1,onOk(){e.checkMd5=0,xt.V.axiosPost(xt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{t.isShowMark=!1,o(e)})).catch((e=>{n(e)}))},onCancel(){t.isShowMark=!1}})}))},getPrintLocation(){let{width:e,height:t}=this.imgBox,o={},i={},n=JSON.parse(JSON.stringify(this.locationList));for(let l of n)o[l.field]=o[l.field]||[],o[l.field].push(l);for(let l in o)o[l].sort(this.sortBy("left")),o[l].forEach(((o,n)=>{o.type=n?o.field+"Right":o.field+"Left",o.left=((o.left+12)/e).toFixed(4),o.top=((o.top+12)/t).toFixed(4),i[o.type]=[o.left,o.top]}));return i},sortBy(e){return function(t,o){return t[e]-o[e]}},async printPreview(){let e=this.printObject.templateId?null:this.printObject.file,t={libraryId:this.printObject.relationId||null,templateId:this.printObject.templateId||null,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()},o=this.$refs.cropper;await o.getCropData((o=>{e=(0,Ct._x)(o,this.printObject.name),e.uid=this.printObject.file?.uid?this.printObject.file.uid:"";let i=new FormData;i.append("file",e),i.append("models",new Blob([JSON.stringify(t)],{type:"application/json"})),this.isShowMark||(this.isShowMark=!0,xt.V.axiosPost(xt.V.httpUrls.libraryModelsDot,i,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{this.perviewUrl=e,this.isShowMark=!1})).catch((e=>{this.isShowMark=!1})))}))},backPreview(){this.perviewUrl=""}}}),Mt=o(3744);const Ft=(0,Mt.Z)(Tt,[["render",kt]]);var Et=Ft;const Nt={class:"setLabel_centent"},Ht={class:"optionsItem"},Dt=["title"],Bt=["onClick"],zt=["onClick"],Rt={class:"childrenItem active"},$t=["title"],At=["onClick"],Vt=["onClick"],Zt={class:"newLabel setLabel_text"},Wt=["onClick"],Yt=["onClick"],qt={class:"newLabel setLabel_text optionsItem_title"};function Kt(e,t,o,a,r,s){const c=(0,i.up)("a-checkbox"),u=(0,i.up)("a-modal"),d=(0,i.Q2)("mousewheel");return(0,i.wg)(),(0,i.j4)(u,{class:"library_setLabel",visible:e.setLabelShow,"onUpdate:visible":t[8]||(t[8]=t=>e.setLabelShow=t),footer:null,title:e.$t("setLabel.EditTag"),width:"65%",maskClosable:!1,keyboard:!1,centered:!0,onCancel:e.clearSetLabel},{default:(0,i.w5)((()=>[(0,i._)("div",Nt,[(0,i._)("ul",Ht,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.options,((o,a)=>((0,i.wg)(),(0,i.iD)("li",{class:"optionsItem_title",onClick:t[3]||(t[3]=(0,l.iM)((()=>{}),["stop"])),key:o.id},[(0,i._)("div",{class:(0,n.C_)(["setLabel_text",{active:o.checkAll}])},[(0,i.Wm)(c,{checked:o.checkAll,"onUpdate:checked":e=>o.checkAll=e,onChange:t=>e.onCheckAllChange(o)},null,8,["checked","onUpdate:checked","onChange"]),(0,i.wy)((0,i._)("span",{title:o.classificationName},(0,n.zw)(o.classificationName),9,Dt),[[l.F8,!o.openType]]),(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=t=>e.itemName=t)},null,512),[[l.F8,o.openType],[l.nr,e.itemName]]),(0,i.wy)((0,i._)("i",{onClick:(0,l.iM)((t=>e.putName(a,"affirm",o)),["stop"]),class:"fi fi-br-check"},null,8,Bt),[[l.F8,o.openType]]),(0,i.wy)((0,i._)("i",{onClick:(0,l.iM)((t=>e.putName(a,"put",o)),["stop"]),class:"fi fi-rr-edit"},null,8,zt),[[l.F8,!o.openType]])],2),(0,i.wy)(((0,i.wg)(),(0,i.iD)("ul",Rt,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(o.childList,((a,r)=>((0,i.wg)(),(0,i.iD)("li",{class:(0,n.C_)(["childrenItem_title setLabel_text",{active:a.checkAll}]),key:a.id},[(0,i.Wm)(c,{checked:a.checkAll,"onUpdate:checked":e=>a.checkAll=e,onChange:t=>e.onCheckAllchildrenItem(o)},null,8,["checked","onUpdate:checked","onChange"]),(0,i.wy)((0,i._)("span",{title:a.classificationName},(0,n.zw)(a.classificationName),9,$t),[[l.F8,!a.openType]]),(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=t=>e.itemName=t)},null,512),[[l.F8,a.openType],[l.nr,e.itemName]]),(0,i.wy)((0,i._)("i",{onClick:(0,l.iM)((t=>e.putName(r,"affirm",a)),["stop"]),class:"fi fi-br-check"},null,8,At),[[l.F8,a.openType]]),(0,i.wy)((0,i._)("i",{onClick:(0,l.iM)((t=>e.putName(r,"put",a)),["stop"]),class:"fi fi-rr-edit"},null,8,Vt),[[l.F8,!a.openType]])],2)))),128)),(0,i._)("li",Zt,[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=t=>e.itemName=t)},null,512),[[l.F8,o.addOpenType],[l.nr,e.itemName]]),(0,i.wy)((0,i._)("i",{onClick:(0,l.iM)((t=>e.putName(-1,"affirm",o)),["stop"]),class:"fi fi-br-check"},null,8,Wt),[[l.F8,o.addOpenType]]),(0,i.wy)((0,i._)("div",{class:"addLabel",onClick:t=>e.newLabel(o,o.id)},"+",8,Yt),[[l.F8,!o.addOpenType]])])])),[[d]])])))),128)),(0,i._)("li",qt,[(0,i._)("div",null,[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[4]||(t[4]=t=>e.itemName=t)},null,512),[[l.F8,e.openType],[l.nr,e.itemName]]),(0,i.wy)((0,i._)("i",{onClick:t[5]||(t[5]=(0,l.iM)((t=>e.putName(-1,"affirm","")),["stop"])),class:"fi fi-br-check"},null,512),[[l.F8,e.openType]]),(0,i.wy)((0,i._)("div",{class:"addLabel",onClick:t[6]||(t[6]=t=>e.newLabel("",""))},"+",512),[[l.F8,!e.openType]])]),(0,i._)("div",{class:"started_btn",onClick:t[7]||(t[7]=t=>e.removeLabel(e.options))},"Delete")])])])])),_:1},8,["visible","title","onCancel"])}var Gt=o(1446),Jt=(0,i.aZ)({components:{VueCropper:Lt.AK},setup(){let e=(0,De.iH)(!1),t=(0,De.iH)(!0),o=(0,De.iH)([]),n=(0,i.f3)("type"),l=(0,De.iH)([]),a=(0,De.iH)(!1),r=(0,De.iH)(""),{t:s}=(0,It.QT)();return{multiple:e,indeterminate:t,value:(0,De.iH)([]),options:o,checkedList:l,openType:a,type:n,itemName:r,t:s}},data(){return{setLabelShow:!1}},mounted(){},watch:{},directives:{mousewheel:{mounted(e){let t=document.getElementsByClassName("setLabel_centent")[0];(0,i.Y3)().then((()=>{let o=document.getElementsByClassName("childrenItem"),i=e=>{e.stopPropagation(),t.classList.add("active")},n=e=>{e.stopPropagation(),t.classList.remove("active")};for(let e=0;e{let o=0;o=t.deltaY>0?25:-25,e.scrollBy(o,0)}),!0)}))}}},methods:{init(e,t){this.setLabelShow=!0,this.multiple="add"!==e,this.clearOpenType(),this.options=t},clearSetLabel(){this.clearOpenType();let e=this.$parent;e.getClass()},onCheckAllChange(e){e?.childList&&e?.childList.forEach((t=>{t.checkAll=e.checkAll}))},onCheckAllchildrenItem(e){let t=e?.childList.every((e=>e.checkAll));e.checkAll=!!t},clearOpenType(){this.options.forEach((e=>{e.openType=!1,e.addOpenType=!1,e?.childList&&e?.childList?.forEach((e=>{e.openType=!1}))})),this.openType=!1},putName(e,t,o){let i;if("put"==t)this.clearOpenType(),document.addEventListener("click",this.clearOpenType),o.openType=!0,this.itemName=o.classificationName;else if("affirm"==t){if(-1==e){if(""==this.itemName)return void Gt.ZP.warning(this.t("setLabel.jsContent1"));o?(o.addOpenType=!1,i={classificationName:this.itemName,parentId:o.id}):(this.openType=!1,i={classificationName:this.itemName,parentId:""})}else i={id:o.id,classificationName:this.itemName},o.classificationName=this.itemName,o.openType=!1;this.addLabel(i),document.removeEventListener("click",this.clearOpenType)}},newLabel(e,t){this.itemName="",this.clearOpenType(),e?e.addOpenType=!0:this.openType=!0},removeLabel(e){let t={classificationIdList:[],deleteConfirm:0},o=[];this.clearOpenType(),e.forEach((e=>{e.checkAll?o.push(e.id):e.childList&&e.childList.forEach((e=>{e.checkAll&&o.push(e.id)}))})),t.classificationIdList=o,this.deleteClass(t)},addLabel(e){let t=this.setLabelData();e.parentId&&(t.parentId=e.parentId),e.id&&(t.id=e.id),t.classificationName=e.classificationName,xt.V.axiosPost(xt.V.httpUrls.saveOrUpdate,t).then((e=>{this.getClass()})).catch((e=>{this.getClass()}))},deleteClass(e){xt.V.axiosPost(xt.V.httpUrls.classificationDelete,e).then((e=>{this.getClass()})).catch((t=>{if(2===t.errCode){let o=this;Ut.Z.confirm({title:t.errMsg,icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,centered:!0,onOk(){e.deleteConfirm=1,o.deleteClass(e)},onCancel(){}})}}))},getClass(){let e=this.setLabelData();xt.V.axiosPost(xt.V.httpUrls.queryClassification,e).then((e=>{this.options=e})).catch((e=>{}))},setLabelData(){let e={classificationIdList:[],classificationName:"123221",createTime:"",deleteConfirm:"",id:"",libraryId:"",parentId:"",type:this.type?.selectCode._value,updateTime:"",userId:""};return e}}});const Xt=(0,Mt.Z)(Jt,[["render",Kt]]);var Qt=Xt;const eo={key:0},to=(0,i._)("span",{class:"icon iconfont icon-guanbi"},null,-1),oo=[to],io={class:"models_placement_body"},no={class:"palcement_modal_header"},lo={class:"models_placement_title"},ao={class:"placement_operate_list"},ro=(0,i._)("div",{class:"icon iconfont icon-baocun1 operate_icon"},null,-1),so={class:"operate_item_des"},co=(0,i._)("div",{class:"icon iconfont icon-shengchengyulan operate_icon"},null,-1),uo={class:"operate_item_des"},po=(0,i._)("div",{class:"icon iconfont icon-fanhui1 operate_icon"},null,-1),mo={class:"operate_item_des"},ho=(0,i._)("div",{class:"icon iconfont icon-huifu operate_icon"},null,-1),fo={class:"operate_item_des"},vo={key:0,class:"plcaement_point_content"},go={style:{display:"flex","align-items":"center"}},bo={style:{display:"flex","align-items":"center"}},yo={style:{display:"flex","align-items":"center"}},wo={class:"models_placement_content"},So={class:"plcaement_point_content"},_o={class:"select_block"},ko=(0,i._)("span",{class:"icon iconfont icon-xiala",style:{color:"#343579"}},null,-1),xo={class:"ponit_title"},Co={class:"point_list"},Oo=["onTouchstart"],Lo={class:"placement_point_item placement_point_item_btn"},Po={class:"placement_content_operate_list"},Uo=(0,i._)("div",{class:"placement_remove_point_block"},null,-1),jo={class:"placement_content_operate_des"},Io={class:"placement_tip_content"},To={class:"img_preview_block"},Mo={class:"perview_mark_loading"},Fo={class:"img_content_block",ref:"imgbox"},Eo=["onTouchstart"],No={class:"icon iconfont icon-guanbi"},Ho=["src"];function Do(e,t,o,a,r,s){const c=(0,i.up)("a-select"),u=(0,i.up)("a-spin"),d=(0,i.up)("vue-cropper"),p=(0,i.up)("a-modal");return e.placementShow?((0,i.wg)(),(0,i.iD)("div",eo,[(0,i.Wm)(p,{class:"models_placement_component",visible:e.placementShow,"onUpdate:visible":t[12]||(t[12]=t=>e.placementShow=t),footer:null,width:"111.5rem",maskClosable:!1,keyboard:!1,centered:!0},{closeIcon:(0,i.w5)((()=>[(0,i._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,l.iM)((t=>e.closeModal()),["stop"]))},oo)])),default:(0,i.w5)((()=>[(0,i._)("div",io,[(0,i._)("div",no,[(0,i._)("div",lo,(0,n.zw)(e.$t("ModelPlacement.Registration")),1),(0,i._)("div",ao,[(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[1]||(t[1]=(...t)=>e.submitPlacement&&e.submitPlacement(...t))},[ro,(0,i._)("div",so,(0,n.zw)(e.$t("ModelPlacement.Submit")),1)],512),[[l.F8,6==e.locationList.length]]),(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[2]||(t[2]=(...t)=>e.printPreview&&e.printPreview(...t))},[co,(0,i._)("div",uo,(0,n.zw)(e.$t("ModelPlacement.Preview")),1)],512),[[l.F8,6==e.locationList.length]]),(0,i.wy)((0,i._)("div",{class:"operate_item",onClick:t[3]||(t[3]=(...t)=>e.backPreview&&e.backPreview(...t))},[po,(0,i._)("div",mo,(0,n.zw)(e.$t("ModelPlacement.Back")),1)],512),[[l.F8,e.perviewUrl]]),(0,i._)("div",{class:"operate_item",onClick:t[4]||(t[4]=(...t)=>e.restoreLocationList&&e.restoreLocationList(...t))},[ho,(0,i._)("div",fo,(0,n.zw)(e.$t("ModelPlacement.Restore")),1)])])]),88==e.userInfo.userId||83==e.userInfo.userId?((0,i.wg)(),(0,i.iD)("div",vo,[(0,i._)("div",go,[(0,i._)("div",bo,[(0,i._)("input",{type:"checkbox",model:"false",onClick:t[5]||(t[5]=()=>{e.modelType="System"})}),(0,i.Uk)(" "+(0,n.zw)(e.$t("ModelPlacement.System")),1)]),(0,i._)("div",yo,[(0,i._)("input",{type:"checkbox",model:"false",onClick:t[6]||(t[6]=()=>{e.modelType="Library"})}),(0,i.Uk)(" "+(0,n.zw)(e.$t("ModelPlacement.Library")),1)])])])):(0,i.kq)("",!0),(0,i._)("div",wo,[(0,i._)("div",So,[(0,i._)("div",_o,[(0,i.Wm)(c,{ref:"select",value:e.sex.name,"onUpdate:value":t[7]||(t[7]=t=>e.sex.name=t),options:e.sexList},{suffixIcon:(0,i.w5)((()=>[ko])),_:1},8,["value","options"])]),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.pointList,((o,l)=>((0,i.wg)(),(0,i.iD)("div",{class:"placement_point_item",key:l,onTouchmove:t[8]||(t[8]=t=>e.startMove(t))},[(0,i._)("div",xo,(0,n.zw)(o.title),1),(0,i._)("div",Co,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(o.pointList,(t=>((0,i.wg)(),(0,i.iD)("div",{class:"point_item",key:t.color,style:(0,n.j5)({borderColor:t.color,visibility:t.show?"inherit":"hidden"}),onTouchstart:o=>e.AddDian(t)},[(0,i._)("div",{class:"point_block",style:(0,n.j5)({background:t.color})},null,4)],44,Oo)))),128))])],32)))),128)),(0,i._)("div",Lo,[(0,i._)("span",{class:"started_btn",onClick:t[9]||(t[9]=(...t)=>e.setPoint&&e.setPoint(...t))},(0,n.zw)(e.$t("ModelPlacement.Point")),1)])]),(0,i._)("div",Po,[(0,i._)("div",{class:"placement_content_operate_item",onClick:t[10]||(t[10]=(...t)=>e.changeRemoveStatus&&e.changeRemoveStatus(...t))},[Uo,(0,i._)("div",jo,(0,n.zw)(e.$t("ModelPlacement.RemovePoint")),1)])]),(0,i._)("div",Io,(0,n.zw)(e.$t("ModelPlacement.mannequinHint")),1),(0,i._)("div",To,[(0,i.wy)((0,i._)("div",Mo,[(0,i.Wm)(u,{size:"large"})],512),[[l.F8,e.isShowMark]]),(0,i._)("div",Fo,[(0,i._)("div",{style:(0,n.j5)({width:e.imgBox.width+"px",height:e.imgBox.height+"px",top:e.imgBox.y+"px",left:e.imgBox.x+"px",position:"absolute"})},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.locationList,((o,a)=>(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",{class:(0,n.C_)(["ponit_click",e.isRemoveStatus?"remove_point_click":""]),key:o,style:(0,n.j5)({left:o.left+"px",top:o.top+"px",borderColor:o.color}),onTouchstart:t=>e.getMouseDown(t,o,a),onTouchmove:t[11]||(t[11]=t=>e.startMove(t))},[(0,i.wy)((0,i._)("div",{class:"placement_add_point_content",style:(0,n.j5)({background:o.color})},null,4),[[l.F8,!e.isRemoveStatus]]),(0,i.wy)((0,i._)("div",No,null,512),[[l.F8,e.isRemoveStatus]])],46,Eo)),[[l.F8,!e.perviewUrl]]))),128))],4),(0,i.wy)((0,i.Wm)(d,{ref:"cropper",img:e.option.img,outputSize:e.option.outputSize,outputType:e.option.outputType,info:e.option.info,canScale:e.option.canScale,autoCrop:e.option.autoCrop,fixed:e.option.fixed,fixedNumber:e.option.fixedNumber,full:e.option.full,fixedBox:e.option.fixedBox,canMove:e.option.canMove,canMoveBox:e.option.canMoveBox,original:e.option.original,centerBox:e.option.centerBox,height:e.option.height,infoTrue:e.option.infoTrue,limitMinSize:e.option.limitMinSize,enlarge:e.option.enlarge,onRealTime:e.realTime,autoCropArea:1,autoCropHeight:e.option.autoCropHeight,autoCropWidth:e.option.autoCropWidth,mode:e.option.mode},null,8,["img","outputSize","outputType","info","canScale","autoCrop","fixed","fixedNumber","full","fixedBox","canMove","canMoveBox","original","centerBox","height","infoTrue","limitMinSize","enlarge","onRealTime","autoCropHeight","autoCropWidth","mode"]),[[l.F8,!e.perviewUrl]]),(0,i.wy)((0,i._)("img",{class:"placement_img",src:e.perviewUrl||e.printObject?.url},null,8,Ho),[[l.F8,e.perviewUrl]])],512)])])])])),_:1},8,["visible"])])):(0,i.kq)("",!0)}var Bo=(0,i.aZ)({components:{VueCropper:Lt.AK},setup(){const e=(0,Pt.oR)();let t=(0,De.iH)([]),o=(0,De.iH)([]),i=(0,De.iH)({}),n=(0,De.iH)({}),l=(0,De.iH)(null),a=(0,De.iH)({}),r=(0,De.iH)([]),s=(0,De.iH)([]),c=(0,De.iH)(!1),u=(0,De.iH)(!1),d=(0,De.iH)(),p=(0,De.iH)({}),m=(0,De.iH)([]),h=(0,De.iH)(),f=(0,De.iH)({img:"",outputSize:1,outputType:"png",info:!1,canScale:!0,autoCrop:!0,autoCropWidth:"0",autoCropHeight:"0",fixed:!0,fixedBox:!0,fixedNumber:[1,2.125],full:!1,canMove:!0,canMoveBox:!1,original:!1,centerBox:!1,height:!0,infoTrue:!0,maxImgSize:"2000",enlarge:7,mode:"auto 90%",limitMinSize:"100%",imgLoad:()=>{}}),{t:v}=(0,It.QT)();return{store:e,oldLocationList:t,locationList:o,printObject:i,imgBox:n,intObj:l,currentSign:a,oldPointList:r,pointList:s,isSubmit:c,manager:u,userInfo:d,sex:p,sexList:m,cropperTime:h,option:f,t:v}},data(){return{placementShow:!1,collectionIndex:0,startDian:!1,moveOriginal:{posX:0,posY:0},isRemoveStatus:!1,placement_sacle:30,perviewUrl:"",isShowMark:!1,modelType:"Library"}},mounted(){let e=(0,Ot.ej)("userInfo");this.userInfo=JSON.parse(e),this.getSex(),this.option.imgLoad=()=>{this.setImageSize()}},methods:{formatter(e){return`${e}%`},showPlacementModal(e,t){this.sex=t,this.placementShow=!0,this.printObject={...e},this.option.img=this.printObject.url,setTimeout((()=>{(0,i.Y3)().then((()=>{let e=new Image;e.src=this.option.img;let t=this.$refs.imgbox,o=t.getElementsByClassName("cropper-crop-box")[0],i=t.getElementsByClassName("cropper-view-box")[0],n=document.createElement("div"),l=document.createElement("div"),a=document.createElement("div");t.getElementsByClassName("cropper-view-box-Bg").length>=1||(n.classList.add("cropper-view-box-Bg"),l.classList.add("cropper-view-box-Bg"),a.classList.add("cropper-view-box-Bg"),n.classList.add("cropper-view-box-Top"),l.classList.add("cropper-view-box-Bottom"),a.classList.add("cropper-view-box-Center"),i.appendChild(n),i.appendChild(l),i.appendChild(a)),o.addEventListener("touchmove",this.startMove),this.setImageSize()}))}),800)},setCropperWH(){let e=this.$refs.cropper;e.h==e.cropH?(e.cropH=e.scale*e.trueHeight,e.cropW=e.cropH/2.125,e.cropOffsertX=e.getImgAxis().x1+(e.scale*e.trueWidth/2-e.cropW/2),e.cropOffsertY=e.getImgAxis().y1):this.getDefaultPointList(this.imgBox," ")},realTime(e){clearTimeout(this.cropperTime),this.cropperTime=setTimeout((()=>{this.setImageSize()}),100)},setImageSize(){this.setCropperWH();let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")?.[0],o=t.getBoundingClientRect(),i=(e.getBoundingClientRect(),this.$refs.cropper);this.imgBox={width:i.cropW,height:i.cropH,left:o.left,top:o.top,scrollTop:t.scrollTop||0,x:i.getCropAxis().x1,y:i.getCropAxis().y1}},getSex(){xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{t.push({value:e.name,label:e.value})})),this.sexList=t}}))},setMove(){},getDefaultPointList(e,t){this.isSubmit=!1,this.locationList=[],this.pointList=[{title:this.t("ModelPlacement.SHOULDER"),pointList:[{type:"shoulderLeft",color:"#6E70FF",show:!0,field:"shoulder"},{type:"shoulderRight",color:"#6E70FF",show:!0,field:"shoulder"}]},{title:this.t("ModelPlacement.WAISTBAND"),pointList:[{type:"waistbandLeft",color:"#6FCEFF",show:!0,field:"waistband"},{type:"waistbandRight",color:"#6FCEFF",show:!0,field:"waistband"}]},{title:this.t("ModelPlacement.HAND"),pointList:[{type:"handLeft",color:"#d88e8e",show:!0,field:"hand"},{type:"handRight",color:"#d88e8e",show:!0,field:"hand"}]}];for(let o of this.pointList)for(let t of o.pointList)if(this.printObject[t.type]?.length){t.show=!1;let o={left:this.printObject[t.type][0]*e.width-12,top:this.printObject[t.type][1]*e.height-12,color:t.color,type:t.type,field:t.field};this.locationList.push(o)}"setPoint"!=t?(this.isSubmit=!0,this.oldLocationList=JSON.parse(JSON.stringify(this.locationList)),this.oldPointList=JSON.parse(JSON.stringify(this.pointList))):(this.option.canScale=!0,this.option.canMove=!0)},setPoint(){let e=this.printObject.file,t=this.printObject.url;this.printObject={shoulderLeft:[.3338,.1858],shoulderRight:[.6644,.1858],waistbandLeft:[.3758,.364],waistbandRight:[.6103,.364],handLeft:[.3277,.4687],handRight:[.6764,.4715],file:e,url:t},this.getDefaultPointList(this.imgBox,"setPoint")},AddDian(e){e.show&&(this.startDian=!0,this.isRemoveStatus=!1,this.intObj=e)},changeRemoveStatus(){this.isRemoveStatus=!0},startMove(e){if(this.isRemoveStatus)return;let t=this.$refs.imgbox,o=t.scrollTop;e.targetTouches[0].pageX>this.imgBox.left&&(this.intObj?(this.currentSign.left=e.targetTouches[0].pageX-this.imgBox.left,this.currentSign.top=e.targetTouches[0].pageY+o-this.imgBox.top,this.currentSign.color=this.intObj.color,this.currentSign.type=this.intObj.type,this.currentSign.field=this.intObj.field,this.locationList.push(this.currentSign),this.intObj.show=!1,this.intObj=null):this.startDian&&(this.currentSign.left=e.targetTouches[0].pageX-this.imgBox.left-12,this.currentSign.top=e.targetTouches[0].pageY+o-this.imgBox.top-12,document.addEventListener("touchend",this.getMouseOver),this.$forceUpdate(),this.setBoundarySign()))},setBoundarySign(){let e=this.$refs.imgbox,t=e.getElementsByClassName("cropper-crop-box")[0],o=this.$refs.cropper.getCropAxis().y1,i=this.$refs.cropper.getCropAxis().x1,n=t.offsetHeight,l=n-24,a=t.clientWidth-24;this.currentSign.top+o<=0?this.currentSign.top=0:this.currentSign.top>=l+o&&(this.currentSign.top=l+o),this.currentSign.left+i<=0?this.currentSign.left=0:this.currentSign.left>=a+i&&(this.currentSign.left=a+i)},getMouseDown(e,t,o){if(this.isRemoveStatus){for(let e of this.pointList)for(let o of e.pointList)if(t.type==o.type){o.show=!0;break}this.locationList.splice(o,1)}else this.currentSign=t,this.moveOriginal.posX=e.targetTouches[0].pageX-this.imgBox.left-this.currentSign.left,this.moveOriginal.posY=e.targetTouches[0].pageY-this.imgBox.top-this.currentSign.top,this.startDian=!0},getMouseOver(){this.startDian=!1,this.currentSign={},document.removeEventListener("touchend",this.getMouseOver)},closeModal(){let e=this;this.isSubmit?(e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""):Ut.Z.confirm({title:this.t("ModelPlacement.jsContent1"),icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,centered:!0,onOk(){e.oldLocationList=[],e.locationList=[],e.intObj=null,e.currentSign={},e.isRemoveStatus=!1,e.placementShow=!1,e.perviewUrl=""}})},restoreLocationList(){this.locationList=[],this.pointList=JSON.parse(JSON.stringify(this.oldPointList)),this.locationList=JSON.parse(JSON.stringify(this.oldLocationList))},submitPlacement(){let e=this.$refs.cropper;"System"==this.modelType&&88==this.userInfo.userId||"System"==this.modelType&&83==this.userInfo.userId?this.printObject.templateId?(this.printObject.id=this.printObject.relationId,this.confrimSubmit()):this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1})):e.getCropData((async e=>{if(this.printObject.templateId)this.printObject.id=this.printObject.relationId,this.confrimSubmit();else{let t=(0,Ct._x)(e,this.printObject.file.name);t.uid=this.printObject.file.uid,this.printObject.file=t,this.customRequest().then((e=>{this.isShowMark=!1,this.printObject.id=e.id,this.confrimSubmit()})).catch((e=>{this.isShowMark=!1}))}}))},confrimSubmit(){let e={libraryId:this.printObject.id,templateId:this.printObject.templateId||null,modelType:"Library",modelSex:this.sex.value,checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()};88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType),this.isShowMark=!0,xt.V.axiosPost(xt.V.httpUrls.saveOrEditTemplatePoint,e).then((e=>{this.isShowMark=!1,this.isSubmit=!0,this.$emit("submitModelPlacement"),this.closeModal()})).catch((e=>{this.isShowMark=!1}))},customRequest(){let e={file:this.printObject.file,level1Type:"Models",level2Type:"",checkMd5:1,sex:this.sex.value,modelType:"Library",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};return 88!=this.userInfo.userId&&83!=this.userInfo.userId||(e.modelType=this.modelType,e.sex=this.sex),this.isShowMark=!0,new Promise(((t,o)=>{xt.V.axiosPost(xt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((o=>{o.checkMd5?t(o):t(this.affirmCstomRequest(e))})).catch((e=>{o(e)}))}))},affirmCstomRequest(e){let t=this;return new Promise(((o,n)=>{Ut.Z.confirm({title:this.t("ModelPlacement.jsContent2"),icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",centered:!0,mask:!1,onOk(){e.checkMd5=0,xt.V.axiosPost(xt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{t.isShowMark=!1,o(e)})).catch((e=>{n(e)}))},onCancel(){t.isShowMark=!1}})}))},getPrintLocation(){let{width:e,height:t}=this.imgBox,o={},i={},n=JSON.parse(JSON.stringify(this.locationList));for(let l of n)o[l.field]=o[l.field]||[],o[l.field].push(l);for(let l in o)o[l].sort(this.sortBy("left")),o[l].forEach(((o,n)=>{o.type=n?o.field+"Right":o.field+"Left",o.left=((o.left+12)/e).toFixed(4),o.top=((o.top+12)/t).toFixed(4),i[o.type]=[o.left,o.top]}));return i},sortBy(e){return function(t,o){return t[e]-o[e]}},printPreview(){let e=this.printObject.templateId?null:this.printObject.file,t={libraryId:this.printObject.relationId||null,templateId:this.printObject.templateId||null,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...this.getPrintLocation()},o=this.$refs.cropper;o.getCropData((o=>{e=(0,Ct._x)(o,this.printObject.name),e.uid=this.printObject.file?.uid?this.printObject.file.uid:"";let i=new FormData;i.append("file",e),i.append("models",new Blob([JSON.stringify(t)],{type:"application/json"})),this.isShowMark||(this.isShowMark=!0,xt.V.axiosPost(xt.V.httpUrls.libraryModelsDot,i,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{this.perviewUrl=e,this.isShowMark=!1})).catch((e=>{this.isShowMark=!1})))}))},backPreview(){this.perviewUrl=""}}});const zo=(0,Mt.Z)(Bo,[["render",Do]]);var Ro=zo,$o=o(7729),Ao=o(4873),Vo=o(8652),Zo=o(6409);var Wo;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const Yo="undefined"!==typeof window,qo=(Object.prototype.toString,e=>"string"===typeof e),Ko=()=>{},Go=Yo&&(null==(Wo=null==window?void 0:window.navigator)?void 0:Wo.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Jo(e){return"function"===typeof e?e():(0,De.SU)(e)}function Xo(e){return e}function Qo(e){return!!(0,De.nZ)()&&((0,De.EB)(e),!0)}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function ei(e,t=!0){(0,i.FN)()?(0,i.bv)(e):t?e():(0,i.Y3)(e)}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function ti(e){var t;const o=Jo(e);return null!=(t=null==o?void 0:o.$el)?t:o}const oi=Yo?window:void 0;Yo&&window.document,Yo&&window.navigator,Yo&&window.location;function ii(...e){let t,o,n,l;if(qo(e[0])||Array.isArray(e[0])?([o,n,l]=e,t=oi):[t,o,n,l]=e,!t)return Ko;Array.isArray(o)||(o=[o]),Array.isArray(n)||(n=[n]);const a=[],r=()=>{a.forEach((e=>e())),a.length=0},s=(e,t,o,i)=>(e.addEventListener(t,o,i),()=>e.removeEventListener(t,o,i)),c=(0,i.YP)((()=>[ti(t),Jo(l)]),(([e,t])=>{r(),e&&a.push(...o.flatMap((o=>n.map((i=>s(e,o,i,t))))))}),{immediate:!0,flush:"post"}),u=()=>{c(),r()};return Qo(u),u}let ni=!1;function li(e,t,o={}){const{window:i=oi,ignore:n=[],capture:l=!0,detectIframe:a=!1}=o;if(!i)return;Go&&!ni&&(ni=!0,Array.from(i.document.body.children).forEach((e=>e.addEventListener("click",Ko))));let r=!0;const s=e=>n.some((t=>{if("string"===typeof t)return Array.from(i.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const o=ti(t);return o&&(e.target===o||e.composedPath().includes(o))}})),c=o=>{const i=ti(e);i&&i!==o.target&&!o.composedPath().includes(i)&&(0===o.detail&&(r=!s(o)),r?t(o):r=!0)},u=[ii(i,"click",c,{passive:!0,capture:l}),ii(i,"pointerdown",(t=>{const o=ti(e);o&&(r=!t.composedPath().includes(o)&&!s(t))}),{passive:!0}),a&&ii(i,"blur",(o=>{var n;const l=ti(e);"IFRAME"!==(null==(n=i.document.activeElement)?void 0:n.tagName)||(null==l?void 0:l.contains(i.document.activeElement))||t(o)}))].filter(Boolean),d=()=>u.forEach((e=>e()));return d}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function ai(e,t=!1){const o=(0,De.iH)(),i=()=>o.value=Boolean(e());return i(),ei(i,t),o}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const ri="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},si="__vueuse_ssr_handlers__";ri[si]=ri[si]||{};ri[si];Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function ci(e,t,{window:o=oi,initialValue:n=""}={}){const l=(0,De.iH)(n),a=(0,i.Fl)((()=>{var e;return ti(t)||(null==(e=null==o?void 0:o.document)?void 0:e.documentElement)}));return(0,i.YP)([a,()=>Jo(e)],(([e,t])=>{var i;if(e&&o){const a=null==(i=o.getComputedStyle(e).getPropertyValue(t))?void 0:i.trim();l.value=a||n}}),{immediate:!0}),(0,i.YP)(l,(t=>{var o;(null==(o=a.value)?void 0:o.style)&&a.value.style.setProperty(Jo(e),t)})),l}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var ui=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable,mi=(e,t)=>{var o={};for(var i in e)di.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&ui)for(var i of ui(e))t.indexOf(i)<0&&pi.call(e,i)&&(o[i]=e[i]);return o};function hi(e,t,o={}){const n=o,{window:l=oi}=n,a=mi(n,["window"]);let r;const s=ai((()=>l&&"ResizeObserver"in l)),c=()=>{r&&(r.disconnect(),r=void 0)},u=(0,i.YP)((()=>ti(e)),(e=>{c(),s.value&&l&&e&&(r=new ResizeObserver(t),r.observe(e,a))}),{immediate:!0,flush:"post"}),d=()=>{c(),u()};return Qo(d),{isSupported:s,stop:d}}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;new Map;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var fi;(function(e){e["UP"]="UP",e["RIGHT"]="RIGHT",e["DOWN"]="DOWN",e["LEFT"]="LEFT",e["NONE"]="NONE"})(fi||(fi={}));Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var vi=Object.defineProperty,gi=Object.getOwnPropertySymbols,bi=Object.prototype.hasOwnProperty,yi=Object.prototype.propertyIsEnumerable,wi=(e,t,o)=>t in e?vi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Si=(e,t)=>{for(var o in t||(t={}))bi.call(t,o)&&wi(e,o,t[o]);if(gi)for(var o of gi(t))yi.call(t,o)&&wi(e,o,t[o]);return e};const _i={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Si({linear:Xo},_i);var ki=o(576),xi=o(626),Ci=1/0;function Oi(e){var t=null==e?0:e.length;return t?(0,xi.Z)(e,Ci):[]}var Li=Oi;const Pi=4,Ui={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},ji=({move:e,size:t,bar:o})=>({[o.size]:t,transform:`translate${o.axis}(${e}%)`}),Ii=Symbol("scrollbarContextKey");var Ti=o(5937);const Mi="__epPropKey",Fi=e=>e,Ei=e=>(0,n.Kn)(e)&&!!e[Mi],Ni=(e,t)=>{if(!(0,n.Kn)(e)||Ei(e))return e;const{values:o,required:l,default:a,type:r,validator:s}=e,c=o||s?l=>{let r=!1,c=[];if(o&&(c=Array.from(o),(0,n.RI)(e,"default")&&c.push(a),r||(r=c.includes(l))),s&&(r||(r=s(l))),!r&&c.length>0){const e=[...new Set(c)].map((e=>JSON.stringify(e))).join(", ");(0,i.ZK)(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${e}], got value ${JSON.stringify(l)}.`)}return r}:void 0,u={type:r,required:!!l,validator:c,[Mi]:!0};return(0,n.RI)(e,"default")&&(u.default=a),u},Hi=e=>(0,Ti.Z)(Object.entries(e).map((([e,t])=>[e,Ni(t,e)]))),Di=Hi({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean});var Bi=(e,t)=>{const o=e.__vccOpts||e;for(const[i,n]of t)o[i]=n;return o};const zi="el",Ri="is-",$i=(e,t,o,i,n)=>{let l=`${e}-${t}`;return o&&(l+=`-${o}`),i&&(l+=`__${i}`),n&&(l+=`--${n}`),l},Ai=Symbol("namespaceContextKey"),Vi=e=>{const t=e||((0,i.FN)()?(0,i.f3)(Ai,(0,De.iH)(zi)):(0,De.iH)(zi)),o=(0,i.Fl)((()=>(0,De.SU)(t)||zi));return o},Zi=(e,t)=>{const o=Vi(t),i=(t="")=>$i(o.value,e,t,"",""),n=t=>t?$i(o.value,e,"",t,""):"",l=t=>t?$i(o.value,e,"","",t):"",a=(t,i)=>t&&i?$i(o.value,e,t,i,""):"",r=(t,i)=>t&&i?$i(o.value,e,"",t,i):"",s=(t,i)=>t&&i?$i(o.value,e,t,"",i):"",c=(t,i,n)=>t&&i&&n?$i(o.value,e,t,i,n):"",u=(e,...t)=>{const o=!(t.length>=1)||t[0];return e&&o?`${Ri}${e}`:""},d=e=>{const t={};for(const i in e)e[i]&&(t[`--${o.value}-${i}`]=e[i]);return t},p=t=>{const i={};for(const n in t)t[n]&&(i[`--${o.value}-${e}-${n}`]=t[n]);return i},m=e=>`--${o.value}-${e}`,h=t=>`--${o.value}-${e}-${t}`;return{namespace:o,b:i,e:n,m:l,be:a,em:r,bm:s,bem:c,is:u,cssVar:d,cssVarName:m,cssVarBlock:p,cssVarBlockName:h}};class Wi extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function Yi(e,t){throw new Wi(`[${e}] ${t}`)}function qi(e,t){0}const Ki="Thumb",Gi=(0,i.aZ)({__name:"thumb",props:Di,setup(e){const t=e,o=(0,i.f3)(Ii),a=Zi("scrollbar");o||Yi(Ki,"can not inject scrollbar context");const r=(0,De.iH)(),s=(0,De.iH)(),c=(0,De.iH)({}),u=(0,De.iH)(!1);let d=!1,p=!1,m=Yo?document.onselectstart:null;const h=(0,i.Fl)((()=>Ui[t.vertical?"vertical":"horizontal"])),f=(0,i.Fl)((()=>ji({size:t.size,move:t.move,bar:h.value}))),v=(0,i.Fl)((()=>r.value[h.value.offset]**2/o.wrapElement[h.value.scrollSize]/t.ratio/s.value[h.value.offset])),g=e=>{var t;if(e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button))return;null==(t=window.getSelection())||t.removeAllRanges(),y(e);const o=e.currentTarget;o&&(c.value[h.value.axis]=o[h.value.offset]-(e[h.value.client]-o.getBoundingClientRect()[h.value.direction]))},b=e=>{if(!s.value||!r.value||!o.wrapElement)return;const t=Math.abs(e.target.getBoundingClientRect()[h.value.direction]-e[h.value.client]),i=s.value[h.value.offset]/2,n=100*(t-i)*v.value/r.value[h.value.offset];o.wrapElement[h.value.scroll]=n*o.wrapElement[h.value.scrollSize]/100},y=e=>{e.stopImmediatePropagation(),d=!0,document.addEventListener("mousemove",w),document.addEventListener("mouseup",S),m=document.onselectstart,document.onselectstart=()=>!1},w=e=>{if(!r.value||!s.value)return;if(!1===d)return;const t=c.value[h.value.axis];if(!t)return;const i=-1*(r.value.getBoundingClientRect()[h.value.direction]-e[h.value.client]),n=s.value[h.value.offset]-t,l=100*(i-n)*v.value/r.value[h.value.offset];o.wrapElement[h.value.scroll]=l*o.wrapElement[h.value.scrollSize]/100},S=()=>{d=!1,c.value[h.value.axis]=0,document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",S),x(),p&&(u.value=!1)},_=()=>{p=!1,u.value=!!t.size},k=()=>{p=!0,u.value=d};(0,i.Jd)((()=>{x(),document.removeEventListener("mouseup",S)}));const x=()=>{document.onselectstart!==m&&(document.onselectstart=m)};return ii((0,De.Vh)(o,"scrollbarElement"),"mousemove",_),ii((0,De.Vh)(o,"scrollbarElement"),"mouseleave",k),(e,t)=>((0,i.wg)(),(0,i.j4)(l.uT,{name:(0,De.SU)(a).b("fade"),persisted:""},{default:(0,i.w5)((()=>[(0,i.wy)((0,i._)("div",{ref_key:"instance",ref:r,class:(0,n.C_)([(0,De.SU)(a).e("bar"),(0,De.SU)(a).is((0,De.SU)(h).key)]),onMousedown:b},[(0,i._)("div",{ref_key:"thumb",ref:s,class:(0,n.C_)((0,De.SU)(a).e("thumb")),style:(0,n.j5)((0,De.SU)(f)),onMousedown:g},null,38)],34),[[l.F8,e.always||u.value]])])),_:1},8,["name"]))}});var Ji=Bi(Gi,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const Xi=Hi({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),Qi=(0,i.aZ)({__name:"bar",props:Xi,setup(e,{expose:t}){const o=e,n=(0,De.iH)(0),l=(0,De.iH)(0),a=e=>{if(e){const t=e.offsetHeight-Pi,i=e.offsetWidth-Pi;l.value=100*e.scrollTop/t*o.ratioY,n.value=100*e.scrollLeft/i*o.ratioX}};return t({handleScroll:a}),(e,t)=>((0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i.Wm)(Ji,{move:n.value,ratio:e.ratioX,size:e.width,always:e.always},null,8,["move","ratio","size","always"]),(0,i.Wm)(Ji,{move:l.value,ratio:e.ratioY,size:e.height,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});var en=Bi(Qi,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const tn=e=>void 0===e,on=e=>"boolean"===typeof e,nn=e=>"number"===typeof e,ln=e=>!e&&0!==e||(0,n.kJ)(e)&&0===e.length||(0,n.Kn)(e)&&!Object.keys(e).length,an=e=>"undefined"!==typeof Element&&e instanceof Element,rn=e=>!!(0,n.HD)(e)&&!Number.isNaN(Number(e)),sn=Hi({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Fi([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical"]}}),cn={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(nn)},un="utils/dom/style";function dn(e,t="px"){return e?nn(e)||rn(e)?`${e}${t}`:(0,n.HD)(e)?e:void qi(un,"binding value must be a string or number"):""}const pn="ElScrollbar",mn=(0,i.aZ)({name:pn}),hn=(0,i.aZ)({...mn,props:sn,emits:cn,setup(e,{expose:t,emit:o}){const l=e,a=Zi("scrollbar");let r,s;const c=(0,De.iH)(),u=(0,De.iH)(),d=(0,De.iH)(),p=(0,De.iH)("0"),m=(0,De.iH)("0"),h=(0,De.iH)(),f=(0,De.iH)(1),v=(0,De.iH)(1),g=(0,i.Fl)((()=>{const e={};return l.height&&(e.height=dn(l.height)),l.maxHeight&&(e.maxHeight=dn(l.maxHeight)),[l.wrapStyle,e]})),b=(0,i.Fl)((()=>[l.wrapClass,a.e("wrap"),{[a.em("wrap","hidden-default")]:!l.native}])),y=(0,i.Fl)((()=>[a.e("view"),l.viewClass])),w=()=>{var e;u.value&&(null==(e=h.value)||e.handleScroll(u.value),o("scroll",{scrollTop:u.value.scrollTop,scrollLeft:u.value.scrollLeft}))};function S(e,t){(0,n.Kn)(e)?u.value.scrollTo(e):nn(e)&&nn(t)&&u.value.scrollTo(e,t)}const _=e=>{nn(e)?u.value.scrollTop=e:qi(pn,"value must be a number")},k=e=>{nn(e)?u.value.scrollLeft=e:qi(pn,"value must be a number")},x=()=>{if(!u.value)return;const e=u.value.offsetHeight-Pi,t=u.value.offsetWidth-Pi,o=e**2/u.value.scrollHeight,i=t**2/u.value.scrollWidth,n=Math.max(o,l.minSize),a=Math.max(i,l.minSize);f.value=o/(e-o)/(n/(e-n)),v.value=i/(t-i)/(a/(t-a)),m.value=n+Pil.noresize),(e=>{e?(null==r||r(),null==s||s()):(({stop:r}=hi(d,x)),s=ii("resize",x))}),{immediate:!0}),(0,i.YP)((()=>[l.maxHeight,l.height]),(()=>{l.native||(0,i.Y3)((()=>{var e;x(),u.value&&(null==(e=h.value)||e.handleScroll(u.value))}))})),(0,i.JJ)(Ii,(0,De.qj)({scrollbarElement:c,wrapElement:u})),(0,i.bv)((()=>{l.native||(0,i.Y3)((()=>{x()}))})),(0,i.ic)((()=>x())),t({wrapRef:u,update:x,scrollTo:S,setScrollTop:_,setScrollLeft:k,handleScroll:w}),(e,t)=>((0,i.wg)(),(0,i.iD)("div",{ref_key:"scrollbarRef",ref:c,class:(0,n.C_)((0,De.SU)(a).b())},[(0,i._)("div",{ref_key:"wrapRef",ref:u,class:(0,n.C_)((0,De.SU)(b)),style:(0,n.j5)((0,De.SU)(g)),onScroll:w},[((0,i.wg)(),(0,i.j4)((0,i.LL)(e.tag),{id:e.id,ref_key:"resizeRef",ref:d,class:(0,n.C_)((0,De.SU)(y)),style:(0,n.j5)(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:(0,i.w5)((()=>[(0,i.WI)(e.$slots,"default")])),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),e.native?(0,i.kq)("v-if",!0):((0,i.wg)(),(0,i.j4)(en,{key:0,ref_key:"barRef",ref:h,height:m.value,width:p.value,always:e.always,"ratio-x":v.value,"ratio-y":f.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var fn=Bi(hn,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const vn=(e,t)=>{if(e.install=o=>{for(const i of[e,...Object.values(null!=t?t:{})])o.component(i.name,i)},t)for(const[o,i]of Object.entries(t))e[o]=i;return e},gn=e=>(e.install=n.dG,e),bn=vn(fn); /*! Element Plus Icons Vue v2.1.0 */ var yn=(e,t)=>{let o=e.__vccOpts||e;for(let[i,n]of t)o[i]=n;return o};var wn={name:"ArrowDown"},Sn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},_n=(0,i._)("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1),kn=[_n];function xn(e,t,o,n,l,a){return(0,i.wg)(),(0,i.iD)("svg",Sn,kn)}var Cn=yn(wn,[["render",xn],["__file","arrow-down.vue"]]);var On={name:"ArrowRight"},Ln={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Pn=(0,i._)("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),Un=[Pn];function jn(e,t,o,n,l,a){return(0,i.wg)(),(0,i.iD)("svg",Ln,Un)}var In=yn(On,[["render",jn],["__file","arrow-right.vue"]]);var Tn={name:"Check"},Mn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Fn=(0,i._)("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"},null,-1),En=[Fn];function Nn(e,t,o,n,l,a){return(0,i.wg)(),(0,i.iD)("svg",Mn,En)}var Hn=yn(Tn,[["render",Nn],["__file","check.vue"]]);var Dn={name:"CircleCheck"},Bn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},zn=(0,i._)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Rn=(0,i._)("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),$n=[zn,Rn];function An(e,t,o,n,l,a){return(0,i.wg)(),(0,i.iD)("svg",Bn,$n)}var Vn=yn(Dn,[["render",An],["__file","circle-check.vue"]]);var Zn={name:"CircleClose"},Wn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Yn=(0,i._)("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),qn=(0,i._)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Kn=[Yn,qn];function Gn(e,t,o,n,l,a){return(0,i.wg)(),(0,i.iD)("svg",Wn,Kn)}var Jn=yn(Zn,[["render",Gn],["__file","circle-close.vue"]]);var Xn={name:"Close"},Qn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},el=(0,i._)("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),tl=[el];function ol(e,t,o,n,l,a){return(0,i.wg)(),(0,i.iD)("svg",Qn,tl)}var il=yn(Xn,[["render",ol],["__file","close.vue"]]);var nl={name:"Hide"},ll={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},al=(0,i._)("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"},null,-1),rl=(0,i._)("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"},null,-1),sl=[al,rl];function cl(e,t,o,n,l,a){return(0,i.wg)(),(0,i.iD)("svg",ll,sl)}var ul=yn(nl,[["render",cl],["__file","hide.vue"]]);var dl={name:"Loading"},pl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ml=(0,i._)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),hl=[ml];function fl(e,t,o,n,l,a){return(0,i.wg)(),(0,i.iD)("svg",pl,hl)}var vl=yn(dl,[["render",fl],["__file","loading.vue"]]);var gl={name:"View"},bl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},yl=(0,i._)("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),wl=[yl];function Sl(e,t,o,n,l,a){return(0,i.wg)(),(0,i.iD)("svg",bl,wl)}var _l=yn(gl,[["render",Sl],["__file","view.vue"]]);const kl=Hi({size:{type:Fi([Number,String])},color:{type:String}}),xl=(0,i.aZ)({name:"ElIcon",inheritAttrs:!1}),Cl=(0,i.aZ)({...xl,props:kl,setup(e){const t=e,o=Zi("icon"),n=(0,i.Fl)((()=>{const{size:e,color:o}=t;return e||o?{fontSize:tn(e)?void 0:dn(e),"--color":o}:{}}));return(e,t)=>((0,i.wg)(),(0,i.iD)("i",(0,i.dG)({class:(0,De.SU)(o).b(),style:(0,De.SU)(n)},e.$attrs),[(0,i.WI)(e.$slots,"default")],16))}});var Ol=Bi(Cl,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const Ll=vn(Ol),Pl=["","default","small","large"],Ul=Ni({type:String,values:Pl,required:!1}),jl=Symbol("size"),Il=()=>{const e=(0,i.f3)(jl,{});return(0,i.Fl)((()=>(0,De.SU)(e.size)||""))},Tl="update:modelValue",Ml="change",Fl={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:Ul,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},El={[Tl]:e=>(0,n.HD)(e)||nn(e)||on(e),change:e=>(0,n.HD)(e)||nn(e)||on(e)},Nl=Symbol("checkboxGroupContextKey"),Hl=Symbol("formContextKey"),Dl=Symbol("formItemContextKey"),Bl=e=>{const t=(0,i.FN)();return(0,i.Fl)((()=>{var o,i;return null==(i=null==(o=null==t?void 0:t.proxy)?void 0:o.$props)?void 0:i[e]}))},zl=(e,t={})=>{const o=(0,De.iH)(void 0),n=t.prop?o:Bl("size"),l=t.global?o:Il(),a=t.form?{size:void 0}:(0,i.f3)(Hl,void 0),r=t.formItem?{size:void 0}:(0,i.f3)(Dl,void 0);return(0,i.Fl)((()=>n.value||(0,De.SU)(e)||(null==r?void 0:r.size)||(null==a?void 0:a.size)||l.value||""))},Rl=e=>{const t=Bl("disabled"),o=(0,i.f3)(Hl,void 0);return(0,i.Fl)((()=>t.value||(0,De.SU)(e)||(null==o?void 0:o.disabled)||!1))},$l=({model:e,isChecked:t})=>{const o=(0,i.f3)(Nl,void 0),n=(0,i.Fl)((()=>{var i,n;const l=null==(i=null==o?void 0:o.max)?void 0:i.value,a=null==(n=null==o?void 0:o.min)?void 0:n.value;return!tn(l)&&e.value.length>=l&&!t.value||!tn(a)&&e.value.length<=a&&t.value})),l=Rl((0,i.Fl)((()=>(null==o?void 0:o.disabled.value)||n.value)));return{isDisabled:l,isLimitDisabled:n}},Al={prefix:Math.floor(1e4*Math.random()),current:0},Vl=Symbol("elIdInjection"),Zl=()=>(0,i.FN)()?(0,i.f3)(Vl,Al):Al,Wl=e=>{const t=Zl();Yo||t!==Al||qi("IdInjection","Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed\nusage: app.provide(ID_INJECTION_KEY, {\n prefix: number,\n current: number,\n})");const o=Vi(),n=(0,i.Fl)((()=>(0,De.SU)(e)||`${o.value}-id-${t.prefix}-${t.current++}`));return n},Yl=()=>{const e=(0,i.f3)(Hl,void 0),t=(0,i.f3)(Dl,void 0);return{form:e,formItem:t}},ql=(e,{formItemContext:t,disableIdGeneration:o,disableIdManagement:n})=>{o||(o=(0,De.iH)(!1)),n||(n=(0,De.iH)(!1));const l=(0,De.iH)();let a;const r=(0,i.Fl)((()=>{var o;return!!(!e.label&&t&&t.inputIds&&(null==(o=t.inputIds)?void 0:o.length)<=1)}));return(0,i.bv)((()=>{a=(0,i.YP)([(0,De.Vh)(e,"id"),o],(([e,o])=>{const i=null!=e?e:o?void 0:Wl().value;i!==l.value&&((null==t?void 0:t.removeInputId)&&(l.value&&t.removeInputId(l.value),(null==n?void 0:n.value)||o||!i||t.addInputId(i)),l.value=i)}),{immediate:!0})})),(0,i.Ah)((()=>{a&&a(),(null==t?void 0:t.removeInputId)&&l.value&&t.removeInputId(l.value)})),{isLabeledByFormItem:r,inputId:l}},Kl=(e,{model:t,isLimitExceeded:o,hasOwnLabel:n,isDisabled:l,isLabeledByFormItem:a})=>{const r=(0,i.f3)(Nl,void 0),{formItem:s}=Yl(),{emit:c}=(0,i.FN)();function u(t){var o,i;return t===e.trueLabel||!0===t?null==(o=e.trueLabel)||o:null!=(i=e.falseLabel)&&i}function d(e,t){c("change",u(e),t)}function p(e){if(o.value)return;const t=e.target;c("change",u(t.checked),e)}async function m(r){if(!o.value&&!n.value&&!l.value&&a.value){const o=r.composedPath(),n=o.some((e=>"LABEL"===e.tagName));n||(t.value=u([!1,e.falseLabel].includes(t.value)),await(0,i.Y3)(),d(t.value,r))}}const h=(0,i.Fl)((()=>(null==r?void 0:r.validateEvent)||e.validateEvent));return(0,i.YP)((()=>e.modelValue),(()=>{h.value&&(null==s||s.validate("change").catch((e=>qi(e))))})),{handleChange:p,onClickRoot:m}},Gl=e=>{const t=(0,De.iH)(!1),{emit:o}=(0,i.FN)(),l=(0,i.f3)(Nl,void 0),a=(0,i.Fl)((()=>!1===tn(l))),r=(0,De.iH)(!1),s=(0,i.Fl)({get(){var o,i;return a.value?null==(o=null==l?void 0:l.modelValue)?void 0:o.value:null!=(i=e.modelValue)?i:t.value},set(e){var i,s;a.value&&(0,n.kJ)(e)?(r.value=void 0!==(null==(i=null==l?void 0:l.max)?void 0:i.value)&&e.length>(null==l?void 0:l.max.value),!1===r.value&&(null==(s=null==l?void 0:l.changeEvent)||s.call(l,e))):(o(Tl,e),t.value=e)}});return{model:s,isGroup:a,isLimitExceeded:r}};function Jl(e){return null==e}var Xl=Jl;const Ql=(e,t,{model:o})=>{const l=(0,i.f3)(Nl,void 0),a=(0,De.iH)(!1),r=(0,i.Fl)((()=>{const t=o.value;return on(t)?t:(0,n.kJ)(t)?(0,n.Kn)(e.label)?t.map(De.IU).some((t=>(0,ki.Z)(t,e.label))):t.map(De.IU).includes(e.label):null!==t&&void 0!==t?t===e.trueLabel:!!t})),s=zl((0,i.Fl)((()=>{var e;return null==(e=null==l?void 0:l.size)?void 0:e.value})),{prop:!0}),c=zl((0,i.Fl)((()=>{var e;return null==(e=null==l?void 0:l.size)?void 0:e.value}))),u=(0,i.Fl)((()=>!!t.default||!Xl(e.label)));return{checkboxButtonSize:s,isChecked:r,isFocused:a,checkboxSize:c,hasOwnLabel:u}},ea=(e,{model:t})=>{function o(){(0,n.kJ)(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&o()},ta=(e,t)=>{const{formItem:o}=Yl(),{model:i,isGroup:n,isLimitExceeded:l}=Gl(e),{isFocused:a,isChecked:r,checkboxButtonSize:s,checkboxSize:c,hasOwnLabel:u}=Ql(e,t,{model:i}),{isDisabled:d}=$l({model:i,isChecked:r}),{inputId:p,isLabeledByFormItem:m}=ql(e,{formItemContext:o,disableIdGeneration:u,disableIdManagement:n}),{handleChange:h,onClickRoot:f}=Kl(e,{model:i,isLimitExceeded:l,hasOwnLabel:u,isDisabled:d,isLabeledByFormItem:m});return ea(e,{model:i}),{inputId:p,isLabeledByFormItem:m,isChecked:r,isDisabled:d,isFocused:a,checkboxButtonSize:s,checkboxSize:c,hasOwnLabel:u,model:i,handleChange:h,onClickRoot:f}},oa=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],ia=["id","indeterminate","disabled","value","name","tabindex"],na=(0,i.aZ)({name:"ElCheckbox"}),la=(0,i.aZ)({...na,props:Fl,emits:El,setup(e){const t=e,o=(0,i.Rr)(),{inputId:a,isLabeledByFormItem:r,isChecked:s,isDisabled:c,isFocused:u,checkboxSize:d,hasOwnLabel:p,model:m,handleChange:h,onClickRoot:f}=ta(t,o),v=Zi("checkbox"),g=(0,i.Fl)((()=>[v.b(),v.m(d.value),v.is("disabled",c.value),v.is("bordered",t.border),v.is("checked",s.value)])),b=(0,i.Fl)((()=>[v.e("input"),v.is("disabled",c.value),v.is("checked",s.value),v.is("indeterminate",t.indeterminate),v.is("focus",u.value)]));return(e,t)=>((0,i.wg)(),(0,i.j4)((0,i.LL)(!(0,De.SU)(p)&&(0,De.SU)(r)?"span":"label"),{class:(0,n.C_)((0,De.SU)(g)),"aria-controls":e.indeterminate?e.controls:null,onClick:(0,De.SU)(f)},{default:(0,i.w5)((()=>[(0,i._)("span",{class:(0,n.C_)((0,De.SU)(b))},[e.trueLabel||e.falseLabel?(0,i.wy)(((0,i.wg)(),(0,i.iD)("input",{key:0,id:(0,De.SU)(a),"onUpdate:modelValue":t[0]||(t[0]=e=>(0,De.dq)(m)?m.value=e:null),class:(0,n.C_)((0,De.SU)(v).e("original")),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:(0,De.SU)(c),"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...e)=>(0,De.SU)(h)&&(0,De.SU)(h)(...e)),onFocus:t[2]||(t[2]=e=>u.value=!0),onBlur:t[3]||(t[3]=e=>u.value=!1),onClick:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},null,42,oa)),[[l.e8,(0,De.SU)(m)]]):(0,i.wy)(((0,i.wg)(),(0,i.iD)("input",{key:1,id:(0,De.SU)(a),"onUpdate:modelValue":t[5]||(t[5]=e=>(0,De.dq)(m)?m.value=e:null),class:(0,n.C_)((0,De.SU)(v).e("original")),type:"checkbox",indeterminate:e.indeterminate,disabled:(0,De.SU)(c),value:e.label,name:e.name,tabindex:e.tabindex,onChange:t[6]||(t[6]=(...e)=>(0,De.SU)(h)&&(0,De.SU)(h)(...e)),onFocus:t[7]||(t[7]=e=>u.value=!0),onBlur:t[8]||(t[8]=e=>u.value=!1),onClick:t[9]||(t[9]=(0,l.iM)((()=>{}),["stop"]))},null,42,ia)),[[l.e8,(0,De.SU)(m)]]),(0,i._)("span",{class:(0,n.C_)((0,De.SU)(v).e("inner"))},null,2)],2),(0,De.SU)(p)?((0,i.wg)(),(0,i.iD)("span",{key:0,class:(0,n.C_)((0,De.SU)(v).e("label"))},[(0,i.WI)(e.$slots,"default"),e.$slots.default?(0,i.kq)("v-if",!0):((0,i.wg)(),(0,i.iD)(i.HY,{key:0},[(0,i.Uk)((0,n.zw)(e.label),1)],64))],2)):(0,i.kq)("v-if",!0)])),_:3},8,["class","aria-controls","onClick"]))}});var aa=Bi(la,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const ra=["name","tabindex","disabled","true-value","false-value"],sa=["name","tabindex","disabled","value"],ca=(0,i.aZ)({name:"ElCheckboxButton"}),ua=(0,i.aZ)({...ca,props:Fl,emits:El,setup(e){const t=e,o=(0,i.Rr)(),{isFocused:a,isChecked:r,isDisabled:s,checkboxButtonSize:c,model:u,handleChange:d}=ta(t,o),p=(0,i.f3)(Nl,void 0),m=Zi("checkbox"),h=(0,i.Fl)((()=>{var e,t,o,i;const n=null!=(t=null==(e=null==p?void 0:p.fill)?void 0:e.value)?t:"";return{backgroundColor:n,borderColor:n,color:null!=(i=null==(o=null==p?void 0:p.textColor)?void 0:o.value)?i:"",boxShadow:n?`-1px 0 0 0 ${n}`:void 0}})),f=(0,i.Fl)((()=>[m.b("button"),m.bm("button",c.value),m.is("disabled",s.value),m.is("checked",r.value),m.is("focus",a.value)]));return(e,t)=>((0,i.wg)(),(0,i.iD)("label",{class:(0,n.C_)((0,De.SU)(f))},[e.trueLabel||e.falseLabel?(0,i.wy)(((0,i.wg)(),(0,i.iD)("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=e=>(0,De.dq)(u)?u.value=e:null),class:(0,n.C_)((0,De.SU)(m).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:(0,De.SU)(s),"true-value":e.trueLabel,"false-value":e.falseLabel,onChange:t[1]||(t[1]=(...e)=>(0,De.SU)(d)&&(0,De.SU)(d)(...e)),onFocus:t[2]||(t[2]=e=>a.value=!0),onBlur:t[3]||(t[3]=e=>a.value=!1),onClick:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},null,42,ra)),[[l.e8,(0,De.SU)(u)]]):(0,i.wy)(((0,i.wg)(),(0,i.iD)("input",{key:1,"onUpdate:modelValue":t[5]||(t[5]=e=>(0,De.dq)(u)?u.value=e:null),class:(0,n.C_)((0,De.SU)(m).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:(0,De.SU)(s),value:e.label,onChange:t[6]||(t[6]=(...e)=>(0,De.SU)(d)&&(0,De.SU)(d)(...e)),onFocus:t[7]||(t[7]=e=>a.value=!0),onBlur:t[8]||(t[8]=e=>a.value=!1),onClick:t[9]||(t[9]=(0,l.iM)((()=>{}),["stop"]))},null,42,sa)),[[l.e8,(0,De.SU)(u)]]),e.$slots.default||e.label?((0,i.wg)(),(0,i.iD)("span",{key:2,class:(0,n.C_)((0,De.SU)(m).be("button","inner")),style:(0,n.j5)((0,De.SU)(r)?(0,De.SU)(h):void 0)},[(0,i.WI)(e.$slots,"default",{},(()=>[(0,i.Uk)((0,n.zw)(e.label),1)]))],6)):(0,i.kq)("v-if",!0)],2))}});var da=Bi(ua,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]),pa=o(6636);const ma=Hi({modelValue:{type:Fi(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:Ul,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),ha={[Tl]:e=>(0,n.kJ)(e),change:e=>(0,n.kJ)(e)},fa=(0,i.aZ)({name:"ElCheckboxGroup"}),va=(0,i.aZ)({...fa,props:ma,emits:ha,setup(e,{emit:t}){const o=e,l=Zi("checkbox"),{formItem:a}=Yl(),{inputId:r,isLabeledByFormItem:s}=ql(o,{formItemContext:a}),c=async e=>{t(Tl,e),await(0,i.Y3)(),t("change",e)},u=(0,i.Fl)({get(){return o.modelValue},set(e){c(e)}});return(0,i.JJ)(Nl,{...(0,pa.Z)((0,De.BK)(o),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:u,changeEvent:c}),(0,i.YP)((()=>o.modelValue),(()=>{o.validateEvent&&(null==a||a.validate("change").catch((e=>qi(e))))})),(e,t)=>{var o;return(0,i.wg)(),(0,i.j4)((0,i.LL)(e.tag),{id:(0,De.SU)(r),class:(0,n.C_)((0,De.SU)(l).b("group")),role:"group","aria-label":(0,De.SU)(s)?void 0:e.label||"checkbox-group","aria-labelledby":(0,De.SU)(s)?null==(o=(0,De.SU)(a))?void 0:o.labelId:void 0},{default:(0,i.w5)((()=>[(0,i.WI)(e.$slots,"default")])),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var ga=Bi(va,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const ba=vn(aa,{CheckboxButton:da,CheckboxGroup:ga}),ya=(gn(da),gn(ga),Hi({size:Ul,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}})),wa=Hi({...ya,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),Sa={[Tl]:e=>(0,n.HD)(e)||nn(e)||on(e),[Ml]:e=>(0,n.HD)(e)||nn(e)||on(e)},_a=Symbol("radioGroupKey"),ka=(e,t)=>{const o=(0,De.iH)(),n=(0,i.f3)(_a,void 0),l=(0,i.Fl)((()=>!!n)),a=(0,i.Fl)({get(){return l.value?n.modelValue:e.modelValue},set(i){l.value?n.changeEvent(i):t&&t(Tl,i),o.value.checked=e.modelValue===e.label}}),r=zl((0,i.Fl)((()=>null==n?void 0:n.size))),s=Rl((0,i.Fl)((()=>null==n?void 0:n.disabled))),c=(0,De.iH)(!1),u=(0,i.Fl)((()=>s.value||l.value&&a.value!==e.label?-1:0));return{radioRef:o,isGroup:l,radioGroup:n,focus:c,size:r,disabled:s,tabIndex:u,modelValue:a}},xa=["value","name","disabled"],Ca=(0,i.aZ)({name:"ElRadio"}),Oa=(0,i.aZ)({...Ca,props:wa,emits:Sa,setup(e,{emit:t}){const o=e,a=Zi("radio"),{radioRef:r,radioGroup:s,focus:c,size:u,disabled:d,modelValue:p}=ka(o,t);function m(){(0,i.Y3)((()=>t("change",p.value)))}return(e,t)=>{var o;return(0,i.wg)(),(0,i.iD)("label",{class:(0,n.C_)([(0,De.SU)(a).b(),(0,De.SU)(a).is("disabled",(0,De.SU)(d)),(0,De.SU)(a).is("focus",(0,De.SU)(c)),(0,De.SU)(a).is("bordered",e.border),(0,De.SU)(a).is("checked",(0,De.SU)(p)===e.label),(0,De.SU)(a).m((0,De.SU)(u))])},[(0,i._)("span",{class:(0,n.C_)([(0,De.SU)(a).e("input"),(0,De.SU)(a).is("disabled",(0,De.SU)(d)),(0,De.SU)(a).is("checked",(0,De.SU)(p)===e.label)])},[(0,i.wy)((0,i._)("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":t[0]||(t[0]=e=>(0,De.dq)(p)?p.value=e:null),class:(0,n.C_)((0,De.SU)(a).e("original")),value:e.label,name:e.name||(null==(o=(0,De.SU)(s))?void 0:o.name),disabled:(0,De.SU)(d),type:"radio",onFocus:t[1]||(t[1]=e=>c.value=!0),onBlur:t[2]||(t[2]=e=>c.value=!1),onChange:m,onClick:t[3]||(t[3]=(0,l.iM)((()=>{}),["stop"]))},null,42,xa),[[l.G2,(0,De.SU)(p)]]),(0,i._)("span",{class:(0,n.C_)((0,De.SU)(a).e("inner"))},null,2)],2),(0,i._)("span",{class:(0,n.C_)((0,De.SU)(a).e("label")),onKeydown:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},[(0,i.WI)(e.$slots,"default",{},(()=>[(0,i.Uk)((0,n.zw)(e.label),1)]))],34)],2)}}});var La=Bi(Oa,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const Pa=Hi({...ya,name:{type:String,default:""}}),Ua=["value","name","disabled"],ja=(0,i.aZ)({name:"ElRadioButton"}),Ia=(0,i.aZ)({...ja,props:Pa,setup(e){const t=e,o=Zi("radio"),{radioRef:a,focus:r,size:s,disabled:c,modelValue:u,radioGroup:d}=ka(t),p=(0,i.Fl)((()=>({backgroundColor:(null==d?void 0:d.fill)||"",borderColor:(null==d?void 0:d.fill)||"",boxShadow:(null==d?void 0:d.fill)?`-1px 0 0 0 ${d.fill}`:"",color:(null==d?void 0:d.textColor)||""})));return(e,t)=>{var m;return(0,i.wg)(),(0,i.iD)("label",{class:(0,n.C_)([(0,De.SU)(o).b("button"),(0,De.SU)(o).is("active",(0,De.SU)(u)===e.label),(0,De.SU)(o).is("disabled",(0,De.SU)(c)),(0,De.SU)(o).is("focus",(0,De.SU)(r)),(0,De.SU)(o).bm("button",(0,De.SU)(s))])},[(0,i.wy)((0,i._)("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":t[0]||(t[0]=e=>(0,De.dq)(u)?u.value=e:null),class:(0,n.C_)((0,De.SU)(o).be("button","original-radio")),value:e.label,type:"radio",name:e.name||(null==(m=(0,De.SU)(d))?void 0:m.name),disabled:(0,De.SU)(c),onFocus:t[1]||(t[1]=e=>r.value=!0),onBlur:t[2]||(t[2]=e=>r.value=!1),onClick:t[3]||(t[3]=(0,l.iM)((()=>{}),["stop"]))},null,42,Ua),[[l.G2,(0,De.SU)(u)]]),(0,i._)("span",{class:(0,n.C_)((0,De.SU)(o).be("button","inner")),style:(0,n.j5)((0,De.SU)(u)===e.label?(0,De.SU)(p):{}),onKeydown:t[4]||(t[4]=(0,l.iM)((()=>{}),["stop"]))},[(0,i.WI)(e.$slots,"default",{},(()=>[(0,i.Uk)((0,n.zw)(e.label),1)]))],38)],2)}}});var Ta=Bi(Ia,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const Ma=Hi({id:{type:String,default:void 0},size:Ul,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}}),Fa=Sa,Ea=["id","aria-label","aria-labelledby"],Na=(0,i.aZ)({name:"ElRadioGroup"}),Ha=(0,i.aZ)({...Na,props:Ma,emits:Fa,setup(e,{emit:t}){const o=e,l=Zi("radio"),a=Wl(),r=(0,De.iH)(),{formItem:s}=Yl(),{inputId:c,isLabeledByFormItem:u}=ql(o,{formItemContext:s}),d=e=>{t(Tl,e),(0,i.Y3)((()=>t("change",e)))};(0,i.bv)((()=>{const e=r.value.querySelectorAll("[type=radio]"),t=e[0];!Array.from(e).some((e=>e.checked))&&t&&(t.tabIndex=0)}));const p=(0,i.Fl)((()=>o.name||a.value));return(0,i.JJ)(_a,(0,De.qj)({...(0,De.BK)(o),changeEvent:d,name:p})),(0,i.YP)((()=>o.modelValue),(()=>{o.validateEvent&&(null==s||s.validate("change").catch((e=>qi(e))))})),(e,t)=>((0,i.wg)(),(0,i.iD)("div",{id:(0,De.SU)(c),ref_key:"radioGroupRef",ref:r,class:(0,n.C_)((0,De.SU)(l).b("group")),role:"radiogroup","aria-label":(0,De.SU)(u)?void 0:e.label||"radio-group","aria-labelledby":(0,De.SU)(u)?(0,De.SU)(s).labelId:void 0},[(0,i.WI)(e.$slots,"default")],10,Ea))}});var Da=Bi(Ha,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const Ba=vn(La,{RadioButton:Ta,RadioGroup:Da});gn(Da),gn(Ta);var za=(0,i.aZ)({name:"NodeContent",setup(){const e=Zi("cascader-node");return{ns:e}},render(){const{ns:e}=this,{node:t,panel:o}=this.$parent,{data:n,label:l}=t,{renderLabelFn:a}=o;return(0,i.h)("span",{class:e.e("label")},a?a({node:t,data:n}):l)}});const Ra=Symbol(),$a=(0,i.aZ)({name:"ElCascaderNode",components:{ElCheckbox:ba,ElRadio:Ba,NodeContent:za,ElIcon:Ll,Check:Hn,Loading:vl,ArrowRight:In},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const o=(0,i.f3)(Ra),n=Zi("cascader-node"),l=(0,i.Fl)((()=>o.isHoverMenu)),a=(0,i.Fl)((()=>o.config.multiple)),r=(0,i.Fl)((()=>o.config.checkStrictly)),s=(0,i.Fl)((()=>{var e;return null==(e=o.checkedNodes[0])?void 0:e.uid})),c=(0,i.Fl)((()=>e.node.isDisabled)),u=(0,i.Fl)((()=>e.node.isLeaf)),d=(0,i.Fl)((()=>r.value&&!u.value||!c.value)),p=(0,i.Fl)((()=>h(o.expandingNode))),m=(0,i.Fl)((()=>r.value&&o.checkedNodes.some(h))),h=t=>{var o;const{level:i,uid:n}=e.node;return(null==(o=null==t?void 0:t.pathNodes[i-1])?void 0:o.uid)===n},f=()=>{p.value||o.expandNode(e.node)},v=t=>{const{node:i}=e;t!==i.checked&&o.handleCheckChange(i,t)},g=()=>{o.lazyLoad(e.node,(()=>{u.value||f()}))},b=e=>{l.value&&(y(),!u.value&&t("expand",e))},y=()=>{const{node:t}=e;d.value&&!t.loading&&(t.loaded?f():g())},w=()=>{l.value&&!u.value||(!u.value||c.value||r.value||a.value?y():_(!0))},S=t=>{r.value?(v(t),e.node.loaded&&f()):_(t)},_=t=>{e.node.loaded?(v(t),!r.value&&f()):g()};return{panel:o,isHoverMenu:l,multiple:a,checkStrictly:r,checkedNodeId:s,isDisabled:c,isLeaf:u,expandable:d,inExpandingPath:p,inCheckedPath:m,ns:n,handleHoverExpand:b,handleExpand:y,handleClick:w,handleCheck:_,handleSelectCheck:S}}}),Aa=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],Va=(0,i._)("span",null,null,-1);function Za(e,t,o,a,r,s){const c=(0,i.up)("el-checkbox"),u=(0,i.up)("el-radio"),d=(0,i.up)("check"),p=(0,i.up)("el-icon"),m=(0,i.up)("node-content"),h=(0,i.up)("loading"),f=(0,i.up)("arrow-right");return(0,i.wg)(),(0,i.iD)("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?null:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:(0,n.C_)([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:t[2]||(t[2]=(...t)=>e.handleHoverExpand&&e.handleHoverExpand(...t)),onFocus:t[3]||(t[3]=(...t)=>e.handleHoverExpand&&e.handleHoverExpand(...t)),onClick:t[4]||(t[4]=(...t)=>e.handleClick&&e.handleClick(...t))},[(0,i.kq)(" prefix "),e.multiple?((0,i.wg)(),(0,i.j4)(c,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:t[0]||(t[0]=(0,l.iM)((()=>{}),["stop"])),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):e.checkStrictly?((0,i.wg)(),(0,i.j4)(u,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:t[1]||(t[1]=(0,l.iM)((()=>{}),["stop"]))},{default:(0,i.w5)((()=>[(0,i.kq)("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),Va])),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):e.isLeaf&&e.node.checked?((0,i.wg)(),(0,i.j4)(p,{key:2,class:(0,n.C_)(e.ns.e("prefix"))},{default:(0,i.w5)((()=>[(0,i.Wm)(d)])),_:1},8,["class"])):(0,i.kq)("v-if",!0),(0,i.kq)(" content "),(0,i.Wm)(m),(0,i.kq)(" postfix "),e.isLeaf?(0,i.kq)("v-if",!0):((0,i.wg)(),(0,i.iD)(i.HY,{key:3},[e.node.loading?((0,i.wg)(),(0,i.j4)(p,{key:0,class:(0,n.C_)([e.ns.is("loading"),e.ns.e("postfix")])},{default:(0,i.w5)((()=>[(0,i.Wm)(h)])),_:1},8,["class"])):((0,i.wg)(),(0,i.j4)(p,{key:1,class:(0,n.C_)(["arrow-right",e.ns.e("postfix")])},{default:(0,i.w5)((()=>[(0,i.Wm)(f)])),_:1},8,["class"]))],64))],42,Aa)}var Wa=Bi($a,[["render",Za],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]),Ya=o(6423),qa={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const Ka=e=>(t,o)=>Ga(t,o,(0,De.SU)(e)),Ga=(e,t,o)=>(0,Ya.Z)(o,e,e).replace(/\{(\w+)\}/g,((e,o)=>{var i;return`${null!=(i=null==t?void 0:t[o])?i:`{${o}}`}`})),Ja=e=>{const t=(0,i.Fl)((()=>(0,De.SU)(e).name)),o=(0,De.dq)(e)?e:(0,De.iH)(e);return{lang:t,locale:o,t:Ka(e)}},Xa=Symbol("localeContextKey"),Qa=e=>{const t=e||(0,i.f3)(Xa,(0,De.iH)());return Ja((0,i.Fl)((()=>t.value||qa)))},er=()=>Math.floor(1e4*Math.random()),tr=(0,i.aZ)({name:"ElCascaderMenu",components:{Loading:vl,ElIcon:Ll,ElScrollbar:bn,ElCascaderNode:Wa},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=(0,i.FN)(),o=Zi("cascader-menu"),{t:n}=Qa(),l=er();let a=null,r=null;const s=(0,i.f3)(Ra),c=(0,De.iH)(null),u=(0,i.Fl)((()=>!e.nodes.length)),d=(0,i.Fl)((()=>!s.initialLoaded)),p=(0,i.Fl)((()=>`cascader-menu-${l}-${e.index}`)),m=e=>{a=e.target},h=e=>{if(s.isHoverMenu&&a&&c.value)if(a.contains(e.target)){f();const o=t.vnode.el,{left:i}=o.getBoundingClientRect(),{offsetWidth:n,offsetHeight:l}=o,r=e.clientX-i,s=a.offsetTop,u=s+a.offsetHeight;c.value.innerHTML=`\n \n \n `}else r||(r=window.setTimeout(v,s.config.hoverThreshold))},f=()=>{r&&(clearTimeout(r),r=null)},v=()=>{c.value&&(c.value.innerHTML="",f())};return{ns:o,panel:s,hoverZone:c,isEmpty:u,isLoading:d,menuId:p,t:n,handleExpand:m,handleMouseMove:h,clearHoverZone:v}}});function or(e,t,o,l,a,r){const s=(0,i.up)("el-cascader-node"),c=(0,i.up)("loading"),u=(0,i.up)("el-icon"),d=(0,i.up)("el-scrollbar");return(0,i.wg)(),(0,i.j4)(d,{key:e.menuId,tag:"ul",role:"menu",class:(0,n.C_)(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:(0,i.w5)((()=>{var t;return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.nodes,(t=>((0,i.wg)(),(0,i.j4)(s,{key:t.uid,node:t,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"])))),128)),e.isLoading?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,n.C_)(e.ns.e("empty-text"))},[(0,i.Wm)(u,{size:"14",class:(0,n.C_)(e.ns.is("loading"))},{default:(0,i.w5)((()=>[(0,i.Wm)(c)])),_:1},8,["class"]),(0,i.Uk)(" "+(0,n.zw)(e.t("el.cascader.loading")),1)],2)):e.isEmpty?((0,i.wg)(),(0,i.iD)("div",{key:1,class:(0,n.C_)(e.ns.e("empty-text"))},(0,n.zw)(e.t("el.cascader.noData")),3)):(null==(t=e.panel)?void 0:t.isHoverMenu)?((0,i.wg)(),(0,i.iD)("svg",{key:2,ref:"hoverZone",class:(0,n.C_)(e.ns.e("hover-zone"))},null,2)):(0,i.kq)("v-if",!0)]})),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var ir=Bi(tr,[["render",or],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);const nr=e=>(0,n.kC)(e);let lr=0;const ar=e=>{const t=[e];let{parent:o}=e;while(o)t.unshift(o),o=o.parent;return t};class rr{constructor(e,t,o,i=!1){this.data=e,this.config=t,this.parent=o,this.root=i,this.uid=lr++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:n,label:l,children:a}=t,r=e[a],s=ar(this);this.level=i?0:o?o.level+1:1,this.value=e[n],this.label=e[l],this.pathNodes=s,this.pathValues=s.map((e=>e.value)),this.pathLabels=s.map((e=>e.label)),this.childrenData=r,this.children=(r||[]).map((e=>new rr(e,t,this))),this.loaded=!t.lazy||this.isLeaf||!ln(r)}get isDisabled(){const{data:e,parent:t,config:o}=this,{disabled:i,checkStrictly:l}=o,a=(0,n.mf)(i)?i(e,this):!!e[i];return a||!l&&(null==t?void 0:t.isDisabled)}get isLeaf(){const{data:e,config:t,childrenData:o,loaded:i}=this,{lazy:l,leaf:a}=t,r=(0,n.mf)(a)?a(e,this):e[a];return tn(r)?!(l&&!i)&&!(Array.isArray(o)&&o.length):!!r}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(e){const{childrenData:t,children:o}=this,i=new rr(e,this.config,this);return Array.isArray(t)?t.push(e):this.childrenData=[e],o.push(i),i}calcText(e,t){const o=e?this.pathLabels.join(t):this.label;return this.text=o,o}broadcast(e,...t){const o=`onParent${nr(e)}`;this.children.forEach((i=>{i&&(i.broadcast(e,...t),i[o]&&i[o](...t))}))}emit(e,...t){const{parent:o}=this,i=`onChild${nr(e)}`;o&&(o[i]&&o[i](...t),o.emit(e,...t))}onParentCheck(e){this.isDisabled||this.setCheckState(e)}onChildCheck(){const{children:e}=this,t=e.filter((e=>!e.isDisabled)),o=!!t.length&&t.every((e=>e.checked));this.setCheckState(o)}setCheckState(e){const t=this.children.length,o=this.children.reduce(((e,t)=>{const o=t.checked?1:t.indeterminate?.5:0;return e+o}),0);this.checked=this.loaded&&this.children.filter((e=>!e.isDisabled)).every((e=>e.loaded&&e.checked))&&e,this.indeterminate=this.loaded&&o!==t&&o>0}doCheck(e){if(this.checked===e)return;const{checkStrictly:t,multiple:o}=this.config;t||!o?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check"))}}const sr=(e,t)=>e.reduce(((e,o)=>(o.isLeaf?e.push(o):(!t&&e.push(o),e=e.concat(sr(o.children,t))),e)),[]);class cr{constructor(e,t){this.config=t;const o=(e||[]).map((e=>new rr(e,this.config)));this.nodes=o,this.allNodes=sr(o,!1),this.leafNodes=sr(o,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const o=t?t.appendChild(e):new rr(e,this.config);t||this.nodes.push(o),this.allNodes.push(o),o.isLeaf&&this.leafNodes.push(o)}appendNodes(e,t){e.forEach((e=>this.appendNode(e,t)))}getNodeByValue(e,t=!1){if(!e&&0!==e)return null;const o=this.getFlattedNodes(t).find((t=>(0,ki.Z)(t.value,e)||(0,ki.Z)(t.pathValues,e)));return o||null}getSameNode(e){if(!e)return null;const t=this.getFlattedNodes(!1).find((({value:t,level:o})=>(0,ki.Z)(e.value,t)&&e.level===o));return t||null}}const ur=Hi({modelValue:{type:Fi([Number,String,Array])},options:{type:Fi(Array),default:()=>[]},props:{type:Fi(Object),default:()=>({})}}),dr={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:n.dG,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},pr=e=>(0,i.Fl)((()=>({...dr,...e.props}))),mr=e=>!e.getAttribute("aria-owns"),hr=(e,t,o)=>{const{parentNode:i}=e;if(!i)return null;const n=i.querySelectorAll(o),l=Array.prototype.indexOf.call(n,e);return n[l+t]||null},fr=e=>{e&&(e.focus(),!mr(e)&&e.click())},vr=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},gr=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():mr(e)&&e.click()},br=(e,t)=>{const o=t.slice(0),i=o.map((e=>e.uid)),n=e.reduce(((e,t)=>{const n=i.indexOf(t.uid);return n>-1&&(e.push(t),o.splice(n,1),i.splice(n,1)),e}),[]);return n.push(...o),n},yr=e=>[...new Set(e)],wr=e=>e||0===e?Array.isArray(e)?e:[e]:[];function Sr(e,t){if(!Yo)return;if(!t)return void(e.scrollTop=0);const o=[];let i=t.offsetParent;while(null!==i&&e!==i&&e.contains(i))o.push(i),i=i.offsetParent;const n=t.offsetTop+o.reduce(((e,t)=>e+t.offsetTop),0),l=n+t.offsetHeight,a=e.scrollTop,r=a+e.clientHeight;nr&&(e.scrollTop=l-e.clientHeight)}const _r={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},kr=(0,i.aZ)({name:"ElCascaderPanel",components:{ElCascaderMenu:ir},props:{...ur,border:{type:Boolean,default:!0},renderLabel:Function},emits:[Tl,Ml,"close","expand-change"],setup(e,{emit:t,slots:o}){let n=!1;const l=Zi("cascader"),a=pr(e);let r=null;const s=(0,De.iH)(!0),c=(0,De.iH)([]),u=(0,De.iH)(null),d=(0,De.iH)([]),p=(0,De.iH)(null),m=(0,De.iH)([]),h=(0,i.Fl)((()=>"hover"===a.value.expandTrigger)),f=(0,i.Fl)((()=>e.renderLabel||o.default)),v=()=>{const{options:t}=e,o=a.value;n=!1,r=new cr(t,o),d.value=[r.getNodes()],o.lazy&&ln(e.options)?(s.value=!1,g(void 0,(e=>{e&&(r=new cr(e,o),d.value=[r.getNodes()]),s.value=!0,C(!1,!0)}))):C(!1,!0)},g=(e,t)=>{const o=a.value;e=e||new rr({},o,void 0,!0),e.loading=!0;const i=o=>{const i=e,n=i.root?null:i;o&&(null==r||r.appendNodes(o,n)),i.loading=!1,i.loaded=!0,i.childrenData=i.childrenData||[],t&&t(o)};o.lazyLoad(e,i)},b=(e,o)=>{var i;const{level:n}=e,l=d.value.slice(0,n);let a;e.isLeaf?a=e.pathNodes[n-2]:(a=e,l.push(e.children)),(null==(i=p.value)?void 0:i.uid)!==(null==a?void 0:a.uid)&&(p.value=e,d.value=l,!o&&t("expand-change",(null==e?void 0:e.pathValues)||[]))},y=(e,o,i=!0)=>{const{checkStrictly:l,multiple:r}=a.value,s=m.value[0];n=!0,!r&&(null==s||s.doCheck(!1)),e.doCheck(o),x(),i&&!r&&!l&&t("close"),!i&&!r&&!l&&w(e)},w=e=>{e&&(e=e.parent,w(e),e&&b(e))},S=e=>null==r?void 0:r.getFlattedNodes(e),_=e=>{var t;return null==(t=S(e))?void 0:t.filter((e=>!1!==e.checked))},k=()=>{m.value.forEach((e=>e.doCheck(!1))),x(),d.value=d.value.slice(0,1),p.value=null,t("expand-change",[])},x=()=>{var e;const{checkStrictly:t,multiple:o}=a.value,i=m.value,n=_(!t),l=br(i,n),r=l.map((e=>e.valueByOption));m.value=l,u.value=o?r:null!=(e=r[0])?e:null},C=(t=!1,o=!1)=>{const{modelValue:i}=e,{lazy:l,multiple:c,checkStrictly:d}=a.value,p=!d;if(s.value&&!n&&(o||!(0,ki.Z)(i,u.value)))if(l&&!t){const e=yr(Li(wr(i))),t=e.map((e=>null==r?void 0:r.getNodeByValue(e))).filter((e=>!!e&&!e.loaded&&!e.loading));t.length?t.forEach((e=>{g(e,(()=>C(!1,o)))})):C(!0,o)}else{const e=c?wr(i):[i],t=yr(e.map((e=>null==r?void 0:r.getNodeByValue(e,p))));O(t,o),u.value=(0,Vo.Z)(i)}},O=(t,o=!0)=>{const{checkStrictly:n}=a.value,l=m.value,s=t.filter((e=>!!e&&(n||e.isLeaf))),c=null==r?void 0:r.getSameNode(p.value),u=o&&c||s[0];u?u.pathNodes.forEach((e=>b(e,!0))):p.value=null,l.forEach((e=>e.doCheck(!1))),e.props.multiple?(0,De.qj)(s).forEach((e=>e.doCheck(!0))):s.forEach((e=>e.doCheck(!0))),m.value=s,(0,i.Y3)(L)},L=()=>{Yo&&c.value.forEach((e=>{const t=null==e?void 0:e.$el;if(t){const e=t.querySelector(`.${l.namespace.value}-scrollbar__wrap`),o=t.querySelector(`.${l.b("node")}.${l.is("active")}`)||t.querySelector(`.${l.b("node")}.in-active-path`);Sr(e,o)}}))},P=e=>{const t=e.target,{code:o}=e;switch(o){case _r.up:case _r.down:{e.preventDefault();const i=o===_r.up?-1:1;fr(hr(t,i,`.${l.b("node")}[tabindex="-1"]`));break}case _r.left:{e.preventDefault();const o=c.value[vr(t)-1],i=null==o?void 0:o.$el.querySelector(`.${l.b("node")}[aria-expanded="true"]`);fr(i);break}case _r.right:{e.preventDefault();const o=c.value[vr(t)+1],i=null==o?void 0:o.$el.querySelector(`.${l.b("node")}[tabindex="-1"]`);fr(i);break}case _r.enter:gr(t);break}};return(0,i.JJ)(Ra,(0,De.qj)({config:a,expandingNode:p,checkedNodes:m,isHoverMenu:h,initialLoaded:s,renderLabelFn:f,lazyLoad:g,expandNode:b,handleCheckChange:y})),(0,i.YP)([a,()=>e.options],v,{deep:!0,immediate:!0}),(0,i.YP)((()=>e.modelValue),(()=>{n=!1,C()}),{deep:!0}),(0,i.YP)((()=>u.value),(o=>{(0,ki.Z)(o,e.modelValue)||(t(Tl,o),t(Ml,o))})),(0,i.Xn)((()=>c.value=[])),(0,i.bv)((()=>!ln(e.modelValue)&&C())),{ns:l,menuList:c,menus:d,checkedNodes:m,handleKeyDown:P,handleCheckChange:y,getFlattedNodes:S,getCheckedNodes:_,clearCheckedNodes:k,calculateCheckedValue:x,scrollToExpandingNode:L}}});function xr(e,t,o,l,a,r){const s=(0,i.up)("el-cascader-menu");return(0,i.wg)(),(0,i.iD)("div",{class:(0,n.C_)([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:t[0]||(t[0]=(...t)=>e.handleKeyDown&&e.handleKeyDown(...t))},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.menus,((t,o)=>((0,i.wg)(),(0,i.j4)(s,{key:o,ref_for:!0,ref:t=>e.menuList[o]=t,index:o,nodes:[...t]},null,8,["index","nodes"])))),128))],34)}var Cr=Bi(kr,[["render",xr],["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);Cr.install=e=>{e.component(Cr.name,Cr)};const Or=Cr,Lr=()=>Yo&&/firefox/i.test(window.navigator.userAgent);let Pr;const Ur=`\n height:0 !important;\n visibility:hidden !important;\n ${Lr()?"":"overflow:hidden !important;"}\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`,jr=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Ir(e){const t=window.getComputedStyle(e),o=t.getPropertyValue("box-sizing"),i=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),n=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width")),l=jr.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";");return{contextStyle:l,paddingSize:i,borderSize:n,boxSizing:o}}function Tr(e,t=1,o){var i;Pr||(Pr=document.createElement("textarea"),document.body.appendChild(Pr));const{paddingSize:n,borderSize:l,boxSizing:a,contextStyle:r}=Ir(e);Pr.setAttribute("style",`${r};${Ur}`),Pr.value=e.value||e.placeholder||"";let s=Pr.scrollHeight;const c={};"border-box"===a?s+=l:"content-box"===a&&(s-=n),Pr.value="";const u=Pr.scrollHeight-n;if(nn(t)){let e=u*t;"border-box"===a&&(e=e+n+l),s=Math.max(e,s),c.minHeight=`${e}px`}if(nn(o)){let e=u*o;"border-box"===a&&(e=e+n+l),s=Math.min(e,s)}return c.height=`${s}px`,null==(i=Pr.parentNode)||i.removeChild(Pr),Pr=void 0,c}const Mr=Fi([String,Object,Function]),Fr={validating:vl,success:Vn,error:Jn},Er=e=>e,Nr=Hi({id:{type:String,default:void 0},size:Ul,disabled:Boolean,modelValue:{type:Fi([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Fi([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:Mr},prefixIcon:{type:Mr},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Fi([Object,Array,String]),default:()=>Er({})},autofocus:{type:Boolean,default:!1}}),Hr={[Tl]:e=>(0,n.HD)(e),input:e=>(0,n.HD)(e),change:e=>(0,n.HD)(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},Dr=["class","style"],Br=/^on[A-Z]/,zr=(e={})=>{const{excludeListeners:t=!1,excludeKeys:o}=e,n=(0,i.Fl)((()=>((null==o?void 0:o.value)||[]).concat(Dr))),l=(0,i.FN)();return l?(0,i.Fl)((()=>{var e;return(0,Ti.Z)(Object.entries(null==(e=l.proxy)?void 0:e.$attrs).filter((([e])=>!n.value.includes(e)&&!(t&&Br.test(e)))))})):(qi("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),(0,i.Fl)((()=>({}))))};function Rr(e,{afterFocus:t,beforeBlur:o,afterBlur:l}={}){const a=(0,i.FN)(),{emit:r}=a,s=(0,De.XI)(),c=(0,De.iH)(!1),u=e=>{c.value||(c.value=!0,r("focus",e),null==t||t())},d=e=>{var t;const i=!!(0,n.mf)(o)&&o(e);i||e.relatedTarget&&(null==(t=s.value)?void 0:t.contains(e.relatedTarget))||(c.value=!1,r("blur",e),null==l||l())},p=()=>{var t;null==(t=e.value)||t.focus()};return(0,i.YP)(s,(e=>{e&&e.setAttribute("tabindex","-1")})),ii(s,"click",p),{wrapperRef:s,isFocused:c,handleFocus:u,handleBlur:d}}function $r(e){const t=(0,De.iH)();function o(){if(void 0==e.value)return;const{selectionStart:o,selectionEnd:i,value:n}=e.value;if(null==o||null==i)return;const l=n.slice(0,Math.max(0,o)),a=n.slice(Math.max(0,i));t.value={selectionStart:o,selectionEnd:i,value:n,beforeTxt:l,afterTxt:a}}function i(){if(void 0==e.value||void 0==t.value)return;const{value:o}=e.value,{beforeTxt:i,afterTxt:n,selectionStart:l}=t.value;if(void 0==i||void 0==n||void 0==l)return;let a=o.length;if(o.endsWith(n))a=o.length-n.length;else if(o.startsWith(i))a=i.length;else{const e=i[l-1],t=o.indexOf(e,l-1);-1!==t&&(a=t+1)}e.value.setSelectionRange(a,a)}return[o,i]}const Ar=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),Vr=["role"],Zr=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],Wr=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],Yr=(0,i.aZ)({name:"ElInput",inheritAttrs:!1}),qr=(0,i.aZ)({...Yr,props:Nr,emits:Hr,setup(e,{expose:t,emit:o}){const a=e,r=(0,i.l1)(),s=(0,i.Rr)(),c=(0,i.Fl)((()=>{const e={};return"combobox"===a.containerRole&&(e["aria-haspopup"]=r["aria-haspopup"],e["aria-owns"]=r["aria-owns"],e["aria-expanded"]=r["aria-expanded"]),e})),u=(0,i.Fl)((()=>["textarea"===a.type?y.b():b.b(),b.m(v.value),b.is("disabled",g.value),b.is("exceed",A.value),{[b.b("group")]:s.prepend||s.append,[b.bm("group","append")]:s.append,[b.bm("group","prepend")]:s.prepend,[b.m("prefix")]:s.prefix||a.prefixIcon,[b.m("suffix")]:s.suffix||a.suffixIcon||a.clearable||a.showPassword,[b.bm("suffix","password-clear")]:B.value&&z.value},r.class])),d=(0,i.Fl)((()=>[b.e("wrapper"),b.is("focus",U.value)])),p=zr({excludeKeys:(0,i.Fl)((()=>Object.keys(c.value)))}),{form:m,formItem:h}=Yl(),{inputId:f}=ql(a,{formItemContext:h}),v=zl(),g=Rl(),b=Zi("input"),y=Zi("textarea"),w=(0,De.XI)(),S=(0,De.XI)(),_=(0,De.iH)(!1),k=(0,De.iH)(!1),x=(0,De.iH)(!1),C=(0,De.iH)(),O=(0,De.XI)(a.inputStyle),L=(0,i.Fl)((()=>w.value||S.value)),{wrapperRef:P,isFocused:U,handleFocus:j,handleBlur:I}=Rr(L,{afterBlur(){var e;a.validateEvent&&(null==(e=null==h?void 0:h.validate)||e.call(h,"blur").catch((e=>qi(e))))}}),T=(0,i.Fl)((()=>{var e;return null!=(e=null==m?void 0:m.statusIcon)&&e})),M=(0,i.Fl)((()=>(null==h?void 0:h.validateState)||"")),F=(0,i.Fl)((()=>M.value&&Fr[M.value])),E=(0,i.Fl)((()=>x.value?_l:ul)),N=(0,i.Fl)((()=>[r.style,a.inputStyle])),H=(0,i.Fl)((()=>[a.inputStyle,O.value,{resize:a.resize}])),D=(0,i.Fl)((()=>Xl(a.modelValue)?"":String(a.modelValue))),B=(0,i.Fl)((()=>a.clearable&&!g.value&&!a.readonly&&!!D.value&&(U.value||_.value))),z=(0,i.Fl)((()=>a.showPassword&&!g.value&&!a.readonly&&!!D.value&&(!!D.value||U.value))),R=(0,i.Fl)((()=>a.showWordLimit&&!!p.value.maxlength&&("text"===a.type||"textarea"===a.type)&&!g.value&&!a.readonly&&!a.showPassword)),$=(0,i.Fl)((()=>D.value.length)),A=(0,i.Fl)((()=>!!R.value&&$.value>Number(p.value.maxlength))),V=(0,i.Fl)((()=>!!s.suffix||!!a.suffixIcon||B.value||a.showPassword||R.value||!!M.value&&T.value)),[Z,W]=$r(w);hi(S,(e=>{if(K(),!R.value||"both"!==a.resize)return;const t=e[0],{width:o}=t.contentRect;C.value={right:`calc(100% - ${o+15+6}px)`}}));const Y=()=>{const{type:e,autosize:t}=a;if(Yo&&"textarea"===e&&S.value)if(t){const e=(0,n.Kn)(t)?t.minRows:void 0,o=(0,n.Kn)(t)?t.maxRows:void 0,l=Tr(S.value,e,o);O.value={overflowY:"hidden",...l},(0,i.Y3)((()=>{S.value.offsetHeight,O.value=l}))}else O.value={minHeight:Tr(S.value).minHeight}},q=e=>{let t=!1;return()=>{var o;if(t||!a.autosize)return;const i=null===(null==(o=S.value)?void 0:o.offsetParent);i||(e(),t=!0)}},K=q(Y),G=()=>{const e=L.value,t=a.formatter?a.formatter(D.value):D.value;e&&e.value!==t&&(e.value=t)},J=async e=>{Z();let{value:t}=e.target;a.formatter&&(t=a.parser?a.parser(t):t),k.value||(t!==D.value?(o(Tl,t),o("input",t),await(0,i.Y3)(),G(),W()):G())},X=e=>{o("change",e.target.value)},Q=e=>{o("compositionstart",e),k.value=!0},ee=e=>{var t;o("compositionupdate",e);const i=null==(t=e.target)?void 0:t.value,n=i[i.length-1]||"";k.value=!Ar(n)},te=e=>{o("compositionend",e),k.value&&(k.value=!1,J(e))},oe=()=>{x.value=!x.value,ie()},ie=async()=>{var e;await(0,i.Y3)(),null==(e=L.value)||e.focus()},ne=()=>{var e;return null==(e=L.value)?void 0:e.blur()},le=e=>{_.value=!1,o("mouseleave",e)},ae=e=>{_.value=!0,o("mouseenter",e)},re=e=>{o("keydown",e)},se=()=>{var e;null==(e=L.value)||e.select()},ce=()=>{o(Tl,""),o("change",""),o("clear"),o("input","")};return(0,i.YP)((()=>a.modelValue),(()=>{var e;(0,i.Y3)((()=>Y())),a.validateEvent&&(null==(e=null==h?void 0:h.validate)||e.call(h,"change").catch((e=>qi(e))))})),(0,i.YP)(D,(()=>G())),(0,i.YP)((()=>a.type),(async()=>{await(0,i.Y3)(),G(),Y()})),(0,i.bv)((()=>{!a.formatter&&a.parser&&qi("ElInput","If you set the parser, you also need to set the formatter."),G(),(0,i.Y3)(Y)})),t({input:w,textarea:S,ref:L,textareaStyle:H,autosize:(0,De.Vh)(a,"autosize"),focus:ie,blur:ne,select:se,clear:ce,resizeTextarea:Y}),(e,t)=>(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",(0,i.dG)((0,De.SU)(c),{class:(0,De.SU)(u),style:(0,De.SU)(N),role:e.containerRole,onMouseenter:ae,onMouseleave:le}),[(0,i.kq)(" input "),"textarea"!==e.type?((0,i.wg)(),(0,i.iD)(i.HY,{key:0},[(0,i.kq)(" prepend slot "),e.$slots.prepend?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,n.C_)((0,De.SU)(b).be("group","prepend"))},[(0,i.WI)(e.$slots,"prepend")],2)):(0,i.kq)("v-if",!0),(0,i._)("div",{ref_key:"wrapperRef",ref:P,class:(0,n.C_)((0,De.SU)(d))},[(0,i.kq)(" prefix slot "),e.$slots.prefix||e.prefixIcon?((0,i.wg)(),(0,i.iD)("span",{key:0,class:(0,n.C_)((0,De.SU)(b).e("prefix"))},[(0,i._)("span",{class:(0,n.C_)((0,De.SU)(b).e("prefix-inner"))},[(0,i.WI)(e.$slots,"prefix"),e.prefixIcon?((0,i.wg)(),(0,i.j4)((0,De.SU)(Ll),{key:0,class:(0,n.C_)((0,De.SU)(b).e("icon"))},{default:(0,i.w5)((()=>[((0,i.wg)(),(0,i.j4)((0,i.LL)(e.prefixIcon)))])),_:1},8,["class"])):(0,i.kq)("v-if",!0)],2)],2)):(0,i.kq)("v-if",!0),(0,i._)("input",(0,i.dG)({id:(0,De.SU)(f),ref_key:"input",ref:w,class:(0,De.SU)(b).e("inner")},(0,De.SU)(p),{type:e.showPassword?x.value?"text":"password":e.type,disabled:(0,De.SU)(g),formatter:e.formatter,parser:e.parser,readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.label,placeholder:e.placeholder,style:e.inputStyle,form:a.form,autofocus:a.autofocus,onCompositionstart:Q,onCompositionupdate:ee,onCompositionend:te,onInput:J,onFocus:t[0]||(t[0]=(...e)=>(0,De.SU)(j)&&(0,De.SU)(j)(...e)),onBlur:t[1]||(t[1]=(...e)=>(0,De.SU)(I)&&(0,De.SU)(I)(...e)),onChange:X,onKeydown:re}),null,16,Zr),(0,i.kq)(" suffix slot "),(0,De.SU)(V)?((0,i.wg)(),(0,i.iD)("span",{key:1,class:(0,n.C_)((0,De.SU)(b).e("suffix"))},[(0,i._)("span",{class:(0,n.C_)((0,De.SU)(b).e("suffix-inner"))},[(0,De.SU)(B)&&(0,De.SU)(z)&&(0,De.SU)(R)?(0,i.kq)("v-if",!0):((0,i.wg)(),(0,i.iD)(i.HY,{key:0},[(0,i.WI)(e.$slots,"suffix"),e.suffixIcon?((0,i.wg)(),(0,i.j4)((0,De.SU)(Ll),{key:0,class:(0,n.C_)((0,De.SU)(b).e("icon"))},{default:(0,i.w5)((()=>[((0,i.wg)(),(0,i.j4)((0,i.LL)(e.suffixIcon)))])),_:1},8,["class"])):(0,i.kq)("v-if",!0)],64)),(0,De.SU)(B)?((0,i.wg)(),(0,i.j4)((0,De.SU)(Ll),{key:1,class:(0,n.C_)([(0,De.SU)(b).e("icon"),(0,De.SU)(b).e("clear")]),onMousedown:(0,l.iM)((0,De.SU)(n.dG),["prevent"]),onClick:ce},{default:(0,i.w5)((()=>[(0,i.Wm)((0,De.SU)(Jn))])),_:1},8,["class","onMousedown"])):(0,i.kq)("v-if",!0),(0,De.SU)(z)?((0,i.wg)(),(0,i.j4)((0,De.SU)(Ll),{key:2,class:(0,n.C_)([(0,De.SU)(b).e("icon"),(0,De.SU)(b).e("password")]),onClick:oe},{default:(0,i.w5)((()=>[((0,i.wg)(),(0,i.j4)((0,i.LL)((0,De.SU)(E))))])),_:1},8,["class"])):(0,i.kq)("v-if",!0),(0,De.SU)(R)?((0,i.wg)(),(0,i.iD)("span",{key:3,class:(0,n.C_)((0,De.SU)(b).e("count"))},[(0,i._)("span",{class:(0,n.C_)((0,De.SU)(b).e("count-inner"))},(0,n.zw)((0,De.SU)($))+" / "+(0,n.zw)((0,De.SU)(p).maxlength),3)],2)):(0,i.kq)("v-if",!0),(0,De.SU)(M)&&(0,De.SU)(F)&&(0,De.SU)(T)?((0,i.wg)(),(0,i.j4)((0,De.SU)(Ll),{key:4,class:(0,n.C_)([(0,De.SU)(b).e("icon"),(0,De.SU)(b).e("validateIcon"),(0,De.SU)(b).is("loading","validating"===(0,De.SU)(M))])},{default:(0,i.w5)((()=>[((0,i.wg)(),(0,i.j4)((0,i.LL)((0,De.SU)(F))))])),_:1},8,["class"])):(0,i.kq)("v-if",!0)],2)],2)):(0,i.kq)("v-if",!0)],2),(0,i.kq)(" append slot "),e.$slots.append?((0,i.wg)(),(0,i.iD)("div",{key:1,class:(0,n.C_)((0,De.SU)(b).be("group","append"))},[(0,i.WI)(e.$slots,"append")],2)):(0,i.kq)("v-if",!0)],64)):((0,i.wg)(),(0,i.iD)(i.HY,{key:1},[(0,i.kq)(" textarea "),(0,i._)("textarea",(0,i.dG)({id:(0,De.SU)(f),ref_key:"textarea",ref:S,class:(0,De.SU)(y).e("inner")},(0,De.SU)(p),{tabindex:e.tabindex,disabled:(0,De.SU)(g),readonly:e.readonly,autocomplete:e.autocomplete,style:(0,De.SU)(H),"aria-label":e.label,placeholder:e.placeholder,form:a.form,autofocus:a.autofocus,onCompositionstart:Q,onCompositionupdate:ee,onCompositionend:te,onInput:J,onFocus:t[2]||(t[2]=(...e)=>(0,De.SU)(j)&&(0,De.SU)(j)(...e)),onBlur:t[3]||(t[3]=(...e)=>(0,De.SU)(I)&&(0,De.SU)(I)(...e)),onChange:X,onKeydown:re}),null,16,Wr),(0,De.SU)(R)?((0,i.wg)(),(0,i.iD)("span",{key:0,style:(0,n.j5)(C.value),class:(0,n.C_)((0,De.SU)(b).e("count"))},(0,n.zw)((0,De.SU)($))+" / "+(0,n.zw)((0,De.SU)(p).maxlength),7)):(0,i.kq)("v-if",!0)],64))],16,Vr)),[[l.F8,"hidden"!==e.type]])}});var Kr=Bi(qr,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const Gr=vn(Kr),Jr=Symbol("popper"),Xr=Symbol("popperContent"),Qr=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],es=Hi({role:{type:String,values:Qr,default:"tooltip"}}),ts=(0,i.aZ)({name:"ElPopper",inheritAttrs:!1}),os=(0,i.aZ)({...ts,props:es,setup(e,{expose:t}){const o=e,n=(0,De.iH)(),l=(0,De.iH)(),a=(0,De.iH)(),r=(0,De.iH)(),s=(0,i.Fl)((()=>o.role)),c={triggerRef:n,popperInstanceRef:l,contentRef:a,referenceRef:r,role:s};return t(c),(0,i.JJ)(Jr,c),(e,t)=>(0,i.WI)(e.$slots,"default")}});var is=Bi(os,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const ns=vn(is),ls=Symbol("elTooltip");function as(){let e;const t=(t,i)=>{o(),e=window.setTimeout(t,i)},o=()=>window.clearTimeout(e);return Qo((()=>o())),{registerTimeout:t,cancelTimeout:o}}const rs=Hi({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),ss=({showAfter:e,hideAfter:t,autoClose:o,open:i,close:n})=>{const{registerTimeout:l}=as(),{registerTimeout:a,cancelTimeout:r}=as(),s=t=>{l((()=>{i(t);const e=(0,De.SU)(o);nn(e)&&e>0&&a((()=>{n(t)}),e)}),(0,De.SU)(e))},c=e=>{r(),l((()=>{n(e)}),(0,De.SU)(t))};return{onOpen:s,onClose:c}};var cs="top",us="bottom",ds="right",ps="left",ms="auto",hs=[cs,us,ds,ps],fs="start",vs="end",gs="clippingParents",bs="viewport",ys="popper",ws="reference",Ss=hs.reduce((function(e,t){return e.concat([t+"-"+fs,t+"-"+vs])}),[]),_s=[].concat(hs,[ms]).reduce((function(e,t){return e.concat([t,t+"-"+fs,t+"-"+vs])}),[]),ks="beforeRead",xs="read",Cs="afterRead",Os="beforeMain",Ls="main",Ps="afterMain",Us="beforeWrite",js="write",Is="afterWrite",Ts=[ks,xs,Cs,Os,Ls,Ps,Us,js,Is];function Ms(e){return e?(e.nodeName||"").toLowerCase():null}function Fs(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Es(e){var t=Fs(e).Element;return e instanceof t||e instanceof Element}function Ns(e){var t=Fs(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Hs(e){if("undefined"==typeof ShadowRoot)return!1;var t=Fs(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ds(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},i=t.attributes[e]||{},n=t.elements[e];!Ns(n)||!Ms(n)||(Object.assign(n.style,o),Object.keys(i).forEach((function(e){var t=i[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)})))}))}function Bs(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],n=t.attributes[e]||{},l=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]),a=l.reduce((function(e,t){return e[t]="",e}),{});!Ns(i)||!Ms(i)||(Object.assign(i.style,a),Object.keys(n).forEach((function(e){i.removeAttribute(e)})))}))}}var zs={name:"applyStyles",enabled:!0,phase:"write",fn:Ds,effect:Bs,requires:["computeStyles"]};function Rs(e){return e.split("-")[0]}var $s=Math.max,As=Math.min,Vs=Math.round;function Zs(e,t){void 0===t&&(t=!1);var o=e.getBoundingClientRect(),i=1,n=1;if(Ns(e)&&t){var l=e.offsetHeight,a=e.offsetWidth;a>0&&(i=Vs(o.width)/a||1),l>0&&(n=Vs(o.height)/l||1)}return{width:o.width/i,height:o.height/n,top:o.top/n,right:o.right/i,bottom:o.bottom/n,left:o.left/i,x:o.left/i,y:o.top/n}}function Ws(e){var t=Zs(e),o=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:i}}function Ys(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&Hs(o)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function qs(e){return Fs(e).getComputedStyle(e)}function Ks(e){return["table","td","th"].indexOf(Ms(e))>=0}function Gs(e){return((Es(e)?e.ownerDocument:e.document)||window.document).documentElement}function Js(e){return"html"===Ms(e)?e:e.assignedSlot||e.parentNode||(Hs(e)?e.host:null)||Gs(e)}function Xs(e){return Ns(e)&&"fixed"!==qs(e).position?e.offsetParent:null}function Qs(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),o=-1!==navigator.userAgent.indexOf("Trident");if(o&&Ns(e)){var i=qs(e);if("fixed"===i.position)return null}var n=Js(e);for(Hs(n)&&(n=n.host);Ns(n)&&["html","body"].indexOf(Ms(n))<0;){var l=qs(n);if("none"!==l.transform||"none"!==l.perspective||"paint"===l.contain||-1!==["transform","perspective"].indexOf(l.willChange)||t&&"filter"===l.willChange||t&&l.filter&&"none"!==l.filter)return n;n=n.parentNode}return null}function ec(e){for(var t=Fs(e),o=Xs(e);o&&Ks(o)&&"static"===qs(o).position;)o=Xs(o);return o&&("html"===Ms(o)||"body"===Ms(o)&&"static"===qs(o).position)?t:o||Qs(e)||t}function tc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oc(e,t,o){return $s(e,As(t,o))}function ic(e,t,o){var i=oc(e,t,o);return i>o?o:i}function nc(){return{top:0,right:0,bottom:0,left:0}}function lc(e){return Object.assign({},nc(),e)}function ac(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}var rc=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,lc("number"!=typeof e?e:ac(e,hs))};function sc(e){var t,o=e.state,i=e.name,n=e.options,l=o.elements.arrow,a=o.modifiersData.popperOffsets,r=Rs(o.placement),s=tc(r),c=[ps,ds].indexOf(r)>=0,u=c?"height":"width";if(l&&a){var d=rc(n.padding,o),p=Ws(l),m="y"===s?cs:ps,h="y"===s?us:ds,f=o.rects.reference[u]+o.rects.reference[s]-a[s]-o.rects.popper[u],v=a[s]-o.rects.reference[s],g=ec(l),b=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,y=f/2-v/2,w=d[m],S=b-p[u]-d[h],_=b/2-p[u]/2+y,k=oc(w,_,S),x=s;o.modifiersData[i]=(t={},t[x]=k,t.centerOffset=k-_,t)}}function cc(e){var t=e.state,o=e.options,i=o.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"==typeof n&&(n=t.elements.popper.querySelector(n),!n)||!Ys(t.elements.popper,n)||(t.elements.arrow=n))}var uc={name:"arrow",enabled:!0,phase:"main",fn:sc,effect:cc,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function dc(e){return e.split("-")[1]}var pc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mc(e){var t=e.x,o=e.y,i=window,n=i.devicePixelRatio||1;return{x:Vs(t*n)/n||0,y:Vs(o*n)/n||0}}function hc(e){var t,o=e.popper,i=e.popperRect,n=e.placement,l=e.variation,a=e.offsets,r=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,m=void 0===p?0:p,h=a.y,f=void 0===h?0:h,v="function"==typeof u?u({x:m,y:f}):{x:m,y:f};m=v.x,f=v.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=ps,w=cs,S=window;if(c){var _=ec(o),k="clientHeight",x="clientWidth";if(_===Fs(o)&&(_=Gs(o),"static"!==qs(_).position&&"absolute"===r&&(k="scrollHeight",x="scrollWidth")),n===cs||(n===ps||n===ds)&&l===vs){w=us;var C=d&&_===S&&S.visualViewport?S.visualViewport.height:_[k];f-=C-i.height,f*=s?1:-1}if(n===ps||(n===cs||n===us)&&l===vs){y=ds;var O=d&&_===S&&S.visualViewport?S.visualViewport.width:_[x];m-=O-i.width,m*=s?1:-1}}var L,P=Object.assign({position:r},c&&pc),U=!0===u?mc({x:m,y:f}):{x:m,y:f};return m=U.x,f=U.y,s?Object.assign({},P,(L={},L[w]=b?"0":"",L[y]=g?"0":"",L.transform=(S.devicePixelRatio||1)<=1?"translate("+m+"px, "+f+"px)":"translate3d("+m+"px, "+f+"px, 0)",L)):Object.assign({},P,(t={},t[w]=b?f+"px":"",t[y]=g?m+"px":"",t.transform="",t))}function fc(e){var t=e.state,o=e.options,i=o.gpuAcceleration,n=void 0===i||i,l=o.adaptive,a=void 0===l||l,r=o.roundOffsets,s=void 0===r||r,c={placement:Rs(t.placement),variation:dc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,hc(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,hc(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var vc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:fc,data:{}},gc={passive:!0};function bc(e){var t=e.state,o=e.instance,i=e.options,n=i.scroll,l=void 0===n||n,a=i.resize,r=void 0===a||a,s=Fs(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&c.forEach((function(e){e.addEventListener("scroll",o.update,gc)})),r&&s.addEventListener("resize",o.update,gc),function(){l&&c.forEach((function(e){e.removeEventListener("scroll",o.update,gc)})),r&&s.removeEventListener("resize",o.update,gc)}}var yc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bc,data:{}},wc={left:"right",right:"left",bottom:"top",top:"bottom"};function Sc(e){return e.replace(/left|right|bottom|top/g,(function(e){return wc[e]}))}var _c={start:"end",end:"start"};function kc(e){return e.replace(/start|end/g,(function(e){return _c[e]}))}function xc(e){var t=Fs(e),o=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:o,scrollTop:i}}function Cc(e){return Zs(Gs(e)).left+xc(e).scrollLeft}function Oc(e){var t=Fs(e),o=Gs(e),i=t.visualViewport,n=o.clientWidth,l=o.clientHeight,a=0,r=0;return i&&(n=i.width,l=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,r=i.offsetTop)),{width:n,height:l,x:a+Cc(e),y:r}}function Lc(e){var t,o=Gs(e),i=xc(e),n=null==(t=e.ownerDocument)?void 0:t.body,l=$s(o.scrollWidth,o.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),a=$s(o.scrollHeight,o.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),r=-i.scrollLeft+Cc(e),s=-i.scrollTop;return"rtl"===qs(n||o).direction&&(r+=$s(o.clientWidth,n?n.clientWidth:0)-l),{width:l,height:a,x:r,y:s}}function Pc(e){var t=qs(e),o=t.overflow,i=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+i)}function Uc(e){return["html","body","#document"].indexOf(Ms(e))>=0?e.ownerDocument.body:Ns(e)&&Pc(e)?e:Uc(Js(e))}function jc(e,t){var o;void 0===t&&(t=[]);var i=Uc(e),n=i===(null==(o=e.ownerDocument)?void 0:o.body),l=Fs(i),a=n?[l].concat(l.visualViewport||[],Pc(i)?i:[]):i,r=t.concat(a);return n?r:r.concat(jc(Js(a)))}function Ic(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Tc(e){var t=Zs(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Mc(e,t){return t===bs?Ic(Oc(e)):Es(t)?Tc(t):Ic(Lc(Gs(e)))}function Fc(e){var t=jc(Js(e)),o=["absolute","fixed"].indexOf(qs(e).position)>=0,i=o&&Ns(e)?ec(e):e;return Es(i)?t.filter((function(e){return Es(e)&&Ys(e,i)&&"body"!==Ms(e)})):[]}function Ec(e,t,o){var i="clippingParents"===t?Fc(e):[].concat(t),n=[].concat(i,[o]),l=n[0],a=n.reduce((function(t,o){var i=Mc(e,o);return t.top=$s(i.top,t.top),t.right=As(i.right,t.right),t.bottom=As(i.bottom,t.bottom),t.left=$s(i.left,t.left),t}),Mc(e,l));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Nc(e){var t,o=e.reference,i=e.element,n=e.placement,l=n?Rs(n):null,a=n?dc(n):null,r=o.x+o.width/2-i.width/2,s=o.y+o.height/2-i.height/2;switch(l){case cs:t={x:r,y:o.y-i.height};break;case us:t={x:r,y:o.y+o.height};break;case ds:t={x:o.x+o.width,y:s};break;case ps:t={x:o.x-i.width,y:s};break;default:t={x:o.x,y:o.y}}var c=l?tc(l):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case fs:t[c]=t[c]-(o[u]/2-i[u]/2);break;case vs:t[c]=t[c]+(o[u]/2-i[u]/2);break}}return t}function Hc(e,t){void 0===t&&(t={});var o=t,i=o.placement,n=void 0===i?e.placement:i,l=o.boundary,a=void 0===l?gs:l,r=o.rootBoundary,s=void 0===r?bs:r,c=o.elementContext,u=void 0===c?ys:c,d=o.altBoundary,p=void 0!==d&&d,m=o.padding,h=void 0===m?0:m,f=lc("number"!=typeof h?h:ac(h,hs)),v=u===ys?ws:ys,g=e.rects.popper,b=e.elements[p?v:u],y=Ec(Es(b)?b:b.contextElement||Gs(e.elements.popper),a,s),w=Zs(e.elements.reference),S=Nc({reference:w,element:g,strategy:"absolute",placement:n}),_=Ic(Object.assign({},g,S)),k=u===ys?_:w,x={top:y.top-k.top+f.top,bottom:k.bottom-y.bottom+f.bottom,left:y.left-k.left+f.left,right:k.right-y.right+f.right},C=e.modifiersData.offset;if(u===ys&&C){var O=C[n];Object.keys(x).forEach((function(e){var t=[ds,us].indexOf(e)>=0?1:-1,o=[cs,us].indexOf(e)>=0?"y":"x";x[e]+=O[o]*t}))}return x}function Dc(e,t){void 0===t&&(t={});var o=t,i=o.placement,n=o.boundary,l=o.rootBoundary,a=o.padding,r=o.flipVariations,s=o.allowedAutoPlacements,c=void 0===s?_s:s,u=dc(i),d=u?r?Ss:Ss.filter((function(e){return dc(e)===u})):hs,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var m=p.reduce((function(t,o){return t[o]=Hc(e,{placement:o,boundary:n,rootBoundary:l,padding:a})[Rs(o)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Bc(e){if(Rs(e)===ms)return[];var t=Sc(e);return[kc(e),t,kc(t)]}function zc(e){var t=e.state,o=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var n=o.mainAxis,l=void 0===n||n,a=o.altAxis,r=void 0===a||a,s=o.fallbackPlacements,c=o.padding,u=o.boundary,d=o.rootBoundary,p=o.altBoundary,m=o.flipVariations,h=void 0===m||m,f=o.allowedAutoPlacements,v=t.options.placement,g=Rs(v),b=g===v,y=s||(b||!h?[Sc(v)]:Bc(v)),w=[v].concat(y).reduce((function(e,o){return e.concat(Rs(o)===ms?Dc(t,{placement:o,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:f}):o)}),[]),S=t.rects.reference,_=t.rects.popper,k=new Map,x=!0,C=w[0],O=0;O=0,I=j?"width":"height",T=Hc(t,{placement:L,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),M=j?U?ds:ps:U?us:cs;S[I]>_[I]&&(M=Sc(M));var F=Sc(M),E=[];if(l&&E.push(T[P]<=0),r&&E.push(T[M]<=0,T[F]<=0),E.every((function(e){return e}))){C=L,x=!1;break}k.set(L,E)}if(x)for(var N=h?3:1,H=function(e){var t=w.find((function(t){var o=k.get(t);if(o)return o.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},D=N;D>0;D--){var B=H(D);if("break"===B)break}t.placement!==C&&(t.modifiersData[i]._skip=!0,t.placement=C,t.reset=!0)}}var Rc={name:"flip",enabled:!0,phase:"main",fn:zc,requiresIfExists:["offset"],data:{_skip:!1}};function $c(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function Ac(e){return[cs,ds,us,ps].some((function(t){return e[t]>=0}))}function Vc(e){var t=e.state,o=e.name,i=t.rects.reference,n=t.rects.popper,l=t.modifiersData.preventOverflow,a=Hc(t,{elementContext:"reference"}),r=Hc(t,{altBoundary:!0}),s=$c(a,i),c=$c(r,n,l),u=Ac(s),d=Ac(c);t.modifiersData[o]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var Zc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Vc};function Wc(e,t,o){var i=Rs(e),n=[ps,cs].indexOf(i)>=0?-1:1,l="function"==typeof o?o(Object.assign({},t,{placement:e})):o,a=l[0],r=l[1];return a=a||0,r=(r||0)*n,[ps,ds].indexOf(i)>=0?{x:r,y:a}:{x:a,y:r}}function Yc(e){var t=e.state,o=e.options,i=e.name,n=o.offset,l=void 0===n?[0,0]:n,a=_s.reduce((function(e,o){return e[o]=Wc(o,t.rects,l),e}),{}),r=a[t.placement],s=r.x,c=r.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=a}var qc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Yc};function Kc(e){var t=e.state,o=e.name;t.modifiersData[o]=Nc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Gc={name:"popperOffsets",enabled:!0,phase:"read",fn:Kc,data:{}};function Jc(e){return"x"===e?"y":"x"}function Xc(e){var t=e.state,o=e.options,i=e.name,n=o.mainAxis,l=void 0===n||n,a=o.altAxis,r=void 0!==a&&a,s=o.boundary,c=o.rootBoundary,u=o.altBoundary,d=o.padding,p=o.tether,m=void 0===p||p,h=o.tetherOffset,f=void 0===h?0:h,v=Hc(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),g=Rs(t.placement),b=dc(t.placement),y=!b,w=tc(g),S=Jc(w),_=t.modifiersData.popperOffsets,k=t.rects.reference,x=t.rects.popper,C="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(_){if(l){var U,j="y"===w?cs:ps,I="y"===w?us:ds,T="y"===w?"height":"width",M=_[w],F=M+v[j],E=M-v[I],N=m?-x[T]/2:0,H=b===fs?k[T]:x[T],D=b===fs?-x[T]:-k[T],B=t.elements.arrow,z=m&&B?Ws(B):{width:0,height:0},R=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nc(),$=R[j],A=R[I],V=oc(0,k[T],z[T]),Z=y?k[T]/2-N-V-$-O.mainAxis:H-V-$-O.mainAxis,W=y?-k[T]/2+N+V+A+O.mainAxis:D+V+A+O.mainAxis,Y=t.elements.arrow&&ec(t.elements.arrow),q=Y?"y"===w?Y.clientTop||0:Y.clientLeft||0:0,K=null!=(U=null==L?void 0:L[w])?U:0,G=M+Z-K-q,J=M+W-K,X=oc(m?As(F,G):F,M,m?$s(E,J):E);_[w]=X,P[w]=X-M}if(r){var Q,ee="x"===w?cs:ps,te="x"===w?us:ds,oe=_[S],ie="y"===S?"height":"width",ne=oe+v[ee],le=oe-v[te],ae=-1!==[cs,ps].indexOf(g),re=null!=(Q=null==L?void 0:L[S])?Q:0,se=ae?ne:oe-k[ie]-x[ie]-re+O.altAxis,ce=ae?oe+k[ie]+x[ie]-re-O.altAxis:le,ue=m&&ae?ic(se,oe,ce):oc(m?se:ne,oe,m?ce:le);_[S]=ue,P[S]=ue-oe}t.modifiersData[i]=P}}var Qc={name:"preventOverflow",enabled:!0,phase:"main",fn:Xc,requiresIfExists:["offset"]};function eu(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function tu(e){return e!==Fs(e)&&Ns(e)?eu(e):xc(e)}function ou(e){var t=e.getBoundingClientRect(),o=Vs(t.width)/e.offsetWidth||1,i=Vs(t.height)/e.offsetHeight||1;return 1!==o||1!==i}function iu(e,t,o){void 0===o&&(o=!1);var i=Ns(t),n=Ns(t)&&ou(t),l=Gs(t),a=Zs(e,n),r={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(i||!i&&!o)&&(("body"!==Ms(t)||Pc(l))&&(r=tu(t)),Ns(t)?(s=Zs(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):l&&(s.x=Cc(l))),{x:a.left+r.scrollLeft-s.x,y:a.top+r.scrollTop-s.y,width:a.width,height:a.height}}function nu(e){var t=new Map,o=new Set,i=[];function n(e){o.add(e.name);var l=[].concat(e.requires||[],e.requiresIfExists||[]);l.forEach((function(e){if(!o.has(e)){var i=t.get(e);i&&n(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||n(e)})),i}function lu(e){var t=nu(e);return Ts.reduce((function(e,o){return e.concat(t.filter((function(e){return e.phase===o})))}),[])}function au(e){var t;return function(){return t||(t=new Promise((function(o){Promise.resolve().then((function(){t=void 0,o(e())}))}))),t}}function ru(e){var t=e.reduce((function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}var su={placement:"bottom",modifiers:[],strategy:"absolute"};function cu(){for(var e=arguments.length,t=new Array(e),o=0;o({})},strategy:{type:String,values:hu,default:"absolute"}}),vu=Hi({...fu,id:String,style:{type:Fi([String,Array,Object])},className:{type:Fi([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:Fi([String,Array,Object])},popperStyle:{type:Fi([String,Array,Object])},referenceEl:{type:Fi(Object)},triggerTargetEl:{type:Fi(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),gu={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},bu=Hi({...rs,...vu,appendTo:{type:Fi([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Fi(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),yu=Hi({virtualRef:{type:Fi(Object)},virtualTriggering:Boolean,onMouseenter:{type:Fi(Function)},onMouseleave:{type:Fi(Function)},onClick:{type:Fi(Function)},onKeydown:{type:Fi(Function)},onFocus:{type:Fi(Function)},onBlur:{type:Fi(Function)},onContextmenu:{type:Fi(Function)},id:String,open:Boolean}),wu=Hi({...yu,disabled:Boolean,trigger:{type:Fi([String,Array]),default:"hover"},triggerKeys:{type:Fi(Array),default:()=>[_r.enter,_r.space]}}),Su=Ni({type:Fi(Boolean),default:null}),_u=Ni({type:Fi(Function)}),ku=e=>{const t=`update:${e}`,o=`onUpdate:${e}`,l=[t],a={[e]:Su,[o]:_u},r=({indicator:l,toggleReason:a,shouldHideWhenRouteChanges:r,shouldProceed:s,onShow:c,onHide:u})=>{const d=(0,i.FN)(),{emit:p}=d,m=d.props,h=(0,i.Fl)((()=>(0,n.mf)(m[o]))),f=(0,i.Fl)((()=>null===m[e])),v=e=>{!0!==l.value&&(l.value=!0,a&&(a.value=e),(0,n.mf)(c)&&c(e))},g=e=>{!1!==l.value&&(l.value=!1,a&&(a.value=e),(0,n.mf)(u)&&u(e))},b=e=>{if(!0===m.disabled||(0,n.mf)(s)&&!s())return;const o=h.value&&Yo;o&&p(t,!0),!f.value&&o||v(e)},y=e=>{if(!0===m.disabled||!Yo)return;const o=h.value&&Yo;o&&p(t,!1),!f.value&&o||g(e)},w=e=>{on(e)&&(m.disabled&&e?h.value&&p(t,!1):l.value!==e&&(e?v():g()))},S=()=>{l.value?y():b()};return(0,i.YP)((()=>m[e]),w),r&&void 0!==d.appContext.config.globalProperties.$route&&(0,i.YP)((()=>({...d.proxy.$route})),(()=>{r.value&&l.value&&y()})),(0,i.bv)((()=>{w(m[e])})),{hide:y,show:b,toggle:S,hasUpdateHandler:h}};return{useModelToggle:r,useModelToggleProps:a,useModelToggleEmits:l}},{useModelToggle:xu,useModelToggleProps:Cu,useModelToggleEmits:Ou}=ku("modelValue"),Lu=Hi({arrowOffset:{type:Number,default:5}}),{useModelToggleProps:Pu,useModelToggleEmits:Uu,useModelToggle:ju}=ku("visible"),Iu=Hi({...es,...Pu,...bu,...wu,...Lu,showArrow:{type:Boolean,default:!0}}),Tu=[...Uu,"before-show","before-hide","show","hide","open","close"],Mu=(e,t)=>(0,n.kJ)(e)?e.includes(t):e===t,Fu=(e,t,o)=>i=>{Mu((0,De.SU)(e),t)&&o(i)},Eu=(e,t,{checkForDefaultPrevented:o=!0}={})=>{const i=i=>{const n=null==e?void 0:e(i);if(!1===o||!n)return null==t?void 0:t(i)};return i},Nu=Symbol("elForwardRef"),Hu=e=>{const t=t=>{e.value=t};(0,i.JJ)(Nu,{setForwardRef:t})},Du=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),Bu="ElOnlyChild",zu=(0,i.aZ)({name:Bu,setup(e,{slots:t,attrs:o}){var l;const a=(0,i.f3)(Nu),r=Du(null!=(l=null==a?void 0:a.setForwardRef)?l:n.dG);return()=>{var e;const n=null==(e=t.default)?void 0:e.call(t,o);if(!n)return null;if(n.length>1)return qi(Bu,"requires exact only one valid child."),null;const l=Ru(n);return l?(0,i.wy)((0,i.Ho)(l,o),[[r]]):(qi(Bu,"no valid child node found"),null)}}});function Ru(e){if(!e)return null;const t=e;for(const o of t){if((0,n.Kn)(o))switch(o.type){case i.sv:continue;case i.xv:case"svg":return $u(o);case i.HY:return Ru(o.children);default:return o}return $u(o)}return null}function $u(e){const t=Zi("only-child");return(0,i.Wm)("span",{class:t.e("content")},[e])}const Au=(0,i.aZ)({name:"ElPopperTrigger",inheritAttrs:!1}),Vu=(0,i.aZ)({...Au,props:yu,setup(e,{expose:t}){const o=e,{role:n,triggerRef:l}=(0,i.f3)(Jr,void 0);Hu(l);const a=(0,i.Fl)((()=>s.value?o.id:void 0)),r=(0,i.Fl)((()=>{if(n&&"tooltip"===n.value)return o.open&&o.id?o.id:void 0})),s=(0,i.Fl)((()=>{if(n&&"tooltip"!==n.value)return n.value})),c=(0,i.Fl)((()=>s.value?`${o.open}`:void 0));let u;return(0,i.bv)((()=>{(0,i.YP)((()=>o.virtualRef),(e=>{e&&(l.value=ti(e))}),{immediate:!0}),(0,i.YP)(l,((e,t)=>{null==u||u(),u=void 0,an(e)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach((i=>{var n;const l=o[i];l&&(e.addEventListener(i.slice(2).toLowerCase(),l),null==(n=null==t?void 0:t.removeEventListener)||n.call(t,i.slice(2).toLowerCase(),l))})),u=(0,i.YP)([a,r,s,c],(t=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(((o,i)=>{Xl(t[i])?e.removeAttribute(o):e.setAttribute(o,t[i])}))}),{immediate:!0})),an(t)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((e=>t.removeAttribute(e)))}),{immediate:!0})})),(0,i.Jd)((()=>{null==u||u(),u=void 0})),t({triggerRef:l}),(e,t)=>e.virtualTriggering?(0,i.kq)("v-if",!0):((0,i.wg)(),(0,i.j4)((0,De.SU)(zu),(0,i.dG)({key:0},e.$attrs,{"aria-controls":(0,De.SU)(a),"aria-describedby":(0,De.SU)(r),"aria-expanded":(0,De.SU)(c),"aria-haspopup":(0,De.SU)(s)}),{default:(0,i.w5)((()=>[(0,i.WI)(e.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var Zu=Bi(Vu,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const Wu=(0,i.aZ)({name:"ElTooltipTrigger"}),Yu=(0,i.aZ)({...Wu,props:wu,setup(e,{expose:t}){const o=e,l=Zi("tooltip"),{controlled:a,id:r,open:s,onOpen:c,onClose:u,onToggle:d}=(0,i.f3)(ls,void 0),p=(0,De.iH)(null),m=()=>{if((0,De.SU)(a)||o.disabled)return!0},h=(0,De.Vh)(o,"trigger"),f=Eu(m,Fu(h,"hover",c)),v=Eu(m,Fu(h,"hover",u)),g=Eu(m,Fu(h,"click",(e=>{0===e.button&&d(e)}))),b=Eu(m,Fu(h,"focus",c)),y=Eu(m,Fu(h,"focus",u)),w=Eu(m,Fu(h,"contextmenu",(e=>{e.preventDefault(),d(e)}))),S=Eu(m,(e=>{const{code:t}=e;o.triggerKeys.includes(t)&&(e.preventDefault(),d(e))}));return t({triggerRef:p}),(e,t)=>((0,i.wg)(),(0,i.j4)((0,De.SU)(Zu),{id:(0,De.SU)(r),"virtual-ref":e.virtualRef,open:(0,De.SU)(s),"virtual-triggering":e.virtualTriggering,class:(0,n.C_)((0,De.SU)(l).e("trigger")),onBlur:(0,De.SU)(y),onClick:(0,De.SU)(g),onContextmenu:(0,De.SU)(w),onFocus:(0,De.SU)(b),onMouseenter:(0,De.SU)(f),onMouseleave:(0,De.SU)(v),onKeydown:(0,De.SU)(S)},{default:(0,i.w5)((()=>[(0,i.WI)(e.$slots,"default")])),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var qu=Bi(Yu,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);let Ku;const Gu=()=>{const e=Vi(),t=Zl(),o=(0,i.Fl)((()=>`${e.value}-popper-container-${t.prefix}`)),n=(0,i.Fl)((()=>`#${o.value}`));return{id:o,selector:n}},Ju=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},Xu=()=>{const{id:e,selector:t}=Gu();return(0,i.wF)((()=>{Yo&&(Ku||document.body.querySelector(t.value)||(Ku=Ju(e.value)))})),{id:e,selector:t}},Qu=(e,t)=>{const o=(0,De.iH)(!1),i=(0,De.iH)(),n=()=>{t("focus")},l=e=>{var o;"pointer"!==(null==(o=e.detail)?void 0:o.focusReason)&&(i.value="first",t("blur"))},a=t=>{e.visible&&!o.value&&(t.target&&(i.value=t.target),o.value=!0)},r=t=>{e.trapping||("pointer"===t.detail.focusReason&&t.preventDefault(),o.value=!1)},s=()=>{o.value=!1,t("close")};return{focusStartRef:i,trapped:o,onFocusAfterReleased:l,onFocusAfterTrapped:n,onFocusInTrap:a,onFocusoutPrevented:r,onReleaseRequested:s}};function ed(e){return void 0===e}var td=ed;const od=(e,t=[])=>{const{placement:o,strategy:i,popperOptions:n}=e,l={placement:o,strategy:i,...n,modifiers:[...nd(e),...t]};return ld(l,null==n?void 0:n.modifiers),l},id=e=>{if(Yo)return ti(e)};function nd(e){const{offset:t,gpuAcceleration:o,fallbackPlacements:i}=e;return[{name:"offset",options:{offset:[0,null!=t?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:i}},{name:"computeStyles",options:{gpuAcceleration:o}}]}function ld(e,t){t&&(e.modifiers=[...e.modifiers,...null!=t?t:[]])}const ad=(e,t,o={})=>{const n={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=rd(e);Object.assign(r.value,t)},requires:["computeStyles"]},l=(0,i.Fl)((()=>{const{onFirstUpdate:e,placement:t,strategy:i,modifiers:l}=(0,De.SU)(o);return{onFirstUpdate:e,placement:t||"bottom",strategy:i||"absolute",modifiers:[...l||[],n,{name:"applyStyles",enabled:!1}]}})),a=(0,De.XI)(),r=(0,De.iH)({styles:{popper:{position:(0,De.SU)(l).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{a.value&&(a.value.destroy(),a.value=void 0)};return(0,i.YP)(l,(e=>{const t=(0,De.SU)(a);t&&t.setOptions(e)}),{deep:!0}),(0,i.YP)([e,t],(([e,t])=>{s(),e&&t&&(a.value=mu(e,t,(0,De.SU)(l)))})),(0,i.Jd)((()=>{s()})),{state:(0,i.Fl)((()=>{var e;return{...(null==(e=(0,De.SU)(a))?void 0:e.state)||{}}})),styles:(0,i.Fl)((()=>(0,De.SU)(r).styles)),attributes:(0,i.Fl)((()=>(0,De.SU)(r).attributes)),update:()=>{var e;return null==(e=(0,De.SU)(a))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=(0,De.SU)(a))?void 0:e.forceUpdate()},instanceRef:(0,i.Fl)((()=>(0,De.SU)(a)))}};function rd(e){const t=Object.keys(e.elements),o=(0,Ti.Z)(t.map((t=>[t,e.styles[t]||{}]))),i=(0,Ti.Z)(t.map((t=>[t,e.attributes[t]])));return{styles:o,attributes:i}}const sd=0,cd=e=>{const{popperInstanceRef:t,contentRef:o,triggerRef:n,role:l}=(0,i.f3)(Jr,void 0),a=(0,De.iH)(),r=(0,De.iH)(),s=(0,i.Fl)((()=>({name:"eventListeners",enabled:!!e.visible}))),c=(0,i.Fl)((()=>{var e;const t=(0,De.SU)(a),o=null!=(e=(0,De.SU)(r))?e:sd;return{name:"arrow",enabled:!td(t),options:{element:t,padding:o}}})),u=(0,i.Fl)((()=>({onFirstUpdate:()=>{f()},...od(e,[(0,De.SU)(c),(0,De.SU)(s)])}))),d=(0,i.Fl)((()=>id(e.referenceEl)||(0,De.SU)(n))),{attributes:p,state:m,styles:h,update:f,forceUpdate:v,instanceRef:g}=ad(d,o,u);return(0,i.YP)(g,(e=>t.value=e)),(0,i.bv)((()=>{(0,i.YP)((()=>{var e;return null==(e=(0,De.SU)(d))?void 0:e.getBoundingClientRect()}),(()=>{f()}))})),{attributes:p,arrowRef:a,contentRef:o,instanceRef:g,state:m,styles:h,role:l,forceUpdate:v,update:f}},ud=(0,De.iH)(0),dd=2e3,pd=Symbol("zIndexContextKey"),md=e=>{const t=e||((0,i.FN)()?(0,i.f3)(pd,void 0):void 0),o=(0,i.Fl)((()=>{const e=(0,De.SU)(t);return nn(e)?e:dd})),n=(0,i.Fl)((()=>o.value+ud.value)),l=()=>(ud.value++,n.value);return{initialZIndex:o,currentZIndex:n,nextZIndex:l}},hd=(e,{attributes:t,styles:o,role:n})=>{const{nextZIndex:l}=md(),a=Zi("popper"),r=(0,i.Fl)((()=>(0,De.SU)(t).popper)),s=(0,De.iH)(nn(e.zIndex)?e.zIndex:l()),c=(0,i.Fl)((()=>[a.b(),a.is("pure",e.pure),a.is(e.effect),e.popperClass])),u=(0,i.Fl)((()=>[{zIndex:(0,De.SU)(s)},(0,De.SU)(o).popper,e.popperStyle||{}])),d=(0,i.Fl)((()=>"dialog"===n.value?"false":void 0)),p=(0,i.Fl)((()=>(0,De.SU)(o).arrow||{})),m=()=>{s.value=nn(e.zIndex)?e.zIndex:l()};return{ariaModal:d,arrowStyle:p,contentAttrs:r,contentClass:c,contentStyle:u,contentZIndex:s,updateZIndex:m}},fd="focus-trap.focus-after-trapped",vd="focus-trap.focus-after-released",gd="focus-trap.focusout-prevented",bd={cancelable:!0,bubbles:!1},yd={cancelable:!0,bubbles:!1},wd="focusAfterTrapped",Sd="focusAfterReleased",_d=Symbol("elFocusTrap"),kd=(0,De.iH)(),xd=(0,De.iH)(0),Cd=(0,De.iH)(0);let Od=0;const Ld=e=>{const t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});while(o.nextNode())t.push(o.currentNode);return t},Pd=(e,t)=>{for(const o of e)if(!Ud(o,t))return o},Ud=(e,t)=>{if("hidden"===getComputedStyle(e).visibility)return!0;while(e){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},jd=e=>{const t=Ld(e),o=Pd(t,e),i=Pd(t.reverse(),e);return[o,i]},Id=e=>e instanceof HTMLInputElement&&"select"in e,Td=(e,t)=>{if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),Cd.value=window.performance.now(),e!==o&&Id(e)&&t&&e.select()}};function Md(e,t){const o=[...e],i=e.indexOf(t);return-1!==i&&o.splice(i,1),o}const Fd=()=>{let e=[];const t=t=>{const o=e[0];o&&t!==o&&o.pause(),e=Md(e,t),e.unshift(t)},o=t=>{var o,i;e=Md(e,t),null==(i=null==(o=e[0])?void 0:o.resume)||i.call(o)};return{push:t,remove:o}},Ed=(e,t=!1)=>{const o=document.activeElement;for(const i of e)if(Td(i,t),document.activeElement!==o)return},Nd=Fd(),Hd=()=>xd.value>Cd.value,Dd=()=>{kd.value="pointer",xd.value=window.performance.now()},Bd=()=>{kd.value="keyboard",xd.value=window.performance.now()},zd=()=>((0,i.bv)((()=>{0===Od&&(document.addEventListener("mousedown",Dd),document.addEventListener("touchstart",Dd),document.addEventListener("keydown",Bd)),Od++})),(0,i.Jd)((()=>{Od--,Od<=0&&(document.removeEventListener("mousedown",Dd),document.removeEventListener("touchstart",Dd),document.removeEventListener("keydown",Bd))})),{focusReason:kd,lastUserFocusTimestamp:xd,lastAutomatedFocusTimestamp:Cd}),Rd=e=>new CustomEvent(gd,{...yd,detail:e});let $d=[];const Ad=e=>{const t=e;t.key===_r.esc&&$d.forEach((e=>e(t)))},Vd=e=>{(0,i.bv)((()=>{0===$d.length&&document.addEventListener("keydown",Ad),Yo&&$d.push(e)})),(0,i.Jd)((()=>{$d=$d.filter((t=>t!==e)),0===$d.length&&Yo&&document.removeEventListener("keydown",Ad)}))},Zd=(0,i.aZ)({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[wd,Sd,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const o=(0,De.iH)();let l,a;const{focusReason:r}=zd();Vd((o=>{e.trapped&&!s.paused&&t("release-requested",o)}));const s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},c=o=>{if(!e.loop&&!e.trapped)return;if(s.paused)return;const{key:i,altKey:n,ctrlKey:l,metaKey:a,currentTarget:c,shiftKey:u}=o,{loop:d}=e,p=i===_r.tab&&!n&&!l&&!a,m=document.activeElement;if(p&&m){const e=c,[i,n]=jd(e),l=i&&n;if(l)if(u||m!==n){if(u&&[i,e].includes(m)){const e=Rd({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||(o.preventDefault(),d&&Td(n,!0))}}else{const e=Rd({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||(o.preventDefault(),d&&Td(i,!0))}else if(m===e){const e=Rd({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||o.preventDefault()}}};(0,i.JJ)(_d,{focusTrapRef:o,onKeydown:c}),(0,i.YP)((()=>e.focusTrapEl),(e=>{e&&(o.value=e)}),{immediate:!0}),(0,i.YP)([o],(([e],[t])=>{e&&(e.addEventListener("keydown",c),e.addEventListener("focusin",p),e.addEventListener("focusout",m)),t&&(t.removeEventListener("keydown",c),t.removeEventListener("focusin",p),t.removeEventListener("focusout",m))}));const u=e=>{t(wd,e)},d=e=>t(Sd,e),p=i=>{const n=(0,De.SU)(o);if(!n)return;const r=i.target,c=i.relatedTarget,u=r&&n.contains(r);if(!e.trapped){const e=c&&n.contains(c);e||(l=c)}u&&t("focusin",i),s.paused||e.trapped&&(u?a=r:Td(a,!0))},m=i=>{const n=(0,De.SU)(o);if(!s.paused&&n)if(e.trapped){const o=i.relatedTarget;Xl(o)||n.contains(o)||setTimeout((()=>{if(!s.paused&&e.trapped){const e=Rd({focusReason:r.value});t("focusout-prevented",e),e.defaultPrevented||Td(a,!0)}}),0)}else{const e=i.target,o=e&&n.contains(e);o||t("focusout",i)}};async function h(){await(0,i.Y3)();const t=(0,De.SU)(o);if(t){Nd.push(s);const o=t.contains(document.activeElement)?l:document.activeElement;l=o;const a=t.contains(o);if(!a){const l=new Event(fd,bd);t.addEventListener(fd,u),t.dispatchEvent(l),l.defaultPrevented||(0,i.Y3)((()=>{let i=e.focusStartEl;(0,n.HD)(i)||(Td(i),document.activeElement!==i&&(i="first")),"first"===i&&Ed(Ld(t),!0),document.activeElement!==o&&"container"!==i||Td(t)}))}}}function f(){const e=(0,De.SU)(o);if(e){e.removeEventListener(fd,u);const t=new CustomEvent(vd,{...bd,detail:{focusReason:r.value}});e.addEventListener(vd,d),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=r.value&&Hd()&&!e.contains(document.activeElement)||Td(null!=l?l:document.body),e.removeEventListener(vd,d),Nd.remove(s)}}return(0,i.bv)((()=>{e.trapped&&h(),(0,i.YP)((()=>e.trapped),(e=>{e?h():f()}))})),(0,i.Jd)((()=>{e.trapped&&f()})),{onKeydown:c}}});function Wd(e,t,o,n,l,a){return(0,i.WI)(e.$slots,"default",{handleKeydown:e.onKeydown})}var Yd=Bi(Zd,[["render",Wd],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const qd=(0,i.aZ)({name:"ElPopperContent"}),Kd=(0,i.aZ)({...qd,props:vu,emits:gu,setup(e,{expose:t,emit:o}){const l=e,{focusStartRef:a,trapped:r,onFocusAfterReleased:s,onFocusAfterTrapped:c,onFocusInTrap:u,onFocusoutPrevented:d,onReleaseRequested:p}=Qu(l,o),{attributes:m,arrowRef:h,contentRef:f,styles:v,instanceRef:g,role:b,update:y}=cd(l),{ariaModal:w,arrowStyle:S,contentAttrs:_,contentClass:k,contentStyle:x,updateZIndex:C}=hd(l,{styles:v,attributes:m,role:b}),O=(0,i.f3)(Dl,void 0),L=(0,De.iH)();let P;(0,i.JJ)(Xr,{arrowStyle:S,arrowRef:h,arrowOffset:L}),O&&(O.addInputId||O.removeInputId)&&(0,i.JJ)(Dl,{...O,addInputId:n.dG,removeInputId:n.dG});const U=(e=!0)=>{y(),e&&C()},j=()=>{U(!1),l.visible&&l.focusOnShow?r.value=!0:!1===l.visible&&(r.value=!1)};return(0,i.bv)((()=>{(0,i.YP)((()=>l.triggerTargetEl),((e,t)=>{null==P||P(),P=void 0;const o=(0,De.SU)(e||f.value),n=(0,De.SU)(t||f.value);an(o)&&(P=(0,i.YP)([b,()=>l.ariaLabel,w,()=>l.id],(e=>{["role","aria-label","aria-modal","id"].forEach(((t,i)=>{Xl(e[i])?o.removeAttribute(t):o.setAttribute(t,e[i])}))}),{immediate:!0})),n!==o&&an(n)&&["role","aria-label","aria-modal","id"].forEach((e=>{n.removeAttribute(e)}))}),{immediate:!0}),(0,i.YP)((()=>l.visible),j,{immediate:!0})})),(0,i.Jd)((()=>{null==P||P(),P=void 0})),t({popperContentRef:f,popperInstanceRef:g,updatePopper:U,contentStyle:x}),(e,t)=>((0,i.wg)(),(0,i.iD)("div",(0,i.dG)({ref_key:"contentRef",ref:f},(0,De.SU)(_),{style:(0,De.SU)(x),class:(0,De.SU)(k),tabindex:"-1",onMouseenter:t[0]||(t[0]=t=>e.$emit("mouseenter",t)),onMouseleave:t[1]||(t[1]=t=>e.$emit("mouseleave",t))}),[(0,i.Wm)((0,De.SU)(Yd),{trapped:(0,De.SU)(r),"trap-on-focus-in":!0,"focus-trap-el":(0,De.SU)(f),"focus-start-el":(0,De.SU)(a),onFocusAfterTrapped:(0,De.SU)(c),onFocusAfterReleased:(0,De.SU)(s),onFocusin:(0,De.SU)(u),onFocusoutPrevented:(0,De.SU)(d),onReleaseRequested:(0,De.SU)(p)},{default:(0,i.w5)((()=>[(0,i.WI)(e.$slots,"default")])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var Gd=Bi(Kd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const Jd=(0,i.aZ)({name:"ElTooltipContent",inheritAttrs:!1}),Xd=(0,i.aZ)({...Jd,props:bu,setup(e,{expose:t}){const o=e,{selector:n}=Gu(),a=Zi("tooltip"),r=(0,De.iH)(null),s=(0,De.iH)(!1),{controlled:c,id:u,open:d,trigger:p,onClose:m,onOpen:h,onShow:f,onHide:v,onBeforeShow:g,onBeforeHide:b}=(0,i.f3)(ls,void 0),y=(0,i.Fl)((()=>o.transition||`${a.namespace.value}-fade-in-linear`)),w=(0,i.Fl)((()=>o.persistent));(0,i.Jd)((()=>{s.value=!0}));const S=(0,i.Fl)((()=>!!(0,De.SU)(w)||(0,De.SU)(d))),_=(0,i.Fl)((()=>!o.disabled&&(0,De.SU)(d))),k=(0,i.Fl)((()=>o.appendTo||n.value)),x=(0,i.Fl)((()=>{var e;return null!=(e=o.style)?e:{}})),C=(0,i.Fl)((()=>!(0,De.SU)(d))),O=()=>{v()},L=()=>{if((0,De.SU)(c))return!0},P=Eu(L,(()=>{o.enterable&&"hover"===(0,De.SU)(p)&&h()})),U=Eu(L,(()=>{"hover"===(0,De.SU)(p)&&m()})),j=()=>{var e,t;null==(t=null==(e=r.value)?void 0:e.updatePopper)||t.call(e),null==g||g()},I=()=>{null==b||b()},T=()=>{f(),F=li((0,i.Fl)((()=>{var e;return null==(e=r.value)?void 0:e.popperContentRef})),(()=>{if((0,De.SU)(c))return;const e=(0,De.SU)(p);"hover"!==e&&m()}))},M=()=>{o.virtualTriggering||m()};let F;return(0,i.YP)((()=>(0,De.SU)(d)),(e=>{e||null==F||F()}),{flush:"post"}),(0,i.YP)((()=>o.content),(()=>{var e,t;null==(t=null==(e=r.value)?void 0:e.updatePopper)||t.call(e)})),t({contentRef:r}),(e,t)=>((0,i.wg)(),(0,i.j4)(i.lR,{disabled:!e.teleported,to:(0,De.SU)(k)},[(0,i.Wm)(l.uT,{name:(0,De.SU)(y),onAfterLeave:O,onBeforeEnter:j,onAfterEnter:T,onBeforeLeave:I},{default:(0,i.w5)((()=>[(0,De.SU)(S)?(0,i.wy)(((0,i.wg)(),(0,i.j4)((0,De.SU)(Gd),(0,i.dG)({key:0,id:(0,De.SU)(u),ref_key:"contentRef",ref:r},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":(0,De.SU)(C),"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,(0,De.SU)(x)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:(0,De.SU)(_),"z-index":e.zIndex,onMouseenter:(0,De.SU)(P),onMouseleave:(0,De.SU)(U),onBlur:M,onClose:(0,De.SU)(m)}),{default:(0,i.w5)((()=>[s.value?(0,i.kq)("v-if",!0):(0,i.WI)(e.$slots,"default",{key:0})])),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[l.F8,(0,De.SU)(_)]]):(0,i.kq)("v-if",!0)])),_:3},8,["name"])],8,["disabled","to"]))}});var Qd=Bi(Xd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const ep=(0,i.aZ)({name:"ElPopperArrow",inheritAttrs:!1}),tp=(0,i.aZ)({...ep,props:Lu,setup(e,{expose:t}){const o=e,l=Zi("popper"),{arrowOffset:a,arrowRef:r,arrowStyle:s}=(0,i.f3)(Xr,void 0);return(0,i.YP)((()=>o.arrowOffset),(e=>{a.value=e})),(0,i.Jd)((()=>{r.value=void 0})),t({arrowRef:r}),(e,t)=>((0,i.wg)(),(0,i.iD)("span",{ref_key:"arrowRef",ref:r,class:(0,n.C_)((0,De.SU)(l).e("arrow")),style:(0,n.j5)((0,De.SU)(s)),"data-popper-arrow":""},null,6))}});var op=Bi(tp,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const ip=["innerHTML"],np={key:1},lp=(0,i.aZ)({name:"ElTooltip"}),ap=(0,i.aZ)({...lp,props:Iu,emits:Tu,setup(e,{expose:t,emit:o}){const l=e;Xu();const a=Wl(),r=(0,De.iH)(),s=(0,De.iH)(),c=()=>{var e;const t=(0,De.SU)(r);t&&(null==(e=t.popperInstanceRef)||e.update())},u=(0,De.iH)(!1),d=(0,De.iH)(),{show:p,hide:m,hasUpdateHandler:h}=ju({indicator:u,toggleReason:d}),{onOpen:f,onClose:v}=ss({showAfter:(0,De.Vh)(l,"showAfter"),hideAfter:(0,De.Vh)(l,"hideAfter"),autoClose:(0,De.Vh)(l,"autoClose"),open:p,close:m}),g=(0,i.Fl)((()=>on(l.visible)&&!h.value));(0,i.JJ)(ls,{controlled:g,id:a,open:(0,De.OT)(u),trigger:(0,De.Vh)(l,"trigger"),onOpen:e=>{f(e)},onClose:e=>{v(e)},onToggle:e=>{(0,De.SU)(u)?v(e):f(e)},onShow:()=>{o("show",d.value)},onHide:()=>{o("hide",d.value)},onBeforeShow:()=>{o("before-show",d.value)},onBeforeHide:()=>{o("before-hide",d.value)},updatePopper:c}),(0,i.YP)((()=>l.disabled),(e=>{e&&u.value&&(u.value=!1)}));const b=e=>{var t,o;const i=null==(o=null==(t=s.value)?void 0:t.contentRef)?void 0:o.popperContentRef,n=(null==e?void 0:e.relatedTarget)||document.activeElement;return i&&i.contains(n)};return(0,i.se)((()=>u.value&&m())),t({popperRef:r,contentRef:s,isFocusInsideContent:b,updatePopper:c,onOpen:f,onClose:v,hide:m}),(e,t)=>((0,i.wg)(),(0,i.j4)((0,De.SU)(ns),{ref_key:"popperRef",ref:r,role:e.role},{default:(0,i.w5)((()=>[(0,i.Wm)(qu,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:(0,i.w5)((()=>[e.$slots.default?(0,i.WI)(e.$slots,"default",{key:0}):(0,i.kq)("v-if",!0)])),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),(0,i.Wm)(Qd,{ref_key:"contentRef",ref:s,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:(0,i.w5)((()=>[(0,i.WI)(e.$slots,"content",{},(()=>[e.rawContent?((0,i.wg)(),(0,i.iD)("span",{key:0,innerHTML:e.content},null,8,ip)):((0,i.wg)(),(0,i.iD)("span",np,(0,n.zw)(e.content),1))])),e.showArrow?((0,i.wg)(),(0,i.j4)((0,De.SU)(op),{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):(0,i.kq)("v-if",!0)])),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])])),_:3},8,["role"]))}});var rp=Bi(ap,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const sp=vn(rp),cp=Hi({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:Pl,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),up={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},dp=(0,i.aZ)({name:"ElTag"}),pp=(0,i.aZ)({...dp,props:cp,emits:up,setup(e,{emit:t}){const o=e,a=zl(),r=Zi("tag"),s=(0,i.Fl)((()=>{const{type:e,hit:t,effect:i,closable:n,round:l}=o;return[r.b(),r.is("closable",n),r.m(e),r.m(a.value),r.m(i),r.is("hit",t),r.is("round",l)]})),c=e=>{t("close",e)},u=e=>{t("click",e)};return(e,t)=>e.disableTransitions?((0,i.wg)(),(0,i.iD)("span",{key:0,class:(0,n.C_)((0,De.SU)(s)),style:(0,n.j5)({backgroundColor:e.color}),onClick:u},[(0,i._)("span",{class:(0,n.C_)((0,De.SU)(r).e("content"))},[(0,i.WI)(e.$slots,"default")],2),e.closable?((0,i.wg)(),(0,i.j4)((0,De.SU)(Ll),{key:0,class:(0,n.C_)((0,De.SU)(r).e("close")),onClick:(0,l.iM)(c,["stop"])},{default:(0,i.w5)((()=>[(0,i.Wm)((0,De.SU)(il))])),_:1},8,["class","onClick"])):(0,i.kq)("v-if",!0)],6)):((0,i.wg)(),(0,i.j4)(l.uT,{key:1,name:`${(0,De.SU)(r).namespace.value}-zoom-in-center`,appear:""},{default:(0,i.w5)((()=>[(0,i._)("span",{class:(0,n.C_)((0,De.SU)(s)),style:(0,n.j5)({backgroundColor:e.color}),onClick:u},[(0,i._)("span",{class:(0,n.C_)((0,De.SU)(r).e("content"))},[(0,i.WI)(e.$slots,"default")],2),e.closable?((0,i.wg)(),(0,i.j4)((0,De.SU)(Ll),{key:0,class:(0,n.C_)((0,De.SU)(r).e("close")),onClick:(0,l.iM)(c,["stop"])},{default:(0,i.w5)((()=>[(0,i.Wm)((0,De.SU)(il))])),_:1},8,["class","onClick"])):(0,i.kq)("v-if",!0)],6)])),_:3},8,["name"]))}});var mp=Bi(pp,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const hp=vn(mp),fp=Hi({...ur,size:Ul,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:Fi(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:Fi(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:bu.teleported,tagType:{...cp.type,default:"info"},validateEvent:{type:Boolean,default:!0}}),vp={[Tl]:e=>!!e||null===e,[Ml]:e=>!!e||null===e,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,visibleChange:e=>on(e),expandChange:e=>!!e,removeTag:e=>!!e},gp=new Map;let bp;function yp(e,t){let o=[];return Array.isArray(t.arg)?o=t.arg:an(t.arg)&&o.push(t.arg),function(i,n){const l=t.instance.popperRef,a=i.target,r=null==n?void 0:n.target,s=!t||!t.instance,c=!a||!r,u=e.contains(a)||e.contains(r),d=e===a,p=o.length&&o.some((e=>null==e?void 0:e.contains(a)))||o.length&&o.includes(r),m=l&&(l.contains(a)||l.contains(r));s||c||u||d||p||m||t.value(i,n)}}Yo&&(document.addEventListener("mousedown",(e=>bp=e)),document.addEventListener("mouseup",(e=>{for(const t of gp.values())for(const{documentHandler:o}of t)o(e,bp)})));const wp={beforeMount(e,t){gp.has(e)||gp.set(e,[]),gp.get(e).push({documentHandler:yp(e,t),bindingFn:t.value})},updated(e,t){gp.has(e)||gp.set(e,[]);const o=gp.get(e),i=o.findIndex((e=>e.bindingFn===t.oldValue)),n={documentHandler:yp(e,t),bindingFn:t.value};i>=0?o.splice(i,1,n):o.push(n)},unmounted(e){gp.delete(e)}},Sp={key:0},_p=["placeholder","onKeydown"],kp=["onClick"],xp="ElCascader",Cp=(0,i.aZ)({name:xp}),Op=(0,i.aZ)({...Cp,props:fp,emits:vp,setup(e,{expose:t,emit:o}){const a=e,r={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:e})=>{const{modifiersData:t,placement:o}=e;["right","left","bottom","top"].includes(o)||(t.arrow.x=35)},requires:["arrow"]}]},s=(0,i.l1)();let c=0,u=0;const d=Zi("cascader"),p=Zi("input"),{t:m}=Qa(),{form:h,formItem:f}=Yl(),v=(0,De.iH)(null),g=(0,De.iH)(null),b=(0,De.iH)(null),y=(0,De.iH)(null),w=(0,De.iH)(null),S=(0,De.iH)(!1),_=(0,De.iH)(!1),k=(0,De.iH)(!1),x=(0,De.iH)(!1),C=(0,De.iH)(""),O=(0,De.iH)(""),L=(0,De.iH)([]),P=(0,De.iH)([]),U=(0,De.iH)([]),j=(0,De.iH)(!1),I=(0,i.Fl)((()=>s.style)),T=(0,i.Fl)((()=>a.disabled||(null==h?void 0:h.disabled))),M=(0,i.Fl)((()=>a.placeholder||m("el.cascader.placeholder"))),F=(0,i.Fl)((()=>O.value||L.value.length>0||j.value?"":M.value)),E=zl(),N=(0,i.Fl)((()=>["small"].includes(E.value)?"small":"default")),H=(0,i.Fl)((()=>!!a.props.multiple)),D=(0,i.Fl)((()=>!a.filterable||H.value)),B=(0,i.Fl)((()=>H.value?O.value:C.value)),z=(0,i.Fl)((()=>{var e;return(null==(e=y.value)?void 0:e.checkedNodes)||[]})),R=(0,i.Fl)((()=>!(!a.clearable||T.value||k.value||!_.value)&&!!z.value.length)),$=(0,i.Fl)((()=>{const{showAllLevels:e,separator:t}=a,o=z.value;return o.length?H.value?"":o[0].calcText(e,t):""})),A=(0,i.Fl)({get(){return(0,Vo.Z)(a.modelValue)},set(e){o(Tl,e),o(Ml,e),a.validateEvent&&(null==f||f.validate("change").catch((e=>qi(e))))}}),V=(0,i.Fl)((()=>[d.b(),d.m(E.value),d.is("disabled",T.value),s.class])),Z=(0,i.Fl)((()=>[p.e("icon"),"icon-arrow-down",d.is("reverse",S.value)])),W=(0,i.Fl)((()=>d.is("focus",S.value||x.value))),Y=(0,i.Fl)((()=>{var e,t;return null==(t=null==(e=v.value)?void 0:e.popperRef)?void 0:t.contentRef})),q=e=>{var t,n,l;T.value||(e=null!=e?e:!S.value,e!==S.value&&(S.value=e,null==(n=null==(t=g.value)?void 0:t.input)||n.setAttribute("aria-expanded",`${e}`),e?(K(),(0,i.Y3)(null==(l=y.value)?void 0:l.scrollToExpandingNode)):a.filterable&&se(),o("visibleChange",e)))},K=()=>{(0,i.Y3)((()=>{var e;null==(e=v.value)||e.updatePopper()}))},G=()=>{k.value=!1},J=e=>{const{showAllLevels:t,separator:o}=a;return{node:e,key:e.uid,text:e.calcText(t,o),hitState:!1,closable:!T.value&&!e.isDisabled,isCollapseTag:!1}},X=e=>{var t;const i=e.node;i.doCheck(!1),null==(t=y.value)||t.calculateCheckedValue(),o("removeTag",i.valueByOption)},Q=()=>{if(!H.value)return;const e=z.value,t=[],o=[];if(e.forEach((e=>o.push(J(e)))),P.value=o,e.length){e.slice(0,a.maxCollapseTags).forEach((e=>t.push(J(e))));const o=e.slice(a.maxCollapseTags),i=o.length;i&&(a.collapseTags?t.push({key:-1,text:`+ ${i}`,closable:!1,isCollapseTag:!0}):o.forEach((e=>t.push(J(e)))))}L.value=t},ee=()=>{var e,t;const{filterMethod:o,showAllLevels:i,separator:n}=a,l=null==(t=null==(e=y.value)?void 0:e.getFlattedNodes(!a.props.checkStrictly))?void 0:t.filter((e=>!e.isDisabled&&(e.calcText(i,n),o(e,B.value))));H.value&&(L.value.forEach((e=>{e.hitState=!1})),P.value.forEach((e=>{e.hitState=!1}))),k.value=!0,U.value=l,K()},te=()=>{var e;let t;t=k.value&&w.value?w.value.$el.querySelector(`.${d.e("suggestion-item")}`):null==(e=y.value)?void 0:e.$el.querySelector(`.${d.b("node")}[tabindex="-1"]`),t&&(t.focus(),!k.value&&t.click())},oe=()=>{var e,t;const o=null==(e=g.value)?void 0:e.input,i=b.value,n=null==(t=w.value)?void 0:t.$el;if(Yo&&o){if(n){const e=n.querySelector(`.${d.e("suggestion-list")}`);e.style.minWidth=`${o.offsetWidth}px`}if(i){const{offsetHeight:e}=i,t=L.value.length>0?`${Math.max(e+6,c)}px`:`${c}px`;o.style.height=t,K()}}},ie=e=>{var t;return null==(t=y.value)?void 0:t.getCheckedNodes(e)},ne=e=>{K(),o("expandChange",e)},le=e=>{var t;const o=null==(t=e.target)?void 0:t.value;if("compositionend"===e.type)j.value=!1,(0,i.Y3)((()=>fe(o)));else{const e=o[o.length-1]||"";j.value=!Ar(e)}},ae=e=>{if(!j.value)switch(e.code){case _r.enter:q();break;case _r.down:q(!0),(0,i.Y3)(te),e.preventDefault();break;case _r.esc:!0===S.value&&(e.preventDefault(),e.stopPropagation(),q(!1));break;case _r.tab:q(!1);break}},re=()=>{var e;null==(e=y.value)||e.clearCheckedNodes(),!S.value&&a.filterable&&se(),q(!1)},se=()=>{const{value:e}=$;C.value=e,O.value=e},ce=e=>{var t,o;const{checked:i}=e;H.value?null==(t=y.value)||t.handleCheckChange(e,!i,!1):(!i&&(null==(o=y.value)||o.handleCheckChange(e,!0,!1)),q(!1))},ue=e=>{const t=e.target,{code:o}=e;switch(o){case _r.up:case _r.down:{const e=o===_r.up?-1:1;fr(hr(t,e,`.${d.e("suggestion-item")}[tabindex="-1"]`));break}case _r.enter:t.click();break}},de=()=>{const e=L.value,t=e[e.length-1];u=O.value?0:u+1,!t||!u||a.collapseTags&&e.length>1||(t.hitState?X(t):t.hitState=!0)},pe=e=>{const t=e.target,i=d.e("search-input");t.className===i&&(x.value=!0),o("focus",e)},me=e=>{x.value=!1,o("blur",e)},he=(0,Zo.Z)((()=>{const{value:e}=B;if(!e)return;const t=a.beforeFilter(e);(0,n.tI)(t)?t.then(ee).catch((()=>{})):!1!==t?ee():G()}),a.debounce),fe=(e,t)=>{!S.value&&q(!0),(null==t?void 0:t.isComposing)||(e?he():G())},ve=e=>Number.parseFloat(ci(p.cssVarName("input-height"),e).value)-2;return(0,i.YP)(k,K),(0,i.YP)([z,T],Q),(0,i.YP)(L,(()=>{(0,i.Y3)((()=>oe()))})),(0,i.YP)(E,(async()=>{await(0,i.Y3)();const e=g.value.input;c=ve(e)||c,oe()})),(0,i.YP)($,se,{immediate:!0}),(0,i.bv)((()=>{const e=g.value.input,t=ve(e);c=e.offsetHeight||t,hi(e,oe)})),t({getCheckedNodes:ie,cascaderPanelRef:y,togglePopperVisible:q,contentRef:Y}),(e,t)=>((0,i.wg)(),(0,i.j4)((0,De.SU)(sp),{ref_key:"tooltipRef",ref:v,visible:S.value,teleported:e.teleported,"popper-class":[(0,De.SU)(d).e("dropdown"),e.popperClass],"popper-options":r,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${(0,De.SU)(d).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:G},{default:(0,i.w5)((()=>[(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",{class:(0,n.C_)((0,De.SU)(V)),style:(0,n.j5)((0,De.SU)(I)),onClick:t[5]||(t[5]=()=>q(!(0,De.SU)(D)||void 0)),onKeydown:ae,onMouseenter:t[6]||(t[6]=e=>_.value=!0),onMouseleave:t[7]||(t[7]=e=>_.value=!1)},[(0,i.Wm)((0,De.SU)(Gr),{ref_key:"input",ref:g,modelValue:C.value,"onUpdate:modelValue":t[1]||(t[1]=e=>C.value=e),placeholder:(0,De.SU)(F),readonly:(0,De.SU)(D),disabled:(0,De.SU)(T),"validate-event":!1,size:(0,De.SU)(E),class:(0,n.C_)((0,De.SU)(W)),tabindex:(0,De.SU)(H)&&e.filterable&&!(0,De.SU)(T)?-1:void 0,onCompositionstart:le,onCompositionupdate:le,onCompositionend:le,onFocus:pe,onBlur:me,onInput:fe},{suffix:(0,i.w5)((()=>[(0,De.SU)(R)?((0,i.wg)(),(0,i.j4)((0,De.SU)(Ll),{key:"clear",class:(0,n.C_)([(0,De.SU)(p).e("icon"),"icon-circle-close"]),onClick:(0,l.iM)(re,["stop"])},{default:(0,i.w5)((()=>[(0,i.Wm)((0,De.SU)(Jn))])),_:1},8,["class","onClick"])):((0,i.wg)(),(0,i.j4)((0,De.SU)(Ll),{key:"arrow-down",class:(0,n.C_)((0,De.SU)(Z)),onClick:t[0]||(t[0]=(0,l.iM)((e=>q()),["stop"]))},{default:(0,i.w5)((()=>[(0,i.Wm)((0,De.SU)(Cn))])),_:1},8,["class"]))])),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),(0,De.SU)(H)?((0,i.wg)(),(0,i.iD)("div",{key:0,ref_key:"tagWrapper",ref:b,class:(0,n.C_)((0,De.SU)(d).e("tags"))},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(L.value,(t=>((0,i.wg)(),(0,i.j4)((0,De.SU)(hp),{key:t.key,type:e.tagType,size:(0,De.SU)(N),hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>X(t)},{default:(0,i.w5)((()=>[!1===t.isCollapseTag?((0,i.wg)(),(0,i.iD)("span",Sp,(0,n.zw)(t.text),1)):((0,i.wg)(),(0,i.j4)((0,De.SU)(sp),{key:1,disabled:S.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:(0,i.w5)((()=>[(0,i._)("span",null,(0,n.zw)(t.text),1)])),content:(0,i.w5)((()=>[(0,i._)("div",{class:(0,n.C_)((0,De.SU)(d).e("collapse-tags"))},[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(P.value.slice(e.maxCollapseTags),((t,o)=>((0,i.wg)(),(0,i.iD)("div",{key:o,class:(0,n.C_)((0,De.SU)(d).e("collapse-tag"))},[((0,i.wg)(),(0,i.j4)((0,De.SU)(hp),{key:t.key,class:"in-tooltip",type:e.tagType,size:(0,De.SU)(N),hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>X(t)},{default:(0,i.w5)((()=>[(0,i._)("span",null,(0,n.zw)(t.text),1)])),_:2},1032,["type","size","hit","closable","onClose"]))],2)))),128))],2)])),_:2},1032,["disabled"]))])),_:2},1032,["type","size","hit","closable","onClose"])))),128)),e.filterable&&!(0,De.SU)(T)?(0,i.wy)(((0,i.wg)(),(0,i.iD)("input",{key:0,"onUpdate:modelValue":t[2]||(t[2]=e=>O.value=e),type:"text",class:(0,n.C_)((0,De.SU)(d).e("search-input")),placeholder:(0,De.SU)($)?"":(0,De.SU)(M),onInput:t[3]||(t[3]=e=>fe(O.value,e)),onClick:t[4]||(t[4]=(0,l.iM)((e=>q(!0)),["stop"])),onKeydown:(0,l.D2)(de,["delete"]),onCompositionstart:le,onCompositionupdate:le,onCompositionend:le,onFocus:pe,onBlur:me},null,42,_p)),[[l.nr,O.value]]):(0,i.kq)("v-if",!0)],2)):(0,i.kq)("v-if",!0)],38)),[[(0,De.SU)(wp),()=>q(!1),(0,De.SU)(Y)]])])),content:(0,i.w5)((()=>[(0,i.wy)((0,i.Wm)((0,De.SU)(Or),{ref_key:"cascaderPanelRef",ref:y,modelValue:(0,De.SU)(A),"onUpdate:modelValue":t[8]||(t[8]=e=>(0,De.dq)(A)?A.value=e:null),options:e.options,props:a.props,border:!1,"render-label":e.$slots.default,onExpandChange:ne,onClose:t[9]||(t[9]=t=>e.$nextTick((()=>q(!1))))},null,8,["modelValue","options","props","render-label"]),[[l.F8,!k.value]]),e.filterable?(0,i.wy)(((0,i.wg)(),(0,i.j4)((0,De.SU)(bn),{key:0,ref_key:"suggestionPanel",ref:w,tag:"ul",class:(0,n.C_)((0,De.SU)(d).e("suggestion-panel")),"view-class":(0,De.SU)(d).e("suggestion-list"),onKeydown:ue},{default:(0,i.w5)((()=>[U.value.length?((0,i.wg)(!0),(0,i.iD)(i.HY,{key:0},(0,i.Ko)(U.value,(e=>((0,i.wg)(),(0,i.iD)("li",{key:e.uid,class:(0,n.C_)([(0,De.SU)(d).e("suggestion-item"),(0,De.SU)(d).is("checked",e.checked)]),tabindex:-1,onClick:t=>ce(e)},[(0,i._)("span",null,(0,n.zw)(e.text),1),e.checked?((0,i.wg)(),(0,i.j4)((0,De.SU)(Ll),{key:0},{default:(0,i.w5)((()=>[(0,i.Wm)((0,De.SU)(Hn))])),_:1})):(0,i.kq)("v-if",!0)],10,kp)))),128)):(0,i.WI)(e.$slots,"empty",{key:1},(()=>[(0,i._)("li",{class:(0,n.C_)((0,De.SU)(d).e("empty-text"))},(0,n.zw)((0,De.SU)(m)("el.cascader.noMatch")),3)]))])),_:3},8,["class","view-class"])),[[l.F8,k.value]]):(0,i.kq)("v-if",!0)])),_:3},8,["visible","teleported","popper-class","transition"]))}});var Lp=Bi(Op,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);Lp.install=e=>{e.component(Lp.name,Lp)};const Pp=Lp,Up=Pp;var jp=(0,i.aZ)({components:{HeaderComponent:Be.Z,ModelPlacement:Et,setLabel:Qt,ModelPlacementMobile:Ro,RobotAssist:$o.Z,ElCascader:Up},setup(){let e=(0,i.Fl)((()=>[{title:(0,It.QT)().t("LibraryPage.Moodboard"),code:"Moodboard",icon:"fi fi-rr-grid",showChildren:!1,children:[]},{title:(0,It.QT)().t("LibraryPage.Prints"),code:"Printboard",icon:"fi fi-rs-objects-column",showChildren:!1,children:[]},{title:(0,It.QT)().t("LibraryPage.Sketches"),code:"Sketchboard",icon:"fi icon iconfont icon-a-waitao_changkuanwaitao11x",showChildren:!1,children:[]},{title:(0,It.QT)().t("LibraryPage.Mannequins"),code:"Models",icon:"fi fi-rs-people",showChildren:!1,children:[]}])),t=(0,De.iH)([]),o=(0,De.iH)("Moodboard"),n=(0,De.iH)(""),l=(0,De.iH)("Outwear"),a=(0,De.iH)("Meal"),r=[],s=[],c=(0,De.iH)([]),u=(0,De.iH)(1),d=(0,De.iH)(18),p=(0,De.iH)(20),m=(0,De.iH)(!1),h=(0,De.iH)("single"),f=(0,De.iH)(""),v=(0,De.iH)(""),g=(0,De.iH)(0),b=(0,De.iH)(!1),y=(0,De.iH)({}),w=(0,Pt.oR)(),S=(0,De.iH)("Upload"),_=(0,De.iH)([{name:"image",type:!1},{name:"text",type:!0},{name:"text-image",type:!1}]),k=(0,De.iH)(!1),x=(0,De.iH)(),C=(0,De.iH)(),O=(0,De.iH)(),L=(0,De.iH)([]),P=(0,De.iH)([]),U=(0,De.iH)({num:1,optype:!1,name:(0,It.QT)().t("LibraryPage.model")+"1"}),{t:j}=(0,It.QT)();const I=(0,De.iH)([]);let T={selectCode:o,designType:l};(0,i.JJ)("type",T);let M=(0,De.iH)({labelValue:[],editLabelValue:[]}),F={multiple:!0,checkStrictly:!0,emitPath:!0,children:"childList",value:"id",label:"classificationName"},E=(0,De.iH)(1),N=(0,De.iH)();return{menuList:e,selectImgList:t,selectCode:o,searchPictureName:n,sexList:r,sex:a,disignTypeList:s,designType:l,imgList:c,currentPage:u,pageSize:d,total:p,renameVisivle:m,renameType:h,newPicName:f,uploadUrl:v,currentUploadFileNum:g,isShowMark:b,selectSingleImg:y,store:w,uploadGenerate:S,checkbox:_,inputShow:k,generateCheckbox:x,captionGeneration:C,inputTime:O,generateList:L,selectGenerateList:P,printModel:U,value:M,options:I,t:j,props:F,intersection:E,isTest:N}},data(e){return{userInfo:{},indicator:(0,i.h)(He.Z,{style:{fontSize:"2.4rem"},spin:!0}),upload:{isPin:0,gender:"",level1Type:e.selectCode,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},token:""}},watch:{sex(e,t){this.upload.gender=e.value}},async mounted(){let e=(0,Ot.ej)("userInfo"),t=(0,Ot.ej)("isTest");this.isTest=JSON.parse(t)||"",this.userInfo=JSON.parse(e),this.uploadUrl=(0,Ct.M$)(),this.getLibraryList(),this.getClass(),this.getSex(),this.token=(0,Ot.ej)("token")||""},methods:{getSex(){xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{if(e){let t=[];e.forEach((e=>{t.push({value:e.name,label:e.value})})),this.sex=t[0],this.sexList=t,this.getPosition()}}))},async getPosition(){let e;e="Female"==this.sex.value?"FemalePosition":"MalePosition",await xt.V.axiosGet(xt.V.httpUrls.workspaceenumValues,{params:{enumName:e}}).then((e=>{if(e){let t=[];e.forEach((e=>{t.push({value:e.name,label:e.value})})),this.designType=t[0],this.disignTypeList=t}}))},likeFile(e,t){let o="Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode?this.designType.value:"";if("like"==t){let t={generateDetailId:e.id,level1Type:this.selectCode,level2Type:o,gender:this.sex.value,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};xt.V.axiosPost(xt.V.httpUrls.generateLike,t).then((t=>{e.like=!0})).catch((e=>{}))}else{let t={generateDetailId:e.id,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};xt.V.axiosGet(xt.V.httpUrls.generateDislike,{params:t}).then((t=>{e.like=!1})).catch((e=>{}))}},selectMenuItem(e,t){e.children?.length?e.showChildren=!e.showChildren:(e.code!=this.upload.level1Type&&(this.selectCode=e.code,this.currentPage=1,this.total=0,this.searchPictureName="",this.imgList=[],this.selectImgList=[],this.selectSingleImg={},this.value.labelValue=[],this.getLibraryList(),this.getClass(),this.uploadGenerate="Upload",this.captionGeneration="",this.selectGenerateList=[],this.generateList=[]),this.upload.level1Type=e.code)},async sexChange(){await this.getPosition(),this.getLibraryList()},handleChange(){this.getLibraryList()},fileUploadChange(e){let t=e.file;if("Models"==this.selectCode){let e=new FileReader;if(this.imgList.length+this.currentUploadFileNum>10&&this.isTest)return void Gt.ZP.info(this.t("isTest.image"));e.onload=e=>{let o;o="object"===typeof e.target.result?window.URL.createObjectURL(new Blob([e.target.result])):e.target.result,this.placementClick({url:o,file:t.originFileObj})},e.readAsArrayBuffer(t.originFileObj)}},changePage(e,t){this.currentPage=e,this.pageSize=t,this.getLibraryList()},selectImgItem(e){if(-1===this.selectImgList.indexOf(e.id))this.selectImgList.push(e.id);else{let t=this.selectImgList.indexOf(e.id);this.selectImgList.splice(t,1)}},selectAllImg(){this.selectImgList.length==this.imgList.length?this.selectImgList=[]:this.selectImgList=this.imgList.map((e=>e.id))},closeRenameModal(){this.renameVisivle=!1,this.newPicName="",this.value.editLabelValue=[],this.value.labelValue=[]},confrimRename(){let e={libraryIds:"single"===this.renameType?[this.selectSingleImg.id]:this.selectImgList,libraryName:this.newPicName,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone},t=(("Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode)&&this.designType.value,[]);this.value.editLabelValue.forEach((e=>{t.push(e[e.length-1])}));let o={classificationIdList:t,classificationName:"",createTime:"",id:0,libraryIdList:"single"===this.renameType?[this.selectSingleImg.id]:this.selectImgList,type:this.selectCode,updateTime:"",userId:0};xt.V.axiosPost(xt.V.httpUrls.batchUpdateLibraryName,e).then((e=>{"batch"===this.renameType&&(this.selectImgList=[]),xt.V.axiosPost(xt.V.httpUrls.relationLibrary,o).then((e=>{this.getLibraryList(),this.closeRenameModal()})).catch((e=>{}))})).catch((e=>{}))},showRenameModal(e,t){if(this.newPicName="","batch"==t&&!this.selectImgList.length)return this.value.labelValue=[],void(this.newPicName="");let o={classificationIdList:[],classificationName:"",createTime:"",deleteConfirm:0,id:0,isDeleted:0,libraryIdList:[e.id],parentId:0,type:"",updateTime:"",userId:0};"single"===t&&(this.selectSingleImg=e,this.newPicName=e.name,xt.V.axiosPost(xt.V.httpUrls.getRelClassificationIdList,o).then((e=>{this.value.editLabelValue=e})).catch((e=>{}))),this.renameType=t,this.renameVisivle=!0},upLoad(){},uploadGenerateOpen(e){"Generate"==this.uploadGenerate&&"Generate"!=e&&this.getLibraryList(),this.uploadGenerate=e},deleteSinglePic(e,t){let o=this;Ut.Z.confirm({title:this.t("LibraryPage.jsContent1"),icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,centered:!0,onOk(){o.confirmDeletePic(e,t)}})},deleteBatchPic(){if(!this.selectImgList.length)return;let e=this;Ut.Z.confirm({title:this.t("LibraryPage.jsContent2"),icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",centered:!0,onOk(){e.confirmDeletePic("",0)}})},confirmDeletePic(e,t){let o=e?[e.id]:this.selectImgList,n={libraryIds:o,deleteModelConfirm:"Models"==e.level1Type?e.deleteModelConfirm?e.deleteModelConfirm:0:"",timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};xt.V.axiosPost(xt.V.httpUrls.batchDeleteLibrary,n).then((o=>{e&&e.id?this.imgList.splice(t,1):(this.selectImgList=[],this.getLibraryList())})).catch((o=>{if("Models"==e.level1Type&&2===o.errCode){let n=this;Ut.Z.confirm({title:o.errMsg,icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,centered:!0,onOk(){e.deleteModelConfirm=1,n.confirmDeletePic(e,t)},onCancel(){}})}}))},beforeUpload(e,t){const o="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/bmp"===e.type;o||Gt.ZP.info(this.t("LibraryPage.jsContent3"));const i=e.size/1024/1024<2;if(i||Gt.ZP.info(this.t("LibraryPage.jsContent4")),!o||!i)return o&&i||Ao.Z.LIST_IGNORE;this.currentUploadFileNum=t.length},customRequest(e){if("Models"==this.selectCode)return;if(this.imgList.length+this.currentUploadFileNum>10&&this.isTest)return void Gt.ZP.info(this.t("isTest.image"));let t="Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode?this.designType.value:"",o={file:e.file,level1Type:this.selectCode,level2Type:t,sex:"Sketchboard"==this.selectCode?this.sex.value:"",modelType:"",checkMd5:1,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone};this.isShowMark=!0,xt.V.axiosPost(xt.V.httpUrls.libraryUpload,o,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{e.checkMd5?(this.currentUploadFileNum--,this.currentUploadFileNum||this.getLibraryList()):this.affirmCstomRequest(o)})).catch((e=>{this.currentUploadFileNum--,this.currentUploadFileNum||this.getLibraryList()}))},affirmCstomRequest(e){let t=this;Ut.Z.confirm({title:this.t("LibraryPage.jsContent5"),icon:(0,i.Wm)(jt.Z),okText:"Yes",cancelText:"No",mask:!1,zIndex:99999,centered:!0,onOk(){e.checkMd5=0,xt.V.axiosPost(xt.V.httpUrls.libraryUpload,e,{headers:{"Content-Type":"multipart/form-data"}}).then((e=>{t.currentUploadFileNum--,t.currentUploadFileNum||t.getLibraryList()})).catch((e=>{t.currentUploadFileNum--,t.currentUploadFileNum||t.getLibraryList()}))},onCancel(){t.currentUploadFileNum--,t.currentUploadFileNum||t.getLibraryList()}})},getLibraryList(){let e=[];this.value.labelValue.forEach((t=>{e.push(t[t.length-1])}));let t="Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode?this.designType.value:"",o={classificationIdList:e,level1Type:this.selectCode,level2Type:t,page:this.currentPage,modelSex:this.sex.value?this.sex.value:"",pictureName:this.searchPictureName,size:this.pageSize,intersection:this.intersection};this.isShowMark=!0,xt.V.axiosPost(xt.V.httpUrls.queryLibraryPage,o).then((e=>{this.imgList=e.content,this.total=e.total,this.isShowMark=!1})).catch((e=>{this.isShowMark=!1}))},editPlacementClick(e){let t=e.name+"."+e.url.split("?")[0].split(".").pop(),o={...e.libraryModelPoint,url:e.url,name:t};this.placementClick(o)},placementClick(e){let t=(0,Ct.S0)()?this.$refs.ModelPlacementMobile:this.$refs.ModelPlacement;t.showPlacementModal(e,this.sex)},setKeyword(e){this.checkbox.forEach((e=>{e.type=!1})),(0,i.Y3)().then((()=>{this.checkbox[e].type=!0,this.checkbox[1].type&&this.selectGenerateList.forEach((e=>{e.checked=!1}))}))},ifMaximumLength(){clearTimeout(this.inputTime),this.inputTime=setTimeout((()=>{this.captionGeneration?.split(/\s+/).length>75?this.inputShow=!0:this.inputShow=!1}),500)},generateFileUploadChange(e){let t=e.file,o=!0;if("done"===t.status){let e=JSON.parse(t.xhr.response);0==e.errCode?(t.id=e.data.id,t.imgUrl=e.data.url,t.resData=e.data,t.type_="upload"):o=!1}else"error"===t.status&&(o=!1);if(!o){let e=JSON.parse(t.xhr.response),o=-1;this.selectGenerateList.forEach(((e,i)=>{t.uid===e.uid&&(o=i)})),o>-1&&this.selectGenerateList.splice(o,1),Gt.ZP.warning(e.errMsg)}},deleteFile(e){this.selectGenerateList.splice(e,1)},setSketchboardItem(e){this.checkbox[1].type||(e.checked?e.checked=!1:(this.selectGenerateList.forEach((e=>{e.checked&&(e.checked=!1)})),e.checked=!0))},PrintModel(){this.printModel.optype||document.addEventListener("click",this.removePrintModel),this.printModel.optype=!this.printModel.optype},removePrintModel(){this.printModel.optype=!1,document.removeEventListener("click",this.removePrintModel)},setprintModel(e){this.printModel={num:e,optype:!1,name:this.t("LibraryPage.model")+e}},getgenerate(){if(this.isTest)return void Gt.ZP.info(this.t("isTest.available"));let e=this.checkbox.filter((e=>e.type))[0].name,t=this.selectGenerateList.filter((e=>e.checked))[0],o={generateType:e,designType:"",collectionElementId:t?.id,level1Type:this.selectCode,level2Type:"Sketchboard"==this.selectCode?this.designType.value:"",text:this.captionGeneration,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,version:"Printboard"==this.selectCode?this.printModel.num:1,gender:"Sketchboard"==this.selectCode?this.sex.value:""};if("image"==e||"text-image"==e){if(!t?.id)return void Gt.ZP.warning(this.t("LibraryPage.jsContent9"));o.text=""}else if("text"==e){if(o.collectionElementId="",o.level2Type="",!this.captionGeneration)return void Gt.ZP.info(this.t("LibraryPage.jsContent7"));{let e=this.captionGeneration.split(/\s+/).length;if(e>75)return void Gt.ZP.warning(this.t("LibraryPage.jsContent6"))}}this.isShowMark=!0,xt.V.axiosPost(xt.V.httpUrls.sketchAndPrintGenerate,o).then((e=>{if(e){let t;e.generatedCollectionItems.forEach(((e,o)=>{t={id:e.generateItemId,imgUrl:e.generateItemUrl,like:e.isLiked},this.generateList.push(t)})),this.isShowMark=!1}})).catch((e=>{this.isShowMark=!1}))},dropdownVisibleChange1(){let e=this.$refs.cascader1,t=e.contentRef?.getElementsByClassName("el-cascader-menu__empty-text")?.[0];t&&(t.innerHTML=this.t("LibraryPage.NoLabel"))},dropdownVisibleChange(){let e=this.$refs.cascader;(0,i.Y3)().then((()=>{let e=document.getElementsByClassName("libraryPageCascader")[0],t=e;this.$refs.cascader;if(e.children.length>3);else{let e=document.createElement("span");e.classList.add("started_btn","cascader_btn1");let o=document.createElement("span");o.classList.add("started_btn","cascader_btn2");let i=document.createElement("div");i.classList.add("cascader_btn_max"),e.textContent="Edit",e.addEventListener("click",this.removeLabel,!1),i.appendChild(e),t?.insertAdjacentElement("afterbegin",i)}}));let t=e.contentRef?.getElementsByClassName("el-cascader-menu__empty-text")?.[0];t&&(t.innerHTML=this.t("LibraryPage.NoLabel"))},removeLabel(){let e=this.$refs.setLabel,t=this.$refs.cascader;t.togglePopperVisible();let o=new Event("click",{bubbles:!0,cancelable:!0});document.dispatchEvent(o),e.init("add",this.options)},labelSearch(){(0,i.Y3)().then((()=>{let e=document.getElementsByClassName("editLabel")[0];e.addEventListener("click",(e=>{e.stopPropagation()}))}))},getClass(){("Sketchboard"==this.selectCode||"MarketingSketch"==this.selectCode)&&this.designType.value;let e={classificationIdList:[],classificationName:"",createTime:"",deleteConfirm:"",id:"",libraryId:"",parentId:"",type:this.selectCode,updateTime:"",userId:""};xt.V.axiosPost(xt.V.httpUrls.queryClassification,e).then((e=>{this.options=e,e.forEach(((e,t)=>{this.options[t].value=e.id,this.options[t].label=e.classificationName,e.childList.forEach(((e,o)=>{this.options[t].childList[o].value=e.id,this.options[t].childList[o].label=e.classificationName}))}))})).catch((e=>{}))}}});const Ip=(0,Mt.Z)(jp,[["render",Ne]]);var Tp=Ip}}]); \ No newline at end of file diff --git a/dist/js/391.147e3ff9.js b/dist/js/391.c0d5a404.js similarity index 99% rename from dist/js/391.147e3ff9.js rename to dist/js/391.c0d5a404.js index bd89341f..6a7033f9 100644 --- a/dist/js/391.147e3ff9.js +++ b/dist/js/391.c0d5a404.js @@ -1 +1 @@ -"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[391],{329:function(e,t,i){i.d(t,{Z:function(){return p}});var a=i(6252),o=i(9963);const s=(0,a._)("span",{class:"icon iconfont icon-guanbi"},null,-1),n=[s],l={class:"history_detail_content scroll_style"},r={class:"history_img_item"},c=["src"];function h(e,t,i,s,h,u){const m=(0,a.up)("a-modal");return(0,a.wg)(),(0,a.j4)(m,{class:"hsitory_detail_modal_component",visible:e.hsitoryDetailShow,"onUpdate:visible":t[1]||(t[1]=t=>e.hsitoryDetailShow=t),footer:null,title:e.collectionName,width:"80%",maskClosable:!1,keyboard:!1,centered:!0},{closeIcon:(0,a.w5)((()=>[(0,a._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,o.iM)((t=>e.changeDetailShow()),["stop"]))},n)])),default:(0,a.w5)((()=>[(0,a._)("div",l,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.groupDetails,(e=>((0,a.wg)(),(0,a.iD)("div",{class:"history_img_block",key:e},[(0,a._)("div",r,[(0,a._)("img",{class:"element_img",src:e.url},null,8,c)])])))),128))])])),_:1},8,["visible","title"])}var u=(0,a.aZ)({props:{groupDetails:{default:{}},collectionName:{default:""}},setup(){},data(){return{hsitoryDetailShow:!1}},methods:{changeDetailShow(){this.hsitoryDetailShow=!this.hsitoryDetailShow}}}),m=i(3744);const d=(0,m.Z)(u,[["render",h]]);var p=d},8391:function(e,t,i){i.r(t),i.d(t,{default:function(){return Q}});var a=i(6252),o=i(3577),s=i(9963),n=i(5328);const l={class:"history_page"},r={class:"page_content"},c=(0,a._)("img",{class:"page_content_bg",src:n},null,-1),h={class:"page_content_body"},u={class:"history_page_body"},m={class:"history_header"},d={class:"history_table_search"},p=(0,a._)("span",{class:"icon iconfont range_picker_icon icon-rili"},null,-1),g={class:"content_search_block"},_=["placeholder"],y=(0,a._)("span",{class:"icon iconfont icon-sousuo"},null,-1),D=[y],k={class:"history_table_content",ref:"historyTable"},v={key:0,class:"operate_list"},w=["onClick"],C=["onClick"],H=["onClick"],P=["onClick"],b={class:"collection_rename_content"},f={class:"rename_form_content"},N=["placeholder"];function V(e,t,i,n,y,V){const T=(0,a.up)("HeaderComponent"),S=(0,a.up)("a-range-picker"),x=(0,a.up)("a-table"),z=(0,a.up)("HistoryDetail"),Z=(0,a.up)("a-modal"),L=(0,a.up)("RobotAssist");return(0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("div",r,[c,(0,a._)("div",h,[(0,a.Wm)(T),(0,a._)("div",u,[(0,a._)("div",m,(0,o.zw)(e.$t("HistoryPage.History")),1),(0,a._)("div",d,[(0,a.Wm)(S,{class:"range_picker",value:e.rangePickerValue,"onUpdate:value":t[0]||(t[0]=t=>e.rangePickerValue=t),placeholder:[e.$t("HistoryPage.StartDate"),e.$t("HistoryPage.EndDate")],valueFormat:"YYYY-MM-DD"},{suffixIcon:(0,a.w5)((()=>[p])),_:1},8,["value","placeholder"]),(0,a._)("div",g,[(0,a.wy)((0,a._)("input",{class:"search_input",placeholder:e.$t("HistoryPage.inputContent1"),"onUpdate:modelValue":t[1]||(t[1]=t=>e.searchCollectionName=t),onKeydown:t[2]||(t[2]=(0,s.D2)((t=>e.searchHistoryList()),["enter"]))},null,40,_),[[s.nr,e.searchCollectionName]]),(0,a._)("div",{class:"search_icon_block",onClick:t[3]||(t[3]=t=>e.searchHistoryList())},D)])]),(0,a._)("div",k,[(0,a.Wm)(x,{columns:e.columns,"data-source":e.collectionList,scroll:{y:e.historyTableHeight},onChange:e.changePage,pagination:{showSizeChanger:!0,current:e.currentPage,pageSize:e.pageSize,total:e.total,showQuickJumper:!0,bordered:!1}},{bodyCell:(0,a.w5)((({column:t,text:i,record:s,index:n})=>[t?.Operations?((0,a.wg)(),(0,a.iD)("div",v,[(0,a._)("div",{class:"operate_item",onClick:t=>e.turnToDetail(s)},(0,o.zw)(e.$t("HistoryPage.Detail")),9,w),(0,a._)("div",{class:"operate_item",onClick:t=>e.renameCollection(s,n)},(0,o.zw)(e.$t("HistoryPage.Rename")),9,C),(0,a._)("div",{class:"operate_item",onClick:t=>e.retrieveHome(s)},(0,o.zw)(e.$t("HistoryPage.Retrieve")),9,H),(0,a._)("div",{class:"operate_item",onClick:t=>e.deleteGroup(s,n)},(0,o.zw)(e.$t("HistoryPage.Delete")),9,P)])):(0,a.kq)("",!0)])),_:1},8,["columns","data-source","scroll","onChange","pagination"])],512)])])]),(0,a.Wm)(z,{ref:"historyDetail",groupDetails:e.groupDetails,collectionName:e.collectionName},null,8,["groupDetails","collectionName"]),(0,a.Wm)(Z,{class:"rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[7]||(t[7]=t=>e.renameVisivle=t),footer:null,title:e.renameData?.name,keyboard:!1,width:"56rem",maskClosable:!1,centered:!0},{default:(0,a.w5)((()=>[(0,a._)("div",b,[(0,a._)("div",f,[(0,a.wy)((0,a._)("input",{class:"rename_form_input",placeholder:e.$t("HistoryPage.inputContent2"),"onUpdate:modelValue":t[4]||(t[4]=t=>e.newCollectionName=t),onKeydown:t[5]||(t[5]=(0,s.D2)((t=>e.confrimRename()),["enter"]))},null,40,N),[[s.nr,e.newCollectionName]])]),(0,a._)("div",{class:"rename_submit_button",onClick:t[6]||(t[6]=t=>e.confrimRename())},(0,o.zw)(e.$t("HistoryPage.Submit")),1)])])),_:1},8,["visible","title"]),(0,a.Wm)(L)])}var T=i(2262),S=i(7365),x=i(329),z=i(6214),Z=i(7332),L=i(1446),$=i(327),U=i(7729),Y=i(8302),G=i(8552),I=(0,a.aZ)({components:{HeaderComponent:S.Z,HistoryDetail:x.Z,RobotAssist:U.Z},setup(){let e=(0,T.iH)([]),t=(0,T.iH)({});const i=(0,a.Fl)((()=>[{title:(0,G.QT)().t("HistoryPage.CollectionsName"),align:"center",ellipsis:!0,width:150,dataIndex:"name",key:"collectionName"},{title:(0,G.QT)().t("HistoryPage.UptateTime"),align:"center",ellipsis:!0,width:150,dataIndex:"updateDate",key:"updateTime",customRender:e=>{let t=(0,Z.mr)(e.text/1e3,"YYYY-MM-DD hh:mm:ss");return t}},{title:(0,G.QT)().t("HistoryPage.SketchCounts"),align:"center",ellipsis:!0,width:150,dataIndex:"sketchCount",key:"sketchCounts"},{title:(0,G.QT)().t("HistoryPage.Operations"),key:"operation",align:"center",fixed:"right",width:150,Operations:!0}]));let o=(0,T.iH)([]),{t:s}=(0,G.QT)();return{rangePickerValue:e,columns:i,collectionList:o,renameData:t,t:s}},data(){return{currentPage:1,pageSize:10,total:0,historyTableHeight:0,newCollectionName:"",renameVisivle:!1,groupDetails:{},collectionName:"",searchCollectionName:""}},mounted(){let e=this.$refs.historyTable;this.historyTableHeight=e.clientHeight-130,this.getHistoryList()},methods:{turnToDetail(e){this.groupDetails=e.groupDetails;let t=this.$refs.historyDetail;this.collectionName=e.name,t.changeDetailShow()},changePage(e){this.currentPage=e.current,this.pageSize=e.pageSize,this.getHistoryList()},searchHistoryList(){this.currentPage=1,this.getHistoryList()},getHistoryList(){let e=this.rangePickerValue?new Date(this.rangePickerValue[0]).getTime():"",t=this.rangePickerValue?new Date(this.rangePickerValue[1]).getTime():"",i={page:this.currentPage,size:this.pageSize,collectionName:this.searchCollectionName,startDate:e,endDate:t};z.V.axiosPost(z.V.httpUrls.queryUserGroup,i).then((e=>{this.collectionList=e.content,this.total=e.total}))},deleteGroup(e,t){let i=(e,t)=>{let i={userGroupId:e};z.V.axiosPost(z.V.httpUrls.deleteUserGroup,i).then((e=>{L.ZP.success(this.t("HistoryPage.jsContent1")),this.collectionList.splice(t,1)}))};$.Z.confirm({title:this.t("HistoryPage.jsContent2"),icon:(0,a.Wm)(Y.Z),okText:"Yes",cancelText:"No",centered:!0,mask:!1,onOk(){i(e.id,t)}})},renameCollection(e,t){this.renameVisivle=!0,this.renameData={...e,index:t}},confrimRename(){let e={timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userGroupId:this.renameData.id,userGroupName:this.newCollectionName};z.V.axiosPost(z.V.httpUrls.updateUserGroupName,e).then((e=>{L.ZP.success(this.t("HistoryPage.jsContent3")),this.collectionList[this.renameData.index].name=this.newCollectionName,this.collectionList[this.renameData.index].updateDate=e.updateDate,this.renameVisivle=!1,this.newCollectionName="",this.renameData={}}))},retrieveHome(e){this.$router.push({name:"home",params:{id:e.id}})}}}),R=i(3744);const W=(0,R.Z)(I,[["render",V]]);var Q=W},5328:function(e,t,i){e.exports=i.p+"img/bg.5af7d92c.png"}}]); \ No newline at end of file +"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[391],{329:function(e,t,i){i.d(t,{Z:function(){return p}});var a=i(6252),o=i(9963);const s=(0,a._)("span",{class:"icon iconfont icon-guanbi"},null,-1),n=[s],l={class:"history_detail_content scroll_style"},r={class:"history_img_item"},c=["src"];function h(e,t,i,s,h,u){const m=(0,a.up)("a-modal");return(0,a.wg)(),(0,a.j4)(m,{class:"hsitory_detail_modal_component",visible:e.hsitoryDetailShow,"onUpdate:visible":t[1]||(t[1]=t=>e.hsitoryDetailShow=t),footer:null,title:e.collectionName,width:"80%",maskClosable:!1,keyboard:!1,centered:!0},{closeIcon:(0,a.w5)((()=>[(0,a._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,o.iM)((t=>e.changeDetailShow()),["stop"]))},n)])),default:(0,a.w5)((()=>[(0,a._)("div",l,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.groupDetails,(e=>((0,a.wg)(),(0,a.iD)("div",{class:"history_img_block",key:e},[(0,a._)("div",r,[(0,a._)("img",{class:"element_img",src:e.url},null,8,c)])])))),128))])])),_:1},8,["visible","title"])}var u=(0,a.aZ)({props:{groupDetails:{default:{}},collectionName:{default:""}},setup(){},data(){return{hsitoryDetailShow:!1}},methods:{changeDetailShow(){this.hsitoryDetailShow=!this.hsitoryDetailShow}}}),m=i(3744);const d=(0,m.Z)(u,[["render",h]]);var p=d},8391:function(e,t,i){i.r(t),i.d(t,{default:function(){return Q}});var a=i(6252),o=i(3577),s=i(9963),n=i(5328);const l={class:"history_page"},r={class:"page_content"},c=(0,a._)("img",{class:"page_content_bg",src:n},null,-1),h={class:"page_content_body"},u={class:"history_page_body"},m={class:"history_header"},d={class:"history_table_search"},p=(0,a._)("span",{class:"icon iconfont range_picker_icon icon-rili"},null,-1),g={class:"content_search_block"},_=["placeholder"],y=(0,a._)("span",{class:"icon iconfont icon-sousuo"},null,-1),D=[y],k={class:"history_table_content",ref:"historyTable"},v={key:0,class:"operate_list"},w=["onClick"],C=["onClick"],H=["onClick"],P=["onClick"],b={class:"collection_rename_content"},f={class:"rename_form_content"},N=["placeholder"];function V(e,t,i,n,y,V){const T=(0,a.up)("HeaderComponent"),S=(0,a.up)("a-range-picker"),x=(0,a.up)("a-table"),z=(0,a.up)("HistoryDetail"),Z=(0,a.up)("a-modal"),L=(0,a.up)("RobotAssist");return(0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("div",r,[c,(0,a._)("div",h,[(0,a.Wm)(T),(0,a._)("div",u,[(0,a._)("div",m,(0,o.zw)(e.$t("HistoryPage.History")),1),(0,a._)("div",d,[(0,a.Wm)(S,{class:"range_picker",value:e.rangePickerValue,"onUpdate:value":t[0]||(t[0]=t=>e.rangePickerValue=t),placeholder:[e.$t("HistoryPage.StartDate"),e.$t("HistoryPage.EndDate")],valueFormat:"YYYY-MM-DD"},{suffixIcon:(0,a.w5)((()=>[p])),_:1},8,["value","placeholder"]),(0,a._)("div",g,[(0,a.wy)((0,a._)("input",{class:"search_input",placeholder:e.$t("HistoryPage.inputContent1"),"onUpdate:modelValue":t[1]||(t[1]=t=>e.searchCollectionName=t),onKeydown:t[2]||(t[2]=(0,s.D2)((t=>e.searchHistoryList()),["enter"]))},null,40,_),[[s.nr,e.searchCollectionName]]),(0,a._)("div",{class:"search_icon_block",onClick:t[3]||(t[3]=t=>e.searchHistoryList())},D)])]),(0,a._)("div",k,[(0,a.Wm)(x,{columns:e.columns,"data-source":e.collectionList,scroll:{y:e.historyTableHeight},onChange:e.changePage,pagination:{showSizeChanger:!0,current:e.currentPage,pageSize:e.pageSize,total:e.total,showQuickJumper:!0,bordered:!1}},{bodyCell:(0,a.w5)((({column:t,text:i,record:s,index:n})=>[t?.Operations?((0,a.wg)(),(0,a.iD)("div",v,[(0,a._)("div",{class:"operate_item",onClick:t=>e.turnToDetail(s)},(0,o.zw)(e.$t("HistoryPage.Detail")),9,w),(0,a._)("div",{class:"operate_item",onClick:t=>e.renameCollection(s,n)},(0,o.zw)(e.$t("HistoryPage.Rename")),9,C),(0,a._)("div",{class:"operate_item",onClick:t=>e.retrieveHome(s)},(0,o.zw)(e.$t("HistoryPage.Retrieve")),9,H),(0,a._)("div",{class:"operate_item",onClick:t=>e.deleteGroup(s,n)},(0,o.zw)(e.$t("HistoryPage.Delete")),9,P)])):(0,a.kq)("",!0)])),_:1},8,["columns","data-source","scroll","onChange","pagination"])],512)])])]),(0,a.Wm)(z,{ref:"historyDetail",groupDetails:e.groupDetails,collectionName:e.collectionName},null,8,["groupDetails","collectionName"]),(0,a.Wm)(Z,{class:"rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[7]||(t[7]=t=>e.renameVisivle=t),footer:null,title:e.renameData?.name,keyboard:!1,width:"56rem",maskClosable:!1,centered:!0},{default:(0,a.w5)((()=>[(0,a._)("div",b,[(0,a._)("div",f,[(0,a.wy)((0,a._)("input",{class:"rename_form_input",placeholder:e.$t("HistoryPage.inputContent2"),"onUpdate:modelValue":t[4]||(t[4]=t=>e.newCollectionName=t),onKeydown:t[5]||(t[5]=(0,s.D2)((t=>e.confrimRename()),["enter"]))},null,40,N),[[s.nr,e.newCollectionName]])]),(0,a._)("div",{class:"rename_submit_button",onClick:t[6]||(t[6]=t=>e.confrimRename())},(0,o.zw)(e.$t("HistoryPage.Submit")),1)])])),_:1},8,["visible","title"]),(0,a.Wm)(L)])}var T=i(2262),S=i(6386),x=i(329),z=i(6214),Z=i(7332),L=i(1446),$=i(327),U=i(7729),Y=i(8302),G=i(8552),I=(0,a.aZ)({components:{HeaderComponent:S.Z,HistoryDetail:x.Z,RobotAssist:U.Z},setup(){let e=(0,T.iH)([]),t=(0,T.iH)({});const i=(0,a.Fl)((()=>[{title:(0,G.QT)().t("HistoryPage.CollectionsName"),align:"center",ellipsis:!0,width:150,dataIndex:"name",key:"collectionName"},{title:(0,G.QT)().t("HistoryPage.UptateTime"),align:"center",ellipsis:!0,width:150,dataIndex:"updateDate",key:"updateTime",customRender:e=>{let t=(0,Z.mr)(e.text/1e3,"YYYY-MM-DD hh:mm:ss");return t}},{title:(0,G.QT)().t("HistoryPage.SketchCounts"),align:"center",ellipsis:!0,width:150,dataIndex:"sketchCount",key:"sketchCounts"},{title:(0,G.QT)().t("HistoryPage.Operations"),key:"operation",align:"center",fixed:"right",width:150,Operations:!0}]));let o=(0,T.iH)([]),{t:s}=(0,G.QT)();return{rangePickerValue:e,columns:i,collectionList:o,renameData:t,t:s}},data(){return{currentPage:1,pageSize:10,total:0,historyTableHeight:0,newCollectionName:"",renameVisivle:!1,groupDetails:{},collectionName:"",searchCollectionName:""}},mounted(){let e=this.$refs.historyTable;this.historyTableHeight=e.clientHeight-130,this.getHistoryList()},methods:{turnToDetail(e){this.groupDetails=e.groupDetails;let t=this.$refs.historyDetail;this.collectionName=e.name,t.changeDetailShow()},changePage(e){this.currentPage=e.current,this.pageSize=e.pageSize,this.getHistoryList()},searchHistoryList(){this.currentPage=1,this.getHistoryList()},getHistoryList(){let e=this.rangePickerValue?new Date(this.rangePickerValue[0]).getTime():"",t=this.rangePickerValue?new Date(this.rangePickerValue[1]).getTime():"",i={page:this.currentPage,size:this.pageSize,collectionName:this.searchCollectionName,startDate:e,endDate:t};z.V.axiosPost(z.V.httpUrls.queryUserGroup,i).then((e=>{this.collectionList=e.content,this.total=e.total}))},deleteGroup(e,t){let i=(e,t)=>{let i={userGroupId:e};z.V.axiosPost(z.V.httpUrls.deleteUserGroup,i).then((e=>{L.ZP.success(this.t("HistoryPage.jsContent1")),this.collectionList.splice(t,1)}))};$.Z.confirm({title:this.t("HistoryPage.jsContent2"),icon:(0,a.Wm)(Y.Z),okText:"Yes",cancelText:"No",centered:!0,mask:!1,onOk(){i(e.id,t)}})},renameCollection(e,t){this.renameVisivle=!0,this.renameData={...e,index:t}},confrimRename(){let e={timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userGroupId:this.renameData.id,userGroupName:this.newCollectionName};z.V.axiosPost(z.V.httpUrls.updateUserGroupName,e).then((e=>{L.ZP.success(this.t("HistoryPage.jsContent3")),this.collectionList[this.renameData.index].name=this.newCollectionName,this.collectionList[this.renameData.index].updateDate=e.updateDate,this.renameVisivle=!1,this.newCollectionName="",this.renameData={}}))},retrieveHome(e){this.$router.push({name:"home",params:{id:e.id}})}}}),R=i(3744);const W=(0,R.Z)(I,[["render",V]]);var Q=W},5328:function(e,t,i){e.exports=i.p+"img/bg.5af7d92c.png"}}]); \ No newline at end of file diff --git a/dist/js/43.7be4f131.js b/dist/js/43.7be4f131.js new file mode 100644 index 00000000..f10d2ca5 --- /dev/null +++ b/dist/js/43.7be4f131.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[43],{4924:function(e,t,i){i.d(t,{Z:function(){return c}});var o=i(6252),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},s=n,r=i(2130);function a(e){for(var t=1;t{const i=e.matches(t),o=Array.from(e.querySelectorAll(t));return[...i?[e]:[],...o]})).filter((e=>"none"!==getComputedStyle(e).pointerEvents&&u(e)))}function d(e){if(!e||p(e))return;const t=r("smoothScroll");e.scrollIntoView({behavior:!t||c(e)?"auto":"smooth",inline:"center",block:"center"})}function c(e){if(!e||!e.parentElement)return;const t=e.parentElement;return t.scrollHeight>t.clientHeight}function p(e){const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function u(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}let m={};function h(e,t){m[e]=t}function v(e){return e?m[e]:m}function w(){m={}}let g={};function _(e,t){g[e]=t}function y(e){var t;null==(t=g[e])||t.call(g)}function k(){g={}}function f(e,t,i,o){let n=v("__activeStagePosition");const s=n||i.getBoundingClientRect(),r=o.getBoundingClientRect(),l=a(e,s.x,r.x-s.x,t),d=a(e,s.y,r.y-s.y,t),c=a(e,s.width,r.width-s.width,t),p=a(e,s.height,r.height-s.height,t);n={x:l,y:d,width:c,height:p},C(n),h("__activeStagePosition",n)}function b(e){if(!e)return;const t=e.getBoundingClientRect(),i={x:t.x,y:t.y,width:t.width,height:t.height};h("__activeStagePosition",i),C(i)}function x(){const e=v("__activeStagePosition"),t=v("__overlaySvg");if(!e)return;if(!t)return void console.warn("No stage svg found.");const i=window.innerWidth,o=window.innerHeight;t.setAttribute("viewBox",`0 0 ${i} ${o}`)}function I(e){const t=T(e);document.body.appendChild(t),M(t,(e=>{"path"===e.target.tagName&&y("overlayClick")})),h("__overlaySvg",t)}function C(e){const t=v("__overlaySvg");if(!t)return void I(e);const i=t.firstElementChild;if("path"!==(null==i?void 0:i.tagName))throw new Error("no path element found in stage svg");i.setAttribute("d",S(e))}function T(e){const t=window.innerWidth,i=window.innerHeight,o=document.createElementNS("http://www.w3.org/2000/svg","svg");o.classList.add("driver-overlay","driver-overlay-animated"),o.setAttribute("viewBox",`0 0 ${t} ${i}`),o.setAttribute("xmlSpace","preserve"),o.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),o.setAttribute("version","1.1"),o.setAttribute("preserveAspectRatio","xMinYMin slice"),o.style.fillRule="evenodd",o.style.clipRule="evenodd",o.style.strokeLinejoin="round",o.style.strokeMiterlimit="2",o.style.zIndex="10000",o.style.position="fixed",o.style.top="0",o.style.left="0",o.style.width="100%",o.style.height="100%";const n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",S(e)),n.style.fill=r("overlayColor")||"rgb(0,0,0)",n.style.opacity=`${r("overlayOpacity")}`,n.style.pointerEvents="auto",n.style.cursor="auto",o.appendChild(n),o}function S(e){const t=window.innerWidth,i=window.innerHeight,o=r("stagePadding")||0,n=r("stageRadius")||0,s=e.width+2*o,a=e.height+2*o,l=Math.min(n,s/2,a/2),d=Math.floor(Math.max(l,0)),c=e.x-o+d,p=e.y-o,u=s-2*d,m=a-2*d;return`M${t},0L0,0L0,${i}L${t},${i}L${t},0Z\n M${c},${p} h${u} a${d},${d} 0 0 1 ${d},${d} v${m} a${d},${d} 0 0 1 -${d},${d} h-${u} a${d},${d} 0 0 1 -${d},-${d} v-${m} a${d},${d} 0 0 1 ${d},-${d} z`}function L(){const e=v("__overlaySvg");e&&e.remove()}function E(){const e=document.getElementById("driver-dummy-element");if(e)return e;let t=document.createElement("div");return t.id="driver-dummy-element",t.style.width="0",t.style.height="0",t.style.pointerEvents="none",t.style.opacity="0",t.style.position="fixed",t.style.top="50%",t.style.left="50%",document.body.appendChild(t),t}function D(e){const{element:t}=e;let i="string"==typeof t?document.querySelector(t):t;i||(i=E()),N(i,e)}function H(){const e=v("__activeElement"),t=v("__activeStep");e&&(b(e),x(),R(e,t))}function N(e,t){const i=Date.now(),o=v("__activeStep"),n=v("__activeElement")||e,s=!n||n===e,a="driver-dummy-element"===e.id,l="driver-dummy-element"===n.id,c=r("animate"),p=t.onHighlightStarted||r("onHighlightStarted"),u=(null==t?void 0:t.onHighlighted)||r("onHighlighted"),m=(null==o?void 0:o.onDeselected)||r("onDeselected"),w=r(),g=v();!s&&m&&m(l?void 0:n,o,{config:w,state:g}),p&&p(a?void 0:e,t,{config:w,state:g});const _=!s&&c;let y=!1;A(),h("previousStep",o),h("previousElement",n),h("activeStep",t),h("activeElement",e);const k=()=>{if(v("__transitionCallback")!==k)return;const s=Date.now()-i,l=400-s<=200;t.popover&&l&&!y&&_&&(U(e,t),y=!0),r("animate")&&s<400?f(s,400,n,e):(b(e),u&&u(a?void 0:e,t,{config:r(),state:v()}),h("__transitionCallback",void 0),h("__previousStep",o),h("__previousElement",n),h("__activeStep",t),h("__activeElement",e)),window.requestAnimationFrame(k)};h("__transitionCallback",k),window.requestAnimationFrame(k),d(e),!_&&t.popover&&U(e,t),n.classList.remove("driver-active-element","driver-no-interaction"),n.removeAttribute("aria-haspopup"),n.removeAttribute("aria-expanded"),n.removeAttribute("aria-controls"),r("disableActiveInteraction")&&e.classList.add("driver-no-interaction"),e.classList.add("driver-active-element"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded","true"),e.setAttribute("aria-controls","driver-popover-content")}function P(){var e;null==(e=document.getElementById("driver-dummy-element"))||e.remove(),document.querySelectorAll(".driver-active-element").forEach((e=>{e.classList.remove("driver-active-element","driver-no-interaction"),e.removeAttribute("aria-haspopup"),e.removeAttribute("aria-expanded"),e.removeAttribute("aria-controls")}))}function $(){const e=v("__resizeTimeout");e&&window.cancelAnimationFrame(e),h("__resizeTimeout",window.requestAnimationFrame(H))}function W(e){var t;if(!v("isInitialized")||"Tab"!==e.key&&9!==e.keyCode)return;const i=v("__activeElement"),o=null==(t=v("popover"))?void 0:t.wrapper,n=l([...o?[o]:[],...i?[i]:[]]),s=n[0],r=n[n.length-1];if(e.preventDefault(),e.shiftKey){const e=n[n.indexOf(document.activeElement)-1]||r;null==e||e.focus()}else{const e=n[n.indexOf(document.activeElement)+1]||s;null==e||e.focus()}}function B(e){var t;(null==(t=r("allowKeyboardControl"))||t)&&("Escape"===e.key?y("escapePress"):"ArrowRight"===e.key?y("arrowRightPress"):"ArrowLeft"===e.key&&y("arrowLeftPress"))}function M(e,t,i){const o=(t,o)=>{const n=t.target;e.contains(n)&&((!i||i(n))&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()),null==o||o(t))};document.addEventListener("pointerdown",o,!0),document.addEventListener("mousedown",o,!0),document.addEventListener("pointerup",o,!0),document.addEventListener("mouseup",o,!0),document.addEventListener("click",(e=>{o(e,t)}),!0)}function O(){window.addEventListener("keyup",B,!1),window.addEventListener("keydown",W,!1),window.addEventListener("resize",$),window.addEventListener("scroll",$)}function G(){window.removeEventListener("keyup",B),window.removeEventListener("resize",$),window.removeEventListener("scroll",$)}function A(){const e=v("popover");e&&(e.wrapper.style.display="none")}function U(e,t){var i,o;let n=v("popover");n&&document.body.removeChild(n.wrapper),n=Y(),document.body.appendChild(n.wrapper);const{title:s,description:a,showButtons:c,disableButtons:p,showProgress:u,nextBtnText:m=r("nextBtnText")||"Next →",prevBtnText:w=r("prevBtnText")||"← Previous",progressText:g=r("progressText")||"{current} of {total}"}=t.popover||{};n.nextButton.innerHTML=m,n.previousButton.innerHTML=w,n.progress.innerHTML=g,s?(n.title.innerHTML=s,n.title.style.display="block"):n.title.style.display="none",a?(n.description.innerHTML=a,n.description.style.display="block"):n.description.style.display="none";const _=c||r("showButtons"),k=u||r("showProgress")||!1,f=(null==_?void 0:_.includes("next"))||(null==_?void 0:_.includes("previous"))||k;n.closeButton.style.display=_.includes("close")?"block":"none",f?(n.footer.style.display="flex",n.progress.style.display=k?"block":"none",n.nextButton.style.display=_.includes("next")?"block":"none",n.previousButton.style.display=_.includes("previous")?"block":"none"):n.footer.style.display="none";const b=p||r("disableButtons")||[];null!=b&&b.includes("next")&&(n.nextButton.disabled=!0,n.nextButton.classList.add("driver-popover-btn-disabled")),null!=b&&b.includes("previous")&&(n.previousButton.disabled=!0,n.previousButton.classList.add("driver-popover-btn-disabled")),null!=b&&b.includes("close")&&(n.closeButton.disabled=!0,n.closeButton.classList.add("driver-popover-btn-disabled"));const x=n.wrapper;x.style.display="block",x.style.left="",x.style.top="",x.style.bottom="",x.style.right="",x.id="driver-popover-content",x.setAttribute("role","dialog"),x.setAttribute("aria-labelledby","driver-popover-title"),x.setAttribute("aria-describedby","driver-popover-description");const I=n.arrow;I.className="driver-popover-arrow";const C=(null==(i=t.popover)?void 0:i.popoverClass)||r("popoverClass")||"";x.className=`driver-popover ${C}`.trim(),M(n.wrapper,(i=>{var o,n,s;const a=i.target,l=(null==(o=t.popover)?void 0:o.onNextClick)||r("onNextClick"),d=(null==(n=t.popover)?void 0:n.onPrevClick)||r("onPrevClick"),c=(null==(s=t.popover)?void 0:s.onCloseClick)||r("onCloseClick");return a.classList.contains("driver-popover-next-btn")?l?l(e,t,{config:r(),state:v()}):y("nextClick"):a.classList.contains("driver-popover-prev-btn")?d?d(e,t,{config:r(),state:v()}):y("prevClick"):a.classList.contains("driver-popover-close-btn")?c?c(e,t,{config:r(),state:v()}):y("closeClick"):void 0}),(e=>!(null!=n&&n.description.contains(e))&&!(null!=n&&n.title.contains(e))&&"string"==typeof e.className&&e.className.includes("driver-popover"))),h("popover",n);const T=(null==(o=t.popover)?void 0:o.onPopoverRender)||r("onPopoverRender");T&&T(n,{config:r(),state:v()}),R(e,t),d(x);const S=e.classList.contains("driver-dummy-element"),L=l([x,...S?[]:[e]]);L.length>0&&L[0].focus()}function q(){const e=v("popover");if(null==e||!e.wrapper)return;const t=e.wrapper.getBoundingClientRect(),i=r("stagePadding")||0,o=r("popoverOffset")||0;return{width:t.width+i+o,height:t.height+i+o,realWidth:t.width,realHeight:t.height}}function z(e,t){const{elementDimensions:i,popoverDimensions:o,popoverPadding:n,popoverArrowDimensions:s}=t;return"start"===e?Math.max(Math.min(i.top-n,window.innerHeight-o.realHeight-s.width),s.width):"end"===e?Math.max(Math.min(i.top-(null==o?void 0:o.realHeight)+i.height+n,window.innerHeight-(null==o?void 0:o.realHeight)-s.width),s.width):"center"===e?Math.max(Math.min(i.top+i.height/2-(null==o?void 0:o.realHeight)/2,window.innerHeight-(null==o?void 0:o.realHeight)-s.width),s.width):0}function V(e,t){const{elementDimensions:i,popoverDimensions:o,popoverPadding:n,popoverArrowDimensions:s}=t;return"start"===e?Math.max(Math.min(i.left-n,window.innerWidth-o.realWidth-s.width),s.width):"end"===e?Math.max(Math.min(i.left-(null==o?void 0:o.realWidth)+i.width+n,window.innerWidth-(null==o?void 0:o.realWidth)-s.width),s.width):"center"===e?Math.max(Math.min(i.left+i.width/2-(null==o?void 0:o.realWidth)/2,window.innerWidth-(null==o?void 0:o.realWidth)-s.width),s.width):0}function R(e,t){const i=v("popover");if(!i)return;const{align:o="start",side:n="left"}=(null==t?void 0:t.popover)||{},s=o,a="driver-dummy-element"===e.id?"over":n,l=r("stagePadding")||0,d=q(),c=i.arrow.getBoundingClientRect(),p=e.getBoundingClientRect(),u=p.top-d.height;let m=u>=0;const h=window.innerHeight-(p.bottom+d.height);let w=h>=0;const g=p.left-d.width;let _=g>=0;const y=window.innerWidth-(p.right+d.width);let k=y>=0;const f=!m&&!w&&!_&&!k;let b=a;if("top"===a&&m?k=_=w=!1:"bottom"===a&&w?k=_=m=!1:"left"===a&&_?k=m=w=!1:"right"===a&&k&&(_=m=w=!1),"over"===a){const e=window.innerWidth/2-d.realWidth/2,t=window.innerHeight/2-d.realHeight/2;i.wrapper.style.left=`${e}px`,i.wrapper.style.right="auto",i.wrapper.style.top=`${t}px`,i.wrapper.style.bottom="auto"}else if(f){const e=window.innerWidth/2-(null==d?void 0:d.realWidth)/2,t=10;i.wrapper.style.left=`${e}px`,i.wrapper.style.right="auto",i.wrapper.style.bottom=`${t}px`,i.wrapper.style.top="auto"}else if(_){const e=Math.min(g,window.innerWidth-(null==d?void 0:d.realWidth)-c.width),t=z(s,{elementDimensions:p,popoverDimensions:d,popoverPadding:l,popoverArrowDimensions:c});i.wrapper.style.left=`${e}px`,i.wrapper.style.top=`${t}px`,i.wrapper.style.bottom="auto",i.wrapper.style.right="auto",b="left"}else if(k){const e=Math.min(y,window.innerWidth-(null==d?void 0:d.realWidth)-c.width),t=z(s,{elementDimensions:p,popoverDimensions:d,popoverPadding:l,popoverArrowDimensions:c});i.wrapper.style.right=`${e}px`,i.wrapper.style.top=`${t}px`,i.wrapper.style.bottom="auto",i.wrapper.style.left="auto",b="right"}else if(m){const e=Math.min(u,window.innerHeight-d.realHeight-c.width);let t=V(s,{elementDimensions:p,popoverDimensions:d,popoverPadding:l,popoverArrowDimensions:c});i.wrapper.style.top=`${e}px`,i.wrapper.style.left=`${t}px`,i.wrapper.style.bottom="auto",i.wrapper.style.right="auto",b="top"}else if(w){const e=Math.min(h,window.innerHeight-(null==d?void 0:d.realHeight)-c.width);let t=V(s,{elementDimensions:p,popoverDimensions:d,popoverPadding:l,popoverArrowDimensions:c});i.wrapper.style.left=`${t}px`,i.wrapper.style.bottom=`${e}px`,i.wrapper.style.top="auto",i.wrapper.style.right="auto",b="bottom"}f?i.arrow.classList.add("driver-popover-arrow-none"):F(s,b,e)}function F(e,t,i){const o=v("popover");if(!o)return;const n=i.getBoundingClientRect(),s=q(),r=o.arrow,a=s.width,l=window.innerWidth,d=n.width,c=n.left,p=s.height,u=window.innerHeight,m=n.top,h=n.height;r.className="driver-popover-arrow";let w=t,g=e;"top"===t?(c+d<=0?(w="right",g="end"):c+d-a<=0&&(w="top",g="start"),c>=l?(w="left",g="end"):c+a>=l&&(w="top",g="end")):"bottom"===t?(c+d<=0?(w="right",g="start"):c+d-a<=0&&(w="bottom",g="start"),c>=l?(w="left",g="start"):c+a>=l&&(w="bottom",g="end")):"left"===t?(m+h<=0?(w="bottom",g="end"):m+h-p<=0&&(w="left",g="start"),m>=u?(w="top",g="end"):m+p>=u&&(w="left",g="end")):"right"===t&&(m+h<=0?(w="bottom",g="start"):m+h-p<=0&&(w="right",g="start"),m>=u?(w="top",g="start"):m+p>=u&&(w="right",g="end")),w?(r.classList.add(`driver-popover-arrow-side-${w}`),r.classList.add(`driver-popover-arrow-align-${g}`)):r.classList.add("driver-popover-arrow-none")}function Y(){const e=document.createElement("div");e.classList.add("driver-popover");const t=document.createElement("div");t.classList.add("driver-popover-arrow");const i=document.createElement("header");i.id="driver-popover-title",i.classList.add("driver-popover-title"),i.style.display="none",i.innerText="Popover Title";const o=document.createElement("div");o.id="driver-popover-description",o.classList.add("driver-popover-description"),o.style.display="none",o.innerText="Popover description is here";const n=document.createElement("button");n.type="button",n.classList.add("driver-popover-close-btn"),n.setAttribute("aria-label","Close"),n.innerHTML="×";const s=document.createElement("footer");s.classList.add("driver-popover-footer");const r=document.createElement("span");r.classList.add("driver-popover-progress-text"),r.innerText="";const a=document.createElement("span");a.classList.add("driver-popover-navigation-btns");const l=document.createElement("button");l.type="button",l.classList.add("driver-popover-prev-btn"),l.innerHTML="← Previous";const d=document.createElement("button");return d.type="button",d.classList.add("driver-popover-next-btn"),d.innerHTML="Next →",a.appendChild(l),a.appendChild(d),s.appendChild(r),s.appendChild(a),e.appendChild(n),e.appendChild(t),e.appendChild(i),e.appendChild(o),e.appendChild(s),{wrapper:e,arrow:t,title:i,description:o,footer:s,previousButton:l,nextButton:d,closeButton:n,footerButtons:a,progress:r}}function Z(){var e;const t=v("popover");t&&(null==(e=t.wrapper.parentElement)||e.removeChild(t.wrapper))}function j(e={}){function t(){r("allowClose")&&p()}function i(){const e=v("activeIndex"),t=r("steps")||[];if("undefined"==typeof e)return;const i=e+1;t[i]?c(i):p()}function o(){const e=v("activeIndex"),t=r("steps")||[];if("undefined"==typeof e)return;const i=e-1;t[i]?c(i):p()}function n(e){(r("steps")||[])[e]?c(e):p()}function a(){var e;if(v("__transitionCallback"))return;const t=v("activeIndex"),i=v("__activeStep"),n=v("__activeElement");if("undefined"==typeof t||"undefined"==typeof i||"undefined"==typeof v("activeIndex"))return;const s=(null==(e=i.popover)?void 0:e.onPrevClick)||r("onPrevClick");if(s)return s(n,i,{config:r(),state:v()});o()}function l(){var e;if(v("__transitionCallback"))return;const t=v("activeIndex"),o=v("__activeStep"),n=v("__activeElement");if("undefined"==typeof t||"undefined"==typeof o)return;const s=(null==(e=o.popover)?void 0:e.onNextClick)||r("onNextClick");if(s)return s(n,o,{config:r(),state:v()});i()}function d(){v("isInitialized")||(h("isInitialized",!0),document.body.classList.add("driver-active",r("animate")?"driver-fade":"driver-simple"),O(),_("overlayClick",t),_("escapePress",t),_("arrowLeftPress",a),_("arrowRightPress",l))}function c(e=0){var t,i,o,n,s,a,l,d;const u=r("steps");if(!u)return console.error("No steps to drive through"),void p();if(!u[e])return void p();h("__activeOnDestroyed",document.activeElement),h("activeIndex",e);const m=u[e],v=u[e+1],w=u[e-1],g=(null==(t=m.popover)?void 0:t.doneBtnText)||r("doneBtnText")||"Done",_=r("allowClose"),y="undefined"!=typeof(null==(i=m.popover)?void 0:i.showProgress)?null==(o=m.popover)?void 0:o.showProgress:r("showProgress"),k=((null==(n=m.popover)?void 0:n.progressText)||r("progressText")||"{{current}} of {{total}}").replace("{{current}}",`${e+1}`).replace("{{total}}",`${u.length}`),f=(null==(s=m.popover)?void 0:s.showButtons)||r("showButtons"),b=["next","previous",..._?["close"]:[]].filter((e=>!(null!=f&&f.length)||f.includes(e))),x=(null==(a=m.popover)?void 0:a.onNextClick)||r("onNextClick"),I=(null==(l=m.popover)?void 0:l.onPrevClick)||r("onPrevClick"),C=(null==(d=m.popover)?void 0:d.onCloseClick)||r("onCloseClick");D({...m,popover:{showButtons:b,nextBtnText:v?void 0:g,disableButtons:[...w?[]:["previous"]],showProgress:y,progressText:k,onNextClick:x||(()=>{v?c(e+1):p()}),onPrevClick:I||(()=>{c(e-1)}),onCloseClick:C||(()=>{p()}),...(null==m?void 0:m.popover)||{}}})}function p(e=!0){const t=v("__activeElement"),i=v("__activeStep"),o=v("__activeOnDestroyed"),n=r("onDestroyStarted");if(e&&n){const e=!t||"driver-dummy-element"===(null==t?void 0:t.id);return void n(e?void 0:t,i,{config:r(),state:v()})}const s=(null==i?void 0:i.onDeselected)||r("onDeselected"),a=r("onDestroyed");if(document.body.classList.remove("driver-active","driver-fade","driver-simple"),G(),Z(),P(),L(),k(),w(),t&&i){const e="driver-dummy-element"===t.id;s&&s(e?void 0:t,i,{config:r(),state:v()}),a&&a(e?void 0:t,i,{config:r(),state:v()})}o&&o.focus()}return s(e),{isActive:()=>v("isInitialized")||!1,refresh:$,drive:(e=0)=>{d(),c(e)},setConfig:s,setSteps:e=>{w(),s({...r(),steps:e})},getConfig:r,getState:v,getActiveIndex:()=>v("activeIndex"),isFirstStep:()=>0===v("activeIndex"),isLastStep:()=>{const e=r("steps")||[],t=v("activeIndex");return void 0!==t&&t===e.length-1},getActiveStep:()=>v("activeStep"),getActiveElement:()=>v("activeElement"),getPreviousElement:()=>v("previousElement"),getPreviousStep:()=>v("previousStep"),moveNext:i,movePrevious:o,moveTo:n,hasNextStep:()=>{const e=r("steps")||[],t=v("activeIndex");return void 0!==t&&e[t+1]},hasPreviousStep:()=>{const e=r("steps")||[],t=v("activeIndex");return void 0!==t&&e[t-1]},highlight:e=>{d(),D({...e,popover:e.popover?{showButtons:[],showProgress:!1,progressText:"",...e.popover}:void 0})},destroy:()=>{p(!1)}}}var J=i(2339),K=i(3907),X=i(6214);let Q,ee,te=0,ie={index:te,driver:!0};const oe=j({steps:[{element:".Guide_1_1_1",popover:{title:"Title",description:"Description"}},{element:".Guide_1_27",popover:{title:"",description:"You can personalize your design settings right here in the Workspace, including choosing to design for men's or women's wear, as well as selecting the mannequin to use for your creations."}},{element:".Guide_1_28",popover:{title:"",description:"Select the apparel type you'd like to work on.",side:"right"}},{element:".Guide_1_28",popover:{title:"",description:"Change the mannequin here.",side:"right",align:"end"}},{element:".Guide_1_29",popover:{title:"",description:"You can currently select a mannequin from our system library. Later, you can also choose from the user library after registering your own mannequin."}},{element:".Guide_1_1",popover:{title:"",description:"Begin your creative journey here. "}},{element:".Guide_1_1_2",popover:{title:"",description:"For the Moodboard, Printboard, or Sketchboard, we provide three different sourcing methods to add images. The first option is Upload, allowing you to upload directly from your local device.",side:"left",align:"start"}},{element:".Guide_1_1_2",popover:{title:"",description:"The second method is to select from your Library.
You might notice that your library page is currently empty; there's no need to worry. All the images you upload will be automatically added to your library. In the future, you won't have to upload each time—you can simply choose from your library instead."}},{element:".Guide_1_4",popover:{title:"",description:"The third method is to Generate images using the latest Image Generation technology."}},{element:".Guide_1_5",popover:{title:"",description:"Enter keywords that capture the mood you wish to express and then click the 'Generate' button."}},{element:".Guide_1_6",popover:{title:"",description:"Select two images for your moodboard."}},{element:".Guide_1_7",popover:{title:"",description:"Click here to layout your moodboard."}},{element:".Guide_1_8",popover:{title:"",description:"Click here for next step."}},{element:".Guide_1_2_1",popover:{title:"",description:"Click here to generate print images."}},{element:".Guide_1_2_2",popover:{title:"",description:"We provide three input options for generating images: Image Only, Text Only, and Text-Image."}},{element:".Guide_1_2_3",popover:{title:"",description:"Select this option and we will generate four print images using both the picture you upload and the text you enter."}},{element:".Guide_1_2_4",popover:{title:"",description:"Choose a generation model here; different models will generate images in various styles."}},{element:".Guide_1_2_5",popover:{title:"",description:"Choose a generation model here; different models will generate images in various styles."}},{element:".Guide_1_2_6",popover:{title:"",description:"Upload the input picture here."}},{element:".Guide_1_2_7",popover:{title:"",description:"Click on this image to select it."}},{element:".Guide_1_2_8",popover:{title:"",description:"Enter keywords about the print you wish to create and then click the 'Generate' button."}},{element:".Guide_1_2_9",popover:{title:"",description:"Select the generated prints you like best."}},{element:".Guide_1_8",popover:{title:"",description:"Click here for next step."}},{element:".Guide_1_10",popover:{title:"",description:"Click here to extract primary colors from image."}},{element:".Guide_1_11",popover:{title:"",description:"Select the color you want from these color blocks as the first color."}},{element:".Guide_1_11_1",popover:{title:"",description:"Click on this block to select the second color."}},{element:".Guide_1_11_2",popover:{title:"",description:"Choose the color you want from these color blocks."}},{element:".Guide_1_8",popover:{title:"",description:"Click here for next step."}},{element:".Guide_1_9",popover:{title:"",description:"Click here to generate clothing sketches."}},{element:".Guide_1_9_1",popover:{title:"",description:"Using text only option for generation."}},{element:".Guide_1_9_2",popover:{title:"",description:"Enter keywords about the sketch you wish to create and then click the 'Generate' button."}},{element:".Guide_1_13",popover:{title:"",description:"Click here to choose a category for the generated sketch."}},{element:".Guide_1_13_1",popover:{title:"",description:"Choose correct category for the sketch."}},{element:".Guide_1_13_2",popover:{title:"",description:"Select the generated sketches you like best."}},{element:".Guide_1_14",popover:{title:"",description:"Cick here to complete the uploading process."}},{element:".Guide_1_15",popover:{title:"",description:"Click here to let AI generate design illustrations."}},{element:".Guide_1_16",popover:{title:"",description:"Please wait a few seconds."}},{element:".Guide_1_17",popover:{title:"",description:"Click the little red heart to save your favorite design."}},{element:".Guide_1_30",popover:{title:"",description:"Click 'Redesign' to generate eight new outfits for your collection to choose from."}},{element:".Guide_1_16_1",popover:{title:"",description:"Click here to let AI generate design illustrations."}},{element:".Guide_1_17",popover:{title:"",description:"Click on any design image you are interested in to modify the details."}},{element:".Guide_1_19",popover:{title:"",description:"Click on the clothes to modify its details."}},{element:".Guide_1_20",popover:{title:"",description:"Click here to add or change the print."}},{element:".Guide_1_21",popover:{title:"",description:"You can find the print you uploaded earlier in your Library."}},{element:".Guide_1_22",popover:{title:"",description:"Select a print for this sketch."}},{element:".Guide_1_23",popover:{title:"",description:"Click here to layout the selected print"}},{element:".Guide_1_25",popover:{title:"",description:"Preview printed design here.",side:"right",align:"end"}},{element:".Guide_1_26",popover:{title:"",description:"Click here to finalize your modification."}},{element:".Guide_1_31",popover:{title:"",description:"Click here to export the collection you just designed."}},{element:".Guide_1_99",popover:{title:"Begin Your Design",description:'Your guide is complete, and now the canvas is yours to create freely. For more insights and details, check out our demo video on the homepage at https://code-create.com.hk/aida/
You can restart the tutorial at any time by simply telling the robot that you want to.'}}],allowClose:!1,showButtons:!1,stagePadding:10,stageRadius:5,allowKeyboardControl:!0,disableActiveInteraction:!1,overlayOpacity:.4,overlay:!0,doneBtnText:"✕",onPopoverRender:(e,t)=>{e.previousButton.style.display="none",te=oe.getState().activeIndex,ie={index:te,driver:!0},Q?.commit("setGuide",ie),0==t.state.activeIndex||39==t.state.activeIndex?e.wrapper.style.display="none":e.wrapper.style.display="block",2==t.state.activeIndex?e.wrapper.style.transform="translateY(11rem)":6==t.state.activeIndex||7==t.state.activeIndex?e.wrapper.style.transform="translateY(4rem)":e.wrapper.style.transform="initial",t.state.activeIndex>=6&&t.state.activeIndex<9||t.state.activeIndex>=14&&t.state.activeIndex<15||oe.isLastStep()?(e.footer.style.display="block",e.footerButtons.style.pointerEvents="auto"):(e.footer.style.display="none",e.footerButtons.style.pointerEvents="none"),(0,o.Y3)().then((()=>{ee&&ee.classList.remove("Guide_"),ee=t.state.activeElement,ee.classList.add("Guide_")}))},onDestroyStarted:()=>{se()},onDestroyed:()=>{}});const ne=()=>{let e,t=JSON.parse((0,J.ej)("isBeginner")),i=JSON.parse((0,J.ej)("isBeginnerNum")?(0,J.ej)("isBeginnerNum"):"0");t?(i?oe.drive(i):oe.drive(),e={index:te,driver:!0}):(oe.destroy(),e={index:te,driver:!1}),Q=(0,K.oR)(),Q?.commit("setGuide",e)};function se(){ie={index:te,driver:!1},Q?.commit("setGuide",ie),(0,J.d8)("isBeginner",!1),oe.destroy();let e={};X.V.axiosPost(X.V.httpUrls.completeGuidancet,e).then().catch((e=>{}))}},6386:function(e,t,i){i.d(t,{Z:function(){return Ve}});var o=i(6252),n=i(3577),s=i(9963),r=i.p+"img/aida_logo.5ab4163e.png";const a=e=>((0,o.dD)("data-v-574f1158"),e=e(),(0,o.Cn)(),e),l={class:"header_max"},d={class:"header_component"},c={class:"header_right_content"},p=a((()=>(0,o._)("div",{class:"header_user_icon"},null,-1))),u={class:"header_user_content"},m={key:0,class:"username"},h=a((()=>(0,o._)("span",null,"/",-1))),v={key:1,class:"username"},w=a((()=>(0,o._)("span",null,"/",-1))),g={class:"header_user_content marLeft2"},_={class:"username"},y={class:"header_nav_content"},k={class:"header_right"},f={class:"select_block"},b=a((()=>(0,o._)("span",{class:"icon iconfont icon-tuichu"},null,-1))),x={class:"select_item_des"},I={class:"select_block select_list"},C=["onClick"],T={class:"select_item_des"},S={class:"skip_content"},L={key:0,class:"bind_email_content"},E={class:"bind_email_tip"},D={class:"bind_email"},H={key:1,class:"bind_email_content"},N={class:"bind_email_form_content"},P={class:"bind_email_form_title"},$=a((()=>(0,o._)("span",{class:"icon iconfont icon--shangyibu"},null,-1))),W={class:"email_last_step_content"},B={class:"email_last_step_des"},M={class:"sent_email_content"},O={class:"tip_content"};function G(e,t,i,a,G,A){const U=(0,o.up)("Habit"),q=(0,o.up)("VerificationCodeInput"),z=(0,o.up)("a-modal");return(0,o.wg)(),(0,o.iD)("div",l,[(0,o._)("header",d,[(0,o._)("div",c,[p,(0,o._)("div",u,[e.isTest?((0,o.wg)(),(0,o.iD)("div",m,[h,(0,o.Uk)(" "+(0,n.zw)(e.$t("Header.hello"))+"@"+(0,n.zw)(e.$t("isTest.userName")),1)])):((0,o.wg)(),(0,o.iD)("div",v,[w,(0,o.Uk)(" "+(0,n.zw)(e.$t("Header.hello"))+"@"+(0,n.zw)(e.userInfo?.userName),1)])),(0,o._)("div",{class:(0,n.C_)(["icon","iconfont","icon-xiala",e.isShowOperate?"icon_rotate":""]),onClick:t[0]||(t[0]=(0,s.iM)((t=>e.changeShowOperateContent()),["stop"]))},null,2)]),(0,o._)("div",g,[(0,o._)("span",_,(0,n.zw)(e.$t("Header.language")),1),(0,o._)("div",{class:(0,n.C_)(["icon","iconfont","icon-xiala",e.isLanguage?"icon_rotate":""]),onClick:t[1]||(t[1]=(0,s.iM)((t=>e.changeLanguage()),["stop"]))},null,2)]),83==e.userInfo.userId?((0,o.wg)(),(0,o.iD)("div",{key:0,class:"trialApproval button_second",onClick:t[2]||(t[2]=t=>e.turnToPage("trialApproval"))}," Trial Approval ")):(0,o.kq)("",!0)]),(0,o._)("nav",y,[(0,o._)("div",{class:(0,n.C_)(["nav_item","home"===e.$route.name?"select_nav":""]),onClick:t[3]||(t[3]=t=>e.turnToPage("home"))},(0,n.zw)(e.$t("Header.HOME")),3),(0,o._)("div",{class:(0,n.C_)(["nav_item","library"===e.$route.name?"select_nav":""]),onClick:t[4]||(t[4]=t=>e.turnToPage("library"))},(0,n.zw)(e.$t("Header.LIBRARY")),3),(0,o._)("div",{class:(0,n.C_)(["nav_item","history"===e.$route.name?"select_nav":""]),onClick:t[5]||(t[5]=t=>e.turnToPage("history"))},(0,n.zw)(e.$t("Header.HISTORY")),3)]),(0,o._)("div",k,[(0,o._)("img",{class:"header_logo",onClick:t[6]||(t[6]=t=>e.turnToNewPage("https://www.aidlab.hk/en/")),src:r}),(0,o.Wm)(U)])]),(0,o.wy)((0,o._)("nav",f,[(0,o._)("div",{class:"select_item",onClick:t[7]||(t[7]=t=>e.logout())},[b,(0,o._)("span",x,(0,n.zw)(e.$t("Header.logOff")),1)])],512),[[s.F8,e.isShowOperate]]),(0,o.wy)((0,o._)("ul",I,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.language,(t=>((0,o.wg)(),(0,o.iD)("li",{class:"select_item",onClick:i=>e.setLocale(t.value)},[(0,o._)("span",T,(0,n.zw)(t.name),1)],8,C)))),256))],512),[[s.F8,e.isLanguage]]),(0,o.Wm)(z,{class:"modal_component",visible:e.bindEmailVisible,"onUpdate:visible":t[14]||(t[14]=t=>e.bindEmailVisible=t),footer:null,title:"Mailbox binding",width:"56rem",maskClosable:!1,keyboard:!1,centered:!0},(0,o.Nv)({default:(0,o.w5)((()=>[e.isHaveBindEmail?((0,o.wg)(),(0,o.iD)("div",L,[(0,o._)("div",E,(0,n.zw)(e.$t("Header.emailContent")),1),(0,o._)("div",D,(0,n.zw)(e.userInfo.email),1)])):((0,o.wg)(),(0,o.iD)("div",H,[(0,o.wy)((0,o._)("div",null,[(0,o._)("div",N,[(0,o._)("div",P,(0,n.zw)(e.$t("Header.Email")),1),(0,o.wy)((0,o._)("input",{class:"bind_email_form_input",placeholder:"Enter a new email","onUpdate:modelValue":t[8]||(t[8]=t=>e.email=t),onKeydown:t[9]||(t[9]=(0,s.D2)((t=>e.emailNextStepFun()),["enter"]))},null,544),[[s.nr,e.email]])]),(0,o._)("div",{class:"bind_email_submit_button",onClick:t[10]||(t[10]=t=>e.emailNextStepFun())},(0,n.zw)(e.$t("Header.NextStep")),1)],512),[[s.F8,1===e.bindEmailStep]]),(0,o.wy)((0,o._)("div",null,[(0,o._)("div",{onClick:t[11]||(t[11]=t=>e.emailLastStepFun())},[$,(0,o._)("span",W,(0,n.zw)(e.$t("Header.verification")),1)]),(0,o._)("div",B,[(0,o._)("div",M,(0,n.zw)(e.$t("Header.SentTo"))+" "+(0,n.zw)(e.email),1),(0,o._)("div",O,[(0,o.wy)((0,o._)("span",null,(0,n.zw)(e.time)+"s",513),[[s.F8,e.time]]),(0,o.wy)((0,o._)("span",{onClick:t[12]||(t[12]=t=>e.emailNextStepFun())},(0,n.zw)(e.$t("Header.Resend"))+"Resend",513),[[s.F8,!e.time]])])]),(0,o.Wm)(q,{ct:e.emailCode,onSendCaptcha:t[13]||(t[13]=t=>e.submitBindEmail(t))},null,8,["ct"])],512),[[s.F8,2===e.bindEmailStep]])]))])),_:2},[e.isHaveBindEmail||1!==e.bindEmailStep?void 0:{name:"closeIcon",fn:(0,o.w5)((()=>[(0,o._)("div",S,(0,n.zw)(e.$t("Header.skip")),1)]))}]),1032,["visible"])])}var A=i(2262),U=i(7332),q=i(2339),z=i(9632);const V=e=>((0,o.dD)("data-v-b43da8b0"),e=e(),(0,o.Cn)(),e),R={class:"habit"},F={class:"habit_mask"},Y=V((()=>(0,o._)("i",{class:"fi fi-bs-angle-down"},null,-1))),Z={class:"habit_title"},j={class:"habit_intro"},J={class:"habit_type",trigger:"['click']"},K={class:"habit_model_show habit_workspace_show"},X={class:"habit_model_list"},Q=["onClick"],ee=["onClick"],te=["onClick"],ie=["onClick"],oe={class:"habit_model_show habit_sex_show"},ne={class:"habit_model_list"},se=["onClick"],re={class:"habit_Overal_Single"},ae={class:"habit_habit_singleton"},le={class:"habit_model_show habit_singleton_show"},de={class:"habit_model_list"},ce=["onClick"],pe={class:"habit_System_Designer"},ue={class:"habit_System_Designer_text_max"},me={class:"habit_System_Designer_text"},he={class:"habit_System_Designer_text"},ve={class:"habit_btn"},we={class:"model_current"},ge={class:"model_text"},_e={class:"model_img"},ye=["src"],ke={class:"model_Designer"},fe={class:"model_text"},be={class:"model_img"},xe={class:"model_img_item"},Ie=["src","onClick"],Ce={class:"model_img"},Te={class:"model_img_item"},Se=["src","onClick"];function Le(e,t,i,r,a,l){const d=(0,o.up)("UserOutlined"),c=(0,o.up)("DownOutlined"),p=(0,o.up)("a-button"),u=(0,o.up)("a-dropdown"),m=(0,o.up)("a-switch"),h=(0,o.up)("a-slider"),v=(0,o.Q2)("fade"),w=(0,o.Q2)("mousewheel");return(0,o.wg)(),(0,o.iD)("div",R,[(0,o.wy)((0,o._)("div",F,null,512),[[s.F8,e.openType.habit]]),(0,o._)("div",{class:"habit_button Guide_1_27",onClick:t[0]||(t[0]=(0,s.iM)((t=>e.setOpenType("habit")),["stop"]))},[(0,o.Uk)((0,n.zw)(e.$t("Habit.Workspace"))+" ",1),Y]),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",{class:(0,n.C_)(["habit_content Guide_1_28",[e.driver__.driver?"showEvents":""]])},[(0,o._)("div",Z,[(0,o._)("h3",null,(0,n.zw)(e.$t("Habit.WorkspaceSetting")),1),(0,o._)("div",j,(0,n.zw)(e.$t("Habit.settingWorkspace")),1)]),(0,o._)("div",J,[(0,o.Wm)(u,{placement:"bottomRight",onClick:t[1]||(t[1]=(0,s.iM)((t=>e.setOpenType("workspace")),["stop"]))},{default:(0,o.w5)((()=>[(0,o.Wm)(p,null,{default:(0,o.w5)((()=>[(0,o.Wm)(d),(0,o.Uk)(" "+(0,n.zw)(e.workspaceItem.workSpaceName)+" ",1),(0,o.Wm)(c)])),_:1})])),_:1}),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",K,[(0,o._)("ul",X,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.workspace.workspaceList,((i,r)=>((0,o.wg)(),(0,o.iD)("li",null,[(0,o.wy)((0,o._)("div",{onClick:(0,s.iM)((t=>e.setWorkspace(i.id)),["stop"])},(0,n.zw)(i.workSpaceName),9,Q),[[s.F8,!i.putName]]),(0,o.wy)((0,o._)("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=t=>e.workspaceItemName=t)},null,512),[[s.F8,i.putName],[s.nr,e.workspaceItemName]]),(0,o.wy)((0,o._)("i",{onClick:(0,s.iM)((t=>e.putName(r,"put")),["stop"]),class:"fi fi-rr-edit"},null,8,ee),[[s.F8,!i.putName]]),(0,o.wy)((0,o._)("i",{onClick:(0,s.iM)((t=>e.putName(r,"affirm")),["stop"]),class:"fi fi-br-check"},null,8,te),[[s.F8,i.putName]]),(0,o._)("i",{onClick:(0,s.iM)((t=>e.putName(r,"delete")),["stop"]),class:"fi fi-rr-trash"},null,8,ie)])))),256)),(0,o._)("li",{onClick:t[5]||(t[5]=(...t)=>e.newWorkspace&&e.newWorkspace(...t)),class:"newWorkspace"},[(0,o.wy)((0,o._)("input",{type:"text","onUpdate:modelValue":t[3]||(t[3]=t=>e.workspaceItemName=t)},null,512),[[s.F8,e.openType.addWorkspace],[s.nr,e.workspaceItemName]]),(0,o.wy)((0,o._)("i",{onClick:t[4]||(t[4]=(0,s.iM)((t=>e.putName(-1,"affirm")),["stop"])),class:"fi fi-br-check"},null,512),[[s.F8,e.openType.addWorkspace]]),(0,o.wy)((0,o._)("div",null,"+",512),[[s.F8,!e.openType.addWorkspace]])])])])),[[v,e.openType.workspace]])]),(0,o._)("div",{class:(0,n.C_)(["habit_Overal_Single",[2==e.driver__.index&&e.driver__.driver?"Guide_active":""]])},[(0,o.Wm)(u,{onClick:t[6]||(t[6]=(0,s.iM)((t=>e.setOpenType("sex")),["stop"]))},{default:(0,o.w5)((()=>[(0,o.Wm)(p,null,{default:(0,o.w5)((()=>[(0,o.Wm)(d),(0,o.Uk)(" "+(0,n.zw)(e.workspaceItem?.sexEnum?.value),1),(0,o.Wm)(c)])),_:1})])),_:1}),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",oe,[(0,o._)("ul",ne,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.sex,((t,i)=>((0,o.wg)(),(0,o.iD)("li",null,[(0,o._)("div",{onClick:(0,s.iM)((i=>e.setSex(t)),["stop"])},(0,n.zw)(t.value),9,se)])))),256))])])),[[v,e.openType.sex]])],2),(0,o._)("div",re,[(0,o._)("div",{class:(0,n.C_)(["habit_Overal_Single_text",{active:!e.workspaceItem.overallSingle}])},(0,n.zw)(e.$t("Habit.Overall")),3),(0,o.Wm)(m,{onClick:e.setOverallSingle,checked:e.workspaceItem.overallSingle,"onUpdate:checked":t[7]||(t[7]=t=>e.workspaceItem.overallSingle=t)},null,8,["onClick","checked"]),(0,o._)("div",{class:(0,n.C_)(["habit_Overal_Single_text",{active:e.workspaceItem.overallSingle}])},(0,n.zw)(e.$t("Habit.Single")),3)]),(0,o.wy)((0,o._)("div",ae,[(0,o.Wm)(u,{onClick:t[8]||(t[8]=(0,s.iM)((t=>e.setOpenType("singleton")),["stop"]))},{default:(0,o.w5)((()=>[(0,o.Wm)(p,null,{default:(0,o.w5)((()=>[(0,o.Wm)(d),(0,o.Uk)(" "+(0,n.zw)(e.workspaceItem?.positionEnum?.value)+" ",1),(0,o.Wm)(c)])),_:1})])),_:1}),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",le,[(0,o._)("ul",de,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.singleTypeList,((t,i)=>((0,o.wg)(),(0,o.iD)("li",null,[(0,o._)("div",{onClick:(0,s.iM)((i=>e.setSingle(t)),["stop"])},(0,n.zw)(t.value),9,ce)])))),256))])])),[[v,e.openType.singleton]])],512),[[s.F8,e.workspaceItem.overallSingle]]),(0,o._)("div",pe,[(0,o.Wm)(h,{id:"system_silder",value:e.workspaceItem.systemDesignerPercentage,"onUpdate:value":t[9]||(t[9]=t=>e.workspaceItem.systemDesignerPercentage=t),onAfterChange:e.systemDesigner,"tip-formatter":e.formatter},null,8,["value","onAfterChange","tip-formatter"]),(0,o._)("div",ue,[(0,o._)("div",me,(0,n.zw)(e.$t("Habit.System")),1),(0,o._)("div",he,(0,n.zw)(e.$t("Habit.Designer")),1)])]),(0,o._)("div",{class:(0,n.C_)(["habit_model",[3==e.driver__.index&&e.driver__.driver?"Guide_active":""]])},[(0,o.Wm)(u,{placement:"bottomRight",trigger:"['click']",onClick:t[10]||(t[10]=(0,s.iM)((t=>e.setOpenType("model")),["stop"]))},{default:(0,o.w5)((()=>[(0,o.Wm)(p,null,{default:(0,o.w5)((()=>[(0,o.Wm)(d),(0,o.Uk)(" "+(0,n.zw)(e.$t("Habit.Mannequin"))+" ",1),(0,o.Wm)(c)])),_:1})])),_:1})],2),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",{id:"modelShow",class:(0,n.C_)(["habit_model_show Guide_1_29",[e.driver__.driver?"showEvents":""]])},[(0,o._)("div",ve,[(0,o._)("div",we,[(0,o._)("div",ge,(0,n.zw)(e.$t("Habit.Current")),1),(0,o._)("div",_e,[(0,o._)("img",{src:e.workspaceItem.mannequinUrl,alt:""},null,8,ye)])]),(0,o._)("div",ke,[(0,o._)("div",fe,[(0,o._)("div",{class:(0,n.C_)(["habit_System_Seleves_text",{active:!e.systemSeleves}])},(0,n.zw)(e.$t("Habit.System")),3),(0,o.Wm)(m,{disabled:null==e.mannequins?.[0],checked:e.systemSeleves,"onUpdate:checked":t[11]||(t[11]=t=>e.systemSeleves=t)},null,8,["disabled","checked"]),(0,o._)("div",{class:(0,n.C_)(["habit_System_Seleves_text",{active:e.systemSeleves}])},(0,n.zw)(e.$t("Habit.User")),3)]),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",be,[(0,o._)("div",xe,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.mannequins?.[0]?.modelList,((t,i)=>((0,o.wg)(),(0,o.iD)("div",{key:t.id},[(0,o._)("img",{src:t?.presignedUrl,alt:"",onClick:i=>e.setMannequins(t,"Library")},null,8,Ie)])))),128))])])),[[s.F8,e.systemSeleves],[w]]),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",Ce,[(0,o._)("div",Te,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.mannequins?.[1]?.modelList,((t,i)=>((0,o.wg)(),(0,o.iD)("div",{key:t.id},[(0,o._)("img",{src:t?.presignedUrl,alt:"",onClick:i=>e.setMannequins(t,"System")},null,8,Se)])))),128))])])),[[s.F8,!e.systemSeleves],[w]])])])],2)),[[v,e.openType.model]])],2)),[[v,e.openType.habit]])])}var Ee=i(3907),De=i(7849),He=i(4924),Ne=i(6214),Pe=i(327),$e=i(1446),We=i(8302),Be=i(4272),Me=i(8552),Oe=(0,o.aZ)({components:{DownOutlined:De.Z,UserOutlined:He.Z},setup(){const e=(0,Ee.oR)();let t=(0,A.iH)({id:"",id_:1,workSpaceName:"工作台1",putName:!1,systemDesignerPercentage:30,position:"",sex:"",overallSingle:!1,mannequinUrl:"",mannequinType:"",mannequinId:""}),i=(0,A.iH)([{},{}]),n=(0,A.iH)(!1),s=(0,A.iH)({workspace:!1,singleton:!1,habit:!1,model:!1,addWorkspace:!1,sex:!1}),r=(0,o.Fl)((()=>e.state.Guide.guide)),a=(0,A.iH)({}),l=(0,A.iH)(""),d=(0,A.iH)([]),c=(0,A.iH)([]);const{t:p}=(0,Me.QT)();return{systemSeleves:n,mannequins:i,openType:s,driver__:r,workspace:a,workspaceItem:t,workspaceItemName:l,singleTypeList:d,sex:c,t:p}},watch:{"openType.habit":{handler(e,t){if(!e){this.workspaceItem.overallSingle||(this.workspaceItem.position="Overall");let e=this.workspaceItem;delete e.isLastIndex,this.putWorkspace(e,""),this.openType.model=!1,this.store.commit("setWorkspace",this.workspaceItem)}}},driver__:{handler(e,t){e.index>=5&&(this.openType.habit=!1)}},"workspaceItem.id_":{handler(e,t){this.workspace.workspaceList.forEach((i=>{i.id==this.workspaceItem.id_&&(this.workspaceItem=i,this.workspaceItem.id_=i.id),i.id==t&&(delete i.isLastIndex,this.putWorkspace(i,e),this.getDetail(e))})),this.getMannequins()}},"openType.workspace":{handler(e,t){this.openType.addWorkspace=!1,this.workspace.workspaceList.forEach((e=>{e.putName=!1}))}},"workspaceItem.overallSingle":{handler(e,t){this.driver__.driver&&Be.RX.refresh()}},"openType.sex":{handler(e,t){this.driver__.driver&&t&&Be.RX.moveTo(3)}},workspaceItem:{handler(e,t){this.store.commit("setWorkspace",this.workspaceItem)}}},data(){return{store:(0,Ee.oR)()}},mounted(){this.getworkspace(),this.getSex()},directives:{fade:{mounted(e,t){e.addEventListener("click",(()=>{}))},updated(e,t){t.value?(e.style.display="block",setTimeout((()=>{e.classList.add("active")}),100)):(e.classList.remove("active"),setTimeout((()=>{e.style.display="none"}),100))}},mousewheel:{mounted(e){e.addEventListener("wheel",(t=>{let i=0;i=t.deltaY>0?25:-25,e.scrollBy(i,0)}))}}},methods:{async getSex(){await Ne.V.axiosGet(Ne.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{e&&(this.store.commit("setWorkspaceSex",e),this.sex=e)}))},async getPosition(e){let t;t="Female"==this.workspaceItem.sexEnum.name?"FemalePosition":"MalePosition",await Ne.V.axiosGet(Ne.V.httpUrls.workspaceenumValues,{params:{enumName:t}}).then((t=>{t&&(this.singleTypeList=t,this.store.commit("setWorkspacePosition",t),"sex"==e&&(this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]))}))},setPosition(){this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]},getworkspace(){let e={page:1,size:10};Ne.V.axiosPost(Ne.V.httpUrls.workspaceList,e).then((e=>{e&&(e.page.content.forEach((t=>{t.id_=t.id,"Overall"==t.position?t.overallSingle=!1:t.overallSingle=!0,t.putName=!1,t.id==(this.workspaceItem.id?this.workspaceItem.id:e.id)&&(this.workspaceItem=t,this.setMannequinsSex(),this.getPosition(""))})),this.workspace.id=e.id,this.workspace.workspaceList=e.page.content)}))},getDetail(e){Ne.V.axiosGet(Ne.V.httpUrls.workspaceDetail,{params:{id:e}}).then((e=>{}))},getMannequins(){Ne.V.axiosGet(Ne.V.httpUrls.getMannequins,{params:{sex:this.workspaceItem.sex}}).then((e=>{if(e){if("System"==e[0].type){let t=e[0];e[0]=e[1],e[1]=t}this.mannequins=e,null==this.mannequins?.[0]&&(this.systemSeleves=!1)}}))},putWorkspace(e,t){Ne.V.axiosPost(Ne.V.httpUrls.workspacesaveOrUpdate,e).then((e=>{e&&(t||this.getworkspace(),this.workspace.workspaceList[t].workSpaceName=this.workspaceItemName,this.workspace.workspaceList[t].putName=!1,this.openType.addWorkspace=!1)})).catch((e=>{this.getworkspace()}))},deleteWorkspace(e){Ne.V.axiosDelete(Ne.V.httpUrls.workspaceRemove,e).then((e=>{e&&this.getworkspace()}))},setOverallSingle(){this.workspaceItem.overallSingle?(this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]):this.workspaceItem.position="Overall"},cancelDsign(e){let t=this;Pe.Z.confirm({title:t.t("Habit.jsContent1"),icon:(0,o.Wm)(We.Z),okText:"Yes",cancelText:"No",mask:!1,wrapClassName:"habit",zIndex:999999999,centered:!0,onOk(){let i=[{id:t.workspace.workspaceList[e].id}];t.workspace.workspaceList[e].id;t.deleteWorkspace(i)}})},putName(e,t){if(this.workspace.workspaceList.forEach((e=>{e.putName=!1})),this.openType.addWorkspace=!1,"put"==t)this.workspaceItemName=this.workspace.workspaceList[e].workSpaceName,this.workspace.workspaceList[e].putName=!0;else if("delete"==t)this.cancelDsign(e);else if(""==this.workspaceItemName)$e.ZP.info(this.t("Habit.jsContent2"));else if(-1==e){let e={workSpaceName:this.workspaceItemName};this.putWorkspace(e,"")}else{let t;this.workspace.workspaceList.forEach((i=>{this.workspace.workspaceList[e].id==i.id&&(t=i)})),t.workSpaceName=this.workspaceItemName,this.putWorkspace(t,"")}},systemDesigner(e){this.workspaceItem.systemDesignerPercentage=e},formatter(e){return`${e}%`},setWorkspace(e){this.openType.addWorkspace=!1,this.workspace.workspaceList.forEach((e=>{e.putName=!1})),this.workspaceItem.id_=e,this.openType.workspace=!1},newWorkspace(){this.workspaceItemName="",this.openType.addWorkspace=!0,this.workspace.workspaceList.forEach((e=>{e.putName=!1}))},setSex(e){this.workspaceItem.sexEnum=e,this.openType.sex=!1,this.workspaceItem.sex=e.name,this.getMannequins(),this.setMannequinsSex(),this.getPosition("sex")},setSingle(e){this.openType.singleton=!1,this.workspaceItem.position=e.name,this.workspaceItem.positionEnum=e},setMannequins(e,t){let i;"Female"==this.workspaceItem.sexEnum.name?(i=this.workspaceItem.mannequinFemaleId,this.workspaceItem.femalePresignedUrl=e.presignedUrl,this.workspaceItem.mannequinFemaleType=t,this.workspaceItem.mannequinFemaleId=e.id):"Male"==this.workspaceItem.sexEnum.name&&(i=this.workspaceItem.mannequinMaleId,this.workspaceItem.malePresignedUrl=e.presignedUrl,this.workspaceItem.mannequinMaleType=t,this.workspaceItem.mannequinMaleId=e.id),this.driver__.driver&&(0,o.Y3)().then((()=>{Be.RX.moveNext(),this.openType.model=!1})),this.workspaceItem.mannequinUrl=e.presignedUrl,this.workspaceItem.mannequinType=t,this.workspaceItem.mannequinId=e.id},setMannequinsSex(){"Female"==this.workspaceItem.sexEnum.name?(this.workspaceItem.mannequinUrl=this.workspaceItem.femalePresignedUrl,this.workspaceItem.mannequinType=this.workspaceItem.mannequinFemaleType,this.workspaceItem.mannequinId=this.workspaceItem.mannequinFemaleId):"Male"==this.workspaceItem.sexEnum.name&&(this.workspaceItem.mannequinUrl=this.workspaceItem.malePresignedUrl,this.workspaceItem.mannequinType=this.workspaceItem.mannequinMaleType,this.workspaceItem.mannequinId=this.workspaceItem.mannequinMaleId)},setOpenType(e){"habit"==e?(this.openType.habit=!this.openType.habit,this.driver__.driver&&(0,o.Y3)().then((()=>{Be.RX.moveNext()}))):"workspace"==e?(this.openType.singleton=!1,this.openType.sex=!1,this.openType.workspace=!this.openType.workspace):"model"==e?(this.openType.singleton=!1,this.openType.workspace=!1,this.openType.sex=!1,this.openType.model=!this.openType.model,this.getMannequins(),this.driver__.driver&&this.openType.model&&(0,o.Y3)().then((()=>{Be.RX.moveTo(4)}))):"singleton"==e?(this.openType.singleton=!this.openType.singleton,this.openType.workspace=!1,this.openType.sex=!1):"sex"==e&&(this.openType.sex=!this.openType.sex,this.openType.workspace=!1,this.openType.singleton=!1);let t=document.getElementsByClassName("habit_mask")[0];t.addEventListener("click",this.documentClick,!0)},documentClick(){let e=document.getElementsByClassName("habit_mask")[0];e.removeEventListener("click",this.documentClick),this.openType.habit=!1,this.openType.workspace=!1,this.openType.model=!1,this.openType.singleton=!1,this.openType.sex=!1}}}),Ge=i(3744);const Ae=(0,Ge.Z)(Oe,[["render",Le],["__scopeId","data-v-b43da8b0"]]);var Ue=Ae,qe=(0,o.aZ)({components:{VerificationCodeInput:z.Z,Habit:Ue},setup(){const e=(0,Ee.oR)(),{t:t}=(0,Me.QT)(),{locale:i}=(0,Me.QT)();let o=(0,A.iH)();return{store:e,t:t,locale:i,isTest:o}},data(){return{isShowOperate:!1,bindEmailVisible:!1,isHaveBindEmail:!1,bindEmailStep:1,email:"",emailCode:["","","","","",""],time:60,timer:0,userInfo:{},timerOperate:null,numTime:30,timerSec:null,modalWarning:null,isLanguage:!1,language:[{name:"English",value:"ENGLISH"},{name:"中文",value:"CHINESE_SIMPLIFIED"},{name:"한국인",value:"KOREAN"},{name:"にほんご",value:"JAPANESE"},{name:"Русский",value:"RUSSIAN"},{name:"Français",value:"FRENCH"},{name:"แบบไทย",value:"THAI"},{name:"Tiếng Việt",value:"VIETNAMESE"},{name:"Italiano",value:"ITALIAN"}]}},mounted(){let e=(0,q.ej)("isTest");this.isTest=JSON.parse(e)||"",this.userInfo=JSON.parse((0,q.ej)("userInfo")),this.userInfo?this.accountIsLogin(this.userInfo):this.$router.replace("/login"),this.isHaveBindEmail=!!this.userInfo?.email,this.operateClick(),document.addEventListener("click",this.operateClick),this.getLang("")},methods:{turnToNewPage(e){window.open(e)},turnToPage(e){let t="home"===e;this.$router.push({name:e,params:{noRefresh:t}})},changeShowOperateContent(){this.isShowOperate=!this.isShowOperate,document.addEventListener("click",this.closeShowOperateContent,!1)},changeLanguage(){this.isLanguage=!this.isLanguage,document.addEventListener("click",this.closeShowOperateContent,!1)},closeShowOperateContent(){this.isShowOperate=!1,this.isLanguage=!1,document.removeEventListener("click",this.closeShowOperateContent)},showBindEmailModal(){this.bindEmailVisible=!0},emailNextStepFun(){if(!(0,U.Jh)(this.email))return void $e.ZP.info(this.t("Header.jsContent1"));let e={email:this.email,operationType:"BIND_MAILBOX"};const t=$e.ZP.loading("loading",0);Ne.V.axiosPost(Ne.V.httpUrls.accountSendEmail,e).then((e=>{e&&(this.bindEmailStep=2,this.emailCode=["","","","","",""],this.createTimer(),t(),$e.ZP.success(this.t("Header.jsContent2")))})).catch((e=>{t()}))},emailLastStepFun(){this.bindEmailStep=1,this.email="",this.emailCode=["","","","","",""],this.clearTimer()},createTimer(){this.timer=setInterval((()=>{this.time--,this.time||clearInterval(this.timer)}),1e3)},clearTimer(){this.time=60,this.timer&&clearInterval(this.timer)},async logout(){let e={userId:this.userInfo.userId},t=(0,q.ej)("isTest");JSON.parse(t)?Ne.V.axiosGet(Ne.V.httpUrls.trialUserLogout).then((t=>{Ne.V.axiosPost(Ne.V.httpUrls.accountLogout,e).then((e=>{this.$router.replace("/login"),(0,q.$m)("token")}))})):Ne.V.axiosPost(Ne.V.httpUrls.accountLogout,e).then((e=>{this.$router.replace("/login"),(0,q.$m)("token")}))},submitBindEmail(e){let t={userEmail:this.email,userId:this.userInfo.userId,emailVerifyCode:e};Ne.V.axiosPost(Ne.V.httpUrls.accountBindEmail,t).then((e=>{e&&(this.userInfo.email=this.email,(0,q.d8)("userInfo",JSON.stringify(this.userInfo)),this.bindEmailVisible=!1,this.bindEmailStep=1,this.clearTimer(),this.emailCode=["","","","","",""])}))},accountIsLogin(e){let t={userId:e.userId};Ne.V.axiosPost(Ne.V.httpUrls.accountIsLogin,t).then((e=>{e||this.$router.replace("/login")}))},operateClick(){this.timer&&clearTimeout(this.timer);let e=this,t=72e5;this.timer=setTimeout((()=>{this.modalWarning=Pe.Z.warning({title:()=>this.t("Header.jsContent3",{numTime:e.numTime}),icon:(0,o.Wm)(We.Z),okText:"Ok",centered:!0,onOk(){e.numTime=30,clearInterval(e.timerSec)}}),e.numCounter()}),t)},numCounter(){this.timerSec=setInterval((()=>{this.numTime>0?this.numTime=this.numTime-1:(clearTimeout(this.timer),clearInterval(this.timerSec),this.logout(),this.modalWarning.destroy())}),1e3)},getLang(e){let t;Ne.V.axiosPost(Ne.V.httpUrls.getUserLanguage,t).then((e=>{e&&(this.locale=e)}))},setLang(e){Ne.V.axiosGet(Ne.V.httpUrls.changeUserLanguage,{params:{language:e}}).then((e=>{if(e&&e){let t=e;(0,q.d8)("token",t),this.getLang(""),this.store.commit("clearAllData"),window.location.reload()}}))},setLocale(e){this.setLang(e)}}});const ze=(0,Ge.Z)(qe,[["render",G],["__scopeId","data-v-574f1158"]]);var Ve=ze},7729:function(e,t,i){i.d(t,{Z:function(){return q}});var o=i(6252),n=i(3577),s=i(9963),r=i.p+"img/robot.6fd62bbc.png";const a=e=>((0,o.dD)("data-v-7293e3bd"),e=e(),(0,o.Cn)(),e),l={class:"robot_top",ref:"robotDom"},d={class:"robot_text"},c={key:0},p=["href"],u=a((()=>(0,o._)("i",{class:"fi fi-br-link-alt"},null,-1))),m=[u],h={key:1,class:"driver__"},v={key:2,class:"driver__btn"},w=["onClick"],g=["onClick"],_={class:"robot_img_item"},y=["src"],k={class:"delete_like_file_block"},f=["onClick"],b=["onClick"],x={class:"robot_content"},I={class:"robot_bottom"},C={class:"robot_input"},T=["placeholder"],S={class:"robot_btn"},L={class:"robot_img"};function E(e,t,i,a,u,E){const D=(0,o.Q2)("fade");return(0,o.wg)(),(0,o.iD)("div",{class:(0,n.C_)(["robot Guide_1_1_1",[e.driver__.driver?"showEvents":""]]),onMousemove:t[5]||(t[5]=(...t)=>e.robotmax&&e.robotmax(...t))},[(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",l,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.record,((t,i)=>((0,o.wg)(),(0,o.iD)("div",{class:(0,n.C_)([1==t.state?"text_right":"text_left",t.img?"white":""]),ref_for:!0,ref:"robotChildDom"},[(0,o._)("div",d,[e.driver__.driver?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("span",c,[(0,o.Uk)((0,n.zw)(t.str)+" ",1),t.src?((0,o.wg)(),(0,o.iD)("a",{key:0,href:t.src,target:"_blank"},m,8,p)):(0,o.kq)("",!0)])),e.driver__.driver?((0,o.wg)(),(0,o.iD)("span",h,(0,n.zw)(t.str),1)):(0,o.kq)("",!0),t.driver?((0,o.wg)(),(0,o.iD)("div",v,[(0,o._)("span",{onClick:t=>e.setDriver(i)}," Yes ",8,w),(0,o._)("span",{onClick:t=>e.removeDriver(i)}," No ",8,g)])):(0,o.kq)("",!0),(0,o._)("div",{class:(0,n.C_)(["robot_img",[t.img?"img":""]])},[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(t.img,((t,n)=>((0,o.wg)(),(0,o.iD)("div",_,[(0,o._)("img",{src:t.presignedUrl,alt:""},null,8,y),(0,o._)("div",k,[null==t.id?((0,o.wg)(),(0,o.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,s.iM)((o=>e.likeFile(t,n,i)),["stop"])},null,8,f)):((0,o.wg)(),(0,o.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,s.iM)((o=>e.likeFile(t,n,i)),["stop"])},null,8,b))])])))),256))],2)])],2)))),256))])),[[D,e.robotTop,"block"]]),(0,o._)("div",x,[(0,o._)("div",{style:(0,n.j5)("width:"+e.bloodBars+"%;")},null,4)]),(0,o._)("div",I,[(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",C,[(0,o.wy)((0,o._)("input",{placeholder:e.$t("RobotAssist.inputContent1"),"onUpdate:modelValue":t[0]||(t[0]=t=>e.chatCentent=t),onKeydown:t[1]||(t[1]=(0,s.D2)((t=>e.roborSend()),["enter"])),onInput:t[2]||(t[2]=(...t)=>e.robotmax&&e.robotmax(...t))},null,40,T),[[s.nr,e.chatCentent]]),(0,o._)("div",S,[(0,o._)("i",{class:"fi fi-ss-paper-plane-top",onClick:t[3]||(t[3]=(...t)=>e.roborSend&&e.roborSend(...t))})])])),[[D,e.robotInput,"flex"]]),(0,o._)("div",L,[(0,o._)("img",{src:r,onClick:t[4]||(t[4]=(...t)=>e.robotBtn&&e.robotBtn(...t))})])])],34)}var D=i(2262),H=i(7849),N=i(4924),P=i(6214),$=i(2339),W=i(3907),B=i(1446),M=i(4272),O=i(8552),G=(0,o.aZ)({components:{DownOutlined:H.Z,UserOutlined:N.Z},setup(){const e=(0,D.iH)(null),t=(0,D.iH)(null);let i=(0,D.iH)("");const n=(0,D.iH)(!1),s=(0,D.iH)(!1);let r=0,a=0,l=(0,D.iH)([]);const d={};let c=(0,D.iH)(0),{t:p}=(0,O.QT)(),u=(0,D.iH)(),m=(0,W.oR)(),h=(0,D.iH)({}),v=(0,o.Fl)((()=>m.state.Guide.guide)),w=(0,D.iH)();return{robotTop:n,robotInput:s,chatCentent:i,record:l,robotDom:e,robotChildDom:t,timeTop:r,timeInput:a,userInfo:d,bloodBars:c,t:p,isTest:u,store:m,workspace:h,driver__:v,driver__Time:w}},data(){return{}},watch:{driver__:{handler:function(e){this.driver__.driver&&0==this.driver__.index?(this.robotTop=!0,this.robotInput=!0,M.RX.refresh(),this.record.push({state:1,str:"Welcome to AiDA. I am your friendly fashion design assistant. If you have any questions or need assistance, please don't hesitate to ask. ",driver:!1}),this.textScroll(),setTimeout((()=>{this.record.push({state:1,str:"I see you might be new here, and I'd love to guide you through a tutorial to help you get acquainted with our new and improved AiDA system. Would you like to start the tutorial now?",driver:!0}),this.textScroll()}),1e3),this.driver__Time=setInterval((()=>{this.$nextTick().then((()=>{M.RX.refresh()})),this.createTimer()}),3e3)):clearTimeout(this.driver__Time),e.driver||0==this.driver__.index||(this.record.push({state:1,str:"You can start the tutorial at any time by simply telling me that you want to. ",driver:!1}),clearTimeout(this.driver__Time))}}},mounted(){this.textScroll();let e=(0,$.ej)("userInfo"),t=(0,$.ej)("isTest");this.isTest=JSON.parse(t)||"",this.userInfo=JSON.parse(e),null==sessionStorage.getItem("record")?this.record=[]:this.record=JSON.parse(sessionStorage.getItem("record")),this.getBloodBars(),this.workspace=(0,o.Fl)((()=>this.store?.state?.Workspace?.workspace))},directives:{fade:{updated(e,t){t.value?(e.style.display=t.arg,setTimeout((()=>{e.classList.add("active")}),100)):(e.classList.remove("active"),setTimeout((()=>{e.style.display="none"}),100))}}},methods:{robotBtn(){this.robotTop&&this.robotInput?(this.robotTop=!1,this.robotInput=!1):(this.robotTop=!0,this.robotInput=!0),this.textScroll(),this.createTimer()},getBloodBars(){P.V.axiosGet(P.V.httpUrls.getBloodBars,{params:{userId:this?.userInfo?.userId}}).then((e=>{e&&(this.bloodBars=100*e)}))},textScroll(){this.$nextTick((()=>{if(this.robotDom&&this.robotChildDom){let e=0;for(let t=0;t{e&&(e.isTutorial?this.record.push({state:1,str:"We need to refresh the page before starting the tutorial. Would you like to start the tutorial now?",driver:!0}):null!=e.chatRobotLibraryList?this.record.push({state:1,img:e.chatRobotLibraryList}):this.record.push({state:1,str:e.output}),sessionStorage.setItem("record",JSON.stringify(this.record)),this.createTimer(),this.textScroll(),this.getBloodBars())})).catch((e=>{})),this.chatCentent=""},setDriver(e){this.driver__.driver?(M.RX.moveNext(),this.robotTop=!1,this.robotInput=!1):(window.location.reload(),(0,$.d8)("isBeginner",!0),(0,$.d8)("isBeginnerNum",1)),this.record[e].driver=!1,sessionStorage.setItem("record",JSON.stringify(this.record)),this.textScroll()},removeDriver(e){(0,M.g3)(),this.record[e].driver=!1,sessionStorage.setItem("record",JSON.stringify(this.record)),this.createTimer(),this.textScroll()},likeFile(e,t,i){let o={...e,userId:this.userInfo?.userId};P.V.axiosPost(P.V.httpUrls.pictureLikeOrUnLike,o).then((e=>{null==this.record[i].img[t].id?this.record[i].img[t].id=e.id:this.record[i].img[t].id=null,sessionStorage.setItem("record",JSON.stringify(this.record))})).catch((e=>{}))},createTimer(){(this.robotTop||this.robotInput)&&(this.clearTimer(),this.timeTop=setInterval((()=>{this.robotTop=!1}),15e3),this.timeInput=setInterval((()=>{this.robotInput=!1}),1e4))},clearTimer(){clearInterval(this.timeTop),clearInterval(this.timeInput)}}}),A=i(3744);const U=(0,A.Z)(G,[["render",E],["__scopeId","data-v-7293e3bd"]]);var q=U}}]); \ No newline at end of file diff --git a/dist/js/451.d58b7ed9.js b/dist/js/451.d58b7ed9.js deleted file mode 100644 index 6c32a317..00000000 --- a/dist/js/451.d58b7ed9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[451],{4924:function(e,t,i){i.d(t,{Z:function(){return c}});var o=i(6252),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},s=n,r=i(2130);function a(e){for(var t=1;t{const i=e.matches(t),o=Array.from(e.querySelectorAll(t));return[...i?[e]:[],...o]})).filter((e=>"none"!==getComputedStyle(e).pointerEvents&&u(e)))}function d(e){if(!e||p(e))return;const t=r("smoothScroll");e.scrollIntoView({behavior:!t||c(e)?"auto":"smooth",inline:"center",block:"center"})}function c(e){if(!e||!e.parentElement)return;const t=e.parentElement;return t.scrollHeight>t.clientHeight}function p(e){const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function u(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}let m={};function h(e,t){m[e]=t}function v(e){return e?m[e]:m}function w(){m={}}let g={};function _(e,t){g[e]=t}function y(e){var t;null==(t=g[e])||t.call(g)}function k(){g={}}function f(e,t,i,o){let n=v("__activeStagePosition");const s=n||i.getBoundingClientRect(),r=o.getBoundingClientRect(),l=a(e,s.x,r.x-s.x,t),d=a(e,s.y,r.y-s.y,t),c=a(e,s.width,r.width-s.width,t),p=a(e,s.height,r.height-s.height,t);n={x:l,y:d,width:c,height:p},C(n),h("__activeStagePosition",n)}function b(e){if(!e)return;const t=e.getBoundingClientRect(),i={x:t.x,y:t.y,width:t.width,height:t.height};h("__activeStagePosition",i),C(i)}function x(){const e=v("__activeStagePosition"),t=v("__overlaySvg");if(!e)return;if(!t)return void console.warn("No stage svg found.");const i=window.innerWidth,o=window.innerHeight;t.setAttribute("viewBox",`0 0 ${i} ${o}`)}function I(e){const t=T(e);document.body.appendChild(t),M(t,(e=>{"path"===e.target.tagName&&y("overlayClick")})),h("__overlaySvg",t)}function C(e){const t=v("__overlaySvg");if(!t)return void I(e);const i=t.firstElementChild;if("path"!==(null==i?void 0:i.tagName))throw new Error("no path element found in stage svg");i.setAttribute("d",S(e))}function T(e){const t=window.innerWidth,i=window.innerHeight,o=document.createElementNS("http://www.w3.org/2000/svg","svg");o.classList.add("driver-overlay","driver-overlay-animated"),o.setAttribute("viewBox",`0 0 ${t} ${i}`),o.setAttribute("xmlSpace","preserve"),o.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),o.setAttribute("version","1.1"),o.setAttribute("preserveAspectRatio","xMinYMin slice"),o.style.fillRule="evenodd",o.style.clipRule="evenodd",o.style.strokeLinejoin="round",o.style.strokeMiterlimit="2",o.style.zIndex="10000",o.style.position="fixed",o.style.top="0",o.style.left="0",o.style.width="100%",o.style.height="100%";const n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",S(e)),n.style.fill=r("overlayColor")||"rgb(0,0,0)",n.style.opacity=`${r("overlayOpacity")}`,n.style.pointerEvents="auto",n.style.cursor="auto",o.appendChild(n),o}function S(e){const t=window.innerWidth,i=window.innerHeight,o=r("stagePadding")||0,n=r("stageRadius")||0,s=e.width+2*o,a=e.height+2*o,l=Math.min(n,s/2,a/2),d=Math.floor(Math.max(l,0)),c=e.x-o+d,p=e.y-o,u=s-2*d,m=a-2*d;return`M${t},0L0,0L0,${i}L${t},${i}L${t},0Z\n M${c},${p} h${u} a${d},${d} 0 0 1 ${d},${d} v${m} a${d},${d} 0 0 1 -${d},${d} h-${u} a${d},${d} 0 0 1 -${d},-${d} v-${m} a${d},${d} 0 0 1 ${d},-${d} z`}function L(){const e=v("__overlaySvg");e&&e.remove()}function E(){const e=document.getElementById("driver-dummy-element");if(e)return e;let t=document.createElement("div");return t.id="driver-dummy-element",t.style.width="0",t.style.height="0",t.style.pointerEvents="none",t.style.opacity="0",t.style.position="fixed",t.style.top="50%",t.style.left="50%",document.body.appendChild(t),t}function D(e){const{element:t}=e;let i="string"==typeof t?document.querySelector(t):t;i||(i=E()),N(i,e)}function H(){const e=v("__activeElement"),t=v("__activeStep");e&&(b(e),x(),R(e,t))}function N(e,t){const i=Date.now(),o=v("__activeStep"),n=v("__activeElement")||e,s=!n||n===e,a="driver-dummy-element"===e.id,l="driver-dummy-element"===n.id,c=r("animate"),p=t.onHighlightStarted||r("onHighlightStarted"),u=(null==t?void 0:t.onHighlighted)||r("onHighlighted"),m=(null==o?void 0:o.onDeselected)||r("onDeselected"),w=r(),g=v();!s&&m&&m(l?void 0:n,o,{config:w,state:g}),p&&p(a?void 0:e,t,{config:w,state:g});const _=!s&&c;let y=!1;A(),h("previousStep",o),h("previousElement",n),h("activeStep",t),h("activeElement",e);const k=()=>{if(v("__transitionCallback")!==k)return;const s=Date.now()-i,l=400-s<=200;t.popover&&l&&!y&&_&&(U(e,t),y=!0),r("animate")&&s<400?f(s,400,n,e):(b(e),u&&u(a?void 0:e,t,{config:r(),state:v()}),h("__transitionCallback",void 0),h("__previousStep",o),h("__previousElement",n),h("__activeStep",t),h("__activeElement",e)),window.requestAnimationFrame(k)};h("__transitionCallback",k),window.requestAnimationFrame(k),d(e),!_&&t.popover&&U(e,t),n.classList.remove("driver-active-element","driver-no-interaction"),n.removeAttribute("aria-haspopup"),n.removeAttribute("aria-expanded"),n.removeAttribute("aria-controls"),r("disableActiveInteraction")&&e.classList.add("driver-no-interaction"),e.classList.add("driver-active-element"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded","true"),e.setAttribute("aria-controls","driver-popover-content")}function P(){var e;null==(e=document.getElementById("driver-dummy-element"))||e.remove(),document.querySelectorAll(".driver-active-element").forEach((e=>{e.classList.remove("driver-active-element","driver-no-interaction"),e.removeAttribute("aria-haspopup"),e.removeAttribute("aria-expanded"),e.removeAttribute("aria-controls")}))}function $(){const e=v("__resizeTimeout");e&&window.cancelAnimationFrame(e),h("__resizeTimeout",window.requestAnimationFrame(H))}function W(e){var t;if(!v("isInitialized")||"Tab"!==e.key&&9!==e.keyCode)return;const i=v("__activeElement"),o=null==(t=v("popover"))?void 0:t.wrapper,n=l([...o?[o]:[],...i?[i]:[]]),s=n[0],r=n[n.length-1];if(e.preventDefault(),e.shiftKey){const e=n[n.indexOf(document.activeElement)-1]||r;null==e||e.focus()}else{const e=n[n.indexOf(document.activeElement)+1]||s;null==e||e.focus()}}function B(e){var t;(null==(t=r("allowKeyboardControl"))||t)&&("Escape"===e.key?y("escapePress"):"ArrowRight"===e.key?y("arrowRightPress"):"ArrowLeft"===e.key&&y("arrowLeftPress"))}function M(e,t,i){const o=(t,o)=>{const n=t.target;e.contains(n)&&((!i||i(n))&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()),null==o||o(t))};document.addEventListener("pointerdown",o,!0),document.addEventListener("mousedown",o,!0),document.addEventListener("pointerup",o,!0),document.addEventListener("mouseup",o,!0),document.addEventListener("click",(e=>{o(e,t)}),!0)}function O(){window.addEventListener("keyup",B,!1),window.addEventListener("keydown",W,!1),window.addEventListener("resize",$),window.addEventListener("scroll",$)}function G(){window.removeEventListener("keyup",B),window.removeEventListener("resize",$),window.removeEventListener("scroll",$)}function A(){const e=v("popover");e&&(e.wrapper.style.display="none")}function U(e,t){var i,o;let n=v("popover");n&&document.body.removeChild(n.wrapper),n=Y(),document.body.appendChild(n.wrapper);const{title:s,description:a,showButtons:c,disableButtons:p,showProgress:u,nextBtnText:m=r("nextBtnText")||"Next →",prevBtnText:w=r("prevBtnText")||"← Previous",progressText:g=r("progressText")||"{current} of {total}"}=t.popover||{};n.nextButton.innerHTML=m,n.previousButton.innerHTML=w,n.progress.innerHTML=g,s?(n.title.innerHTML=s,n.title.style.display="block"):n.title.style.display="none",a?(n.description.innerHTML=a,n.description.style.display="block"):n.description.style.display="none";const _=c||r("showButtons"),k=u||r("showProgress")||!1,f=(null==_?void 0:_.includes("next"))||(null==_?void 0:_.includes("previous"))||k;n.closeButton.style.display=_.includes("close")?"block":"none",f?(n.footer.style.display="flex",n.progress.style.display=k?"block":"none",n.nextButton.style.display=_.includes("next")?"block":"none",n.previousButton.style.display=_.includes("previous")?"block":"none"):n.footer.style.display="none";const b=p||r("disableButtons")||[];null!=b&&b.includes("next")&&(n.nextButton.disabled=!0,n.nextButton.classList.add("driver-popover-btn-disabled")),null!=b&&b.includes("previous")&&(n.previousButton.disabled=!0,n.previousButton.classList.add("driver-popover-btn-disabled")),null!=b&&b.includes("close")&&(n.closeButton.disabled=!0,n.closeButton.classList.add("driver-popover-btn-disabled"));const x=n.wrapper;x.style.display="block",x.style.left="",x.style.top="",x.style.bottom="",x.style.right="",x.id="driver-popover-content",x.setAttribute("role","dialog"),x.setAttribute("aria-labelledby","driver-popover-title"),x.setAttribute("aria-describedby","driver-popover-description");const I=n.arrow;I.className="driver-popover-arrow";const C=(null==(i=t.popover)?void 0:i.popoverClass)||r("popoverClass")||"";x.className=`driver-popover ${C}`.trim(),M(n.wrapper,(i=>{var o,n,s;const a=i.target,l=(null==(o=t.popover)?void 0:o.onNextClick)||r("onNextClick"),d=(null==(n=t.popover)?void 0:n.onPrevClick)||r("onPrevClick"),c=(null==(s=t.popover)?void 0:s.onCloseClick)||r("onCloseClick");return a.classList.contains("driver-popover-next-btn")?l?l(e,t,{config:r(),state:v()}):y("nextClick"):a.classList.contains("driver-popover-prev-btn")?d?d(e,t,{config:r(),state:v()}):y("prevClick"):a.classList.contains("driver-popover-close-btn")?c?c(e,t,{config:r(),state:v()}):y("closeClick"):void 0}),(e=>!(null!=n&&n.description.contains(e))&&!(null!=n&&n.title.contains(e))&&"string"==typeof e.className&&e.className.includes("driver-popover"))),h("popover",n);const T=(null==(o=t.popover)?void 0:o.onPopoverRender)||r("onPopoverRender");T&&T(n,{config:r(),state:v()}),R(e,t),d(x);const S=e.classList.contains("driver-dummy-element"),L=l([x,...S?[]:[e]]);L.length>0&&L[0].focus()}function q(){const e=v("popover");if(null==e||!e.wrapper)return;const t=e.wrapper.getBoundingClientRect(),i=r("stagePadding")||0,o=r("popoverOffset")||0;return{width:t.width+i+o,height:t.height+i+o,realWidth:t.width,realHeight:t.height}}function z(e,t){const{elementDimensions:i,popoverDimensions:o,popoverPadding:n,popoverArrowDimensions:s}=t;return"start"===e?Math.max(Math.min(i.top-n,window.innerHeight-o.realHeight-s.width),s.width):"end"===e?Math.max(Math.min(i.top-(null==o?void 0:o.realHeight)+i.height+n,window.innerHeight-(null==o?void 0:o.realHeight)-s.width),s.width):"center"===e?Math.max(Math.min(i.top+i.height/2-(null==o?void 0:o.realHeight)/2,window.innerHeight-(null==o?void 0:o.realHeight)-s.width),s.width):0}function V(e,t){const{elementDimensions:i,popoverDimensions:o,popoverPadding:n,popoverArrowDimensions:s}=t;return"start"===e?Math.max(Math.min(i.left-n,window.innerWidth-o.realWidth-s.width),s.width):"end"===e?Math.max(Math.min(i.left-(null==o?void 0:o.realWidth)+i.width+n,window.innerWidth-(null==o?void 0:o.realWidth)-s.width),s.width):"center"===e?Math.max(Math.min(i.left+i.width/2-(null==o?void 0:o.realWidth)/2,window.innerWidth-(null==o?void 0:o.realWidth)-s.width),s.width):0}function R(e,t){const i=v("popover");if(!i)return;const{align:o="start",side:n="left"}=(null==t?void 0:t.popover)||{},s=o,a="driver-dummy-element"===e.id?"over":n,l=r("stagePadding")||0,d=q(),c=i.arrow.getBoundingClientRect(),p=e.getBoundingClientRect(),u=p.top-d.height;let m=u>=0;const h=window.innerHeight-(p.bottom+d.height);let w=h>=0;const g=p.left-d.width;let _=g>=0;const y=window.innerWidth-(p.right+d.width);let k=y>=0;const f=!m&&!w&&!_&&!k;let b=a;if("top"===a&&m?k=_=w=!1:"bottom"===a&&w?k=_=m=!1:"left"===a&&_?k=m=w=!1:"right"===a&&k&&(_=m=w=!1),"over"===a){const e=window.innerWidth/2-d.realWidth/2,t=window.innerHeight/2-d.realHeight/2;i.wrapper.style.left=`${e}px`,i.wrapper.style.right="auto",i.wrapper.style.top=`${t}px`,i.wrapper.style.bottom="auto"}else if(f){const e=window.innerWidth/2-(null==d?void 0:d.realWidth)/2,t=10;i.wrapper.style.left=`${e}px`,i.wrapper.style.right="auto",i.wrapper.style.bottom=`${t}px`,i.wrapper.style.top="auto"}else if(_){const e=Math.min(g,window.innerWidth-(null==d?void 0:d.realWidth)-c.width),t=z(s,{elementDimensions:p,popoverDimensions:d,popoverPadding:l,popoverArrowDimensions:c});i.wrapper.style.left=`${e}px`,i.wrapper.style.top=`${t}px`,i.wrapper.style.bottom="auto",i.wrapper.style.right="auto",b="left"}else if(k){const e=Math.min(y,window.innerWidth-(null==d?void 0:d.realWidth)-c.width),t=z(s,{elementDimensions:p,popoverDimensions:d,popoverPadding:l,popoverArrowDimensions:c});i.wrapper.style.right=`${e}px`,i.wrapper.style.top=`${t}px`,i.wrapper.style.bottom="auto",i.wrapper.style.left="auto",b="right"}else if(m){const e=Math.min(u,window.innerHeight-d.realHeight-c.width);let t=V(s,{elementDimensions:p,popoverDimensions:d,popoverPadding:l,popoverArrowDimensions:c});i.wrapper.style.top=`${e}px`,i.wrapper.style.left=`${t}px`,i.wrapper.style.bottom="auto",i.wrapper.style.right="auto",b="top"}else if(w){const e=Math.min(h,window.innerHeight-(null==d?void 0:d.realHeight)-c.width);let t=V(s,{elementDimensions:p,popoverDimensions:d,popoverPadding:l,popoverArrowDimensions:c});i.wrapper.style.left=`${t}px`,i.wrapper.style.bottom=`${e}px`,i.wrapper.style.top="auto",i.wrapper.style.right="auto",b="bottom"}f?i.arrow.classList.add("driver-popover-arrow-none"):F(s,b,e)}function F(e,t,i){const o=v("popover");if(!o)return;const n=i.getBoundingClientRect(),s=q(),r=o.arrow,a=s.width,l=window.innerWidth,d=n.width,c=n.left,p=s.height,u=window.innerHeight,m=n.top,h=n.height;r.className="driver-popover-arrow";let w=t,g=e;"top"===t?(c+d<=0?(w="right",g="end"):c+d-a<=0&&(w="top",g="start"),c>=l?(w="left",g="end"):c+a>=l&&(w="top",g="end")):"bottom"===t?(c+d<=0?(w="right",g="start"):c+d-a<=0&&(w="bottom",g="start"),c>=l?(w="left",g="start"):c+a>=l&&(w="bottom",g="end")):"left"===t?(m+h<=0?(w="bottom",g="end"):m+h-p<=0&&(w="left",g="start"),m>=u?(w="top",g="end"):m+p>=u&&(w="left",g="end")):"right"===t&&(m+h<=0?(w="bottom",g="start"):m+h-p<=0&&(w="right",g="start"),m>=u?(w="top",g="start"):m+p>=u&&(w="right",g="end")),w?(r.classList.add(`driver-popover-arrow-side-${w}`),r.classList.add(`driver-popover-arrow-align-${g}`)):r.classList.add("driver-popover-arrow-none")}function Y(){const e=document.createElement("div");e.classList.add("driver-popover");const t=document.createElement("div");t.classList.add("driver-popover-arrow");const i=document.createElement("header");i.id="driver-popover-title",i.classList.add("driver-popover-title"),i.style.display="none",i.innerText="Popover Title";const o=document.createElement("div");o.id="driver-popover-description",o.classList.add("driver-popover-description"),o.style.display="none",o.innerText="Popover description is here";const n=document.createElement("button");n.type="button",n.classList.add("driver-popover-close-btn"),n.setAttribute("aria-label","Close"),n.innerHTML="×";const s=document.createElement("footer");s.classList.add("driver-popover-footer");const r=document.createElement("span");r.classList.add("driver-popover-progress-text"),r.innerText="";const a=document.createElement("span");a.classList.add("driver-popover-navigation-btns");const l=document.createElement("button");l.type="button",l.classList.add("driver-popover-prev-btn"),l.innerHTML="← Previous";const d=document.createElement("button");return d.type="button",d.classList.add("driver-popover-next-btn"),d.innerHTML="Next →",a.appendChild(l),a.appendChild(d),s.appendChild(r),s.appendChild(a),e.appendChild(n),e.appendChild(t),e.appendChild(i),e.appendChild(o),e.appendChild(s),{wrapper:e,arrow:t,title:i,description:o,footer:s,previousButton:l,nextButton:d,closeButton:n,footerButtons:a,progress:r}}function Z(){var e;const t=v("popover");t&&(null==(e=t.wrapper.parentElement)||e.removeChild(t.wrapper))}function j(e={}){function t(){r("allowClose")&&p()}function i(){const e=v("activeIndex"),t=r("steps")||[];if("undefined"==typeof e)return;const i=e+1;t[i]?c(i):p()}function o(){const e=v("activeIndex"),t=r("steps")||[];if("undefined"==typeof e)return;const i=e-1;t[i]?c(i):p()}function n(e){(r("steps")||[])[e]?c(e):p()}function a(){var e;if(v("__transitionCallback"))return;const t=v("activeIndex"),i=v("__activeStep"),n=v("__activeElement");if("undefined"==typeof t||"undefined"==typeof i||"undefined"==typeof v("activeIndex"))return;const s=(null==(e=i.popover)?void 0:e.onPrevClick)||r("onPrevClick");if(s)return s(n,i,{config:r(),state:v()});o()}function l(){var e;if(v("__transitionCallback"))return;const t=v("activeIndex"),o=v("__activeStep"),n=v("__activeElement");if("undefined"==typeof t||"undefined"==typeof o)return;const s=(null==(e=o.popover)?void 0:e.onNextClick)||r("onNextClick");if(s)return s(n,o,{config:r(),state:v()});i()}function d(){v("isInitialized")||(h("isInitialized",!0),document.body.classList.add("driver-active",r("animate")?"driver-fade":"driver-simple"),O(),_("overlayClick",t),_("escapePress",t),_("arrowLeftPress",a),_("arrowRightPress",l))}function c(e=0){var t,i,o,n,s,a,l,d;const u=r("steps");if(!u)return console.error("No steps to drive through"),void p();if(!u[e])return void p();h("__activeOnDestroyed",document.activeElement),h("activeIndex",e);const m=u[e],v=u[e+1],w=u[e-1],g=(null==(t=m.popover)?void 0:t.doneBtnText)||r("doneBtnText")||"Done",_=r("allowClose"),y="undefined"!=typeof(null==(i=m.popover)?void 0:i.showProgress)?null==(o=m.popover)?void 0:o.showProgress:r("showProgress"),k=((null==(n=m.popover)?void 0:n.progressText)||r("progressText")||"{{current}} of {{total}}").replace("{{current}}",`${e+1}`).replace("{{total}}",`${u.length}`),f=(null==(s=m.popover)?void 0:s.showButtons)||r("showButtons"),b=["next","previous",..._?["close"]:[]].filter((e=>!(null!=f&&f.length)||f.includes(e))),x=(null==(a=m.popover)?void 0:a.onNextClick)||r("onNextClick"),I=(null==(l=m.popover)?void 0:l.onPrevClick)||r("onPrevClick"),C=(null==(d=m.popover)?void 0:d.onCloseClick)||r("onCloseClick");D({...m,popover:{showButtons:b,nextBtnText:v?void 0:g,disableButtons:[...w?[]:["previous"]],showProgress:y,progressText:k,onNextClick:x||(()=>{v?c(e+1):p()}),onPrevClick:I||(()=>{c(e-1)}),onCloseClick:C||(()=>{p()}),...(null==m?void 0:m.popover)||{}}})}function p(e=!0){const t=v("__activeElement"),i=v("__activeStep"),o=v("__activeOnDestroyed"),n=r("onDestroyStarted");if(e&&n){const e=!t||"driver-dummy-element"===(null==t?void 0:t.id);return void n(e?void 0:t,i,{config:r(),state:v()})}const s=(null==i?void 0:i.onDeselected)||r("onDeselected"),a=r("onDestroyed");if(document.body.classList.remove("driver-active","driver-fade","driver-simple"),G(),Z(),P(),L(),k(),w(),t&&i){const e="driver-dummy-element"===t.id;s&&s(e?void 0:t,i,{config:r(),state:v()}),a&&a(e?void 0:t,i,{config:r(),state:v()})}o&&o.focus()}return s(e),{isActive:()=>v("isInitialized")||!1,refresh:$,drive:(e=0)=>{d(),c(e)},setConfig:s,setSteps:e=>{w(),s({...r(),steps:e})},getConfig:r,getState:v,getActiveIndex:()=>v("activeIndex"),isFirstStep:()=>0===v("activeIndex"),isLastStep:()=>{const e=r("steps")||[],t=v("activeIndex");return void 0!==t&&t===e.length-1},getActiveStep:()=>v("activeStep"),getActiveElement:()=>v("activeElement"),getPreviousElement:()=>v("previousElement"),getPreviousStep:()=>v("previousStep"),moveNext:i,movePrevious:o,moveTo:n,hasNextStep:()=>{const e=r("steps")||[],t=v("activeIndex");return void 0!==t&&e[t+1]},hasPreviousStep:()=>{const e=r("steps")||[],t=v("activeIndex");return void 0!==t&&e[t-1]},highlight:e=>{d(),D({...e,popover:e.popover?{showButtons:[],showProgress:!1,progressText:"",...e.popover}:void 0})},destroy:()=>{p(!1)}}}var J=i(2339),K=i(3907),X=i(6214);let Q,ee,te=0,ie={index:te,driver:!0};const oe=j({steps:[{element:".Guide_1_1_1",popover:{title:"Title",description:"Description"}},{element:".Guide_1_27",popover:{title:"",description:"You can personalize your design settings right here in the Workspace, including choosing to design for men's or women's wear, as well as selecting the mannequin to use for your creations."}},{element:".Guide_1_28",popover:{title:"",description:"Select the apparel type you'd like to work on.",side:"right"}},{element:".Guide_1_28",popover:{title:"",description:"Change the mannequin here.",side:"right",align:"end"}},{element:".Guide_1_29",popover:{title:"",description:"You can currently select a mannequin from our system library. Later, you can also choose from the user library after registering your own mannequin."}},{element:".Guide_1_1",popover:{title:"",description:"Begin your creative journey here. "}},{element:".Guide_1_1_2",popover:{title:"",description:"For the Moodboard, Printboard, or Sketchboard, we provide three different sourcing methods to add images. The first option is Upload, allowing you to upload directly from your local device.",side:"left",align:"start"}},{element:".Guide_1_1_2",popover:{title:"",description:"The second method is to select from your Library.
You might notice that your library page is currently empty; there's no need to worry. All the images you upload will be automatically added to your library. In the future, you won't have to upload each time—you can simply choose from your library instead."}},{element:".Guide_1_4",popover:{title:"",description:"The third method is to Generate images using the latest Image Generation technology."}},{element:".Guide_1_5",popover:{title:"",description:"Enter keywords that capture the mood you wish to express and then click the 'Generate' button."}},{element:".Guide_1_6",popover:{title:"",description:"Select two images for your moodboard."}},{element:".Guide_1_7",popover:{title:"",description:"Click here to layout your moodboard."}},{element:".Guide_1_8",popover:{title:"",description:"Click here for next step."}},{element:".Guide_1_2_1",popover:{title:"",description:"Click here to generate print images."}},{element:".Guide_1_2_2",popover:{title:"",description:"We provide three input options for generating images: Image Only, Text Only, and Text-Image."}},{element:".Guide_1_2_3",popover:{title:"",description:"Select this option and we will generate four print images using both the picture you upload and the text you enter."}},{element:".Guide_1_2_4",popover:{title:"",description:"Choose a generation model here; different models will generate images in various styles."}},{element:".Guide_1_2_5",popover:{title:"",description:"Choose a generation model here; different models will generate images in various styles."}},{element:".Guide_1_2_6",popover:{title:"",description:"Upload the input picture here."}},{element:".Guide_1_2_7",popover:{title:"",description:"Click on this image to select it."}},{element:".Guide_1_2_8",popover:{title:"",description:"Enter keywords about the print you wish to create and then click the 'Generate' button."}},{element:".Guide_1_2_9",popover:{title:"",description:"Select the generated prints you like best."}},{element:".Guide_1_8",popover:{title:"",description:"Click here for next step."}},{element:".Guide_1_10",popover:{title:"",description:"Click here to extract primary colors from image."}},{element:".Guide_1_11",popover:{title:"",description:"Select the color you want from these color blocks as the first color."}},{element:".Guide_1_11_1",popover:{title:"",description:"Click on this block to select the second color."}},{element:".Guide_1_11_2",popover:{title:"",description:"Choose the color you want from these color blocks."}},{element:".Guide_1_8",popover:{title:"",description:"Click here for next step."}},{element:".Guide_1_9",popover:{title:"",description:"Click here to generate clothing sketches."}},{element:".Guide_1_9_1",popover:{title:"",description:"Using text only option for generation."}},{element:".Guide_1_9_2",popover:{title:"",description:"Enter keywords about the sketch you wish to create and then click the 'Generate' button."}},{element:".Guide_1_13",popover:{title:"",description:"Click here to choose a category for the generated sketch."}},{element:".Guide_1_13_1",popover:{title:"",description:"Choose correct category for the sketch."}},{element:".Guide_1_13_2",popover:{title:"",description:"Select the generated sketches you like best."}},{element:".Guide_1_14",popover:{title:"",description:"Cick here to complete the uploading process."}},{element:".Guide_1_15",popover:{title:"",description:"Click here to let AI generate design illustrations."}},{element:".Guide_1_16",popover:{title:"",description:"Please wait a few seconds."}},{element:".Guide_1_17",popover:{title:"",description:"Click the little red heart to save your favorite design."}},{element:".Guide_1_30",popover:{title:"",description:"Click 'Redesign' to generate eight new outfits for your collection to choose from."}},{element:".Guide_1_16_1",popover:{title:"",description:"Click here to let AI generate design illustrations."}},{element:".Guide_1_17",popover:{title:"",description:"Click on any design image you are interested in to modify the details."}},{element:".Guide_1_19",popover:{title:"",description:"Click on the clothes to modify its details."}},{element:".Guide_1_20",popover:{title:"",description:"Click here to add or change the print."}},{element:".Guide_1_21",popover:{title:"",description:"You can find the print you uploaded earlier in your Library."}},{element:".Guide_1_22",popover:{title:"",description:"Select a print for this sketch."}},{element:".Guide_1_23",popover:{title:"",description:"Click here to layout the selected print"}},{element:".Guide_1_25",popover:{title:"",description:"Preview printed design here.",side:"right",align:"end"}},{element:".Guide_1_26",popover:{title:"",description:"Click here to finalize your modification."}},{element:".Guide_1_31",popover:{title:"",description:"Click here to export the collection you just designed."}},{element:".Guide_1_99",popover:{title:"Begin Your Design",description:'Your guide is complete, and now the canvas is yours to create freely. For more insights and details, check out our demo video on the homepage at https://code-create.com.hk/aida/
You can restart the tutorial at any time by simply telling the robot that you want to.'}}],allowClose:!1,showButtons:!1,stagePadding:10,stageRadius:5,allowKeyboardControl:!0,disableActiveInteraction:!1,overlayOpacity:.4,overlay:!0,doneBtnText:"✕",onPopoverRender:(e,t)=>{e.previousButton.style.display="none",te=oe.getState().activeIndex,ie={index:te,driver:!0},Q?.commit("setGuide",ie),0==t.state.activeIndex||39==t.state.activeIndex?e.wrapper.style.display="none":e.wrapper.style.display="block",2==t.state.activeIndex?e.wrapper.style.transform="translateY(11rem)":6==t.state.activeIndex||7==t.state.activeIndex?e.wrapper.style.transform="translateY(4rem)":e.wrapper.style.transform="initial",t.state.activeIndex>=6&&t.state.activeIndex<9||t.state.activeIndex>=14&&t.state.activeIndex<15||oe.isLastStep()?(e.footer.style.display="block",e.footerButtons.style.pointerEvents="auto"):(e.footer.style.display="none",e.footerButtons.style.pointerEvents="none"),(0,o.Y3)().then((()=>{ee&&ee.classList.remove("Guide_"),ee=t.state.activeElement,ee.classList.add("Guide_")}))},onDestroyStarted:()=>{se()},onDestroyed:()=>{}});const ne=()=>{let e,t=JSON.parse((0,J.ej)("isBeginner")),i=JSON.parse((0,J.ej)("isBeginnerNum")?(0,J.ej)("isBeginnerNum"):"0");t?(i?oe.drive(i):oe.drive(),e={index:te,driver:!0}):(oe.destroy(),e={index:te,driver:!1}),Q=(0,K.oR)(),Q?.commit("setGuide",e)};function se(){ie={index:te,driver:!1},Q?.commit("setGuide",ie),(0,J.d8)("isBeginner",!1),oe.destroy();let e={};X.V.axiosPost(X.V.httpUrls.completeGuidancet,e).then().catch((e=>{}))}},7365:function(e,t,i){i.d(t,{Z:function(){return Ve}});var o=i(6252),n=i(3577),s=i(9963),r=i.p+"img/aida_logo.5ab4163e.png";const a=e=>((0,o.dD)("data-v-22ba4800"),e=e(),(0,o.Cn)(),e),l={class:"header_max"},d={class:"header_component"},c={class:"header_right_content"},p=a((()=>(0,o._)("div",{class:"header_user_icon"},null,-1))),u={class:"header_user_content"},m={key:0,class:"username"},h=a((()=>(0,o._)("span",null,"/",-1))),v={key:1,class:"username"},w=a((()=>(0,o._)("span",null,"/",-1))),g={class:"header_user_content marLeft2"},_={class:"username"},y={class:"header_nav_content"},k={class:"header_right"},f={class:"select_block"},b=a((()=>(0,o._)("span",{class:"icon iconfont icon-tuichu"},null,-1))),x={class:"select_item_des"},I={class:"select_block select_list"},C=["onClick"],T={class:"select_item_des"},S={class:"skip_content"},L={key:0,class:"bind_email_content"},E={class:"bind_email_tip"},D={class:"bind_email"},H={key:1,class:"bind_email_content"},N={class:"bind_email_form_content"},P={class:"bind_email_form_title"},$=a((()=>(0,o._)("span",{class:"icon iconfont icon--shangyibu"},null,-1))),W={class:"email_last_step_content"},B={class:"email_last_step_des"},M={class:"sent_email_content"},O={class:"tip_content"};function G(e,t,i,a,G,A){const U=(0,o.up)("Habit"),q=(0,o.up)("VerificationCodeInput"),z=(0,o.up)("a-modal");return(0,o.wg)(),(0,o.iD)("div",l,[(0,o._)("header",d,[(0,o._)("div",c,[p,(0,o._)("div",u,[e.isTest?((0,o.wg)(),(0,o.iD)("div",m,[h,(0,o.Uk)(" "+(0,n.zw)(e.$t("Header.hello"))+"@"+(0,n.zw)(e.$t("isTest.userName")),1)])):((0,o.wg)(),(0,o.iD)("div",v,[w,(0,o.Uk)(" "+(0,n.zw)(e.$t("Header.hello"))+"@"+(0,n.zw)(e.userInfo?.userName),1)])),(0,o._)("div",{class:(0,n.C_)(["icon","iconfont","icon-xiala",e.isShowOperate?"icon_rotate":""]),onClick:t[0]||(t[0]=(0,s.iM)((t=>e.changeShowOperateContent()),["stop"]))},null,2)]),(0,o._)("div",g,[(0,o._)("span",_,(0,n.zw)(e.$t("Header.language")),1),(0,o._)("div",{class:(0,n.C_)(["icon","iconfont","icon-xiala",e.isLanguage?"icon_rotate":""]),onClick:t[1]||(t[1]=(0,s.iM)((t=>e.changeLanguage()),["stop"]))},null,2)])]),(0,o._)("nav",y,[(0,o._)("div",{class:(0,n.C_)(["nav_item","home"===e.$route.name?"select_nav":""]),onClick:t[2]||(t[2]=t=>e.turnToPage("home"))},(0,n.zw)(e.$t("Header.HOME")),3),(0,o._)("div",{class:(0,n.C_)(["nav_item","library"===e.$route.name?"select_nav":""]),onClick:t[3]||(t[3]=t=>e.turnToPage("library"))},(0,n.zw)(e.$t("Header.LIBRARY")),3),(0,o._)("div",{class:(0,n.C_)(["nav_item","history"===e.$route.name?"select_nav":""]),onClick:t[4]||(t[4]=t=>e.turnToPage("history"))},(0,n.zw)(e.$t("Header.HISTORY")),3)]),(0,o._)("div",k,[(0,o._)("img",{class:"header_logo",onClick:t[5]||(t[5]=t=>e.turnToNewPage("https://www.aidlab.hk/en/")),src:r}),(0,o.Wm)(U)])]),(0,o.wy)((0,o._)("nav",f,[(0,o._)("div",{class:"select_item",onClick:t[6]||(t[6]=t=>e.logout())},[b,(0,o._)("span",x,(0,n.zw)(e.$t("Header.logOff")),1)])],512),[[s.F8,e.isShowOperate]]),(0,o.wy)((0,o._)("ul",I,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.language,(t=>((0,o.wg)(),(0,o.iD)("li",{class:"select_item",onClick:i=>e.setLocale(t.value)},[(0,o._)("span",T,(0,n.zw)(t.name),1)],8,C)))),256))],512),[[s.F8,e.isLanguage]]),(0,o.Wm)(z,{class:"modal_component",visible:e.bindEmailVisible,"onUpdate:visible":t[13]||(t[13]=t=>e.bindEmailVisible=t),footer:null,title:"Mailbox binding",width:"56rem",maskClosable:!1,keyboard:!1,centered:!0},(0,o.Nv)({default:(0,o.w5)((()=>[e.isHaveBindEmail?((0,o.wg)(),(0,o.iD)("div",L,[(0,o._)("div",E,(0,n.zw)(e.$t("Header.emailContent")),1),(0,o._)("div",D,(0,n.zw)(e.userInfo.email),1)])):((0,o.wg)(),(0,o.iD)("div",H,[(0,o.wy)((0,o._)("div",null,[(0,o._)("div",N,[(0,o._)("div",P,(0,n.zw)(e.$t("Header.Email")),1),(0,o.wy)((0,o._)("input",{class:"bind_email_form_input",placeholder:"Enter a new email","onUpdate:modelValue":t[7]||(t[7]=t=>e.email=t),onKeydown:t[8]||(t[8]=(0,s.D2)((t=>e.emailNextStepFun()),["enter"]))},null,544),[[s.nr,e.email]])]),(0,o._)("div",{class:"bind_email_submit_button",onClick:t[9]||(t[9]=t=>e.emailNextStepFun())},(0,n.zw)(e.$t("Header.NextStep")),1)],512),[[s.F8,1===e.bindEmailStep]]),(0,o.wy)((0,o._)("div",null,[(0,o._)("div",{onClick:t[10]||(t[10]=t=>e.emailLastStepFun())},[$,(0,o._)("span",W,(0,n.zw)(e.$t("Header.verification")),1)]),(0,o._)("div",B,[(0,o._)("div",M,(0,n.zw)(e.$t("Header.SentTo"))+" "+(0,n.zw)(e.email),1),(0,o._)("div",O,[(0,o.wy)((0,o._)("span",null,(0,n.zw)(e.time)+"s",513),[[s.F8,e.time]]),(0,o.wy)((0,o._)("span",{onClick:t[11]||(t[11]=t=>e.emailNextStepFun())},(0,n.zw)(e.$t("Header.Resend"))+"Resend",513),[[s.F8,!e.time]])])]),(0,o.Wm)(q,{ct:e.emailCode,onSendCaptcha:t[12]||(t[12]=t=>e.submitBindEmail(t))},null,8,["ct"])],512),[[s.F8,2===e.bindEmailStep]])]))])),_:2},[e.isHaveBindEmail||1!==e.bindEmailStep?void 0:{name:"closeIcon",fn:(0,o.w5)((()=>[(0,o._)("div",S,(0,n.zw)(e.$t("Header.skip")),1)]))}]),1032,["visible"])])}var A=i(2262),U=i(7332),q=i(2339),z=i(9632);const V=e=>((0,o.dD)("data-v-b43da8b0"),e=e(),(0,o.Cn)(),e),R={class:"habit"},F={class:"habit_mask"},Y=V((()=>(0,o._)("i",{class:"fi fi-bs-angle-down"},null,-1))),Z={class:"habit_title"},j={class:"habit_intro"},J={class:"habit_type",trigger:"['click']"},K={class:"habit_model_show habit_workspace_show"},X={class:"habit_model_list"},Q=["onClick"],ee=["onClick"],te=["onClick"],ie=["onClick"],oe={class:"habit_model_show habit_sex_show"},ne={class:"habit_model_list"},se=["onClick"],re={class:"habit_Overal_Single"},ae={class:"habit_habit_singleton"},le={class:"habit_model_show habit_singleton_show"},de={class:"habit_model_list"},ce=["onClick"],pe={class:"habit_System_Designer"},ue={class:"habit_System_Designer_text_max"},me={class:"habit_System_Designer_text"},he={class:"habit_System_Designer_text"},ve={class:"habit_btn"},we={class:"model_current"},ge={class:"model_text"},_e={class:"model_img"},ye=["src"],ke={class:"model_Designer"},fe={class:"model_text"},be={class:"model_img"},xe={class:"model_img_item"},Ie=["src","onClick"],Ce={class:"model_img"},Te={class:"model_img_item"},Se=["src","onClick"];function Le(e,t,i,r,a,l){const d=(0,o.up)("UserOutlined"),c=(0,o.up)("DownOutlined"),p=(0,o.up)("a-button"),u=(0,o.up)("a-dropdown"),m=(0,o.up)("a-switch"),h=(0,o.up)("a-slider"),v=(0,o.Q2)("fade"),w=(0,o.Q2)("mousewheel");return(0,o.wg)(),(0,o.iD)("div",R,[(0,o.wy)((0,o._)("div",F,null,512),[[s.F8,e.openType.habit]]),(0,o._)("div",{class:"habit_button Guide_1_27",onClick:t[0]||(t[0]=(0,s.iM)((t=>e.setOpenType("habit")),["stop"]))},[(0,o.Uk)((0,n.zw)(e.$t("Habit.Workspace"))+" ",1),Y]),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",{class:(0,n.C_)(["habit_content Guide_1_28",[e.driver__.driver?"showEvents":""]])},[(0,o._)("div",Z,[(0,o._)("h3",null,(0,n.zw)(e.$t("Habit.WorkspaceSetting")),1),(0,o._)("div",j,(0,n.zw)(e.$t("Habit.settingWorkspace")),1)]),(0,o._)("div",J,[(0,o.Wm)(u,{placement:"bottomRight",onClick:t[1]||(t[1]=(0,s.iM)((t=>e.setOpenType("workspace")),["stop"]))},{default:(0,o.w5)((()=>[(0,o.Wm)(p,null,{default:(0,o.w5)((()=>[(0,o.Wm)(d),(0,o.Uk)(" "+(0,n.zw)(e.workspaceItem.workSpaceName)+" ",1),(0,o.Wm)(c)])),_:1})])),_:1}),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",K,[(0,o._)("ul",X,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.workspace.workspaceList,((i,r)=>((0,o.wg)(),(0,o.iD)("li",null,[(0,o.wy)((0,o._)("div",{onClick:(0,s.iM)((t=>e.setWorkspace(i.id)),["stop"])},(0,n.zw)(i.workSpaceName),9,Q),[[s.F8,!i.putName]]),(0,o.wy)((0,o._)("input",{type:"text","onUpdate:modelValue":t[2]||(t[2]=t=>e.workspaceItemName=t)},null,512),[[s.F8,i.putName],[s.nr,e.workspaceItemName]]),(0,o.wy)((0,o._)("i",{onClick:(0,s.iM)((t=>e.putName(r,"put")),["stop"]),class:"fi fi-rr-edit"},null,8,ee),[[s.F8,!i.putName]]),(0,o.wy)((0,o._)("i",{onClick:(0,s.iM)((t=>e.putName(r,"affirm")),["stop"]),class:"fi fi-br-check"},null,8,te),[[s.F8,i.putName]]),(0,o._)("i",{onClick:(0,s.iM)((t=>e.putName(r,"delete")),["stop"]),class:"fi fi-rr-trash"},null,8,ie)])))),256)),(0,o._)("li",{onClick:t[5]||(t[5]=(...t)=>e.newWorkspace&&e.newWorkspace(...t)),class:"newWorkspace"},[(0,o.wy)((0,o._)("input",{type:"text","onUpdate:modelValue":t[3]||(t[3]=t=>e.workspaceItemName=t)},null,512),[[s.F8,e.openType.addWorkspace],[s.nr,e.workspaceItemName]]),(0,o.wy)((0,o._)("i",{onClick:t[4]||(t[4]=(0,s.iM)((t=>e.putName(-1,"affirm")),["stop"])),class:"fi fi-br-check"},null,512),[[s.F8,e.openType.addWorkspace]]),(0,o.wy)((0,o._)("div",null,"+",512),[[s.F8,!e.openType.addWorkspace]])])])])),[[v,e.openType.workspace]])]),(0,o._)("div",{class:(0,n.C_)(["habit_Overal_Single",[2==e.driver__.index&&e.driver__.driver?"Guide_active":""]])},[(0,o.Wm)(u,{onClick:t[6]||(t[6]=(0,s.iM)((t=>e.setOpenType("sex")),["stop"]))},{default:(0,o.w5)((()=>[(0,o.Wm)(p,null,{default:(0,o.w5)((()=>[(0,o.Wm)(d),(0,o.Uk)(" "+(0,n.zw)(e.workspaceItem?.sexEnum?.value),1),(0,o.Wm)(c)])),_:1})])),_:1}),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",oe,[(0,o._)("ul",ne,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.sex,((t,i)=>((0,o.wg)(),(0,o.iD)("li",null,[(0,o._)("div",{onClick:(0,s.iM)((i=>e.setSex(t)),["stop"])},(0,n.zw)(t.value),9,se)])))),256))])])),[[v,e.openType.sex]])],2),(0,o._)("div",re,[(0,o._)("div",{class:(0,n.C_)(["habit_Overal_Single_text",{active:!e.workspaceItem.overallSingle}])},(0,n.zw)(e.$t("Habit.Overall")),3),(0,o.Wm)(m,{onClick:e.setOverallSingle,checked:e.workspaceItem.overallSingle,"onUpdate:checked":t[7]||(t[7]=t=>e.workspaceItem.overallSingle=t)},null,8,["onClick","checked"]),(0,o._)("div",{class:(0,n.C_)(["habit_Overal_Single_text",{active:e.workspaceItem.overallSingle}])},(0,n.zw)(e.$t("Habit.Single")),3)]),(0,o.wy)((0,o._)("div",ae,[(0,o.Wm)(u,{onClick:t[8]||(t[8]=(0,s.iM)((t=>e.setOpenType("singleton")),["stop"]))},{default:(0,o.w5)((()=>[(0,o.Wm)(p,null,{default:(0,o.w5)((()=>[(0,o.Wm)(d),(0,o.Uk)(" "+(0,n.zw)(e.workspaceItem?.positionEnum?.value)+" ",1),(0,o.Wm)(c)])),_:1})])),_:1}),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",le,[(0,o._)("ul",de,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.singleTypeList,((t,i)=>((0,o.wg)(),(0,o.iD)("li",null,[(0,o._)("div",{onClick:(0,s.iM)((i=>e.setSingle(t)),["stop"])},(0,n.zw)(t.value),9,ce)])))),256))])])),[[v,e.openType.singleton]])],512),[[s.F8,e.workspaceItem.overallSingle]]),(0,o._)("div",pe,[(0,o.Wm)(h,{id:"system_silder",value:e.workspaceItem.systemDesignerPercentage,"onUpdate:value":t[9]||(t[9]=t=>e.workspaceItem.systemDesignerPercentage=t),onAfterChange:e.systemDesigner,"tip-formatter":e.formatter},null,8,["value","onAfterChange","tip-formatter"]),(0,o._)("div",ue,[(0,o._)("div",me,(0,n.zw)(e.$t("Habit.System")),1),(0,o._)("div",he,(0,n.zw)(e.$t("Habit.Designer")),1)])]),(0,o._)("div",{class:(0,n.C_)(["habit_model",[3==e.driver__.index&&e.driver__.driver?"Guide_active":""]])},[(0,o.Wm)(u,{placement:"bottomRight",trigger:"['click']",onClick:t[10]||(t[10]=(0,s.iM)((t=>e.setOpenType("model")),["stop"]))},{default:(0,o.w5)((()=>[(0,o.Wm)(p,null,{default:(0,o.w5)((()=>[(0,o.Wm)(d),(0,o.Uk)(" "+(0,n.zw)(e.$t("Habit.Mannequin"))+" ",1),(0,o.Wm)(c)])),_:1})])),_:1})],2),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",{id:"modelShow",class:(0,n.C_)(["habit_model_show Guide_1_29",[e.driver__.driver?"showEvents":""]])},[(0,o._)("div",ve,[(0,o._)("div",we,[(0,o._)("div",ge,(0,n.zw)(e.$t("Habit.Current")),1),(0,o._)("div",_e,[(0,o._)("img",{src:e.workspaceItem.mannequinUrl,alt:""},null,8,ye)])]),(0,o._)("div",ke,[(0,o._)("div",fe,[(0,o._)("div",{class:(0,n.C_)(["habit_System_Seleves_text",{active:!e.systemSeleves}])},(0,n.zw)(e.$t("Habit.System")),3),(0,o.Wm)(m,{disabled:null==e.mannequins?.[0],checked:e.systemSeleves,"onUpdate:checked":t[11]||(t[11]=t=>e.systemSeleves=t)},null,8,["disabled","checked"]),(0,o._)("div",{class:(0,n.C_)(["habit_System_Seleves_text",{active:e.systemSeleves}])},(0,n.zw)(e.$t("Habit.User")),3)]),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",be,[(0,o._)("div",xe,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.mannequins?.[0]?.modelList,((t,i)=>((0,o.wg)(),(0,o.iD)("div",{key:t.id},[(0,o._)("img",{src:t?.presignedUrl,alt:"",onClick:i=>e.setMannequins(t,"Library")},null,8,Ie)])))),128))])])),[[s.F8,e.systemSeleves],[w]]),(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",Ce,[(0,o._)("div",Te,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.mannequins?.[1]?.modelList,((t,i)=>((0,o.wg)(),(0,o.iD)("div",{key:t.id},[(0,o._)("img",{src:t?.presignedUrl,alt:"",onClick:i=>e.setMannequins(t,"System")},null,8,Se)])))),128))])])),[[s.F8,!e.systemSeleves],[w]])])])],2)),[[v,e.openType.model]])],2)),[[v,e.openType.habit]])])}var Ee=i(3907),De=i(7849),He=i(4924),Ne=i(6214),Pe=i(327),$e=i(1446),We=i(8302),Be=i(4272),Me=i(8552),Oe=(0,o.aZ)({components:{DownOutlined:De.Z,UserOutlined:He.Z},setup(){const e=(0,Ee.oR)();let t=(0,A.iH)({id:"",id_:1,workSpaceName:"工作台1",putName:!1,systemDesignerPercentage:30,position:"",sex:"",overallSingle:!1,mannequinUrl:"",mannequinType:"",mannequinId:""}),i=(0,A.iH)([{},{}]),n=(0,A.iH)(!1),s=(0,A.iH)({workspace:!1,singleton:!1,habit:!1,model:!1,addWorkspace:!1,sex:!1}),r=(0,o.Fl)((()=>e.state.Guide.guide)),a=(0,A.iH)({}),l=(0,A.iH)(""),d=(0,A.iH)([]),c=(0,A.iH)([]);const{t:p}=(0,Me.QT)();return{systemSeleves:n,mannequins:i,openType:s,driver__:r,workspace:a,workspaceItem:t,workspaceItemName:l,singleTypeList:d,sex:c,t:p}},watch:{"openType.habit":{handler(e,t){if(!e){this.workspaceItem.overallSingle||(this.workspaceItem.position="Overall");let e=this.workspaceItem;delete e.isLastIndex,this.putWorkspace(e,""),this.openType.model=!1,this.store.commit("setWorkspace",this.workspaceItem)}}},driver__:{handler(e,t){e.index>=5&&(this.openType.habit=!1)}},"workspaceItem.id_":{handler(e,t){this.workspace.workspaceList.forEach((i=>{i.id==this.workspaceItem.id_&&(this.workspaceItem=i,this.workspaceItem.id_=i.id),i.id==t&&(delete i.isLastIndex,this.putWorkspace(i,e),this.getDetail(e))})),this.getMannequins()}},"openType.workspace":{handler(e,t){this.openType.addWorkspace=!1,this.workspace.workspaceList.forEach((e=>{e.putName=!1}))}},"workspaceItem.overallSingle":{handler(e,t){this.driver__.driver&&Be.RX.refresh()}},"openType.sex":{handler(e,t){this.driver__.driver&&t&&Be.RX.moveTo(3)}},workspaceItem:{handler(e,t){this.store.commit("setWorkspace",this.workspaceItem)}}},data(){return{store:(0,Ee.oR)()}},mounted(){this.getworkspace(),this.getSex()},directives:{fade:{mounted(e,t){e.addEventListener("click",(()=>{}))},updated(e,t){t.value?(e.style.display="block",setTimeout((()=>{e.classList.add("active")}),100)):(e.classList.remove("active"),setTimeout((()=>{e.style.display="none"}),100))}},mousewheel:{mounted(e){e.addEventListener("wheel",(t=>{let i=0;i=t.deltaY>0?25:-25,e.scrollBy(i,0)}))}}},methods:{async getSex(){await Ne.V.axiosGet(Ne.V.httpUrls.workspaceenumValues,{params:{enumName:"Sex"}}).then((e=>{e&&(this.store.commit("setWorkspaceSex",e),this.sex=e)}))},async getPosition(e){let t;t="Female"==this.workspaceItem.sexEnum.name?"FemalePosition":"MalePosition",await Ne.V.axiosGet(Ne.V.httpUrls.workspaceenumValues,{params:{enumName:t}}).then((t=>{t&&(this.singleTypeList=t,this.store.commit("setWorkspacePosition",t),"sex"==e&&(this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]))}))},setPosition(){this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]},getworkspace(){let e={page:1,size:10};Ne.V.axiosPost(Ne.V.httpUrls.workspaceList,e).then((e=>{e&&(e.page.content.forEach((t=>{t.id_=t.id,"Overall"==t.position?t.overallSingle=!1:t.overallSingle=!0,t.putName=!1,t.id==(this.workspaceItem.id?this.workspaceItem.id:e.id)&&(this.workspaceItem=t,this.setMannequinsSex(),this.getPosition(""))})),this.workspace.id=e.id,this.workspace.workspaceList=e.page.content)}))},getDetail(e){Ne.V.axiosGet(Ne.V.httpUrls.workspaceDetail,{params:{id:e}}).then((e=>{}))},getMannequins(){Ne.V.axiosGet(Ne.V.httpUrls.getMannequins,{params:{sex:this.workspaceItem.sex}}).then((e=>{if(e){if("System"==e[0].type){let t=e[0];e[0]=e[1],e[1]=t}this.mannequins=e,null==this.mannequins?.[0]&&(this.systemSeleves=!1)}}))},putWorkspace(e,t){Ne.V.axiosPost(Ne.V.httpUrls.workspacesaveOrUpdate,e).then((e=>{e&&(t||this.getworkspace(),this.workspace.workspaceList[t].workSpaceName=this.workspaceItemName,this.workspace.workspaceList[t].putName=!1,this.openType.addWorkspace=!1)})).catch((e=>{this.getworkspace()}))},deleteWorkspace(e){Ne.V.axiosDelete(Ne.V.httpUrls.workspaceRemove,e).then((e=>{e&&this.getworkspace()}))},setOverallSingle(){this.workspaceItem.overallSingle?(this.workspaceItem.position=this.singleTypeList[0].name,this.workspaceItem.positionEnum=this.singleTypeList[0]):this.workspaceItem.position="Overall"},cancelDsign(e){let t=this;Pe.Z.confirm({title:t.t("Habit.jsContent1"),icon:(0,o.Wm)(We.Z),okText:"Yes",cancelText:"No",mask:!1,wrapClassName:"habit",zIndex:999999999,centered:!0,onOk(){let i=[{id:t.workspace.workspaceList[e].id}];t.workspace.workspaceList[e].id;t.deleteWorkspace(i)}})},putName(e,t){if(this.workspace.workspaceList.forEach((e=>{e.putName=!1})),this.openType.addWorkspace=!1,"put"==t)this.workspaceItemName=this.workspace.workspaceList[e].workSpaceName,this.workspace.workspaceList[e].putName=!0;else if("delete"==t)this.cancelDsign(e);else if(""==this.workspaceItemName)$e.ZP.info(this.t("Habit.jsContent2"));else if(-1==e){let e={workSpaceName:this.workspaceItemName};this.putWorkspace(e,"")}else{let t;this.workspace.workspaceList.forEach((i=>{this.workspace.workspaceList[e].id==i.id&&(t=i)})),t.workSpaceName=this.workspaceItemName,this.putWorkspace(t,"")}},systemDesigner(e){this.workspaceItem.systemDesignerPercentage=e},formatter(e){return`${e}%`},setWorkspace(e){this.openType.addWorkspace=!1,this.workspace.workspaceList.forEach((e=>{e.putName=!1})),this.workspaceItem.id_=e,this.openType.workspace=!1},newWorkspace(){this.workspaceItemName="",this.openType.addWorkspace=!0,this.workspace.workspaceList.forEach((e=>{e.putName=!1}))},setSex(e){this.workspaceItem.sexEnum=e,this.openType.sex=!1,this.workspaceItem.sex=e.name,this.getMannequins(),this.setMannequinsSex(),this.getPosition("sex")},setSingle(e){this.openType.singleton=!1,this.workspaceItem.position=e.name,this.workspaceItem.positionEnum=e},setMannequins(e,t){let i;"Female"==this.workspaceItem.sexEnum.name?(i=this.workspaceItem.mannequinFemaleId,this.workspaceItem.femalePresignedUrl=e.presignedUrl,this.workspaceItem.mannequinFemaleType=t,this.workspaceItem.mannequinFemaleId=e.id):"Male"==this.workspaceItem.sexEnum.name&&(i=this.workspaceItem.mannequinMaleId,this.workspaceItem.malePresignedUrl=e.presignedUrl,this.workspaceItem.mannequinMaleType=t,this.workspaceItem.mannequinMaleId=e.id),this.driver__.driver&&(0,o.Y3)().then((()=>{Be.RX.moveNext(),this.openType.model=!1})),this.workspaceItem.mannequinUrl=e.presignedUrl,this.workspaceItem.mannequinType=t,this.workspaceItem.mannequinId=e.id},setMannequinsSex(){"Female"==this.workspaceItem.sexEnum.name?(this.workspaceItem.mannequinUrl=this.workspaceItem.femalePresignedUrl,this.workspaceItem.mannequinType=this.workspaceItem.mannequinFemaleType,this.workspaceItem.mannequinId=this.workspaceItem.mannequinFemaleId):"Male"==this.workspaceItem.sexEnum.name&&(this.workspaceItem.mannequinUrl=this.workspaceItem.malePresignedUrl,this.workspaceItem.mannequinType=this.workspaceItem.mannequinMaleType,this.workspaceItem.mannequinId=this.workspaceItem.mannequinMaleId)},setOpenType(e){"habit"==e?(this.openType.habit=!this.openType.habit,this.driver__.driver&&(0,o.Y3)().then((()=>{Be.RX.moveNext()}))):"workspace"==e?(this.openType.singleton=!1,this.openType.sex=!1,this.openType.workspace=!this.openType.workspace):"model"==e?(this.openType.singleton=!1,this.openType.workspace=!1,this.openType.sex=!1,this.openType.model=!this.openType.model,this.getMannequins(),this.driver__.driver&&this.openType.model&&(0,o.Y3)().then((()=>{Be.RX.moveTo(4)}))):"singleton"==e?(this.openType.singleton=!this.openType.singleton,this.openType.workspace=!1,this.openType.sex=!1):"sex"==e&&(this.openType.sex=!this.openType.sex,this.openType.workspace=!1,this.openType.singleton=!1);let t=document.getElementsByClassName("habit_mask")[0];t.addEventListener("click",this.documentClick,!0)},documentClick(){let e=document.getElementsByClassName("habit_mask")[0];e.removeEventListener("click",this.documentClick),this.openType.habit=!1,this.openType.workspace=!1,this.openType.model=!1,this.openType.singleton=!1,this.openType.sex=!1}}}),Ge=i(3744);const Ae=(0,Ge.Z)(Oe,[["render",Le],["__scopeId","data-v-b43da8b0"]]);var Ue=Ae,qe=(0,o.aZ)({components:{VerificationCodeInput:z.Z,Habit:Ue},setup(){const e=(0,Ee.oR)(),{t:t}=(0,Me.QT)(),{locale:i}=(0,Me.QT)();let o=(0,A.iH)();return{store:e,t:t,locale:i,isTest:o}},data(){return{isShowOperate:!1,bindEmailVisible:!1,isHaveBindEmail:!1,bindEmailStep:1,email:"",emailCode:["","","","","",""],time:60,timer:0,userInfo:{},timerOperate:null,numTime:30,timerSec:null,modalWarning:null,isLanguage:!1,language:[{name:"English",value:"ENGLISH"},{name:"中文",value:"CHINESE_SIMPLIFIED"},{name:"한국인",value:"KOREAN"},{name:"にほんご",value:"JAPANESE"},{name:"Русский",value:"RUSSIAN"},{name:"Français",value:"FRENCH"},{name:"แบบไทย",value:"THAI"},{name:"Tiếng Việt",value:"VIETNAMESE"},{name:"Italiano",value:"ITALIAN"}]}},mounted(){let e=(0,q.ej)("isTest");this.isTest=JSON.parse(e)||"",this.userInfo=JSON.parse((0,q.ej)("userInfo")),this.userInfo?this.accountIsLogin(this.userInfo):this.$router.replace("/login"),this.isHaveBindEmail=!!this.userInfo?.email,this.operateClick(),document.addEventListener("click",this.operateClick),this.getLang("")},methods:{turnToNewPage(e){window.open(e)},turnToPage(e){let t="home"===e;this.$router.push({name:e,params:{noRefresh:t}})},changeShowOperateContent(){this.isShowOperate=!this.isShowOperate,document.addEventListener("click",this.closeShowOperateContent,!1)},changeLanguage(){this.isLanguage=!this.isLanguage,document.addEventListener("click",this.closeShowOperateContent,!1)},closeShowOperateContent(){this.isShowOperate=!1,this.isLanguage=!1,document.removeEventListener("click",this.closeShowOperateContent)},showBindEmailModal(){this.bindEmailVisible=!0},emailNextStepFun(){if(!(0,U.Jh)(this.email))return void $e.ZP.info(this.t("Header.jsContent1"));let e={email:this.email,operationType:"BIND_MAILBOX"};const t=$e.ZP.loading("loading",0);Ne.V.axiosPost(Ne.V.httpUrls.accountSendEmail,e).then((e=>{e&&(this.bindEmailStep=2,this.emailCode=["","","","","",""],this.createTimer(),t(),$e.ZP.success(this.t("Header.jsContent2")))})).catch((e=>{t()}))},emailLastStepFun(){this.bindEmailStep=1,this.email="",this.emailCode=["","","","","",""],this.clearTimer()},createTimer(){this.timer=setInterval((()=>{this.time--,this.time||clearInterval(this.timer)}),1e3)},clearTimer(){this.time=60,this.timer&&clearInterval(this.timer)},async logout(){let e={userId:this.userInfo.userId},t=(0,q.ej)("isTest");JSON.parse(t)?Ne.V.axiosGet(Ne.V.httpUrls.trialUserLogout).then((t=>{Ne.V.axiosPost(Ne.V.httpUrls.accountLogout,e).then((e=>{this.$router.replace("/login"),(0,q.$m)("token")}))})):Ne.V.axiosPost(Ne.V.httpUrls.accountLogout,e).then((e=>{this.$router.replace("/login"),(0,q.$m)("token")}))},submitBindEmail(e){let t={userEmail:this.email,userId:this.userInfo.userId,emailVerifyCode:e};Ne.V.axiosPost(Ne.V.httpUrls.accountBindEmail,t).then((e=>{e&&(this.userInfo.email=this.email,(0,q.d8)("userInfo",JSON.stringify(this.userInfo)),this.bindEmailVisible=!1,this.bindEmailStep=1,this.clearTimer(),this.emailCode=["","","","","",""])}))},accountIsLogin(e){let t={userId:e.userId};Ne.V.axiosPost(Ne.V.httpUrls.accountIsLogin,t).then((e=>{e||this.$router.replace("/login")}))},operateClick(){this.timer&&clearTimeout(this.timer);let e=this,t=72e5;this.timer=setTimeout((()=>{this.modalWarning=Pe.Z.warning({title:()=>this.t("Header.jsContent3",{numTime:e.numTime}),icon:(0,o.Wm)(We.Z),okText:"Ok",centered:!0,onOk(){e.numTime=30,clearInterval(e.timerSec)}}),e.numCounter()}),t)},numCounter(){this.timerSec=setInterval((()=>{this.numTime>0?this.numTime=this.numTime-1:(clearTimeout(this.timer),clearInterval(this.timerSec),this.logout(),this.modalWarning.destroy())}),1e3)},getLang(e){let t;Ne.V.axiosPost(Ne.V.httpUrls.getUserLanguage,t).then((e=>{e&&(this.locale=e)}))},setLang(e){Ne.V.axiosGet(Ne.V.httpUrls.changeUserLanguage,{params:{language:e}}).then((e=>{if(e&&e){let t=e;(0,q.d8)("token",t),this.getLang(""),this.store.commit("clearAllData"),window.location.reload()}}))},setLocale(e){this.setLang(e)}}});const ze=(0,Ge.Z)(qe,[["render",G],["__scopeId","data-v-22ba4800"]]);var Ve=ze},7729:function(e,t,i){i.d(t,{Z:function(){return q}});var o=i(6252),n=i(3577),s=i(9963),r=i.p+"img/robot.6fd62bbc.png";const a=e=>((0,o.dD)("data-v-7293e3bd"),e=e(),(0,o.Cn)(),e),l={class:"robot_top",ref:"robotDom"},d={class:"robot_text"},c={key:0},p=["href"],u=a((()=>(0,o._)("i",{class:"fi fi-br-link-alt"},null,-1))),m=[u],h={key:1,class:"driver__"},v={key:2,class:"driver__btn"},w=["onClick"],g=["onClick"],_={class:"robot_img_item"},y=["src"],k={class:"delete_like_file_block"},f=["onClick"],b=["onClick"],x={class:"robot_content"},I={class:"robot_bottom"},C={class:"robot_input"},T=["placeholder"],S={class:"robot_btn"},L={class:"robot_img"};function E(e,t,i,a,u,E){const D=(0,o.Q2)("fade");return(0,o.wg)(),(0,o.iD)("div",{class:(0,n.C_)(["robot Guide_1_1_1",[e.driver__.driver?"showEvents":""]]),onMousemove:t[5]||(t[5]=(...t)=>e.robotmax&&e.robotmax(...t))},[(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",l,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.record,((t,i)=>((0,o.wg)(),(0,o.iD)("div",{class:(0,n.C_)([1==t.state?"text_right":"text_left",t.img?"white":""]),ref_for:!0,ref:"robotChildDom"},[(0,o._)("div",d,[e.driver__.driver?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("span",c,[(0,o.Uk)((0,n.zw)(t.str)+" ",1),t.src?((0,o.wg)(),(0,o.iD)("a",{key:0,href:t.src,target:"_blank"},m,8,p)):(0,o.kq)("",!0)])),e.driver__.driver?((0,o.wg)(),(0,o.iD)("span",h,(0,n.zw)(t.str),1)):(0,o.kq)("",!0),t.driver?((0,o.wg)(),(0,o.iD)("div",v,[(0,o._)("span",{onClick:t=>e.setDriver(i)}," Yes ",8,w),(0,o._)("span",{onClick:t=>e.removeDriver(i)}," No ",8,g)])):(0,o.kq)("",!0),(0,o._)("div",{class:(0,n.C_)(["robot_img",[t.img?"img":""]])},[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(t.img,((t,n)=>((0,o.wg)(),(0,o.iD)("div",_,[(0,o._)("img",{src:t.presignedUrl,alt:""},null,8,y),(0,o._)("div",k,[null==t.id?((0,o.wg)(),(0,o.iD)("i",{key:0,class:"fi fi-rr-heart",onClick:(0,s.iM)((o=>e.likeFile(t,n,i)),["stop"])},null,8,f)):((0,o.wg)(),(0,o.iD)("i",{key:1,class:"fi fi-sr-heart",onClick:(0,s.iM)((o=>e.likeFile(t,n,i)),["stop"])},null,8,b))])])))),256))],2)])],2)))),256))])),[[D,e.robotTop,"block"]]),(0,o._)("div",x,[(0,o._)("div",{style:(0,n.j5)("width:"+e.bloodBars+"%;")},null,4)]),(0,o._)("div",I,[(0,o.wy)(((0,o.wg)(),(0,o.iD)("div",C,[(0,o.wy)((0,o._)("input",{placeholder:e.$t("RobotAssist.inputContent1"),"onUpdate:modelValue":t[0]||(t[0]=t=>e.chatCentent=t),onKeydown:t[1]||(t[1]=(0,s.D2)((t=>e.roborSend()),["enter"])),onInput:t[2]||(t[2]=(...t)=>e.robotmax&&e.robotmax(...t))},null,40,T),[[s.nr,e.chatCentent]]),(0,o._)("div",S,[(0,o._)("i",{class:"fi fi-ss-paper-plane-top",onClick:t[3]||(t[3]=(...t)=>e.roborSend&&e.roborSend(...t))})])])),[[D,e.robotInput,"flex"]]),(0,o._)("div",L,[(0,o._)("img",{src:r,onClick:t[4]||(t[4]=(...t)=>e.robotBtn&&e.robotBtn(...t))})])])],34)}var D=i(2262),H=i(7849),N=i(4924),P=i(6214),$=i(2339),W=i(3907),B=i(1446),M=i(4272),O=i(8552),G=(0,o.aZ)({components:{DownOutlined:H.Z,UserOutlined:N.Z},setup(){const e=(0,D.iH)(null),t=(0,D.iH)(null);let i=(0,D.iH)("");const n=(0,D.iH)(!1),s=(0,D.iH)(!1);let r=0,a=0,l=(0,D.iH)([]);const d={};let c=(0,D.iH)(0),{t:p}=(0,O.QT)(),u=(0,D.iH)(),m=(0,W.oR)(),h=(0,D.iH)({}),v=(0,o.Fl)((()=>m.state.Guide.guide)),w=(0,D.iH)();return{robotTop:n,robotInput:s,chatCentent:i,record:l,robotDom:e,robotChildDom:t,timeTop:r,timeInput:a,userInfo:d,bloodBars:c,t:p,isTest:u,store:m,workspace:h,driver__:v,driver__Time:w}},data(){return{}},watch:{driver__:{handler:function(e){this.driver__.driver&&0==this.driver__.index?(this.robotTop=!0,this.robotInput=!0,M.RX.refresh(),this.record.push({state:1,str:"Welcome to AiDA. I am your friendly fashion design assistant. If you have any questions or need assistance, please don't hesitate to ask. ",driver:!1}),this.textScroll(),setTimeout((()=>{this.record.push({state:1,str:"I see you might be new here, and I'd love to guide you through a tutorial to help you get acquainted with our new and improved AiDA system. Would you like to start the tutorial now?",driver:!0}),this.textScroll()}),1e3),this.driver__Time=setInterval((()=>{this.$nextTick().then((()=>{M.RX.refresh()})),this.createTimer()}),3e3)):clearTimeout(this.driver__Time),e.driver||0==this.driver__.index||(this.record.push({state:1,str:"You can start the tutorial at any time by simply telling me that you want to. ",driver:!1}),clearTimeout(this.driver__Time))}}},mounted(){this.textScroll();let e=(0,$.ej)("userInfo"),t=(0,$.ej)("isTest");this.isTest=JSON.parse(t)||"",this.userInfo=JSON.parse(e),null==sessionStorage.getItem("record")?this.record=[]:this.record=JSON.parse(sessionStorage.getItem("record")),this.getBloodBars(),this.workspace=(0,o.Fl)((()=>this.store?.state?.Workspace?.workspace))},directives:{fade:{updated(e,t){t.value?(e.style.display=t.arg,setTimeout((()=>{e.classList.add("active")}),100)):(e.classList.remove("active"),setTimeout((()=>{e.style.display="none"}),100))}}},methods:{robotBtn(){this.robotTop&&this.robotInput?(this.robotTop=!1,this.robotInput=!1):(this.robotTop=!0,this.robotInput=!0),this.textScroll(),this.createTimer()},getBloodBars(){P.V.axiosGet(P.V.httpUrls.getBloodBars,{params:{userId:this?.userInfo?.userId}}).then((e=>{e&&(this.bloodBars=100*e)}))},textScroll(){this.$nextTick((()=>{if(this.robotDom&&this.robotChildDom){let e=0;for(let t=0;t{e&&(e.isTutorial?this.record.push({state:1,str:"We need to refresh the page before starting the tutorial. Would you like to start the tutorial now?",driver:!0}):null!=e.chatRobotLibraryList?this.record.push({state:1,img:e.chatRobotLibraryList}):this.record.push({state:1,str:e.output}),sessionStorage.setItem("record",JSON.stringify(this.record)),this.createTimer(),this.textScroll(),this.getBloodBars())})).catch((e=>{})),this.chatCentent=""},setDriver(e){this.driver__.driver?(M.RX.moveNext(),this.robotTop=!1,this.robotInput=!1):(window.location.reload(),(0,$.d8)("isBeginner",!0),(0,$.d8)("isBeginnerNum",1)),this.record[e].driver=!1,sessionStorage.setItem("record",JSON.stringify(this.record)),this.textScroll()},removeDriver(e){(0,M.g3)(),this.record[e].driver=!1,sessionStorage.setItem("record",JSON.stringify(this.record)),this.createTimer(),this.textScroll()},likeFile(e,t,i){let o={...e,userId:this.userInfo?.userId};P.V.axiosPost(P.V.httpUrls.pictureLikeOrUnLike,o).then((e=>{null==this.record[i].img[t].id?this.record[i].img[t].id=e.id:this.record[i].img[t].id=null,sessionStorage.setItem("record",JSON.stringify(this.record))})).catch((e=>{}))},createTimer(){(this.robotTop||this.robotInput)&&(this.clearTimer(),this.timeTop=setInterval((()=>{this.robotTop=!1}),15e3),this.timeInput=setInterval((()=>{this.robotInput=!1}),1e4))},clearTimer(){clearInterval(this.timeTop),clearInterval(this.timeInput)}}}),A=i(3744);const U=(0,A.Z)(G,[["render",E],["__scopeId","data-v-7293e3bd"]]);var q=U}}]); \ No newline at end of file diff --git a/dist/js/865.8c2a1d80.js b/dist/js/865.8c2a1d80.js new file mode 100644 index 00000000..c403a080 --- /dev/null +++ b/dist/js/865.8c2a1d80.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[865],{329:function(e,t,i){i.d(t,{Z:function(){return p}});var a=i(6252),o=i(9963);const s=(0,a._)("span",{class:"icon iconfont icon-guanbi"},null,-1),n=[s],l={class:"history_detail_content scroll_style"},r={class:"history_img_item"},c=["src"];function h(e,t,i,s,h,u){const m=(0,a.up)("a-modal");return(0,a.wg)(),(0,a.j4)(m,{class:"hsitory_detail_modal_component",visible:e.hsitoryDetailShow,"onUpdate:visible":t[1]||(t[1]=t=>e.hsitoryDetailShow=t),footer:null,title:e.collectionName,width:"80%",maskClosable:!1,keyboard:!1,centered:!0},{closeIcon:(0,a.w5)((()=>[(0,a._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,o.iM)((t=>e.changeDetailShow()),["stop"]))},n)])),default:(0,a.w5)((()=>[(0,a._)("div",l,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.groupDetails,(e=>((0,a.wg)(),(0,a.iD)("div",{class:"history_img_block",key:e},[(0,a._)("div",r,[(0,a._)("img",{class:"element_img",src:e.url},null,8,c)])])))),128))])])),_:1},8,["visible","title"])}var u=(0,a.aZ)({props:{groupDetails:{default:{}},collectionName:{default:""}},setup(){},data(){return{hsitoryDetailShow:!1}},methods:{changeDetailShow(){this.hsitoryDetailShow=!this.hsitoryDetailShow}}}),m=i(3744);const d=(0,m.Z)(u,[["render",h]]);var p=d},6865:function(e,t,i){i.r(t),i.d(t,{default:function(){return j}});var a=i(6252),o=i(3577),s=i(9963),n=i(5328);const l={class:"history_page"},r={class:"page_content"},c=(0,a._)("img",{class:"page_content_bg",src:n},null,-1),h={class:"page_content_body"},u={class:"history_page_body"},m={class:"history_header"},d={class:"history_table_search"},p=(0,a._)("span",{class:"icon iconfont range_picker_icon icon-rili"},null,-1),g={class:"content_search_block"},_=["placeholder"],y=(0,a._)("span",{class:"icon iconfont icon-sousuo"},null,-1),D=[y],k={class:"history_table_content",ref:"historyTable"},v={key:0,class:"operate_list"},w=["onClick"],C=["onClick"],H=["onClick"],f=["onClick"],P={class:"collection_rename_content"},b={class:"rename_form_content"},N=["placeholder"];function V(e,t,i,n,y,V){const S=(0,a.up)("HeaderComponent"),T=(0,a.up)("a-range-picker"),x=(0,a.up)("a-table"),Z=(0,a.up)("HistoryDetail"),z=(0,a.up)("a-modal"),I=(0,a.up)("RobotAssist");return(0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("div",r,[c,(0,a._)("div",h,[(0,a.Wm)(S),(0,a._)("div",u,[(0,a._)("div",m,(0,o.zw)(e.$t("HistoryPage.History")),1),(0,a._)("div",d,[(0,a.Wm)(T,{class:"range_picker",value:e.rangePickerValue,"onUpdate:value":t[0]||(t[0]=t=>e.rangePickerValue=t),placeholder:[e.$t("HistoryPage.StartDate"),e.$t("HistoryPage.EndDate")],valueFormat:"YYYY-MM-DD"},{suffixIcon:(0,a.w5)((()=>[p])),_:1},8,["value","placeholder"]),(0,a._)("div",g,[(0,a.wy)((0,a._)("input",{class:"search_input",placeholder:e.$t("HistoryPage.inputContent1"),"onUpdate:modelValue":t[1]||(t[1]=t=>e.searchCollectionName=t),onKeydown:t[2]||(t[2]=(0,s.D2)((t=>e.searchHistoryList()),["enter"]))},null,40,_),[[s.nr,e.searchCollectionName]]),(0,a._)("div",{class:"search_icon_block",onClick:t[3]||(t[3]=t=>e.searchHistoryList())},D)])]),(0,a._)("div",k,[(0,a.Wm)(x,{columns:e.columns,"data-source":e.collectionList,scroll:{y:e.historyTableHeight},onChange:e.changePage,pagination:{showSizeChanger:!0,current:e.currentPage,pageSize:e.pageSize,total:e.total,showQuickJumper:!0,bordered:!1}},{bodyCell:(0,a.w5)((({column:t,text:i,record:s,index:n})=>[t?.Operations?((0,a.wg)(),(0,a.iD)("div",v,[(0,a._)("div",{class:"operate_item",onClick:t=>e.turnToDetail(s)},(0,o.zw)(e.$t("HistoryPage.Detail")),9,w),(0,a._)("div",{class:"operate_item",onClick:t=>e.renameCollection(s,n)},(0,o.zw)(e.$t("HistoryPage.Rename")),9,C),(0,a._)("div",{class:"operate_item",onClick:t=>e.retrieveHome(s)},(0,o.zw)(e.$t("HistoryPage.Retrieve")),9,H),(0,a._)("div",{class:"operate_item",onClick:t=>e.deleteGroup(s,n)},(0,o.zw)(e.$t("HistoryPage.Delete")),9,f)])):(0,a.kq)("",!0)])),_:1},8,["columns","data-source","scroll","onChange","pagination"])],512)])])]),(0,a.Wm)(Z,{ref:"historyDetail",groupDetails:e.groupDetails,collectionName:e.collectionName},null,8,["groupDetails","collectionName"]),(0,a.Wm)(z,{class:"rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[7]||(t[7]=t=>e.renameVisivle=t),footer:null,title:e.renameData?.name,keyboard:!1,width:"56rem",maskClosable:!1,centered:!0},{default:(0,a.w5)((()=>[(0,a._)("div",P,[(0,a._)("div",b,[(0,a.wy)((0,a._)("input",{class:"rename_form_input",placeholder:e.$t("HistoryPage.inputContent2"),"onUpdate:modelValue":t[4]||(t[4]=t=>e.newCollectionName=t),onKeydown:t[5]||(t[5]=(0,s.D2)((t=>e.confrimRename()),["enter"]))},null,40,N),[[s.nr,e.newCollectionName]])]),(0,a._)("div",{class:"rename_submit_button",onClick:t[6]||(t[6]=t=>e.confrimRename())},(0,o.zw)(e.$t("HistoryPage.Submit")),1)])])),_:1},8,["visible","title"]),(0,a.Wm)(I)])}var S=i(2262),T=i(2339),x=i(6386),Z=i(329),z=i(9913),I=i(6214),L=i(7332),$=i(1446),U=i(327),Y=i(7729),G=i(8302),R=i(8552),W=(0,a.aZ)({components:{HeaderComponent:x.Z,HistoryDetail:Z.Z,RobotAssist:Y.Z},setup(){let e=(0,S.iH)([]),t=(0,S.iH)({});const i=(0,a.Fl)((()=>[{title:(0,R.QT)().t("HistoryPage.CollectionsName"),align:"center",ellipsis:!0,width:150,dataIndex:"name",key:"collectionName"},{title:(0,R.QT)().t("HistoryPage.UptateTime"),align:"center",ellipsis:!0,width:150,dataIndex:"updateDate",key:"updateTime",customRender:e=>{let t=(0,L.mr)(e.text/1e3,"YYYY-MM-DD hh:mm:ss");return t}},{title:(0,R.QT)().t("HistoryPage.SketchCounts"),align:"center",ellipsis:!0,width:150,dataIndex:"sketchCount",key:"sketchCounts"},{title:(0,R.QT)().t("HistoryPage.Operations"),key:"operation",align:"center",fixed:"right",width:150,Operations:!0}]));let o=(0,S.iH)([]),s={},{t:n}=(0,R.QT)();return{rangePickerValue:e,columns:i,collectionList:o,renameData:t,userInfo:s,t:n}},data(){return{currentPage:1,pageSize:10,total:0,historyTableHeight:0,newCollectionName:"",renameVisivle:!1,groupDetails:{},collectionName:"",searchCollectionName:""}},mounted(){let e=this.$refs.historyTable;this.historyTableHeight=e.clientHeight-130,this.getHistoryList(),this.userInfo=JSON.parse((0,T.ej)("userInfo")),83==this.userInfo.userId||z.Z.replace("/home")},methods:{turnToDetail(e){this.groupDetails=e.groupDetails;let t=this.$refs.historyDetail;this.collectionName=e.name,t.changeDetailShow()},changePage(e){this.currentPage=e.current,this.pageSize=e.pageSize,this.getHistoryList()},searchHistoryList(){this.currentPage=1,this.getHistoryList()},getHistoryList(){let e=this.rangePickerValue?new Date(this.rangePickerValue[0]).getTime():"",t=this.rangePickerValue?new Date(this.rangePickerValue[1]).getTime():"",i={page:this.currentPage,size:this.pageSize,collectionName:this.searchCollectionName,startDate:e,endDate:t};I.V.axiosPost(I.V.httpUrls.queryUserGroup,i).then((e=>{this.collectionList=e.content,this.total=e.total}))},deleteGroup(e,t){let i=(e,t)=>{let i={userGroupId:e};I.V.axiosPost(I.V.httpUrls.deleteUserGroup,i).then((e=>{$.ZP.success(this.t("HistoryPage.jsContent1")),this.collectionList.splice(t,1)}))};U.Z.confirm({title:this.t("HistoryPage.jsContent2"),icon:(0,a.Wm)(G.Z),okText:"Yes",cancelText:"No",centered:!0,mask:!1,onOk(){i(e.id,t)}})},renameCollection(e,t){this.renameVisivle=!0,this.renameData={...e,index:t}},confrimRename(){let e={timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userGroupId:this.renameData.id,userGroupName:this.newCollectionName};I.V.axiosPost(I.V.httpUrls.updateUserGroupName,e).then((e=>{$.ZP.success(this.t("HistoryPage.jsContent3")),this.collectionList[this.renameData.index].name=this.newCollectionName,this.collectionList[this.renameData.index].updateDate=e.updateDate,this.renameVisivle=!1,this.newCollectionName="",this.renameData={}}))},retrieveHome(e){this.$router.push({name:"home",params:{id:e.id}})}}}),O=i(3744);const Q=(0,O.Z)(W,[["render",V]]);var j=Q},5328:function(e,t,i){e.exports=i.p+"img/bg.5af7d92c.png"}}]); \ No newline at end of file diff --git a/dist/js/90.2f95d56b.js b/dist/js/90.2f95d56b.js deleted file mode 100644 index 448ffa0d..00000000 --- a/dist/js/90.2f95d56b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[90],{329:function(e,t,i){i.d(t,{Z:function(){return p}});var a=i(6252),o=i(9963);const s=(0,a._)("span",{class:"icon iconfont icon-guanbi"},null,-1),n=[s],l={class:"history_detail_content scroll_style"},r={class:"history_img_item"},c=["src"];function h(e,t,i,s,h,u){const m=(0,a.up)("a-modal");return(0,a.wg)(),(0,a.j4)(m,{class:"hsitory_detail_modal_component",visible:e.hsitoryDetailShow,"onUpdate:visible":t[1]||(t[1]=t=>e.hsitoryDetailShow=t),footer:null,title:e.collectionName,width:"80%",maskClosable:!1,keyboard:!1,centered:!0},{closeIcon:(0,a.w5)((()=>[(0,a._)("div",{class:"close_icon",onClick:t[0]||(t[0]=(0,o.iM)((t=>e.changeDetailShow()),["stop"]))},n)])),default:(0,a.w5)((()=>[(0,a._)("div",l,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.groupDetails,(e=>((0,a.wg)(),(0,a.iD)("div",{class:"history_img_block",key:e},[(0,a._)("div",r,[(0,a._)("img",{class:"element_img",src:e.url},null,8,c)])])))),128))])])),_:1},8,["visible","title"])}var u=(0,a.aZ)({props:{groupDetails:{default:{}},collectionName:{default:""}},setup(){},data(){return{hsitoryDetailShow:!1}},methods:{changeDetailShow(){this.hsitoryDetailShow=!this.hsitoryDetailShow}}}),m=i(3744);const d=(0,m.Z)(u,[["render",h]]);var p=d},1090:function(e,t,i){i.r(t),i.d(t,{default:function(){return M}});var a=i(6252),o=i(3577),s=i(9963),n=i(5328);const l={class:"history_page"},r={class:"page_content"},c=(0,a._)("img",{class:"page_content_bg",src:n},null,-1),h={class:"page_content_body"},u={class:"history_page_body"},m={class:"history_header"},d={class:"history_table_search"},p=(0,a._)("span",{class:"icon iconfont range_picker_icon icon-rili"},null,-1),g={class:"content_search_block"},_=["placeholder"],y=(0,a._)("span",{class:"icon iconfont icon-sousuo"},null,-1),D=[y],k={class:"history_table_content",ref:"historyTable"},v={key:0,class:"operate_list"},w=["onClick"],C=["onClick"],H=["onClick"],P=["onClick"],b={class:"collection_rename_content"},f={class:"rename_form_content"},N=["placeholder"];function V(e,t,i,n,y,V){const T=(0,a.up)("HeaderComponent"),S=(0,a.up)("a-range-picker"),x=(0,a.up)("a-table"),Z=(0,a.up)("HistoryDetail"),z=(0,a.up)("a-modal"),L=(0,a.up)("RobotAssist");return(0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("div",r,[c,(0,a._)("div",h,[(0,a.Wm)(T),(0,a._)("div",u,[(0,a._)("div",m,(0,o.zw)(e.$t("HistoryPage.History")),1),(0,a._)("div",d,[(0,a.Wm)(S,{class:"range_picker",value:e.rangePickerValue,"onUpdate:value":t[0]||(t[0]=t=>e.rangePickerValue=t),placeholder:[e.$t("HistoryPage.StartDate"),e.$t("HistoryPage.EndDate")],valueFormat:"YYYY-MM-DD"},{suffixIcon:(0,a.w5)((()=>[p])),_:1},8,["value","placeholder"]),(0,a._)("div",g,[(0,a.wy)((0,a._)("input",{class:"search_input",placeholder:e.$t("HistoryPage.inputContent1"),"onUpdate:modelValue":t[1]||(t[1]=t=>e.searchCollectionName=t),onKeydown:t[2]||(t[2]=(0,s.D2)((t=>e.searchHistoryList()),["enter"]))},null,40,_),[[s.nr,e.searchCollectionName]]),(0,a._)("div",{class:"search_icon_block",onClick:t[3]||(t[3]=t=>e.searchHistoryList())},D)])]),(0,a._)("div",k,[(0,a.Wm)(x,{columns:e.columns,"data-source":e.collectionList,scroll:{y:e.historyTableHeight},onChange:e.changePage,pagination:{showSizeChanger:!0,current:e.currentPage,pageSize:e.pageSize,total:e.total,showQuickJumper:!0,bordered:!1}},{bodyCell:(0,a.w5)((({column:t,text:i,record:s,index:n})=>[t?.Operations?((0,a.wg)(),(0,a.iD)("div",v,[(0,a._)("div",{class:"operate_item",onClick:t=>e.turnToDetail(s)},(0,o.zw)(e.$t("HistoryPage.Detail")),9,w),(0,a._)("div",{class:"operate_item",onClick:t=>e.renameCollection(s,n)},(0,o.zw)(e.$t("HistoryPage.Rename")),9,C),(0,a._)("div",{class:"operate_item",onClick:t=>e.retrieveHome(s)},(0,o.zw)(e.$t("HistoryPage.Retrieve")),9,H),(0,a._)("div",{class:"operate_item",onClick:t=>e.deleteGroup(s,n)},(0,o.zw)(e.$t("HistoryPage.Delete")),9,P)])):(0,a.kq)("",!0)])),_:1},8,["columns","data-source","scroll","onChange","pagination"])],512)])])]),(0,a.Wm)(Z,{ref:"historyDetail",groupDetails:e.groupDetails,collectionName:e.collectionName},null,8,["groupDetails","collectionName"]),(0,a.Wm)(z,{class:"rename_modal_component",visible:e.renameVisivle,"onUpdate:visible":t[7]||(t[7]=t=>e.renameVisivle=t),footer:null,title:e.renameData?.name,keyboard:!1,width:"56rem",maskClosable:!1,centered:!0},{default:(0,a.w5)((()=>[(0,a._)("div",b,[(0,a._)("div",f,[(0,a.wy)((0,a._)("input",{class:"rename_form_input",placeholder:e.$t("HistoryPage.inputContent2"),"onUpdate:modelValue":t[4]||(t[4]=t=>e.newCollectionName=t),onKeydown:t[5]||(t[5]=(0,s.D2)((t=>e.confrimRename()),["enter"]))},null,40,N),[[s.nr,e.newCollectionName]])]),(0,a._)("div",{class:"rename_submit_button",onClick:t[6]||(t[6]=t=>e.confrimRename())},(0,o.zw)(e.$t("HistoryPage.Submit")),1)])])),_:1},8,["visible","title"]),(0,a.Wm)(L)])}var T=i(2262),S=i(7365),x=i(329),Z=i(9913),z=i(6214),L=i(7332),$=i(1446),U=i(327),Y=i(7729),I=i(8302),G=i(8552),R=(0,a.aZ)({components:{HeaderComponent:S.Z,HistoryDetail:x.Z,RobotAssist:Y.Z},setup(){let e=(0,T.iH)([]),t=(0,T.iH)({});const i=(0,a.Fl)((()=>[{title:(0,G.QT)().t("HistoryPage.CollectionsName"),align:"center",ellipsis:!0,width:150,dataIndex:"name",key:"collectionName"},{title:(0,G.QT)().t("HistoryPage.UptateTime"),align:"center",ellipsis:!0,width:150,dataIndex:"updateDate",key:"updateTime",customRender:e=>{let t=(0,L.mr)(e.text/1e3,"YYYY-MM-DD hh:mm:ss");return t}},{title:(0,G.QT)().t("HistoryPage.SketchCounts"),align:"center",ellipsis:!0,width:150,dataIndex:"sketchCount",key:"sketchCounts"},{title:(0,G.QT)().t("HistoryPage.Operations"),key:"operation",align:"center",fixed:"right",width:150,Operations:!0}]));let o=(0,T.iH)([]),s={},{t:n}=(0,G.QT)();return{rangePickerValue:e,columns:i,collectionList:o,renameData:t,userInfo:s,t:n}},data(){return{currentPage:1,pageSize:10,total:0,historyTableHeight:0,newCollectionName:"",renameVisivle:!1,groupDetails:{},collectionName:"",searchCollectionName:""}},mounted(){let e=this.$refs.historyTable;this.historyTableHeight=e.clientHeight-130,this.getHistoryList(),Z.Z.replace("/login")},methods:{turnToDetail(e){this.groupDetails=e.groupDetails;let t=this.$refs.historyDetail;this.collectionName=e.name,t.changeDetailShow()},changePage(e){this.currentPage=e.current,this.pageSize=e.pageSize,this.getHistoryList()},searchHistoryList(){this.currentPage=1,this.getHistoryList()},getHistoryList(){let e=this.rangePickerValue?new Date(this.rangePickerValue[0]).getTime():"",t=this.rangePickerValue?new Date(this.rangePickerValue[1]).getTime():"",i={page:this.currentPage,size:this.pageSize,collectionName:this.searchCollectionName,startDate:e,endDate:t};z.V.axiosPost(z.V.httpUrls.queryUserGroup,i).then((e=>{this.collectionList=e.content,this.total=e.total}))},deleteGroup(e,t){let i=(e,t)=>{let i={userGroupId:e};z.V.axiosPost(z.V.httpUrls.deleteUserGroup,i).then((e=>{$.ZP.success(this.t("HistoryPage.jsContent1")),this.collectionList.splice(t,1)}))};U.Z.confirm({title:this.t("HistoryPage.jsContent2"),icon:(0,a.Wm)(I.Z),okText:"Yes",cancelText:"No",centered:!0,mask:!1,onOk(){i(e.id,t)}})},renameCollection(e,t){this.renameVisivle=!0,this.renameData={...e,index:t}},confrimRename(){let e={timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userGroupId:this.renameData.id,userGroupName:this.newCollectionName};z.V.axiosPost(z.V.httpUrls.updateUserGroupName,e).then((e=>{$.ZP.success(this.t("HistoryPage.jsContent3")),this.collectionList[this.renameData.index].name=this.newCollectionName,this.collectionList[this.renameData.index].updateDate=e.updateDate,this.renameVisivle=!1,this.newCollectionName="",this.renameData={}}))},retrieveHome(e){this.$router.push({name:"home",params:{id:e.id}})}}}),W=i(3744);const Q=(0,W.Z)(R,[["render",V]]);var M=Q},5328:function(e,t,i){e.exports=i.p+"img/bg.5af7d92c.png"}}]); \ No newline at end of file diff --git a/dist/js/app.8a81ae06.js b/dist/js/app.34b01207.js similarity index 97% rename from dist/js/app.8a81ae06.js rename to dist/js/app.34b01207.js index 2538107f..c48e745d 100644 --- a/dist/js/app.8a81ae06.js +++ b/dist/js/app.34b01207.js @@ -1 +1 @@ -(function(){var e={2450:function(e,t,n){"use strict";var o=n(9963),i=n(6252);function a(e,t){const n=(0,i.up)("router-view");return(0,i.wg)(),(0,i.j4)(n)}var l=n(3744);const s={},r=(0,l.Z)(s,[["render",a]]);var c=r,m=n(9913),u=n(3907),d=n(1446);const h={state:{moodboard:[],disposeMoodboard:[],moodboardFiles:[],moodboardGenerateFiles:[],moodboardMaterialFiles:[],sketchboard:[],sketchboardFiles:[],sketchGenerateFiles:[],sketchMaterialFiles:[],showSketchboard:[],printboard:[],printboardFiles:[],printGenerateFiles:[],printMaterialFiles:[],colorBoards:[],marketingSketchFiles:[],allBoardData:{},moodTemplateId:""},mutations:{setMoodboardFile(e,t){e.moodboardFiles=t,e.moodboard=[...e.moodboardFiles,...e.moodboardGenerateFiles,...e.moodboardMaterialFiles]},setDisposeMoodboard(e,t){e.disposeMoodboard=[t]},setMoodboardGenerateFiles(e,t){e.moodboardGenerateFiles=t,e.moodboard=[...e.moodboardFiles,...e.moodboardGenerateFiles,...e.moodboardMaterialFiles]},setMoodboardMaterialFiles(e,t){e.moodboardMaterialFiles=t,e.moodboard=[...e.moodboardFiles,...e.moodboardGenerateFiles,...e.moodboardMaterialFiles]},addGenerateMaterialFils(e,t){let n,o,i=8;if("Sketchboard"==t.type_.type2&&(i=20),"generate"==t.type_.type1?(t.resData.designType="Generate","Moodboard"==t.type_.type2?n=e.moodboardGenerateFiles:"Sketchboard"==t.type_.type2?n=e.sketchGenerateFiles:"Printboard"==t.type_.type2&&(n=e.printGenerateFiles)):(t.resData.designType="Library","Moodboard"==t.type_.type2?n=e.moodboardMaterialFiles:"Sketchboard"==t.type_.type2?n=e.sketchMaterialFiles:"Printboard"==t.type_.type2&&(n=e.printMaterialFiles)),o="Moodboard"==t.type_.type2?e.moodboard:"Sketchboard"==t.type_.type2?e.sketchboard:e.printboard,0==n.length)o.length>=i?d.ZP.warning(t.jsContent1):(t.checked=!0,n.push(t));else{let e=!0;for(let o=0;o=i?d.ZP.warning(t.jsContent1):(t.checked=!0,n.push(t)):(t.checked=!1,n=n.filter((e=>e.id!=t.id)))}"generate"==t.type_.type1?"Moodboard"==t.type_.type2?e.moodboardGenerateFiles=n:"Sketchboard"==t.type_.type2?e.sketchGenerateFiles=n:"Printboard"==t.type_.type2&&(e.printGenerateFiles=n):"Moodboard"==t.type_.type2?e.moodboardMaterialFiles=n:"Sketchboard"==t.type_.type2?e.sketchMaterialFiles=n:"Printboard"==t.type_.type2&&(e.printMaterialFiles=n),e.moodboard=[...e.moodboardFiles,...e.moodboardGenerateFiles,...e.moodboardMaterialFiles],e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles],e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setSketchboardFile(e,t){e.sketchboardFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setSketchboardGenerateFiles(e,t){e.sketchGenerateFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setSketchboardMaterialFiles(e,t){e.sketchMaterialFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setShowSketchboard(e,t){e.showSketchboard=t},clearShowSketchboard(e,t){e.showSketchboard=[]},setPrintboardFile(e,t){e.printboardFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setPrintboardGenerateFiles(e,t){e.printGenerateFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setPrintboardMaterialFiles(e,t){e.printMaterialFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setColorboardList(e,t){e.colorBoards=t},setMarketingSketchFile(e,t){e.marketingSketchFiles=t},setAllBoardData(e){e.allBoardData={moodboardFiles:e.moodboard,disposeMoodboard:e.disposeMoodboard,printboardFiles:e.printboard,colorBoards:e.colorBoards,sketchboardFiles:e.sketchboard,marketingSketchFiles:e.marketingSketchFiles,moodTemplateId:e.moodTemplateId}},setAllBoardDataChoose(e,t){e.allBoardData=t},clearAllData(e){e.moodboard=[],e.moodboardFiles=[],e.moodboardGenerateFiles=[],e.moodboardMaterialFiles=[],e.sketchboard=[],e.sketchboardFiles=[],e.sketchGenerateFiles=[],e.sketchMaterialFiles=[],e.printboard=[],e.printboardFiles=[],e.printGenerateFiles=[],e.printMaterialFiles=[],e.colorBoards=[],e.marketingSketchFiles=[],e.moodTemplateId="",e.disposeMoodboard=[]},clearAllId(e){e.moodboard.forEach((e=>{delete e.id_})),e.sketchboard.forEach((e=>{delete e.id_})),e.printboard.forEach((e=>{delete e.id_}))},setMoodTemplateId(e,t){e.moodTemplateId=t},clearMoodTemplateId(e){e.disposeMoodboard=[]}},actions:{}};var C=h;const p={state:{designItemDetail:{},designPreviewData:{}},mutations:{setDesignItemDetail(e,t){e.designItemDetail=t},setDesignItemColthes(e,t){e.designItemDetail.clothes[t.index]=t.clothes},setDesignItemOthers(e,t){e.designItemDetail.others[t.index]=t.others},setDesignPreviewData(e,t){e.designPreviewData=t}},actions:{}};var g=p;const b={state:{designCollectionList:[],likeDesignCollectionList:[],userGroupId:"",designCollectionId:"",templateId:"",templateImgUrl:"",designId:"",showSketchList:[]},mutations:{setshowSketchList(e,t){e.showSketchList=t},setDesignCollectionList(e,t){e.designCollectionList=t},setLikeDesignCollectionList(e,t){e.likeDesignCollectionList=t},setSingleDesignCollectionList(e,t){e.designCollectionList[t.index]=t.design},setSingleLikeDesignCollectionList(e,t){e.likeDesignCollectionList[t.index]=t.design},addDesignCollectionList(e,t){e.designCollectionList.push(t)},addLikeDesignCollectionList(e,t){e.likeDesignCollectionList.push(t)},deleteDesignCollectionList(e,t){e.designCollectionList.splice(t,1)},deleteLikeDesignCollectionList(e,t){e.likeDesignCollectionList.splice(t,1)},setUserGroupId(e,t){e.userGroupId=t},deleteUserGroupId(e){e.userGroupId=""},setDesignCollectionId(e,t){e.designCollectionId=t},deleteDesignCollectionId(e,t){e.designCollectionId=""},setDesignId(e,t){e.designId=t},deleteDesignId(e){e.designId=""},clearAllCollection(e){e.designCollectionList=[],e.likeDesignCollectionList=[],e.designCollectionId=""},setTemplateData(e,t){e.templateId=t.id,e.templateImgUrl=t.url},clearTemplateData(e){e.templateId="",e.templateImgUrl=""}},actions:{}};var j=b;const v={state:{clothingType:[]},mutations:{res_clothingType(e,t){e.clothingType=t}},actions:{get_clothingType(e){var t=[{id:11,name:"nv"},{id:22,name:"nan"}];e.commit("res_clothingType",t)}}};var M=v;const y={state:{workspace:{},workspaceSex:{},workspacePosition:{}},mutations:{setWorkspace(e,t){e.workspace=t},setWorkspaceSex(e,t){e.workspaceSex=t},setWorkspacePosition(e,t){e.workspacePosition=t}},actions:{}};var S=y;const f={state:{guide:0},mutations:{setGuide(e,t){e.guide=t}},actions:{}};var P=f,L=(0,u.MT)({state:{},getters:{},mutations:{},actions:{},modules:{UploadFilesModule:C,DesignDetailModule:g,HomeStoreModule:j,UserHabit:M,Workspace:S,Guide:P}});n(6791);let D=(e,t,n)=>{var o,i=document,a=window,l=i.documentElement,s=document.createElement("style");function r(){var o=l.getBoundingClientRect().width;t=t||1920,o>t&&(o=t),o>t&&(o=t),o",userName:"Trial User",loginIsTest:"You are a trial user, Probation period until{date}. For the security of users' data, we do not save any personal data uploaded by trial users, and will erase personal data after each logout. if you need to subscribe, please click ->",image:"Because you are a trial user, you can only upload 10 images"},setLabel:{EditTag:"Edit tag",jsContent1:"Please enter a tag name"}},k={Header:{hello:"你好",HOME:"首页",LIBRARY:"收藏",HISTORY:"历史",bindEmail:"绑定邮箱",logOff:"退出登录",language:"中文",skip:"跳过",emailContent:"你绑定了的邮箱",Email:"邮箱",NextStep:"下一步",verification:"输入验证码",SentTo:"发送",Resend:"重发",jsContent1:"邮箱格式不正确",jsContent2:"绑定邮箱成功",jsContent3:"已经长时间未操作,您必须活跃起来,否则将会在{numTime} S 后退出登录"},Habit:{Workspace:"工作空间",WorkspaceSetting:"设置工作空间",settingWorkspace:"调整您的工作空间",Overall:"整体",Single:"单件",System:"系统",Designer:"设计师",Mannequin:"模特",Current:"当前",User:"用户",jsContent1:"是否删除指定工作空间",jsContent2:"请输入当前工作空间的名字"},RobotAssist:{inputContent1:"问我什么都行~",jsContent1:"请输入生成内容~"},HomeView:{GetStarted:"开始设计",Start:"重新开始",Edit:"编辑",Design:"设计",Redesign:"重新设计",GeneratedDesign:"生成的设计",SelectedDesign:"喜欢的设计",Export:"导出",moodboard:"情绪板",printboard:"印刷板",colorboard:"调色板",sketchboard:"素描板",mannequins:"人体模型",jsContent1:"您必须选择一种或多种颜色进行下一步。",jsContent2:"您必须选择一种或多种颜色进行下一步。",jsContent3:"导出文件失败。"},LibraryPage:{Organize:"我的",Upload:"上传",Generate:"生成",Delete:"删除",Rename:"编辑",Point:"点",inputContent1:"输入名字进行搜索",intersection:"交集",Select:"选择",NoLabel:"空标签",unionSet:"并集",all:"全选",ImageOnly:"图片",TextOnly:"文字",TextImage:"图片-文字",inputContent2:"输入生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",Model1:"模型1",Model2:"模型2",inputContent3:"输入生成图片的标题",Cancel:"取消",Sure:"确定",Moodboard:"情绪板",Prints:"印花",Sketches:"服装",Mannequins:"模特",model:"模型",jsContent1:"你确定要删除选中图片吗?",jsContent2:"你确定要删除选中图片吗?",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"图片已经上传是否继续上传",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~",jsContent8:"上传失败",jsContent9:"请输入内容~"},HistoryPage:{History:"历史",StartDate:"开始日期",EndDate:"结束日期",inputContent1:"输入名字进行搜索",Detail:"细节",Rename:"重命名",Retrieve:"选择",Delete:"删除",inputContent2:"请输入新名称",Submit:"保存",CollectionsName:"名字",UptateTime:"修改时间",SketchCounts:"草图数量",Operations:"Operations",jsContent1:"删除成功",jsContent2:"您确定要删除这个收藏吗?",jsContent3:"修改成功",jsContent4:"图片必须小于2MB",jsContent5:"图片已经上传是否继续上传",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~"},ModelPlacement:{Registration:"新增模特",Submit:"保存",Preview:"预览",Back:"Back",Restore:"重置",System:"系统",Library:"收藏",Point:"点位",RemovePoint:"删除点位",mannequinHint:"模特背景图片请使用白色或者其他颜色来增强效果",SHOULDER:"肩膀",WAISTBAND:"腰部",HAND:"手",jsContent1:"您还没有保存,模特不会上传,确定要继续吗?",jsContent2:"图片已经上传是否继续上传"},ModelPlacementMobile:{Registration:"新增模特",Submit:"保存",Preview:"预览",Back:"Back",Restore:"重置",System:"系统",Library:"收藏",Point:"点位",RemovePoint:"删除点位",mannequinHint:"模特背景图片请使用白色或者其他颜色来增强效果",SHOULDER:"肩膀",WAISTBAND:"腰部",HAND:"手",jsContent1:"您还没有保存,模特不会上传,确定要继续吗?",jsContent2:"图片已经上传是否继续上传"},Upload:{Delete:"删除",Maximum2M:"您最多可以上传10张照片,每张照片不能超过2MB",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"上传失败"},SketchboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",PIN:"PIN",Maximum:"最多可上传{maxImg}张图片,每张图片最大2M",Thumbnail:"选择的服装缩略图",inputContent1:"生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",jsContent1:"上传失败",jsContent2:"您只能上传图片文件!",jsContent3:"图片必须小于2MB",jsContent4:"超过允许上传的最大图片数量",jsContent5:"请选择一张图片",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~"},PrintboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",PIN:"PIN",Maximum:"最多可上传8张图片,每张图片最大2M",Thumbnail:"选择的印花缩略图",inputContent1:"生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"超过允许上传的最大图片数量",jsContent4:"请选择一张图片",jsContent5:"输入的内容超过允许输入的最大长度",jsContent6:"请输入内容~"},ColorboardUpload:{Thumbnail:"选择的颜色缩略图",Clear:"清除",Palette:"调色板",HEX:"HEX",RGBA:"RGBA",UploadImage:"上传图片",ColorCode:"颜色代码",ExtractColor:"提取颜色",jsContent1:"您的浏览器不支持",jsContent2:"找不到这个TCX的颜色",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"请输入正确的TCX值"},MoodboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",Delete:"删除",Maximum:"最多可上传8张图片,每张图片最大2M",Thumbnail:"选择的情绪板缩略图",layout:"布局",jsContent1:"您最多可以选择8张图片",jsContent2:"上传失败",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"请点击布局进行随机排序"},Cropper:{Cutpicture:"切图",Finish:"完成",Cancel:"取消",CropPreview:"缩略图"},Material:{inputContent1:"输入名字进行搜索",PIN:"PIN"},MarketingSketchUpload:{Upload:"上传",MyLibrary:"我的收藏",maximumLength:"最多可以上传15张照片,每张照片不能超过2MB",jsContent1:"上传失败",jsContent2:"您只能上传图片文件!",jsContent3:"图片必须小于2MB",jsContent5:"超过允许上传的最大图片数量"},layout:{MoodBoardDesign:"设计情绪板",LayerOptions:"图层选项",Submit:"保存"},Generate:{ImageOnly:"图片",TextOnly:"文字",TextImage:"图片-文字",Model1:"模型1",Model2:"模型2",inputContent1:"输入生成图片的标题",Generate:"生成",maximumLength:"输入的内容超过允许输入的最大长度",Model:"模型",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"请输入内容~",jsContent4:"输入的内容超过允许输入的最大长度",jsContent5:"请输入内容~",jsContent6:"您最多可以选择8张图片",jsContent7:"上传失败"},collectionModal:{Moodboard:"情绪板",Printboard:"印花板",Colorboard:"颜色板",Sketchboard:"服装板块",MoodCollection:"选择需要收藏的情绪板",PrinCollection:"选择需要收藏的印花板",ColorCollection:"选择需要收藏的颜色板",SketchCollection:"选择需要收藏的服装板",jsContent1:"因为您选择了多张图片,请点击布局后继续.",jsContent2:"上传的文件不会保存,是否继续? ",jsContent3:"您必须选择一种或多种颜色进行下一步。"},DesignDetail:{Details:"详情",EditDetails:"编辑设计的细节",Submit:"保存",CurrentApparel:"当前服装",CurrentPrint:"当前印花",CurrentColor:"当前颜色"},DesignDetailAlter:{Upload:"上传",Library:"收藏",inputContent1:"输入名字进行搜索",Palette:"调色板",HEX:"HEX",RGBA:"RGBA",UploadImage:"上传图片",Delete:"删除",ColorCode:"颜色代码",jsContent1:"您的浏览器不支持",jsContent2:"您最多可以选择8张图片",jsContent3:"上传失败",jsContent4:"您只能上传图片文件!",jsContent5:"Image must smaller than 5MB!",jsContent6:"找不到这个TCX的颜色"},DesignDetailEnd:{NewApparel:"选择的服装",NewPrint:"选择的印花",Placement:"模式",Overall:"整体",Single:"单个",NewColor:"选择的颜色",preview:"预览",Layout:"布局",jsContent1:"请选择印个印花"},DesignPrintOperation:{Placement:"调整位置",Overall:"整体",Single:"比例",Scale:"Scale",Random:"随机",inputContent:"输入名字进行搜索",preview:"预览",jsContent1:"以上操作没有保存,是否继续? "},uploadFile:{jsContent1:"您最多可以选择{maxImg}张图片哦"},isTest:{available:"此功能对试用用户不可用。",src:"此功能对试用用户不开放,请点击进行订阅。->",userName:"试用用户",loginIsTest:"您是试用用户,试用期到 {date}。为了用户数据的安全,我们不会保存试用用户上传的任何个人数据,并会在每次注销后擦除个人数据。如果您需要订阅,请点击 ->",image:"由于您是试用用户,您只能上传10张图片。"},setLabel:{EditTag:"编辑标签",jsContent1:"请输入标签名称"}},H={Header:{hello:"안녕하세요",HOME:"첫 장",LIBRARY:"도서관",HISTORY:"역사",bindEmail:"이메일 바인딩",logOff:"로그 오프",language:"한국어",skip:"건너뛰다",emailContent:"당신은 이메일을 바인딩했습니다",Email:"이메일",NextStep:"다음 단계",verification:"인증코드를 입력하세요",SentTo:"전송",Resend:"재전송",jsContent1:"이메일 형식이 올바르지 않습니다.",jsContent2:"메일함 바인딩에 성공했습니다.",jsContent3:"오랫동안 어떤 작업도 수행하지 않았습니다. 활성 상태여야 합니다. 그렇지 않으면 {numTime}초 후에 로그아웃됩니다."},Habit:{Workspace:"작업공간",WorkspaceSetting:"작업공간 설정",settingWorkspace:"작업 공간 설정을 조정하세요",Overall:"전반적인",Single:"하나의",System:"체계",Designer:"디자이너",Mannequin:"마네킹",Current:"현재의",User:"사용자",jsContent1:"작업공간 삭제 여부?",jsContent2:"작업대 이름을 입력하세요."},RobotAssist:{inputContent1:"메시지를 쓰다~",jsContent1:"내용을 입력해주세요"},HomeView:{GetStarted:"시작하다",Start:"시작",Edit:"편집하다",Design:"설계",Redesign:"디자인재설계",GeneratedDesign:"생성된 디자인",SelectedDesign:"선택된 디자인",Export:"내보내다",moodboard:"무드보드",printboard:"인쇄판",colorboard:"컬러보드",sketchboard:"스케치보드",mannequins:"마네킹",jsContent1:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다.",jsContent2:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다.",jsContent3:"파일을 내보내지 못했습니다."},LibraryPage:{Organize:"구성",Upload:"업로드",Generate:"생성하다",Delete:"삭제",Rename:"편집하다",Point:"점",inputContent1:"스타일 코드로 검색",intersection:"교차로",Select:"선택",NoLabel:"라벨 없음",unionSet:"결합 세트",all:"모두",ImageOnly:"이미지만",TextOnly:"텍스트만",TextImage:"텍스트-이미지",inputContent2:"프롬프트 입력",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",Model1:"모델1",Model2:"모델2",inputContent3:"프롬프트 입력",Cancel:"취소",Sure:"확신하는",Moodboard:"무드보드",Prints:"인쇄물",Sketches:"스케치",Mannequins:"마네킹",model:"모델",jsContent1:"사진을 삭제하시겠습니까?",jsContent2:"사진을 삭제하시겠습니까?",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"이 사진은 업로드 되었습니다 계속 업로드 여부?",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요",jsContent8:"업로드 실패",jsContent9:"내용을 입력해주세요"},HistoryPage:{History:"역사",StartDate:"시작일",EndDate:"종료일",inputContent1:"컬렉션 이름으로 검색",Detail:"세부 사항",Rename:"이름 바꾸기",Retrieve:"검색하다",Delete:"삭제",inputContent2:"새 이름을 입력하세요.",Submit:"제출하다",CollectionsName:"컬렉션 이름",UptateTime:"업데이트 시간",SketchCounts:"스케치 수",Operations:"운영",jsContent1:"삭제되었습니다.",jsContent2:"이 컬렉션을 삭제하시겠습니까?? ",jsContent3:"성공적으로 변경되었습니다.",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"이 사진은 업로드 되었습니다 계속 업로드 여부?",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요"},ModelPlacement:{Registration:"등록",Submit:"제출하다",Preview:"시사",Back:"뒤쪽에",Restore:"복원하다",System:"체계",Library:"도서관",Point:"가리키다",RemovePoint:"포인트 제거",mannequinHint:"더 나은 경험을 위해 마네킹 내부의 순백색을 다른 색상으로 바꿔주세요.",SHOULDER:"어깨",WAISTBAND:"허리띠",HAND:"손",jsContent1:"아직 이미지를 표시하지 않았으므로 모델이 업로드되지 않습니다. 닫으시겠습니까??",jsContent2:"이 사진은 업로드 되었습니다 계속 업로드 여부?"},ModelPlacementMobile:{Registration:"등록",Submit:"제출하다",Preview:"시사",Back:"뒤쪽에",Restore:"복원하다",System:"체계",Library:"도서관",Point:"가리키다",RemovePoint:"포인트 제거",mannequinHint:"더 나은 경험을 위해 마네킹 내부의 순백색을 다른 색상으로 바꿔주세요.",SHOULDER:"어깨",WAISTBAND:"허리띠",HAND:"손",jsContent1:"아직 이미지를 표시하지 않았으므로 모델이 업로드되지 않습니다. 닫으시겠습니까??",jsContent2:"이 사진은 업로드 되었습니다 계속 업로드 여부?"},Upload:{Delete:"삭제",Maximum2M:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"업로드 실패"},SketchboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",PIN:"PIN",Maximum:"최대 {maxImg}개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 스케치보드의 썸네일 미리보기",inputContent1:"캡션 생성",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",jsContent1:"업로드 실패",jsContent2:"이미지 파일만 업로드할 수 있습니다!",jsContent3:"이미지는 2MB보다 작아야 합니다!",jsContent4:"허용되는 최대 파일 업로드 수가 초과되었습니다.",jsContent5:"사진을 선택해주세요",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요"},PrintboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",PIN:"PIN",Maximum:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 프린트보드의 썸네일 미리보기",inputContent1:"캡션 생성",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"허용되는 최대 파일 업로드 수가 초과되었습니다.",jsContent4:"사진을 선택해주세요",jsContent5:"입력한 내용이 최대 길이를 초과했습니다.",jsContent6:"내용을 입력해주세요"},ColorboardUpload:{Thumbnail:"선택한 컬러보드의 썸네일 미리보기",Clear:"분명한",Palette:"팔레트",HEX:"HEX",RGBA:"RGBA",UploadImage:"이미지 업로드",ColorCode:"색상 코드",ExtractColor:"색상 추출",jsContent1:"귀하의 브라우저는 이를 지원하지 않습니다",jsContent2:"TCX 색상을 찾을 수 없습니다",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:'올바른 TCX 값을 입력하세요"'},MoodboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",Delete:"삭제",Maximum:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 무드보드의 썸네일 미리보기",layout:"정렬하려면",jsContent1:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent2:"업로드 실패",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"무작위로 정렬하려면 레이아웃을 클릭하세요."},Cropper:{Cutpicture:"컷 그림",Finish:"마치다",Cancel:"취소",CropPreview:"자르기 미리보기"},Material:{inputContent1:"입력해주세요",PIN:"PIN"},MarketingSketchUpload:{Upload:"업로드",MyLibrary:"나의 신문",maximumLength:"최대 15개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",jsContent1:"업로드 실패",jsContent2:"이미지 파일만 업로드할 수 있습니다!",jsContent3:"이미지는 2MB보다 작아야 합니다!",jsContent5:"허용되는 최대 파일 업로드 수가 초과되었습니다."},layout:{MoodBoardDesign:"무드보드 디자인",LayerOptions:"레이어 옵션",Submit:"제출하다"},Generate:{ImageOnly:"이미지만",TextOnly:"텍스트만",TextImage:"텍스트-이미지",Model1:"모델1",Model2:"모델2",inputContent1:"프롬프트 입력",Generate:"생성하다",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",Model:"모델1",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"내용을 입력해주세요",jsContent4:"입력한 내용이 최대 길이를 초과했습니다.",jsContent5:"내용을 입력해주세요",jsContent6:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent7:"업로드 실패"},collectionModal:{Moodboard:"무드보드",Printboard:"프린트보드",Colorboard:"컬러보드",Sketchboard:"스케치보드",MoodCollection:"컬렉션에 대한 무드보드를 선택하세요",PrinCollection:"컬렉션을 위한 프린트보드를 선택하세요",ColorCollection:"컬렉션의 색상을 선택하세요",SketchCollection:"컬렉션에 사용할 스케치보드를 선택하세요",jsContent1:"여러 이미지를 선택했으므로 계속하려면 '레이아웃'을 클릭하세요.",jsContent2:"업로드한 파일은 저장되지 않습니다. 계속하시겠습니까? ",jsContent3:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다."},DesignDetail:{Details:"세부",EditDetails:"디자인의 세부 사항을 편집하세요",Submit:"제출하다",CurrentApparel:"현재 의류",CurrentPrint:"현재 인쇄",CurrentColor:"현재 색상"},DesignDetailAlter:{Upload:"업로드",Library:"도서관",inputContent1:"입력해주세요",Palette:"팔레트",HEX:"HEX",RGBA:"RGBA",UploadImage:"이미지 업로드",Delete:"삭제",ColorCode:"색상 코드",jsContent1:"귀하의 브라우저는 이를 지원하지 않습니다",jsContent2:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent3:"업로드 실패",jsContent4:"이미지 파일만 업로드할 수 있습니다!",jsContent5:"이미지는 5MB보다 작아야 합니다.!",jsContent6:"TCX 색상을 찾을 수 없습니다"},DesignDetailEnd:{NewApparel:"새로운 의류",NewPrint:"새 인쇄",Placement:"놓기",Overall:"전반적인",Single:"하나의",NewColor:"새로운 색상",preview:"시사",Layout:"정렬하려면",jsContent1:"인쇄를 선택해주세요"},DesignPrintOperation:{Placement:"놓기",Overall:"전반적인",Single:"하나의",Scale:"규모",Random:"무작위의",inputContent:"입력해주세요",preview:"시사",jsContent1:"위 변경사항이 저장되지 않았습니다. 계속하시겠습니까? "},uploadFile:{jsContent1:"최대 {maxImg}개의 이미지를 선택할 수 있습니다."},isTest:{available:"이 기능은 체험 사용자에게 제공되지 않습니다。",src:"이 기능은 체험 사용자에게 열려 있지 않으며, 구독이 필요한 경우,를 클릭하세요. ->",userName:"체험 사용자",loginIsTest:"체험 사용자이며, 시험 기간은 {date}까지입니다. 사용자 데이터의 안전을 위해 체험 사용자가 업로드 한 개인 데이터는 저장하지 않으며, 로그 아웃 후 개인 데이터를 지웁니다. 구독이 필요한 경우,를 클릭하세요. ->",image:"체험 사용자이기 때문에 10개의 이미지만 업로드 할 수 있습니다."},setLabel:{EditTag:"태그 편집",jsContent1:"태그 이름을 입력하세요"}},A={Header:{hello:"こんにちは",HOME:"ホームページ",LIBRARY:"集める",HISTORY:"歴史",bindEmail:"電子メールをバインドする",logOff:"ログオフ",language:"日本語",skip:"スキップ",emailContent:"電子メールをバインドしました",Email:"Eメール",NextStep:"次のステップ",verification:"確認コードを入力してください",SentTo:"に送信された",Resend:"再送信",jsContent1:"メールの形式が間違っています",jsContent2:"メールボックスのバインドに成功しました。",jsContent3:"長期間操作を行っていません。アクティブである必要があります。そうでない場合は、{numTime} S でログアウトします。"},Habit:{Workspace:"ワークスペース",WorkspaceSetting:"ワークスペースの設定",settingWorkspace:"ワークスペース設定を調整する",Overall:"全体",Single:"シングル",System:"システム",Designer:"デザイナー",Mannequin:"マネキン",Current:"現在",User:"ユーザー",jsContent1:"ワークスペースを削除するかどうか?",jsContent2:"ワークベンチ名を入力してください"},RobotAssist:{inputContent1:"メッセージを書いてください~",jsContent1:"内容を入力してください"},HomeView:{GetStarted:"始めましょう",Start:"始める",Edit:"編集",Design:"デザイン",Redesign:"再設計",GeneratedDesign:"生成されたデザイン",SelectedDesign:"選択されたデザイン",Export:"輸出",moodboard:"ムードボード",printboard:"プリント基板",colorboard:"カラーボード",sketchboard:"スケッチボード",mannequins:"マネキン",jsContent1:"以降の処理には 1 つ以上の色を選択する必要があります。",jsContent2:"以降の処理には 1 つ以上の色を選択する必要があります。",jsContent3:"ファイルのエクスポートに失敗しました"},LibraryPage:{Organize:"編成",Upload:"アップロード",Generate:"生成する",Delete:"消去",Rename:"編集",Point:"ポイント",inputContent1:"スタイルコードで検索",intersection:"交差点",Select:"選択",NoLabel:"ラベルなし",unionSet:"ユニオンセット",all:"全て",ImageOnly:"画像のみ",TextOnly:"テキストのみ",TextImage:"テキスト-画像",inputContent2:"プロンプト入力",maximumLength:"入力した内容が最大長を超えています.",Model1:"モデル1",Model2:"モデル2",inputContent3:"プロンプト入力",Cancel:"キャンセル",Sure:"もちろん",Moodboard:"ムードボード",Prints:"プリント",Sketches:"スケッチ",Mannequins:"マネキン",model:"モデル",jsContent1:"画像を削除してもよろしいですか?",jsContent2:"画像を削除してもよろしいですか?",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"この写真はアップロードされました。アップロードを続けるかどうか?",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください",jsContent8:"アップロードに失敗しました",jsContent9:"内容を入力してください"},HistoryPage:{History:"歴史",StartDate:"開始日",EndDate:"終了日",inputContent1:"コレクション名で検索",Detail:"詳細",Rename:"名前の変更",Retrieve:"取得",Delete:"消去",inputContent2:"新しい名前を入力してください",Submit:"提出す",CollectionsName:"コレクション名",UptateTime:"更新時間",SketchCounts:"スケッチ数",Operations:"オペレーション",jsContent1:"正常に削除されました",jsContent2:"本当にこのコレクションを削除してもよろしいですか? ",jsContent3:"正常に変更されました",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"この写真はアップロードされました。アップロードを続けるかどうか?",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください"},ModelPlacement:{Registration:"登録",Submit:"提出す",Preview:"プレビュー",Back:"戻る",Restore:"復元する",System:"システム",Library:"集める",Point:"ポイント",RemovePoint:"ポイントの削除",mannequinHint:"体験を向上させるために、マネキン内の純白を別の色に変更してください。",SHOULDER:"ショルダー",WAISTBAND:"ウエストバンド",HAND:"手",jsContent1:"画像にまだマークを付けていないため、モデルはアップロードされません。閉じてもよろしいですか?",jsContent2:"この写真はアップロードされました。アップロードを続けるかどうか?"},ModelPlacementMobile:{Registration:"登録",Submit:"提出す",Preview:"プレビュー",Back:"戻る",Restore:"復元する",System:"システム",Library:"集める",Point:"ポイント",RemovePoint:"ポイントの削除",mannequinHint:"体験を向上させるために、マネキン内の純白を別の色に変更してください。",SHOULDER:"ショルダー",WAISTBAND:"ウエストバンド",HAND:"手",jsContent1:"画像にまだマークを付けていないため、モデルはアップロードされません。閉じてもよろしいですか?",jsContent2:"この写真はアップロードされました。アップロードを続けるかどうか?"},Upload:{Delete:"消去",Maximum2M:"画像は最大8枚アップロード可能、1枚あたり最大2M",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"アップロードに失敗しました"},SketchboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",PIN:"PIN",Maximum:"画像は最大{maxImg}枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したスケッチボードのサムネイル プレビュー",inputContent1:"キャプションの生成",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"アップロードに失敗しました",jsContent2:"画像ファイルのみアップロードできます!",jsContent3:"画像は 2MB 未満である必要があります!",jsContent4:"許可されるファイルアップロードの最大数を超えました",jsContent5:"写真を選択してください",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください"},PrintboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",PIN:"PIN",Maximum:"画像は最大8枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したプリントボードのサムネイル プレビュー",inputContent1:"キャプションの生成",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"許可されるファイルアップロードの最大数を超えました",jsContent4:"写真を選択してください",jsContent5:"入力した内容が最大長を超えています.",jsContent6:"内容を入力してください"},ColorboardUpload:{Thumbnail:"選択したカラーボードのサムネイル プレビュー",Clear:"クリア",Palette:"パレット",HEX:"HEX",RGBA:"RGBA",UploadImage:"画像をアップロードする",ColorCode:"カラーコード",ExtractColor:"色の抽出",jsContent1:"お使いのブラウザはサポートしていません",jsContent2:"TCXの色が見つからない",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"正しい TCX 値を入力してください。」"},MoodboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",Delete:"消去",Maximum:"画像は最大8枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したムードボードのサムネイル プレビュー",layout:"レイアウト",jsContent1:"最大8枚の画像を選択できます",jsContent2:"アップロードに失敗しました",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"ランダムに並べ替えるには、「レイアウト」をクリックしてください"},Cropper:{Cutpicture:"カット絵",Finish:"仕上げる",Cancel:"キャンセル",CropPreview:"クロッププレビュー"},Material:{inputContent1:"入力してください",PIN:"PIN"},MarketingSketchUpload:{Upload:"アップロード",MyLibrary:"私のライブラリ",maximumLength:"画像は最大15枚アップロード可能、1枚あたり最大2M",jsContent1:"アップロードに失敗しました",jsContent2:"画像ファイルのみアップロードできます!",jsContent3:"画像は 2MB 未満である必要があります!",jsContent5:"許可されるファイルアップロードの最大数を超えました"},layout:{MoodBoardDesign:"ムードボードのデザイン",LayerOptions:"レイヤーオプション",Submit:"提出す"},Generate:{ImageOnly:"画像のみ",TextOnly:"テキストのみ",TextImage:"テキスト-画像",Model1:"モデル1",Model2:"モデル2",inputContent1:"プロンプト入力",Generate:"生成する",Model:"モデル",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"内容を入力してください",jsContent4:"入力した内容が最大長を超えています.",jsContent5:"内容を入力してください",jsContent6:"最大8枚の画像を選択できます",jsContent7:"アップロードに失敗しました"},collectionModal:{Moodboard:"ムードボード",Printboard:"プリント基板",Colorboard:"カラーボード",Sketchboard:"スケッチボード",MoodCollection:"コレクション用のムードボードを選択してください",PrinCollection:"コレクションに合わせてプリントボードを選択してください",ColorCollection:"コレクションの色を選択してください",SketchCollection:"コレクション用のスケッチボードを選択してください",jsContent1:"複数の画像を選択したため、「レイアウト」をクリックして次に進んでください。",jsContent2:"アップロードされたファイルは保存されません。続行しますか? ",jsContent3:"以降の処理には 1 つ以上の色を選択する必要があります。"},DesignDetail:{Details:"詳細",EditDetails:"デザインの詳細を編集する",Submit:"提出す",CurrentApparel:"現在のアパレル",CurrentPrint:"現在の印刷物",CurrentColor:"現在の色"},DesignDetailAlter:{Upload:"アップロード",Library:"集める",inputContent1:"入力してください",Palette:"パレット",HEX:"HEX",RGBA:"RGBA",UploadImage:"画像をアップロードする",Delete:"消去",ColorCode:"カラーコード",jsContent1:"お使いのブラウザはサポートしていません",jsContent2:"最大8枚の画像を選択できます",jsContent3:"アップロードに失敗しました",jsContent4:"画像ファイルのみアップロードできます!",jsContent5:"画像は 5MB 未満である必要があります!",jsContent6:"TCXの色が見つからない"},DesignDetailEnd:{NewApparel:"新しいアパレル",NewPrint:"新しいプリント",Placement:"配置",Overall:"全体",Single:"シングル",NewColor:"新色",preview:"プレビュー",Layout:"レイアウト",jsContent1:"印刷を選択してください"},DesignPrintOperation:{Placement:"配置",Overall:"全体",Single:"シングル",Scale:"スケール",Random:"ランダム",inputContent:"入力してください",preview:"プレビュー",jsContent1:"上記の変更は保存されません。続行しますか? "},uploadFile:{jsContent1:"最大{maxImg}枚の画像を選択できます"},isTest:{available:"この機能はトライアルユーザーには利用できません。",src:"この機能はトライアルユーザーに開放されていません。サブスクリプションが必要な場合は、をクリックしてください ->",userName:"トライアルユーザー",loginIsTest:"あなたはトライアルユーザーです。試用期間は{date}までです。ユーザーデータの安全性のため、トライアルユーザーがアップロードした個人データは保存せず、ログアウト後に個人データは消去されます。サブスクリプションが必要な場合は、をクリックしてください。 ->",image:"トライアルユーザーであるため、10枚の画像しかアップロードできません。"},setLabel:{EditTag:"タグを編集",jsContent1:"タグ名を入力してください"}},R={Header:{hello:"привет",HOME:"ДОМ",LIBRARY:"БИБЛИОТЕКА",HISTORY:"ИСТОРИЯ",bindEmail:"привязать электронную почту",logOff:"выйти",language:"русский",skip:"пропускать",emailContent:"у вас привязана электронная почта",Email:"Электронная почта",NextStep:"Следующий шаг",verification:"введите код подтверждения",SentTo:"Отправлено в",Resend:"Отправить",jsContent1:"Формат электронной почты неправильный",jsContent2:"Удалось привязать почтовый ящик.",jsContent3:"Вы давно не выполняли никаких операций. Вы должны быть активны, иначе вы выйдете из системы через {numTime} S"},Habit:{Workspace:"Рабочая среда",WorkspaceSetting:"Настройка рабочего пространства",settingWorkspace:"отрегулируйте настройки вашего рабочего пространства",Overall:"Общий",Single:"Одинокий",System:"Система",Designer:"Дизайнер",Mannequin:"Манекен",Current:"Текущий",User:"Пользователь",jsContent1:"Удалять ли рабочую область?",jsContent2:"Пожалуйста, введите название рабочей среды"},RobotAssist:{inputContent1:"Напиши сообщение~",jsContent1:"Пожалуйста, введите содержание"},HomeView:{GetStarted:"Начать",Start:"Начинать",Edit:"Редактировать",Design:"Дизайн",Redesign:"Редизайн",GeneratedDesign:"Сгенерированный дизайн",SelectedDesign:"Выбранный дизайн",Export:"Экспорт",moodboard:"мудборд",printboard:"печатная плата",colorboard:"цветная доска",sketchboard:"доска для рисования",mannequins:"манекены",jsContent1:"Вы должны выбрать один или несколько цветов для дальнейшей обработки..",jsContent2:"Вы должны выбрать один или несколько цветов для дальнейшей обработки..",jsContent3:"Не удалось экспортировать файл"},LibraryPage:{Organize:"Организовать",Upload:"Загрузить",Generate:"Генерировать",Delete:"Удалить",Rename:"Редактировать",Point:"точка",inputContent1:"Поиск по коду вашего стиля",intersection:"пересечение",Select:"Выбрать",NoLabel:"Нет метки",unionSet:"набор объединений",all:"all",ImageOnly:"Только изображение",TextOnly:"Только текст",TextImage:"Текст-изображение",inputContent2:"Быстрый ввод",maximumLength:"Введенный контент превышает максимальную длину.",Model1:"Модель1",Model2:"Модель2",inputContent3:"Быстрый ввод",Cancel:"Отмена",Sure:"Конечно",Moodboard:"Мудборд",Prints:"Принты",Sketches:"Эскизы",Mannequins:"Манекены",model:"mодель",jsContent1:"Вы уверены, что удалите картинку?",jsContent2:"Вы уверены, что удалите картинку?",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Это изображение было загружено, стоит ли продолжать загрузку?",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание",jsContent8:"Загрузка не удалась",jsContent9:"Пожалуйста, введите содержание"},HistoryPage:{History:"История",StartDate:"Дата начала",EndDate:"Дата окончания",inputContent1:"Поиск по названию коллекции",Detail:"Деталь",Rename:"Переименовать",Retrieve:"Забрать",Delete:"Удалить",inputContent2:"Введите новое имя",Submit:"Запись",CollectionsName:"Название коллекции",UptateTime:"Время обновления",SketchCounts:"Эскиз имеет значение",Operations:"Операции",jsContent1:"Удален успешно",jsContent2:"Вы действительно хотите удалить эту коллекцию?? ",jsContent3:"Изменение успешно",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Это изображение было загружено, стоит ли продолжать загрузку?",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание"},ModelPlacement:{Registration:"Постановка на учет",Submit:"Запись",Preview:"Превью",Back:"Назад",Restore:"Восстановить",System:"Система",Library:"Библиотека",Point:"Точка",RemovePoint:"Удалить точку",mannequinHint:"Пожалуйста, замените чистый белый цвет внутри манекена на другой цвет, чтобы улучшить ваши впечатления.",SHOULDER:"ПЛЕЧО",WAISTBAND:"ПОЯС",HAND:"РУКА",jsContent1:"Вы еще не отметили изображение, и модель не будет загружена. Вы уверены, что хотите закрыть его?",jsContent2:"Это изображение было загружено, стоит ли продолжить загрузку?"},ModelPlacementMobile:{Registration:"Постановка на учет",Submit:"Запись",Preview:"Превью",Back:"Назад",Restore:"Восстановить",System:"Система",Library:"Библиотека",Point:"Точка",RemovePoint:"Удалить точку",mannequinHint:"Пожалуйста, замените чистый белый цвет внутри манекена на другой цвет, чтобы улучшить ваши впечатления.",SHOULDER:"ПЛЕЧО",WAISTBAND:"ПОЯС",HAND:"РУКА",jsContent1:"Вы еще не отметили изображение, и модель не будет загружена. Вы уверены, что хотите закрыть его?",jsContent2:"Это изображение было загружено, стоит ли продолжить загрузку?"},Upload:{Delete:"Удалить",Maximum2M:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Загрузка не удалась"},SketchboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",PIN:"PIN",Maximum:"Можно загрузить максимум {maxImg} изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранной эскизной панели",inputContent1:"Создание подписей",maximumLength:"Введенный контент превышает максимальную длину.",jsContent1:"Загрузка не удалась",jsContent2:"Вы можете загрузить только файл изображения!",jsContent3:"Изображение должно быть меньше 2 МБ!",jsContent4:"Превышено максимально допустимое количество загрузок файлов.",jsContent5:"Пожалуйста, выберите изображение",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание"},PrintboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",PIN:"PIN",Maximum:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранной печатной платы",inputContent1:"Создание подписей",maximumLength:"Введенный контент превышает максимальную длину.",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Превышено максимально допустимое количество загрузок файлов.",jsContent4:"Пожалуйста, выберите изображение",jsContent5:"Введенный контент превышает максимальную длину.",jsContent6:"Пожалуйста, введите содержание"},ColorboardUpload:{Thumbnail:"Предварительный просмотр миниатюр выбранной цветовой доски",Clear:"Ясно",Palette:"Палитра",HEX:"HEX",RGBA:"RGBA",UploadImage:"Загрузить картинку",ColorCode:"Цветовой код",ExtractColor:"Извлечь цвет",jsContent1:"Ваш браузер его не поддерживает",jsContent2:"Не могу найти цвет TCX",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Пожалуйста, введите правильное значение TCX"},MoodboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",Delete:"Удалить",Maximum:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранного мудборда",layout:"макет",jsContent1:"Вы можете выбрать до 8 изображений",jsContent2:"Загрузка не удалась",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Пожалуйста, нажмите «Макет», чтобы отсортировать в случайном порядке."},Cropper:{Cutpicture:"Обрезать картинку",Finish:"Заканчивать",Cancel:"Отмена",CropPreview:"Crop Превью"},Material:{inputContent1:"Пожалуйста, введите",PIN:"PIN"},MarketingSketchUpload:{Upload:"Загрузить",MyLibrary:"Моя библиотека",maximumLength:"Можно загрузить максимум 15 изображений, максимум 2M на изображение.",jsContent1:"Загрузка не удалась",jsContent2:"Вы можете загрузить только файл изображения!",jsContent3:"Изображение должно быть меньше 2 МБ!",jsContent5:"Превышено максимально допустимое количество загрузок файлов."},layout:{MoodBoardDesign:"Дизайн Мудборда",LayerOptions:"Параметры слоя",Submit:"Запись"},Generate:{ImageOnly:"Только изображение",TextOnly:"Только текст",TextImage:"Текст-изображение",Model1:"Модель1",Model2:"Модель2",inputContent1:"Быстрый ввод",Generate:"Генерировать",maximumLength:"Введенный контент превышает максимальную длину.",Model:"Модель",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Пожалуйста, введите содержание",jsContent4:"Введенный контент превышает максимальную длину.",jsContent5:"Пожалуйста, введите содержание",jsContent6:"Вы можете выбрать до 8 изображений",jsContent7:"Загрузка не удалась"},collectionModal:{Moodboard:"Мудборд",Printboard:"Печатная плата",Colorboard:"Цветная доска",Sketchboard:"Скетчборд",MoodCollection:"выберите мудборд для своей коллекции",PrinCollection:"выберите печатную плату для своей коллекции",ColorCollection:"выберите цвета для своей коллекции",SketchCollection:"выберите скетчборд для своей коллекции",jsContent1:"Поскольку вы выбрали несколько изображений, нажмите «Макет», чтобы продолжить.",jsContent2:"Загруженные файлы не сохранятся, обязательно продолжайте? ",jsContent3:"Вы должны выбрать один или несколько цветов для дальнейшей обработки.."},DesignDetail:{Details:"Подробности",EditDetails:"Отредактируйте детали вашего дизайна",Submit:"Запись",CurrentApparel:"Текущая одежда",CurrentPrint:"Текущая печать",CurrentColor:"Текущий цвет"},DesignDetailAlter:{Upload:"Загрузить",Library:"Библиотека",inputContent1:"Пожалуйста, введите",Palette:"Палитра",HEX:"HEX",RGBA:"RGBA",UploadImage:"Загрузить картинку",Delete:"Удалить",ColorCode:"Цветовой код",jsContent1:"Ваш браузер его не поддерживает",jsContent2:"Вы можете выбрать до 8 изображений",jsContent3:"Загрузка не удалась",jsContent4:"Вы можете загрузить только файл изображения!",jsContent5:"Изображение должно быть меньше 5 МБ!",jsContent6:"Не могу найти цвет TCX"},DesignDetailEnd:{NewApparel:"Новая одежда",NewPrint:"Новая печать",Placement:"Размещение",Overall:"Общий",Single:"Одинокий",NewColor:"Новый цвет",preview:"просмотр",Layout:"Макет",jsContent1:"Пожалуйста, выберите печать"},DesignPrintOperation:{Placement:"Размещение",Overall:"Общий",Single:"Одинокий",Scale:"Масштаб",Random:"Случайный",inputContent:"Пожалуйста, введите",preview:"просмотр",jsContent1:"Вышеуказанные изменения не сохраняются, обязательно продолжайте? "},uploadFile:{jsContent1:"Вы можете выбрать до {maxImg} изображений"},isTest:{available:"Эта функция недоступна для пробных пользователей.",src:"Эта функция не открыта для пробных пользователей, если вам нужна подписка, пожалуйста, нажмите ->",userName:"Пробный пользователь",loginIsTest:"Вы являетесь пробным пользователем, испытательный срок до {date}. Для безопасности данных пользователей мы не сохраняем никакие персональные данные, загруженные пробными пользователями, и стираем персональные данные после каждого выхода из системы. Если вам нужна подписка, пожалуйста, нажмите ->",image:"Поскольку вы являетесь пробным пользователем, вы можете загрузить только 10 изображений."},setLabel:{EditTag:"Редактировать тег",jsContent1:"Пожалуйста, введите имя тега"}},N={Header:{hello:"Bonjour",HOME:"MAISON",LIBRARY:"BIBLIOTHÈQUE",HISTORY:"HISTOIRE",bindEmail:"lier un e-mail",logOff:"dérouler",language:"Français",skip:"sauter",emailContent:"vous avez un e-mail lié",Email:"E-mail",NextStep:"L'étape suivante",verification:"Entrez le code de vérification",SentTo:"Envoyé à",Resend:"Renvoyer",jsContent1:"Le format de l'e-mail est incorrect",jsContent2:"J'ai réussi à lier la boîte aux lettres.",jsContent3:"Vous n'avez effectué aucune opération depuis longtemps. Vous devez être actif, sinon vous vous déconnecterez dans {numTime} S"},Habit:{Workspace:"Espace de travail",WorkspaceSetting:"Paramètres de l'espace de travail",settingWorkspace:"ajustez les paramètres de votre espace de travail",Overall:"tous",Single:"Célibataire",System:"Système",Designer:"Designer",Mannequin:"Mannequin",Current:"Actuel",User:"Utilisateur",jsContent1:"S'il faut supprimer l'espace de travail?",jsContent2:"Veuillez saisir un nom d'atelier"},RobotAssist:{inputContent1:"écrire un message~",jsContent1:"Veuillez saisir le contenu"},HomeView:{GetStarted:"Commencer",Start:"Commencer",Edit:"Modifier",Design:"Conception",Redesign:"Refonte",GeneratedDesign:"Conception générée",SelectedDesign:"Conception sélectionnée",Export:"Exporter",moodboard:"Conseil d'humeur",printboard:"carton imprimé",colorboard:"tableau de couleurs",sketchboard:"planche à croquis",mannequins:"mannequins",jsContent1:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur.",jsContent2:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur.",jsContent3:"Échec de l'exportation du fichier"},LibraryPage:{Organize:"Organiser",Upload:"Télécharger",Generate:"Générer",Delete:"Supprimer",Rename:"Modifier",Point:"point",inputContent1:"Recherchez par votre code de style",intersection:"intersection",Select:"Sélectionner",NoLabel:"Aucune étiquette",unionSet:"ensemble d'unions",all:"tout",ImageOnly:"Image uniquement",TextOnly:"Texte seulement",TextImage:"Texte-Image",inputContent2:"Saisie rapide",maximumLength:"Le contenu saisi dépasse la longueur maximale.",Model1:"Modèle1",Model2:"Modèle2",inputContent3:"Saisie rapide",Cancel:"Annuler",Sure:"Bien sûr",Moodboard:"Conseil d'humeur",Prints:"Impressions",Sketches:"Croquis",Mannequins:"Mannequins",model:"modèle",jsContent1:"Êtes-vous sûr de supprimer l'image?",jsContent2:"Êtes-vous sûr de supprimer l'image?",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu",jsContent8:"échec du téléchargement",jsContent9:"Veuillez saisir le contenu"},HistoryPage:{History:"Histoire",StartDate:"Date de début",EndDate:"Date de fin",inputContent1:"Rechercher par nom de collection",Detail:"Détail",Rename:"Renommer",Retrieve:"Récupérer",Delete:"Supprimer",inputContent2:"Entrez un nouveau nom",Submit:"Soumettre",CollectionsName:"Nom de la collection",UptateTime:"Temps de mise à jour",SketchCounts:"Nombre d'esquisses",Operations:"Opérations",jsContent1:"Supprimé avec succès",jsContent2:"Voulez-vous vraiment supprimer cette collection? ",jsContent3:"Changer avec succès",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu"},ModelPlacement:{Registration:"Inscription",Submit:"Soumettre",Preview:"Aperçu",Back:"Dos",Restore:"Restaurer",System:"Système",Library:"Bibliothèque",Point:"Indiquer",RemovePoint:"Supprimer Indiquer",mannequinHint:"Veuillez changer le blanc pur à l'intérieur du mannequin pour une autre couleur afin d'améliorer votre expérience.",SHOULDER:"ÉPAULE",WAISTBAND:"CEINTURE",HAND:"MAIN",jsContent1:"Vous n'avez pas encore marqué l'image et le modèle ne sera pas téléchargé. Êtes-vous sûr de vouloir la fermer",jsContent2:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?"},ModelPlacementMobile:{Registration:"Inscription",Submit:"Soumettre",Preview:"Aperçu",Back:"Dos",Restore:"Restaurer",System:"Système",Library:"Bibliothèque",Point:"Indiquer",RemovePoint:"Supprimer Indiquer",mannequinHint:"Veuillez changer le blanc pur à l'intérieur du mannequin pour une autre couleur afin d'améliorer votre expérience.",SHOULDER:"ÉPAULE",WAISTBAND:"CEINTURE",HAND:"MAIN",jsContent1:"Vous n'avez pas encore marqué l'image et le modèle ne sera pas téléchargé. Êtes-vous sûr de vouloir la fermer",jsContent2:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?"},Upload:{Delete:"Sopprimere",Maximum2M:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"échec du téléchargement"},SketchboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",PIN:"PIN",Maximum:"Un maximum de {maxImg} images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature du tableau de croquis sélectionné",inputContent1:"Génération de sous-titres",maximumLength:"Le contenu saisi dépasse la longueur maximale.",jsContent1:"échec du téléchargement",jsContent2:"Vous pouvez uniquement télécharger un fichier image!",jsContent3:"L'image doit être inférieure à 2 Mo!",jsContent4:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé",jsContent5:"Veuillez sélectionner une image",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu"},PrintboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",PIN:"PIN",Maximum:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature de la carte d'impression sélectionnée",inputContent1:"Génération de sous-titres",maximumLength:"Le contenu saisi dépasse la longueur maximale.",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé",jsContent4:"Veuillez sélectionner une image",jsContent5:"Le contenu saisi dépasse la longueur maximale.",jsContent6:"Veuillez saisir le contenu"},ColorboardUpload:{Thumbnail:"Aperçu miniature du colorboard sélectionné",Clear:"Clair",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Télécharger une image",ColorCode:"Code couleur",ExtractColor:"Extraire la couleur",jsContent1:"Votre navigateur ne le prend pas en charge",jsContent2:"Je ne trouve pas la couleur TCX",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Veuillez saisir la valeur TCX correcte"},MoodboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",Delete:"Supprimer",Maximum:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature du moodboard sélectionné",layout:"mise en page",jsContent1:"Vous pouvez sélectionner jusqu'à 8 images",jsContent2:"échec du téléchargement",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Veuillez cliquer sur Mise en page pour trier aléatoirement"},Cropper:{Cutpicture:"Couper l'image",Finish:"Finition",Cancel:"Annuler",CropPreview:"Aperçu du recadrage"},Material:{inputContent1:"Veuillez saisir",PIN:"PIN"},MarketingSketchUpload:{Upload:"Télécharger",MyLibrary:"Ma bibliothèque",maximumLength:"Un maximum de 15 images peuvent être téléchargées, maximum 2 M par image",jsContent1:"échec du téléchargement",jsContent2:"Vous pouvez uniquement télécharger un fichier image!",jsContent3:"L'image doit être inférieure à 2 Mo!",jsContent5:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé"},layout:{MoodBoardDesign:"Conception du MoodBoard",LayerOptions:"Options de calque",Submit:"Soumettre"},Generate:{ImageOnly:"Image uniquement",TextOnly:"Texte seulement",TextImage:"Texte-Image",Model1:"Modèle1",Model2:"Modèle2",inputContent1:"Saisie rapide",Generate:"Générer",maximumLength:"Le contenu saisi dépasse la longueur maximale.",Model:"Modèle",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"Veuillez saisir le contenu",jsContent4:"Le contenu saisi dépasse la longueur maximale.",jsContent5:"Veuillez saisir le contenu",jsContent6:"Vous pouvez sélectionner jusqu'à 8 images",jsContent7:"échec du téléchargement"},collectionModal:{Moodboard:"Conseil d'humeur",Printboard:"Tableau imprimé",Colorboard:"Tableau de couleurs",Sketchboard:"Tableau à croquis",MoodCollection:"sélectionnez le moodboard pour votre collection",PrinCollection:"sélectionnez le carton imprimé pour votre collection",ColorCollection:"sélectionnez les couleurs pour votre collection",SketchCollection:"sélectionnez un tableau à croquis pour votre collection",jsContent1:"Puisque vous avez sélectionné plusieurs images, veuillez cliquer sur « Mise en page » pour continuer.",jsContent2:"Les fichiers téléchargés ne seront pas enregistrés, assurez-vous de continuer? ",jsContent3:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur."},DesignDetail:{Details:"Détails",EditDetails:"Modifiez les détails de votre conception",Submit:"Soumettre",CurrentApparel:"Vêtements actuels",CurrentPrint:"Impression actuelle",CurrentColor:"Couleur actuelle"},DesignDetailAlter:{Upload:"Télécharger",Library:"Bibliothèque",inputContent1:"Veuillez saisir",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Télécharger une image",Delete:"Supprimer",ColorCode:"Code couleur",jsContent1:"Votre navigateur ne le prend pas en charge",jsContent2:"Vous pouvez sélectionner jusqu'à 8 images",jsContent3:"échec du téléchargement",jsContent4:"Vous pouvez uniquement télécharger un fichier image!",jsContent5:"L'image doit être inférieure à 5 Mo!",jsContent6:"La couleur de TXCX est introuvable"},DesignDetailEnd:{NewApparel:"Nouveaux vêtements",NewPrint:"Nouvelle impression",Placement:"Placement",Overall:"tous",Single:"Célibataire",NewColor:"Nouvelle couleur",preview:"Aperçu",Layout:"Mise en page",jsContent1:"Veuillez sélectionner imprimer"},DesignPrintOperation:{Placement:"Placement",Overall:"tous",Single:"Célibataire",Scale:"Échelle",Random:"Aléatoire",inputContent:"Veuillez saisir",preview:"Aperçu",jsContent1:"Les modifications ci-dessus ne sont pas enregistrées, assurez-vous de continuer? "},uploadFile:{jsContent1:"Vous pouvez sélectionner jusqu'à {maxImg} images"},isTest:{available:"Cette fonctionnalité n'est pas disponible pour les utilisateurs d'essai.",src:"Cette fonction n'est pas accessible aux utilisateurs d'essai. Si vous avez besoin de vous abonner, veuillez cliquer sur ->",userName:"Utilisateur d'essai",loginIsTest:"Vous êtes un utilisateur d'essai, période de probation jusqu'au {date}. Pour la sécurité des données des utilisateurs, nous ne sauvegardons aucune donnée personnelle téléchargée par les utilisateurs d'essai et effaçons les données personnelles après chaque déconnexion. Si vous avez besoin de vous abonner, veuillez cliquer sur ->",image:"En tant qu'utilisateur d'essai, vous ne pouvez télécharger que 10 images."},setLabel:{EditTag:"Modifier le tag",jsContent1:"Veuillez saisir un nom de tag"}},E={Header:{hello:"สวัสดี",HOME:"หน้าแรก",LIBRARY:"ไลบรารี",HISTORY:"ประวัติความเป็นมา",bindEmail:"ผูกอีเมล",logOff:"ออกจากระบบ",language:"ไทย",skip:"ข้าม",emailContent:"ที่อยู่อีเมลที่ถูกผูกไว้ของคุณ",Email:"อีเมล",NextStep:"ขั้นตอนต่อไป",verification:"ใส่รหัสยืนยัน",SentTo:"ส่งไปยัง",Resend:"ส่งอีกครั้ง",jsContent1:"รูปแบบอีเมลไม่ถูกต้อง",jsContent2:"ประสบความสำเร็จในการผูกกล่องจดหมาย.",jsContent3:"เป็นเวลานานแล้วที่คุณไม่ได้ทำอะไรเลย คุณต้องใช้งานอยู่ ไม่เช่นนั้นคุณจะออกจากระบบหลังจากผ่านไป {numTime} วินาที"},Habit:{Workspace:"พื้นที่ทำงาน",WorkspaceSetting:"การตั้งค่าพื้นที่ทำงาน",settingWorkspace:"ปรับการตั้งค่าพื้นที่ทำงานของคุณ",Overall:"โดยรวม",Single:"เดี่ยว",System:"ระบบ",Designer:"ดีไซเนอร์",Mannequin:"นางแบบ",Current:"ปัจจุบัน",User:"ผู้ใช้",jsContent1:"ไม่ว่าจะลบพื้นที่ทำงาน?",jsContent2:"โปรดป้อนชื่อเวิร์กเบนช์"},RobotAssist:{inputContent1:"เขียนข้อความ~",jsContent1:"กรุณากรอกเนื้อหา"},HomeView:{GetStarted:"เริ่มต้น",Start:"เริ่ม",Edit:"แก้ไข",Design:"ออกแบบ",Redesign:"ออกแบบใหม่",GeneratedDesign:"การออกแบบที่สร้างขึ้น",SelectedDesign:"การออกแบบที่เลือก",Export:"ส่งออก",moodboard:"มูดบอร์ด",printboard:"บอร์ดพิมพ์",colorboard:"กระดานสี",sketchboard:"กระดานสเก็ตช์",mannequins:"หุ่น",jsContent1:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป.",jsContent2:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป.",jsContent3:"ล้มเหลวในการส่งออกไฟล์"},LibraryPage:{Organize:"จัดระเบียบ",Upload:"อัปโหลด",Generate:"กำเนิด",Delete:"ลบ",Rename:"แก้ไข",Point:"จุด",inputContent1:"ค้นหาตามรหัสสไตล์ของคุณ",intersection:"แยก",Select:"เลือก",NoLabel:"ไม่มีป้ายกำกับ",unionSet:"ชุดยูเนี่ยน",all:"ทั้งหมด",ImageOnly:"รูปภาพเท่านั้น",TextOnly:"ข้อความเท่านั้น",TextImage:"ข้อความ-รูปภาพ",inputContent2:"ป้อนข้อมูลทันที",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",Model1:"แบบอย่าง1",Model2:"แบบอย่าง2",inputContent3:"ป้อนข้อมูลทันที",Cancel:"ยกเลิก",Sure:"ได้เลย",Moodboard:"มูดบอร์ด",Prints:"พิมพ์",Sketches:"สเก็ตช์",Mannequins:"หุ่นจำลอง",model:"แบบอย่าง",jsContent1:"แน่ใจนะว่าจะลบรูปนี้?",jsContent2:"แน่ใจนะว่าจะลบรูปนี้?",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา",jsContent8:"การอัพโหลดล้มเหลว",jsContent9:"กรุณากรอกเนื้อหา"},HistoryPage:{History:"ประวัติความเป็นมา",StartDate:"วันที่เริ่มต้น",EndDate:"วันที่สิ้นสุด",inputContent1:"ค้นหาตามชื่อคอลเลกชัน",Detail:"รายละเอียด",Rename:"เปลี่ยนชื่อ",Retrieve:"ดึงข้อมูล",Delete:"ลบ",inputContent2:"ป้อนชื่อใหม่",Submit:"บันทึก",CollectionsName:"ชื่อคอลเลกชัน",UptateTime:"เวลาอัปเดต",SketchCounts:"จำนวนภาพร่าง",Operations:"การดำเนินงาน",jsContent1:"ลบ ประสบความสำเร็จ",jsContent2:"คุณต้องการลบคอลเล็กชันนี้จริงๆ หรือไม่? ",jsContent3:"เปลี่ยนสำเร็จ",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา"},ModelPlacement:{Registration:"การลงทะเบียน",Submit:"บันทึก",Preview:"ดูตัวอย่าง",Back:"กลับ",Restore:"คืนค่า",System:"ระบบ",Library:"ห้องสมุด",Point:"จุด",RemovePoint:"ถอดจุด",mannequinHint:"โปรดเปลี่ยนสีขาวบริสุทธิ์ภายในหุ่นเป็นสีอื่นเพื่อเพิ่มประสบการณ์ของคุณ",SHOULDER:"ไหล่",WAISTBAND:"ขอบเอว",HAND:"มือ",jsContent1:"คุณยังไม่ได้ทำเครื่องหมายรูปภาพ และแบบจำลองจะไม่ถูกอัปโหลด คุณแน่ใจหรือไม่ว่าต้องการปิด?",jsContent2:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?"},ModelPlacementMobile:{Registration:"การลงทะเบียน",Submit:"บันทึก",Preview:"ดูตัวอย่าง",Back:"กลับ",Restore:"คืนค่า",System:"ระบบ",Library:"ห้องสมุด",Point:"จุด",RemovePoint:"ถอดจุด",mannequinHint:"โปรดเปลี่ยนสีขาวบริสุทธิ์ภายในหุ่นเป็นสีอื่นเพื่อเพิ่มประสบการณ์ของคุณ",SHOULDER:"ไหล่",WAISTBAND:"ขอบเอว",HAND:"มือ",jsContent1:"คุณยังไม่ได้ทำเครื่องหมายรูปภาพ และแบบจำลองจะไม่ถูกอัปโหลด คุณแน่ใจหรือไม่ว่าต้องการปิด?",jsContent2:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?"},Upload:{Delete:"ลบ",Maximum2M:"สามารถอัพโหลดภาพได้สูงสุด 10 ภาพ สูงสุด 2M ต่อภาพ",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"การอัพโหลดล้มเหลว"},SketchboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",PIN:"PIN",Maximum:"สามารถอัพโหลดภาพได้สูงสุด {maxImg} ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของกระดานร่างภาพที่เลือก",inputContent1:"การสร้างคำบรรยายภาพ",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent1:"การอัพโหลดล้มเหลว",jsContent2:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent3:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent4:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว",jsContent5:"กรุณาเลือกรูปภาพ",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา"},PrintboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",PIN:"PIN",Maximum:"สามารถอัพโหลดภาพได้สูงสุด 8 ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของบอร์ดพิมพ์ที่เลือก",inputContent1:"การสร้างคำบรรยายภาพ",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว",jsContent4:"กรุณาเลือกรูปภาพ",jsContent5:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent6:"กรุณากรอกเนื้อหา"},ColorboardUpload:{Thumbnail:"ภาพตัวอย่างขนาดย่อของกระดานสีที่เลือก",Clear:"ชัดเจน",Palette:"จานสี",HEX:"HEX",RGBA:"RGBA",UploadImage:"อัพโหลดรูปภาพ",ColorCode:"รหัสสี",ExtractColor:"สารสกัดจากสี",jsContent1:"เบราว์เซอร์ของคุณไม่รองรับ",jsContent2:"ไม่พบสี TCX",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"โปรดป้อนค่า TCX ที่ถูกต้อง"},MoodboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",Delete:"ลบ",Maximum:"สามารถอัพโหลดภาพได้สูงสุด 8 ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของมูดบอร์ดที่เลือก",layout:"เลย์เอาต์",jsContent1:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent2:"การอัพโหลดล้มเหลว",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"กรุณาคลิกเค้าโครงเพื่อเรียงลำดับแบบสุ่ม"},Cropper:{Cutpicture:"ตัดภาพ",Finish:"เสร็จ",Cancel:"ยกเลิก",CropPreview:"ครอบตัดตัวอย่าง"},Material:{inputContent1:"กรุณาป้อนข้อมูล",PIN:"PIN"},MarketingSketchUpload:{Upload:"อัปโหลด",MyLibrary:"ห้องสมุดของฉัน",maximumLength:"สามารถอัปโหลดได้สูงสุด 15 ภาพ สูงสุด 2M ต่อภาพ",jsContent1:"การอัพโหลดล้มเหลว",jsContent2:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent3:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว"},layout:{MoodBoardDesign:"MoodBoard Design",LayerOptions:"ตัวเลือกเลเยอร์",Submit:"บันทึก"},Generate:{ImageOnly:"รูปภาพเท่านั้น",TextOnly:"ข้อความเท่านั้น",TextImage:"ข้อความ-รูปภาพ",Model1:"แบบอย่าง1",Model2:"แบบอย่าง2",inputContent1:"ป้อนข้อมูลทันที",Generate:"กำเนิด",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",Model:"แบบอย่าง",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"กรุณากรอกเนื้อหา",jsContent4:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent5:"กรุณากรอกเนื้อหา",jsContent6:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent7:"การอัพโหลดล้มเหลว"},collectionModal:{Moodboard:"มูดบอร์ด",Printboard:"บอร์ดพิมพ์",Colorboard:"กระดานสี",Sketchboard:"กระดานสเก็ตช์",MoodCollection:"เลือกมูดบอร์ดสำหรับคอลเลกชันของคุณ",PrinCollection:"เลือกกระดานพิมพ์สำหรับคอลเลกชันของคุณ",ColorCollection:"เลือกสีสำหรับคอลเลกชันของคุณ",SketchCollection:"เลือกกระดานร่างสำหรับคอลเลกชันของคุณ",jsContent1:"เนื่องจากคุณได้เลือกภาพหลายภาพ โปรดคลิก 'เค้าโครง' เพื่อดำเนินการต่อ",jsContent2:"ไฟล์ที่อัพโหลดจะไม่ถูกบันทึก โปรดดำเนินการต่อ? ",jsContent3:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป."},DesignDetail:{Details:"รายละเอียด",EditDetails:"แก้ไขรายละเอียดการออกแบบของคุณ",Submit:"บันทึก",CurrentApparel:"เครื่องแต่งกายปัจจุบัน",CurrentPrint:"การพิมพ์ในปัจจุบัน",CurrentColor:"สีปัจจุบัน"},DesignDetailAlter:{Upload:"อัปโหลด",Library:"ห้องสมุด",inputContent1:"กรุณาป้อนข้อมูล",Palette:"จานสี",HEX:"HEX",RGBA:"RGBA",UploadImage:"อัพโหลดรูปภาพ",Delete:"ลบ",ColorCode:"รหัสสี",jsContent1:"เบราว์เซอร์ของคุณไม่รองรับ",jsContent2:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent3:"การอัพโหลดล้มเหลว",jsContent4:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent5:"รูปภาพต้องมีขนาดเล็กกว่า 5MB!",jsContent6:"ไม่พบสี TCX"},DesignDetailEnd:{NewApparel:"เครื่องแต่งกายใหม่",NewPrint:"พิมพ์ใหม่",Placement:"ตำแหน่ง",Overall:"โดยรวม",Single:"เดี่ยว",NewColor:"สีใหม่",preview:"ดูตัวอย่าง",Layout:"เลย์เอาต์",jsContent1:"กรุณาเลือกพิมพ์"},DesignPrintOperation:{Placement:"ตำแหน่ง",Overall:"โดยรวม",Single:"เดี่ยว",Scale:"มาตราส่วน",Random:"สุ่ม",inputContent:"กรุณาป้อนข้อมูล",preview:"ดูตัวอย่าง",jsContent1:"การเปลี่ยนแปลงข้างต้นไม่ได้รับการบันทึก โปรดดำเนินการต่อ? "},uploadFile:{jsContent1:"คุณสามารถเลือกได้สูงสุด {maxImg} ภาพ"},isTest:{available:"เนื่องจากคุณเป็นผู้ใช้ทดลองใช้ คุณไม่สามารถใช้ฟีเจอร์นี้ได้",src:"ฟังก์ชันนี้ไม่เปิดให้ใช้กับผู้ใช้ทดลอง หากคุณต้องการสมัครสมาชิก กรุณาคลิก ->",userName:"ผู้ใช้ทดลองใช้",loginIsTest:"คุณเป็นผู้ใช้ทดลองใช้ ระยะเวลาการทดลองใช้จะสิ้นสุดเมื่อ {date} สำหรับความปลอดภัยของข้อมูลผู้ใช้ เราไม่บันทึกข้อมูลส่วนบุคคลที่ผู้ใช้ทดลองอัปโหลดและจะลบข้อมูลส่วนบุคคลหลังจากทุกครั้งที่ล็อกเอาท์ หากคุณต้องการสมัครสมาชิก กรุณาคลิก ->",image:"เนื่องจากคุณเป็นผู้ใช้ทดลองใช้ คุณสามารถอัปโหลดรูปภาพได้เพียง 10 ภาพเท่านั้น"},setLabel:{EditTag:"แก้ไขแท็ก",jsContent1:"โปรดใส่ชื่อแท็ก"}},w={Header:{hello:"Xin chào",HOME:"TRANG CHỦ",LIBRARY:"THƯ VIỆN",HISTORY:"LỊCH SỬ",bindEmail:"liên kết email",logOff:"đăng xuất",language:"Tiếng Việt",skip:"nhảy",emailContent:"bạn có email bị ràng buộc",Email:"E-mail",NextStep:"Bước tiếp theo",verification:"Nhập mã xác nhận",SentTo:"Gửi đến",Resend:"Gửi lại",jsContent1:"Định dạng email không chính xác",jsContent2:"Đã thành công trong việc ràng buộc hộp thư.",jsContent3:"Bạn đã không thực hiện bất kỳ thao tác nào trong một thời gian dài. Bạn phải hoạt động; nếu không, bạn sẽ đăng xuất khỏi {numTime} S"},Habit:{Workspace:"Không gian làm việc",WorkspaceSetting:"Cài đặt không gian làm việc",settingWorkspace:"điều chỉnh cài đặt không gian làm việc của bạn",Overall:"Tổng thể",Single:"Đơn",System:"Hệ thống",Designer:"Nhà thiết kế",Mannequin:"Ma nơ canh",Current:"Hiện hành",User:"Người dùng",jsContent1:"Có nên xóa không gian làm việc?",jsContent2:"Vui lòng nhập tên bàn làm việc"},RobotAssist:{inputContent1:"viết tin nhắn~",jsContent1:"Vui lòng nhập nội dung"},HomeView:{GetStarted:"Bắt đầu",Start:"Bắt đầu",Edit:"Biên tập",Design:"Thiết kế",Redesign:"Thiết kế lại",GeneratedDesign:"Thiết kế được tạo",SelectedDesign:"Thiết kế đã chọn",Export:"Xuất khẩu",moodboard:"bảng tâm trạng",printboard:"bảng in",colorboard:"bảng màu",sketchboard:"bảng phác thảo",mannequins:"ma-nơ-canh",jsContent1:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp.",jsContent2:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp.",jsContent3:"Không xuất được tệp"},LibraryPage:{Organize:"Tổ chức",Upload:"Tải lên",Generate:"Phát ra",Delete:"Xóa bỏ",Rename:"Biên tập",Point:"điểm",inputContent1:"Tìm kiếm theo mã kiểu của bạn",intersection:"ngã tư",Select:"Chọn",NoLabel:"Không có nhãn",unionSet:"bộ đoàn",all:"tất cả",ImageOnly:"Chỉ hình ảnh",TextOnly:"Chỉ văn bản",TextImage:"Văn bản-Hình ảnh",inputContent2:"Nhập liệu nhanh chóng",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",Model1:"Người mẫu1",Model2:"Người mẫu2",inputContent3:"Nhập liệu nhanh chóng",Cancel:"Hủy bỏ",Sure:"Chắc chắn",Moodboard:"Bảng tâm trạng",Prints:"Bản in",Sketches:"Bản phác thảo",Mannequins:"ma-nơ-canh",model:"người mẫu",jsContent1:"Bạn có chắc chắn xóa hình ảnh?",jsContent2:"Bạn có chắc chắn xóa hình ảnh?",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung",jsContent8:"Tải lên thất bại",jsContent9:"Vui lòng nhập nội dung"},HistoryPage:{History:"Lịch sử",StartDate:"Ngày bắt đầu",EndDate:"Ngày cuối",inputContent1:"Tìm kiếm theo tên bộ sưu tập",Detail:"Chi tiết",Rename:"Đổi tên",Retrieve:"Lấy lại",Delete:"Xóa bỏ",inputContent2:"Nhập tên mới",Submit:"Nộp",CollectionsName:"Tên bộ sưu tập",UptateTime:"Cập nhật thời gian",SketchCounts:"Số lượng phác thảo",Operations:"Hoạt động",jsContent1:"Đã xoá thành công",jsContent2:"Bạn có thực sự muốn xóa bộ sưu tập này? ",jsContent3:"Thay đổi thành công",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung"},ModelPlacement:{Registration:"Sự đăng ký",Submit:"Nộp",Preview:"Xem trước",Back:"Mặt sau",Restore:"Khôi phục",System:"Hệ thống",Library:"Thư viện",Point:"Điểm",RemovePoint:"Xóa điểm",mannequinHint:"Vui lòng thay đổi màu trắng tinh khiết bên trong ma-nơ-canh bằng màu khác để nâng cao trải nghiệm của bạn",SHOULDER:"VAI",WAISTBAND:"DÂY THẮT LƯNG",HAND:"TAY",jsContent1:"Bạn chưa đánh dấu hình ảnh và mô hình sẽ không được tải lên. Bạn có chắc chắn muốn đóng nó không?",jsContent2:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?"},ModelPlacementMobile:{Registration:"Sự đăng ký",Submit:"Nộp",Preview:"Xem trước",Back:"Mặt sau",Restore:"Khôi phục",System:"Hệ thống",Library:"Thư viện",Point:"Điểm",RemovePoint:"Xóa điểm",mannequinHint:"Vui lòng thay đổi màu trắng tinh khiết bên trong ma-nơ-canh bằng màu khác để nâng cao trải nghiệm của bạn",SHOULDER:"VAI",WAISTBAND:"DÂY THẮT LƯNG",HAND:"TAY",jsContent1:"Bạn chưa đánh dấu hình ảnh và mô hình sẽ không được tải lên. Bạn có chắc chắn muốn đóng nó không?",jsContent2:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?"},Upload:{Delete:"Xóa bỏ",Maximum2M:"Có thể tải lên tối đa 10 hình ảnh, Tối đa 2M mỗi hình ảnh",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Tải lên thất bại"},SketchboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",PIN:"PIN",Maximum:"Có thể tải lên tối đa {maxImg} hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng phác thảo đã chọn",inputContent1:"Tạo phụ đề",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent1:"Tải lên thất bại",jsContent2:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent3:"Hình ảnh phải nhỏ hơn 2MB!",jsContent4:"Đã vượt quá số lượng tệp tải lên tối đa cho phép",jsContent5:"Vui lòng chọn một hình ảnh",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung"},PrintboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",PIN:"PIN",Maximum:"Có thể tải lên tối đa 8 hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng in đã chọn",inputContent1:"Tạo phụ đề",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Đã vượt quá số lượng tệp tải lên tối đa cho phép",jsContent4:"Vui lòng chọn một hình ảnh",jsContent5:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent6:"Vui lòng nhập nội dung"},ColorboardUpload:{Thumbnail:"Xem trước hình thu nhỏ của bảng màu đã chọn",Clear:"Thông thoáng",Palette:"Bảng màu",HEX:"HEX",RGBA:"RGBA",UploadImage:"Tải hình ảnh lên",ColorCode:"Mã màu",ExtractColor:"Trích xuất màu",jsContent1:"Trình duyệt của bạn không hỗ trợ nó",jsContent2:"Không tìm thấy màu TCX",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Vui lòng nhập giá trị TCX chính xác"},MoodboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",Delete:"Xóa bỏ",Maximum:"Có thể tải lên tối đa 8 hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng tâm trạng đã chọn",layout:"cách trình bày",jsContent1:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent2:"Tải lên thất bại",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Hãy nhấn vào Bố cục để sắp xếp ngẫu nhiên"},Cropper:{Cutpicture:"Cắt ảnh",Finish:"Hoàn thành",Cancel:"Hủy bỏ",CropPreview:"Cắt xem trước"},Material:{inputContent1:"Xin vui lòng nhập",PIN:"PIN"},MarketingSketchUpload:{Upload:"Tải lên",MyLibrary:"Thư viện",maximumLength:"Có thể tải lên tối đa 15 hình ảnh, Tối đa 2M mỗi hình ảnh",jsContent1:"Tải lên thất bại",jsContent2:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent3:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Đã vượt quá số lượng tệp tải lên tối đa cho phép"},layout:{MoodBoardDesign:"Thiết kế MoodBoard",LayerOptions:"Tùy chọn lớp",Submit:"Nộp"},Generate:{ImageOnly:"Chỉ hình ảnh",TextOnly:"Chỉ văn bản",TextImage:"Văn bản-Hình ảnh",Model1:"Người mẫu1",Model2:"Người mẫu2",inputContent1:"Nhập liệu nhanh chóng",Generate:"Phát ra",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",Model:"người mẫu",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Vui lòng nhập nội dung",jsContent4:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent5:"Vui lòng nhập nội dung",jsContent6:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent7:"Tải lên thất bại"},collectionModal:{Moodboard:"Bảng tâm trạng",Printboard:"Bảng in",Colorboard:"Bảng màu",Sketchboard:"Bảng phác thảo",MoodCollection:"chọn moodboard cho bộ sưu tập của bạn",PrinCollection:"chọn bảng in cho bộ sưu tập của bạn",ColorCollection:"chọn màu cho bộ sưu tập của bạn",SketchCollection:"chọn bảng phác thảo cho bộ sưu tập của bạn",jsContent1:"Vì bạn đã chọn nhiều hình ảnh, vui lòng nhấp vào 'Bố cục' để tiếp tục",jsContent2:"Các tập tin đã tải lên sẽ không được lưu, hãy nhớ tiếp tục? ",jsContent3:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp."},DesignDetail:{Details:"Chi tiết",EditDetails:"Chỉnh sửa chi tiết thiết kế của bạn",Submit:"Nộp",CurrentApparel:"Trang phục hiện tại",CurrentPrint:"Bản in hiện tại",CurrentColor:"Màu hiện tại"},DesignDetailAlter:{Upload:"Tải lên",Library:"Thư viện",inputContent1:"Xin vui lòng nhập",Palette:"Bảng màu",HEX:"HEX",RGBA:"RGBA",UploadImage:"Tải hình ảnh lên",Delete:"Xóa bỏ",ColorCode:"Mã màu",jsContent1:"Trình duyệt của bạn không hỗ trợ nó",jsContent2:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent3:"Tải lên thất bại",jsContent4:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent5:"Hình ảnh phải nhỏ hơn 5MB!",jsContent6:"Không tìm thấy màu TCX"},DesignDetailEnd:{NewApparel:"Trang phục mới",NewPrint:"Bản in mới",Placement:"Vị trí",Overall:"Tổng thể",Single:"Đơn",NewColor:"Màu mới",preview:"xem trước",Layout:"Cách trình bày",jsContent1:"Vui lòng chọn in"},DesignPrintOperation:{Placement:"Vị trí",Overall:"Tổng thể",Single:"Đơn",Scale:"Tỷ lệ",Random:"Ngẫu nhiên",inputContent:"Xin vui lòng nhập",preview:"xem trước",jsContent1:"Những thay đổi trên không được lưu, hãy chắc chắn để tiếp tục? "},uploadFile:{jsContent1:"Bạn có thể chọn tối đa {maxImg} hình ảnh"},isTest:{available:"Chức năng này không khả dụng cho người dùng thử nghiệm.",src:"Chức năng này không mở cho người dùng thử nghiệm, nếu bạn cần đăng ký, hãy nhấp vào ->",userName:"Người dùng thử nghiệm",loginIsTest:"Bạn là người dùng thử nghiệm, Thời gian thử nghiệm đến {date}. Vì lý do bảo mật dữ liệu người dùng, chúng tôi không lưu trữ bất kỳ dữ liệu cá nhân nào được tải lên bởi người dùng thử nghiệm và sẽ xóa dữ liệu cá nhân sau mỗi lần đăng xuất. Nếu bạn cần đăng ký, vui lòng nhấp vào ->",image:"Vì bạn là người dùng thử nghiệm, bạn chỉ có thể tải lên 10 hình ảnh."},setLabel:{EditTag:"Chỉnh sửa thẻ",jsContent1:"Vui lòng nhập tên thẻ"}},U={Header:{hello:"Ciao",HOME:"CASA",LIBRARY:"BIBLIOTECA",HISTORY:"STORIA",bindEmail:"associare l'e-mail",logOff:"disconnettersi",language:"italiano",skip:"saltare",emailContent:"hai legato la posta elettronica",Email:"E-mail",NextStep:"Passo successivo",verification:"Inserisci il codice di verifica",SentTo:"Inviato a",Resend:"Invia nuovamente",jsContent1:"Il formato dell'e-mail non è corretto",jsContent2:"Impossibile vincolare la casella di posta.",jsContent3:"Non hai eseguito alcuna operazione per molto tempo. Devi essere attivo altrimenti ti disconnetterai in {numTime} S"},Habit:{Workspace:"Spazio di lavoro",WorkspaceSetting:"Impostazione dell'area di lavoro",settingWorkspace:"modificare l'impostazione dell'area di lavoro",Overall:"Tutto",Single:"Separare",System:"Sistema",Designer:"progettista",Mannequin:"Manichino",Current:"Attuale",User:"Utente",jsContent1:"Indica se eliminare l'area di lavoro?",jsContent2:"Inserisci un nome per l'ambiente di lavoro"},RobotAssist:{inputContent1:"Scrivi un messaggio~",jsContent1:"Inserisci il contenuto"},HomeView:{GetStarted:"Iniziare",Start:"Inizio",Edit:"Modificare",Design:"Progetto",Redesign:"Riprogettazione",GeneratedDesign:"Progettazione generata",SelectedDesign:"Disegno selezionato",Export:"Esportare",moodboard:"moodboard",printboard:"cartoncino",colorboard:"tavola da disegno",sketchboard:"tavola da disegno",mannequins:"manichini",jsContent1:"È necessario scegliere uno o più colori per l'ulteriore elaborazione.",jsContent2:"È necessario scegliere uno o più colori per l'ulteriore elaborazione.",jsContent3:"Impossibile esportare il file"},LibraryPage:{Organize:"Organizzare",Upload:"Caricamento",Generate:"creare",Delete:"Eliminare",Rename:"Modificare",Point:"Punto",inputContent1:"Search by your style code",intersection:"intersezione",Select:"Seleziona",NoLabel:"Nessuna etichetta",unionSet:"insieme di unione",all:"Tutto",ImageOnly:"Solo immagine",TextOnly:"Solo testo",TextImage:"Testo-immagine",inputContent2:"Immissione rapida",maximumLength:"Il contenuto inserito supera la lunghezza massima.",Model1:"Modello1",Model2:"Modello2",inputContent3:"Immissione rapida",Cancel:"Annulla",Sure:"Sicuro",Moodboard:"Tavola d'atmosfera",Prints:"Stampe",Sketches:"Schizzi",Mannequins:"Manichino",model:"modello",jsContent1:"Sei sicuro di eliminare l'immagine?",jsContent2:"Sei sicuro di eliminare l'immagine?",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Questa immagine è stata caricata se continua a caricare?",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto",jsContent8:"caricamento fallito",jsContent9:"Inserisci il contenuto"},HistoryPage:{History:"Storia",StartDate:"Data d'inizio",EndDate:"Data di fine",inputContent1:"Cerca per nome della raccolta",Detail:"Dettaglio",Rename:"Rinominare",Retrieve:"Recuperare",Delete:"Eliminare",inputContent2:"Inserisci un nuovo nome",Submit:"Invia",CollectionsName:"Nome della raccolta",UptateTime:"Tempo di aggiornamento",SketchCounts:"Lo schizzo conta",Operations:"Operazioni",jsContent1:"Eliminato con successo",jsContent2:"Vuoi davvero eliminare questa raccolta?? ",jsContent3:"Modifica con successo",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Questa immagine è stata caricata se continua a caricare?",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto"},ModelPlacement:{Registration:"Registrazione",Submit:"Invia",Preview:"Anteprima",Back:"Indietro",Restore:"Ristabilire",System:"Sistema",Library:"Biblioteca",Point:"Punto",RemovePoint:"Rimuovi punto",mannequinHint:"Per favore cambia il bianco puro all'interno del manichino con un altro colore per migliorare la tua esperienza",SHOULDER:"SPALLA",WAISTBAND:"CINTURA",HAND:"MANO",jsContent1:"Non hai ancora contrassegnato l'immagine e il modello non verrà caricato. Sei sicuro di volerlo chiudere?",jsContent2:"Questa immagine è stata caricata se continua a caricare?"},ModelPlacementMobile:{Registration:"Registrazione",Submit:"Invia",Preview:"Anteprima",Back:"Indietro",Restore:"Ristabilire",System:"Sistema",Library:"Biblioteca",Point:"Punto",RemovePoint:"Rimuovi punto",mannequinHint:"Per favore cambia il bianco puro all'interno del manichino con un altro colore per migliorare la tua esperienza",SHOULDER:"SPALLA",WAISTBAND:"CINTURA",HAND:"MANO",jsContent1:"Non hai ancora contrassegnato l'immagine e il modello non verrà caricato. Sei sicuro di volerlo chiudere?",jsContent2:"Questa immagine è stata caricata se continua a caricare?"},Upload:{Delete:"Eliminare",Maximum2M:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"caricamento fallito"},SketchboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",PIN:"PIN",Maximum:"È possibile caricare un massimo di {maxImg} immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura dello sketchboard selezionato",inputContent1:"Generazione didascalie",maximumLength:"Il contenuto inserito supera la lunghezza massima.",jsContent1:"caricamento fallito",jsContent2:"Puoi caricare solo il file immagine!",jsContent3:"L'immagine deve essere inferiore a 2 MB!",jsContent4:"È stato superato il numero massimo di caricamenti di file consentiti",jsContent5:"Seleziona un'immagine",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto"},PrintboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",PIN:"PIN",Maximum:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura della scheda di stampa selezionata",inputContent1:"Generazione didascalie",maximumLength:"Il contenuto inserito supera la lunghezza massima.",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"È stato superato il numero massimo di caricamenti di file consentiti",jsContent4:"Seleziona un'immagine",jsContent5:"Il contenuto inserito supera la lunghezza massima.",jsContent6:"Inserisci il contenuto"},ColorboardUpload:{Thumbnail:"Anteprima in miniatura della tavola colorata selezionata",Clear:"Chiaro",Palette:"Tavolozza",HEX:"HEX",RGBA:"RGBA",UploadImage:"Carica immagine",ColorCode:"Codice colore",ExtractColor:"Estrai colore",jsContent1:"Il tuo browser non lo supporta",jsContent2:"Impossibile trovare il colore TCX",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Inserisci il valore TCX corretto"},MoodboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",Delete:"Eliminare",Maximum:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura della moodboard selezionata",layout:"disposizione",jsContent1:"È possibile selezionare fino a 8 immagini",jsContent2:"caricamento fallito",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Fare clic su Layout per ordinare in modo casuale"},Cropper:{Cutpicture:"Taglia l'immagine",Finish:"Fine",Cancel:"Annulla",CropPreview:"Anteprima del ritaglio"},Material:{inputContent1:"Per favore inserisci",PIN:"PIN"},MarketingSketchUpload:{Upload:"Caricamento",MyLibrary:"La mia biblioteca",maximumLength:"È possibile caricare un massimo di 15 immagini, massimo 2 milioni per immagine",jsContent1:"caricamento fallito",jsContent2:"Puoi caricare solo il file immagine!",jsContent3:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"È stato superato il numero massimo di caricamenti di file consentiti"},layout:{MoodBoardDesign:"Progettazione del moodboard",LayerOptions:"Opzioni del livello",Submit:"Invia"},Generate:{ImageOnly:"Solo immagine",TextOnly:"Solo testo",TextImage:"Testo-immagine",Model1:"Modello1",Model2:"Modello2",inputContent1:"Immissione rapida",Generate:"creare",maximumLength:"Il contenuto inserito supera la lunghezza massima.",Model:"Modello",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"Inserisci il contenuto",jsContent4:"Il contenuto inserito supera la lunghezza massima.",jsContent5:"Inserisci il contenuto",jsContent6:"È possibile selezionare fino a 8 immagini",jsContent7:"caricamento fallito"},collectionModal:{Moodboard:"Tavola d'atmosfera",Printboard:"Cartoncino",Colorboard:"Tavola colorata",Sketchboard:"Tavola da disegno",MoodCollection:"seleziona la moodboard per la tua collezione",PrinCollection:"seleziona la scheda di stampa per la tua collezione",ColorCollection:"seleziona i colori per la tua collezione",SketchCollection:"seleziona lo sketchboard per la tua collezione",jsContent1:'Poiché hai selezionato più immagini, fai clic su "Layout" per procedere',jsContent2:"I file caricati non verranno salvati, assicurandosi di continuare? ",jsContent3:"È necessario scegliere uno o più colori per l'ulteriore elaborazione."},DesignDetail:{Details:"Dettagli",EditDetails:"Modifica i dettagli del tuo progetto",Submit:"Invia",CurrentApparel:"Vestiti attuali",CurrentPrint:"Stampa Attuale",CurrentColor:"Colore Attuale"},DesignDetailAlter:{Upload:"Caricamento",Library:"Biblioteca",inputContent1:"Per favore inserisci",Palette:"Tavolozza",HEX:"HEX",RGBA:"RGBA",UploadImage:"Carica immagine",Delete:"Eliminare",ColorCode:"Codice colore",jsContent1:"Il tuo browser non lo supporta",jsContent2:"È possibile selezionare fino a 8 immagini",jsContent3:"caricamento fallito",jsContent4:"Puoi caricare solo il file immagine!",jsContent5:"L'immagine deve essere inferiore a 5 MB!",jsContent6:"Impossibile trovare il colore TCX"},DesignDetailEnd:{NewApparel:"Nuovo vestiti",NewPrint:"Nuova stampa",Placement:"Posizionamento",Overall:"Tutto",Single:"Separare",NewColor:"Nuovo colore",preview:"anteprima",Layout:"Disposizione",jsContent1:"Seleziona stampa"},DesignPrintOperation:{Placement:"Posizionamento",Overall:"Tutto",Single:"Separare",Scale:"Scala",Random:"Casuale",inputContent:"Per favore inserisci",preview:"anteprima",jsContent1:"Le modifiche di cui sopra non vengono salvate, assicurandosi di continuare? "},uploadFile:{jsContent1:"È possibile selezionare fino a {maxImg} immagini"},isTest:{available:"Questa funzionalità non è disponibile per gli utenti in prova.",src:"Questa funzione non è aperta agli utenti in prova, se desideri sottoscrivere, clicca ->",userName:"Utente in prova",loginIsTest:"Sei un utente in prova, periodo di prova fino al {date}. Per la sicurezza dei dati degli utenti, non salviamo alcun dato personale caricato dagli utenti in prova e cancelleremo i dati personali dopo ogni disconnessione. Se desideri sottoscrivere, clicca ->",image:"In quanto utente di prova, puoi caricare solo 10 immagini."},setLabel:{EditTag:"Modifica tag",jsContent1:"Si prega di inserire un nome tag"}};const O={ENGLISH:{...B,...B},CHINESE_SIMPLIFIED:{...k,...k},KOREAN:{...H,...H},JAPANESE:{...A,...A},RUSSIAN:{...R,...R},FRENCH:{...N,...N},THAI:{...E,...E},VIETNAMESE:{...w,...w},ITALIAN:{...U,...U}},G=(0,I.o)({legacy:!1,globalInjection:!0,locale:"ENGLISH",messages:O});var V=G;T();let F={loading:n(5929),attempt:1};(0,o.ri)(c).use(L).use(m.Z).use(z.ZP).use(x.Z,F).use(V).mount("#app")},9913:function(e,t,n){"use strict";var o=n(2201),i=n(6252);const a=e=>(0,i.RC)((()=>n(2513)(`./${e}.vue`))),l=[{path:"/",redirect:"/login"},{path:"/login",name:"login",component:a("LoginPage")},{path:"/home",name:"home",component:a("HomeView")},{path:"/demo",name:"demo",component:a("Demo")},{path:"/history",name:"history",component:a("HistoryPage")},{path:"/library",name:"library",component:a("LibraryPage")},{path:"/trialApproval",name:"trialApproval",component:a("trialApproval")}],s=(0,o.p7)({history:(0,o.PO)("/"),routes:l});t["Z"]=s},6791:function(){window._iconfont_svg_string_3608736='',function(e){var t=(t=document.getElementsByTagName("script"))[t.length-1],n=t.getAttribute("data-injectcss");t=t.getAttribute("data-disable-injectsvg");if(!t){var o,i,a,l,s,r=function(e,t){t.parentNode.insertBefore(e,t)};if(n&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(t){console&&console.log(t)}}o=function(){var t,n=document.createElement("div");n.innerHTML=e._iconfont_svg_string_3608736,(n=n.getElementsByTagName("svg")[0])&&(n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.width=0,n.style.height=0,n.style.overflow="hidden",(t=document.body).firstChild?r(n,t.firstChild):t.appendChild(n))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(o,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),o()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(a=o,l=e.document,s=!1,m(),l.onreadystatechange=function(){"complete"==l.readyState&&(l.onreadystatechange=null,c())})}function c(){s||(s=!0,a())}function m(){try{l.documentElement.doScroll("left")}catch(t){return void setTimeout(m,50)}c()}}(window)},2513:function(e,t,n){var o={"./Demo.vue":[1127,127],"./HistoryPage.vue":[8391,949,451,615,391],"./HomeView.vue":[5115,949,451,87,115],"./LibraryPage.vue":[9136,949,451,87,286],"./LoginPage.vue":[8640,949,194],"./trialApproval.vue":[1090,949,451,615,90],"./versions1Guide.vue":[1148,148]};function i(e){if(!n.o(o,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(o)},i.id=2513,e.exports=i},5929:function(e,t,n){"use strict";e.exports=n.p+"img/loading.6b98b17d.gif"}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.m=e,function(){var e=[];n.O=function(t,o,i,a){if(!o){var l=1/0;for(m=0;m=a)&&Object.keys(n.O).every((function(e){return n.O[e](o[r])}))?o.splice(r--,1):(s=!1,a0&&e[m-1][2]>a;m--)e[m]=e[m-1];e[m]=[o,i,a]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,o){return n.f[o](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{87:"58385a6a",90:"2f95d56b",115:"44e53a42",127:"b8add267",148:"0dd92788",194:"1416e800",286:"d10724c9",391:"147e3ff9",451:"d58b7ed9",615:"2c8d95ed",949:"4d7671a3"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{90:"6be384c0",115:"094994d1",127:"bafe38b4",148:"64209616",194:"a8ff4f2a",286:"a156cd91",391:"6be384c0",451:"b2bbf841",615:"f4ba6074",949:"060964d0"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="aida:";n.l=function(o,i,a,l){if(e[o])e[o].push(i);else{var s,r;if(void 0!==a)for(var c=document.getElementsByTagName("script"),m=0;m=i?d.ZP.warning(t.jsContent1):(t.checked=!0,n.push(t));else{let e=!0;for(let o=0;o=i?d.ZP.warning(t.jsContent1):(t.checked=!0,n.push(t)):(t.checked=!1,n=n.filter((e=>e.id!=t.id)))}"generate"==t.type_.type1?"Moodboard"==t.type_.type2?e.moodboardGenerateFiles=n:"Sketchboard"==t.type_.type2?e.sketchGenerateFiles=n:"Printboard"==t.type_.type2&&(e.printGenerateFiles=n):"Moodboard"==t.type_.type2?e.moodboardMaterialFiles=n:"Sketchboard"==t.type_.type2?e.sketchMaterialFiles=n:"Printboard"==t.type_.type2&&(e.printMaterialFiles=n),e.moodboard=[...e.moodboardFiles,...e.moodboardGenerateFiles,...e.moodboardMaterialFiles],e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles],e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setSketchboardFile(e,t){e.sketchboardFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setSketchboardGenerateFiles(e,t){e.sketchGenerateFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setSketchboardMaterialFiles(e,t){e.sketchMaterialFiles=t,e.sketchboard=[...e.sketchboardFiles,...e.sketchGenerateFiles,...e.sketchMaterialFiles]},setShowSketchboard(e,t){e.showSketchboard=t},clearShowSketchboard(e,t){e.showSketchboard=[]},setPrintboardFile(e,t){e.printboardFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setPrintboardGenerateFiles(e,t){e.printGenerateFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setPrintboardMaterialFiles(e,t){e.printMaterialFiles=t,e.printboard=[...e.printboardFiles,...e.printGenerateFiles,...e.printMaterialFiles]},setColorboardList(e,t){e.colorBoards=t},setMarketingSketchFile(e,t){e.marketingSketchFiles=t},setAllBoardData(e){e.allBoardData={moodboardFiles:e.moodboard,disposeMoodboard:e.disposeMoodboard,printboardFiles:e.printboard,colorBoards:e.colorBoards,sketchboardFiles:e.sketchboard,marketingSketchFiles:e.marketingSketchFiles,moodTemplateId:e.moodTemplateId}},setAllBoardDataChoose(e,t){e.allBoardData=t},clearAllData(e){e.moodboard=[],e.moodboardFiles=[],e.moodboardGenerateFiles=[],e.moodboardMaterialFiles=[],e.sketchboard=[],e.sketchboardFiles=[],e.sketchGenerateFiles=[],e.sketchMaterialFiles=[],e.printboard=[],e.printboardFiles=[],e.printGenerateFiles=[],e.printMaterialFiles=[],e.colorBoards=[],e.marketingSketchFiles=[],e.moodTemplateId="",e.disposeMoodboard=[]},clearAllId(e){e.moodboard.forEach((e=>{delete e.id_})),e.sketchboard.forEach((e=>{delete e.id_})),e.printboard.forEach((e=>{delete e.id_}))},setMoodTemplateId(e,t){e.moodTemplateId=t},clearMoodTemplateId(e){e.disposeMoodboard=[]}},actions:{}};var C=h;const p={state:{designItemDetail:{},designPreviewData:{}},mutations:{setDesignItemDetail(e,t){e.designItemDetail=t},setDesignItemColthes(e,t){e.designItemDetail.clothes[t.index]=t.clothes},setDesignItemOthers(e,t){e.designItemDetail.others[t.index]=t.others},setDesignPreviewData(e,t){e.designPreviewData=t}},actions:{}};var g=p;const b={state:{designCollectionList:[],likeDesignCollectionList:[],userGroupId:"",designCollectionId:"",templateId:"",templateImgUrl:"",designId:"",showSketchList:[]},mutations:{setshowSketchList(e,t){e.showSketchList=t},setDesignCollectionList(e,t){e.designCollectionList=t},setLikeDesignCollectionList(e,t){e.likeDesignCollectionList=t},setSingleDesignCollectionList(e,t){e.designCollectionList[t.index]=t.design},setSingleLikeDesignCollectionList(e,t){e.likeDesignCollectionList[t.index]=t.design},addDesignCollectionList(e,t){e.designCollectionList.push(t)},addLikeDesignCollectionList(e,t){e.likeDesignCollectionList.push(t)},deleteDesignCollectionList(e,t){e.designCollectionList.splice(t,1)},deleteLikeDesignCollectionList(e,t){e.likeDesignCollectionList.splice(t,1)},setUserGroupId(e,t){e.userGroupId=t},deleteUserGroupId(e){e.userGroupId=""},setDesignCollectionId(e,t){e.designCollectionId=t},deleteDesignCollectionId(e,t){e.designCollectionId=""},setDesignId(e,t){e.designId=t},deleteDesignId(e){e.designId=""},clearAllCollection(e){e.designCollectionList=[],e.likeDesignCollectionList=[],e.designCollectionId=""},setTemplateData(e,t){e.templateId=t.id,e.templateImgUrl=t.url},clearTemplateData(e){e.templateId="",e.templateImgUrl=""}},actions:{}};var j=b;const v={state:{clothingType:[]},mutations:{res_clothingType(e,t){e.clothingType=t}},actions:{get_clothingType(e){var t=[{id:11,name:"nv"},{id:22,name:"nan"}];e.commit("res_clothingType",t)}}};var M=v;const y={state:{workspace:{},workspaceSex:{},workspacePosition:{}},mutations:{setWorkspace(e,t){e.workspace=t},setWorkspaceSex(e,t){e.workspaceSex=t},setWorkspacePosition(e,t){e.workspacePosition=t}},actions:{}};var S=y;const f={state:{guide:0},mutations:{setGuide(e,t){e.guide=t}},actions:{}};var P=f,L=(0,u.MT)({state:{},getters:{},mutations:{},actions:{},modules:{UploadFilesModule:C,DesignDetailModule:g,HomeStoreModule:j,UserHabit:M,Workspace:S,Guide:P}});n(6791);let D=(e,t,n)=>{var o,i=document,a=window,l=i.documentElement,s=document.createElement("style");function r(){var o=l.getBoundingClientRect().width;t=t||1920,o>t&&(o=t),o>t&&(o=t),o",userName:"Trial User",loginIsTest:"You are a trial user, Probation period until{date}. For the security of users' data, we do not save any personal data uploaded by trial users, and will erase personal data after each logout. if you need to subscribe, please click ->",image:"Because you are a trial user, you can only upload 10 images"},setLabel:{EditTag:"Edit tag",jsContent1:"Please enter a tag name"}},k={Header:{hello:"你好",HOME:"首页",LIBRARY:"收藏",HISTORY:"历史",bindEmail:"绑定邮箱",logOff:"退出登录",language:"中文",skip:"跳过",emailContent:"你绑定了的邮箱",Email:"邮箱",NextStep:"下一步",verification:"输入验证码",SentTo:"发送",Resend:"重发",jsContent1:"邮箱格式不正确",jsContent2:"绑定邮箱成功",jsContent3:"已经长时间未操作,您必须活跃起来,否则将会在{numTime} S 后退出登录"},Habit:{Workspace:"工作空间",WorkspaceSetting:"设置工作空间",settingWorkspace:"调整您的工作空间",Overall:"整体",Single:"单件",System:"系统",Designer:"设计师",Mannequin:"模特",Current:"当前",User:"用户",jsContent1:"是否删除指定工作空间",jsContent2:"请输入当前工作空间的名字"},RobotAssist:{inputContent1:"问我什么都行~",jsContent1:"请输入生成内容~"},HomeView:{GetStarted:"开始设计",Start:"重新开始",Edit:"编辑",Design:"设计",Redesign:"重新设计",GeneratedDesign:"生成的设计",SelectedDesign:"喜欢的设计",Export:"导出",moodboard:"情绪板",printboard:"印刷板",colorboard:"调色板",sketchboard:"素描板",mannequins:"人体模型",jsContent1:"您必须选择一种或多种颜色进行下一步。",jsContent2:"您必须选择一种或多种颜色进行下一步。",jsContent3:"导出文件失败。"},LibraryPage:{Organize:"我的",Upload:"上传",Generate:"生成",Delete:"删除",Rename:"编辑",Point:"点",inputContent1:"输入名字进行搜索",intersection:"交集",Select:"选择",NoLabel:"空标签",unionSet:"并集",all:"全选",ImageOnly:"图片",TextOnly:"文字",TextImage:"图片-文字",inputContent2:"输入生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",Model1:"模型1",Model2:"模型2",inputContent3:"输入生成图片的标题",Cancel:"取消",Sure:"确定",Moodboard:"情绪板",Prints:"印花",Sketches:"服装",Mannequins:"模特",model:"模型",jsContent1:"你确定要删除选中图片吗?",jsContent2:"你确定要删除选中图片吗?",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"图片已经上传是否继续上传",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~",jsContent8:"上传失败",jsContent9:"请输入内容~"},HistoryPage:{History:"历史",StartDate:"开始日期",EndDate:"结束日期",inputContent1:"输入名字进行搜索",Detail:"细节",Rename:"重命名",Retrieve:"选择",Delete:"删除",inputContent2:"请输入新名称",Submit:"保存",CollectionsName:"名字",UptateTime:"修改时间",SketchCounts:"草图数量",Operations:"Operations",jsContent1:"删除成功",jsContent2:"您确定要删除这个收藏吗?",jsContent3:"修改成功",jsContent4:"图片必须小于2MB",jsContent5:"图片已经上传是否继续上传",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~"},ModelPlacement:{Registration:"新增模特",Submit:"保存",Preview:"预览",Back:"Back",Restore:"重置",System:"系统",Library:"收藏",Point:"点位",RemovePoint:"删除点位",mannequinHint:"模特背景图片请使用白色或者其他颜色来增强效果",SHOULDER:"肩膀",WAISTBAND:"腰部",HAND:"手",jsContent1:"您还没有保存,模特不会上传,确定要继续吗?",jsContent2:"图片已经上传是否继续上传"},ModelPlacementMobile:{Registration:"新增模特",Submit:"保存",Preview:"预览",Back:"Back",Restore:"重置",System:"系统",Library:"收藏",Point:"点位",RemovePoint:"删除点位",mannequinHint:"模特背景图片请使用白色或者其他颜色来增强效果",SHOULDER:"肩膀",WAISTBAND:"腰部",HAND:"手",jsContent1:"您还没有保存,模特不会上传,确定要继续吗?",jsContent2:"图片已经上传是否继续上传"},Upload:{Delete:"删除",Maximum2M:"您最多可以上传10张照片,每张照片不能超过2MB",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"上传失败"},SketchboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",PIN:"PIN",Maximum:"最多可上传{maxImg}张图片,每张图片最大2M",Thumbnail:"选择的服装缩略图",inputContent1:"生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",jsContent1:"上传失败",jsContent2:"您只能上传图片文件!",jsContent3:"图片必须小于2MB",jsContent4:"超过允许上传的最大图片数量",jsContent5:"请选择一张图片",jsContent6:"输入的内容超过允许输入的最大长度",jsContent7:"请输入内容~"},PrintboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",PIN:"PIN",Maximum:"最多可上传8张图片,每张图片最大2M",Thumbnail:"选择的印花缩略图",inputContent1:"生成图片的标题",maximumLength:"输入的内容超过允许输入的最大长度",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"超过允许上传的最大图片数量",jsContent4:"请选择一张图片",jsContent5:"输入的内容超过允许输入的最大长度",jsContent6:"请输入内容~"},ColorboardUpload:{Thumbnail:"选择的颜色缩略图",Clear:"清除",Palette:"调色板",HEX:"HEX",RGBA:"RGBA",UploadImage:"上传图片",ColorCode:"颜色代码",ExtractColor:"提取颜色",jsContent1:"您的浏览器不支持",jsContent2:"找不到这个TCX的颜色",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"请输入正确的TCX值"},MoodboardUpload:{Upload:"上传",Library:"收藏",Generate:"生成",Delete:"删除",Maximum:"最多可上传8张图片,每张图片最大2M",Thumbnail:"选择的情绪板缩略图",layout:"布局",jsContent1:"您最多可以选择8张图片",jsContent2:"上传失败",jsContent3:"您只能上传图片文件!",jsContent4:"图片必须小于2MB",jsContent5:"请点击布局进行随机排序"},Cropper:{Cutpicture:"切图",Finish:"完成",Cancel:"取消",CropPreview:"缩略图"},Material:{inputContent1:"输入名字进行搜索",PIN:"PIN"},MarketingSketchUpload:{Upload:"上传",MyLibrary:"我的收藏",maximumLength:"最多可以上传15张照片,每张照片不能超过2MB",jsContent1:"上传失败",jsContent2:"您只能上传图片文件!",jsContent3:"图片必须小于2MB",jsContent5:"超过允许上传的最大图片数量"},layout:{MoodBoardDesign:"设计情绪板",LayerOptions:"图层选项",Submit:"保存"},Generate:{ImageOnly:"图片",TextOnly:"文字",TextImage:"图片-文字",Model1:"模型1",Model2:"模型2",inputContent1:"输入生成图片的标题",Generate:"生成",maximumLength:"输入的内容超过允许输入的最大长度",Model:"模型",jsContent1:"您只能上传图片文件!",jsContent2:"图片必须小于2MB",jsContent3:"请输入内容~",jsContent4:"输入的内容超过允许输入的最大长度",jsContent5:"请输入内容~",jsContent6:"您最多可以选择8张图片",jsContent7:"上传失败"},collectionModal:{Moodboard:"情绪板",Printboard:"印花板",Colorboard:"颜色板",Sketchboard:"服装板块",MoodCollection:"选择需要收藏的情绪板",PrinCollection:"选择需要收藏的印花板",ColorCollection:"选择需要收藏的颜色板",SketchCollection:"选择需要收藏的服装板",jsContent1:"因为您选择了多张图片,请点击布局后继续.",jsContent2:"上传的文件不会保存,是否继续? ",jsContent3:"您必须选择一种或多种颜色进行下一步。"},DesignDetail:{Details:"详情",EditDetails:"编辑设计的细节",Submit:"保存",CurrentApparel:"当前服装",CurrentPrint:"当前印花",CurrentColor:"当前颜色"},DesignDetailAlter:{Upload:"上传",Library:"收藏",inputContent1:"输入名字进行搜索",Palette:"调色板",HEX:"HEX",RGBA:"RGBA",UploadImage:"上传图片",Delete:"删除",ColorCode:"颜色代码",jsContent1:"您的浏览器不支持",jsContent2:"您最多可以选择8张图片",jsContent3:"上传失败",jsContent4:"您只能上传图片文件!",jsContent5:"Image must smaller than 5MB!",jsContent6:"找不到这个TCX的颜色"},DesignDetailEnd:{NewApparel:"选择的服装",NewPrint:"选择的印花",Placement:"模式",Overall:"整体",Single:"单个",NewColor:"选择的颜色",preview:"预览",Layout:"布局",jsContent1:"请选择印个印花"},DesignPrintOperation:{Placement:"调整位置",Overall:"整体",Single:"比例",Scale:"Scale",Random:"随机",inputContent:"输入名字进行搜索",preview:"预览",jsContent1:"以上操作没有保存,是否继续? "},uploadFile:{jsContent1:"您最多可以选择{maxImg}张图片哦"},isTest:{available:"此功能对试用用户不可用。",src:"此功能对试用用户不开放,请点击进行订阅。->",userName:"试用用户",loginIsTest:"您是试用用户,试用期到 {date}。为了用户数据的安全,我们不会保存试用用户上传的任何个人数据,并会在每次注销后擦除个人数据。如果您需要订阅,请点击 ->",image:"由于您是试用用户,您只能上传10张图片。"},setLabel:{EditTag:"编辑标签",jsContent1:"请输入标签名称"}},H={Header:{hello:"안녕하세요",HOME:"첫 장",LIBRARY:"도서관",HISTORY:"역사",bindEmail:"이메일 바인딩",logOff:"로그 오프",language:"한국어",skip:"건너뛰다",emailContent:"당신은 이메일을 바인딩했습니다",Email:"이메일",NextStep:"다음 단계",verification:"인증코드를 입력하세요",SentTo:"전송",Resend:"재전송",jsContent1:"이메일 형식이 올바르지 않습니다.",jsContent2:"메일함 바인딩에 성공했습니다.",jsContent3:"오랫동안 어떤 작업도 수행하지 않았습니다. 활성 상태여야 합니다. 그렇지 않으면 {numTime}초 후에 로그아웃됩니다."},Habit:{Workspace:"작업공간",WorkspaceSetting:"작업공간 설정",settingWorkspace:"작업 공간 설정을 조정하세요",Overall:"전반적인",Single:"하나의",System:"체계",Designer:"디자이너",Mannequin:"마네킹",Current:"현재의",User:"사용자",jsContent1:"작업공간 삭제 여부?",jsContent2:"작업대 이름을 입력하세요."},RobotAssist:{inputContent1:"메시지를 쓰다~",jsContent1:"내용을 입력해주세요"},HomeView:{GetStarted:"시작하다",Start:"시작",Edit:"편집하다",Design:"설계",Redesign:"디자인재설계",GeneratedDesign:"생성된 디자인",SelectedDesign:"선택된 디자인",Export:"내보내다",moodboard:"무드보드",printboard:"인쇄판",colorboard:"컬러보드",sketchboard:"스케치보드",mannequins:"마네킹",jsContent1:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다.",jsContent2:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다.",jsContent3:"파일을 내보내지 못했습니다."},LibraryPage:{Organize:"구성",Upload:"업로드",Generate:"생성하다",Delete:"삭제",Rename:"편집하다",Point:"점",inputContent1:"스타일 코드로 검색",intersection:"교차로",Select:"선택",NoLabel:"라벨 없음",unionSet:"결합 세트",all:"모두",ImageOnly:"이미지만",TextOnly:"텍스트만",TextImage:"텍스트-이미지",inputContent2:"프롬프트 입력",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",Model1:"모델1",Model2:"모델2",inputContent3:"프롬프트 입력",Cancel:"취소",Sure:"확신하는",Moodboard:"무드보드",Prints:"인쇄물",Sketches:"스케치",Mannequins:"마네킹",model:"모델",jsContent1:"사진을 삭제하시겠습니까?",jsContent2:"사진을 삭제하시겠습니까?",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"이 사진은 업로드 되었습니다 계속 업로드 여부?",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요",jsContent8:"업로드 실패",jsContent9:"내용을 입력해주세요"},HistoryPage:{History:"역사",StartDate:"시작일",EndDate:"종료일",inputContent1:"컬렉션 이름으로 검색",Detail:"세부 사항",Rename:"이름 바꾸기",Retrieve:"검색하다",Delete:"삭제",inputContent2:"새 이름을 입력하세요.",Submit:"제출하다",CollectionsName:"컬렉션 이름",UptateTime:"업데이트 시간",SketchCounts:"스케치 수",Operations:"운영",jsContent1:"삭제되었습니다.",jsContent2:"이 컬렉션을 삭제하시겠습니까?? ",jsContent3:"성공적으로 변경되었습니다.",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"이 사진은 업로드 되었습니다 계속 업로드 여부?",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요"},ModelPlacement:{Registration:"등록",Submit:"제출하다",Preview:"시사",Back:"뒤쪽에",Restore:"복원하다",System:"체계",Library:"도서관",Point:"가리키다",RemovePoint:"포인트 제거",mannequinHint:"더 나은 경험을 위해 마네킹 내부의 순백색을 다른 색상으로 바꿔주세요.",SHOULDER:"어깨",WAISTBAND:"허리띠",HAND:"손",jsContent1:"아직 이미지를 표시하지 않았으므로 모델이 업로드되지 않습니다. 닫으시겠습니까??",jsContent2:"이 사진은 업로드 되었습니다 계속 업로드 여부?"},ModelPlacementMobile:{Registration:"등록",Submit:"제출하다",Preview:"시사",Back:"뒤쪽에",Restore:"복원하다",System:"체계",Library:"도서관",Point:"가리키다",RemovePoint:"포인트 제거",mannequinHint:"더 나은 경험을 위해 마네킹 내부의 순백색을 다른 색상으로 바꿔주세요.",SHOULDER:"어깨",WAISTBAND:"허리띠",HAND:"손",jsContent1:"아직 이미지를 표시하지 않았으므로 모델이 업로드되지 않습니다. 닫으시겠습니까??",jsContent2:"이 사진은 업로드 되었습니다 계속 업로드 여부?"},Upload:{Delete:"삭제",Maximum2M:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"업로드 실패"},SketchboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",PIN:"PIN",Maximum:"최대 {maxImg}개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 스케치보드의 썸네일 미리보기",inputContent1:"캡션 생성",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",jsContent1:"업로드 실패",jsContent2:"이미지 파일만 업로드할 수 있습니다!",jsContent3:"이미지는 2MB보다 작아야 합니다!",jsContent4:"허용되는 최대 파일 업로드 수가 초과되었습니다.",jsContent5:"사진을 선택해주세요",jsContent6:"입력한 내용이 최대 길이를 초과했습니다.",jsContent7:"내용을 입력해주세요"},PrintboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",PIN:"PIN",Maximum:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 프린트보드의 썸네일 미리보기",inputContent1:"캡션 생성",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"허용되는 최대 파일 업로드 수가 초과되었습니다.",jsContent4:"사진을 선택해주세요",jsContent5:"입력한 내용이 최대 길이를 초과했습니다.",jsContent6:"내용을 입력해주세요"},ColorboardUpload:{Thumbnail:"선택한 컬러보드의 썸네일 미리보기",Clear:"분명한",Palette:"팔레트",HEX:"HEX",RGBA:"RGBA",UploadImage:"이미지 업로드",ColorCode:"색상 코드",ExtractColor:"색상 추출",jsContent1:"귀하의 브라우저는 이를 지원하지 않습니다",jsContent2:"TCX 색상을 찾을 수 없습니다",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:'올바른 TCX 값을 입력하세요"'},MoodboardUpload:{Upload:"업로드",Library:"도서관",Generate:"생성하다",Delete:"삭제",Maximum:"최대 8개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",Thumbnail:"선택한 무드보드의 썸네일 미리보기",layout:"정렬하려면",jsContent1:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent2:"업로드 실패",jsContent3:"이미지 파일만 업로드할 수 있습니다!",jsContent4:"이미지는 2MB보다 작아야 합니다!",jsContent5:"무작위로 정렬하려면 레이아웃을 클릭하세요."},Cropper:{Cutpicture:"컷 그림",Finish:"마치다",Cancel:"취소",CropPreview:"자르기 미리보기"},Material:{inputContent1:"입력해주세요",PIN:"PIN"},MarketingSketchUpload:{Upload:"업로드",MyLibrary:"나의 신문",maximumLength:"최대 15개의 이미지를 업로드할 수 있으며, 이미지당 최대 2M",jsContent1:"업로드 실패",jsContent2:"이미지 파일만 업로드할 수 있습니다!",jsContent3:"이미지는 2MB보다 작아야 합니다!",jsContent5:"허용되는 최대 파일 업로드 수가 초과되었습니다."},layout:{MoodBoardDesign:"무드보드 디자인",LayerOptions:"레이어 옵션",Submit:"제출하다"},Generate:{ImageOnly:"이미지만",TextOnly:"텍스트만",TextImage:"텍스트-이미지",Model1:"모델1",Model2:"모델2",inputContent1:"프롬프트 입력",Generate:"생성하다",maximumLength:"입력한 내용이 최대 길이를 초과했습니다.",Model:"모델1",jsContent1:"이미지 파일만 업로드할 수 있습니다!",jsContent2:"이미지는 2MB보다 작아야 합니다!",jsContent3:"내용을 입력해주세요",jsContent4:"입력한 내용이 최대 길이를 초과했습니다.",jsContent5:"내용을 입력해주세요",jsContent6:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent7:"업로드 실패"},collectionModal:{Moodboard:"무드보드",Printboard:"프린트보드",Colorboard:"컬러보드",Sketchboard:"스케치보드",MoodCollection:"컬렉션에 대한 무드보드를 선택하세요",PrinCollection:"컬렉션을 위한 프린트보드를 선택하세요",ColorCollection:"컬렉션의 색상을 선택하세요",SketchCollection:"컬렉션에 사용할 스케치보드를 선택하세요",jsContent1:"여러 이미지를 선택했으므로 계속하려면 '레이아웃'을 클릭하세요.",jsContent2:"업로드한 파일은 저장되지 않습니다. 계속하시겠습니까? ",jsContent3:"추가 처리를 위해 하나 이상의 색상을 선택해야 합니다."},DesignDetail:{Details:"세부",EditDetails:"디자인의 세부 사항을 편집하세요",Submit:"제출하다",CurrentApparel:"현재 의류",CurrentPrint:"현재 인쇄",CurrentColor:"현재 색상"},DesignDetailAlter:{Upload:"업로드",Library:"도서관",inputContent1:"입력해주세요",Palette:"팔레트",HEX:"HEX",RGBA:"RGBA",UploadImage:"이미지 업로드",Delete:"삭제",ColorCode:"색상 코드",jsContent1:"귀하의 브라우저는 이를 지원하지 않습니다",jsContent2:"최대 8개의 이미지를 선택할 수 있습니다.",jsContent3:"업로드 실패",jsContent4:"이미지 파일만 업로드할 수 있습니다!",jsContent5:"이미지는 5MB보다 작아야 합니다.!",jsContent6:"TCX 색상을 찾을 수 없습니다"},DesignDetailEnd:{NewApparel:"새로운 의류",NewPrint:"새 인쇄",Placement:"놓기",Overall:"전반적인",Single:"하나의",NewColor:"새로운 색상",preview:"시사",Layout:"정렬하려면",jsContent1:"인쇄를 선택해주세요"},DesignPrintOperation:{Placement:"놓기",Overall:"전반적인",Single:"하나의",Scale:"규모",Random:"무작위의",inputContent:"입력해주세요",preview:"시사",jsContent1:"위 변경사항이 저장되지 않았습니다. 계속하시겠습니까? "},uploadFile:{jsContent1:"최대 {maxImg}개의 이미지를 선택할 수 있습니다."},isTest:{available:"이 기능은 체험 사용자에게 제공되지 않습니다。",src:"이 기능은 체험 사용자에게 열려 있지 않으며, 구독이 필요한 경우,를 클릭하세요. ->",userName:"체험 사용자",loginIsTest:"체험 사용자이며, 시험 기간은 {date}까지입니다. 사용자 데이터의 안전을 위해 체험 사용자가 업로드 한 개인 데이터는 저장하지 않으며, 로그 아웃 후 개인 데이터를 지웁니다. 구독이 필요한 경우,를 클릭하세요. ->",image:"체험 사용자이기 때문에 10개의 이미지만 업로드 할 수 있습니다."},setLabel:{EditTag:"태그 편집",jsContent1:"태그 이름을 입력하세요"}},A={Header:{hello:"こんにちは",HOME:"ホームページ",LIBRARY:"集める",HISTORY:"歴史",bindEmail:"電子メールをバインドする",logOff:"ログオフ",language:"日本語",skip:"スキップ",emailContent:"電子メールをバインドしました",Email:"Eメール",NextStep:"次のステップ",verification:"確認コードを入力してください",SentTo:"に送信された",Resend:"再送信",jsContent1:"メールの形式が間違っています",jsContent2:"メールボックスのバインドに成功しました。",jsContent3:"長期間操作を行っていません。アクティブである必要があります。そうでない場合は、{numTime} S でログアウトします。"},Habit:{Workspace:"ワークスペース",WorkspaceSetting:"ワークスペースの設定",settingWorkspace:"ワークスペース設定を調整する",Overall:"全体",Single:"シングル",System:"システム",Designer:"デザイナー",Mannequin:"マネキン",Current:"現在",User:"ユーザー",jsContent1:"ワークスペースを削除するかどうか?",jsContent2:"ワークベンチ名を入力してください"},RobotAssist:{inputContent1:"メッセージを書いてください~",jsContent1:"内容を入力してください"},HomeView:{GetStarted:"始めましょう",Start:"始める",Edit:"編集",Design:"デザイン",Redesign:"再設計",GeneratedDesign:"生成されたデザイン",SelectedDesign:"選択されたデザイン",Export:"輸出",moodboard:"ムードボード",printboard:"プリント基板",colorboard:"カラーボード",sketchboard:"スケッチボード",mannequins:"マネキン",jsContent1:"以降の処理には 1 つ以上の色を選択する必要があります。",jsContent2:"以降の処理には 1 つ以上の色を選択する必要があります。",jsContent3:"ファイルのエクスポートに失敗しました"},LibraryPage:{Organize:"編成",Upload:"アップロード",Generate:"生成する",Delete:"消去",Rename:"編集",Point:"ポイント",inputContent1:"スタイルコードで検索",intersection:"交差点",Select:"選択",NoLabel:"ラベルなし",unionSet:"ユニオンセット",all:"全て",ImageOnly:"画像のみ",TextOnly:"テキストのみ",TextImage:"テキスト-画像",inputContent2:"プロンプト入力",maximumLength:"入力した内容が最大長を超えています.",Model1:"モデル1",Model2:"モデル2",inputContent3:"プロンプト入力",Cancel:"キャンセル",Sure:"もちろん",Moodboard:"ムードボード",Prints:"プリント",Sketches:"スケッチ",Mannequins:"マネキン",model:"モデル",jsContent1:"画像を削除してもよろしいですか?",jsContent2:"画像を削除してもよろしいですか?",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"この写真はアップロードされました。アップロードを続けるかどうか?",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください",jsContent8:"アップロードに失敗しました",jsContent9:"内容を入力してください"},HistoryPage:{History:"歴史",StartDate:"開始日",EndDate:"終了日",inputContent1:"コレクション名で検索",Detail:"詳細",Rename:"名前の変更",Retrieve:"取得",Delete:"消去",inputContent2:"新しい名前を入力してください",Submit:"提出す",CollectionsName:"コレクション名",UptateTime:"更新時間",SketchCounts:"スケッチ数",Operations:"オペレーション",jsContent1:"正常に削除されました",jsContent2:"本当にこのコレクションを削除してもよろしいですか? ",jsContent3:"正常に変更されました",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"この写真はアップロードされました。アップロードを続けるかどうか?",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください"},ModelPlacement:{Registration:"登録",Submit:"提出す",Preview:"プレビュー",Back:"戻る",Restore:"復元する",System:"システム",Library:"集める",Point:"ポイント",RemovePoint:"ポイントの削除",mannequinHint:"体験を向上させるために、マネキン内の純白を別の色に変更してください。",SHOULDER:"ショルダー",WAISTBAND:"ウエストバンド",HAND:"手",jsContent1:"画像にまだマークを付けていないため、モデルはアップロードされません。閉じてもよろしいですか?",jsContent2:"この写真はアップロードされました。アップロードを続けるかどうか?"},ModelPlacementMobile:{Registration:"登録",Submit:"提出す",Preview:"プレビュー",Back:"戻る",Restore:"復元する",System:"システム",Library:"集める",Point:"ポイント",RemovePoint:"ポイントの削除",mannequinHint:"体験を向上させるために、マネキン内の純白を別の色に変更してください。",SHOULDER:"ショルダー",WAISTBAND:"ウエストバンド",HAND:"手",jsContent1:"画像にまだマークを付けていないため、モデルはアップロードされません。閉じてもよろしいですか?",jsContent2:"この写真はアップロードされました。アップロードを続けるかどうか?"},Upload:{Delete:"消去",Maximum2M:"画像は最大8枚アップロード可能、1枚あたり最大2M",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"アップロードに失敗しました"},SketchboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",PIN:"PIN",Maximum:"画像は最大{maxImg}枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したスケッチボードのサムネイル プレビュー",inputContent1:"キャプションの生成",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"アップロードに失敗しました",jsContent2:"画像ファイルのみアップロードできます!",jsContent3:"画像は 2MB 未満である必要があります!",jsContent4:"許可されるファイルアップロードの最大数を超えました",jsContent5:"写真を選択してください",jsContent6:"入力した内容が最大長を超えています.",jsContent7:"内容を入力してください"},PrintboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",PIN:"PIN",Maximum:"画像は最大8枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したプリントボードのサムネイル プレビュー",inputContent1:"キャプションの生成",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"許可されるファイルアップロードの最大数を超えました",jsContent4:"写真を選択してください",jsContent5:"入力した内容が最大長を超えています.",jsContent6:"内容を入力してください"},ColorboardUpload:{Thumbnail:"選択したカラーボードのサムネイル プレビュー",Clear:"クリア",Palette:"パレット",HEX:"HEX",RGBA:"RGBA",UploadImage:"画像をアップロードする",ColorCode:"カラーコード",ExtractColor:"色の抽出",jsContent1:"お使いのブラウザはサポートしていません",jsContent2:"TCXの色が見つからない",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"正しい TCX 値を入力してください。」"},MoodboardUpload:{Upload:"アップロード",Library:"集める",Generate:"生成する",Delete:"消去",Maximum:"画像は最大8枚アップロード可能、1枚あたり最大2M",Thumbnail:"選択したムードボードのサムネイル プレビュー",layout:"レイアウト",jsContent1:"最大8枚の画像を選択できます",jsContent2:"アップロードに失敗しました",jsContent3:"画像ファイルのみアップロードできます!",jsContent4:"画像は 2MB 未満である必要があります!",jsContent5:"ランダムに並べ替えるには、「レイアウト」をクリックしてください"},Cropper:{Cutpicture:"カット絵",Finish:"仕上げる",Cancel:"キャンセル",CropPreview:"クロッププレビュー"},Material:{inputContent1:"入力してください",PIN:"PIN"},MarketingSketchUpload:{Upload:"アップロード",MyLibrary:"私のライブラリ",maximumLength:"画像は最大15枚アップロード可能、1枚あたり最大2M",jsContent1:"アップロードに失敗しました",jsContent2:"画像ファイルのみアップロードできます!",jsContent3:"画像は 2MB 未満である必要があります!",jsContent5:"許可されるファイルアップロードの最大数を超えました"},layout:{MoodBoardDesign:"ムードボードのデザイン",LayerOptions:"レイヤーオプション",Submit:"提出す"},Generate:{ImageOnly:"画像のみ",TextOnly:"テキストのみ",TextImage:"テキスト-画像",Model1:"モデル1",Model2:"モデル2",inputContent1:"プロンプト入力",Generate:"生成する",Model:"モデル",maximumLength:"入力した内容が最大長を超えています.",jsContent1:"画像ファイルのみアップロードできます!",jsContent2:"画像は 2MB 未満である必要があります!",jsContent3:"内容を入力してください",jsContent4:"入力した内容が最大長を超えています.",jsContent5:"内容を入力してください",jsContent6:"最大8枚の画像を選択できます",jsContent7:"アップロードに失敗しました"},collectionModal:{Moodboard:"ムードボード",Printboard:"プリント基板",Colorboard:"カラーボード",Sketchboard:"スケッチボード",MoodCollection:"コレクション用のムードボードを選択してください",PrinCollection:"コレクションに合わせてプリントボードを選択してください",ColorCollection:"コレクションの色を選択してください",SketchCollection:"コレクション用のスケッチボードを選択してください",jsContent1:"複数の画像を選択したため、「レイアウト」をクリックして次に進んでください。",jsContent2:"アップロードされたファイルは保存されません。続行しますか? ",jsContent3:"以降の処理には 1 つ以上の色を選択する必要があります。"},DesignDetail:{Details:"詳細",EditDetails:"デザインの詳細を編集する",Submit:"提出す",CurrentApparel:"現在のアパレル",CurrentPrint:"現在の印刷物",CurrentColor:"現在の色"},DesignDetailAlter:{Upload:"アップロード",Library:"集める",inputContent1:"入力してください",Palette:"パレット",HEX:"HEX",RGBA:"RGBA",UploadImage:"画像をアップロードする",Delete:"消去",ColorCode:"カラーコード",jsContent1:"お使いのブラウザはサポートしていません",jsContent2:"最大8枚の画像を選択できます",jsContent3:"アップロードに失敗しました",jsContent4:"画像ファイルのみアップロードできます!",jsContent5:"画像は 5MB 未満である必要があります!",jsContent6:"TCXの色が見つからない"},DesignDetailEnd:{NewApparel:"新しいアパレル",NewPrint:"新しいプリント",Placement:"配置",Overall:"全体",Single:"シングル",NewColor:"新色",preview:"プレビュー",Layout:"レイアウト",jsContent1:"印刷を選択してください"},DesignPrintOperation:{Placement:"配置",Overall:"全体",Single:"シングル",Scale:"スケール",Random:"ランダム",inputContent:"入力してください",preview:"プレビュー",jsContent1:"上記の変更は保存されません。続行しますか? "},uploadFile:{jsContent1:"最大{maxImg}枚の画像を選択できます"},isTest:{available:"この機能はトライアルユーザーには利用できません。",src:"この機能はトライアルユーザーに開放されていません。サブスクリプションが必要な場合は、をクリックしてください ->",userName:"トライアルユーザー",loginIsTest:"あなたはトライアルユーザーです。試用期間は{date}までです。ユーザーデータの安全性のため、トライアルユーザーがアップロードした個人データは保存せず、ログアウト後に個人データは消去されます。サブスクリプションが必要な場合は、をクリックしてください。 ->",image:"トライアルユーザーであるため、10枚の画像しかアップロードできません。"},setLabel:{EditTag:"タグを編集",jsContent1:"タグ名を入力してください"}},R={Header:{hello:"привет",HOME:"ДОМ",LIBRARY:"БИБЛИОТЕКА",HISTORY:"ИСТОРИЯ",bindEmail:"привязать электронную почту",logOff:"выйти",language:"русский",skip:"пропускать",emailContent:"у вас привязана электронная почта",Email:"Электронная почта",NextStep:"Следующий шаг",verification:"введите код подтверждения",SentTo:"Отправлено в",Resend:"Отправить",jsContent1:"Формат электронной почты неправильный",jsContent2:"Удалось привязать почтовый ящик.",jsContent3:"Вы давно не выполняли никаких операций. Вы должны быть активны, иначе вы выйдете из системы через {numTime} S"},Habit:{Workspace:"Рабочая среда",WorkspaceSetting:"Настройка рабочего пространства",settingWorkspace:"отрегулируйте настройки вашего рабочего пространства",Overall:"Общий",Single:"Одинокий",System:"Система",Designer:"Дизайнер",Mannequin:"Манекен",Current:"Текущий",User:"Пользователь",jsContent1:"Удалять ли рабочую область?",jsContent2:"Пожалуйста, введите название рабочей среды"},RobotAssist:{inputContent1:"Напиши сообщение~",jsContent1:"Пожалуйста, введите содержание"},HomeView:{GetStarted:"Начать",Start:"Начинать",Edit:"Редактировать",Design:"Дизайн",Redesign:"Редизайн",GeneratedDesign:"Сгенерированный дизайн",SelectedDesign:"Выбранный дизайн",Export:"Экспорт",moodboard:"мудборд",printboard:"печатная плата",colorboard:"цветная доска",sketchboard:"доска для рисования",mannequins:"манекены",jsContent1:"Вы должны выбрать один или несколько цветов для дальнейшей обработки..",jsContent2:"Вы должны выбрать один или несколько цветов для дальнейшей обработки..",jsContent3:"Не удалось экспортировать файл"},LibraryPage:{Organize:"Организовать",Upload:"Загрузить",Generate:"Генерировать",Delete:"Удалить",Rename:"Редактировать",Point:"точка",inputContent1:"Поиск по коду вашего стиля",intersection:"пересечение",Select:"Выбрать",NoLabel:"Нет метки",unionSet:"набор объединений",all:"all",ImageOnly:"Только изображение",TextOnly:"Только текст",TextImage:"Текст-изображение",inputContent2:"Быстрый ввод",maximumLength:"Введенный контент превышает максимальную длину.",Model1:"Модель1",Model2:"Модель2",inputContent3:"Быстрый ввод",Cancel:"Отмена",Sure:"Конечно",Moodboard:"Мудборд",Prints:"Принты",Sketches:"Эскизы",Mannequins:"Манекены",model:"mодель",jsContent1:"Вы уверены, что удалите картинку?",jsContent2:"Вы уверены, что удалите картинку?",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Это изображение было загружено, стоит ли продолжать загрузку?",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание",jsContent8:"Загрузка не удалась",jsContent9:"Пожалуйста, введите содержание"},HistoryPage:{History:"История",StartDate:"Дата начала",EndDate:"Дата окончания",inputContent1:"Поиск по названию коллекции",Detail:"Деталь",Rename:"Переименовать",Retrieve:"Забрать",Delete:"Удалить",inputContent2:"Введите новое имя",Submit:"Запись",CollectionsName:"Название коллекции",UptateTime:"Время обновления",SketchCounts:"Эскиз имеет значение",Operations:"Операции",jsContent1:"Удален успешно",jsContent2:"Вы действительно хотите удалить эту коллекцию?? ",jsContent3:"Изменение успешно",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Это изображение было загружено, стоит ли продолжать загрузку?",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание"},ModelPlacement:{Registration:"Постановка на учет",Submit:"Запись",Preview:"Превью",Back:"Назад",Restore:"Восстановить",System:"Система",Library:"Библиотека",Point:"Точка",RemovePoint:"Удалить точку",mannequinHint:"Пожалуйста, замените чистый белый цвет внутри манекена на другой цвет, чтобы улучшить ваши впечатления.",SHOULDER:"ПЛЕЧО",WAISTBAND:"ПОЯС",HAND:"РУКА",jsContent1:"Вы еще не отметили изображение, и модель не будет загружена. Вы уверены, что хотите закрыть его?",jsContent2:"Это изображение было загружено, стоит ли продолжить загрузку?"},ModelPlacementMobile:{Registration:"Постановка на учет",Submit:"Запись",Preview:"Превью",Back:"Назад",Restore:"Восстановить",System:"Система",Library:"Библиотека",Point:"Точка",RemovePoint:"Удалить точку",mannequinHint:"Пожалуйста, замените чистый белый цвет внутри манекена на другой цвет, чтобы улучшить ваши впечатления.",SHOULDER:"ПЛЕЧО",WAISTBAND:"ПОЯС",HAND:"РУКА",jsContent1:"Вы еще не отметили изображение, и модель не будет загружена. Вы уверены, что хотите закрыть его?",jsContent2:"Это изображение было загружено, стоит ли продолжить загрузку?"},Upload:{Delete:"Удалить",Maximum2M:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Загрузка не удалась"},SketchboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",PIN:"PIN",Maximum:"Можно загрузить максимум {maxImg} изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранной эскизной панели",inputContent1:"Создание подписей",maximumLength:"Введенный контент превышает максимальную длину.",jsContent1:"Загрузка не удалась",jsContent2:"Вы можете загрузить только файл изображения!",jsContent3:"Изображение должно быть меньше 2 МБ!",jsContent4:"Превышено максимально допустимое количество загрузок файлов.",jsContent5:"Пожалуйста, выберите изображение",jsContent6:"Введенный контент превышает максимальную длину.",jsContent7:"Пожалуйста, введите содержание"},PrintboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",PIN:"PIN",Maximum:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранной печатной платы",inputContent1:"Создание подписей",maximumLength:"Введенный контент превышает максимальную длину.",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Превышено максимально допустимое количество загрузок файлов.",jsContent4:"Пожалуйста, выберите изображение",jsContent5:"Введенный контент превышает максимальную длину.",jsContent6:"Пожалуйста, введите содержание"},ColorboardUpload:{Thumbnail:"Предварительный просмотр миниатюр выбранной цветовой доски",Clear:"Ясно",Palette:"Палитра",HEX:"HEX",RGBA:"RGBA",UploadImage:"Загрузить картинку",ColorCode:"Цветовой код",ExtractColor:"Извлечь цвет",jsContent1:"Ваш браузер его не поддерживает",jsContent2:"Не могу найти цвет TCX",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Пожалуйста, введите правильное значение TCX"},MoodboardUpload:{Upload:"Загрузить",Library:"Библиотека",Generate:"Генерировать",Delete:"Удалить",Maximum:"Можно загрузить максимум 8 изображений, максимум 2 М на изображение.",Thumbnail:"Предварительный просмотр миниатюр выбранного мудборда",layout:"макет",jsContent1:"Вы можете выбрать до 8 изображений",jsContent2:"Загрузка не удалась",jsContent3:"Вы можете загрузить только файл изображения!",jsContent4:"Изображение должно быть меньше 2 МБ!",jsContent5:"Пожалуйста, нажмите «Макет», чтобы отсортировать в случайном порядке."},Cropper:{Cutpicture:"Обрезать картинку",Finish:"Заканчивать",Cancel:"Отмена",CropPreview:"Crop Превью"},Material:{inputContent1:"Пожалуйста, введите",PIN:"PIN"},MarketingSketchUpload:{Upload:"Загрузить",MyLibrary:"Моя библиотека",maximumLength:"Можно загрузить максимум 15 изображений, максимум 2M на изображение.",jsContent1:"Загрузка не удалась",jsContent2:"Вы можете загрузить только файл изображения!",jsContent3:"Изображение должно быть меньше 2 МБ!",jsContent5:"Превышено максимально допустимое количество загрузок файлов."},layout:{MoodBoardDesign:"Дизайн Мудборда",LayerOptions:"Параметры слоя",Submit:"Запись"},Generate:{ImageOnly:"Только изображение",TextOnly:"Только текст",TextImage:"Текст-изображение",Model1:"Модель1",Model2:"Модель2",inputContent1:"Быстрый ввод",Generate:"Генерировать",maximumLength:"Введенный контент превышает максимальную длину.",Model:"Модель",jsContent1:"Вы можете загрузить только файл изображения!",jsContent2:"Изображение должно быть меньше 2 МБ!",jsContent3:"Пожалуйста, введите содержание",jsContent4:"Введенный контент превышает максимальную длину.",jsContent5:"Пожалуйста, введите содержание",jsContent6:"Вы можете выбрать до 8 изображений",jsContent7:"Загрузка не удалась"},collectionModal:{Moodboard:"Мудборд",Printboard:"Печатная плата",Colorboard:"Цветная доска",Sketchboard:"Скетчборд",MoodCollection:"выберите мудборд для своей коллекции",PrinCollection:"выберите печатную плату для своей коллекции",ColorCollection:"выберите цвета для своей коллекции",SketchCollection:"выберите скетчборд для своей коллекции",jsContent1:"Поскольку вы выбрали несколько изображений, нажмите «Макет», чтобы продолжить.",jsContent2:"Загруженные файлы не сохранятся, обязательно продолжайте? ",jsContent3:"Вы должны выбрать один или несколько цветов для дальнейшей обработки.."},DesignDetail:{Details:"Подробности",EditDetails:"Отредактируйте детали вашего дизайна",Submit:"Запись",CurrentApparel:"Текущая одежда",CurrentPrint:"Текущая печать",CurrentColor:"Текущий цвет"},DesignDetailAlter:{Upload:"Загрузить",Library:"Библиотека",inputContent1:"Пожалуйста, введите",Palette:"Палитра",HEX:"HEX",RGBA:"RGBA",UploadImage:"Загрузить картинку",Delete:"Удалить",ColorCode:"Цветовой код",jsContent1:"Ваш браузер его не поддерживает",jsContent2:"Вы можете выбрать до 8 изображений",jsContent3:"Загрузка не удалась",jsContent4:"Вы можете загрузить только файл изображения!",jsContent5:"Изображение должно быть меньше 5 МБ!",jsContent6:"Не могу найти цвет TCX"},DesignDetailEnd:{NewApparel:"Новая одежда",NewPrint:"Новая печать",Placement:"Размещение",Overall:"Общий",Single:"Одинокий",NewColor:"Новый цвет",preview:"просмотр",Layout:"Макет",jsContent1:"Пожалуйста, выберите печать"},DesignPrintOperation:{Placement:"Размещение",Overall:"Общий",Single:"Одинокий",Scale:"Масштаб",Random:"Случайный",inputContent:"Пожалуйста, введите",preview:"просмотр",jsContent1:"Вышеуказанные изменения не сохраняются, обязательно продолжайте? "},uploadFile:{jsContent1:"Вы можете выбрать до {maxImg} изображений"},isTest:{available:"Эта функция недоступна для пробных пользователей.",src:"Эта функция не открыта для пробных пользователей, если вам нужна подписка, пожалуйста, нажмите ->",userName:"Пробный пользователь",loginIsTest:"Вы являетесь пробным пользователем, испытательный срок до {date}. Для безопасности данных пользователей мы не сохраняем никакие персональные данные, загруженные пробными пользователями, и стираем персональные данные после каждого выхода из системы. Если вам нужна подписка, пожалуйста, нажмите ->",image:"Поскольку вы являетесь пробным пользователем, вы можете загрузить только 10 изображений."},setLabel:{EditTag:"Редактировать тег",jsContent1:"Пожалуйста, введите имя тега"}},N={Header:{hello:"Bonjour",HOME:"MAISON",LIBRARY:"BIBLIOTHÈQUE",HISTORY:"HISTOIRE",bindEmail:"lier un e-mail",logOff:"dérouler",language:"Français",skip:"sauter",emailContent:"vous avez un e-mail lié",Email:"E-mail",NextStep:"L'étape suivante",verification:"Entrez le code de vérification",SentTo:"Envoyé à",Resend:"Renvoyer",jsContent1:"Le format de l'e-mail est incorrect",jsContent2:"J'ai réussi à lier la boîte aux lettres.",jsContent3:"Vous n'avez effectué aucune opération depuis longtemps. Vous devez être actif, sinon vous vous déconnecterez dans {numTime} S"},Habit:{Workspace:"Espace de travail",WorkspaceSetting:"Paramètres de l'espace de travail",settingWorkspace:"ajustez les paramètres de votre espace de travail",Overall:"tous",Single:"Célibataire",System:"Système",Designer:"Designer",Mannequin:"Mannequin",Current:"Actuel",User:"Utilisateur",jsContent1:"S'il faut supprimer l'espace de travail?",jsContent2:"Veuillez saisir un nom d'atelier"},RobotAssist:{inputContent1:"écrire un message~",jsContent1:"Veuillez saisir le contenu"},HomeView:{GetStarted:"Commencer",Start:"Commencer",Edit:"Modifier",Design:"Conception",Redesign:"Refonte",GeneratedDesign:"Conception générée",SelectedDesign:"Conception sélectionnée",Export:"Exporter",moodboard:"Conseil d'humeur",printboard:"carton imprimé",colorboard:"tableau de couleurs",sketchboard:"planche à croquis",mannequins:"mannequins",jsContent1:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur.",jsContent2:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur.",jsContent3:"Échec de l'exportation du fichier"},LibraryPage:{Organize:"Organiser",Upload:"Télécharger",Generate:"Générer",Delete:"Supprimer",Rename:"Modifier",Point:"point",inputContent1:"Recherchez par votre code de style",intersection:"intersection",Select:"Sélectionner",NoLabel:"Aucune étiquette",unionSet:"ensemble d'unions",all:"tout",ImageOnly:"Image uniquement",TextOnly:"Texte seulement",TextImage:"Texte-Image",inputContent2:"Saisie rapide",maximumLength:"Le contenu saisi dépasse la longueur maximale.",Model1:"Modèle1",Model2:"Modèle2",inputContent3:"Saisie rapide",Cancel:"Annuler",Sure:"Bien sûr",Moodboard:"Conseil d'humeur",Prints:"Impressions",Sketches:"Croquis",Mannequins:"Mannequins",model:"modèle",jsContent1:"Êtes-vous sûr de supprimer l'image?",jsContent2:"Êtes-vous sûr de supprimer l'image?",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu",jsContent8:"échec du téléchargement",jsContent9:"Veuillez saisir le contenu"},HistoryPage:{History:"Histoire",StartDate:"Date de début",EndDate:"Date de fin",inputContent1:"Rechercher par nom de collection",Detail:"Détail",Rename:"Renommer",Retrieve:"Récupérer",Delete:"Supprimer",inputContent2:"Entrez un nouveau nom",Submit:"Soumettre",CollectionsName:"Nom de la collection",UptateTime:"Temps de mise à jour",SketchCounts:"Nombre d'esquisses",Operations:"Opérations",jsContent1:"Supprimé avec succès",jsContent2:"Voulez-vous vraiment supprimer cette collection? ",jsContent3:"Changer avec succès",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu"},ModelPlacement:{Registration:"Inscription",Submit:"Soumettre",Preview:"Aperçu",Back:"Dos",Restore:"Restaurer",System:"Système",Library:"Bibliothèque",Point:"Indiquer",RemovePoint:"Supprimer Indiquer",mannequinHint:"Veuillez changer le blanc pur à l'intérieur du mannequin pour une autre couleur afin d'améliorer votre expérience.",SHOULDER:"ÉPAULE",WAISTBAND:"CEINTURE",HAND:"MAIN",jsContent1:"Vous n'avez pas encore marqué l'image et le modèle ne sera pas téléchargé. Êtes-vous sûr de vouloir la fermer",jsContent2:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?"},ModelPlacementMobile:{Registration:"Inscription",Submit:"Soumettre",Preview:"Aperçu",Back:"Dos",Restore:"Restaurer",System:"Système",Library:"Bibliothèque",Point:"Indiquer",RemovePoint:"Supprimer Indiquer",mannequinHint:"Veuillez changer le blanc pur à l'intérieur du mannequin pour une autre couleur afin d'améliorer votre expérience.",SHOULDER:"ÉPAULE",WAISTBAND:"CEINTURE",HAND:"MAIN",jsContent1:"Vous n'avez pas encore marqué l'image et le modèle ne sera pas téléchargé. Êtes-vous sûr de vouloir la fermer",jsContent2:"Cette photo a été téléchargée si vous souhaitez continuer le téléchargement?"},Upload:{Delete:"Sopprimere",Maximum2M:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"échec du téléchargement"},SketchboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",PIN:"PIN",Maximum:"Un maximum de {maxImg} images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature du tableau de croquis sélectionné",inputContent1:"Génération de sous-titres",maximumLength:"Le contenu saisi dépasse la longueur maximale.",jsContent1:"échec du téléchargement",jsContent2:"Vous pouvez uniquement télécharger un fichier image!",jsContent3:"L'image doit être inférieure à 2 Mo!",jsContent4:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé",jsContent5:"Veuillez sélectionner une image",jsContent6:"Le contenu saisi dépasse la longueur maximale.",jsContent7:"Veuillez saisir le contenu"},PrintboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",PIN:"PIN",Maximum:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature de la carte d'impression sélectionnée",inputContent1:"Génération de sous-titres",maximumLength:"Le contenu saisi dépasse la longueur maximale.",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé",jsContent4:"Veuillez sélectionner une image",jsContent5:"Le contenu saisi dépasse la longueur maximale.",jsContent6:"Veuillez saisir le contenu"},ColorboardUpload:{Thumbnail:"Aperçu miniature du colorboard sélectionné",Clear:"Clair",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Télécharger une image",ColorCode:"Code couleur",ExtractColor:"Extraire la couleur",jsContent1:"Votre navigateur ne le prend pas en charge",jsContent2:"Je ne trouve pas la couleur TCX",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Veuillez saisir la valeur TCX correcte"},MoodboardUpload:{Upload:"Télécharger",Library:"Bibliothèque",Generate:"Générer",Delete:"Supprimer",Maximum:"Un maximum de 8 images peuvent être téléchargées, maximum 2 M par image",Thumbnail:"Aperçu miniature du moodboard sélectionné",layout:"mise en page",jsContent1:"Vous pouvez sélectionner jusqu'à 8 images",jsContent2:"échec du téléchargement",jsContent3:"Vous pouvez uniquement télécharger un fichier image!",jsContent4:"L'image doit être inférieure à 2 Mo!",jsContent5:"Veuillez cliquer sur Mise en page pour trier aléatoirement"},Cropper:{Cutpicture:"Couper l'image",Finish:"Finition",Cancel:"Annuler",CropPreview:"Aperçu du recadrage"},Material:{inputContent1:"Veuillez saisir",PIN:"PIN"},MarketingSketchUpload:{Upload:"Télécharger",MyLibrary:"Ma bibliothèque",maximumLength:"Un maximum de 15 images peuvent être téléchargées, maximum 2 M par image",jsContent1:"échec du téléchargement",jsContent2:"Vous pouvez uniquement télécharger un fichier image!",jsContent3:"L'image doit être inférieure à 2 Mo!",jsContent5:"Le nombre maximum de téléchargements de fichiers autorisés a été dépassé"},layout:{MoodBoardDesign:"Conception du MoodBoard",LayerOptions:"Options de calque",Submit:"Soumettre"},Generate:{ImageOnly:"Image uniquement",TextOnly:"Texte seulement",TextImage:"Texte-Image",Model1:"Modèle1",Model2:"Modèle2",inputContent1:"Saisie rapide",Generate:"Générer",maximumLength:"Le contenu saisi dépasse la longueur maximale.",Model:"Modèle",jsContent1:"Vous pouvez uniquement télécharger un fichier image!",jsContent2:"L'image doit être inférieure à 2 Mo!",jsContent3:"Veuillez saisir le contenu",jsContent4:"Le contenu saisi dépasse la longueur maximale.",jsContent5:"Veuillez saisir le contenu",jsContent6:"Vous pouvez sélectionner jusqu'à 8 images",jsContent7:"échec du téléchargement"},collectionModal:{Moodboard:"Conseil d'humeur",Printboard:"Tableau imprimé",Colorboard:"Tableau de couleurs",Sketchboard:"Tableau à croquis",MoodCollection:"sélectionnez le moodboard pour votre collection",PrinCollection:"sélectionnez le carton imprimé pour votre collection",ColorCollection:"sélectionnez les couleurs pour votre collection",SketchCollection:"sélectionnez un tableau à croquis pour votre collection",jsContent1:"Puisque vous avez sélectionné plusieurs images, veuillez cliquer sur « Mise en page » pour continuer.",jsContent2:"Les fichiers téléchargés ne seront pas enregistrés, assurez-vous de continuer? ",jsContent3:"Vous devez choisir une ou plusieurs couleurs pour un processus ultérieur."},DesignDetail:{Details:"Détails",EditDetails:"Modifiez les détails de votre conception",Submit:"Soumettre",CurrentApparel:"Vêtements actuels",CurrentPrint:"Impression actuelle",CurrentColor:"Couleur actuelle"},DesignDetailAlter:{Upload:"Télécharger",Library:"Bibliothèque",inputContent1:"Veuillez saisir",Palette:"Palette",HEX:"HEX",RGBA:"RGBA",UploadImage:"Télécharger une image",Delete:"Supprimer",ColorCode:"Code couleur",jsContent1:"Votre navigateur ne le prend pas en charge",jsContent2:"Vous pouvez sélectionner jusqu'à 8 images",jsContent3:"échec du téléchargement",jsContent4:"Vous pouvez uniquement télécharger un fichier image!",jsContent5:"L'image doit être inférieure à 5 Mo!",jsContent6:"La couleur de TXCX est introuvable"},DesignDetailEnd:{NewApparel:"Nouveaux vêtements",NewPrint:"Nouvelle impression",Placement:"Placement",Overall:"tous",Single:"Célibataire",NewColor:"Nouvelle couleur",preview:"Aperçu",Layout:"Mise en page",jsContent1:"Veuillez sélectionner imprimer"},DesignPrintOperation:{Placement:"Placement",Overall:"tous",Single:"Célibataire",Scale:"Échelle",Random:"Aléatoire",inputContent:"Veuillez saisir",preview:"Aperçu",jsContent1:"Les modifications ci-dessus ne sont pas enregistrées, assurez-vous de continuer? "},uploadFile:{jsContent1:"Vous pouvez sélectionner jusqu'à {maxImg} images"},isTest:{available:"Cette fonctionnalité n'est pas disponible pour les utilisateurs d'essai.",src:"Cette fonction n'est pas accessible aux utilisateurs d'essai. Si vous avez besoin de vous abonner, veuillez cliquer sur ->",userName:"Utilisateur d'essai",loginIsTest:"Vous êtes un utilisateur d'essai, période de probation jusqu'au {date}. Pour la sécurité des données des utilisateurs, nous ne sauvegardons aucune donnée personnelle téléchargée par les utilisateurs d'essai et effaçons les données personnelles après chaque déconnexion. Si vous avez besoin de vous abonner, veuillez cliquer sur ->",image:"En tant qu'utilisateur d'essai, vous ne pouvez télécharger que 10 images."},setLabel:{EditTag:"Modifier le tag",jsContent1:"Veuillez saisir un nom de tag"}},E={Header:{hello:"สวัสดี",HOME:"หน้าแรก",LIBRARY:"ไลบรารี",HISTORY:"ประวัติความเป็นมา",bindEmail:"ผูกอีเมล",logOff:"ออกจากระบบ",language:"ไทย",skip:"ข้าม",emailContent:"ที่อยู่อีเมลที่ถูกผูกไว้ของคุณ",Email:"อีเมล",NextStep:"ขั้นตอนต่อไป",verification:"ใส่รหัสยืนยัน",SentTo:"ส่งไปยัง",Resend:"ส่งอีกครั้ง",jsContent1:"รูปแบบอีเมลไม่ถูกต้อง",jsContent2:"ประสบความสำเร็จในการผูกกล่องจดหมาย.",jsContent3:"เป็นเวลานานแล้วที่คุณไม่ได้ทำอะไรเลย คุณต้องใช้งานอยู่ ไม่เช่นนั้นคุณจะออกจากระบบหลังจากผ่านไป {numTime} วินาที"},Habit:{Workspace:"พื้นที่ทำงาน",WorkspaceSetting:"การตั้งค่าพื้นที่ทำงาน",settingWorkspace:"ปรับการตั้งค่าพื้นที่ทำงานของคุณ",Overall:"โดยรวม",Single:"เดี่ยว",System:"ระบบ",Designer:"ดีไซเนอร์",Mannequin:"นางแบบ",Current:"ปัจจุบัน",User:"ผู้ใช้",jsContent1:"ไม่ว่าจะลบพื้นที่ทำงาน?",jsContent2:"โปรดป้อนชื่อเวิร์กเบนช์"},RobotAssist:{inputContent1:"เขียนข้อความ~",jsContent1:"กรุณากรอกเนื้อหา"},HomeView:{GetStarted:"เริ่มต้น",Start:"เริ่ม",Edit:"แก้ไข",Design:"ออกแบบ",Redesign:"ออกแบบใหม่",GeneratedDesign:"การออกแบบที่สร้างขึ้น",SelectedDesign:"การออกแบบที่เลือก",Export:"ส่งออก",moodboard:"มูดบอร์ด",printboard:"บอร์ดพิมพ์",colorboard:"กระดานสี",sketchboard:"กระดานสเก็ตช์",mannequins:"หุ่น",jsContent1:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป.",jsContent2:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป.",jsContent3:"ล้มเหลวในการส่งออกไฟล์"},LibraryPage:{Organize:"จัดระเบียบ",Upload:"อัปโหลด",Generate:"กำเนิด",Delete:"ลบ",Rename:"แก้ไข",Point:"จุด",inputContent1:"ค้นหาตามรหัสสไตล์ของคุณ",intersection:"แยก",Select:"เลือก",NoLabel:"ไม่มีป้ายกำกับ",unionSet:"ชุดยูเนี่ยน",all:"ทั้งหมด",ImageOnly:"รูปภาพเท่านั้น",TextOnly:"ข้อความเท่านั้น",TextImage:"ข้อความ-รูปภาพ",inputContent2:"ป้อนข้อมูลทันที",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",Model1:"แบบอย่าง1",Model2:"แบบอย่าง2",inputContent3:"ป้อนข้อมูลทันที",Cancel:"ยกเลิก",Sure:"ได้เลย",Moodboard:"มูดบอร์ด",Prints:"พิมพ์",Sketches:"สเก็ตช์",Mannequins:"หุ่นจำลอง",model:"แบบอย่าง",jsContent1:"แน่ใจนะว่าจะลบรูปนี้?",jsContent2:"แน่ใจนะว่าจะลบรูปนี้?",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา",jsContent8:"การอัพโหลดล้มเหลว",jsContent9:"กรุณากรอกเนื้อหา"},HistoryPage:{History:"ประวัติความเป็นมา",StartDate:"วันที่เริ่มต้น",EndDate:"วันที่สิ้นสุด",inputContent1:"ค้นหาตามชื่อคอลเลกชัน",Detail:"รายละเอียด",Rename:"เปลี่ยนชื่อ",Retrieve:"ดึงข้อมูล",Delete:"ลบ",inputContent2:"ป้อนชื่อใหม่",Submit:"บันทึก",CollectionsName:"ชื่อคอลเลกชัน",UptateTime:"เวลาอัปเดต",SketchCounts:"จำนวนภาพร่าง",Operations:"การดำเนินงาน",jsContent1:"ลบ ประสบความสำเร็จ",jsContent2:"คุณต้องการลบคอลเล็กชันนี้จริงๆ หรือไม่? ",jsContent3:"เปลี่ยนสำเร็จ",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา"},ModelPlacement:{Registration:"การลงทะเบียน",Submit:"บันทึก",Preview:"ดูตัวอย่าง",Back:"กลับ",Restore:"คืนค่า",System:"ระบบ",Library:"ห้องสมุด",Point:"จุด",RemovePoint:"ถอดจุด",mannequinHint:"โปรดเปลี่ยนสีขาวบริสุทธิ์ภายในหุ่นเป็นสีอื่นเพื่อเพิ่มประสบการณ์ของคุณ",SHOULDER:"ไหล่",WAISTBAND:"ขอบเอว",HAND:"มือ",jsContent1:"คุณยังไม่ได้ทำเครื่องหมายรูปภาพ และแบบจำลองจะไม่ถูกอัปโหลด คุณแน่ใจหรือไม่ว่าต้องการปิด?",jsContent2:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?"},ModelPlacementMobile:{Registration:"การลงทะเบียน",Submit:"บันทึก",Preview:"ดูตัวอย่าง",Back:"กลับ",Restore:"คืนค่า",System:"ระบบ",Library:"ห้องสมุด",Point:"จุด",RemovePoint:"ถอดจุด",mannequinHint:"โปรดเปลี่ยนสีขาวบริสุทธิ์ภายในหุ่นเป็นสีอื่นเพื่อเพิ่มประสบการณ์ของคุณ",SHOULDER:"ไหล่",WAISTBAND:"ขอบเอว",HAND:"มือ",jsContent1:"คุณยังไม่ได้ทำเครื่องหมายรูปภาพ และแบบจำลองจะไม่ถูกอัปโหลด คุณแน่ใจหรือไม่ว่าต้องการปิด?",jsContent2:"รูปภาพนี้ถูกอัปโหลดแล้วว่าจะอัปโหลดต่อหรือไม่?"},Upload:{Delete:"ลบ",Maximum2M:"สามารถอัพโหลดภาพได้สูงสุด 10 ภาพ สูงสุด 2M ต่อภาพ",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"การอัพโหลดล้มเหลว"},SketchboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",PIN:"PIN",Maximum:"สามารถอัพโหลดภาพได้สูงสุด {maxImg} ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของกระดานร่างภาพที่เลือก",inputContent1:"การสร้างคำบรรยายภาพ",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent1:"การอัพโหลดล้มเหลว",jsContent2:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent3:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent4:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว",jsContent5:"กรุณาเลือกรูปภาพ",jsContent6:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent7:"กรุณากรอกเนื้อหา"},PrintboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",PIN:"PIN",Maximum:"สามารถอัพโหลดภาพได้สูงสุด 8 ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของบอร์ดพิมพ์ที่เลือก",inputContent1:"การสร้างคำบรรยายภาพ",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว",jsContent4:"กรุณาเลือกรูปภาพ",jsContent5:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent6:"กรุณากรอกเนื้อหา"},ColorboardUpload:{Thumbnail:"ภาพตัวอย่างขนาดย่อของกระดานสีที่เลือก",Clear:"ชัดเจน",Palette:"จานสี",HEX:"HEX",RGBA:"RGBA",UploadImage:"อัพโหลดรูปภาพ",ColorCode:"รหัสสี",ExtractColor:"สารสกัดจากสี",jsContent1:"เบราว์เซอร์ของคุณไม่รองรับ",jsContent2:"ไม่พบสี TCX",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"โปรดป้อนค่า TCX ที่ถูกต้อง"},MoodboardUpload:{Upload:"อัปโหลด",Library:"ห้องสมุด",Generate:"กำเนิด",Delete:"ลบ",Maximum:"สามารถอัพโหลดภาพได้สูงสุด 8 ภาพ สูงสุด 2M ต่อภาพ",Thumbnail:"ภาพตัวอย่างขนาดย่อของมูดบอร์ดที่เลือก",layout:"เลย์เอาต์",jsContent1:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent2:"การอัพโหลดล้มเหลว",jsContent3:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent4:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"กรุณาคลิกเค้าโครงเพื่อเรียงลำดับแบบสุ่ม"},Cropper:{Cutpicture:"ตัดภาพ",Finish:"เสร็จ",Cancel:"ยกเลิก",CropPreview:"ครอบตัดตัวอย่าง"},Material:{inputContent1:"กรุณาป้อนข้อมูล",PIN:"PIN"},MarketingSketchUpload:{Upload:"อัปโหลด",MyLibrary:"ห้องสมุดของฉัน",maximumLength:"สามารถอัปโหลดได้สูงสุด 15 ภาพ สูงสุด 2M ต่อภาพ",jsContent1:"การอัพโหลดล้มเหลว",jsContent2:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent3:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent5:"เกินจำนวนการอัปโหลดไฟล์ที่อนุญาตสูงสุดแล้ว"},layout:{MoodBoardDesign:"MoodBoard Design",LayerOptions:"ตัวเลือกเลเยอร์",Submit:"บันทึก"},Generate:{ImageOnly:"รูปภาพเท่านั้น",TextOnly:"ข้อความเท่านั้น",TextImage:"ข้อความ-รูปภาพ",Model1:"แบบอย่าง1",Model2:"แบบอย่าง2",inputContent1:"ป้อนข้อมูลทันที",Generate:"กำเนิด",maximumLength:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",Model:"แบบอย่าง",jsContent1:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent2:"รูปภาพต้องมีขนาดเล็กกว่า 2MB!",jsContent3:"กรุณากรอกเนื้อหา",jsContent4:"เนื้อหาที่ป้อนเกินความยาวสูงสุด.",jsContent5:"กรุณากรอกเนื้อหา",jsContent6:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent7:"การอัพโหลดล้มเหลว"},collectionModal:{Moodboard:"มูดบอร์ด",Printboard:"บอร์ดพิมพ์",Colorboard:"กระดานสี",Sketchboard:"กระดานสเก็ตช์",MoodCollection:"เลือกมูดบอร์ดสำหรับคอลเลกชันของคุณ",PrinCollection:"เลือกกระดานพิมพ์สำหรับคอลเลกชันของคุณ",ColorCollection:"เลือกสีสำหรับคอลเลกชันของคุณ",SketchCollection:"เลือกกระดานร่างสำหรับคอลเลกชันของคุณ",jsContent1:"เนื่องจากคุณได้เลือกภาพหลายภาพ โปรดคลิก 'เค้าโครง' เพื่อดำเนินการต่อ",jsContent2:"ไฟล์ที่อัพโหลดจะไม่ถูกบันทึก โปรดดำเนินการต่อ? ",jsContent3:"คุณต้องเลือกหนึ่งสีขึ้นไปเพื่อดำเนินการต่อไป."},DesignDetail:{Details:"รายละเอียด",EditDetails:"แก้ไขรายละเอียดการออกแบบของคุณ",Submit:"บันทึก",CurrentApparel:"เครื่องแต่งกายปัจจุบัน",CurrentPrint:"การพิมพ์ในปัจจุบัน",CurrentColor:"สีปัจจุบัน"},DesignDetailAlter:{Upload:"อัปโหลด",Library:"ห้องสมุด",inputContent1:"กรุณาป้อนข้อมูล",Palette:"จานสี",HEX:"HEX",RGBA:"RGBA",UploadImage:"อัพโหลดรูปภาพ",Delete:"ลบ",ColorCode:"รหัสสี",jsContent1:"เบราว์เซอร์ของคุณไม่รองรับ",jsContent2:"คุณสามารถเลือกได้สูงสุด 8 ภาพ",jsContent3:"การอัพโหลดล้มเหลว",jsContent4:"คุณสามารถอัปโหลดได้เฉพาะไฟล์รูปภาพเท่านั้น!",jsContent5:"รูปภาพต้องมีขนาดเล็กกว่า 5MB!",jsContent6:"ไม่พบสี TCX"},DesignDetailEnd:{NewApparel:"เครื่องแต่งกายใหม่",NewPrint:"พิมพ์ใหม่",Placement:"ตำแหน่ง",Overall:"โดยรวม",Single:"เดี่ยว",NewColor:"สีใหม่",preview:"ดูตัวอย่าง",Layout:"เลย์เอาต์",jsContent1:"กรุณาเลือกพิมพ์"},DesignPrintOperation:{Placement:"ตำแหน่ง",Overall:"โดยรวม",Single:"เดี่ยว",Scale:"มาตราส่วน",Random:"สุ่ม",inputContent:"กรุณาป้อนข้อมูล",preview:"ดูตัวอย่าง",jsContent1:"การเปลี่ยนแปลงข้างต้นไม่ได้รับการบันทึก โปรดดำเนินการต่อ? "},uploadFile:{jsContent1:"คุณสามารถเลือกได้สูงสุด {maxImg} ภาพ"},isTest:{available:"เนื่องจากคุณเป็นผู้ใช้ทดลองใช้ คุณไม่สามารถใช้ฟีเจอร์นี้ได้",src:"ฟังก์ชันนี้ไม่เปิดให้ใช้กับผู้ใช้ทดลอง หากคุณต้องการสมัครสมาชิก กรุณาคลิก ->",userName:"ผู้ใช้ทดลองใช้",loginIsTest:"คุณเป็นผู้ใช้ทดลองใช้ ระยะเวลาการทดลองใช้จะสิ้นสุดเมื่อ {date} สำหรับความปลอดภัยของข้อมูลผู้ใช้ เราไม่บันทึกข้อมูลส่วนบุคคลที่ผู้ใช้ทดลองอัปโหลดและจะลบข้อมูลส่วนบุคคลหลังจากทุกครั้งที่ล็อกเอาท์ หากคุณต้องการสมัครสมาชิก กรุณาคลิก ->",image:"เนื่องจากคุณเป็นผู้ใช้ทดลองใช้ คุณสามารถอัปโหลดรูปภาพได้เพียง 10 ภาพเท่านั้น"},setLabel:{EditTag:"แก้ไขแท็ก",jsContent1:"โปรดใส่ชื่อแท็ก"}},w={Header:{hello:"Xin chào",HOME:"TRANG CHỦ",LIBRARY:"THƯ VIỆN",HISTORY:"LỊCH SỬ",bindEmail:"liên kết email",logOff:"đăng xuất",language:"Tiếng Việt",skip:"nhảy",emailContent:"bạn có email bị ràng buộc",Email:"E-mail",NextStep:"Bước tiếp theo",verification:"Nhập mã xác nhận",SentTo:"Gửi đến",Resend:"Gửi lại",jsContent1:"Định dạng email không chính xác",jsContent2:"Đã thành công trong việc ràng buộc hộp thư.",jsContent3:"Bạn đã không thực hiện bất kỳ thao tác nào trong một thời gian dài. Bạn phải hoạt động; nếu không, bạn sẽ đăng xuất khỏi {numTime} S"},Habit:{Workspace:"Không gian làm việc",WorkspaceSetting:"Cài đặt không gian làm việc",settingWorkspace:"điều chỉnh cài đặt không gian làm việc của bạn",Overall:"Tổng thể",Single:"Đơn",System:"Hệ thống",Designer:"Nhà thiết kế",Mannequin:"Ma nơ canh",Current:"Hiện hành",User:"Người dùng",jsContent1:"Có nên xóa không gian làm việc?",jsContent2:"Vui lòng nhập tên bàn làm việc"},RobotAssist:{inputContent1:"viết tin nhắn~",jsContent1:"Vui lòng nhập nội dung"},HomeView:{GetStarted:"Bắt đầu",Start:"Bắt đầu",Edit:"Biên tập",Design:"Thiết kế",Redesign:"Thiết kế lại",GeneratedDesign:"Thiết kế được tạo",SelectedDesign:"Thiết kế đã chọn",Export:"Xuất khẩu",moodboard:"bảng tâm trạng",printboard:"bảng in",colorboard:"bảng màu",sketchboard:"bảng phác thảo",mannequins:"ma-nơ-canh",jsContent1:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp.",jsContent2:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp.",jsContent3:"Không xuất được tệp"},LibraryPage:{Organize:"Tổ chức",Upload:"Tải lên",Generate:"Phát ra",Delete:"Xóa bỏ",Rename:"Biên tập",Point:"điểm",inputContent1:"Tìm kiếm theo mã kiểu của bạn",intersection:"ngã tư",Select:"Chọn",NoLabel:"Không có nhãn",unionSet:"bộ đoàn",all:"tất cả",ImageOnly:"Chỉ hình ảnh",TextOnly:"Chỉ văn bản",TextImage:"Văn bản-Hình ảnh",inputContent2:"Nhập liệu nhanh chóng",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",Model1:"Người mẫu1",Model2:"Người mẫu2",inputContent3:"Nhập liệu nhanh chóng",Cancel:"Hủy bỏ",Sure:"Chắc chắn",Moodboard:"Bảng tâm trạng",Prints:"Bản in",Sketches:"Bản phác thảo",Mannequins:"ma-nơ-canh",model:"người mẫu",jsContent1:"Bạn có chắc chắn xóa hình ảnh?",jsContent2:"Bạn có chắc chắn xóa hình ảnh?",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung",jsContent8:"Tải lên thất bại",jsContent9:"Vui lòng nhập nội dung"},HistoryPage:{History:"Lịch sử",StartDate:"Ngày bắt đầu",EndDate:"Ngày cuối",inputContent1:"Tìm kiếm theo tên bộ sưu tập",Detail:"Chi tiết",Rename:"Đổi tên",Retrieve:"Lấy lại",Delete:"Xóa bỏ",inputContent2:"Nhập tên mới",Submit:"Nộp",CollectionsName:"Tên bộ sưu tập",UptateTime:"Cập nhật thời gian",SketchCounts:"Số lượng phác thảo",Operations:"Hoạt động",jsContent1:"Đã xoá thành công",jsContent2:"Bạn có thực sự muốn xóa bộ sưu tập này? ",jsContent3:"Thay đổi thành công",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung"},ModelPlacement:{Registration:"Sự đăng ký",Submit:"Nộp",Preview:"Xem trước",Back:"Mặt sau",Restore:"Khôi phục",System:"Hệ thống",Library:"Thư viện",Point:"Điểm",RemovePoint:"Xóa điểm",mannequinHint:"Vui lòng thay đổi màu trắng tinh khiết bên trong ma-nơ-canh bằng màu khác để nâng cao trải nghiệm của bạn",SHOULDER:"VAI",WAISTBAND:"DÂY THẮT LƯNG",HAND:"TAY",jsContent1:"Bạn chưa đánh dấu hình ảnh và mô hình sẽ không được tải lên. Bạn có chắc chắn muốn đóng nó không?",jsContent2:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?"},ModelPlacementMobile:{Registration:"Sự đăng ký",Submit:"Nộp",Preview:"Xem trước",Back:"Mặt sau",Restore:"Khôi phục",System:"Hệ thống",Library:"Thư viện",Point:"Điểm",RemovePoint:"Xóa điểm",mannequinHint:"Vui lòng thay đổi màu trắng tinh khiết bên trong ma-nơ-canh bằng màu khác để nâng cao trải nghiệm của bạn",SHOULDER:"VAI",WAISTBAND:"DÂY THẮT LƯNG",HAND:"TAY",jsContent1:"Bạn chưa đánh dấu hình ảnh và mô hình sẽ không được tải lên. Bạn có chắc chắn muốn đóng nó không?",jsContent2:"Ảnh này đã được tải lên có nên tiếp tục tải lên không?"},Upload:{Delete:"Xóa bỏ",Maximum2M:"Có thể tải lên tối đa 10 hình ảnh, Tối đa 2M mỗi hình ảnh",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Tải lên thất bại"},SketchboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",PIN:"PIN",Maximum:"Có thể tải lên tối đa {maxImg} hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng phác thảo đã chọn",inputContent1:"Tạo phụ đề",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent1:"Tải lên thất bại",jsContent2:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent3:"Hình ảnh phải nhỏ hơn 2MB!",jsContent4:"Đã vượt quá số lượng tệp tải lên tối đa cho phép",jsContent5:"Vui lòng chọn một hình ảnh",jsContent6:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent7:"Vui lòng nhập nội dung"},PrintboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",PIN:"PIN",Maximum:"Có thể tải lên tối đa 8 hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng in đã chọn",inputContent1:"Tạo phụ đề",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Đã vượt quá số lượng tệp tải lên tối đa cho phép",jsContent4:"Vui lòng chọn một hình ảnh",jsContent5:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent6:"Vui lòng nhập nội dung"},ColorboardUpload:{Thumbnail:"Xem trước hình thu nhỏ của bảng màu đã chọn",Clear:"Thông thoáng",Palette:"Bảng màu",HEX:"HEX",RGBA:"RGBA",UploadImage:"Tải hình ảnh lên",ColorCode:"Mã màu",ExtractColor:"Trích xuất màu",jsContent1:"Trình duyệt của bạn không hỗ trợ nó",jsContent2:"Không tìm thấy màu TCX",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Vui lòng nhập giá trị TCX chính xác"},MoodboardUpload:{Upload:"Tải lên",Library:"Thư viện",Generate:"Phát ra",Delete:"Xóa bỏ",Maximum:"Có thể tải lên tối đa 8 hình ảnh, Tối đa 2M mỗi hình ảnh",Thumbnail:"Xem trước hình thu nhỏ của bảng tâm trạng đã chọn",layout:"cách trình bày",jsContent1:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent2:"Tải lên thất bại",jsContent3:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent4:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Hãy nhấn vào Bố cục để sắp xếp ngẫu nhiên"},Cropper:{Cutpicture:"Cắt ảnh",Finish:"Hoàn thành",Cancel:"Hủy bỏ",CropPreview:"Cắt xem trước"},Material:{inputContent1:"Xin vui lòng nhập",PIN:"PIN"},MarketingSketchUpload:{Upload:"Tải lên",MyLibrary:"Thư viện",maximumLength:"Có thể tải lên tối đa 15 hình ảnh, Tối đa 2M mỗi hình ảnh",jsContent1:"Tải lên thất bại",jsContent2:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent3:"Hình ảnh phải nhỏ hơn 2MB!",jsContent5:"Đã vượt quá số lượng tệp tải lên tối đa cho phép"},layout:{MoodBoardDesign:"Thiết kế MoodBoard",LayerOptions:"Tùy chọn lớp",Submit:"Nộp"},Generate:{ImageOnly:"Chỉ hình ảnh",TextOnly:"Chỉ văn bản",TextImage:"Văn bản-Hình ảnh",Model1:"Người mẫu1",Model2:"Người mẫu2",inputContent1:"Nhập liệu nhanh chóng",Generate:"Phát ra",maximumLength:"Nội dung đã nhập vượt quá độ dài tối đa.",Model:"người mẫu",jsContent1:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent2:"Hình ảnh phải nhỏ hơn 2MB!",jsContent3:"Vui lòng nhập nội dung",jsContent4:"Nội dung đã nhập vượt quá độ dài tối đa.",jsContent5:"Vui lòng nhập nội dung",jsContent6:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent7:"Tải lên thất bại"},collectionModal:{Moodboard:"Bảng tâm trạng",Printboard:"Bảng in",Colorboard:"Bảng màu",Sketchboard:"Bảng phác thảo",MoodCollection:"chọn moodboard cho bộ sưu tập của bạn",PrinCollection:"chọn bảng in cho bộ sưu tập của bạn",ColorCollection:"chọn màu cho bộ sưu tập của bạn",SketchCollection:"chọn bảng phác thảo cho bộ sưu tập của bạn",jsContent1:"Vì bạn đã chọn nhiều hình ảnh, vui lòng nhấp vào 'Bố cục' để tiếp tục",jsContent2:"Các tập tin đã tải lên sẽ không được lưu, hãy nhớ tiếp tục? ",jsContent3:"Bạn phải chọn một hoặc nhiều màu để xử lý tiếp."},DesignDetail:{Details:"Chi tiết",EditDetails:"Chỉnh sửa chi tiết thiết kế của bạn",Submit:"Nộp",CurrentApparel:"Trang phục hiện tại",CurrentPrint:"Bản in hiện tại",CurrentColor:"Màu hiện tại"},DesignDetailAlter:{Upload:"Tải lên",Library:"Thư viện",inputContent1:"Xin vui lòng nhập",Palette:"Bảng màu",HEX:"HEX",RGBA:"RGBA",UploadImage:"Tải hình ảnh lên",Delete:"Xóa bỏ",ColorCode:"Mã màu",jsContent1:"Trình duyệt của bạn không hỗ trợ nó",jsContent2:"Bạn có thể chọn tối đa 8 hình ảnh",jsContent3:"Tải lên thất bại",jsContent4:"YBạn chỉ có thể tải lên tệp Hình ảnh!",jsContent5:"Hình ảnh phải nhỏ hơn 5MB!",jsContent6:"Không tìm thấy màu TCX"},DesignDetailEnd:{NewApparel:"Trang phục mới",NewPrint:"Bản in mới",Placement:"Vị trí",Overall:"Tổng thể",Single:"Đơn",NewColor:"Màu mới",preview:"xem trước",Layout:"Cách trình bày",jsContent1:"Vui lòng chọn in"},DesignPrintOperation:{Placement:"Vị trí",Overall:"Tổng thể",Single:"Đơn",Scale:"Tỷ lệ",Random:"Ngẫu nhiên",inputContent:"Xin vui lòng nhập",preview:"xem trước",jsContent1:"Những thay đổi trên không được lưu, hãy chắc chắn để tiếp tục? "},uploadFile:{jsContent1:"Bạn có thể chọn tối đa {maxImg} hình ảnh"},isTest:{available:"Chức năng này không khả dụng cho người dùng thử nghiệm.",src:"Chức năng này không mở cho người dùng thử nghiệm, nếu bạn cần đăng ký, hãy nhấp vào ->",userName:"Người dùng thử nghiệm",loginIsTest:"Bạn là người dùng thử nghiệm, Thời gian thử nghiệm đến {date}. Vì lý do bảo mật dữ liệu người dùng, chúng tôi không lưu trữ bất kỳ dữ liệu cá nhân nào được tải lên bởi người dùng thử nghiệm và sẽ xóa dữ liệu cá nhân sau mỗi lần đăng xuất. Nếu bạn cần đăng ký, vui lòng nhấp vào ->",image:"Vì bạn là người dùng thử nghiệm, bạn chỉ có thể tải lên 10 hình ảnh."},setLabel:{EditTag:"Chỉnh sửa thẻ",jsContent1:"Vui lòng nhập tên thẻ"}},U={Header:{hello:"Ciao",HOME:"CASA",LIBRARY:"BIBLIOTECA",HISTORY:"STORIA",bindEmail:"associare l'e-mail",logOff:"disconnettersi",language:"italiano",skip:"saltare",emailContent:"hai legato la posta elettronica",Email:"E-mail",NextStep:"Passo successivo",verification:"Inserisci il codice di verifica",SentTo:"Inviato a",Resend:"Invia nuovamente",jsContent1:"Il formato dell'e-mail non è corretto",jsContent2:"Impossibile vincolare la casella di posta.",jsContent3:"Non hai eseguito alcuna operazione per molto tempo. Devi essere attivo altrimenti ti disconnetterai in {numTime} S"},Habit:{Workspace:"Spazio di lavoro",WorkspaceSetting:"Impostazione dell'area di lavoro",settingWorkspace:"modificare l'impostazione dell'area di lavoro",Overall:"Tutto",Single:"Separare",System:"Sistema",Designer:"progettista",Mannequin:"Manichino",Current:"Attuale",User:"Utente",jsContent1:"Indica se eliminare l'area di lavoro?",jsContent2:"Inserisci un nome per l'ambiente di lavoro"},RobotAssist:{inputContent1:"Scrivi un messaggio~",jsContent1:"Inserisci il contenuto"},HomeView:{GetStarted:"Iniziare",Start:"Inizio",Edit:"Modificare",Design:"Progetto",Redesign:"Riprogettazione",GeneratedDesign:"Progettazione generata",SelectedDesign:"Disegno selezionato",Export:"Esportare",moodboard:"moodboard",printboard:"cartoncino",colorboard:"tavola da disegno",sketchboard:"tavola da disegno",mannequins:"manichini",jsContent1:"È necessario scegliere uno o più colori per l'ulteriore elaborazione.",jsContent2:"È necessario scegliere uno o più colori per l'ulteriore elaborazione.",jsContent3:"Impossibile esportare il file"},LibraryPage:{Organize:"Organizzare",Upload:"Caricamento",Generate:"creare",Delete:"Eliminare",Rename:"Modificare",Point:"Punto",inputContent1:"Search by your style code",intersection:"intersezione",Select:"Seleziona",NoLabel:"Nessuna etichetta",unionSet:"insieme di unione",all:"Tutto",ImageOnly:"Solo immagine",TextOnly:"Solo testo",TextImage:"Testo-immagine",inputContent2:"Immissione rapida",maximumLength:"Il contenuto inserito supera la lunghezza massima.",Model1:"Modello1",Model2:"Modello2",inputContent3:"Immissione rapida",Cancel:"Annulla",Sure:"Sicuro",Moodboard:"Tavola d'atmosfera",Prints:"Stampe",Sketches:"Schizzi",Mannequins:"Manichino",model:"modello",jsContent1:"Sei sicuro di eliminare l'immagine?",jsContent2:"Sei sicuro di eliminare l'immagine?",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Questa immagine è stata caricata se continua a caricare?",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto",jsContent8:"caricamento fallito",jsContent9:"Inserisci il contenuto"},HistoryPage:{History:"Storia",StartDate:"Data d'inizio",EndDate:"Data di fine",inputContent1:"Cerca per nome della raccolta",Detail:"Dettaglio",Rename:"Rinominare",Retrieve:"Recuperare",Delete:"Eliminare",inputContent2:"Inserisci un nuovo nome",Submit:"Invia",CollectionsName:"Nome della raccolta",UptateTime:"Tempo di aggiornamento",SketchCounts:"Lo schizzo conta",Operations:"Operazioni",jsContent1:"Eliminato con successo",jsContent2:"Vuoi davvero eliminare questa raccolta?? ",jsContent3:"Modifica con successo",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Questa immagine è stata caricata se continua a caricare?",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto"},ModelPlacement:{Registration:"Registrazione",Submit:"Invia",Preview:"Anteprima",Back:"Indietro",Restore:"Ristabilire",System:"Sistema",Library:"Biblioteca",Point:"Punto",RemovePoint:"Rimuovi punto",mannequinHint:"Per favore cambia il bianco puro all'interno del manichino con un altro colore per migliorare la tua esperienza",SHOULDER:"SPALLA",WAISTBAND:"CINTURA",HAND:"MANO",jsContent1:"Non hai ancora contrassegnato l'immagine e il modello non verrà caricato. Sei sicuro di volerlo chiudere?",jsContent2:"Questa immagine è stata caricata se continua a caricare?"},ModelPlacementMobile:{Registration:"Registrazione",Submit:"Invia",Preview:"Anteprima",Back:"Indietro",Restore:"Ristabilire",System:"Sistema",Library:"Biblioteca",Point:"Punto",RemovePoint:"Rimuovi punto",mannequinHint:"Per favore cambia il bianco puro all'interno del manichino con un altro colore per migliorare la tua esperienza",SHOULDER:"SPALLA",WAISTBAND:"CINTURA",HAND:"MANO",jsContent1:"Non hai ancora contrassegnato l'immagine e il modello non verrà caricato. Sei sicuro di volerlo chiudere?",jsContent2:"Questa immagine è stata caricata se continua a caricare?"},Upload:{Delete:"Eliminare",Maximum2M:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"caricamento fallito"},SketchboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",PIN:"PIN",Maximum:"È possibile caricare un massimo di {maxImg} immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura dello sketchboard selezionato",inputContent1:"Generazione didascalie",maximumLength:"Il contenuto inserito supera la lunghezza massima.",jsContent1:"caricamento fallito",jsContent2:"Puoi caricare solo il file immagine!",jsContent3:"L'immagine deve essere inferiore a 2 MB!",jsContent4:"È stato superato il numero massimo di caricamenti di file consentiti",jsContent5:"Seleziona un'immagine",jsContent6:"Il contenuto inserito supera la lunghezza massima.",jsContent7:"Inserisci il contenuto"},PrintboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",PIN:"PIN",Maximum:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura della scheda di stampa selezionata",inputContent1:"Generazione didascalie",maximumLength:"Il contenuto inserito supera la lunghezza massima.",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"È stato superato il numero massimo di caricamenti di file consentiti",jsContent4:"Seleziona un'immagine",jsContent5:"Il contenuto inserito supera la lunghezza massima.",jsContent6:"Inserisci il contenuto"},ColorboardUpload:{Thumbnail:"Anteprima in miniatura della tavola colorata selezionata",Clear:"Chiaro",Palette:"Tavolozza",HEX:"HEX",RGBA:"RGBA",UploadImage:"Carica immagine",ColorCode:"Codice colore",ExtractColor:"Estrai colore",jsContent1:"Il tuo browser non lo supporta",jsContent2:"Impossibile trovare il colore TCX",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Inserisci il valore TCX corretto"},MoodboardUpload:{Upload:"Caricamento",Library:"Biblioteca",Generate:"creare",Delete:"Eliminare",Maximum:"È possibile caricare un massimo di 8 immagini, massimo 2 milioni per immagine",Thumbnail:"Anteprima in miniatura della moodboard selezionata",layout:"disposizione",jsContent1:"È possibile selezionare fino a 8 immagini",jsContent2:"caricamento fallito",jsContent3:"Puoi caricare solo il file immagine!",jsContent4:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"Fare clic su Layout per ordinare in modo casuale"},Cropper:{Cutpicture:"Taglia l'immagine",Finish:"Fine",Cancel:"Annulla",CropPreview:"Anteprima del ritaglio"},Material:{inputContent1:"Per favore inserisci",PIN:"PIN"},MarketingSketchUpload:{Upload:"Caricamento",MyLibrary:"La mia biblioteca",maximumLength:"È possibile caricare un massimo di 15 immagini, massimo 2 milioni per immagine",jsContent1:"caricamento fallito",jsContent2:"Puoi caricare solo il file immagine!",jsContent3:"L'immagine deve essere inferiore a 2 MB!",jsContent5:"È stato superato il numero massimo di caricamenti di file consentiti"},layout:{MoodBoardDesign:"Progettazione del moodboard",LayerOptions:"Opzioni del livello",Submit:"Invia"},Generate:{ImageOnly:"Solo immagine",TextOnly:"Solo testo",TextImage:"Testo-immagine",Model1:"Modello1",Model2:"Modello2",inputContent1:"Immissione rapida",Generate:"creare",maximumLength:"Il contenuto inserito supera la lunghezza massima.",Model:"Modello",jsContent1:"Puoi caricare solo il file immagine!",jsContent2:"L'immagine deve essere inferiore a 2 MB!",jsContent3:"Inserisci il contenuto",jsContent4:"Il contenuto inserito supera la lunghezza massima.",jsContent5:"Inserisci il contenuto",jsContent6:"È possibile selezionare fino a 8 immagini",jsContent7:"caricamento fallito"},collectionModal:{Moodboard:"Tavola d'atmosfera",Printboard:"Cartoncino",Colorboard:"Tavola colorata",Sketchboard:"Tavola da disegno",MoodCollection:"seleziona la moodboard per la tua collezione",PrinCollection:"seleziona la scheda di stampa per la tua collezione",ColorCollection:"seleziona i colori per la tua collezione",SketchCollection:"seleziona lo sketchboard per la tua collezione",jsContent1:'Poiché hai selezionato più immagini, fai clic su "Layout" per procedere',jsContent2:"I file caricati non verranno salvati, assicurandosi di continuare? ",jsContent3:"È necessario scegliere uno o più colori per l'ulteriore elaborazione."},DesignDetail:{Details:"Dettagli",EditDetails:"Modifica i dettagli del tuo progetto",Submit:"Invia",CurrentApparel:"Vestiti attuali",CurrentPrint:"Stampa Attuale",CurrentColor:"Colore Attuale"},DesignDetailAlter:{Upload:"Caricamento",Library:"Biblioteca",inputContent1:"Per favore inserisci",Palette:"Tavolozza",HEX:"HEX",RGBA:"RGBA",UploadImage:"Carica immagine",Delete:"Eliminare",ColorCode:"Codice colore",jsContent1:"Il tuo browser non lo supporta",jsContent2:"È possibile selezionare fino a 8 immagini",jsContent3:"caricamento fallito",jsContent4:"Puoi caricare solo il file immagine!",jsContent5:"L'immagine deve essere inferiore a 5 MB!",jsContent6:"Impossibile trovare il colore TCX"},DesignDetailEnd:{NewApparel:"Nuovo vestiti",NewPrint:"Nuova stampa",Placement:"Posizionamento",Overall:"Tutto",Single:"Separare",NewColor:"Nuovo colore",preview:"anteprima",Layout:"Disposizione",jsContent1:"Seleziona stampa"},DesignPrintOperation:{Placement:"Posizionamento",Overall:"Tutto",Single:"Separare",Scale:"Scala",Random:"Casuale",inputContent:"Per favore inserisci",preview:"anteprima",jsContent1:"Le modifiche di cui sopra non vengono salvate, assicurandosi di continuare? "},uploadFile:{jsContent1:"È possibile selezionare fino a {maxImg} immagini"},isTest:{available:"Questa funzionalità non è disponibile per gli utenti in prova.",src:"Questa funzione non è aperta agli utenti in prova, se desideri sottoscrivere, clicca ->",userName:"Utente in prova",loginIsTest:"Sei un utente in prova, periodo di prova fino al {date}. Per la sicurezza dei dati degli utenti, non salviamo alcun dato personale caricato dagli utenti in prova e cancelleremo i dati personali dopo ogni disconnessione. Se desideri sottoscrivere, clicca ->",image:"In quanto utente di prova, puoi caricare solo 10 immagini."},setLabel:{EditTag:"Modifica tag",jsContent1:"Si prega di inserire un nome tag"}};const O={ENGLISH:{...B,...B},CHINESE_SIMPLIFIED:{...k,...k},KOREAN:{...H,...H},JAPANESE:{...A,...A},RUSSIAN:{...R,...R},FRENCH:{...N,...N},THAI:{...E,...E},VIETNAMESE:{...w,...w},ITALIAN:{...U,...U}},G=(0,I.o)({legacy:!1,globalInjection:!0,locale:"ENGLISH",messages:O});var V=G;T();let F={loading:n(5929),attempt:1};(0,o.ri)(c).use(L).use(m.Z).use(z.ZP).use(x.Z,F).use(V).mount("#app")},9913:function(e,t,n){"use strict";var o=n(2201),i=n(6252);const a=e=>(0,i.RC)((()=>n(2513)(`./${e}.vue`))),l=[{path:"/",redirect:"/login"},{path:"/login",name:"login",component:a("LoginPage")},{path:"/home",name:"home",component:a("HomeView")},{path:"/demo",name:"demo",component:a("Demo")},{path:"/history",name:"history",component:a("HistoryPage")},{path:"/library",name:"library",component:a("LibraryPage")},{path:"/trialApproval",name:"trialApproval",component:a("trialApproval")}],s=(0,o.p7)({history:(0,o.PO)("/"),routes:l});t["Z"]=s},6791:function(){window._iconfont_svg_string_3608736='',function(e){var t=(t=document.getElementsByTagName("script"))[t.length-1],n=t.getAttribute("data-injectcss");t=t.getAttribute("data-disable-injectsvg");if(!t){var o,i,a,l,s,r=function(e,t){t.parentNode.insertBefore(e,t)};if(n&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(t){console&&console.log(t)}}o=function(){var t,n=document.createElement("div");n.innerHTML=e._iconfont_svg_string_3608736,(n=n.getElementsByTagName("svg")[0])&&(n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.width=0,n.style.height=0,n.style.overflow="hidden",(t=document.body).firstChild?r(n,t.firstChild):t.appendChild(n))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(o,0):(i=function(){document.removeEventListener("DOMContentLoaded",i,!1),o()},document.addEventListener("DOMContentLoaded",i,!1)):document.attachEvent&&(a=o,l=e.document,s=!1,m(),l.onreadystatechange=function(){"complete"==l.readyState&&(l.onreadystatechange=null,c())})}function c(){s||(s=!0,a())}function m(){try{l.documentElement.doScroll("left")}catch(t){return void setTimeout(m,50)}c()}}(window)},2513:function(e,t,n){var o={"./Demo.vue":[1127,127],"./HistoryPage.vue":[8391,949,43,615,391],"./HomeView.vue":[5115,949,43,87,115],"./LibraryPage.vue":[9136,949,43,87,286],"./LoginPage.vue":[8640,949,194],"./trialApproval.vue":[6865,949,43,615,865],"./versions1Guide.vue":[1148,148]};function i(e){if(!n.o(o,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(o)},i.id=2513,e.exports=i},5929:function(e,t,n){"use strict";e.exports=n.p+"img/loading.6b98b17d.gif"}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}n.m=e,function(){var e=[];n.O=function(t,o,i,a){if(!o){var l=1/0;for(m=0;m=a)&&Object.keys(n.O).every((function(e){return n.O[e](o[r])}))?o.splice(r--,1):(s=!1,a0&&e[m-1][2]>a;m--)e[m]=e[m-1];e[m]=[o,i,a]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,o){return n.f[o](e,t),t}),[]))}}(),function(){n.u=function(e){return"js/"+e+"."+{43:"7be4f131",87:"58385a6a",115:"29fa6aac",127:"b8add267",148:"0dd92788",194:"1416e800",286:"a3966664",391:"c0d5a404",615:"2c8d95ed",865:"8c2a1d80",949:"4d7671a3"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"css/"+e+"."+{43:"76f60c61",115:"094994d1",127:"bafe38b4",148:"64209616",194:"a8ff4f2a",286:"a156cd91",391:"6be384c0",615:"f4ba6074",865:"6be384c0",949:"060964d0"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="aida:";n.l=function(o,i,a,l){if(e[o])e[o].push(i);else{var s,r;if(void 0!==a)for(var c=document.getElementsByTagName("script"),m=0;m